/* =========================================================
   ECL — Rénovation énergétique
   Palette inspirée du logo (gradient DPE rouge → vert)
   ========================================================= */

:root {
    /* DPE / Energy gradient — extrait du logo */
    --a: #0a8f3c;       /* vert foncé (classe A — excellent) */
    --b: #7cd52c;       /* vert clair */
    --c: #c9e02b;       /* vert-jaune */
    --d: #f4c20d;       /* jaune */
    --e: #f28b1c;       /* orange */
    --f: #e35d1c;       /* orange foncé */
    --g: #e63946;       /* rouge */

    /* Identity */
    --green: #0a8f3c;
    --green-dark: #076a2c;
    --green-light: #e8f5ed;

    /* Neutrals — subtle warm/green undertones pour matcher le logo */
    --black: #0e1013;
    --ink: #1a1d21;
    --ink-2: #2a2f36;
    --grey-900: #333841;
    --grey-700: #4d5561;
    --grey-500: #7d8796;
    --grey-300: #c6ccd4;
    --grey-200: #e4e7ec;
    --grey-100: #e4ede5;
    --grey-50:  #e8f1e8;       /* vert-crème pour les sections alternées */
    --bg:       #e6f0e6;       /* fond principal vert tendre visible */
    --white: #ffffff;

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;

    --shadow-sm: 0 1px 2px rgba(14, 16, 19, .06), 0 1px 3px rgba(14, 16, 19, .04);
    --shadow: 0 8px 30px rgba(14, 16, 19, .06), 0 2px 8px rgba(14, 16, 19, .04);
    --shadow-lg: 0 30px 80px rgba(14, 16, 19, .12), 0 10px 30px rgba(14, 16, 19, .06);

    --max: 1240px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Fraunces', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    position: relative;
}
/* Ambient background tinted with logo colors — visible */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(55% 60% at 90% 5%, rgba(10, 143, 60, .35) 0%, transparent 55%),
        radial-gradient(50% 55% at 5% 35%, rgba(244, 194, 13, .22) 0%, transparent 55%),
        radial-gradient(45% 55% at 95% 80%, rgba(242, 139, 28, .18) 0%, transparent 55%),
        radial-gradient(45% 55% at 10% 95%, rgba(124, 213, 44, .22) 0%, transparent 55%),
        linear-gradient(135deg, #e8f3e8 0%, #edf2dc 40%, #f5ecd4 70%, #f3dfc8 100%);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
em { font-style: italic; color: var(--green); font-family: var(--font-serif); font-weight: 600; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ----- Typography ----- */
h1, h2, h3, h4 { font-family: var(--font-serif); letter-spacing: -0.02em; color: var(--black); font-weight: 600; line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.35rem; font-weight: 600; }
h4 { font-size: 1.05rem; font-weight: 600; }
p { color: var(--grey-700); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 600;
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 18px;
}
.eyebrow-light { color: rgba(255,255,255,.85); }

.section-head { margin-bottom: 56px; max-width: 720px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-sub { color: var(--grey-700); font-size: 1.1rem; margin-top: 16px; }

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: .95rem;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    white-space: nowrap;
    cursor: pointer;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 8px 20px -6px rgba(10, 143, 60, .45); }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(10, 143, 60, .55); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--grey-200); }
.btn-ghost:hover { border-color: var(--black); background: var(--black); color: #fff; }
.btn-sm { padding: 10px 20px; font-size: .88rem; }
.btn-lg { padding: 17px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ----- Header ----- */
header {
    position: fixed;
    top: 14px;
    left: 0;
    right: 0;
    width: calc(100% - 28px);
    max-width: 1280px;
    margin: 0 auto;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(10, 143, 60, 0.15);
    border-radius: 999px;
    box-shadow: 0 4px 24px rgba(14, 16, 19, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: top .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, background .25s;
    /* PAS de backdrop-filter ici : ça crée un containing block qui casse position:fixed des enfants (drawer) */
}
header.scrolled {
    top: 8px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 30px rgba(14, 16, 19, 0.12), 0 2px 6px rgba(0, 0, 0, 0.06);
}
/* Décale le contenu pour ne pas passer sous le header flottant */
body { padding-top: 86px; }
@media (max-width: 720px) {
    header { top: 10px; width: calc(100% - 20px); }
    header.scrolled { top: 6px; }
    body { padding-top: 76px; }
}
.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 22px;
    gap: 20px;
}
.brand-logo { height: 42px; width: auto; overflow: visible; }
.brand-logo .logo-text { font-family: var(--font-serif); font-weight: 700; font-size: 56px; fill: var(--black); }
.brand-logo .logo-dot  { font-family: var(--font-serif); font-weight: 700; font-size: 56px; fill: var(--black); }
.brand-logo-light .logo-text,
.brand-logo-light .logo-dot { fill: #fff; }
.brand-logo .logo-gauge path { transition: stroke-width .25s ease; }
.brand-logo:hover .logo-gauge path { stroke-width: 9; }
.brand-logo .logo-needle {
    transform-origin: 0 0;
    animation: needleSwing 5.5s cubic-bezier(.6,.02,.45,.98) infinite;
}
@keyframes needleSwing {
    0%   { transform: rotate(-70deg); }
    45%  { transform: rotate(-18deg); }
    55%  { transform: rotate(-18deg); }
    100% { transform: rotate(-70deg); }
}
.brand-logo:hover .logo-needle { animation-duration: 2.2s; }

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-links a {
    font-size: .93rem;
    font-weight: 500;
    color: var(--grey-700);
    transition: color .15s;
    position: relative;
}
.nav-links a:hover { color: var(--black); }
.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--green);
    transition: width .2s;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink);
    padding: 8px 4px;
    transition: color .15s;
}
.nav-phone svg { color: var(--green); }
.nav-phone:hover { color: var(--green); }

.burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.burger span { display: block; height: 2px; background: var(--black); width: 22px; margin: 0 auto; transition: .2s; }

/* ----- Hero ----- */
.hero {
    position: relative;
    padding: 90px 0 40px;
    overflow: hidden;
    background: transparent;
}
.hero-bg {
    position: absolute; inset: 0;
    background:
        radial-gradient(55% 55% at 90% 0%, rgba(10,143,60,.14) 0%, transparent 60%),
        radial-gradient(45% 45% at 0% 30%, rgba(244,194,13,.10) 0%, transparent 60%),
        radial-gradient(40% 40% at 50% 100%, rgba(124,213,44,.10) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 72px;
    align-items: center;
}
h1 em { color: var(--green); font-style: italic; }
.hero-lead {
    font-size: 1.18rem;
    color: var(--grey-700);
    margin: 28px 0 36px;
    max-width: 560px;
    line-height: 1.55;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; }
.trust-item {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .92rem; color: var(--grey-700); font-weight: 500;
}
.trust-item svg { color: var(--green); }

/* Gauge card (DPE visual) */
.hero-card { display: flex; justify-content: center; }
.gauge-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--grey-200);
    width: 100%;
    max-width: 420px;
    transform: rotate(.5deg);
    transition: transform .3s;
}
.gauge-card:hover { transform: rotate(0); }
.gauge-label {
    font-size: .78rem; font-weight: 600;
    text-transform: uppercase; letter-spacing: .14em;
    color: var(--grey-500); margin-bottom: 18px;
}
.gauge-visual { display: flex; flex-direction: column; gap: 6px; }
.gauge-row {
    display: grid;
    grid-template-columns: 32px 1fr 80px;
    align-items: center;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: .85rem;
    font-weight: 600;
    color: #fff;
    gap: 10px;
}
.gauge-row span { font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700; }
.gauge-row i {
    height: 8px; border-radius: 4px;
    background: rgba(255,255,255,.4);
    display: block;
}
.gauge-row strong { font-size: .8rem; font-weight: 600; opacity: .92; text-align: right; }

