/*
Theme Name:   Kadence Child — M3llem Express
Description:  Thème enfant Kadence — Design Vert Confiance v4.0
Template:     kadence
Version:      4.0.0
Author:       M3llem Express
*/

/* ============================================================
   FONTS — Inter hébergées localement
   ============================================================ */
@font-face { font-family: 'Inter'; src: url('fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

/* ============================================================
   KADENCE PALETTE OVERRIDE — surcharge les tokens globaux Kadence
   ============================================================ */
:root {
    --global-palette1: #1A9E74;
    --global-palette2: #0D6E50;
    --global-palette3: #080E1A;
    --global-palette4: #111827;
    --global-palette5: #374151;
    --global-palette6: #6B7280;
    --global-palette7: #F3F4F6;
    --global-palette8: #FFFFFF;
    --global-palette9: #E6F7F1;
}

/* ============================================================
   DESIGN TOKENS — Palette Vert Confiance v4
   ============================================================ */
:root {
    /* ── Vert principal ── */
    --g:    #1A9E74;
    --gd:   #0D6E50;
    --gm:   #22B882;
    --gl:   #E6F7F1;
    --g10:  rgba(26,158,116,.10);
    --g20:  rgba(26,158,116,.20);
    --g35:  rgba(26,158,116,.35);

    /* ── Navy (sections sombres) ── */
    --n:    #080E1A;
    --n2:   #111827;
    --n3:   #1E2A3B;
    --n4:   #2D3B4F;

    /* ── Texte ── */
    --t1:   #0F172A;
    --t2:   #374151;
    --t3:   #6B7280;
    --t4:   #9CA3AF;

    /* ── Surfaces ── */
    --b1:   #E5E7EB;
    --b2:   #F3F4F6;
    --b3:   #F9FAFB;
    --w:    #FFFFFF;

    /* ── WhatsApp ── */
    --wa:   #25D366;

    /* ── Sémantiques ── */
    --error:   #EF4444;
    --success: #10B981;

    /* ── Ombres ── */
    --sh1: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --sh2: 0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
    --sh3: 0 12px 40px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
    --sh4: 0 24px 64px rgba(0,0,0,.16), 0 8px 24px rgba(0,0,0,.08);
    --shg: 0 0 0 1px rgba(26,158,116,.2), 0 8px 32px rgba(26,158,116,.15);

    /* ── Rayons ── */
    --r:    8px;
    --r2:   12px;
    --r3:   16px;
    --r4:   24px;
    --rf:   9999px;

    /* ── Transitions ── */
    --ease: .22s cubic-bezier(.16,1,.3,1);

    /* ── Typographie ── */
    --f:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* ── Layout ── */
    --max-w:        1200px;
    --max-w-narrow: 760px;

    /* ── Compatibilité classes v3 ── */
    --ink:          #0F172A;
    --ink-40:       #6B7280;
    --ink-60:       #374151;
    --ink-20:       #9CA3AF;
    --gold:         #1A9E74;
    --gold-dk:      #0D6E50;
    --gold-lt:      #E6F7F1;
    --sand:         #F9FAFB;
    --sand-2:       #F3F4F6;
    --sand-3:       #E5E7EB;
    --white:        #FFFFFF;
    --border:       rgba(26,158,116,.15);
    --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --sh-xs:        var(--sh1);
    --sh-sm:        var(--sh2);
    --sh-md:        var(--sh3);
    --sh-lg:        var(--sh4);
    --r-sm:         var(--r);
    --r-md:         var(--r2);
    --r-lg:         var(--r3);
    --r-xl:         var(--r4);
    --r-full:       var(--rf);
    --transition:   var(--ease);
    --color-primary: #1A9E74;
    --color-primary-dark: #0D6E50;
    --color-primary-light: #E6F7F1;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-family: var(--f); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light; font-size: 16px; }
body { font-family: var(--f); font-size: 1rem; line-height: 1.75; color: var(--t1); background: var(--w); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden; }
img, video, iframe, embed, object { max-width: 100%; height: auto; display: block; }
a { color: var(--gd); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--g); }
p { color: var(--t2); line-height: 1.75; max-width: 64ch; }
strong { font-weight: 700; color: var(--t1); }

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, h4, h5, h6 { font-family: var(--f); font-weight: 800; line-height: 1.15; color: var(--t1); letter-spacing: -.04em; }
h1 { font-size: clamp(2.25rem, 6vw, 4rem); letter-spacing: -.05em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.6rem); letter-spacing: -.04em; }
h3 { font-size: clamp(1.125rem, 3vw, 1.5rem); letter-spacing: -.03em; }
h4 { font-size: 1.125rem; letter-spacing: -.025em; }

/* ============================================================
   ACCESSIBILITÉ
   ============================================================ */
.skip-to-main { position: absolute; top: -100%; left: 16px; background: var(--n); color: var(--g); padding: 10px 20px; border-radius: var(--r); font-weight: 700; font-size: .8125rem; text-decoration: none; z-index: 10000; transition: top var(--ease); }
.skip-to-main:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--g); outline-offset: 3px; border-radius: var(--r); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
@media (max-width: 768px) { .container { padding: 0 18px; } }
section { padding: 96px 0; }
@media (max-width: 768px) { section { padding: 56px 0; } }

.m3llem-section-dark { background: var(--n); color: var(--w); }
.m3llem-section-dark h1, .m3llem-section-dark h2, .m3llem-section-dark h3 { color: var(--w); }
.m3llem-section-dark p { color: rgba(255,255,255,.4); }
.m3llem-section-light { background: var(--b3); }

/* Kicker (label de section) */
.kicker, .section-label, .sh-tag {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; color: var(--gd);
    background: var(--gl); padding: 5px 14px;
    border-radius: var(--rf); margin-bottom: 16px;
    border: 1px solid rgba(26,158,116,.15);
}
.kicker-dark { background: rgba(26,158,116,.12); color: var(--gm); }
.section-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gm); margin-bottom: 18px; }
.eyebrow-dot { width: 6px; height: 6px; background: var(--g); border-radius: 50%; animation: blink 2s ease-in-out infinite; }
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.3} }
.section-divider { width: 48px; height: 2px; background: var(--g); border-radius: var(--rf); margin: 16px 0 28px; }