.cls-a { background: var(--a); }
.cls-a i { width: 22%; }
.cls-b { background: var(--b); color: #093; }
.cls-b i { width: 34%; background: rgba(0,0,0,.15); }
.cls-c { background: var(--c); color: #3a4e0a; }
.cls-c i { width: 46%; background: rgba(0,0,0,.18); }
.cls-d { background: var(--d); color: #5a4000; }
.cls-d i { width: 58%; background: rgba(0,0,0,.18); }
.cls-e { background: var(--e); }
.cls-e i { width: 72%; }
.cls-f { background: var(--f); }
.cls-f i { width: 86%; }
.cls-g { background: var(--g); }
.cls-g i { width: 100%; }

.gauge-foot {
    margin-top: 18px; padding-top: 18px;
    border-top: 1px dashed var(--grey-200);
    display: flex; align-items: center; justify-content: space-between;
}
.gauge-foot small { color: var(--grey-500); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; display: block; margin-bottom: 4px; }
.gauge-foot strong { font-family: var(--font-serif); font-size: 1.15rem; color: var(--green); }
.gauge-foot .arrow { font-size: 1.6rem; color: var(--green); }

/* Hero stats */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 72px;
    padding-top: 48px;
    border-top: 1px solid var(--grey-200);
    gap: 24px;
}
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat strong {
    font-family: var(--font-serif); font-size: 2.4rem;
    font-weight: 700; color: var(--black); letter-spacing: -.02em;
}
.stat span { font-size: .88rem; color: var(--grey-500); font-weight: 500; }

/* ----- Partners ----- */
.partners {
    padding: 42px 0;
    border-top: 1px solid var(--grey-200);
    border-bottom: 1px solid var(--grey-200);
    background: rgba(255,255,255,.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.partners-label {
    text-align: center; font-size: .78rem;
    text-transform: uppercase; letter-spacing: .15em;
    color: var(--grey-500); font-weight: 600; margin-bottom: 24px;
}
.partners-grid {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 24px; align-items: center;
}
.partner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 8px;
    border-right: 1px solid var(--grey-200);
    transition: transform .2s, filter .2s, opacity .2s;
    opacity: .85;
    filter: grayscale(.2);
}
.partner:last-child { border-right: none; }
.partner:hover { opacity: 1; filter: none; transform: translateY(-2px); }
.partner svg { width: 100%; max-width: 140px; height: 50px; }

/* ----- Services ----- */
.services { padding: 110px 0; background: transparent; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.service-card:hover {
    border-color: var(--green);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.service-card.featured {
    background: linear-gradient(135deg, #0a8f3c 0%, #076a2c 100%);
    border-color: var(--green-dark);
    color: #fff;
}
.service-card.featured h3,
.service-card.featured p { color: #fff; }
.service-card.featured p { color: rgba(255,255,255,.85); }
.service-card.featured .service-features li { color: rgba(255,255,255,.9); }
.service-card.featured .service-features li::before { background: #fff; }
.service-card.featured .service-icon {
    background: rgba(255,255,255,.15);
    color: #fff;
}
.service-card.featured .service-tag {
    background: rgba(255,255,255,.2);
    color: #fff;
}
.service-card.featured .service-link { color: #fff; }
.service-card.featured .service-link:hover { color: var(--b); }

.service-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4px;
}
.service-icon {
    width: 56px; height: 56px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-tag {
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: var(--grey-100);
    color: var(--grey-700);
    padding: 5px 10px;
    border-radius: 999px;
}
.service-desc { font-size: .95rem; color: var(--grey-700); }
.service-features {
    display: flex; flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.service-features li {
    position: relative;
    padding-left: 22px;
    font-size: .88rem;
    color: var(--grey-700);
}
.service-features li::before {
    content: "";
    position: absolute;
    left: 0; top: 8px;
    width: 12px; height: 12px;
    background: var(--green);
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' stroke='black' stroke-width='3' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>") no-repeat center / contain;
}
.service-link {
    margin-top: auto;
    color: var(--green);
    font-weight: 600;
    font-size: .92rem;
    padding-top: 12px;
    transition: gap .2s;
    display: inline-flex;
    gap: 4px;
}
.service-link:hover { gap: 10px; }

.card-cta {
    background: var(--grey-50);
    border-style: dashed;
    align-items: flex-start;
    justify-content: center;
}
.card-cta:hover { background: #fff; }

/* ----- Pourquoi ----- */
.pourquoi {
    padding: 110px 0;
    background: rgba(255,255,255,.5);
    border-top: 1px solid var(--grey-200);
    border-bottom: 1px solid var(--grey-200);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.pourquoi-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 72px;
    align-items: center;
}
.pourquoi-list { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.pq-item { display: grid; grid-template-columns: 52px 1fr; gap: 20px; align-items: start; }
.pq-num {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--green);
    width: 52px; height: 52px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0;
}
.pq-item h4 { margin-bottom: 4px; color: var(--black); }
.pq-item p { font-size: .93rem; color: var(--grey-700); }

.pourquoi-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.stat-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--grey-200);
    transition: transform .25s, box-shadow .25s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat-card-1 { transform: translateY(-14px); border-top: 4px solid var(--a); }
.stat-card-2 { transform: translateY(14px); border-top: 4px solid var(--b); }
.stat-card-3 { transform: translateY(-14px); border-top: 4px solid var(--d); }
.stat-card-4 { transform: translateY(14px); border-top: 4px solid var(--e); }
.stat-big {
    font-family: var(--font-serif);
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -.02em;
    margin-bottom: 6px;
}
.stat-lbl { font-size: .85rem; color: var(--grey-700); line-height: 1.4; }

/* ----- Process ----- */
.process { padding: 110px 0; background: var(--black); color: #fff; position: relative; overflow: hidden; }
.process::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(30% 30% at 20% 30%, rgba(10,143,60,.25) 0%, transparent 60%),
        radial-gradient(40% 40% at 90% 70%, rgba(244,194,13,.10) 0%, transparent 60%);
    pointer-events: none;
}
.process h2 { color: #fff; }
.process .eyebrow { color: var(--b); }
.process .section-sub { color: rgba(255,255,255,.7); }
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}
.step {
    padding: 36px 28px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    transition: background .2s, border-color .2s, transform .2s;
}
.step:hover { background: rgba(255,255,255,.07); border-color: var(--b); transform: translateY(-4px); }
.step-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(135deg, var(--b), var(--a));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 18px;
}
.step h3 { color: #fff; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.7); font-size: .92rem; }

/* ----- Aides ----- */
.aides { padding: 110px 0; background: transparent; }
.aides-head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.aides-head .eyebrow { justify-content: center; }
.aides-head h2 em { display: inline-block; }
.aides-head .section-sub { color: var(--grey-700); }
.aides-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}
.aide-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.aide-card:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: var(--shadow); }
.aide-icon {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.aide-card h3 { margin-bottom: 8px; }
.aide-card p { font-size: .92rem; margin-bottom: 18px; }
.aide-amount {
    display: inline-block;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--green);
    font-weight: 700;
    padding: 6px 14px;
    background: var(--green-light);
    border-radius: 999px;
}
.aides-cta {
    background: linear-gradient(135deg, var(--black) 0%, #1c2028 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 44px 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.aides-cta h3 { color: #fff; font-size: 1.6rem; margin-bottom: 6px; }
.aides-cta p { color: rgba(255,255,255,.75); }

/* ----- Testimonials ----- */
.testimonials { padding: 110px 0; background: rgba(255,255,255,.5); border-top: 1px solid var(--grey-200); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.testimonials .section-head { margin-bottom: 48px; }
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testi {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--grey-200);
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 18px;
}
.stars { color: var(--d); font-size: 1.1rem; letter-spacing: 3px; }
.testi p {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    color: var(--ink);
    line-height: 1.5;
    font-weight: 500;
}
.testi footer { margin-top: auto; border-top: 1px solid var(--grey-200); padding-top: 16px; }
.testi footer strong { display: block; color: var(--black); font-size: .95rem; }
.testi footer span { font-size: .82rem; color: var(--grey-500); }

/* ----- FAQ ----- */
.faq { padding: 110px 0; background: transparent; }
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 72px;
    align-items: start;
}
.faq-left p { margin: 16px 0 28px; max-width: 360px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 22px 26px;
    transition: border-color .2s, background .2s;
}
.faq-item[open] { background: #fff; border-color: var(--green); box-shadow: var(--shadow-sm); }
.faq-item summary {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--black);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 1.5rem;
    color: var(--green);
    transition: transform .25s;
    flex-shrink: 0;
    line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; font-size: .95rem; color: var(--grey-700); }

/* ----- Contact ----- */
.contact {
    padding: 110px 0;
    background: linear-gradient(135deg, var(--black) 0%, #1a1d21 60%, #0e1013 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contact::before {
    content: "";
    position: absolute; inset: 0;
    background:
        radial-gradient(40% 40% at 10% 20%, rgba(10,143,60,.28) 0%, transparent 60%),
        radial-gradient(30% 30% at 90% 80%, rgba(124,213,44,.14) 0%, transparent 60%);
    pointer-events: none;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 72px;
    position: relative;
    z-index: 1;
}
.contact-left h2 { color: #fff; }
.contact-left > p { color: rgba(255,255,255,.7); margin: 12px 0 40px; max-width: 440px; }
.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}
.ci small {
    display: block;
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: rgba(255,255,255,.55);
    font-weight: 600;
    margin-bottom: 6px;
}
.ci a, .ci span {
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.45;
}
.ci a:hover { color: var(--b); }

.contact-form {
    background: #fff;
    color: var(--ink);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--grey-700); }
.contact-form input,
.contact-form select,
.contact-form textarea {
    font-family: inherit;
    font-size: .95rem;
    padding: 13px 14px;
    border: 1.5px solid var(--grey-200);
    border-radius: 10px;
    background: var(--grey-50);
    color: var(--ink);
    transition: border-color .15s, background .15s;
    font-weight: 400;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--green);
    background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 80px; }
.contact-form .check {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    font-size: .82rem;
    font-weight: 400;
    color: var(--grey-700);
}
.contact-form .check input { width: auto; margin-top: 3px; }
.form-success {
    background: var(--green-light);
    color: var(--green-dark);
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 600;
    font-size: .92rem;
}
.form-note { font-size: .78rem; color: var(--grey-500); text-align: center; margin-top: -4px; }

/* ----- Footer ----- */
.footer {
    background: #0a0b0d;
    color: rgba(255,255,255,.75);
    padding: 70px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 50px;
}
.footer-brand p { color: rgba(255,255,255,.6); max-width: 320px; margin-top: 18px; font-size: .92rem; }
.footer h4 { color: #fff; font-family: var(--font-sans); font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 18px; font-weight: 600; }
.footer ul { display: flex; flex-direction: column; gap: 10px; }
.footer ul a, .footer ul li { color: rgba(255,255,255,.65); font-size: .92rem; transition: color .15s; }
.footer ul a:hover { color: var(--b); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,.1);
    flex-wrap: wrap;
    gap: 14px;
}
.footer-bottom p { color: rgba(255,255,255,.5); font-size: .84rem; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { font-size: .84rem; color: rgba(255,255,255,.6); }
.footer-links a:hover { color: #fff; }

/* ----- Floating call button ----- */
.float-call {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 58px; height: 58px;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px -6px rgba(10,143,60,.55);
    z-index: 50;
    transition: transform .2s, box-shadow .2s;
    animation: pulse 2.4s infinite;
}
.float-call:hover { transform: scale(1.08); box-shadow: 0 14px 36px -6px rgba(10,143,60,.7); }
@keyframes pulse {
    0%, 100% { box-shadow: 0 10px 30px -6px rgba(10,143,60,.55), 0 0 0 0 rgba(10,143,60,.4); }
    50% { box-shadow: 0 10px 30px -6px rgba(10,143,60,.55), 0 0 0 14px rgba(10,143,60,0); }
}

/* ============ SERVICE DETAIL PAGE ============ */
.service-hero {
    position: relative;
    padding: 70px 0 50px;
    background: transparent;
    overflow: hidden;
}
.service-hero::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(50% 60% at 85% 10%, rgba(10,143,60,.10) 0%, transparent 60%);
    pointer-events: none;
}
.service-hero-inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}
.breadcrumb {
    display: flex;
    gap: 8px;
    font-size: .85rem;
    color: var(--grey-500);
    margin-bottom: 24px;
    font-weight: 500;
}
.breadcrumb a { color: var(--grey-500); transition: color .15s; }
.breadcrumb a:hover { color: var(--green); }
.breadcrumb span { color: var(--grey-300); }
.breadcrumb strong { color: var(--ink); font-weight: 600; }

.service-hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
.service-hero .hero-lead { margin: 22px 0 32px; max-width: 540px; font-size: 1.1rem; }

.service-hero-stats {
    display: flex; gap: 32px; flex-wrap: wrap;
    padding-top: 24px; border-top: 1px solid var(--grey-200);
}
.service-hero-stats > div { display: flex; flex-direction: column; }
.service-hero-stats strong {
    font-family: var(--font-serif);
    font-size: 1.8rem; font-weight: 700;
    color: var(--green); letter-spacing: -.02em;
}
.service-hero-stats span { font-size: .82rem; color: var(--grey-500); font-weight: 500; }

.service-hero-visual {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--grey-200);
}

/* How it works */
.how {
    padding: 100px 0;
    background: transparent;
}
.how-head { text-align: center; max-width: 720px; margin: 0 auto 60px; }
.how-head .eyebrow { justify-content: center; }
.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    position: relative;
}
.how-step {
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: border-color .2s, transform .2s, box-shadow .2s;
    position: relative;
}
.how-step:hover { transform: translateY(-4px); border-color: var(--green); box-shadow: var(--shadow); background: #fff; }
.how-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
}
.how-num {
    position: absolute;
    top: 24px; right: 26px;
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--grey-200);
    line-height: 1;
}
.how-step h3 { font-size: 1.15rem; }
.how-step p { font-size: .9rem; color: var(--grey-700); }

/* Benefits */
.benefits {
    padding: 100px 0;
    background: rgba(255,255,255,.5);
    border-top: 1px solid var(--grey-200);
    border-bottom: 1px solid var(--grey-200);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}
.benefits-list { display: flex; flex-direction: column; gap: 18px; margin-top: 30px; }
.benefit {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: start;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    transition: border-color .2s, transform .15s;
}
.benefit:hover { border-color: var(--green); transform: translateX(4px); }
.benefit-icon {
    width: 44px; height: 44px;
    background: var(--green-light);
    color: var(--green);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.benefit h4 { margin-bottom: 3px; font-size: 1rem; }
.benefit p { font-size: .88rem; color: var(--grey-700); }

.benefits-visual {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--grey-200);
}
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.ba-col {
    padding: 24px 20px;
    border-radius: var(--radius);
    text-align: center;
}
.ba-col.before { background: #fef2f2; border: 1px solid #fecaca; }
.ba-col.after { background: var(--green-light); border: 1px solid #bbe5c7; }
.ba-lbl {
    font-size: .72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .12em; margin-bottom: 8px;
}
.ba-col.before .ba-lbl { color: #dc2626; }
.ba-col.after .ba-lbl { color: var(--green-dark); }
.ba-val {
    font-family: var(--font-serif);
    font-size: 2rem; font-weight: 700;
    color: var(--ink); line-height: 1;
    margin-bottom: 6px;
}
.ba-desc { font-size: .8rem; color: var(--grey-700); }
.saving-bar {
    padding-top: 16px;
    border-top: 1px dashed var(--grey-200);
    text-align: center;
}
.saving-bar strong {
    display: inline-block;
    background: var(--green); color: #fff;
    padding: 6px 16px; border-radius: 999px;
    font-size: .88rem; font-weight: 700;
}

/* Specs table */
.specs { padding: 100px 0; background: transparent; }
.specs-head { text-align: center; margin-bottom: 48px; max-width: 640px; margin-left: auto; margin-right: auto; }
.specs-head .eyebrow { justify-content: center; }
.specs-table {
    max-width: 780px; margin: 0 auto;
    background: var(--grey-50);
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.specs-row {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    padding: 18px 28px;
    border-bottom: 1px solid var(--grey-200);
    gap: 16px;
    align-items: center;
}
.specs-row:last-child { border-bottom: none; }
.specs-row:hover { background: #fff; }
.specs-row dt { font-weight: 600; color: var(--grey-700); font-size: .95rem; }
.specs-row dd { color: var(--ink); font-weight: 500; font-size: .95rem; }

/* CTA band */
.cta-band {
    padding: 70px 0;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cta-band::before {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(40% 60% at 90% 50%, rgba(255,255,255,.08) 0%, transparent 60%);
    pointer-events: none;
}
.cta-band-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    position: relative;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 6px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 480px; }
.cta-band .btn { background: #fff; color: var(--green-dark); }
.cta-band .btn:hover { background: var(--black); color: #fff; }

/* Related services */
.related { padding: 100px 0; background: rgba(255,255,255,.5); border-top: 1px solid var(--grey-200); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.related-head { margin-bottom: 40px; text-align: center; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.related-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color .2s, transform .2s;
}
.related-card:hover { border-color: var(--green); transform: translateY(-3px); }
.related-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.related-card p { font-size: .85rem; }
.related-card span { color: var(--green); font-weight: 600; font-size: .85rem; margin-top: auto; padding-top: 8px; }

/* Diagram illustrations (inside hero visuals) */
.diagram-title {
    font-size: .74rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .12em;
    color: var(--grey-500); margin-bottom: 16px;
}
.diagram svg { width: 100%; height: auto; }

/* ----- Reveal animation ----- */
.reveal { opacity: 0; transform: translateY(48px); transition: opacity 1.1s cubic-bezier(.2,.7,.2,1), transform 1.3s cubic-bezier(.18,.7,.2,1); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   ANIMATIONS — motion system
   ========================================================= */

/* Scroll progress bar */
.scroll-progress {
    position: fixed; top: 0; left: 0;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--a), var(--b), var(--d), var(--e), var(--g));
    background-size: 200% 100%;
    z-index: 200;
    transition: width .1s linear;
    animation: gradientShift 6s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(10,143,60,.5);
}
@keyframes gradientShift {
    0%,100% { background-position: 0% 50%; }
    50%     { background-position: 100% 50%; }
}

/* Floating decorative blobs for hero */
.hero { isolation: isolate; }
.hero-bg::before,
.hero-bg::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .6;
    pointer-events: none;
    animation: floatBlob 16s ease-in-out infinite;
}
.hero-bg::before {
    width: 380px; height: 380px;
    background: radial-gradient(circle, rgba(10,143,60,.35), transparent 70%);
    top: -80px; right: -60px;
}
.hero-bg::after {
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(244,194,13,.28), transparent 70%);
    bottom: -120px; left: -60px;
    animation-duration: 20s;
    animation-delay: -6s;
}
@keyframes floatBlob {
    0%,100% { transform: translate(0,0) scale(1); }
    33%     { transform: translate(40px,-30px) scale(1.08); }
    66%     { transform: translate(-30px,40px) scale(.95); }
}

/* Hero heading stagger-in */
.hero-text .eyebrow { animation: fadeUp .7s .05s both cubic-bezier(.2,.7,.2,1); }
.hero-text h1       { animation: fadeUp .9s .18s both cubic-bezier(.2,.7,.2,1); }
.hero-text h1 em    { display: inline-block; }
.hero-text .hero-lead     { animation: fadeUp .9s .32s both cubic-bezier(.2,.7,.2,1); }
.hero-text .hero-buttons  { animation: fadeUp .9s .44s both cubic-bezier(.2,.7,.2,1); }
.hero-text .hero-trust    { animation: fadeUp .9s .56s both cubic-bezier(.2,.7,.2,1); }
.hero-card                { animation: floatIn 1s .35s both cubic-bezier(.2,.7,.2,1); }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}
@keyframes floatIn {
    from { opacity: 0; transform: translateY(30px) rotate(-1.2deg); }
    to   { opacity: 1; transform: rotate(.5deg); }
}
@keyframes wordGlow {
    0%   { text-shadow: 0 0 0 rgba(10,143,60,0); color: var(--green); }
    40%  { text-shadow: 0 0 22px rgba(10,143,60,.45); }
    100% { text-shadow: 0 0 0 rgba(10,143,60,0); color: var(--green); }
}

/* Gauge rows progressive fill */
.gauge-row {
    position: relative;
    transform-origin: left center;
    animation: gaugeRowIn .6s both cubic-bezier(.2,.7,.2,1);
}
.gauge-row:nth-child(1) { animation-delay: .55s; }
.gauge-row:nth-child(2) { animation-delay: .65s; }
.gauge-row:nth-child(3) { animation-delay: .75s; }
.gauge-row:nth-child(4) { animation-delay: .85s; }
.gauge-row:nth-child(5) { animation-delay: .95s; }
.gauge-row:nth-child(6) { animation-delay: 1.05s; }
.gauge-row:nth-child(7) { animation-delay: 1.15s; }
@keyframes gaugeRowIn {
    from { opacity: 0; transform: translateX(-20px) scaleX(.92); }
    to   { opacity: 1; transform: none; }
}
.gauge-row i { transform-origin: left; animation: barGrow .9s cubic-bezier(.2,.7,.2,1) both; }
.gauge-row:nth-child(1) i { animation-delay: .8s; }
.gauge-row:nth-child(2) i { animation-delay: .9s; }
.gauge-row:nth-child(3) i { animation-delay: 1.0s; }
.gauge-row:nth-child(4) i { animation-delay: 1.1s; }
.gauge-row:nth-child(5) i { animation-delay: 1.2s; }
.gauge-row:nth-child(6) i { animation-delay: 1.3s; }
.gauge-row:nth-child(7) i { animation-delay: 1.4s; }
@keyframes barGrow {
    from { transform: scaleX(0); }
    to   { transform: scaleX(1); }
}
.gauge-foot .arrow { animation: arrowNudge 1.8s ease-in-out infinite; display: inline-block; }
@keyframes arrowNudge {
    0%,100% { transform: translateX(0); }
    50%     { transform: translateX(6px); }
}

/* Eyebrow dot pulse — the "●" char in markup */
.eyebrow { animation: eyebrowGlow 2.6s ease-in-out infinite; }
@keyframes eyebrowGlow {
    0%,100% { text-shadow: 0 0 0 rgba(10,143,60,0); }
    50%     { text-shadow: 0 0 8px rgba(10,143,60,.45); }
}
.eyebrow-light { animation: eyebrowGlowLight 2.6s ease-in-out infinite; }
@keyframes eyebrowGlowLight {
    0%,100% { text-shadow: 0 0 0 rgba(124,213,44,0); }
    50%     { text-shadow: 0 0 10px rgba(124,213,44,.55); }
}

/* Section heading animated underline */
h2 { position: relative; }
h2::after {
    content: "";
    position: absolute;
    left: 0; bottom: -12px;
    width: 0; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--a), var(--d), var(--g));
    transition: width 1s cubic-bezier(.2,.7,.2,1);
    pointer-events: none;
}
/* Make sure content directly below an h2 doesn't sit underneath the
   animated underline bar (bar lives at -12px to -9px from the h2 box). */
h2 + p,
h2 + .lead,
h2 + div,
h2 + dl,
h2 + ul,
h2 + ol,
h2 + .compare-wrap,
h2 + .timeline,
h2 + table { margin-top: 28px; }
h2 + .section-sub { margin-top: 22px; }
h1 + p, h1 + .lead { margin-top: 18px; }
h3 + p, h4 + p { margin-top: 10px; }
.section-head.center h2::after,
.aides-head h2::after,
.how-head h2::after,
.related-head h2::after,
.specs-head h2::after { left: 50%; transform: translateX(-50%); }
h2.in-view::after { width: 72px; }
.section-head.center h2.in-view::after,
.aides-head h2.in-view::after,
.how-head h2.in-view::after,
.related-head h2.in-view::after,
.specs-head h2.in-view::after { width: 96px; }
/* skip the h2 underline for dark-on-dark CTA bands where it's decorative */
.cta-band h2::after { background: rgba(255,255,255,.9); }
.process h2::after { background: linear-gradient(90deg, var(--b), var(--a)); }
.contact h2::after, .footer h2::after { display: none; }

/* Stats counter scale-in */
.stat strong, .service-hero-stats strong {
    display: inline-block;
    background: linear-gradient(135deg, var(--black) 0%, var(--green) 60%, var(--black) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transition: background-position .6s ease;
}
.stat:hover strong, .service-hero-stats > div:hover strong {
    background-position: -100% 0;
}

/* Service cards — enhanced interaction */
.service-card {
    will-change: transform;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        400px circle at var(--mx, -200px) var(--my, -200px),
        rgba(10,143,60,.12), transparent 45%
    );
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
}
.service-card:hover::before { opacity: 1; }
.service-card.featured::before {
    background: radial-gradient(
        400px circle at var(--mx, -200px) var(--my, -200px),
        rgba(255,255,255,.18), transparent 45%
    );
}

.service-icon {
    transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
    position: relative;
    overflow: hidden;
}
.service-icon::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
    z-index: 0;
}
.service-icon > svg { position: relative; z-index: 1; }
.service-card:hover .service-icon {
    transform: rotate(-6deg) scale(1.08);
}
.service-card:hover .service-icon::before { transform: translateX(120%); }
.service-card:hover .service-icon svg { animation: iconWiggle .7s ease-in-out; }
@keyframes iconWiggle {
    0%,100% { transform: rotate(0); }
    25%     { transform: rotate(-8deg); }
    75%     { transform: rotate(8deg); }
}

.service-features li { transition: transform .2s ease, color .2s; }
.service-card:hover .service-features li { transform: translateX(4px); }

.service-tag {
    transition: background .25s, transform .25s;
}
.service-card:hover .service-tag { transform: scale(1.05); }

/* Partners — continuous hover-pulse shine + subtle float */
.partner {
    animation: partnerFloat 6s ease-in-out infinite;
}
.partner:nth-child(1) { animation-delay: 0s; }
.partner:nth-child(2) { animation-delay: -.8s; }
.partner:nth-child(3) { animation-delay: -1.6s; }
.partner:nth-child(4) { animation-delay: -2.4s; }
.partner:nth-child(5) { animation-delay: -3.2s; }
.partner:nth-child(6) { animation-delay: -4s; }
@keyframes partnerFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-6px); }
}
.partner svg { transition: transform .3s; }
.partner:hover svg { transform: scale(1.1) rotate(-2deg); }

/* Pourquoi stat-cards subtle continuous float */
.stat-card-1 { animation: tileFloat1 7s ease-in-out infinite; }
.stat-card-2 { animation: tileFloat2 7s ease-in-out infinite; }
.stat-card-3 { animation: tileFloat3 7.5s ease-in-out infinite; }
.stat-card-4 { animation: tileFloat4 7.5s ease-in-out infinite; }
@keyframes tileFloat1 {
    0%,100% { transform: translateY(-14px); }
    50%     { transform: translateY(-22px); }
}
@keyframes tileFloat2 {
    0%,100% { transform: translateY(14px); }
    50%     { transform: translateY(6px); }
}
@keyframes tileFloat3 {
    0%,100% { transform: translateY(-14px); }
    50%     { transform: translateY(-6px); }
}
@keyframes tileFloat4 {
    0%,100% { transform: translateY(14px); }
    50%     { transform: translateY(22px); }
}
.stat-card:hover {
    animation-play-state: paused;
    transform: translateY(-4px) scale(1.03) !important;
}

/* Process step number — shimmer */
.step-num {
    background-size: 200% 200%;
    animation: numShimmer 4s ease-in-out infinite;
}
@keyframes numShimmer {
    0%,100% { background-position: 0% 50%; }
    50%     { background-position: 100% 50%; }
}

/* Aide cards — hover glow + icon bounce */
.aide-card::after {
    content: "";
    position: absolute;
    inset: auto -40% -40% auto;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10,143,60,.18), transparent 60%);
    transform: translate(60%, 60%);
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
    pointer-events: none;
}
.aide-card:hover::after { transform: translate(20%, 20%); }
.aide-icon {
    transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.aide-card:hover .aide-icon {
    transform: rotate(-8deg) scale(1.1);
}
.aide-amount {
    transition: transform .2s;
}
.aide-card:hover .aide-amount {
    transform: scale(1.05);
}

/* Steps — numbered shimmer + card glow */
.step {
    position: relative;
    overflow: hidden;
}
.step::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        300px circle at var(--mx, -200px) var(--my, -200px),
        rgba(124,213,44,.18), transparent 50%
    );
    opacity: 0;
    transition: opacity .3s;
    pointer-events: none;
    border-radius: inherit;
}
.step:hover::before { opacity: 1; }

/* Testimonials — quote mark & hover pop */
.testi { position: relative; transition: transform .25s ease, box-shadow .25s; }
.testi::before {
    content: "“";
    position: absolute;
    top: -12px; left: 18px;
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1;
    color: var(--green-light);
    font-weight: 700;
    transition: transform .3s, color .3s;
}
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi:hover::before { transform: scale(1.15) rotate(-6deg); color: var(--b); }
.stars { animation: starShine 3s ease-in-out infinite; display: inline-block; }
@keyframes starShine {
    0%,100% { text-shadow: 0 0 0 rgba(244,194,13,0); }
    50%     { text-shadow: 0 0 12px rgba(244,194,13,.6); }
}

/* FAQ — smooth open (browser does the rest), marker rotate */
.faq-item summary { transition: color .2s; }
.faq-item:hover summary { color: var(--green); }
.faq-item[open] summary { color: var(--green); }
.faq-item p { animation: faqOpen .35s ease-out; }
@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: none; }
}

/* Service-link arrow animation */
.service-link {
    position: relative;
    overflow: hidden;
}
.service-link::after {
    content: " →";
    display: inline-block;
    transition: transform .3s cubic-bezier(.2,.7,.2,1);
}
.service-link:hover::after {
    transform: translateX(6px);
}

/* Buttons — ripple + hover lift */
.btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 25%, rgba(255,255,255,.3) 50%, transparent 75%);
    transform: translateX(-120%);
    transition: transform .7s cubic-bezier(.2,.7,.2,1);
    z-index: -1;
}
.btn:hover::after { transform: translateX(120%); }
.btn-ghost:hover::after { opacity: .35; }

/* Navigation logo — hover wobble */
.brand { transition: transform .25s cubic-bezier(.2,.7,.2,1); display: inline-block; }
.brand:hover { transform: scale(1.03); }

/* Related card arrow */
.related-card span {
    transition: padding-left .25s cubic-bezier(.2,.7,.2,1);
}
.related-card:hover span {
    padding-left: 8px;
}

/* Service hero — visual animation */
.service-hero-visual { animation: floatIn 1s .25s both cubic-bezier(.2,.7,.2,1); }
.service-hero h1   { animation: fadeUp .8s .1s both cubic-bezier(.2,.7,.2,1); }
.service-hero .hero-lead { animation: fadeUp .8s .2s both cubic-bezier(.2,.7,.2,1); }
.service-hero .hero-buttons { animation: fadeUp .8s .3s both cubic-bezier(.2,.7,.2,1); }
.service-hero-stats { animation: fadeUp .8s .4s both cubic-bezier(.2,.7,.2,1); }

/* Floating call button — stronger pulse + ring */
.float-call::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--green);
    opacity: 0;
    animation: callRing 2.4s ease-out infinite;
}
@keyframes callRing {
    0%   { transform: scale(.9); opacity: .8; }
    100% { transform: scale(1.8); opacity: 0; }
}
.float-call svg { animation: callShake 3s ease-in-out infinite; }
@keyframes callShake {
    0%,90%,100% { transform: rotate(0); }
    92%,96%     { transform: rotate(-12deg); }
    94%,98%     { transform: rotate(12deg); }
}

/* CTA band — subtle moving sheen */
.cta-band::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.08) 50%, transparent 70%);
    transform: translateX(-100%);
    animation: sheen 5s cubic-bezier(.2,.7,.2,1) infinite;
    pointer-events: none;
}
@keyframes sheen {
    0%   { transform: translateX(-100%); }
    60%  { transform: translateX(120%); }
    100% { transform: translateX(120%); }
}

/* =========================================================
   DROPDOWN MENU (Services)
   ========================================================= */
.has-dropdown { position: relative; }
/* kill the default underline-on-hover pseudo for the Services link — would collide with dropdown */
.has-dropdown > a::after { display: none; }

.dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    padding-top: 14px; /* acts as invisible hover bridge */
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
    z-index: 110;
}
.dropdown-inner {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown a {
    display: flex;
    flex-direction: column;
    padding: 11px 14px;
    border-radius: 10px;
    transition: background .15s;
    position: static; /* neutralize ::after positioning concerns */
}
.dropdown a:hover { background: var(--green-light); }
.dropdown a strong {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--black);
    font-weight: 600;
    line-height: 1.2;
}
.dropdown a span {
    font-size: .82rem;
    color: var(--grey-500);
    margin-top: 2px;
}
.dropdown a::after { display: none !important; }

/* =========================================================
   1 € SPOTLIGHT SECTION
   ========================================================= */
.euro-spotlight {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(10,143,60,.06), rgba(244,194,13,.08));
    border-top: 1px solid var(--grey-200);
    border-bottom: 1px solid var(--grey-200);
    position: relative;
    overflow: hidden;
}
.euro-spotlight::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(40% 50% at 10% 20%, rgba(10,143,60,.12) 0%, transparent 60%),
        radial-gradient(40% 50% at 90% 80%, rgba(244,194,13,.18) 0%, transparent 60%);
    pointer-events: none;
    animation: euroBgDrift 12s ease-in-out infinite alternate;
}
@keyframes euroBgDrift {
    from { transform: translateX(0); }
    to   { transform: translateX(40px); }
}
.euro-inner {
    position: relative;
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 72px;
    align-items: center;
}
.euro-badge {
    position: relative;
    width: 300px; height: 300px;
    margin: 0 auto;
    color: var(--green);
    animation: euroFloat 6s ease-in-out infinite;
}
@keyframes euroFloat {
    0%,100% { transform: translateY(0) rotate(-3deg); }
    50%     { transform: translateY(-12px) rotate(3deg); }
}
.euro-sign {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 12rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--a) 0%, var(--b) 40%, var(--d) 75%, var(--e) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -.04em;
    animation: euroGradShift 5s ease-in-out infinite alternate;
    text-shadow: 0 4px 20px rgba(10,143,60,.18);
}
.euro-sign em {
    font-size: 6rem;
    font-style: normal;
    margin-left: -.05em;
    align-self: flex-start;
    line-height: 1.2;
}
@keyframes euroGradShift {
    0%   { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}
.euro-rays {
    position: absolute;
    inset: 0;
    color: var(--d);
    opacity: .8;
    animation: raysSpin 18s linear infinite;
}
@keyframes raysSpin {
    from { transform: rotate(0); }
    to   { transform: rotate(360deg); }
}
.euro-text h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.euro-text h2 em { font-size: 1.2em; }
.euro-text p { font-size: 1.08rem; margin-top: 16px; max-width: 620px; }
.euro-note { font-size: .82rem; color: var(--grey-500); margin-top: 14px; font-style: italic; }
.euro-cta { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

.euro-spotlight-alt {
    background: linear-gradient(135deg, rgba(10,143,60,.04), rgba(244,194,13,.05));
}

/* =========================================================
   TAG EURO (service cards)
   ========================================================= */
.service-tag.tag-euro {
    background: linear-gradient(135deg, var(--green) 0%, var(--b) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    animation: euroTagPulse 2.5s ease-in-out infinite;
}
@keyframes euroTagPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(124,213,44,.5); }
    50%     { box-shadow: 0 0 0 8px rgba(124,213,44,0); }
}
.service-card.featured .service-tag.tag-euro {
    background: #fff;
    color: var(--green-dark);
}
.service-features strong {
    color: inherit;
    font-weight: 800;
    font-family: var(--font-serif);
    font-size: 1.05em;
}
.service-card.featured .service-features strong { color: #fff; }

/* =========================================================
   BOOKING (RDV) PAGE
   ========================================================= */
.booking-head {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    padding-top: 20px;
}
.booking-head .eyebrow { justify-content: center; }
.booking-head .hero-lead { margin: 18px auto 26px; }
.booking-benefits {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}
.booking-benefits > div {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .92rem;
    color: var(--grey-700);
    font-weight: 500;
}
.booking-benefits svg { color: var(--green); }

.booking {
    padding: 70px 0 100px;
    background: transparent;
}
.booking .container {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 40px;
    align-items: start;
}
.booking-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--grey-200);
    padding: 48px 40px;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.booking-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(40% 40% at 20% 20%, rgba(10,143,60,.08) 0%, transparent 60%),
        radial-gradient(40% 40% at 80% 80%, rgba(244,194,13,.08) 0%, transparent 60%);
    pointer-events: none;
}
.booking-placeholder {
    position: relative;
    text-align: center;
    max-width: 440px;
}
.cal-spinner { display: inline-block; margin-bottom: 22px; }
.booking-placeholder h3 { font-size: 1.5rem; margin-bottom: 10px; }
.booking-placeholder p { font-size: .95rem; margin-bottom: 26px; }
.booking-fallback {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.booking-side {
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: sticky;
    top: 100px;
}
.booking-step {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius);
    padding: 24px;
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    align-items: start;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
.booking-step:hover {
    border-color: var(--green);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}
.booking-step-num {
    grid-row: span 2;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.2rem;
}
.booking-step h4 { font-size: 1.02rem; margin-bottom: 3px; grid-column: 2; }
.booking-step p { font-size: .88rem; color: var(--grey-700); grid-column: 2; }

/* =========================================================
   SIMULATOR PAGE — multi-step form
   ========================================================= */
.simulator-section { padding: 40px 0 100px; }
.sim-shell {
    max-width: 820px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}
.sim-progress {
    position: relative;
    height: 6px;
    background: var(--grey-100);
}
.sim-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--a), var(--b), var(--d));
    transition: width .45s cubic-bezier(.2,.7,.2,1);
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 12px rgba(124,213,44,.55);
}
.sim-progress-label {
    position: absolute;
    top: 14px; right: 22px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--grey-500);
    letter-spacing: .06em;
}
.sim-form {
    padding: 48px 42px 32px;
    position: relative;
    min-height: 440px;
}
.sim-step, .sim-result {
    display: none;
    animation: simStepIn .45s cubic-bezier(.2,.7,.2,1) both;
    border: none;
    padding: 0;
    margin: 0;
}
.sim-step.active, .sim-result.active { display: block; }
@keyframes simStepIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}
.sim-step legend {
    font-family: var(--font-serif);
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
    line-height: 1.2;
}
.sim-hint {
    color: var(--grey-500);
    font-size: .92rem;
    margin-bottom: 24px;
}