/* Section header */
.sh { margin-bottom: 52px; }
.sh h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: var(--t1); margin-bottom: 14px; line-height: 1.2; }
.sh p { font-size: 1.0625rem; color: var(--t3); max-width: 54ch; line-height: 1.7; }
.sh-center { text-align: center; }
.sh-center p { margin: 0 auto; }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn,
.btn-primary, .btn-gold, .m3llem-cta-primary,
.btn-secondary, .btn-outline, .btn-whatsapp, .btn-ghost,
button:not(.skip-to-main), [type="button"], [type="submit"] {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 24px; border-radius: var(--r2);
    font-family: var(--f); font-size: .9375rem; font-weight: 700;
    line-height: 1; letter-spacing: -.02em; text-decoration: none;
    cursor: pointer; border: none; white-space: nowrap;
    transition: all var(--ease);
    touch-action: manipulation; -webkit-tap-highlight-color: transparent; user-select: none;
}

/* Vert — principal */
.btn-primary, .btn-gold, .m3llem-cta-primary,
.btn-g { background: var(--g); color: var(--w); box-shadow: 0 2px 12px var(--g35); }
.btn-primary:hover, .btn-gold:hover, .m3llem-cta-primary:hover,
.btn-g:hover { background: var(--gd); box-shadow: 0 6px 24px rgba(26,158,116,.4); transform: translateY(-1px); color: var(--w); }
.btn-primary:active, .btn-gold:active { transform: scale(.98); }

/* Contour blanc — sur fond sombre */
.btn-secondary, .btn-outline, .btn-o {
    background: transparent; color: var(--w);
    border: 1.5px solid rgba(255,255,255,.25);
}
.btn-secondary:hover, .btn-outline:hover, .btn-o:hover {
    border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.08); color: var(--w);
}

/* Ghost vert — sur fond clair */
.btn-ghost { background: var(--gl); color: var(--gd); border: 1.5px solid rgba(26,158,116,.2); }
.btn-ghost:hover { background: rgba(26,158,116,.15); border-color: var(--g); }

/* WhatsApp */
.btn-whatsapp, .btn-wa { background: var(--wa); color: var(--w); box-shadow: 0 2px 12px rgba(37,211,102,.3); }
.btn-whatsapp:hover, .btn-wa:hover { background: #1ebe5d; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(37,211,102,.4); color: var(--w); }

/* Tailles */
.btn-sm { min-height: 38px; padding: 0 16px; font-size: .8125rem; border-radius: var(--r); }
.btn-lg { min-height: 56px; padding: 0 32px; font-size: 1.0625rem; border-radius: var(--r3); }

/* ============================================================
   TOPBAR
   ============================================================ */
.site-topbar, .topbar {
    background: var(--n2); padding: 9px 0; font-size: 12px;
}
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.topbar-l, .topbar-r { display: flex; align-items: center; gap: 20px; }
.topbar-it {
    display: flex; align-items: center; gap: 7px;
    color: rgba(255,255,255,.45); transition: color var(--ease);
}
.topbar-it:hover { color: var(--w); }
.topbar-it svg { width: 14px; height: 14px; opacity: .7; }
.topbar-badge {
    background: linear-gradient(135deg, rgba(26,158,116,.25), rgba(26,158,116,.15));
    border: 1px solid rgba(26,158,116,.35); color: var(--gm);
    padding: 2px 10px; border-radius: var(--rf);
    font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.topbar-accent { color: var(--gm); font-weight: 600; }
@media (max-width: 640px) { .topbar-r { display: none; } }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header, .hdr {
    position: sticky; top: 0; z-index: 900;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--b1);
    transition: box-shadow var(--ease);
}
.site-header.scrolled, .hdr.up { box-shadow: var(--sh2); }

.header-inner, .hdr-in {
    display: flex; align-items: center; justify-content: space-between;
    height: 68px; gap: 20px;
}

/* Logo */
.site-logo, .logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--g), var(--gd));
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px var(--g35); font-size: 15px; font-weight: 800; color: var(--w);
}
.logo-mark svg { width: 18px; height: 18px; color: var(--w); }
.site-logo .logo-text, .logo-name {
    font-size: 17px; font-weight: 800; letter-spacing: -.04em; color: var(--t1);
}
.site-logo .logo-text span, .logo-name span { color: var(--g); }

/* Navigation */
nav a, .main-navigation a, .nav a {
    display: inline-flex; align-items: center; min-height: 48px;
    padding: 0 13px; font-size: 13.5px; font-weight: 500;
    color: var(--t2); text-decoration: none;
    border-radius: var(--r); letter-spacing: -.01em;
    transition: all var(--ease); touch-action: manipulation;
}
nav a:hover, .main-navigation a:hover, .nav a:hover { color: var(--t1); background: var(--b2); }
nav a.current, .main-navigation a.current-menu-item { color: var(--t1); font-weight: 700; }
.nav-cta, .main-navigation a.nav-cta {
    background: var(--g) !important; color: var(--w) !important;
    font-weight: 700 !important; padding: 9px 18px !important;
    box-shadow: 0 2px 8px var(--g35); margin-left: 6px;
}
.nav-cta:hover, .main-navigation a.nav-cta:hover {
    background: var(--gd) !important; box-shadow: 0 4px 16px rgba(26,158,116,.4) !important;
    transform: translateY(-1px); color: var(--w) !important;
}
@media (max-width: 880px) { .nav { display: none; } }

/* Bandeau urgence */
.m3llem-urgence-banner {
    background: var(--n); color: var(--gm);
    text-align: center; padding: 10px 16px;
    font-weight: 700; font-size: .8125rem; letter-spacing: .02em;
    position: sticky; top: 0; z-index: 1001;
}
.m3llem-urgence-banner a { color: var(--gm); text-decoration: underline; }

/* ============================================================
   HERO — dark navy 2 colonnes
   ============================================================ */
.hero-section, .hero {
    background: var(--n); min-height: 92vh;
    display: flex; align-items: center;
    position: relative; overflow: hidden; padding: 80px 0;
}

/* Maillage + orbes */
.hero-section::before, .hero-mesh::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,158,116,.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(26,158,116,.07) 0%, transparent 50%);
}
.hero-section::after, .hero-grid {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-layout {
    display: grid; grid-template-columns: 1fr 420px;
    gap: 64px; align-items: center; position: relative; z-index: 1;
}
@media (max-width: 1024px) { .hero-layout { grid-template-columns: 1fr; gap: 48px; } }
@media (max-width: 768px) { .hero-section, .hero { min-height: auto; padding: 60px 0; } }

.hero-content { position: relative; z-index: 1; }

/* Pill d'activation */
.hero-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(26,158,116,.12); border: 1px solid rgba(26,158,116,.25);
    color: var(--gm); padding: 6px 14px; border-radius: var(--rf);
    font-size: 11px; font-weight: 700; letter-spacing: .1em;
    text-transform: uppercase; margin-bottom: 28px;
}
.hero-dot { width: 6px; height: 6px; background: var(--g); border-radius: 50%; animation: blink 2s ease-in-out infinite; }
.section-eyebrow.hero-pill { margin-bottom: 28px; }