/* Option grids */
.sim-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.sim-options-2 { grid-template-columns: repeat(2, 1fr); max-width: 520px; }
.sim-options-3 { grid-template-columns: repeat(3, 1fr); }
.sim-options-revenue { grid-template-columns: repeat(2, 1fr); }
.sim-options-foyer { grid-template-columns: repeat(6, 1fr); gap: 10px; }
.sim-options-foyer .sim-option { padding: 18px 8px; }
.sim-options-foyer .sim-label { font-size: 1.3rem; font-weight: 700; }
@media (max-width: 720px) {
    .sim-options-foyer { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .sim-options-foyer .sim-option { padding: 14px 4px; min-height: 56px; }
    .sim-options-foyer .sim-label { font-size: 1.05rem; }
}

/* Tranche revenu : structure verticale (libellé + montant) */
.sim-options .sim-option .sim-label strong {
    display: block;
    font-size: .82rem;
    color: var(--grey-700);
    font-weight: 600;
}
.sim-options .sim-option .sim-label em {
    display: block;
    font-style: normal;
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--green-dark);
    margin-top: 2px;
}

/* ===== Page de résultat — refonte (un seul bloc) ===== */
.sim-final-card {
    max-width: 540px;
    margin: 24px auto 0;
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
    padding: 28px;
    text-align: left;
}
.sim-final-fields {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.sim-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.sim-final-fields .sim-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sim-final-fields .sim-field span {
    font-size: .82rem;
    font-weight: 600;
    color: var(--grey-700);
}
.sim-final-fields .sim-field input {
    padding: 13px 14px;
    border: 1.5px solid var(--grey-200);
    border-radius: 10px;
    font: inherit;
    font-size: 1rem;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
    width: 100%;
}
.sim-final-fields .sim-field input:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(10,143,60,0.15);
}
.sim-final-submit {
    width: 100%;
    margin-top: 6px;
    font-size: 1rem;
    padding: 15px 20px;
}
.sim-final-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 18px;
    color: var(--grey-500);
    font-size: .82rem;
    font-weight: 500;
}
.sim-final-divider::before,
.sim-final-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--grey-200);
}
.sim-final-divider span {
    white-space: nowrap;
}
.sim-final-direct {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sim-final-direct .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    font-size: .95rem;
}

@media (max-width: 720px) {
    .sim-final-card {
        padding: 20px 16px;
        border-radius: 14px;
        margin: 18px auto 0;
    }
    .sim-field-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .sim-final-submit {
        font-size: .95rem;
        padding: 14px 16px;
    }
    .sim-final-divider {
        margin: 18px 0 14px;
        font-size: .76rem;
    }
    .sim-final-direct .btn {
        font-size: .9rem;
        padding: 12px 14px;
    }
}

/* Note de redirection PAC SSC → PAC air/eau */
.sim-redirect-note {
    margin-top: 8px;
    padding: 8px 12px;
    background: rgba(244, 194, 13, 0.15);
    border-left: 3px solid var(--d);
    border-radius: 6px;
    font-size: .82rem;
    color: var(--ink);
    line-height: 1.4;
    transition: opacity .8s ease;
}
.sim-redirect-note.fade-out { opacity: 0; }
.sim-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 22px 16px;
    border: 1.5px solid var(--grey-200);
    border-radius: var(--radius);
    background: #fff;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    color: var(--ink);
    transition: border-color .18s, background .18s, transform .15s, box-shadow .18s;
    position: relative;
}
.sim-option input { position: absolute; opacity: 0; pointer-events: none; }
.sim-option:hover {
    border-color: var(--green);
    transform: translateY(-2px);
    box-shadow: 0 8px 18px -10px rgba(10,143,60,.35);
}
.sim-option:has(input:checked) {
    border-color: var(--green);
    background: var(--green-light);
    box-shadow: 0 10px 22px -10px rgba(10,143,60,.45);
}
.sim-option:has(input:checked)::after {
    content: "✓";
    position: absolute;
    top: 10px; right: 12px;
    width: 22px; height: 22px;
    background: var(--green);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    font-weight: 700;
    animation: checkPop .25s cubic-bezier(.2,.7,.2,1);
}
.sim-icon {
    font-size: 1.8rem;
    line-height: 1;
}
.sim-label {
    font-size: .92rem;
    line-height: 1.3;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.sim-label strong { font-weight: 600; color: var(--black); font-size: .95rem; }
.sim-label em {
    font-style: normal;
    font-size: .78rem;
    color: var(--grey-500);
    font-weight: 400;
}

/* Text/number fields */
.sim-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    max-width: 620px;
}
.sim-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-weight: 600;
    font-size: .88rem;
    color: var(--grey-700);
}
.sim-field-wide { grid-column: 1 / -1; }
.sim-field input {
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    padding: 14px 16px;
    border: 1.5px solid var(--grey-200);
    border-radius: 10px;
    background: var(--grey-50);
    transition: border-color .15s, background .15s;
}
.sim-field input:focus {
    outline: none;
    border-color: var(--green);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(10,143,60,.12);
}
.sim-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
    font-size: .86rem;
    color: var(--grey-700);
}
.sim-check input { margin-top: 3px; }

/* Navigation */
.sim-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--grey-100);
}
.sim-nav .btn-ghost:disabled {
    opacity: .35;
    cursor: not-allowed;
    border-color: var(--grey-200);
    color: var(--grey-500);
}
.sim-nav .btn-ghost:disabled:hover {
    background: transparent;
    border-color: var(--grey-200);
    color: var(--grey-500);
}

/* Result screen */
.sim-result { text-align: center; padding-top: 8px; }
.sim-result-badge {
    width: 130px; height: 130px;
    margin: 0 auto 22px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: simBadgePop .55s cubic-bezier(.2,.7,.2,1);
}
.sim-result-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10,143,60,.18), transparent 70%);
    filter: blur(8px);
}
.sim-result-euro {
    position: relative;
    font-family: var(--font-serif);
    font-weight: 800;
    font-size: 4.2rem;
    line-height: 1;
    letter-spacing: -.04em;
    background: linear-gradient(135deg, var(--a), var(--b) 45%, var(--d) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-flex;
    align-items: flex-start;
}
.sim-result-euro em { font-size: 2.4rem; font-style: normal; margin-left: .05em; }
@keyframes simBadgePop {
    0%   { transform: scale(.3); opacity: 0; }
    60%  { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}
.sim-result-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--black);
    margin-bottom: 10px;
}
.sim-result-status {
    font-size: 1.05rem;
    color: var(--grey-700);
    max-width: 540px;
    margin: 0 auto 28px;
}
.sim-result-status strong { color: var(--green-dark); }
.sim-result-breakdown {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    max-width: 540px;
    margin: 0 auto 24px;
    padding: 20px;
    background: var(--grey-50);
    border-radius: var(--radius);
    border: 1px solid var(--grey-200);
}
.sim-result-breakdown li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    padding: 6px 10px;
}
.sim-result-breakdown span {
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--grey-500);
    font-weight: 600;
}
.sim-result-breakdown strong {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--black);
    font-weight: 700;
}
.sim-result-breakdown .sim-reste { color: var(--green-dark); }
.sim-result-note {
    font-size: .8rem;
    color: var(--grey-500);
    max-width: 540px;
    margin: 0 auto 24px;
    font-style: italic;
}
.sim-result-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Picker (choix du simulateur) ===== */
.sim-hidden { display: none !important; }
.sim-picker {
    max-width: 1080px;
    margin: 0 auto 32px;
}
.sim-picker-head {
    text-align: center;
    margin-bottom: 32px;
}
.sim-picker-head .eyebrow {
    display: inline-flex;
    margin-bottom: 12px;
}
.sim-picker-head h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    margin-bottom: 12px;
    line-height: 1.2;
}
.sim-picker-head p {
    color: var(--grey-700);
    max-width: 620px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.6;
}
.sim-picker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
@media (max-width: 980px) {
    .sim-picker-grid { grid-template-columns: repeat(2, 1fr); }
}
.sim-fiche {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 28px 24px;
    background: #fff;
    border: 1.5px solid var(--grey-200);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
    text-align: left;
    cursor: pointer;
    font: inherit;
    color: inherit;
    transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .2s, background .2s;
    overflow: hidden;
}
.sim-fiche::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--a), var(--b), var(--d));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.sim-fiche:hover:not(.is-disabled) {
    transform: translateY(-4px);
    border-color: var(--green);
    box-shadow: 0 14px 32px rgba(10,143,60,.16), 0 4px 10px rgba(0,0,0,.04);
}
.sim-fiche:hover:not(.is-disabled)::before {
    transform: scaleX(1);
}
.sim-fiche-icon {
    font-size: 2rem;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(10,143,60,0.10), rgba(124,213,44,0.10));
    border-radius: 14px;
    margin-bottom: 4px;
}
.sim-fiche-tag {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--green-dark);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 4px 10px;
    border-radius: 100px;
}
.sim-fiche-tag-soon {
    background: var(--grey-300);
    color: var(--grey-700);
}
.sim-fiche h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    line-height: 1.2;
    margin: 4px 0 0;
}
.sim-fiche p {
    color: var(--grey-700);
    font-size: .92rem;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}
.sim-fiche-cta {
    color: var(--green-dark);
    font-weight: 600;
    font-size: .92rem;
    margin-top: 6px;
    transition: transform .2s;
}
.sim-fiche:hover:not(.is-disabled) .sim-fiche-cta {
    transform: translateX(3px);
}
.sim-fiche.is-disabled {
    cursor: not-allowed;
    opacity: .55;
}
.sim-fiche.is-disabled .sim-fiche-cta {
    color: var(--grey-500);
}

/* "Changer de simulateur" link inside the shell — sits as its own row */
.sim-back-link {
    display: block;
    width: 100%;
    text-align: left;
    background: var(--grey-100);
    border: 0;
    border-bottom: 1px solid var(--grey-200);
    color: var(--grey-700);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 18px;
    transition: color .15s, background .15s;
}
.sim-back-link:hover {
    color: var(--green-dark);
    background: var(--green-light);
}

/* Intro banner above progress */
.sim-intro-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    background: linear-gradient(135deg, rgba(10,143,60,0.08), rgba(124,213,44,0.08));
    border: 1px solid rgba(10,143,60,0.18);
    padding: 14px 18px;
    border-radius: 14px;
    margin-bottom: 18px;
}
.sim-intro-banner .sim-intro-tag {
    flex-shrink: 0;
    background: var(--green-dark);
    color: #fff;
    padding: 6px 12px;
    border-radius: 100px;
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .02em;
    white-space: nowrap;
}
.sim-intro-banner p {
    margin: 0;
    font-size: .92rem;
    color: var(--grey-700, #2a2f36);
    line-height: 1.5;
}

/* Result — contact grid (form + RDV side by side) */
.sim-contact-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 28px;
    align-items: stretch;
    text-align: left;
    max-width: 880px;
    margin: 28px auto 0;
}
.sim-contact-form,
.sim-contact-rdv {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
}
.sim-contact-form h4,
.sim-contact-rdv h4 {
    margin: 0 0 14px;
    font-size: 1.05rem;
}
.sim-contact-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.sim-contact-fields .sim-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.sim-contact-fields .sim-field span {
    font-size: .8rem;
    font-weight: 600;
    color: var(--grey-500);
}
.sim-contact-fields .sim-field input {
    padding: 10px 12px;
    border: 1px solid rgba(0,0,0,0.14);
    border-radius: 10px;
    font: inherit;
    transition: border-color .15s, box-shadow .15s;
}
.sim-contact-fields .sim-field input:focus {
    outline: none;
    border-color: var(--green-dark);
    box-shadow: 0 0 0 3px rgba(10,143,60,0.15);
}
.sim-contact-submit {
    grid-column: 1 / -1;
    margin-top: 4px;
}
.sim-contact-or {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--grey-500);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem;
    position: relative;
}
.sim-contact-or span {
    background: #fff;
    padding: 8px 12px;
    border-radius: 100px;
    border: 1px solid rgba(0,0,0,0.08);
}
.sim-contact-rdv {
    text-align: center;
    align-items: center;
    justify-content: center;
}
.sim-contact-rdv p {
    margin: 0 0 16px;
    color: var(--grey-500);
    font-size: .92rem;
}
.sim-contact-rdv .btn {
    width: 100%;
    margin-bottom: 10px;
}
.sim-contact-rdv .btn:last-child { margin-bottom: 0; }

.sim-result.is-neutral .sim-result-badge { display: none; }

@media (max-width: 760px) {
    .sim-contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .sim-contact-or { padding: 4px 0; }
    .sim-contact-fields { grid-template-columns: 1fr; }
}

.sim-step.shake { animation: simShake .4s cubic-bezier(.36,.07,.19,.97); }
@keyframes simShake {
    10%, 90%  { transform: translateX(-2px); }
    20%, 80%  { transform: translateX(3px); }
    30%, 50%, 70% { transform: translateX(-6px); }
    40%, 60%  { transform: translateX(6px); }
}

.simulator-note {
    text-align: center;
    margin-top: 24px;
    color: var(--grey-500);
    font-size: .86rem;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 720px) {
    .sim-form { padding: 32px 20px 20px; min-height: 360px; }
    .sim-options, .sim-options-2, .sim-options-3, .sim-options-revenue { grid-template-columns: 1fr 1fr; gap: 10px; }
    .sim-option { padding: 16px 10px; }
    .sim-icon { font-size: 1.5rem; }
    .sim-fields { grid-template-columns: 1fr; }
    .sim-nav .btn { flex: 1; }
}

/* =========================================================
   EXTRA WOW ANIMATIONS
   ========================================================= */

/* Magnetic buttons */
.btn-primary { transform-origin: center; }