/* H1 hero */
.hero-section h1, .hero h1 {
    color: var(--w);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    letter-spacing: -.05em; line-height: 1.05; margin-bottom: 22px;
}
.hero-section h1 em, .hero h1 em,
.hero-section h1 .accent, .hero h1 .accent { font-style: normal; color: var(--g); }
.hero-section h1 .stroke { -webkit-text-stroke: 1px rgba(255,255,255,.35); color: transparent; }

.hero-subtitle, .hero-sub {
    font-size: 1.125rem; color: rgba(255,255,255,.45);
    line-height: 1.75; max-width: 500px; margin-bottom: 36px;
}
.hero-subtitle strong, .hero-sub strong { color: rgba(255,255,255,.75); font-weight: 600; }

.hero-ctas, .hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

/* Stats hero */
.hero-stats {
    display: grid; grid-template-columns: repeat(4,1fr);
    border-top: 1px solid rgba(255,255,255,.07); padding-top: 32px; gap: 8px;
}
@media (max-width: 560px) { .hero-stats { grid-template-columns: repeat(2,1fr); } }
.hstat, .stat { padding: 0 8px; display: flex; flex-direction: column; }
.hstat-n, .stat-num { font-size: 2.25rem; font-weight: 900; color: var(--g); letter-spacing: -.05em; line-height: 1; display: block; }
.hstat-l, .stat-label { font-size: 10px; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .1em; margin-top: 5px; display: block; }

/* Hero visuel (card produit) */
.hero-visual { position: relative; height: 440px; }
@media (max-width: 1024px) { .hero-visual { display: none; } }
.hv-main {
    position: absolute; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r4); padding: 24px;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.hv-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hv-icon { width: 40px; height: 40px; background: linear-gradient(135deg,var(--g),var(--gd)); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.hv-icon svg { width: 20px; height: 20px; color: var(--w); }
.hv-status { background: rgba(26,158,116,.15); color: var(--gm); padding: 4px 12px; border-radius: var(--rf); font-size: 11px; font-weight: 700; border: 1px solid rgba(26,158,116,.25); }
.hv-title { font-size: 15px; font-weight: 700; color: var(--w); margin-bottom: 4px; }
.hv-sub { font-size: 12px; color: rgba(255,255,255,.35); }
.hv-sep { height: 1px; background: rgba(255,255,255,.07); margin: 16px 0; }
.hv-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; background: rgba(255,255,255,.04); border-radius: var(--r); margin-bottom: 8px; border: 1px solid rgba(255,255,255,.06); }
.hv-row-l { font-size: 12px; color: rgba(255,255,255,.4); }
.hv-row-r { font-size: 12px; font-weight: 700; color: var(--w); }
.hv-bar-wrap { margin: 16px 0 8px; }
.hv-bar-l { font-size: 11px; color: rgba(255,255,255,.3); margin-bottom: 8px; display: flex; justify-content: space-between; }
.hv-bar { height: 4px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; }
.hv-bar-fill { height: 100%; width: 75%; background: linear-gradient(90deg,var(--gd),var(--g)); border-radius: 2px; }
.hv-footer { display: flex; gap: 8px; margin-top: 16px; }
.hv-btn-main { flex: 1; height: 42px; background: var(--g); color: var(--w); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; gap: 6px; }
.hv-btn-sec { height: 42px; width: 42px; background: rgba(255,255,255,.06); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.hv-btn-sec svg { width: 16px; height: 16px; color: rgba(255,255,255,.4); }

/* Floating cards */
.hv-float { position: absolute; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 14px; backdrop-filter: blur(20px); padding: 14px 16px; }
.hv-f1 { bottom: -24px; right: -24px; width: 200px; }
.hv-f2 { top: 80px; right: -40px; width: 180px; }
.hv-f-label { font-size: 10px; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.hv-f-val { font-size: 14px; font-weight: 800; color: var(--w); letter-spacing: -.03em; }
.hv-f-badge { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; background: rgba(26,158,116,.15); color: var(--gm); border-radius: var(--rf); padding: 2px 8px; font-size: 10px; font-weight: 700; }
.hv-f-dot { width: 5px; height: 5px; background: var(--g); border-radius: 50%; }

/* Pill strip (sous hero) */
.pill-strip {
    background: var(--n2);
    border-top: 1px solid rgba(255,255,255,.06);
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 14px 24px; display: flex; gap: 8px;
    flex-wrap: wrap; justify-content: center;
}
.info-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 14px; border-radius: var(--rf);
    border: 1px solid rgba(26,158,116,.25);
    font-size: 11px; font-weight: 500; color: rgba(255,255,255,.55);
    white-space: nowrap; letter-spacing: .01em;
}
.info-pill-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--g); flex-shrink: 0; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust, .m3llem-trust {
    background: var(--b3);
    border-top: 1px solid var(--b1); border-bottom: 1px solid var(--b1);
    padding: 18px 0;
}
.trust-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; }
.trust-it {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 28px; border-right: 1px solid var(--b1);
    font-size: 13.5px; font-weight: 600; color: var(--t1);
}
.trust-it:last-child { border-right: none; }
.trust-it svg { width: 17px; height: 17px; color: var(--g); flex-shrink: 0; }
@media (max-width: 700px) { .trust-it { border-right: none; font-size: 13px; padding: 8px 16px; } }

/* Badges hero */
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.m3llem-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
    color: rgba(255,255,255,.75); border-radius: var(--rf);
    padding: 6px 14px; font-size: 11px; font-weight: 500;
    white-space: nowrap; backdrop-filter: blur(4px);
}
.badge-gold, .badge-green { background: var(--gl); border: 1px solid rgba(26,158,116,.3); color: var(--gd); }
.badge-dark { background: rgba(26,158,116,.1); color: var(--gm); border: 1px solid rgba(26,158,116,.25); }

/* ============================================================
   SERVICES — grille avec hover vert
   ============================================================ */
.services-grid, .svc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
@media (max-width: 900px) { .services-grid, .svc-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .services-grid, .svc-grid { grid-template-columns: 1fr; } }

.m3llem-service-card, .scard {
    background: var(--w); border: 1.5px solid var(--b1);
    border-radius: var(--r4); padding: 28px;
    display: flex; flex-direction: column; gap: 14px;
    transition: all var(--ease); position: relative; overflow: hidden; cursor: pointer;
    text-decoration: none;
}
.m3llem-service-card::after, .scard::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--gl) 0%, transparent 55%);
    opacity: 0; transition: opacity var(--ease); pointer-events: none;
}
.m3llem-service-card:hover, .scard:hover {
    border-color: rgba(26,158,116,.4);
    box-shadow: var(--shg); transform: translateY(-4px);
}
.m3llem-service-card:hover::after, .scard:hover::after { opacity: 1; }

.service-num, .scard-num {
    font-size: 10px; font-weight: 800; color: var(--b1);
    letter-spacing: .06em; position: relative; z-index: 1;
}
.m3llem-service-card:hover .service-num,
.scard:hover .scard-num { color: rgba(26,158,116,.25); }

.service-icon, .scard-ico {
    width: 50px; height: 50px; background: var(--gl);
    border-radius: var(--r2); display: flex; align-items: center; justify-content: center;
    transition: all var(--ease); position: relative; z-index: 1;
}
.service-icon svg, .scard-ico svg { width: 22px; height: 22px; color: var(--g); transition: color var(--ease); }
.m3llem-service-card:hover .service-icon,
.scard:hover .scard-ico { background: var(--g); }
.m3llem-service-card:hover .service-icon svg,
.scard:hover .scard-ico svg { color: var(--w); }

.m3llem-service-card h3, .scard h3 { font-size: 1.0625rem; font-weight: 700; letter-spacing: -.025em; position: relative; z-index: 1; }
.m3llem-service-card p, .scard p { font-size: .875rem; color: var(--t3); line-height: 1.65; max-width: none; position: relative; z-index: 1; }

.service-price, .scard-price {
    display: inline-flex; align-items: center; gap: 5px;
    background: var(--b2); border: 1px solid var(--b1);
    color: var(--t2); padding: 4px 12px; border-radius: var(--rf);
    font-size: 11.5px; font-weight: 700; width: fit-content;
    margin-top: auto; position: relative; z-index: 1; transition: all var(--ease);
}
.m3llem-service-card:hover .service-price,
.scard:hover .scard-price { background: var(--gl); border-color: rgba(26,158,116,.25); color: var(--gd); }

.scard-link { display: flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: var(--g); position: relative; z-index: 1; }
.scard-link svg { width: 13px; height: 13px; transition: transform var(--ease); }
.scard:hover .scard-link svg { transform: translateX(5px); }

/* ============================================================
   HOW IT WORKS — étapes avec watermark
   ============================================================ */
.steps-grid, .how-steps {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 1px; background: var(--b1);
    border-radius: var(--r4); overflow: hidden; border: 1px solid var(--b1);
}
@media (max-width: 700px) { .steps-grid, .how-steps { grid-template-columns: 1fr; } }

.process-card, .how-step {
    background: var(--w); padding: 44px 36px;
    position: relative; overflow: hidden;
}
.how-step-bg {
    position: absolute; bottom: -20px; right: -10px;
    font-size: 120px; font-weight: 900; color: var(--b2);
    line-height: 1; pointer-events: none; letter-spacing: -.05em; font-family: var(--f);
}
.process-step-num, .how-num {
    width: 48px; height: 48px; background: var(--g); color: var(--w);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 900; margin-bottom: 22px; position: relative; z-index: 1;
}
.process-card h3, .how-step h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -.03em; margin-bottom: 10px; position: relative; z-index: 1; }
.process-card p, .how-step p { font-size: .9375rem; color: var(--t3); max-width: none; position: relative; z-index: 1; }

/* ============================================================
   WHY US
   ============================================================ */
.why-grid, .differentiators-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
}
@media (max-width: 900px) { .why-grid, .differentiators-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 540px) { .why-grid, .differentiators-grid { grid-template-columns: 1fr; } }

.why-card, .differentiator-card {
    padding: 28px; background: var(--b3);
    border-radius: var(--r3); border: 1px solid var(--b1); transition: all var(--ease);
}
.why-card:hover, .differentiator-card:hover { background: var(--w); border-color: rgba(26,158,116,.25); box-shadow: var(--sh2); }
.why-ico, .differentiator-icon {
    width: 44px; height: 44px; background: var(--gl);
    border-radius: var(--r2); display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.why-ico svg, .differentiator-icon svg { width: 20px; height: 20px; color: var(--g); }
.why-card h3, .differentiator-card h3 { font-size: 1rem; font-weight: 700; letter-spacing: -.025em; margin-bottom: 8px; }
.why-card p, .differentiator-card p { font-size: .875rem; color: var(--t3); max-width: none; }

/* ============================================================
   B2B — section sombre
   ============================================================ */
.b2b, .m3llem-b2b {
    padding: 96px 0; background: var(--n); position: relative; overflow: hidden;
}
.b2b::before { content: ''; position: absolute; top: -200px; left: -200px; width: 700px; height: 700px; background: radial-gradient(circle, rgba(26,158,116,.1) 0%, transparent 65%); pointer-events: none; }
.b2b::after { content: ''; position: absolute; bottom: -200px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(26,158,116,.07) 0%, transparent 65%); pointer-events: none; }

.b2b-head { margin-bottom: 52px; position: relative; z-index: 1; }
.b2b-head h2, .m3llem-b2b h2 { color: var(--w); }
.b2b-head p, .m3llem-b2b p { color: rgba(255,255,255,.4); }

.b2b-grid, .b2b-cards {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; position: relative; z-index: 1;
}
@media (max-width: 800px) { .b2b-grid, .b2b-cards { grid-template-columns: 1fr; } }

.b2b-card {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--r3); padding: 28px; transition: all var(--ease);
}
.b2b-card:hover { background: rgba(26,158,116,.06); border-color: rgba(26,158,116,.25); }
.b2b-tag {
    font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    color: var(--gm); margin-bottom: 14px; display: flex; align-items: center; gap: 6px;
}
.b2b-tag::before { content: ''; width: 18px; height: 2px; background: var(--g); border-radius: 1px; }
.b2b-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--w); letter-spacing: -.03em; margin-bottom: 10px; }
.b2b-card p { font-size: .875rem; color: rgba(255,255,255,.38); max-width: none; line-height: 1.7; }
.b2b-range, .b2b-budget {
    display: inline-flex; align-items: center; margin-top: 18px;
    background: rgba(26,158,116,.12); color: var(--gm);
    padding: 5px 14px; border-radius: var(--rf);
    font-size: 12px; font-weight: 700; border: 1px solid rgba(26,158,116,.2);
}
.b2b-cta { margin-top: 40px; text-align: center; position: relative; z-index: 1; }

/* ============================================================
   ZONES
   ============================================================ */