/* 3D tilt on cards via JS-driven CSS vars (composed with lift) */
.service-card,
.aide-card,
.step,
.how-step,
.benefit,
.related-card {
    --lift: 0px;
    transform: perspective(900px)
               rotateX(var(--rx, 0deg))
               rotateY(var(--ry, 0deg))
               translateY(var(--lift))
               translateZ(0);
    transition: transform .18s cubic-bezier(.2,.7,.2,1), box-shadow .25s, border-color .2s;
    will-change: transform;
}
.service-card:hover { --lift: -6px; }
.aide-card:hover    { --lift: -6px; }
.step:hover         { --lift: -6px; }
.how-step:hover     { --lift: -6px; }
.related-card:hover { --lift: -4px; }
.benefit:hover      { --lift: 0px; transform: translateX(4px); }
/* override old !important hover transforms that don't compose */
.service-card:hover, .aide-card:hover, .step:hover, .how-step:hover, .related-card:hover {
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--lift));
}

/* Blob cursor follower — global */
.cursor-glow {
    position: fixed;
    pointer-events: none;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10,143,60,.18), transparent 65%);
    filter: blur(20px);
    transform: translate(-50%,-50%);
    z-index: 1;
    opacity: 0;
    transition: opacity .3s, width .2s, height .2s;
    mix-blend-mode: multiply;
}
.cursor-glow.active { opacity: 1; }
@media (max-width: 720px) {
    .cursor-glow { display: none; }
}

/* Noise overlay (subtle texture) */
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: .035;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.6'/></svg>");
}

/* Gauge card — 3D tilt on hover */
.gauge-card {
    transform-style: preserve-3d;
    will-change: transform;
}
.gauge-card:hover { transform: rotate(0) scale(1.02) translateY(-6px); }

/* Service icon — gradient border on hover */
.service-card:hover .service-icon {
    box-shadow: 0 8px 20px -4px rgba(10,143,60,.25), 0 0 0 2px rgba(10,143,60,.15);
}

/* Floating call button — bigger attention */
.float-call::after {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 1.5px solid var(--b);
    opacity: 0;
    animation: callRing2 2.4s .8s ease-out infinite;
}
@keyframes callRing2 {
    0%   { transform: scale(.85); opacity: .7; }
    100% { transform: scale(2); opacity: 0; }
}

/* Aides CTA — glow */
.aides-cta { position: relative; overflow: hidden; }
.aides-cta::after {
    content: "";
    position: absolute;
    width: 200%; height: 200%;
    top: -50%; left: -50%;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(255,255,255,.08) 30deg, transparent 60deg, transparent 360deg);
    animation: conicSpin 10s linear infinite;
    pointer-events: none;
    z-index: 0;
}
.aides-cta > * { position: relative; z-index: 1; }
@keyframes conicSpin {
    from { transform: rotate(0); }
    to   { transform: rotate(360deg); }
}

/* Hero eyebrow — typing effect on load */
.hero-text .eyebrow {
    overflow: hidden;
    white-space: nowrap;
}

/* =========================================================
   MOBILE DRAWER MENU — beau menu plein-écran qui glisse
   ========================================================= */
@media (max-width: 720px) {
    /* Backdrop assombri quand menu ouvert */
    body.menu-open-body { overflow: hidden; }
    body.menu-open-body::before {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(14, 16, 19, 0.55);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        z-index: 90;
        animation: drawerFadeIn 0.3s ease both;
    }
    @keyframes drawerFadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    @keyframes drawerSlideIn {
        from { transform: translateX(100%); }
        to   { transform: translateX(0); }
    }

    /* Drawer plein écran qui slide depuis la droite */
    header.menu-open .nav-links {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: 0;
        bottom: 0;
        left: auto;
        width: 88%;
        max-width: 380px;
        background: linear-gradient(180deg, #ffffff 0%, #f3faf3 100%);
        box-shadow: -16px 0 60px rgba(0, 0, 0, 0.18);
        flex-direction: column;
        gap: 0;
        padding: 84px 24px 24px;
        z-index: 100;
        overflow-y: auto;
        overscroll-behavior: contain;
        animation: drawerSlideIn 0.36s cubic-bezier(.2, .7, .2, 1) both;
        border-bottom: none !important;
    }

    header.menu-open .nav-links li {
        list-style: none;
        border-bottom: 1px solid rgba(10, 143, 60, 0.12) !important;
        padding: 0;
        opacity: 0;
        animation: drawerItemIn 0.4s cubic-bezier(.2, .7, .2, 1) both;
    }
    @keyframes drawerItemIn {
        from { opacity: 0; transform: translateX(20px); }
        to   { opacity: 1; transform: translateX(0); }
    }
    header.menu-open .nav-links li:nth-child(1) { animation-delay: 0.08s; }
    header.menu-open .nav-links li:nth-child(2) { animation-delay: 0.14s; }
    header.menu-open .nav-links li:nth-child(3) { animation-delay: 0.20s; }
    header.menu-open .nav-links li:nth-child(4) { animation-delay: 0.26s; }
    header.menu-open .nav-links li:nth-child(5) { animation-delay: 0.32s; }

    header.menu-open .nav-links li > a {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        padding: 18px 4px !important;
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--ink);
        position: relative;
    }
    header.menu-open .nav-links li > a::after {
        content: "›";
        font-size: 1.4rem;
        font-weight: 400;
        color: var(--green);
        transition: transform 0.2s ease;
    }
    header.menu-open .nav-links li > a:active::after,
    header.menu-open .nav-links li > a:hover::after {
        transform: translateX(4px);
    }

    /* Sous-menus dropdown étendus dans le drawer */
    header.menu-open .has-dropdown .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0;
        min-width: 0;
        box-shadow: none;
        background: transparent;
    }
    header.menu-open .has-dropdown .dropdown-inner {
        background: rgba(10, 143, 60, 0.05);
        border: none;
        border-left: 2px solid var(--green);
        padding: 6px 0 10px 14px;
        margin: 4px 0 12px;
        box-shadow: none;
        border-radius: 8px;
    }
    header.menu-open .has-dropdown .dropdown a {
        padding: 10px 8px !important;
        font-size: .92rem !important;
        color: var(--grey-700);
    }
    header.menu-open .has-dropdown .dropdown a strong {
        font-size: .92rem;
        color: var(--ink);
        font-weight: 600;
    }
    header.menu-open .has-dropdown .dropdown a span {
        font-size: .76rem;
        color: var(--grey-500);
        display: block;
        margin-top: 1px;
    }

    /* CTA en bas du drawer (phone + RDV) injectés via CSS */
    header.menu-open .nav-links::after {
        content: "";
        flex: 1;
    }

    /* Burger plus joli (3 barres bien centrées) — VISIBLE sur mobile */
    .burger {
        position: relative;
        z-index: 110;
        width: 42px;
        height: 42px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0;
        background: transparent;
        border-radius: 10px;
        transition: background 0.2s;
    }
    .burger span {
        position: absolute;
        left: 11px;
        width: 20px;
        height: 2.5px;
        background: var(--ink);
        border-radius: 2px;
        transition: transform 0.32s cubic-bezier(.2, .7, .2, 1),
                    opacity 0.2s,
                    background 0.2s;
    }
    .burger span:nth-child(1) { top: 14px; }
    .burger span:nth-child(2) { top: 20px; }
    .burger span:nth-child(3) { top: 26px; }

    header.menu-open .burger { background: rgba(10, 143, 60, 0.08); }
    header.menu-open .burger span { background: var(--green-dark); }
    header.menu-open .burger span:nth-child(1) {
        top: 20px;
        transform: rotate(45deg);
    }
    header.menu-open .burger span:nth-child(2) { opacity: 0; }
    header.menu-open .burger span:nth-child(3) {
        top: 20px;
        transform: rotate(-45deg);
    }
}

/* Trust items — micro-animation */
.trust-item {
    transition: transform .25s ease;
}
.trust-item:hover { transform: translateY(-2px); }
.trust-item:hover svg { animation: checkPop .4s ease-out; }
@keyframes checkPop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.3) rotate(-8deg); }
    100% { transform: scale(1); }
}

/* Process section — moving grid lines */
.process::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, transparent 98%, rgba(124,213,44,.06) 100%),
        linear-gradient(0deg, transparent 98%, rgba(124,213,44,.06) 100%);
    background-size: 48px 48px;
    animation: gridShift 20s linear infinite;
    pointer-events: none;
}
@keyframes gridShift {
    from { background-position: 0 0; }
    to   { background-position: 48px 48px; }
}

/* Gradient-animated hero em */
.hero-text h1 em {
    background: linear-gradient(135deg, var(--green) 0%, var(--b) 35%, var(--green) 70%, var(--green-dark) 100%);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: heroEmSweep 5s ease-in-out infinite;
}
@keyframes heroEmSweep {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Responsive adjustments for new sections */
@media (max-width: 1024px) {
    .euro-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
    .euro-badge { width: 240px; height: 240px; }
    .euro-sign { font-size: 10rem; }
    .euro-sign em { font-size: 5rem; }
    .booking .container { grid-template-columns: 1fr; }
    .booking-side { position: static; }
    .booking-head { text-align: center; }
}
@media (max-width: 720px) {
    .euro-spotlight { padding: 70px 0; }
    .euro-badge { width: 200px; height: 200px; }
    .euro-sign { font-size: 8rem; }
    .euro-sign em { font-size: 4rem; }
    .booking-card { padding: 28px 20px; min-height: 360px; }
    .simulator-frame { height: 680px; }
}

/* =========================================================
   TEXT REVEAL SYSTEM — directional scroll-triggered entrances
   ========================================================= */

/* Base: hidden until .in is added by the IntersectionObserver */
.t-reveal {
    opacity: 0;
    transition:
        opacity 1.2s cubic-bezier(.2,.7,.2,1),
        transform 1.5s cubic-bezier(.18,.7,.2,1),
        filter 1.2s cubic-bezier(.2,.7,.2,1);
    will-change: opacity, transform, filter;
}
.t-reveal.t-left   { transform: translateX(-160px); filter: blur(10px); }
.t-reveal.t-right  { transform: translateX(160px);  filter: blur(10px); }
.t-reveal.t-up     { transform: translateY(64px);   filter: blur(8px); }
.t-reveal.t-down   { transform: translateY(-64px);  filter: blur(8px); }
.t-reveal.t-scale  { transform: scale(.78);         filter: blur(10px); }
.t-reveal.t-rotate { transform: translateY(36px) rotate(-3deg); filter: blur(8px); }
.t-reveal.t-flip-l { transform: perspective(900px) translateX(-90px) rotateY(18deg); filter: blur(8px); transform-origin: left center; }
.t-reveal.t-flip-r { transform: perspective(900px) translateX(90px) rotateY(-18deg); filter: blur(8px); transform-origin: right center; }
.t-reveal.t-zoom-in { transform: scale(1.18); filter: blur(10px); }
.t-reveal.in {
    opacity: 1;
    transform: none;
    filter: blur(0);
}

/* Slight stagger modifiers applied by JS via --delay */
.t-reveal { transition-delay: var(--delay, 0s); }

/* Letter-by-letter reveal for hero h1 and section h2 */
.t-letters { display: inline-block; }
.t-letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px) rotate(6deg);
    animation: letterIn .55s cubic-bezier(.2,.7,.2,1) both;
    animation-delay: var(--ld, 0s);
}
.t-letter.space { width: .28em; }
@keyframes letterIn {
    0%   { opacity: 0; transform: translateY(28px) rotate(6deg); }
    60%  { opacity: 1; }
    100% { opacity: 1; transform: none; }
}

.t-em-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(28px) scale(.9);
    animation: emReveal .85s cubic-bezier(.2,.7,.2,1) both;
    animation-delay: var(--ed, 1s);
}
@keyframes emReveal {
    to { opacity: 1; transform: none; }
}

/* Word-by-word reveal (alt approach) — use when letters would overflow */
.t-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--wd, 0s);
}
.t-word.in { opacity: 1; transform: none; }

/* Typewriter eyebrow — animates width from 0 after a short delay */
.t-typewriter {
    display: inline-block;
    overflow: hidden;
    white-space: nowrap;
    max-width: 0;
    transition: max-width 1.2s cubic-bezier(.7,0,.3,1) .1s;
}
.t-typewriter.in { max-width: 100vw; }

/* Gradient sweep over emphasized text */
.t-gradient {
    background: linear-gradient(90deg, var(--black) 0%, var(--green) 50%, var(--black) 100%);
    background-size: 220% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-position: 0% 50%;
    transition: background-position 1.4s cubic-bezier(.2,.7,.2,1);
}
.t-gradient.in { background-position: -100% 50%; }

/* Underline sweep for em inside a heading */
.t-underline {
    position: relative;
    display: inline-block;
}
.t-underline::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 5px;
    background: linear-gradient(90deg, var(--b), var(--d));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .9s cubic-bezier(.2,.7,.2,1) .35s;
    border-radius: 3px;
    opacity: .45;
}
.t-underline.in::after { transform: scaleX(1); }

/* Big-number shimmer on stat entry */
.t-shimmer {
    background: linear-gradient(120deg, var(--black) 0%, var(--black) 40%, var(--green) 50%, var(--black) 60%, var(--black) 100%);
    background-size: 250% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shimmerSweep 2.5s ease-in-out infinite;
}
@keyframes shimmerSweep {
    0%,100% { background-position: 200% 0; }
    50%     { background-position: -50% 0; }
}

/* Reduced motion: disable decorative loops, but keep the site's intentional
   directional reveals so the page still tells its story on scroll. */
@media (prefers-reduced-motion: reduce) {
    .hero-bg::before, .hero-bg::after,
    .partner, .stat-card-1, .stat-card-2, .stat-card-3, .stat-card-4,
    .float-call, .cursor-glow {
        animation: none !important;
    }
    /* Halve durations so reveals are quicker but still visible */
    .t-reveal {
        transition:
            opacity .6s cubic-bezier(.2,.7,.2,1),
            transform .7s cubic-bezier(.18,.7,.2,1),
            filter .6s cubic-bezier(.2,.7,.2,1) !important;
    }
    .reveal {
        transition:
            opacity .6s cubic-bezier(.2,.7,.2,1),
            transform .7s cubic-bezier(.18,.7,.2,1) !important;
    }
}

/* ----- Utils ----- */
.hide-mobile { display: inline; }

/* =========================================================
   SECTION-LEVEL INLINE CTAs (used on homepage Pourquoi/Process)
   - Reuses the site .btn .btn-primary system, only adds positioning.
   ========================================================= */
.pourquoi-cta { margin-top: 32px; align-self: flex-start; }
.process-cta-row {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}

/* =========================================================
   STUDY-PROJECT TIMELINE (etude-projet.html)
   ========================================================= */