.zones, .m3llem-zones { padding: 80px 0; background: var(--b3); }
.zones-pills, .zones-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.zpill, .zone-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 22px; border-radius: var(--rf);
    border: 1.5px solid var(--b1); font-size: 14px; font-weight: 600;
    color: var(--t2); background: var(--w); transition: all var(--ease);
    cursor: pointer; box-shadow: var(--sh1); text-decoration: none;
}
.zpill svg, .zone-pill svg { width: 13px; height: 13px; color: var(--g); }
.zpill:hover, .zone-pill:hover {
    background: var(--g); color: var(--w); border-color: var(--g);
    transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,158,116,.3);
}
.zpill:hover svg, .zone-pill:hover svg { color: var(--w); }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-wrap { max-width: var(--max-w-narrow); }
.faq-items, .m3llem-faq { display: flex; flex-direction: column; gap: 8px; }
.fitem, .faq-item {
    border: 1.5px solid var(--b1); border-radius: var(--r3);
    overflow: hidden; transition: border-color var(--ease), box-shadow var(--ease);
}
.fitem.open, .faq-item.open { border-color: rgba(26,158,116,.3); box-shadow: 0 0 0 4px rgba(26,158,116,.06); }
.fq, .faq-question {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; cursor: pointer; gap: 16px; user-select: none;
}
.fq-text, .faq-question span { font-size: .9375rem; font-weight: 700; color: var(--t1); letter-spacing: -.02em; }
.ftoggle {
    width: 30px; height: 30px; border-radius: 50%;
    border: 1.5px solid var(--b1); display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: all var(--ease); color: var(--t4);
}
.ftoggle svg { width: 13px; height: 13px; transition: transform var(--ease); }
.fitem.open .ftoggle, .faq-item.open .ftoggle { background: var(--g); border-color: var(--g); color: var(--w); }
.fitem.open .ftoggle svg, .faq-item.open .ftoggle svg { transform: rotate(45deg); }
.fa, .faq-answer {
    display: none; padding: 0 24px 20px;
    font-size: .9375rem; color: var(--t3); line-height: 1.75; border-top: 1px solid var(--b2);
}
.fitem.open .fa, .faq-item.open .faq-answer { display: block; padding-top: 16px; }

/* ============================================================
   CTA BAND — dark + mini-form
   ============================================================ */
.cta-band, .m3llem-cta-band {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--n) 0%, var(--n3) 100%);
    position: relative; overflow: hidden;
}
.cta-band::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(26,158,116,.15) 0%, transparent 60%); }
.cta-band-in {
    display: grid; grid-template-columns: 1fr 400px;
    gap: 64px; align-items: center; position: relative; z-index: 1;
}
@media (max-width: 900px) { .cta-band-in { grid-template-columns: 1fr; } }
.cta-band-l h2 { font-size: clamp(1.8rem,4vw,2.5rem); font-weight: 800; color: var(--w); letter-spacing: -.04em; margin-bottom: 14px; }
.cta-band-l p { color: rgba(255,255,255,.4); font-size: 1.0625rem; margin-bottom: 28px; max-width: 44ch; }
.cta-band-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Mini-form CTA */
.cta-form {
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r4); padding: 28px; backdrop-filter: blur(12px);
}
.cta-form-title { font-size: 1rem; font-weight: 700; color: var(--w); margin-bottom: 6px; }
.cta-form-sub { font-size: .8125rem; color: rgba(255,255,255,.35); margin-bottom: 20px; }
.cf-inp {
    width: 100%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--r); padding: 12px 14px; font-size: .875rem; color: var(--w);
    font-family: var(--f); outline: none; transition: border-color var(--ease); margin-bottom: 10px;
}
.cf-inp::placeholder { color: rgba(255,255,255,.25); }
.cf-inp:focus { border-color: rgba(26,158,116,.5); background: rgba(26,158,116,.06); }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cf-select {
    width: 100%;
    background: rgba(255,255,255,.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,.3)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 12px center;
    border: 1px solid rgba(255,255,255,.1); border-radius: var(--r);
    padding: 12px 36px 12px 14px; font-size: .875rem; color: var(--w);
    font-family: var(--f); outline: none; -webkit-appearance: none; appearance: none;
    transition: border-color var(--ease); margin-bottom: 10px;
}
.cf-select option { background: var(--n2); color: var(--w); }
.cf-select:focus { border-color: rgba(26,158,116,.5); }
.cf-submit {
    width: 100%; height: 48px; background: var(--g); color: var(--w);
    border: none; border-radius: var(--r2); font-size: .9375rem; font-weight: 700;
    cursor: pointer; transition: all var(--ease); display: flex; align-items: center;
    justify-content: center; gap: 8px; font-family: var(--f);
}
.cf-submit:hover { background: var(--gd); transform: translateY(-1px); }

/* ============================================================
   FORMULAIRE DE DEVIS — /devis/
   ============================================================ */
.dpage { padding: 64px 0 96px; }
.dpage-grid { display: grid; grid-template-columns: 1fr 460px; gap: 64px; align-items: start; }
@media (max-width: 900px) { .dpage-grid { grid-template-columns: 1fr; } }
.dpage-info h1 { font-size: clamp(2rem,5vw,3rem); font-weight: 900; letter-spacing: -.05em; margin-bottom: 16px; }
.dpage-info > p { font-size: 1.0625rem; color: var(--t3); margin-bottom: 36px; }
.promises { display: flex; flex-direction: column; gap: 12px; }
.promise { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--b3); border: 1px solid var(--b1); border-radius: var(--r2); transition: all var(--ease); }
.promise:hover { border-color: rgba(26,158,116,.25); background: var(--gl); }
.p-ico { width: 42px; height: 42px; background: var(--gl); border-radius: var(--r); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.p-ico svg { width: 18px; height: 18px; color: var(--g); }
.p-txt strong { display: block; font-size: .9375rem; color: var(--t1); font-weight: 700; }
.p-txt span { font-size: .8125rem; color: var(--t3); }

/* Card formulaire */
.dform, .m3llem-form, .m3llem-form-dark {
    background: var(--w); border: 1.5px solid var(--b1);
    border-radius: var(--r4); padding: 36px; box-shadow: var(--sh3);
}
.dform-title { font-size: 1.375rem; font-weight: 800; letter-spacing: -.04em; margin-bottom: 6px; }
.dform-sub { font-size: .875rem; color: var(--t3); margin-bottom: 28px; }
.fg, .m3llem-field { margin-bottom: 16px; }
.fg label, .m3llem-field label { display: block; font-size: .8125rem; font-weight: 700; color: var(--t1); margin-bottom: 6px; }
.finp, .m3llem-input {
    width: 100%; border: 1.5px solid var(--b1);
    border-radius: var(--r); padding: 12px 16px;
    font-size: .9375rem; font-family: var(--f); color: var(--t1);
    outline: none; transition: border-color var(--ease), box-shadow var(--ease); background: var(--w);
}
.finp:focus, .m3llem-input:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(26,158,116,.12); }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .frow { grid-template-columns: 1fr; } }
.fsel, .m3llem-select {
    width: 100%; border: 1.5px solid var(--b1); border-radius: var(--r);
    padding: 12px 36px 12px 14px; font-size: .9375rem; font-family: var(--f);
    color: var(--t1); outline: none;
    background: var(--w) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
    -webkit-appearance: none; appearance: none; transition: border-color var(--ease);
}
.fsel:focus, .m3llem-select:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(26,158,116,.12); outline: none; }
.ftxtarea, .m3llem-textarea {
    width: 100%; border: 1.5px solid var(--b1); border-radius: var(--r);
    padding: 12px 16px; font-size: .9375rem; font-family: var(--f);
    color: var(--t1); outline: none; resize: vertical; min-height: 88px;
    background: var(--w); transition: border-color var(--ease);
}
.ftxtarea:focus, .m3llem-textarea:focus { border-color: var(--g); box-shadow: 0 0 0 3px rgba(26,158,116,.12); }
.rpills { display: flex; gap: 8px; flex-wrap: wrap; }
.rpill {
    padding: 9px 16px; border: 1.5px solid var(--b1); border-radius: var(--r);
    font-size: .875rem; font-weight: 600; color: var(--t2); cursor: pointer;
    transition: all var(--ease); display: flex; align-items: center; gap: 6px;
}
.rpill:hover, .rpill.on { border-color: var(--g); background: var(--gl); color: var(--gd); }
.fsub {
    width: 100%; height: 52px; background: var(--g); color: var(--w);
    border: none; border-radius: var(--r2); font-size: 1rem; font-weight: 700;
    cursor: pointer; transition: all var(--ease); display: flex; align-items: center;
    justify-content: center; gap: 8px; font-family: var(--f); margin-top: 4px;
}
.fsub:hover { background: var(--gd); transform: translateY(-1px); box-shadow: 0 4px 16px var(--g35); }
.flegal { font-size: 11px; color: var(--t4); margin-top: 12px; line-height: 1.6; }
.flegal a { color: var(--g); }

/* ============================================================
   PAGE SERVICE — layout avec sidebar
   ============================================================ */
.svc-hero { background: var(--n); padding: 72px 0 56px; position: relative; overflow: hidden; }
.svc-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 30%, rgba(26,158,116,.12) 0%, transparent 60%); }
.svc-hero-in { position: relative; z-index: 1; }
.svc-hero h1 { color: var(--w); font-size: clamp(2rem,5vw,3.25rem); font-weight: 900; letter-spacing: -.05em; margin-bottom: 14px; }
.svc-hero p { color: rgba(255,255,255,.45); font-size: 1.0625rem; max-width: 50ch; margin-bottom: 28px; }

.svc-layout { display: grid; grid-template-columns: 1fr 340px; gap: 52px; align-items: start; padding: 64px 0 96px; }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; } }
.svc-content h2 { font-size: 1.5rem; font-weight: 800; letter-spacing: -.035em; margin: 36px 0 12px; }
.svc-content h2:first-child { margin-top: 0; }
.svc-content p { font-size: .9375rem; color: var(--t3); margin-bottom: 16px; max-width: none; }

/* Tableau tarifs */
.ptable { width: 100%; border-collapse: collapse; font-size: .875rem; margin: 20px 0 32px; border-radius: var(--r2); overflow: hidden; border: 1px solid var(--b1); }
.ptable thead th { background: var(--t1); color: var(--w); padding: 12px 18px; text-align: left; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.ptable td { padding: 12px 18px; border-bottom: 1px solid var(--b2); color: var(--t2); }
.ptable tr:last-child td { border-bottom: none; }
.ptable tr:hover td { background: var(--b3); }
.ptable td:last-child { font-weight: 700; color: var(--t1); text-align: right; }

/* Sidebar service */
.svc-sidebar-card {
    background: var(--w); border: 1.5px solid var(--b1);
    border-radius: var(--r3); padding: 28px; box-shadow: var(--sh2);
    position: sticky; top: 100px;
}
.ssc-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 20px; }
.ssc-btn {
    width: 100%; height: 48px; border-radius: var(--r2);
    display: flex; align-items: center; justify-content: center;
    gap: 8px; font-size: .9375rem; font-weight: 700;
    cursor: pointer; transition: all var(--ease); margin-bottom: 10px; border: none;
}
.ssc-primary { background: var(--g); color: var(--w); box-shadow: 0 2px 10px var(--g35); }
.ssc-primary:hover { background: var(--gd); }
.ssc-wa { background: var(--wa); color: var(--w); }
.ssc-wa:hover { background: #1ebe5d; }
.ssc-sec { background: var(--b2); color: var(--t1); border: 1.5px solid var(--b1); }
.ssc-sep { height: 1px; background: var(--b1); margin: 20px 0; }
.ssc-checks { display: flex; flex-direction: column; gap: 10px; }
.ssc-chk { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--t2); }
.ssc-chk svg { width: 15px; height: 15px; color: var(--g); flex-shrink: 0; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .8125rem; color: rgba(255,255,255,.3); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb svg { width: 12px; height: 12px; }
.breadcrumb a { color: rgba(255,255,255,.4); text-decoration: none; }
.breadcrumb a:hover { color: var(--w); }
.breadcrumb-sep { color: rgba(255,255,255,.2); }
.breadcrumb-current { color: rgba(255,255,255,.6); font-weight: 600; }

/* Breadcrumb clair */
body:not(.page-template-page-svc) .breadcrumb { color: var(--t3); }
body:not(.page-template-page-svc) .breadcrumb a { color: var(--t3); }
body:not(.page-template-page-svc) .breadcrumb a:hover { color: var(--gd); }
body:not(.page-template-page-svc) .breadcrumb-sep { color: var(--t4); }
body:not(.page-template-page-svc) .breadcrumb-current { color: var(--t2); }

/* ============================================================
   BLOG — grille et carte
   ============================================================ */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 20px; }