.timeline {
    position: relative;
    max-width: 880px;
    margin: 60px auto 0;
    padding: 20px 0;
}
.timeline::before {
    content: "";
    position: absolute;
    left: 28px;
    top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--b) 0%, var(--green) 50%, var(--green-dk) 100%);
    border-radius: 3px;
}
.tl-step {
    position: relative;
    padding: 18px 0 36px 88px;
}
.tl-step:last-child { padding-bottom: 0; }
.tl-num {
    position: absolute;
    left: 0; top: 12px;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--green);
    display: grid; place-items: center;
    color: var(--green-dk);
    font-weight: 800;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px -6px rgba(10,143,60,.3);
    z-index: 1;
}
.tl-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s, box-shadow .35s;
}
.tl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.tl-card h3 {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    margin-bottom: 12px;
    color: var(--black);
}
.tl-card p { color: var(--grey-700); margin-bottom: 14px; line-height: 1.6; }
.tl-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.tl-card ul li {
    padding-left: 26px;
    position: relative;
    color: var(--grey-700);
    font-size: .96rem;
}
.tl-card ul li::before {
    content: "✓";
    position: absolute;
    left: 0; top: 0;
    color: var(--green);
    font-weight: 800;
}
.tl-tag {
    display: inline-block;
    margin-top: 14px;
    padding: 4px 12px;
    background: rgba(10,143,60,.08);
    color: var(--green-dk);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

/* =========================================================
   AID DETAIL CARDS (aides-financieres.html)
   ========================================================= */
.aide-detail {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.aide-detail:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--green); }
.aide-detail-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.aide-detail-head .badge {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dk) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
}
.aide-detail h3 { font-family: var(--font-serif); font-size: 1.4rem; color: var(--black); }
.aide-detail h3 + small { color: var(--grey-500); font-size: .85rem; display: block; margin-top: 2px; }
.aide-detail-body p { color: var(--grey-700); line-height: 1.6; margin-bottom: 16px; }
.aide-detail-body strong.amount {
    display: inline-block;
    background: rgba(244,194,13,.18);
    color: #6b4f00;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: .95rem;
    margin-bottom: 14px;
}
.aide-detail-body ul { list-style: none; padding: 0; display: grid; gap: 8px; }
.aide-detail-body ul li {
    padding-left: 22px;
    position: relative;
    color: var(--grey-700);
    font-size: .92rem;
}
.aide-detail-body ul li::before {
    content: "•";
    position: absolute;
    left: 4px; top: -1px;
    color: var(--green);
    font-size: 1.4rem;
    line-height: 1;
}
.aides-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 48px;
}

/* =========================================================
   COMPARISON TABLE (pourquoi-ecl.html)
   ========================================================= */
.compare-wrap { margin-top: 24px; overflow-x: auto; }
.compare {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-width: 480px;
}
.compare th, .compare td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--grey-100);
    font-size: .9rem;
}
.compare th {
    background: var(--black);
    color: #fff;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 700;
}
.compare th.col-ecl { background: linear-gradient(135deg, var(--green) 0%, var(--green-dk) 100%); }
.compare td.col-ecl { background: rgba(10,143,60,.05); font-weight: 600; }
.compare tr:last-child td { border-bottom: none; }
.compare .yes { color: var(--green-dk); font-weight: 800; }
.compare .no  { color: var(--grey-500); }

/* =========================================================
   ABOUT VALUES + TEAM (a-propos.html)
   ========================================================= */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.value-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s, box-shadow .35s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: grid; place-items: center;
    background: rgba(10,143,60,.1);
    color: var(--green-dk);
    margin-bottom: 18px;
    font-size: 1.6rem;
    font-weight: 800;
}
.value-card h3 { font-family: var(--font-serif); font-size: 1.3rem; color: var(--black); margin-bottom: 10px; }
.value-card p { color: var(--grey-700); line-height: 1.55; }
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.team-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform .35s, box-shadow .35s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-avatar {
    width: 96px; height: 96px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green) 0%, var(--b) 100%);
    color: #fff;
    display: grid; place-items: center;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 800;
}
.team-card h4 { font-size: 1.1rem; color: var(--black); }
.team-card .role { color: var(--green-dk); font-weight: 600; font-size: .9rem; margin: 4px 0 12px; }
.team-card p { font-size: .9rem; color: var(--grey-700); line-height: 1.5; }

/* =========================================================
   GUARANTEES (garanties.html)
   ========================================================= */
.guarantees-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 48px;
}
.guarantee {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-left: 4px solid var(--green);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    transition: transform .35s, box-shadow .35s;
}
.guarantee:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.guarantee h3 { font-family: var(--font-serif); font-size: 1.35rem; color: var(--black); margin-bottom: 10px; }
.guarantee p { color: var(--grey-700); line-height: 1.6; }
.guarantee .duration {
    display: inline-block;
    margin-top: 14px;
    background: rgba(10,143,60,.1);
    color: var(--green-dk);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: .85rem;
    font-weight: 700;
}

/* =========================================================
   FAQ FULL PAGE
   ========================================================= */
.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 36px;
    justify-content: center;
}
.faq-cat {
    padding: 8px 18px;
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--grey-700);
    cursor: pointer;
    transition: all .25s;
}
.faq-cat.active, .faq-cat:hover {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
}
.faq-section {
    margin-bottom: 48px;
}
.faq-section h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--black);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--green);
    display: inline-block;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    margin-top: 48px;
    align-items: start;
}
.contact-info-block { display: grid; gap: 24px; }
.contact-info-item {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform .35s, box-shadow .35s;
}
.contact-info-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.contact-info-item .icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(10,143,60,.1);
    color: var(--green-dk);
    display: grid; place-items: center;
    flex-shrink: 0;
}
.contact-info-item h4 { font-size: 1rem; color: var(--black); margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a {
    font-size: .95rem;
    color: var(--grey-700);
    line-height: 1.5;
    text-decoration: none;
}
.contact-form-block {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}
.contact-form-block h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--black);
    margin-bottom: 8px;
}
.contact-form-block > p { color: var(--grey-700); margin-bottom: 28px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.cf-field label { font-size: .85rem; font-weight: 600; color: var(--black); }
.cf-field input, .cf-field select, .cf-field textarea {
    padding: 12px 14px;
    border: 1px solid var(--grey-200);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .95rem;
    background: #fff;
    transition: border-color .25s, box-shadow .25s;
}
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(10,143,60,.12);
}
.cf-field textarea { resize: vertical; min-height: 120px; }

/* =========================================================
   PAGE HERO (light hero variant for content pages)
   ========================================================= */
.page-hero {
    padding: 120px 0 110px;
    background:
        radial-gradient(1100px 620px at 8% 6%,    rgba(10,143,60,.22)  0%, transparent 55%),
        radial-gradient(900px 500px at 95% 75%,   rgba(244,194,13,.18) 0%, transparent 55%),
        radial-gradient(720px 460px at 50% 105%,  rgba(124,213,44,.16) 0%, transparent 65%),
        radial-gradient(500px 320px at 65% 30%,   rgba(0,140,100,.10)  0%, transparent 70%),
        linear-gradient(180deg, #f7faf9 0%, #eef3f5 100%);
    border-bottom: 1px solid var(--grey-100);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
/* Visible dotted grid texture, faded at top & bottom so it reads as a watermark */
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(10,143,60,.30) 1.3px, transparent 1.6px);
    background-size: 28px 28px;
    background-position: 0 0;
    opacity: .55;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
    mask-image:         linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
    z-index: -2;
}
/* Big animated conic blob — top-right */
.page-hero::after {
    content: "";
    position: absolute;
    top: -140px; right: -160px;
    width: 520px; height: 520px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        rgba(10,143,60,.85),
        rgba(244,194,13,.65),
        rgba(124,213,44,.85),
        rgba(0,140,100,.7),
        rgba(10,143,60,.85));
    opacity: .30;
    filter: blur(80px);
    animation: pageHeroBlob 22s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}
@keyframes pageHeroBlob {
    0%, 100% { transform: translate(0,0) scale(1) rotate(0deg); }
    33%      { transform: translate(-40px, 30px) scale(1.08) rotate(60deg); }
    66%      { transform: translate(20px, -20px) scale(0.94) rotate(-30deg); }
}
/* Second decorative blob, bottom-left, opposite color register */
.page-hero-blob-2 {
    position: absolute;
    left: -180px; bottom: -120px;
    width: 460px; height: 460px;
    border-radius: 50%;
    background: conic-gradient(from 180deg,
        rgba(244,194,13,.7),
        rgba(124,213,44,.6),
        rgba(0,140,100,.7),
        rgba(244,194,13,.7));
    opacity: .26;
    filter: blur(85px);
    animation: pageHeroBlob 26s ease-in-out infinite reverse;
    pointer-events: none;
    z-index: -1;
}
/* Spotlight behind the title — soft white glow that lifts the type */
.page-hero-spotlight {
    position: absolute;
    top: 38%; left: 50%;
    transform: translate(-50%, -50%);
    width: 720px; height: 360px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,.9) 0%, rgba(255,255,255,0) 65%);
    pointer-events: none;
    z-index: -1;
}
/* Diagonal accent line — subtle decorative ruler from edge to centre */
.page-hero-rule {
    position: absolute;
    left: -40px; top: 50px;
    width: 180px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--green), transparent);
    opacity: .55;
    pointer-events: none;
    z-index: -1;
}
.page-hero-rule.right {
    left: auto; right: -40px;
    background: linear-gradient(90deg, transparent, var(--b), transparent);
}
.page-hero-inner {
    position: relative;
    text-align: center;
    max-width: 780px;
    margin: 0 auto;
}
/* Make the eyebrow read as a real badge on top of the hero */
.page-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: 999px;
    box-shadow: 0 6px 20px -10px rgba(10,143,60,.25);
    font-weight: 600;
    color: var(--green-dk);
}
.page-hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -.02em;
    color: var(--black);
    margin: 22px 0 22px;
}
.page-hero h1 em {
    font-style: italic;
    color: var(--green-dk);
    background: linear-gradient(120deg, var(--green) 0%, var(--green-dk) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-hero .lead {
    font-size: 1.15rem;
    color: var(--grey-700);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto 32px;
}
/* Centered breadcrumb + buttons inside the centered page-hero */
.page-hero .breadcrumb { justify-content: center; }
.page-hero .hero-buttons { justify-content: center; margin-bottom: 0; }
/* Wavy SVG bottom divider — softens the seam between hero and next section */
.page-hero-wave {
    position: absolute;
    left: 0; right: 0; bottom: -1px;
    width: 100%;
    height: 80px;
    pointer-events: none;
    display: block;
    z-index: 0;
}
.page-hero-wave path { fill: #fff; }

/* On mobile, drop the side decorative rules and shrink the spotlight */
@media (max-width: 720px) {
    .page-hero-rule { display: none; }
    .page-hero-spotlight { width: 90%; height: 280px; }
    .page-hero { padding: 80px 0 90px; }
    .page-hero-wave { height: 50px; }
}
/* Successive paragraphs in long copy blocks need breathing room */
p + p { margin-top: 14px; }
.benefits-grid p + p { margin-top: 16px; }
.tl-card p + p { margin-top: 12px; }

/* =========================================================
   SUMMARY BAND (key intro band, e.g. for etude-projet)
   ========================================================= */
.summary-band {
    background: var(--black);
    color: #fff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.summary-band::before {
    content: "";
    position: absolute;
    top: -200px; right: -150px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(10,143,60,.25), transparent 70%);
}
.summary-band h2 { color: #fff; font-family: var(--font-serif); font-size: 2.2rem; margin-bottom: 16px; }
.summary-band h2 em { color: var(--b); font-style: italic; }
.summary-band p { color: rgba(255,255,255,.75); max-width: 640px; line-height: 1.6; font-size: 1.05rem; }
.summary-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    position: relative;
}
.summary-stats .ss {
    background: rgba(255,255,255,.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--radius-md);
    padding: 24px;
}
.summary-stats .ss strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--b);
    margin-bottom: 4px;
}
.summary-stats .ss span { color: rgba(255,255,255,.7); font-size: .9rem; }

/* Responsive overrides for new sections */
@media (max-width: 1024px) {
    .aides-detail-grid { grid-template-columns: 1fr; }
    .values-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .guarantees-grid { grid-template-columns: 1fr; }
    .contact-page-grid { grid-template-columns: 1fr; gap: 40px; }
    .summary-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .timeline::before { left: 22px; }
    .tl-step { padding-left: 70px; }
    .tl-num { width: 48px; height: 48px; font-size: 1.05rem; }
    .tl-card { padding: 22px; }
    .values-grid, .team-grid { grid-template-columns: 1fr; }
    .cf-row { grid-template-columns: 1fr; }
    .contact-form-block { padding: 28px; }
    .compare th, .compare td { padding: 12px 14px; font-size: .85rem; }
    .summary-stats { grid-template-columns: 1fr; }
    .page-hero { padding: 80px 0 50px; }
}

/* ============ Responsive ============ */
@media (max-width: 1024px) {
    .hero-content { grid-template-columns: 1fr; gap: 48px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .pourquoi-grid { grid-template-columns: 1fr; gap: 48px; }
    .steps { grid-template-columns: repeat(2, 1fr); }
    .aides-grid { grid-template-columns: repeat(2, 1fr); }
    .testi-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
    .partner:nth-child(3) { border-right: none; }
    .service-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .how-grid { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: 1fr; gap: 40px; }
    .related-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .hide-mobile { display: none; }
    .nav-phone span { display: none; }
    .nav-phone { padding: 8px; }
    .nav-links { display: none; }
    .nav { padding: 14px 20px; }
    /* Drawer styles définis plus haut (block .menu-open .nav-links) — pas de conflit ici */

    .hero { padding: 60px 0 30px; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); padding-top: 36px; margin-top: 48px; }
    .stat strong { font-size: 1.9rem; }

    .services, .pourquoi, .process, .aides, .testimonials, .faq, .contact { padding: 72px 0; }
    .services-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .aides-grid { grid-template-columns: 1fr; }
    .pourquoi-visual { grid-template-columns: 1fr; }
    .stat-card-1, .stat-card-2, .stat-card-3, .stat-card-4 { transform: none; }
    .aides-cta { flex-direction: column; align-items: flex-start; padding: 32px; }
    .contact-form { padding: 28px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; align-items: center; }
    .service-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .how-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; gap: 36px; }
    .related-grid { grid-template-columns: 1fr; }
    .specs-row { grid-template-columns: 1fr; gap: 4px; padding: 14px 20px; }
    .how, .benefits, .specs, .related { padding: 60px 0; }
    .cta-band { padding: 50px 0; }
    .cta-band-inner { flex-direction: column; align-items: flex-start; }
    .partners-grid { grid-template-columns: repeat(2, 1fr); }
    .partner { border-right: none !important; border-bottom: 1px solid var(--grey-200); padding-bottom: 20px; }
    .partner:nth-last-child(-n+2) { border-bottom: none; }

    .brand-logo { height: 32px; }

    .section-head, .aides-head { margin-bottom: 40px; }
    .hero-buttons .btn { flex: 1; min-width: 150px; }
}

/* =========================================================
   MOBILE — comprehensive phone-first refinements
   ========================================================= */

/* Tighter container gutters on phones */
@media (max-width: 720px) {
    .container { padding: 0 18px; }

    /* Headings — slightly tighter on small screens */
    h1 { font-size: clamp(1.95rem, 8vw, 2.6rem); line-height: 1.1; }
    h2 { font-size: clamp(1.55rem, 6.4vw, 2.1rem); line-height: 1.15; }
    h3 { font-size: 1.18rem; }

    .hero { padding: 50px 0 24px; }
    .hero-lead, .service-hero .hero-lead { font-size: 1rem; margin: 18px 0 24px; }
    .hero-content { gap: 32px; }
    .hero-buttons { gap: 10px; margin-bottom: 28px; }
    .hero-buttons .btn { width: 100%; flex: 1 1 100%; }

    .btn-lg { padding: 14px 22px; font-size: .95rem; }
    .btn { padding: 12px 18px; font-size: .9rem; }

    /* Section paddings */
    .services, .pourquoi, .process, .aides, .testimonials, .faq, .contact { padding: 56px 0; }
    .how, .benefits, .specs, .related { padding: 48px 0; }
    .euro-spotlight { padding: 56px 0; }
    .summary-band { padding: 56px 0; }
    .simulator-section { padding: 24px 0 60px; }

    /* Service / page hero (sub-pages) */
    .service-hero { padding: 60px 0 40px; }
    .service-hero h1 { font-size: clamp(1.85rem, 7.5vw, 2.4rem); }
    .service-hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .breadcrumb { font-size: .78rem; flex-wrap: wrap; }

    /* Page hero (content pages) */
    .page-hero h1 { font-size: clamp(1.85rem, 7.5vw, 2.4rem); }
    .page-hero .lead { font-size: 1rem; }

    /* Hero-stats — denser */
    .hero-stats { gap: 18px; padding-top: 24px; margin-top: 32px; }
    .stat strong { font-size: 1.6rem; }
    .stat span { font-size: .8rem; }

    /* Booking pages (RDV / Simulateur header) */
    .booking-head { text-align: left; }
    .booking-head .hero-lead { margin: 14px 0 20px; font-size: .98rem; }
    .booking-benefits { gap: 12px 16px; }
    .booking-benefits > div { font-size: .85rem; }
    .booking-card { padding: 24px 18px; min-height: 320px; }

    /* === Simulator on phone === */
    .sim-shell { border-radius: 16px; }
    .sim-form { padding: 24px 18px 18px; min-height: 320px; }
    .sim-step legend { font-size: 1.2rem; }
    .sim-hint { font-size: .85rem; margin-bottom: 18px; }
    .sim-options { grid-template-columns: 1fr 1fr; gap: 10px; }
    .sim-option { padding: 14px 8px; gap: 6px; font-size: .9rem; }
    .sim-icon { font-size: 1.4rem; }
    .sim-fields .sim-field input { padding: 12px 14px; font-size: 1rem; }
    .sim-progress-label { top: 12px; right: 14px; font-size: .72rem; }

    /* Simulator nav — full-width buttons */
    .sim-nav { display: flex; gap: 10px; margin-top: 18px; }
    .sim-nav .btn { flex: 1; padding: 14px 12px; font-size: .92rem; min-width: 0; }
    .sim-prev { flex: 0 0 auto !important; padding: 14px 16px !important; }

    /* Intro banner */
    .sim-intro-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 14px 16px;
        margin: 0;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-top: 0;
    }
    .sim-intro-banner p { font-size: .88rem; }

    /* Picker — 1 colonne sur mobile */
    .sim-picker-grid { grid-template-columns: 1fr; gap: 14px; }
    .sim-fiche { padding: 22px 20px; }
    .sim-fiche h3 { font-size: 1.15rem; }
    .sim-fiche p { font-size: .88rem; }
    .sim-back-link { font-size: .78rem; padding: 8px 14px; }

    /* Result panel — phone */
    .sim-result-title { font-size: 1.4rem; }
    .sim-result-status { font-size: .95rem; padding: 0 4px; }
    .sim-result-badge { width: 96px; height: 96px; }
    .sim-result-euro { font-size: 3rem; }
    .sim-result-euro em { font-size: 1.6rem; }
    .sim-contact-grid { gap: 14px; margin-top: 20px; }
    .sim-contact-form, .sim-contact-rdv { padding: 18px; border-radius: 14px; }
    .sim-contact-form h4, .sim-contact-rdv h4 { font-size: 1rem; }
    .sim-contact-rdv .btn { padding: 13px 16px; font-size: .92rem; }

    /* Contact page */
    .contact-page-grid { gap: 28px; }
    .contact-form-block { padding: 22px 18px !important; border-radius: 14px; }
    .contact-info-block .contact-info-item { padding: 16px; }

    /* FAQ list */
    .faq-item { padding: 14px 16px; }
    .faq-item summary { font-size: .98rem; }
    .faq-item p { font-size: .9rem; }

    /* Footer */
    .footer { padding: 48px 0 24px; }
    .footer-grid { gap: 28px; }
    .footer-brand p { font-size: .92rem; }

    /* Cards & misc */
    .service-card, .aide-card, .step, .how-step, .related-card { padding: 22px; }
    .gauge-card { padding: 20px; }
    .testi { padding: 22px; }

    /* Float-call: smaller and lifted */
    .float-call { width: 52px; height: 52px; bottom: 16px; right: 16px; }
    .float-call svg { width: 18px; height: 18px; }

    /* Compare table — keep readable, allow horizontal scroll if needed */
    .compare-wrap, .compare { overflow-x: auto; }
    .compare { min-width: 480px; }

    /* Decorative blobs / grids — disable on phones to save GPU & avoid blur halos */
    .process::after { display: none; }
    .aides-cta::after { display: none; }
    .page-hero-spotlight, .page-hero-blob-2 { opacity: .35; }
    .hero-bg { opacity: .65; }
    body::after { display: none; } /* noise overlay off on phone */

    /* Reduce reveal travel on phones to avoid layout shifts on tall pages */
    .t-reveal.t-left   { transform: translateX(-40px); filter: blur(4px); }
    .t-reveal.t-right  { transform: translateX(40px);  filter: blur(4px); }
    .t-reveal.t-up     { transform: translateY(28px);  filter: blur(4px); }
    .t-reveal.t-scale  { transform: scale(.92);        filter: blur(4px); }
}

/* Very small phones (≤ 420px) */
@media (max-width: 420px) {
    .container { padding: 0 14px; }
    .nav { padding: 12px 14px; }
    .brand-logo { height: 28px; }
    .nav-cta .btn-sm { padding: 8px 14px; font-size: .82rem; }
    .nav-phone { padding: 6px; }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }

    .sim-form { padding: 20px 14px 16px; }
    .sim-options { grid-template-columns: 1fr; }
    .sim-option { flex-direction: row; justify-content: flex-start; padding: 14px 16px; }
    .sim-option .sim-icon { margin-right: 6px; }

    .hero-stats { grid-template-columns: 1fr 1fr; }
    .stat strong { font-size: 1.4rem; }

    .partners-grid { grid-template-columns: 1fr 1fr; }

    .float-call { width: 48px; height: 48px; bottom: 14px; right: 14px; }
    .float-call::after { display: none; } /* drop pulsing ring */

    .booking-card { padding: 20px 14px; }
    .sim-result-badge { width: 80px; height: 80px; }
    .sim-result-euro { font-size: 2.4rem; }
    .sim-result-euro em { font-size: 1.3rem; }
}

/* Allow tap targets to be at least 44px tall on touch devices */
@media (hover: none) and (pointer: coarse) {
    .btn, .sim-option, .sim-field input, .faq-item summary {
        min-height: 44px;
    }
    /* Disable tilt/transform interactions on touch (already gated in JS, but reset CSS hover) */
    .service-card:hover, .aide-card:hover, .step:hover, .how-step:hover, .related-card:hover {
        --lift: 0px;
    }
}

/* =========================================================
   MOBILE — final consolidated overrides (highest priority)
   ========================================================= */

/* No horizontal overflow ever */
html, body { overflow-x: hidden; max-width: 100%; }

@media (max-width: 720px) {
    /* Container & rhythm */
    .container { padding: 0 16px; }

    /* Simulator section: tighter padding */
    .simulator-section { padding: 16px 0 60px; }

    /* === Simulator picker cards (mobile) === */
    .sim-picker { margin-bottom: 24px; }
    .sim-picker-head { margin-bottom: 22px; }
    .sim-picker-head .eyebrow { font-size: .72rem; }
    .sim-picker-head h2 { font-size: 1.55rem; line-height: 1.2; margin-bottom: 8px; }
    .sim-picker-head p { font-size: .92rem; }
    .sim-picker-grid { grid-template-columns: 1fr !important; gap: 12px; }
    .sim-fiche {
        padding: 20px 18px;
        border-radius: 14px;
        gap: 8px;
        min-height: 0;
    }
    .sim-fiche-icon {
        width: 44px;
        height: 44px;
        font-size: 1.5rem;
        border-radius: 11px;
    }
    .sim-fiche-tag {
        position: static;
        align-self: flex-start;
        font-size: .68rem;
        padding: 3px 9px;
    }
    .sim-fiche h3 { font-size: 1.12rem; margin-top: 2px; }
    .sim-fiche p { font-size: .88rem; line-height: 1.45; }
    .sim-fiche-cta { font-size: .9rem; }

    /* === Simulator shell (mobile) === */
    .sim-shell {
        border-radius: 14px;
        margin: 0;
    }
    .sim-back-link {
        font-size: .82rem;
        padding: 10px 16px;
        text-align: left;
    }
    .sim-intro-banner {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        padding: 14px 16px !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }
    .sim-intro-banner .sim-intro-tag {
        font-size: .78rem;
        padding: 4px 10px;
    }
    .sim-intro-banner p { font-size: .85rem; line-height: 1.45; }

    /* Progress bar legible */
    .sim-progress { height: 5px; }
    .sim-progress-label { top: 10px; right: 14px; font-size: .7rem; }

    /* Form area */
    .sim-form {
        padding: 22px 16px 16px !important;
        min-height: 0 !important;
    }
    .sim-step legend {
        font-size: 1.18rem;
        margin-bottom: 6px;
        line-height: 1.25;
    }
    .sim-hint {
        font-size: .85rem;
        margin-bottom: 16px;
        line-height: 1.45;
    }

    /* Choices: 2 cols, larger tap targets */
    .sim-options {
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
    }
    .sim-option {
        padding: 14px 8px !important;
        font-size: .9rem !important;
        min-height: 76px;
        border-radius: 12px;
    }
    .sim-option .sim-icon { font-size: 1.5rem; }
    .sim-option .sim-label { font-size: .88rem; line-height: 1.2; }

    /* Number/text fields full width */
    .sim-fields { grid-template-columns: 1fr !important; gap: 12px; }
    .sim-field-wide { grid-column: 1 / -1 !important; }
    .sim-field input {
        padding: 14px 14px !important;
        font-size: 1rem !important;
        border: 1.5px solid var(--grey-200);
        border-radius: 12px;
        width: 100%;
    }
    .sim-field span {
        font-size: .82rem !important;
        font-weight: 600;
    }

    /* Nav buttons: side-by-side, compact */
    .sim-nav {
        display: flex !important;
        gap: 8px !important;
        margin-top: 18px !important;
    }
    .sim-nav .btn {
        padding: 13px 12px !important;
        font-size: .9rem !important;
        min-width: 0 !important;
        flex: 1;
    }
    .sim-prev {
        flex: 0 0 auto !important;
        padding: 13px 14px !important;
        max-width: 110px;
    }
    .sim-prev:disabled { opacity: .4; }

    /* === Result panel (mobile) === */
    .sim-result { padding: 8px 0 0; }
    .sim-result-badge {
        width: 84px !important;
        height: 84px !important;
        margin: 0 auto 12px !important;
    }
    .sim-result-euro { font-size: 2.6rem !important; }
    .sim-result-euro em { font-size: 1.4rem !important; }
    .sim-result-title {
        font-size: 1.35rem !important;
        margin-bottom: 8px !important;
    }
    .sim-result-status {
        font-size: .92rem !important;
        line-height: 1.5;
        max-width: 100%;
        margin: 0 auto 18px !important;
    }
    .sim-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 14px !important;
    }
    .sim-contact-form, .sim-contact-rdv {
        padding: 16px !important;
        border-radius: 12px;
    }
    .sim-contact-form h4, .sim-contact-rdv h4 {
        font-size: .98rem !important;
        margin-bottom: 12px !important;
    }
    .sim-contact-fields {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .sim-contact-fields .sim-field input {
        padding: 12px 14px !important;
        font-size: 1rem !important;
    }
    .sim-contact-rdv p {
        font-size: .88rem;
        margin-bottom: 12px !important;
    }
    .sim-contact-rdv .btn {
        padding: 12px 14px !important;
        font-size: .92rem !important;
        width: 100%;
    }
    .sim-contact-or {
        padding: 8px 0 !important;
    }
    .sim-contact-or span {
        font-size: .72rem;
        padding: 6px 14px;
    }

    /* Booking pages — fix RDV booking card on mobile */
    .booking { padding: 8px 0 50px; }
    .booking .container {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    .booking-card {
        padding: 22px 16px !important;
        min-height: 280px;
        border-radius: 14px;
    }
    .booking-side { position: static; padding: 0; }
    .booking-step {
        padding: 14px 16px;
        gap: 12px;
    }
    .booking-step h4 { font-size: .95rem; }
    .booking-step p { font-size: .82rem; }
    .booking-step-num { width: 32px; height: 32px; font-size: .9rem; }

    /* Hero adjustments */
    .hero { padding: 40px 0 24px; }
    .hero-buttons .btn { flex: 1 1 100%; min-width: 0; }
    .hero-trust { gap: 14px; }
    .gauge-card { max-width: 100%; transform: none; padding: 18px; }

    /* Eyebrow tightening */
    .eyebrow { font-size: .72rem; letter-spacing: .12em; }

    /* Section heads */
    .section-head, .aides-head, .how-head { margin-bottom: 32px; }
    .section-sub { font-size: .96rem; }

    /* Cards uniform */
    .service-card, .aide-card, .step, .how-step, .related-card { padding: 20px !important; }
    .pq-item { padding: 0; }

    /* Footer */
    .footer { padding: 40px 0 20px; }
    .footer-grid { gap: 24px; }
    .footer-brand p { font-size: .88rem; }
    .footer-bottom { padding-top: 24px; gap: 12px; font-size: .8rem; }

    /* Float-call vs back link conflict — back link hidden on phone via shell scroll */
    .float-call { width: 50px; height: 50px; bottom: 14px; right: 14px; }
    .float-call::after { display: none; }
    .float-call svg { width: 20px; height: 20px; }

    /* Page-hero on content pages */
    .page-hero { padding: 60px 0 50px; }
    .page-hero h1 { line-height: 1.1; }
    .page-hero .lead { line-height: 1.55; }
    .page-hero .hero-buttons { flex-wrap: wrap; gap: 10px; }

    /* Service-hero on service pages */
    .service-hero { padding: 50px 0 30px; }
    .service-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 24px;
    }
    .service-hero-stats > div { padding: 12px; }

    /* Partners — 2 cols */
    .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }

    /* Tables: scroll wrapper if any */
    .compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* Disable heavy animations on phones */
    .cursor-glow { display: none !important; }
    body::after { display: none; }
}