.blog-card {
    background: var(--w); border: 1.5px solid var(--b1);
    border-radius: var(--r3); overflow: hidden;
    display: flex; flex-direction: column;
    transition: box-shadow var(--ease), transform var(--ease);
    cursor: pointer; text-decoration: none;
}
.blog-card:hover { box-shadow: var(--sh3); transform: translateY(-4px); border-color: rgba(26,158,116,.2); }
.blog-card-img { aspect-ratio: 16/9; background: var(--b2); overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.04); }
.blog-card-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-card-cat {
    display: inline-flex; align-items: center; padding: 3px 10px;
    border-radius: var(--rf); font-size: 10px; font-weight: 700;
    letter-spacing: .07em; text-transform: uppercase;
    background: var(--gl); color: var(--gd);
}
.blog-card-title { font-size: 1.0625rem; font-weight: 700; color: var(--t1); letter-spacing: -.025em; line-height: 1.35; }
.blog-card-excerpt { font-size: .875rem; color: var(--t3); line-height: 1.65; max-width: none; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--b2); }
.reading-time { font-size: 11px; color: var(--t4); background: var(--b2); padding: 3px 10px; border-radius: var(--rf); display: inline-flex; align-items: center; gap: 4px; }

/* Blog article */
.blog-article-header { max-width: var(--max-w-narrow); margin: 0 auto; padding: 40px 24px 0; }
.blog-article-content { max-width: var(--max-w-narrow); margin: 0 auto; padding: 24px; font-size: 1.0625rem; line-height: 1.8; color: var(--t2); }
.blog-article-content > p { max-width: none; }
.blog-article-content h2 { font-size: 1.5rem; margin: 48px 0 16px; padding-top: 32px; border-top: 2px solid var(--gl); letter-spacing: -.04em; color: var(--t1); }
.blog-article-content h3 { font-size: 1.25rem; margin: 32px 0 12px; color: var(--t1); }
.blog-article-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .875rem; display: block; overflow-x: auto; }
.blog-article-content th { background: var(--t1); color: var(--w); padding: 12px 16px; text-align: left; font-weight: 700; }
.blog-article-content td { padding: 11px 16px; border-bottom: 1px solid var(--b2); }
.blog-article-content tr:nth-child(even) td { background: var(--b3); }
.blog-article-content blockquote { border-left: 3px solid var(--g); margin: 24px 0; padding: 14px 20px; background: var(--gl); border-radius: 0 var(--r3) var(--r3) 0; font-style: italic; color: var(--gd); }

/* Blog CTA bloc */
.blog-cta-block {
    background: var(--n); border-radius: var(--r4);
    padding: 40px 32px; margin: 48px 0; text-align: center;
    position: relative; overflow: hidden;
}
.blog-cta-block::before { content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(26,158,116,.12) 0%, transparent 70%); }
.blog-cta-title { font-size: 1.5rem; font-weight: 800; color: var(--w); margin-bottom: 8px; letter-spacing: -.04em; }
.blog-cta-sub { font-size: .875rem; color: rgba(255,255,255,.4); margin-bottom: 24px; max-width: none; }
.blog-cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.related-articles { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--b2); }
.related-articles h3 { font-size: 1.5rem; margin-bottom: 24px; }

/* ============================================================
   URGENCE
   ============================================================ */
.urgence-band {
    background: linear-gradient(135deg, #1A0000, #2D0A0A);
    border: 1px solid rgba(239,68,68,.2); border-radius: var(--r4);
    padding: 28px 32px; display: flex; align-items: center;
    justify-content: space-between; gap: 20px; flex-wrap: wrap;
    position: relative; overflow: hidden;
}
.urgence-band::before { content: ''; position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle, rgba(239,68,68,.12) 0%, transparent 70%); }
.urgence-band-icon { width: 52px; height: 52px; border-radius: var(--r3); background: rgba(239,68,68,.15); border: 1px solid rgba(239,68,68,.3); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.urgence-band-title { font-size: 1.125rem; font-weight: 800; color: var(--w); letter-spacing: -.03em; margin-bottom: 4px; }
.urgence-band-sub { font-size: 12px; color: rgba(255,255,255,.4); }

/* ============================================================
   TAGS & ALERTES
   ============================================================ */
.tag { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--rf); font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; text-decoration: none; }
.tag-gold, .tag-green { background: var(--gl); color: var(--gd); }
.tag-ink  { background: rgba(15,23,42,.07); color: var(--t1); border: 1px solid rgba(15,23,42,.12); }
.tag-grey { background: var(--b2); color: var(--t3); border: 1px solid var(--b1); }
.alert { padding: 14px 18px; border-radius: var(--r3); font-size: .875rem; display: flex; align-items: flex-start; gap: 10px; }
.alert-success { background: #ECFDF5; border: 1px solid #6EE7B7; color: #065F46; }
.alert-error   { background: #FEF2F2; border: 1px solid #FCA5A5; color: #991B1B; }
.alert-warning { background: #FFFBEB; border: 1px solid #FCD34D; color: #92400E; }
.alert-info    { background: var(--gl); border: 1px solid rgba(26,158,116,.4); color: var(--gd); }

/* ============================================================
   WA FAB — bouton WhatsApp fixe
   ============================================================ */
.wafab, #wafab, .m3llem-wa-fab {
    position: fixed; bottom: 24px; right: 24px; z-index: 8000;
    display: flex; align-items: center; gap: 10px;
    background: var(--wa); color: var(--w);
    padding: 14px 22px; border-radius: var(--rf);
    font-size: 14px; font-weight: 700;
    box-shadow: 0 4px 20px rgba(37,211,102,.5), 0 2px 8px rgba(0,0,0,.15);
    transition: all var(--ease); text-decoration: none;
}
.wafab:hover, #wafab:hover, .m3llem-wa-fab:hover {
    transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,211,102,.55); color: var(--w);
}
.wafab svg, #wafab svg { width: 22px; height: 22px; }
.wafab-pulse {
    position: absolute; inset: -4px; border-radius: var(--rf);
    border: 2px solid rgba(37,211,102,.5);
    animation: wapin 2.5s ease-out infinite; pointer-events: none;
}
@keyframes wapin { 0%{opacity:.7;transform:scale(1)}100%{opacity:0;transform:scale(1.3)} }

/* ============================================================
   STICKY CTA MOBILE
   ============================================================ */