/* Very small phones (≤ 380px) */
@media (max-width: 380px) {
    .container { padding: 0 12px; }
    .nav { padding: 10px 12px; }
    .brand-logo { height: 26px; }
    .nav-cta .btn-sm { padding: 7px 10px; font-size: .76rem; }
    .nav-cta .btn-sm { display: none; } /* keep only phone icon to save space */

    h1 { font-size: 1.7rem !important; }
    h2 { font-size: 1.35rem !important; }

    /* Simulator: stack option icons left, content right (1 col) */
    .sim-options {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }
    .sim-option {
        flex-direction: row !important;
        justify-content: flex-start !important;
        padding: 12px 14px !important;
        min-height: 56px;
        text-align: left !important;
        gap: 12px !important;
    }
    .sim-option .sim-icon {
        font-size: 1.4rem;
        margin: 0;
        flex-shrink: 0;
    }
    .sim-option .sim-label { font-size: .92rem; }

    /* Simulator picker fiche: tighter */
    .sim-fiche { padding: 16px 14px; }
    .sim-fiche-icon { width: 40px; height: 40px; font-size: 1.3rem; }
    .sim-fiche h3 { font-size: 1.05rem; }
    .sim-fiche p { font-size: .85rem; }

    /* Result */
    .sim-result-title { font-size: 1.2rem !important; }
    .sim-result-badge { width: 72px !important; height: 72px !important; }
    .sim-result-euro { font-size: 2.2rem !important; }

    .float-call { width: 46px; height: 46px; bottom: 12px; right: 12px; }
}

/* =========================================================
   RÉALISATIONS
   ========================================================= */
.realisations {
    padding: 96px 0;
    position: relative;
}
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.real-card {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
    display: flex;
    flex-direction: column;
}
.real-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(10,143,60,0.14), 0 4px 12px rgba(0,0,0,0.05);
}
/* Schémas SVG illustrant chaque réalisation (pas de photos) */
.real-schema {
    aspect-ratio: 16/10;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
}
.real-schema svg {
    width: 100%;
    height: 100%;
    display: block;
}
.real-schema-1 { background: linear-gradient(135deg, #e8f5ed 0%, #d4ebd8 100%); }
.real-schema-2 { background: linear-gradient(135deg, #fff7e0 0%, #ffe9b3 100%); }
.real-schema-3 { background: linear-gradient(135deg, #f0fae0 0%, #dcefb8 100%); }
.real-schema-4 { background: linear-gradient(135deg, #fffbe0 0%, #fff2a8 100%); }
.real-schema-5 { background: linear-gradient(135deg, #fff0e0 0%, #ffd9b5 100%); }
.real-schema-6 { background: linear-gradient(135deg, #e0f5e8 0%, #c4ead2 100%); }
.real-body {
    padding: 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.real-tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--green-light);
    color: var(--green-dark);
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 4px 10px;
    border-radius: 100px;
}
.real-body h3 {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    line-height: 1.25;
    margin: 0;
}
.real-body p {
    color: var(--grey-700);
    font-size: .92rem;
    line-height: 1.55;
    margin: 0;
}
.realisations-cta {
    text-align: center;
    margin-top: 40px;
}
@media (max-width: 1024px) {
    .realisations-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .realisations { padding: 64px 0; }
    .realisations-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
    .real-body { padding: 18px; }
    .real-body h3 { font-size: 1.08rem; }
    .real-body p { font-size: .88rem; }
    .real-icon { font-size: 2.6rem; }
}

/* =========================================================
   COUVERTURE FRANCE (carte SVG)
   ========================================================= */
.couverture {
    padding: 96px 0;
    background: linear-gradient(135deg, rgba(10,143,60,0.04) 0%, rgba(124,213,44,0.06) 100%);
    position: relative;
    overflow: hidden;
}
.couverture::before {
    content: "";
    position: absolute;
    top: -200px; right: -200px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(124,213,44,0.18), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.couverture-inner {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.couverture-text h2 { line-height: 1.15; margin: 14px 0 18px; }
.couverture-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 28px;
    margin: 32px 0;
    align-items: end;
}
.cov-stat strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.4rem;
    color: var(--green-dark);
    line-height: 1;
    margin-bottom: 4px;
}
.cov-stat span {
    color: var(--grey-700);
    font-size: .88rem;
    line-height: 1.3;
    display: block;
}
.couverture-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Carte France (image Wikimedia + overlay des villes) */
.couverture-map {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.france-map-wrap {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1 / 1;
    filter: drop-shadow(0 8px 24px rgba(10,143,60,0.18));
}
.france-map-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    /* Conversion noir → vert ECL via filter chain */
    filter:
        brightness(0)
        saturate(100%)
        invert(38%) sepia(75%)
        saturate(640%) hue-rotate(91deg)
        brightness(91%) contrast(86%);
}

/* Pastilles villes par-dessus l'image */
.city-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 2;
}
.city-pin-dot {
    display: block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e63946;
    border: 2.5px solid #fff;
    box-shadow: 0 0 0 1px rgba(230,57,70,0.4), 0 2px 6px rgba(0,0,0,0.3);
    position: relative;
}
.city-pin[data-major] .city-pin-dot {
    width: 14px;
    height: 14px;
    border-width: 3px;
}
.city-pin-dot::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid #e63946;
    opacity: 0;
    animation: pinPulse 2.4s ease-out infinite;
}
.city-pin[data-major] .city-pin-dot::after { animation-duration: 2s; }
@keyframes pinPulse {
    0%   { transform: scale(0.6); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}
.city-pin-label {
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-sans);
    font-size: .78rem;
    font-weight: 700;
    color: var(--ink);
    background: rgba(255,255,255,0.92);
    padding: 2px 8px;
    border-radius: 6px;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.city-pin[data-major] .city-pin-label {
    font-size: .85rem;
    background: var(--green-dark);
    color: #fff;
}
.city-pin-label-below {
    bottom: auto;
    top: calc(100% + 6px);
}
.france-shape {
    transition: opacity .6s;
}
.couverture-map:hover .france-shape { opacity: 1; }

.france-cities .city-dot circle:first-child {
    animation: cityPulse 2.4s ease-in-out infinite;
}
.france-cities .city-dot:nth-child(2) circle:first-child { animation-delay: .3s; }
.france-cities .city-dot:nth-child(3) circle:first-child { animation-delay: .6s; }
.france-cities .city-dot:nth-child(4) circle:first-child { animation-delay: .9s; }
.france-cities .city-dot:nth-child(5) circle:first-child { animation-delay: 1.2s; }
.france-cities .city-dot:nth-child(6) circle:first-child { animation-delay: 1.5s; }
.france-cities .city-dot:nth-child(7) circle:first-child { animation-delay: 1.8s; }
.france-cities .city-dot:nth-child(8) circle:first-child { animation-delay: 2.1s; }

@keyframes cityPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%      { transform: scale(1.4); opacity: 0.7; }
}
.city-label {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    fill: var(--ink);
}
.cov-pulse {
    transform-origin: center;
    transform-box: fill-box;
    animation: covPulse 3s ease-out infinite;
}
.cov-pulse-2 { animation-delay: 1.5s; }
@keyframes covPulse {
    0%   { transform: scale(0.4); opacity: 0.7; }
    100% { transform: scale(2.2); opacity: 0; }
}

@media (max-width: 980px) {
    .couverture-inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .couverture-stats { justify-content: center; }
    .couverture-cta { justify-content: center; }
    .france-map { max-width: 360px; }
}
@media (max-width: 720px) {
    .couverture { padding: 64px 0; }
    .couverture-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        margin: 24px 0;
    }
    .cov-stat strong { font-size: 1.6rem; }
    .cov-stat span { font-size: .76rem; }
    .france-map { max-width: 280px; }
    .city-label { font-size: 14px; }
    .couverture-cta .btn { flex: 1 1 100%; }
}

/* =========================================================
   CONTACT — refonte page contact
   ========================================================= */
.contact-quick {
    padding: 40px 0 24px;
}
.contact-quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.contact-quick-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: var(--shadow-sm);
    transition: transform .25s, box-shadow .25s, border-color .25s;
    color: inherit;
    text-decoration: none;
}
.contact-quick-card:hover {
    transform: translateY(-4px);
    border-color: var(--green);
    box-shadow: 0 12px 28px rgba(10,143,60,0.14);
}
.contact-quick-card-primary {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: #fff;
    border-color: var(--green-dark);
}
.contact-quick-card-primary .cqc-icon { background: rgba(255,255,255,0.2); color: #fff; }
.contact-quick-card-primary .cqc-text span { color: rgba(255,255,255,0.85); }
.cqc-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--green-light);
    color: var(--green-dark);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cqc-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cqc-text h3 {
    font-family: var(--font-sans);
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin: 0 0 2px;
    opacity: 0.7;
}
.cqc-text strong {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    line-height: 1.2;
}
.cqc-text span {
    font-size: .82rem;
    color: var(--grey-700);
    line-height: 1.3;
}

.contact-main { padding: 40px 0 96px; }
.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 56px;
    align-items: start;
}
.contact-main-text h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.15;
    margin: 12px 0 14px;
}
.contact-main-text > p {
    color: var(--grey-700);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 22px;
}
.contact-main-list {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
}
.contact-main-list li {
    padding: 8px 0;
    color: var(--ink);
    font-size: .95rem;
    border-bottom: 1px dashed var(--grey-200);
}
.contact-main-list li:last-child { border-bottom: 0; }
.contact-main-meta {
    background: var(--green-light);
    padding: 14px 18px;
    border-radius: 12px;
    border-left: 3px solid var(--green);
}
.contact-main-meta strong {
    display: block;
    font-size: .9rem;
    margin-bottom: 2px;
}
.contact-main-meta span {
    color: var(--grey-700);
    font-size: .85rem;
    line-height: 1.4;
}

.contact-main-form {
    background: #fff;
    border: 1px solid var(--grey-200);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contact-main-form .cf-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.contact-main-form .cf-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-main-form .cf-field label {
    font-size: .82rem;
    font-weight: 600;
    color: var(--grey-700);
}
.contact-main-form .cf-field input,
.contact-main-form .cf-field textarea,
.contact-main-form .cf-field select {
    padding: 12px 14px;
    border: 1.5px solid var(--grey-200);
    border-radius: 10px;
    font: inherit;
    font-size: 1rem;
    transition: border-color .15s, box-shadow .15s;
    background: #fff;
}
.contact-main-form .cf-field input:focus,
.contact-main-form .cf-field textarea:focus,
.contact-main-form .cf-field select:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(10,143,60,0.15);
}
.contact-main-form .cf-field textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}
.contact-submit {
    width: 100%;
    margin-top: 4px;
}
.contact-form-note {
    font-size: .76rem;
    color: var(--grey-500);
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .contact-main-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
    .contact-quick { padding: 24px 0 16px; }
    .contact-quick-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .contact-quick-card { padding: 16px; gap: 12px; }
    .cqc-icon { width: 48px; height: 48px; border-radius: 12px; }
    .cqc-text strong { font-size: 1rem; }
    .cqc-text span { font-size: .76rem; }

    .contact-main { padding: 24px 0 56px; }
    .contact-main-form { padding: 22px 18px; border-radius: 14px; }
    .contact-main-form .cf-row { grid-template-columns: 1fr; gap: 12px; }
    .contact-main-list li { font-size: .9rem; padding: 6px 0; }
}

/* =========================================================
   MOBILE — kill switch animations (fix bugs)
   ========================================================= */
@media (max-width: 720px) {
    /* Désactive TOTALEMENT les animations sur mobile pour éliminer les bugs */
    .t-reveal, .t-reveal.t-left, .t-reveal.t-right, .t-reveal.t-up,
    .t-reveal.t-down, .t-reveal.t-scale, .t-reveal.t-rotate,
    .t-reveal.t-flip-l, .t-reveal.t-flip-r, .t-reveal.t-zoom-in {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        transition: none !important;
        animation: none !important;
    }
    .t-letter, .t-em-reveal, .t-word, .t-typewriter {
        opacity: 1 !important;
        transform: none !important;
        max-width: none !important;
        animation: none !important;
        transition: none !important;
    }
    .t-underline::after {
        transform: scaleX(1) !important;
        transition: none !important;
    }
    .t-gradient {
        background: none !important;
        color: var(--ink) !important;
        -webkit-text-fill-color: var(--ink) !important;
    }

    /* Désactive le tilt 3D et les déplacements de cartes au hover */
    .service-card, .aide-card, .step, .how-step, .related-card,
    .real-card, .stat-card, .gauge-card, .testi {
        transform: none !important;
        transition: box-shadow .2s, border-color .2s !important;
    }
    .service-card:hover, .aide-card:hover, .step:hover,
    .how-step:hover, .related-card:hover, .real-card:hover {
        transform: none !important;
    }

    /* Désactive le scroll-progress bar et le cursor-glow */
    .cursor-glow, .scroll-progress { display: none !important; }

    /* Désactive le parallax hero-bg */
    .hero-bg { transform: none !important; }

    /* Désactive la pulsation float-call ring */
    .float-call::after { display: none !important; }

    /* Désactive les conic spins et grid shifts */
    .aides-cta::after, .process::after { display: none !important; }

    /* Logo gauge needle anim désactivée pour économiser le GPU */
    .logo-needle { animation: none !important; }

    /* Anim pulses villes carte de France conservée car légère */
}

/* Réveals fonctionnent uniquement sur desktop */

/* =========================================================
   MOBILE FINAL — fixes ultra-prioritaires
   ========================================================= */
@media (max-width: 720px) {
    /* Ne JAMAIS dépasser largeur écran */
    html, body { overflow-x: hidden !important; width: 100%; max-width: 100vw; }
    section, header, footer, .container { max-width: 100vw; }

    /* Simulator section padding réduit */
    .simulator-section { padding: 12px 0 48px; }

    /* Sim shell dans la container, padding container 16px */
    .sim-shell {
        margin: 0;
        border-radius: 14px;
        width: 100%;
    }

    /* Form inputs : éviter le zoom iOS sur focus en gardant 16px min */
    input, select, textarea, .sim-field input { font-size: 16px !important; }

    /* Simulator nav : un seul bouton (Précédent) centré ou à gauche */
    .sim-nav {
        display: flex !important;
        justify-content: flex-start;
        margin-top: 16px !important;
        padding: 0 !important;
    }
    .sim-prev {
        flex: 0 0 auto !important;
        padding: 12px 16px !important;
        font-size: .88rem !important;
    }

    /* Picker fiche : padding plus serré, éviter chevauchement */
    .sim-fiche-tag {
        position: static !important;
        align-self: flex-start;
        margin-bottom: 4px;
    }

    /* Bandeau intro plus discret */
    .sim-intro-banner {
        padding: 12px 16px !important;
        gap: 4px !important;
    }
    .sim-intro-banner .sim-intro-tag { font-size: .76rem; padding: 3px 9px; }
    .sim-intro-banner p { font-size: .82rem !important; line-height: 1.4 !important; }

    /* Page de résultat : carte plein largeur */
    .sim-final-card {
        max-width: 100%;
        width: 100%;
        padding: 18px 16px !important;
        margin: 16px auto 0 !important;
        border-radius: 14px;
    }

    /* Réveals de texte : minimiser le déplacement */
    .t-reveal.t-left, .t-reveal.t-right {
        transform: none !important;
        filter: none !important;
        opacity: 0;
    }
    .t-reveal.t-left.in, .t-reveal.t-right.in { opacity: 1; }

    /* Cursor glow OFF */
    .cursor-glow { display: none !important; }

    /* Désactive le tilt 3D des cards qui peut créer des artéfacts */
    .service-card, .aide-card, .step, .how-step, .related-card {
        transform: none !important;
    }
}