.m3llem-sticky-mobile, .mobile-bar { display: none; }
@media (max-width: 640px) {
    .m3llem-sticky-mobile, .mobile-bar {
        display: flex; position: fixed; bottom: 0; left: 0; right: 0;
        z-index: 7000; background: var(--w);
        border-top: 1px solid var(--b1); padding: 10px 16px; gap: 8px;
        box-shadow: 0 -4px 20px rgba(0,0,0,.08);
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    }
    .m3llem-sticky-mobile a, .mobile-bar a {
        flex: 1; height: 48px; border-radius: var(--r2);
        display: flex; align-items: center; justify-content: center;
        gap: 8px; font-size: 14px; font-weight: 700; text-decoration: none;
        touch-action: manipulation; transition: all var(--ease);
    }
    .sticky-call, .m-call { background: var(--b2); color: var(--t1); border: 1.5px solid var(--b1); }
    .sticky-devis, .m-devis { background: var(--g); color: var(--w); box-shadow: 0 2px 10px var(--g35); }
    .sticky-whatsapp { background: var(--wa); color: var(--w); }
    body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.m3llem-footer, .footer { background: var(--n2); padding: 64px 0 0; position: relative; overflow: hidden; }
.m3llem-footer::before, .footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26,158,116,.3), transparent);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px; padding-bottom: 52px; position: relative;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }

.footer-logo { font-size: 18px; font-weight: 800; letter-spacing: -.04em; color: var(--w); margin-bottom: 14px; display: block; }
.footer-logo span { color: var(--g); }
.footer-desc, .footer-tagline { font-size: .875rem; color: rgba(255,255,255,.3); max-width: 26ch; line-height: 1.7; margin-bottom: 22px; }
.footer-contact a, .footer-contact-item {
    display: flex; align-items: center; gap: 9px;
    font-size: .875rem; color: rgba(255,255,255,.4); margin-bottom: 10px;
    transition: color var(--ease); text-decoration: none;
}
.footer-contact a:hover, .footer-contact-item:hover { color: var(--w); }
.footer-contact svg, .footer-contact-item svg { width: 14px; height: 14px; color: var(--g); flex-shrink: 0; }
.fcol h4, .m3llem-footer h4 { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 18px; }
.fcol ul, .m3llem-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.fcol li a, .m3llem-footer a { font-size: .875rem; color: rgba(255,255,255,.4); text-decoration: none; transition: color var(--ease); display: inline-block; }
.fcol li a:hover, .m3llem-footer a:hover { color: var(--w); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.06); padding: 20px 0;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}
.footer-copy { font-size: 12px; color: rgba(255,255,255,.2); }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.2); transition: color var(--ease); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,.6); }
.footer-bottom nav { display: flex; gap: 16px; }
.footer-bottom a { font-size: 11px; color: rgba(255,255,255,.25); }
.footer-bottom a:hover { color: var(--g); }

/* ============================================================
   PAGE 404 & OFFLINE
   ============================================================ */
.error-404 { text-align: center; padding: 88px 24px; max-width: 520px; margin: 0 auto; }
.error-404-code { font-size: 120px; font-weight: 800; color: var(--b1); line-height: 1; letter-spacing: -.06em; margin-bottom: 16px; }
.error-404 h1 { font-size: 2rem; margin-bottom: 12px; }
.error-404 p { color: var(--t3); max-width: none; margin-bottom: 32px; }
.error-404-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.offline-page { text-align: center; padding: 88px 24px; max-width: 480px; margin: 0 auto; }
.offline-icon { font-size: 56px; margin-bottom: 20px; }
.offline-page h1 { font-size: 2rem; margin-bottom: 12px; }
.offline-page p { color: var(--t3); max-width: none; margin-bottom: 24px; }

/* ============================================================
   TÉMOIGNAGES
   ============================================================ */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 14px; }
.testimonial-card { background: var(--w); border: 1.5px solid var(--b1); border-radius: var(--r4); padding: 24px; display: flex; flex-direction: column; gap: 14px; transition: all var(--ease); }
.testimonial-card:hover { box-shadow: var(--sh2); border-color: rgba(26,158,116,.2); }
.testimonial-stars { color: #F59E0B; font-size: 1rem; letter-spacing: 2px; }
.testimonial-text { font-size: .875rem; color: var(--t3); line-height: 1.7; font-style: italic; max-width: none; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--gl); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1rem; color: var(--gd); flex-shrink: 0; }
.testimonial-name { font-weight: 800; font-size: .875rem; color: var(--t1); letter-spacing: -.02em; }
.testimonial-role { font-size: 11px; color: var(--t3); }

/* ============================================================
   FORMULES / TARIFS
   ============================================================ */
.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
@media (max-width: 768px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing-card {
    background: var(--w); border: 1.5px solid var(--b1);
    border-radius: var(--r4); padding: 32px;
    display: flex; flex-direction: column; gap: 20px; transition: all var(--ease);
}
.pricing-card:hover { border-color: rgba(26,158,116,.3); box-shadow: var(--sh2); transform: translateY(-2px); }
.pricing-card.featured { border-color: var(--g); background: var(--gl); }
.pricing-badge { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gm); background: rgba(26,158,116,.15); padding: 4px 12px; border-radius: var(--rf); width: fit-content; }
.pricing-price { font-size: 2rem; font-weight: 900; color: var(--t1); letter-spacing: -.04em; }
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--t3); }
.pricing-features { display: flex; flex-direction: column; gap: 10px; }
.pricing-feature { display: flex; align-items: center; gap: 10px; font-size: .875rem; color: var(--t2); }
.pricing-feature svg { width: 15px; height: 15px; color: var(--g); flex-shrink: 0; }

/* ============================================================
   RESPONSIVE GÉNÉRAL
   ============================================================ */
@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    .hero-section, .hero { min-height: 60vh; padding: 56px 0 48px; }
    .hero-ctas, .hero-btns { flex-direction: column; }
    .hero-ctas > *, .hero-btns > * { width: 100%; justify-content: center; }
    .hero-stats { gap: 24px; }
    .blog-cta-buttons { flex-direction: column; align-items: center; }
    .blog-cta-buttons > * { width: 100%; max-width: 320px; }
    .steps-grid, .how-steps { grid-template-columns: 1fr; gap: 0; }
    .blog-article-content { padding: 16px; font-size: 1rem; }
    .process-card, .how-step { padding: 32px 20px; }
    .dform, .m3llem-form { padding: 24px 16px; border-radius: var(--r3); }
    .pricing-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   IMPRESSION
   ============================================================ */
@media print {
    .m3llem-sticky-mobile, .mobile-bar, .wafab, #wafab,
    .m3llem-urgence-banner, nav, .hero-ctas, .hero-btns,
    .blog-cta-block, .site-header, .hdr, .pill-strip { display: none !important; }
    body { font-size: 11pt; color: #000; background: #fff; padding-bottom: 0 !important; }
    a { color: #000; text-decoration: underline; }
    a[href]::after { content: " (" attr(href) ")"; }
    section { padding: 20pt 0; }
}
