/* =========================================================================
   SERIGNIS — Design « moderne, inspiré Apple & Tesla ».
   Reproduit le mockup « SERIGNIS - Clair » (handoff Claude Design) et l'étend
   aux pages internes (services, villes, contact, FAQ, légales).

   Polices auto-hébergées (assets/fonts/), conformité RGPD (pas de CDN Google).
   Palette : rouge #E63329, vert #1FA463, anthracite #14161A, fond crème #FBFBF9.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Polices auto-hébergées (Archivo titres, Manrope corps) — variables
   ---------------------------------------------------------------------- */
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('../fonts/archivo-var-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Archivo';
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
    src: url('../fonts/archivo-var-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/manrope-var-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/manrope-var-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* -------------------------------------------------------------------------
   2. Variables de design
   ---------------------------------------------------------------------- */
:root {
    --rouge:      #E63329;
    --rouge-d:    #cf2820;
    --rouge-l:    #ff4339;
    --vert:       #1FA463;
    --ink:        #14161A;
    --bg:         #FBFBF9;
    --white:      #ffffff;

    --t-1: #55585E;   /* texte secondaire */
    --t-2: #7A7E84;   /* texte tertiaire */
    --t-3: #9A9EA4;   /* texte discret */
    --t-4: #A0A4AA;   /* labels footer */
    --t-strong: #3A3D43;

    --border:      rgba(20, 22, 26, 0.08);
    --border-soft: rgba(20, 22, 26, 0.07);
    --border-mid:  rgba(20, 22, 26, 0.14);

    --maxw: 1280px;
    --header-h: 84px;

    --ff-title: 'Archivo', system-ui, sans-serif;
    --ff-body:  'Manrope', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --shadow-card: 0 4px 20px -14px rgba(20, 22, 26, 0.18);
    --shadow-red:  0 8px 20px -8px rgba(230, 51, 41, 0.55);
}

/* -------------------------------------------------------------------------
   3. Reset & base
   ---------------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ff-body);
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--ff-title); line-height: 1.15; color: var(--ink); }
a { text-decoration: none; color: inherit; }
img, svg { max-width: 100%; }
::selection { background: var(--rouge); color: #fff; }

/* -------------------------------------------------------------------------
   4. Keyframes
   ---------------------------------------------------------------------- */
@keyframes serFloat  { 0%{transform:translate(-3%,-2%) scale(1)} 50%{transform:translate(3%,3%) scale(1.06)} 100%{transform:translate(-3%,-2%) scale(1)} }
@keyframes serFloat2 { 0%{transform:translate(2%,2%) scale(1.04)} 50%{transform:translate(-3%,-2%) scale(1)} 100%{transform:translate(2%,2%) scale(1.04)} }
@keyframes serPulse  { 0%,100%{opacity:.5;transform:scale(1)} 50%{opacity:1} }
@keyframes serMarquee{ 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* -------------------------------------------------------------------------
   5. Utilitaires
   ---------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }

.eyebrow {
    font-size: 12.5px; font-weight: 700; letter-spacing: .16em;
    color: var(--rouge); margin-bottom: 16px; text-transform: uppercase;
}
.eyebrow--green { color: var(--vert); }

.visually-hidden,
.skip-link {
    position: absolute; width: 1px; height: 1px; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus {
    position: fixed; top: 8px; left: 8px; z-index: 200;
    width: auto; height: auto; clip: auto;
    padding: .6rem 1rem; background: var(--ink); color: #fff; border-radius: 8px;
}

:focus-visible { outline: 2px solid var(--rouge); outline-offset: 2px; border-radius: 4px; }

/* Révélation au scroll — masquée seulement si JS actif (gracieux sans JS) */
[data-reveal] { transition: opacity .7s cubic-bezier(.2,.7,.3,1), transform .7s cubic-bezier(.2,.7,.3,1); }
.has-js [data-reveal]:not(.is-visible) { opacity: 0; transform: translateY(26px); }

/* -------------------------------------------------------------------------
   6. Boutons
   ---------------------------------------------------------------------- */
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--ff-body);
    font-size: 15px; font-weight: 600; line-height: 1.2;
    padding: 16px 28px; border-radius: 100px;
    background: #fff; border: 1px solid var(--border-mid); color: var(--ink);
    cursor: pointer; transition: transform .25s ease, background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn svg { flex: none; }
.btn:hover { border-color: rgba(20,22,26,0.3); transform: translateY(-2px); }
.btn--primary { background: var(--rouge); border-color: var(--rouge); color: #fff; font-weight: 700; box-shadow: 0 14px 32px -12px rgba(230,51,41,.6); }
.btn--primary:hover { background: var(--rouge-d); border-color: var(--rouge-d); transform: translateY(-2px); }
.btn--ghost { background: #fff; border-color: var(--border-mid); color: var(--ink); }
.btn--ghost:hover { border-color: rgba(20,22,26,0.3); transform: translateY(-2px); }
/* Boutons sur fond sombre (CTA) : translucide blanc */
.btn--dark, .btn--phone { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.18); color: #fff; }
.btn--dark:hover, .btn--phone:hover { background: rgba(255,255,255,0.16); border-color: rgba(255,255,255,0.28); transform: translateY(-2px); }
.btn--sm { padding: 11px 18px; font-size: 13.5px; font-weight: 700; }

/* =========================================================================
   7. HEADER (barre fixe, glassmorphism) — mutualisé pour tout le site
   ========================================================================= */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(251, 251, 249, 0.78);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--border-soft);
    transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(20, 22, 26, .25); }

/* Accueil : barre transparente en haut de page, vitrée dès qu'on défile */
body.route-home .site-header {
    background: transparent; border-color: transparent;
    backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none;
}
body.route-home .site-header.is-scrolled {
    background: rgba(251, 251, 249, 0.82); border-color: var(--border-soft);
    backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
    box-shadow: 0 8px 30px -18px rgba(20, 22, 26, .25);
}
.site-header__inner {
    max-width: var(--maxw); margin: 0 auto; padding: 0 30px;
    height: var(--header-h);
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

/* Marque (logo + nom) */
.brand { display: flex; align-items: center; gap: 11px; }
.brand picture { display: contents; }
.brand__logo { height: 56px; width: auto; display: block; }
.brand__mark { width: 29px; height: 29px; flex: none; }
.brand__name {
    font-family: var(--ff-title); font-weight: 800; font-size: 18px;
    letter-spacing: 0.13em; color: var(--ink);
}

/* Navigation desktop */
.site-nav { display: flex; align-items: center; }
.site-nav__list { list-style: none; display: flex; align-items: center; gap: 30px; }
/* Actions du tiroir (devis + téléphone) : mobile uniquement, cf. média 1040px. */
.site-nav__actions { display: none; }
.site-nav__item { position: relative; }
.site-nav__link {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 14px; font-weight: 600; color: var(--t-1); white-space: nowrap;
    transition: color .2s ease;
}
.site-nav__link:hover,
.site-nav__link.is-active { color: var(--ink); }
.site-nav__link.is-active { color: var(--rouge); }
.site-nav__item.has-children > .site-nav__link::after {
    content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor;
    border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-1px);
    opacity: .55;
}

/* Sous-menu desktop */
.site-nav__submenu {
    list-style: none; position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 250px; padding: 8px; z-index: 30;
    background: #fff; border: 1px solid var(--border); border-radius: 16px;
    box-shadow: 0 24px 50px -24px rgba(20,22,26,.32);
    opacity: 0; visibility: hidden; transition: opacity .22s ease, transform .22s ease;
}
/* Pont invisible : comble l'écart de 14px sous le lien pour que la souris
   atteigne le sous-menu sans perdre le survol (sinon le menu se referme). */
.site-nav__submenu::before {
    content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.site-nav__item.has-children:hover .site-nav__submenu,
.site-nav__item.has-children:focus-within .site-nav__submenu {
    opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0);
}
.site-nav__submenu a {
    display: block; padding: 10px 14px; border-radius: 10px;
    font-size: 14px; font-weight: 500; color: var(--t-strong); transition: background .18s ease, color .18s ease;
}
.site-nav__submenu a:hover { background: var(--bg); color: var(--rouge); }

/* Actions à droite */
.header-actions { display: flex; align-items: center; gap: 14px; }
.status-badge {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 12.5px; font-weight: 600; color: var(--t-2); white-space: nowrap;
}
.status-dot {
    width: 7px; height: 7px; border-radius: 50%; background: var(--vert);
    box-shadow: 0 0 0 3px rgba(31,164,99,.16);
    animation: serPulse 2.4s ease-in-out infinite;
}

/* Hamburger (mobile) */
.nav-toggle {
    display: none; align-items: center; justify-content: center;
    width: 42px; height: 38px; flex: none;
    background: #fff; border: 1px solid var(--border-mid); border-radius: 11px; cursor: pointer;
}
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
    content: ""; display: block; width: 19px; height: 2px; background: var(--ink);
    border-radius: 2px; transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle__bar { position: relative; }
.nav-toggle__bar::before { position: absolute; top: -6px; left: 0; }
.nav-toggle__bar::after  { position: absolute; top: 6px; left: 0; }
.site-header.is-open .nav-toggle__bar { background: transparent; }
.site-header.is-open .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle__bar::after  { transform: translateY(-6px) rotate(-45deg); }

/* =========================================================================
   8. MAIN — décalage du header fixe
   ========================================================================= */
.site-main { padding-top: var(--header-h); }           /* pages internes */
body.route-home .site-main { padding-top: 0; }         /* l'accueil gère son hero */

/* =========================================================================
   9. HERO (accueil)
   ========================================================================= */
.hero {
    position: relative; min-height: 100vh;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 140px 30px 90px; overflow: hidden;
}
.hero__decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__orb { position: absolute; border-radius: 50%; }
.hero__orb--red {
    top: -12%; left: 50%; transform: translateX(-50%);
    width: 80vw; height: 70vh; max-width: 1000px;
    background: radial-gradient(circle, rgba(230,51,41,0.10), rgba(230,51,41,0) 62%);
    animation: serFloat 18s ease-in-out infinite;
}
.hero__orb--green {
    bottom: -6%; left: 8%; width: 38vw; height: 38vw; max-width: 480px;
    background: radial-gradient(circle, rgba(31,164,99,0.10), rgba(31,164,99,0) 64%);
    animation: serFloat2 21s ease-in-out infinite;
}
.hero__grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(20,22,26,0.035) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(20,22,26,0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 72%);
            mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 72%);
}
.hero__inner {
    position: relative; z-index: 1; max-width: 1080px; width: 100%;
    display: flex; flex-direction: column; align-items: center;
}
.hero__badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 7px 16px 7px 8px; margin-bottom: 30px;
    border: 1px solid rgba(20,22,26,0.1); border-radius: 100px;
    background: rgba(255,255,255,0.7);
    font-size: 12.5px; font-weight: 600; letter-spacing: .03em; color: var(--t-1);
    box-shadow: 0 2px 10px -4px rgba(20,22,26,.1);
}
.hero__badge-tag {
    background: var(--rouge); color: #fff; font-size: 11px; font-weight: 700;
    padding: 3px 10px; border-radius: 100px; letter-spacing: .06em;
}
.hero__title {
    font-weight: 800; font-size: clamp(42px, 7vw, 96px); line-height: 0.96;
    letter-spacing: -0.03em; max-width: 15ch; margin-bottom: 28px;
}
.hero__title em { color: var(--rouge); font-style: normal; }
.hero__lead {
    font-size: clamp(17px, 1.6vw, 21px); line-height: 1.55; color: var(--t-1);
    max-width: 60ch; margin-bottom: 40px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 60px; }
.hero__quote { font-size: 14px; font-weight: 600; color: var(--t-2); letter-spacing: .01em; }

/* --- Hero « showcase » : petit texte à gauche, image des équipements à droite --- */
.hero-topline { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--rouge); z-index: 200; }
.hero.hero--showcase {
    position: relative; display: flex; flex-direction: row; align-items: center; text-align: left;
    overflow: hidden; padding: calc(var(--header-h) + 24px) 0 40px; min-height: 100vh; min-height: 100svh;
    background: #e9ebee; /* repli = teinte du fond de l'image */
}
.hero-showcase__picture { display: contents; }
.hero-showcase__img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center center; z-index: 0;
    animation: showcaseIn 1.2s ease both;
}
/* voile à gauche : lisibilité du texte par-dessus l'image */
.hero--showcase::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(90deg, rgba(233,235,238,.94) 0%, rgba(233,235,238,.72) 30%, rgba(233,235,238,0) 58%);
}
.hero-showcase__inner {
    position: relative; z-index: 2;
    width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 30px;
}
.hero-text { max-width: 440px; }
.hero-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--rouge); margin-bottom: 14px; }
.hero-h1 { font-weight: 800; font-size: clamp(25px, 2.7vw, 37px); line-height: 1.12; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 16px; }
.hero-sub { font-size: clamp(14px, 0.95vw, 15.5px); line-height: 1.6; color: var(--t-2); max-width: 40ch; }
@keyframes showcaseIn { from { opacity: 0; transform: scale(1.04); } }

/* Indicateur de défilement */
.hero-scroll {
    position: absolute; left: max(30px, calc((100vw - var(--maxw)) / 2 + 30px)); bottom: 30px; z-index: 3;
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--t-2);
}
.hero-scroll__dot {
    width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-mid);
    display: inline-flex; align-items: center; justify-content: center; flex: none;
}
.hero-scroll__dot::after {
    content: ""; width: 7px; height: 7px;
    border-right: 1.7px solid var(--rouge); border-bottom: 1.7px solid var(--rouge);
    transform: rotate(45deg) translate(-1px, -2px); animation: scrollBob 1.8s ease-in-out infinite;
}
@keyframes scrollBob { 0%,100% { transform: rotate(45deg) translateY(-2px); } 50% { transform: rotate(45deg) translateY(3px); } }

@media (max-width: 860px) {
    .hero.hero--showcase {
        flex-direction: column; justify-content: flex-end; align-items: stretch;
        min-height: 100svh; padding: calc(var(--header-h) + 16px) 0 7vh; background: #eef0f2;
    }
    .hero-showcase__img { object-position: center center; animation: none; }
    .hero--showcase::before {
        display: block; inset: 0;
        background: linear-gradient(to top, rgba(238,240,242,.97) 0%, rgba(238,240,242,.86) 16%, rgba(238,240,242,.25) 34%, rgba(238,240,242,0) 47%);
    }
    .hero-showcase__inner { position: relative; z-index: 2; }
    .hero-text { max-width: none; }
    .hero-scroll { display: none; }
}

@media (max-width: 600px) {
    .hero-h1 { font-size: clamp(23px, 6.4vw, 31px); }
    .hero-sub { font-size: 14px; }
}

/* (anciennes variantes hero « scène » et « cluster » retirées — hero « showcase » ci-dessus) */

/* =========================================================================
   10. MARQUEE
   ========================================================================= */
.marquee {
    border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft);
    background: #fff; overflow: hidden; padding: 18px 0;
}
.marquee__track { display: flex; width: max-content; animation: serMarquee 34s linear infinite; }
.marquee__group { display: flex; align-items: center; }
.marquee__item {
    display: inline-flex; align-items: center; gap: 28px; padding: 0 28px;
    font-family: var(--ff-title); font-weight: 600; font-size: 15px; letter-spacing: .02em;
    color: var(--t-3); white-space: nowrap;
}
.marquee__dot { width: 5px; height: 5px; border-radius: 50%; flex: none; background: var(--rouge); }
.marquee__item:nth-child(even) .marquee__dot { background: var(--vert); }

/* =========================================================================
   11. Section générique + titres
   ========================================================================= */
.section { position: relative; padding: 120px 30px; }
.section--tight-top { padding-top: 30px; }
.section-title {
    font-weight: 800; font-size: clamp(28px, 3.5vw, 48px); line-height: 1.05;
    letter-spacing: -0.022em;
}
.section-head {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
    gap: 24px; margin-bottom: 54px;
}
.section-head__intro { font-size: 15.5px; line-height: 1.6; color: var(--t-2); max-width: 38ch; }
.lead { font-size: 16.5px; line-height: 1.65; color: var(--t-1); }
.lead strong { color: var(--ink); font-weight: 600; }
.lead + .lead { margin-top: 18px; }

.grid-2 {
    max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.grid-2--narrow-left { grid-template-columns: 0.9fr 1.1fr; }

/* =========================================================================
   12. POSITIONNEMENT (cartes stats)
   ========================================================================= */
.positioning .section-title { margin-bottom: 24px; }
.stat-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card {
    padding: 26px; border-radius: 20px; background: #fff;
    border: 1px solid var(--border); box-shadow: 0 4px 18px -10px rgba(20,22,26,.12);
}
.stat-card--accent {
    grid-column: 1 / -1; padding: 32px; color: #fff;
    background: linear-gradient(135deg, var(--rouge), var(--rouge-d));
    border: 0; box-shadow: 0 24px 50px -24px rgba(230,51,41,.5);
}
.stat-card__lead { font-family: var(--ff-title); font-weight: 800; font-size: 21px; margin-bottom: 8px; }
.stat-card__sub { font-size: 14.5px; line-height: 1.55; color: rgba(255,255,255,0.85); }
.stat-card__num { font-family: var(--ff-title); font-weight: 800; font-size: 34px; letter-spacing: -0.02em; }
.stat-card__num--green { color: var(--vert); }
.stat-card__label { font-size: 13.5px; color: var(--t-2); margin-top: 4px; line-height: 1.4; }

/* =========================================================================
   13. SERVICES (cartes)
   ========================================================================= */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card {
    position: relative; display: flex; flex-direction: column;
    padding: 32px 28px 30px; border-radius: 20px; background: #fff;
    border: 1px solid var(--border); overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s, border-color .35s;
}
.service-card:hover { transform: translateY(-6px); }
.service-card__top {
    display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px;
}
.service-card__icon {
    width: 54px; height: 54px; border-radius: 14px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: rgba(230,51,41,0.07); border: 1px solid rgba(230,51,41,0.15); color: var(--rouge);
}
.service-card__num {
    font-family: var(--ff-title); font-weight: 800; font-size: 15px;
    color: rgba(20,22,26,0.16); letter-spacing: .04em;
}
.service-card__title {
    font-weight: 700; font-size: 20px; letter-spacing: -0.01em; margin-bottom: 10px;
}
.service-card__text { font-size: 14.5px; line-height: 1.6; color: var(--t-2); }
.service-card__link {
    margin-top: 18px; display: inline-flex; align-items: center; gap: 7px;
    font-size: 14px; font-weight: 700; color: var(--rouge);
}
.service-card__link svg { transition: transform .25s ease; }
.service-card:hover .service-card__link svg { transform: translateX(3px); }

/* Carte verte (alternance) */
.service-card--green:hover { border-color: rgba(31,164,99,0.33); box-shadow: 0 26px 50px -26px rgba(31,164,99,.4); }
.service-card--green .service-card__icon { background: rgba(31,164,99,0.07); border-color: rgba(31,164,99,0.15); color: var(--vert); }
.service-card--green .service-card__link { color: var(--vert); }
.service-card--red:hover { border-color: rgba(230,51,41,0.33); box-shadow: 0 26px 50px -26px rgba(230,51,41,.4); }

/* =========================================================================
   14. ENGAGEMENTS (bande sombre)
   ========================================================================= */
.engagements { background: var(--ink); color: #fff; padding: 104px 30px; }
.engagements__head { text-align: center; margin-bottom: 58px; }
.engagements__head .section-title { color: #fff; }
.engagements__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.engagement {
    padding: 30px 26px; border-radius: 18px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
}
.engagement__icon {
    width: 48px; height: 48px; border-radius: 13px; margin-bottom: 18px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(31,164,99,0.13); border: 1px solid rgba(31,164,99,0.27); color: var(--vert);
}
.engagement--red .engagement__icon { background: rgba(230,51,41,0.13); border-color: rgba(230,51,41,0.27); color: var(--rouge); }
.engagement__title { font-weight: 700; font-size: 17px; margin-bottom: 8px; color: #fff; }
.engagement__text { font-size: 13.8px; line-height: 1.55; color: rgba(255,255,255,0.6); }

/* =========================================================================
   15. POURQUOI (raisons)
   ========================================================================= */
.why .section-title { margin-bottom: 22px; }
.reasons { display: flex; flex-direction: column; gap: 14px; }
.reason {
    display: flex; gap: 18px; padding: 24px 26px; border-radius: 16px;
    background: #fff; border: 1px solid var(--border); box-shadow: 0 4px 20px -16px rgba(20,22,26,.2);
    transition: border-color .3s, transform .3s;
}
.reason:hover { border-color: rgba(31,164,99,.45); transform: translateX(4px); }
.reason__check {
    flex: none; width: 32px; height: 32px; border-radius: 10px; margin-top: 2px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(31,164,99,0.14); color: var(--vert);
}
.reason__title { font-weight: 700; font-size: 17px; margin-bottom: 6px; }
.reason__text { font-size: 14.5px; line-height: 1.55; color: var(--t-2); }

/* =========================================================================
   15b. PARTENARIAT FORMATION (accueil)
   ========================================================================= */
.partner__box {
    position: relative; max-width: var(--maxw); margin: 0 auto; overflow: hidden;
    border-radius: 28px; padding: clamp(34px, 5vw, 64px);
    background: linear-gradient(135deg, #ffffff, var(--bg));
    border: 1px solid var(--border);
    box-shadow: 0 34px 80px -46px rgba(20,22,26,0.32);
}
.partner__glow {
    position: absolute; top: -35%; right: -8%; width: 46%; height: 160%; pointer-events: none;
    background: radial-gradient(circle, rgba(31,164,99,0.13), rgba(31,164,99,0) 68%);
}
.partner__grid {
    position: relative; display: grid; grid-template-columns: 1.25fr 0.75fr;
    gap: 56px; align-items: center;
}
.partner__content .section-title { margin: 14px 0 0; max-width: 20ch; }
.partner__content .lead { margin-top: 18px; }
.partner__list-title {
    margin: 28px 0 14px; font-size: 13px; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; color: var(--t-3);
}
.partner__list { list-style: none; display: grid; gap: 11px; margin-bottom: 32px; }
.partner__list li {
    position: relative; padding-left: 28px;
    font-size: 15.5px; font-weight: 500; color: var(--t-strong);
}
.partner__list li::before {
    content: ""; position: absolute; left: 4px; top: 3px; width: 6px; height: 11px;
    border: solid var(--vert); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg);
}
.partner__card {
    background: #fff; border: 1px solid var(--border); border-radius: 22px;
    padding: 34px 28px; text-align: center; box-shadow: var(--shadow-card);
}
.partner__tag {
    display: inline-block; margin-bottom: 22px;
    font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--t-3);
}
.partner__logo { display: block; width: 210px; max-width: 100%; height: auto; margin: 0 auto 20px; }
.partner__name {
    font-family: var(--ff-title); font-weight: 800; font-size: 18px; color: var(--ink); letter-spacing: .01em;
}
.partner__role { margin-top: 9px; font-size: 14px; line-height: 1.55; color: var(--t-2); }

@media (max-width: 860px) {
    .partner__grid { grid-template-columns: 1fr; gap: 34px; }
    .partner__card { max-width: 360px; margin: 0 auto; }
}

/* =========================================================================
   16. CTA (encart sombre) — accueil + bloc réutilisable cta.php
   ========================================================================= */
.cta { padding: 30px 30px 120px; }
.cta__box {
    position: relative; max-width: var(--maxw); margin: 0 auto; overflow: hidden;
    border-radius: 28px; color: #fff;
    background: linear-gradient(135deg, #1B1D22, #0E0F12);
}
.cta__glow { position: absolute; pointer-events: none; }
.cta__glow--red { top: -30%; right: -5%; width: 50%; height: 160%; background: radial-gradient(circle, rgba(230,51,41,0.3), rgba(230,51,41,0) 65%); }
.cta__glow--green { bottom: -40%; left: 5%; width: 40%; height: 140%; background: radial-gradient(circle, rgba(31,164,99,0.16), rgba(31,164,99,0) 68%); }
.cta__inner { position: relative; padding: clamp(44px, 6vw, 84px); text-align: center; }
.cta__title {
    color: #fff; font-weight: 800; font-size: clamp(28px, 4vw, 54px);
    line-height: 1.04; letter-spacing: -0.024em; max-width: 20ch; margin: 0 auto 22px;
}
.cta__text { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.7); max-width: 54ch; margin: 0 auto 36px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta__box .btn--primary { box-shadow: 0 14px 36px -12px rgba(230,51,41,.7); }
.cta__box .btn--primary:hover { background: var(--rouge-l); }

/* =========================================================================
   17. FOOTER
   ========================================================================= */
.site-footer { background: #fff; border-top: 1px solid var(--border); padding: 72px 30px 36px; }
.site-footer__inner { max-width: var(--maxw); margin: 0 auto; }
.site-footer__grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px;
    padding-bottom: 48px; border-bottom: 1px solid var(--border);
}
.site-footer__brand { display: flex; align-items: center; gap: 11px; margin-bottom: 20px; }
.site-footer__brand .brand__name { font-size: 17px; }
.site-footer__desc { font-size: 14.5px; line-height: 1.6; color: var(--t-2); max-width: 38ch; }
.site-footer__col-title {
    font-family: var(--ff-body); font-size: 12px; font-weight: 700; letter-spacing: .14em;
    color: var(--t-4); margin-bottom: 18px; text-transform: uppercase;
}
.site-footer__contact { display: flex; flex-direction: column; gap: 13px; font-size: 14.5px; color: var(--t-strong); font-style: normal; }
.site-footer__contact a, .site-footer__contact div { display: flex; align-items: flex-start; gap: 11px; transition: color .2s ease; }
.site-footer__contact a:hover { color: var(--rouge); }
.site-footer__contact svg { flex: none; margin-top: 1px; }
.site-footer__links { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; }
.site-footer__links a { color: var(--t-2); transition: color .2s ease; }
.site-footer__links a:hover { color: var(--ink); }
.site-footer__bottom {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
    gap: 14px; padding-top: 28px; font-size: 13px; color: var(--t-4);
}
.site-footer__legal { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer__legal a { transition: color .2s ease; }
.site-footer__legal a:hover { color: var(--ink); }
.site-footer__status { display: flex; align-items: center; gap: 8px; }
.site-footer__credit {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border);
    font-size: 12px; color: var(--t-4); text-align: center;
}
.site-footer__credit a {
    color: var(--t-2); font-size: 13px; font-weight: 700; transition: color .2s ease;
}
.site-footer__credit a:hover { color: var(--rouge); }

/* =========================================================================
   18. Pages internes (services, villes, contact, FAQ, légales, hubs)
   ========================================================================= */
.breadcrumbs { font-size: 13px; color: var(--t-2); padding-top: 26px; }
.breadcrumbs__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.breadcrumbs__item { display: flex; align-items: center; gap: 8px; }
.breadcrumbs__item a { color: var(--t-2); transition: color .2s ease; }
.breadcrumbs__item a:hover { color: var(--rouge); }
.breadcrumbs__item + .breadcrumbs__item::before { content: "›"; color: var(--t-3); }
.breadcrumbs__item [aria-current="page"] { color: var(--ink); font-weight: 600; }

.page-content, .page-intro {
    max-width: 820px; margin: 0 auto; padding: 48px 0 80px;
}
.page-content h1, .page-intro h1 {
    font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05;
    letter-spacing: -0.025em; margin-bottom: 22px;
}
.page-content h2 { font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.018em; margin: 44px 0 14px; }
.page-content h3 { font-weight: 700; font-size: 20px; margin: 28px 0 10px; }
.page-content p, .page-intro p { font-size: 16.5px; line-height: 1.7; color: var(--t-1); margin-bottom: 16px; }
.page-content a:not(.btn), .page-intro a:not(.btn) { color: var(--rouge); font-weight: 600; }
.page-content a:not(.btn):hover { text-decoration: underline; }
.page-content ul, .page-content ol { margin: 0 0 16px 1.2em; color: var(--t-1); }
.page-content li { margin-bottom: 8px; line-height: 1.6; }
.note { color: var(--t-2); font-style: italic; }

/* =========================================================================
   BLOG — liste (cartes éditoriales) + article (lecture)
   ========================================================================= */

/* ---- Liste : en-tête + carte à la une + grille ---- */
.blog-index { padding: 40px 0 84px; }
.blog-index__head { max-width: 760px; margin: 8px auto 48px; text-align: center; }
.blog-index__eyebrow {
    display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
}
.blog-index__eyebrow::before {
    content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none;
    background: var(--rouge); box-shadow: 0 0 0 4px rgba(230,51,41,0.14);
}
.blog-index__title {
    font-weight: 800; font-size: clamp(33px, 4.8vw, 56px); line-height: 1.03;
    letter-spacing: -0.03em; margin-bottom: 20px; text-wrap: balance;
}
.blog-index__lead {
    font-size: 17.5px; line-height: 1.65; color: var(--t-1);
    max-width: 620px; margin: 0 auto;
}

.blog-grid {
    margin-top: 26px; display: grid; gap: 26px;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

/* ---- Carte article ---- */
.post-card {
    background: var(--white); border: 1px solid var(--border); border-radius: 22px;
    overflow: hidden; box-shadow: var(--shadow-card);
    transition: transform .4s cubic-bezier(.2,.7,.3,1), box-shadow .4s, border-color .4s;
}
.post-card:hover {
    transform: translateY(-6px); border-color: rgba(230,51,41,0.22);
    box-shadow: 0 34px 60px -34px rgba(20,22,26,0.42);
}
.post-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.post-card__media {
    position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #f4f5f7, #e9ebef);
}
.post-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.3,1); }
.post-card:hover .post-card__img { transform: scale(1.045); }
.post-card__fallback {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    background: radial-gradient(120% 120% at 78% 18%, rgba(230,51,41,0.16), transparent 60%),
                linear-gradient(135deg, #14161A, #24272e);
}
.post-card__fallback svg { width: 64px; height: 64px; color: rgba(255,255,255,0.86); }
.post-card__tag {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: var(--rouge); background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
    padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border);
}
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.post-card__title {
    font-family: var(--ff-title); font-weight: 800; font-size: 21px; line-height: 1.22;
    letter-spacing: -0.015em; color: var(--ink); margin-bottom: 10px;
}
.post-card:hover .post-card__title { color: var(--rouge-d); }
.post-card__excerpt { font-size: 15px; line-height: 1.6; color: var(--t-1); margin-bottom: 18px; }
.post-card__meta {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: 13px; color: var(--t-2); margin-top: auto;
}
.post-card__dot { color: var(--t-3); }
.post-card__cta {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
    font-weight: 700; font-size: 14.5px; color: var(--rouge);
}
.post-card__cta svg { width: 18px; height: 18px; transition: transform .3s ease; }
.post-card:hover .post-card__cta svg { transform: translateX(4px); }

/* Carte à la une : horizontale sur desktop. */
.post-card--featured { border-radius: 26px; }
.post-card--featured .post-card__link { flex-direction: row; align-items: stretch; }
.post-card--featured .post-card__media { flex: 1 1 56%; aspect-ratio: auto; min-height: 340px; }
.post-card--featured .post-card__body { flex: 1 1 44%; justify-content: center; padding: 40px clamp(28px, 3.4vw, 52px); }
.post-card--featured .post-card__title { font-size: clamp(24px, 2.7vw, 34px); margin-bottom: 14px; }
.post-card--featured .post-card__excerpt { font-size: 16.5px; margin-bottom: 22px; }
.post-card--featured .post-card__tag { top: 18px; left: 18px; }

@media (max-width: 860px) {
    .post-card--featured .post-card__link { flex-direction: column; }
    .post-card--featured .post-card__media { flex: none; aspect-ratio: 16 / 9; min-height: 0; }
    .post-card--featured .post-card__body { padding: 26px 24px 28px; }
}

/* ---- Article : en-tête, couverture, sommaire, corps ---- */
.blog-post__head { padding: 12px 0 0; }
.blog-post__head-inner { max-width: 820px; }
.blog-post__eyebrow { margin-bottom: 16px; }
.blog-post__title {
    font-weight: 800; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.06;
    letter-spacing: -0.026em; margin-bottom: 24px;
    text-wrap: balance;
}
.blog-post__byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.blog-post__avatar {
    width: 46px; height: 46px; border-radius: 50%; flex: none;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--ff-title); font-weight: 800; font-size: 15px; color: #fff;
    background: linear-gradient(135deg, var(--rouge), var(--rouge-d));
    box-shadow: 0 8px 18px -8px rgba(230,51,41,0.6);
}
.blog-post__avatar--photo {
    object-fit: cover; background: #e9ebee;
    border: 2px solid var(--white); box-shadow: 0 8px 18px -10px rgba(20,22,26,0.5);
}
.blog-post__byline-text { display: flex; flex-direction: column; line-height: 1.3; }
.blog-post__author { font-weight: 700; color: var(--ink); font-size: 15px; }
.blog-post__author-role { font-size: 13px; color: var(--t-2); }
.blog-post__byline-meta {
    display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--t-2);
    padding-left: 14px; margin-left: 4px; border-left: 1px solid var(--border);
}

.blog-post__cover {
    margin: 30px 0 8px; border-radius: 24px; overflow: hidden;
    border: 1px solid var(--border); box-shadow: 0 40px 80px -46px rgba(20,22,26,0.5);
}
.blog-post__cover img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }

.blog-post__layout { max-width: 820px; margin: 0 auto; padding: 40px 0 84px; }
.blog-post__layout--toc {
    max-width: 1080px; display: grid; align-items: start;
    grid-template-columns: 236px minmax(0, 1fr); gap: 60px;
}

.blog-toc {
    position: sticky; top: calc(var(--header-h) + 22px);
    padding: 22px 22px 8px; border: 1px solid var(--border); border-radius: 18px;
    background: var(--white); box-shadow: var(--shadow-card);
}
.blog-toc__label {
    font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--t-2); margin-bottom: 14px;
}
.blog-toc__list { list-style: none; counter-reset: toc; margin: 0; padding: 0; }
.blog-toc__list li { counter-increment: toc; margin-bottom: 12px; line-height: 1.4; }
.blog-toc__list a {
    display: flex; gap: 10px; font-size: 14px; color: var(--t-1);
    text-decoration: none; transition: color .2s ease;
}
.blog-toc__list a::before {
    content: counter(toc, decimal-leading-zero); flex: none;
    font-family: var(--ff-title); font-weight: 800; font-size: 12px; color: var(--rouge);
}
.blog-toc__list a:hover { color: var(--rouge); }

/* Typographie du corps (le template n'utilise plus .page-content). */
.blog-post__body { max-width: 720px; }
.blog-post__body h2 {
    font-weight: 800; font-size: clamp(23px, 2.6vw, 31px); letter-spacing: -0.02em;
    line-height: 1.16; margin: 48px 0 16px; scroll-margin-top: calc(var(--header-h) + 20px);
}
.blog-post__body h2::before {
    content: ""; display: block; width: 44px; height: 4px; border-radius: 3px;
    background: var(--rouge); margin-bottom: 18px;
}
.blog-post__body h3 { font-weight: 700; font-size: 20px; line-height: 1.3; margin: 32px 0 10px; }
.blog-post__body p { font-size: 17px; line-height: 1.74; color: var(--t-strong); margin-bottom: 18px; }
.blog-post__body ul { list-style: none; margin: 8px 0 22px; padding: 0; }
.blog-post__body ul li {
    position: relative; padding-left: 30px; margin-bottom: 12px;
    font-size: 16.5px; line-height: 1.62; color: var(--t-strong);
}
.blog-post__body ul li::before {
    content: ""; position: absolute; left: 4px; top: 10px; width: 8px; height: 8px;
    border-radius: 50%; background: var(--vert);
    box-shadow: 0 0 0 4px rgba(31,164,99,0.14);
}
.blog-post__body a:not(.btn) { color: var(--rouge); font-weight: 600; }
.blog-post__body a:not(.btn):hover { text-decoration: underline; }

@media (max-width: 900px) {
    .blog-post__layout--toc { display: block; max-width: 760px; }
    .blog-post__body { max-width: none; }
    .blog-toc { position: static; margin-bottom: 34px; }
    .blog-toc__list { columns: 2; column-gap: 26px; }
    .blog-toc__list li { break-inside: avoid; }
}
@media (max-width: 560px) {
    .blog-toc__list { columns: 1; }
    .blog-post__byline-meta { padding-left: 0; margin-left: 0; border-left: 0; width: 100%; }
}

/* Article de blog : réponse directe en tête (citable) + tableau de périodicités. */
.blog-post__date { color: var(--t-2); font-size: 14px; margin: -6px 0 6px; }
.blog-lead {
    font-size: 18.5px; line-height: 1.62; color: var(--ink); font-weight: 500;
    padding: 22px 26px; margin: 6px 0 34px;
    background: var(--white); border: 1px solid var(--border);
    border-left: 4px solid var(--rouge); border-radius: 14px;
    box-shadow: 0 16px 36px -24px rgba(20, 22, 26, 0.42);
}
.blog-table__scroll { margin: 24px 0 28px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.blog-table {
    width: 100%; min-width: 560px; border-collapse: collapse;
    font-size: 15px; background: var(--white);
    border: 1px solid var(--border); border-radius: 12px; overflow: hidden;
}
.blog-table th, .blog-table td {
    text-align: left; vertical-align: top; padding: 12px 15px; line-height: 1.5;
    border-bottom: 1px solid var(--border);
}
.blog-table thead th {
    background: var(--ink); color: #fff; font-weight: 700;
    font-size: 12.5px; letter-spacing: 0.02em;
}
.blog-table tbody tr:nth-child(even) { background: rgba(20, 22, 26, 0.025); }
.blog-table tbody tr:last-child td { border-bottom: 0; }
.blog-table td:first-child { font-weight: 600; color: var(--ink); }

/* =========================================================================
   À PROPOS
   ========================================================================= */
.about-head { max-width: var(--maxw); margin: 0 auto; padding: 56px 30px 0; }
.about-head__title {
    font-weight: 800; font-size: clamp(46px, 8.2vw, 98px); line-height: 0.96;
    letter-spacing: -0.04em; margin: 16px 0 30px; max-width: 20ch;
}
.about-head__lead { font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: var(--t-1); max-width: 58ch; }

/* Fondateur : témoignage en deux colonnes (identité + citation) */
.about-founder {
    max-width: var(--maxw); margin: 0 auto;
    display: grid; grid-template-columns: 270px 1fr; gap: 60px; align-items: start;
}
.about-id .eyebrow { margin-bottom: 22px; }
.about-avatar {
    display: block; position: relative; width: 112px; height: 112px; border-radius: 50%; overflow: hidden;
    background: linear-gradient(135deg, #1B1D22, #0E0F12);
    border: 4px solid #fff; box-shadow: 0 16px 34px -14px rgba(20,22,26,0.5);
}
.about-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.about-avatar__ph {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
    font-family: var(--ff-title); font-weight: 800; font-size: 40px; letter-spacing: .03em;
    color: rgba(255,255,255,0.92);
}
.about-id__name { display: block; margin-top: 20px; font-family: var(--ff-title); font-weight: 800; font-size: 20px; color: var(--ink); }
.about-id__role { display: block; margin-top: 5px; font-size: 14.5px; font-weight: 600; line-height: 1.45; color: var(--rouge); }

.about-quote { margin: 0; border: 0; padding-left: 28px; border-left: 3px solid var(--vert); }
.about-quote p { font-size: 18.5px; line-height: 1.7; color: var(--t-strong); margin-bottom: 20px; }
.about-quote p:first-of-type { font-size: 22px; line-height: 1.55; color: var(--ink); font-weight: 500; }
.about-quote p:last-child { margin-bottom: 0; }

.about-terrain { position: relative; max-width: var(--maxw); margin: 0 auto; padding: 0 30px; }
.about-terrain__img {
    width: 100%; height: clamp(280px, 42vw, 520px); object-fit: cover;
    object-position: center 40%; border-radius: 24px; display: block;
}
.about-terrain__caption { margin-top: 14px; font-size: 14px; color: var(--t-2); }

.about-scope { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; }
.about-scope li {
    position: relative; padding-left: 30px; font-size: 16px; font-weight: 600; color: var(--t-strong);
}
.about-scope li::before {
    content: ""; position: absolute; left: 4px; top: 4px; width: 7px; height: 12px;
    border: solid var(--vert); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}

.about-company { max-width: 920px; margin: 0 auto; padding: 0 30px 16px; }
.about-company__title { font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.018em; margin-bottom: 12px; }
.about-company p { font-size: 16px; line-height: 1.8; color: var(--t-1); }

/* Bloc narratif (expertise) : titre à gauche, texte à droite */
.grid-2--top { align-items: start; }
.about-rich p { font-size: 17px; line-height: 1.72; color: var(--t-1); margin-bottom: 18px; }
.about-rich p:last-child { margin-bottom: 0; }
.about-rich strong { color: var(--ink); font-weight: 600; }

/* En-tête de section large (piliers) */
.about-wrap { max-width: var(--maxw); margin: 0 auto; }

/* Piliers du savoir-faire */
.about-pillars { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.about-pillar { padding: 30px 26px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.about-pillar__num { font-family: var(--ff-title); font-weight: 800; font-size: 14px; letter-spacing: .12em; color: var(--rouge); }
.about-pillar__title { font-weight: 800; font-size: 19px; margin: 14px 0 9px; color: var(--ink); }
.about-pillar__text { font-size: 14.5px; line-height: 1.6; color: var(--t-2); }

/* Périmètre : variantes de liste + carte équipements */
.about-scope--single { grid-template-columns: 1fr; }
.about-scope--gap { margin-top: 24px; }
.about-equip { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 28px 30px; }
.about-equip__title { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--t-3); margin-bottom: 18px; }

@media (max-width: 860px) {
    .about-scope { grid-template-columns: 1fr; }
    .about-pillars { grid-template-columns: 1fr; }
    .about-founder { grid-template-columns: 1fr; gap: 30px; }
}

/* Grilles de cartes génériques (hubs services/zones) */
.services-grid, .home-zone { max-width: var(--maxw); margin: 0 auto; padding: 30px 0 60px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; margin-top: 28px; }
.card {
    display: flex; flex-direction: column; padding: 28px;
    border-radius: 20px; background: #fff; border: 1px solid var(--border);
    box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(230,51,41,0.28); box-shadow: 0 24px 46px -26px rgba(230,51,41,.35); }
.card__title { font-weight: 700; font-size: 19px; margin-bottom: 10px; }
.card__title a { color: var(--ink); }
.card__text { font-size: 14.5px; line-height: 1.6; color: var(--t-2); }
.card__link { margin-top: auto; padding-top: 16px; font-weight: 700; font-size: 14px; color: var(--rouge); }

/* Sections de service / ville */
.service__section, .ville__services, .ville__proof, .service__faq { margin-top: 32px; }
.faq-list dt { font-family: var(--ff-title); font-weight: 700; font-size: 18px; margin-top: 22px; color: var(--ink); }
.faq-list dd { margin: 8px 0 0; color: var(--t-1); line-height: 1.7; }

/* Bloc CTA réutilisable (cta.php) sur pages internes */
.cta-block { margin: 56px auto 80px; max-width: var(--maxw); padding: 0 30px; }
.cta-block__inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px;
    padding: clamp(32px, 4vw, 52px); border-radius: 24px; color: #fff;
    background: linear-gradient(135deg, #1B1D22, #0E0F12);
}
.cta-block__title { color: #fff; font-weight: 800; font-size: clamp(22px, 2.6vw, 32px); margin: 0 0 6px; }
.cta-block__text { color: rgba(255,255,255,0.7); font-size: 15.5px; margin: 0; }
.cta-block__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Contact */
.contact__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
.form { display: flex; flex-direction: column; gap: 4px; }
.form__row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form input, .form textarea, .form select {
    padding: 13px 15px; border: 1px solid var(--border-mid); border-radius: 12px;
    font: inherit; background: #fff; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease;
}
.form input:focus, .form textarea:focus, .form select:focus {
    outline: none; border-color: var(--rouge); box-shadow: 0 0 0 3px rgba(230,51,41,0.12);
}
.form__note { color: var(--t-2); font-size: 13.5px; }

/* =========================================================================
   19. Responsive
   ========================================================================= */
@media (max-width: 1180px) {
    .status-badge { display: none; }
}

@media (max-width: 1040px) {
    /* Bascule en navigation mobile */
    .nav-toggle { display: inline-flex; }
    /* Header épuré : le CTA « devis » quitte la barre pour rejoindre le tiroir. */
    .header-actions { gap: 0; }
    .header-actions .btn--primary { display: none; }
    .site-nav {
        /* Hauteur EXPLICITE (pas bottom:0) : le header porte un backdrop-filter,
           qui fait de lui le bloc conteneur des enfants position:fixed. Un
           bottom:0 serait alors calé sur la barre (85px) et le tiroir
           s'effondrerait. Une hauteur en unités d'écran est immunisée. */
        position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 90;
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
        display: flex; flex-direction: column; padding: 20px 26px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto;
        background: #fbfbf9; /* opaque total : aucun contenu de page ne transparaît */
        opacity: 0; visibility: hidden; transform: translateY(-8px);
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
    }
    .site-header.is-open .site-nav { opacity: 1; visibility: visible; transform: translateY(0); }
    .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
    .site-nav__item { border-bottom: 1px solid var(--border-soft); }
    .site-nav__item:last-child { border-bottom: 0; }
    .site-nav__link { font-size: 16px; font-weight: 600; padding: 13px 4px; }
    .site-nav__item.has-children > .site-nav__link::after { margin-left: auto; }
    .site-nav__submenu {
        position: static; transform: none; opacity: 1; visibility: visible;
        min-width: 0; box-shadow: none; border: 0; padding: 2px 0 8px 14px;
        background: transparent;
    }
    .site-nav__submenu a { padding: 7px 10px; font-size: 14.5px; color: var(--t-2); }

    /* Actions du tiroir : CTA pleine largeur + appel direct, poussés en bas. */
    .site-nav__actions {
        display: flex; flex-direction: column; gap: 12px;
        margin-top: auto; padding-top: 22px;
    }
    .site-nav__cta {
        width: 100%; justify-content: center; padding: 15px 22px; font-size: 15px;
    }
    .site-nav__tel {
        display: inline-flex; align-items: center; justify-content: center; gap: 9px;
        padding: 13px 22px; border-radius: 100px;
        background: #fff; border: 1px solid var(--border-mid);
        font-weight: 700; font-size: 15px; color: var(--ink);
        transition: border-color .2s ease, transform .2s ease;
    }
    .site-nav__tel svg { color: var(--rouge); }
    .site-nav__tel:hover { border-color: rgba(20,22,26,0.3); transform: translateY(-1px); }
}

/* =========================================================================
   Bouton d'appel flottant (FAB) — mobile uniquement, appel direct
   ========================================================================= */
.call-fab { display: none; }
@media (max-width: 1040px) {
    .call-fab {
        position: fixed; z-index: 95;
        right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
        width: 56px; height: 56px; border-radius: 50%;
        display: inline-flex; align-items: center; justify-content: center;
        background: var(--rouge); color: #fff;
        box-shadow: 0 12px 26px -8px rgba(230,51,41,0.6), 0 4px 10px -5px rgba(20,22,26,0.35);
        transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    }
    .call-fab:hover, .call-fab:focus-visible { background: var(--rouge-d); transform: translateY(-2px); }
    .call-fab:active { transform: scale(0.95); }
    /* Masqué quand le menu plein écran est ouvert (le tiroir a déjà son appel). */
    .site-header.is-open ~ .call-fab { opacity: 0; visibility: hidden; pointer-events: none; }
}

@media (max-width: 980px) {
    .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .engagements__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
    .grid-2, .grid-2--narrow-left { grid-template-columns: 1fr; gap: 40px; }
    .contact__grid { grid-template-columns: 1fr; gap: 36px; }
    .section { padding: 80px 24px; }
    .engagements { padding: 80px 24px; }
    .cta { padding: 20px 24px 80px; }
}

@media (max-width: 760px) {
    .container { padding: 0 22px; }
    .hero { padding: 120px 22px 70px; min-height: auto; }
    .hero__actions { margin-bottom: 44px; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 36px; }
    .site-footer { padding: 56px 24px 32px; }
    .section-head { margin-bottom: 36px; }
}

@media (max-width: 680px) {
    .services__grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .engagements__grid { grid-template-columns: 1fr; }
    .stat-cards { grid-template-columns: 1fr; }
}

/* =========================================================================
   20. Accessibilité : mouvement réduit
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    html { scroll-behavior: auto; }
    .has-js [data-reveal]:not(.is-visible) { opacity: 1; transform: none; }
}

/* =========================================================================
   21. PAGE SERVICE — redesign premium (hero, méthode, sommaire, FAQ, maillage)
   Réutilise la charte (rouge/vert/anthracite, Archivo/Manrope) de l'accueil.
   Toutes les classes sont préfixées « svc- » : aucun impact sur les autres
   gabarits (qui gardent .page-content). Thème clair unique.
   ========================================================================= */

/* ---- Hero service : split asymétrique texte / visuel ---- */
.svc-hero { position: relative; overflow: hidden; padding: 18px 0 64px; }
.svc-hero__decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.svc-hero__orb { position: absolute; border-radius: 50%; }
.svc-hero__orb--red {
    top: -34%; right: -10%; width: 50vw; max-width: 640px; height: 640px;
    background: radial-gradient(circle, rgba(230,51,41,0.10), rgba(230,51,41,0) 64%);
    animation: serFloat 19s ease-in-out infinite;
}
.svc-hero__orb--green {
    bottom: -46%; left: -10%; width: 42vw; max-width: 520px; height: 520px;
    background: radial-gradient(circle, rgba(31,164,99,0.09), rgba(31,164,99,0) 66%);
    animation: serFloat2 23s ease-in-out infinite;
}
.svc-hero__grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(20,22,26,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(20,22,26,0.03) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
            mask-image: radial-gradient(circle at 70% 30%, #000 0%, transparent 70%);
}
.svc-hero__inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center;
}
.svc-hero__text { animation: svcRise .7s cubic-bezier(.2,.7,.3,1) both; }
.svc-hero__eyebrow { margin-bottom: 14px; }
.svc-hero__title {
    font-weight: 800; font-size: clamp(30px, 4vw, 50px); line-height: 1.04;
    letter-spacing: -0.026em; margin: 0 0 18px; max-width: 18ch;
}
.svc-hero__lead {
    font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--t-1);
    max-width: 48ch; margin-bottom: 30px;
}
.svc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.svc-hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.svc-hero__trust li {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13.5px; font-weight: 600; color: var(--t-2);
}
.svc-hero__trust svg { color: var(--vert); flex: none; }

.svc-hero__media { position: relative; margin: 0; animation: svcFade 1s ease both; }
.svc-hero__media-glow {
    position: absolute; inset: -10% -8%; z-index: 0; pointer-events: none;
    background: radial-gradient(60% 60% at 70% 30%, rgba(230,51,41,0.16), transparent 70%),
                radial-gradient(50% 50% at 20% 90%, rgba(31,164,99,0.14), transparent 72%);
    filter: blur(8px);
}
.svc-hero__img {
    position: relative; z-index: 1; display: block;
    width: 100%; object-position: center;
    border-radius: 26px; border: 1px solid var(--border);
    box-shadow: 0 44px 80px -42px rgba(20,22,26,0.45);
}
/* Photo haute résolution : cadrage plein « cover ». */
.svc-hero__media--photo .svc-hero__img { aspect-ratio: 1 / 1; object-fit: cover; background: #e9ebee; }
/* Visuel produit (PNG détouré, petite définition) : panneau studio « contain ». */
.svc-hero__media--product .svc-hero__img {
    aspect-ratio: 4 / 5; object-fit: contain; padding: 30px;
    background: radial-gradient(120% 90% at 50% 8%, #ffffff 0%, #eceef1 70%, #e6e8eb 100%);
}
.svc-hero__chip {
    position: absolute; z-index: 2; left: 18px; bottom: 18px;
    display: flex; align-items: center; gap: 12px;
    padding: 11px 18px 11px 11px; border-radius: 16px;
    background: rgba(255,255,255,0.86);
    backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px);
    border: 1px solid var(--border); box-shadow: 0 20px 44px -22px rgba(20,22,26,0.34);
}
.svc-hero__chip-icon {
    width: 42px; height: 42px; border-radius: 12px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: rgba(230,51,41,0.08); border: 1px solid rgba(230,51,41,0.16); color: var(--rouge);
}
.svc-hero__chip-title { display: block; font-family: var(--ff-title); font-weight: 800; font-size: 15px; }
.svc-hero__chip-sub { display: block; font-size: 12.5px; color: var(--t-2); }

@keyframes svcRise { from { opacity: 0; transform: translateY(16px); } }
@keyframes svcFade { from { opacity: 0; transform: scale(.985); } }

/* ---- Méthode : 4 piliers numérotés ---- */
.svc-method { padding: 56px 0 20px; }
.svc-method__head { margin-bottom: 30px; }
.svc-method__title { font-weight: 800; font-size: clamp(22px, 2.5vw, 31px); letter-spacing: -0.02em; }
.svc-method__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc-step {
    padding: 26px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s, border-color .35s;
}
.svc-step:hover { transform: translateY(-5px); border-color: rgba(31,164,99,0.32); box-shadow: 0 26px 50px -28px rgba(31,164,99,0.35); }
.svc-step__num { font-family: var(--ff-title); font-weight: 800; font-size: 15px; color: var(--vert); letter-spacing: .06em; }
.svc-step__title { font-weight: 700; font-size: 17px; margin: 12px 0 8px; }
.svc-step__text { font-size: 14px; line-height: 1.55; color: var(--t-2); }

/* ---- Corps : modules adaptatifs (split / cartes / feature zig-zag) ---- */
.svc-mod { padding: 76px 0; }
.svc-mod--white { background: #fff; }
.svc-mod--cream { background: var(--bg); }
.svc-mod--lead { padding-top: 44px; }
.svc-mod[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.svc-accent { display: block; width: 46px; height: 4px; border-radius: 3px; margin-bottom: 18px; }
.svc-accent--red { background: var(--rouge); }
.svc-accent--green { background: var(--vert); }

/* Tête de module (titre + chapeau) */
.svc-modhead { max-width: 760px; margin-bottom: 36px; }
.svc-modhead__title { font-weight: 800; font-size: clamp(24px, 2.9vw, 37px); line-height: 1.1; letter-spacing: -0.02em; }
.svc-modhead__lead { margin-top: 16px; font-size: 17.5px; line-height: 1.65; color: var(--t-1); }
.svc-modhead__p { margin-top: 12px; font-size: 16px; line-height: 1.7; color: var(--t-1); }
.svc-mod__note { max-width: 820px; margin-top: 24px; font-size: 15.5px; line-height: 1.7; color: var(--t-1); }

/* Liste à coche (réutilisée par split / feature) */
.svc-checks { list-style: none; display: flex; flex-direction: column; gap: 13px; margin: 18px 0 0; }
.svc-checks li { position: relative; padding-left: 34px; font-size: 15.5px; line-height: 1.65; color: var(--t-1); }
.svc-checks li::before {
    content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 7px;
    background: rgba(31,164,99,0.12)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231FA463' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
        center / 13px no-repeat;
}

/* Module SPLIT : intro (texte + carte récapitulative) */
.svc-split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.svc-split__title { font-weight: 800; font-size: clamp(26px, 3vw, 40px); line-height: 1.08; letter-spacing: -0.022em; margin-bottom: 18px; }
.svc-split__text p { font-size: 16.5px; line-height: 1.7; color: var(--t-1); margin-bottom: 14px; }
.svc-split__text p.svc-lead-p { font-size: 18px; color: var(--ink); }
.svc-split__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.svc-split__card { background: linear-gradient(180deg, #ffffff, #fbfbf9); border: 1px solid var(--border); border-radius: 22px; padding: 30px; box-shadow: 0 34px 64px -38px rgba(20,22,26,0.42); }
.svc-split__card-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }
.svc-split__card-icon { width: 40px; height: 40px; border-radius: 11px; flex: none; display: flex; align-items: center; justify-content: center; background: rgba(230,51,41,0.07); border: 1px solid rgba(230,51,41,0.15); color: var(--rouge); }
.svc-split__card-label { font-family: var(--ff-title); font-weight: 800; font-size: 15.5px; }
.svc-split__card .svc-checks { margin-top: 0; }

/* Module CARTES : listes courtes (classes, établissements, atouts) */
.svc-cards2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc-cards2 .svc-cardix:last-child:nth-child(odd) { grid-column: 1 / -1; }
.svc-cardix { display: flex; gap: 14px; align-items: flex-start; padding: 22px 24px; border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.svc-cardix:hover { transform: translateY(-4px); border-color: rgba(31,164,99,0.30); box-shadow: 0 24px 46px -28px rgba(31,164,99,0.32); }
.svc-cardix__mark {
    width: 32px; height: 32px; border-radius: 9px; flex: none; margin-top: 1px;
    background: rgba(31,164,99,0.12)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231FA463' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
        center / 17px no-repeat;
}
.svc-cardix p { font-size: 15px; line-height: 1.6; color: var(--t-1); margin: 0; }

/* Module FEATURE : sections réglementaires (titre ancré + contenu, zig-zag) */
.svc-feat { display: grid; grid-template-columns: 340px 1fr; gap: 56px; align-items: start; }
.svc-feat--flip { grid-template-columns: 1fr 340px; }
.svc-feat--flip .svc-feat__head { order: 2; }
.svc-feat--flip .svc-feat__body { order: 1; }
.svc-feat__head { position: sticky; top: calc(var(--header-h) + 28px); }
.svc-feat__title { font-weight: 800; font-size: clamp(23px, 2.7vw, 34px); line-height: 1.12; letter-spacing: -0.02em; }
.svc-feat__body > :first-child { margin-top: 0; }
.svc-feat__body p { font-size: 16.5px; line-height: 1.75; color: var(--t-1); margin-bottom: 16px; }
.svc-feat__body p.svc-lead-p { font-size: 18px; color: var(--ink); }
.svc-feat__body h3 { font-weight: 700; font-size: 18.5px; color: var(--ink); margin: 30px 0 10px; }
.svc-feat__body a { color: var(--rouge-d); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.svc-feat__body a:hover { text-decoration-thickness: 2px; }
.svc-feat__body .svc-checks { margin: 16px 0 6px; }

/* Bande zone / maillage géographique */
.svc-zoneband { padding: 56px 0 8px; }
.svc-zone { display: flex; gap: 15px; align-items: flex-start; max-width: 980px; margin: 0 auto; padding: 22px 26px; border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.svc-zone__icon { color: var(--vert); flex: none; margin-top: 1px; }
.svc-zone p { font-size: 15.5px; line-height: 1.6; color: var(--t-1); margin: 0; }
.svc-zone a { color: var(--rouge-d); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.svc-zone a:hover { text-decoration-thickness: 2px; }

/* ---- FAQ en accordéon ---- */
.svc-faq { margin-top: 44px; padding: 72px 0; background: #fff; border-top: 1px solid var(--border-soft); border-bottom: 1px solid var(--border-soft); }
.svc-faq__head { margin-bottom: 34px; text-align: center; }
.svc-faq__title { font-weight: 800; font-size: clamp(24px, 3vw, 38px); letter-spacing: -0.02em; }
.svc-faq__list { max-width: 880px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.svc-faq__item { border: 1px solid var(--border); border-radius: 16px; background: var(--bg); overflow: hidden; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.svc-faq__item[open] { background: #fff; border-color: rgba(230,51,41,0.26); box-shadow: 0 18px 42px -28px rgba(20,22,26,0.28); }
.svc-faq__q { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 20px 24px; cursor: pointer; font-family: var(--ff-title); font-weight: 700; font-size: 17px; color: var(--ink); list-style: none; }
.svc-faq__q::-webkit-details-marker { display: none; }
.svc-faq__q::marker { content: ""; }
.svc-faq__toggle { position: relative; width: 22px; height: 22px; flex: none; }
.svc-faq__toggle::before, .svc-faq__toggle::after {
    content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px;
    background: var(--rouge); border-radius: 2px; transform: translate(-50%, -50%);
    transition: transform .25s ease, opacity .25s ease;
}
.svc-faq__toggle::after { transform: translate(-50%, -50%) rotate(90deg); }
.svc-faq__item[open] .svc-faq__toggle::after { opacity: 0; transform: translate(-50%, -50%) rotate(0deg); }
.svc-faq__a { padding: 0 24px 22px; }
.svc-faq__item[open] .svc-faq__a { animation: svcFaqIn .3s ease both; }
.svc-faq__a p { font-size: 15.5px; line-height: 1.7; color: var(--t-1); margin: 0; }
@keyframes svcFaqIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---- Page FAQ dédiée (/faq/) : en-tête centré + accordéon groupé par thème ---- */
.faqp { max-width: 920px; margin: 0 auto; padding: 56px 0 88px; }
.faqp-head { text-align: center; margin-bottom: 8px; }
.faqp-head__title { font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -0.025em; margin: 12px 0 16px; }
.faqp-head__lead { max-width: 62ch; margin: 0 auto; font-size: 17px; line-height: 1.7; color: var(--t-1); }
.faqp-head__lead a { color: var(--rouge); font-weight: 600; }
.faqp-head__lead a:hover { text-decoration: underline; }
.faqp-group { margin-top: 46px; }
.faqp-group__title { font-weight: 800; font-size: clamp(19px, 2.2vw, 24px); letter-spacing: -0.02em; color: var(--ink); margin: 0 0 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border-soft); }
.faqp .svc-faq__list { max-width: none; }
.faqp .svc-faq__item { background: var(--white); }

/* ---- Maillage : autres services (liste de cartes horizontales) ---- */
.svc-related { padding: 72px 0 20px; }
.svc-related__title { font-size: clamp(24px, 3vw, 38px); max-width: 20ch; }
.svc-related__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.svc-related__card {
    display: flex; align-items: center; gap: 16px; padding: 18px 20px;
    border-radius: 16px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-card);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.svc-related__card:hover { transform: translateY(-4px); border-color: rgba(230,51,41,0.28); box-shadow: 0 22px 44px -26px rgba(230,51,41,0.32); }
.svc-related__icon {
    width: 46px; height: 46px; border-radius: 12px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: rgba(230,51,41,0.07); border: 1px solid rgba(230,51,41,0.15); color: var(--rouge);
}
.svc-related__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.svc-related__name { font-weight: 700; font-size: 16px; color: var(--ink); }
.svc-related__desc {
    font-size: 13.3px; line-height: 1.5; color: var(--t-2);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.svc-related__arrow { color: var(--t-3); flex: none; transition: transform .25s ease, color .25s ease; }
.svc-related__card:hover .svc-related__arrow { color: var(--rouge); transform: translateX(3px); }
/* Alternance verte (rythme charte) */
.svc-related__card:nth-child(even) .svc-related__icon { background: rgba(31,164,99,0.07); border-color: rgba(31,164,99,0.15); color: var(--vert); }
.svc-related__card:nth-child(even):hover { border-color: rgba(31,164,99,0.30); box-shadow: 0 22px 44px -26px rgba(31,164,99,0.30); }
.svc-related__card:nth-child(even):hover .svc-related__arrow { color: var(--vert); }

/* ---- Maillage vers les pages secteur (ajouté le 14/08/2026, audit agent-seo).
   Bloc de texte court en fin de page service : les pages segment ne recevaient
   auparavant que les liens du pied de page. Style propre plutôt que réemploi de
   .section-head__intro, qui est plafonné à 38ch pour une colonne de grille et
   comprimait ce paragraphe pleine largeur. */
.svc-sectors { padding: 8px 0 64px; }
.svc-sectors__text {
    font-size: 16px; line-height: 1.65; color: var(--t-1);
    max-width: 62ch; margin-top: 10px;
}
.svc-sectors__text a {
    color: var(--ink); font-weight: 600;
    text-decoration: underline; text-decoration-color: rgba(230,51,41,0.42);
    text-underline-offset: 3px; text-decoration-thickness: 1.5px;
    transition: color .2s ease, text-decoration-color .2s ease;
}
.svc-sectors__text a:hover,
.svc-sectors__text a:focus-visible { color: var(--rouge); text-decoration-color: var(--rouge); }

/* ---- Pictogrammes métier (PNG détourés) : remplacent le jeu d'icônes SVG.
   Le pictogramme porte déjà sa propre tuile colorée (coins arrondis, brillance) :
   on neutralise le cadre teinté du conteneur pour éviter un double encadrement,
   et l'image remplit la boîte. Sélecteurs sur-spécifiés pour l'emporter sur les
   variantes teintées rouge/vert des conteneurs. ---- */
.service-card .service-card__icon--picto,
.svc-hero__chip .svc-hero__chip-icon--picto,
.svc-split__card-head .svc-split__card-icon--picto,
.svc-related__card .svc-related__icon--picto,
.svc-related__card:nth-child(even) .svc-related__icon--picto {
    background: none; border: 0;
}
.service-card__icon--picto   { width: 60px; height: 60px; }
.svc-hero__chip-icon--picto  { width: 46px; height: 46px; }
.svc-split__card-icon--picto { width: 44px; height: 44px; }
.svc-related__icon--picto    { width: 50px; height: 50px; }
/* Le <picture> (source WebP + repli) ne doit pas créer de boîte : sinon le
   width/height 100% de l'img se résoudrait contre lui, pas contre la tuile. */
.service-card__icon--picto picture,
.svc-hero__chip-icon--picto picture,
.svc-split__card-icon--picto picture,
.svc-related__icon--picto picture { display: contents; }
.service-card__icon--picto img,
.svc-hero__chip-icon--picto img,
.svc-split__card-icon--picto img,
.svc-related__icon--picto img {
    width: 100%; height: 100%; object-fit: contain; display: block;
}

/* ---- Responsive page service ---- */
@media (max-width: 980px) {
    .svc-hero__inner { grid-template-columns: 1fr; gap: 36px; }
    .svc-hero__media { max-width: 460px; }
    .svc-method__grid { grid-template-columns: repeat(2, 1fr); }
    .svc-feat, .svc-feat--flip { grid-template-columns: 1fr; gap: 20px; }
    .svc-feat--flip .svc-feat__head, .svc-feat--flip .svc-feat__body { order: 0; }
    .svc-feat__head { position: static; }
}
@media (max-width: 860px) {
    .svc-mod { padding: 56px 0; }
    .svc-mod--lead { padding-top: 30px; }
    .svc-split { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 680px) {
    .svc-cards2 { grid-template-columns: 1fr; }
    .svc-cards2 .svc-cardix:last-child:nth-child(odd) { grid-column: auto; }
    .svc-related__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .svc-method__grid { grid-template-columns: 1fr; }
    .svc-hero__actions .btn, .svc-split__cta .btn { width: 100%; justify-content: center; }
}

/* =========================================================================
   22. PAGE HUB SERVICES — /services/ (vitrine premium du silo services)
   Réutilise la charte et les modules svc-* / .services__grid / .engagements.
   Le hero a son décor propre (orbes animées + grille) ; les cartes services
   sont enrichies de mots-clés. Classes préfixées « hub- ».
   ========================================================================= */
.hub-hero { position: relative; overflow: hidden; padding: 36px 0 60px; }
/* Hero hub en split asymétrique : texte à gauche, visuel encadré à droite
   (réutilise la charte « svc-hero » : cadre, glow, badge). */
.hub-hero__inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 56px; align-items: center;
}
.hub-hero__text { animation: svcRise .7s cubic-bezier(.2,.7,.3,1) both; }
.hub-hero__title {
    font-weight: 800; font-size: clamp(32px, 4.3vw, 54px); line-height: 1.03;
    letter-spacing: -0.028em; margin: 14px 0 20px; max-width: 15ch;
}
.hub-hero__lead {
    font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--t-1);
    max-width: 52ch; margin: 0 0 30px;
}
.hub-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }

/* Visuel encadré : cadre CARRÉ. L'aspect-ratio est porté par le <figure>
   (élément non remplacé, fiable) et non par l'<img> ; l'image remplit le
   cadre en object-fit cover, quel que soit le format source. */
.hub-hero__media { margin: 0 0 0 auto; width: 100%; max-width: 500px; aspect-ratio: 1 / 1; }
.hub-hero__media .svc-hero__img { height: 100%; object-fit: cover; }

/* Bande de repères chiffrés (pleine largeur, sous le hero split). */
.hub-hero__stats {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    max-width: 960px; margin: 44px auto 0; padding: 28px 24px;
    background: #fff; border: 1px solid var(--border); border-radius: 22px;
    box-shadow: 0 24px 54px -34px rgba(20,22,26,0.3);
}
.hub-stat { text-align: center; padding: 4px 20px; }
.hub-stat + .hub-stat { border-left: 1px solid var(--border); }
.hub-stat__num {
    font-family: var(--ff-title); font-weight: 800; font-size: clamp(26px, 2.7vw, 38px);
    letter-spacing: -0.02em; line-height: 1; color: var(--ink);
}
.hub-hero__stats .hub-stat:nth-child(2) .hub-stat__num { color: var(--vert); }
.hub-hero__stats .hub-stat:nth-child(4) .hub-stat__num { color: var(--rouge); }
.hub-stat__label { font-size: 13px; line-height: 1.4; color: var(--t-2); margin: 10px auto 0; max-width: 17ch; }

/* Cartes services enrichies (mots-clés) — surcouche locale de .service-card.
   Sur le hub, le lien est épinglé en bas pour aligner les cartes de la grille. */
.route-services .service-card__link { margin-top: auto; padding-top: 18px; }
.service-card__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.service-card__tags li {
    font-size: 11.5px; font-weight: 600; color: var(--t-1);
    padding: 5px 11px; border-radius: 100px;
    background: var(--bg); border: 1px solid var(--border);
}
.service-card--green .service-card__tags li { background: rgba(31,164,99,0.06); border-color: rgba(31,164,99,0.16); }
.service-card--red .service-card__tags li   { background: rgba(230,51,41,0.05); border-color: rgba(230,51,41,0.14); }

@media (max-width: 920px) {
    .hub-hero__inner { grid-template-columns: 1fr; gap: 32px; }
    .hub-hero__title { max-width: 20ch; }
    .hub-hero__media { max-width: 460px; margin: 0; }
}
@media (max-width: 760px) {
    .hub-hero { padding: 24px 0 44px; }
    .hub-hero__stats { grid-template-columns: 1fr 1fr; padding: 22px 14px; margin-top: 36px; }
    .hub-stat { padding: 14px 10px; }
    .hub-stat + .hub-stat { border-left: 0; }
    .hub-hero__stats .hub-stat:nth-child(3) { border-top: 1px solid var(--border); }
    .hub-hero__stats .hub-stat:nth-child(4) { border-top: 1px solid var(--border); }
    .hub-hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}

/* =========================================================================
   22. HUB ZONES D'INTERVENTION (/zones-intervention/)
   Préfixe « zns- ». Réutilise la charte et certaines briques « svc- »
   (orbes, grille de fond). Aucun impact sur les autres gabarits.
   ========================================================================= */

/* ---- Hero : texte à gauche, carte de couverture à droite ---- */
.zns-hero { position: relative; overflow: hidden; padding: 18px 0 64px; }
.zns-hero__decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.zns-hero__inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 56px; align-items: center;
}
.zns-hero__text { animation: svcRise .7s cubic-bezier(.2,.7,.3,1) both; }
.zns-hero__title {
    font-weight: 800; font-size: clamp(30px, 4vw, 50px); line-height: 1.04;
    letter-spacing: -0.026em; margin: 0 0 18px; max-width: 16ch;
}
.zns-hero__lead {
    font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: var(--t-1);
    max-width: 50ch; margin-bottom: 28px;
}
.zns-hero__lead strong { color: var(--ink); font-weight: 700; }
.zns-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.zns-hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.zns-hero__trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--t-2); }
.zns-hero__trust svg { color: var(--vert); flex: none; }

/* ---- Carte de couverture (visuel stylisé, non géographique) ---- */
.zns-coverage {
    position: relative; animation: svcFade 1s ease both;
    background: linear-gradient(180deg, #ffffff, #fbfbf9);
    border: 1px solid var(--border); border-radius: 26px;
    padding: 34px 32px 30px; box-shadow: 0 44px 80px -42px rgba(20,22,26,0.45);
}
.zns-coverage__map { position: relative; height: 176px; display: flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.zns-coverage__ring { position: absolute; border-radius: 50%; border: 1px solid rgba(230,51,41,0.16); }
.zns-coverage__ring--1 { width: 86px; height: 86px; border-color: rgba(230,51,41,0.30); }
.zns-coverage__ring--2 { width: 134px; height: 134px; border-color: rgba(230,51,41,0.18); }
.zns-coverage__ring--3 { width: 182px; height: 182px; border-color: rgba(31,164,99,0.16); }
.zns-coverage__pin {
    position: relative; z-index: 1; width: 46px; height: 46px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--rouge); box-shadow: 0 10px 24px -8px rgba(230,51,41,0.7);
}
.zns-coverage__base { text-align: center; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.zns-coverage__base-label { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--t-3); margin-bottom: 4px; }
.zns-coverage__base-city { font-family: var(--ff-title); font-weight: 800; font-size: 19px; color: var(--ink); }
.zns-coverage__base-city span { color: var(--t-2); font-weight: 600; }
.zns-coverage__list { list-style: none; display: flex; flex-direction: column; gap: 13px; }
.zns-coverage__list li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--t-1); }
.zns-coverage__tag {
    flex: none; width: 26px; height: 26px; border-radius: 8px;
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--ff-title); font-weight: 800; font-size: 12.5px;
    background: rgba(230,51,41,0.08); border: 1px solid rgba(230,51,41,0.18); color: var(--rouge);
}
.zns-coverage__tag--green { background: rgba(31,164,99,0.09); border-color: rgba(31,164,99,0.2); color: var(--vert); }

/* ---- Secteurs de la Vendée ---- */
.zns-sectors__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.zns-sector {
    background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 28px;
    box-shadow: var(--shadow-card); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.zns-sector:hover { transform: translateY(-5px); border-color: rgba(230,51,41,0.28); box-shadow: 0 24px 46px -26px rgba(230,51,41,.32); }
.zns-sector--green:hover { border-color: rgba(31,164,99,0.30); box-shadow: 0 24px 46px -26px rgba(31,164,99,.30); }
.zns-sector__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.zns-sector__icon {
    width: 40px; height: 40px; border-radius: 11px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: rgba(230,51,41,0.07); border: 1px solid rgba(230,51,41,0.15); color: var(--rouge);
}
.zns-sector--green .zns-sector__icon { background: rgba(31,164,99,0.07); border-color: rgba(31,164,99,0.15); color: var(--vert); }
.zns-sector__title { font-weight: 700; font-size: 18px; color: var(--ink); }
.zns-sector__desc { font-size: 14.5px; line-height: 1.55; color: var(--t-2); margin-bottom: 18px; }
.zns-sector__villes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.zns-sector__villes li {
    font-size: 13px; font-weight: 600; color: var(--t-strong);
    padding: 6px 12px; border-radius: 100px;
    background: var(--bg); border: 1px solid var(--border);
}

/* ---- Départements limitrophes (band sombre) ---- */
.zns-around { background: var(--ink); color: #fff; padding: 104px 30px; }
.zns-around__head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.zns-around__head .section-title { color: #fff; }
.zns-around__intro { margin-top: 16px; font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.62); }
.zns-around__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: var(--maxw); margin: 0 auto; }
.zns-dept {
    display: flex; flex-direction: column; gap: 6px;
    padding: 26px 24px; border-radius: 18px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1);
    transition: transform .3s ease, border-color .3s ease, background .3s ease;
}
.zns-dept:hover { transform: translateY(-4px); border-color: rgba(31,164,99,0.4); background: rgba(255,255,255,0.06); }
.zns-dept__code { font-family: var(--ff-title); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; color: var(--vert); }
.zns-dept__name { font-weight: 700; font-size: 16px; color: #fff; }
.zns-dept__villes { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.55); }

/* ---- Maillage : pages locales publiées ---- */
.zns-local__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.zns-local__card {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px; border-radius: 16px;
    background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-card);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.zns-local__card:hover { transform: translateY(-4px); border-color: rgba(230,51,41,0.28); box-shadow: 0 22px 44px -26px rgba(230,51,41,0.32); }
.zns-local__icon {
    width: 40px; height: 40px; border-radius: 11px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: rgba(230,51,41,0.07); border: 1px solid rgba(230,51,41,0.15); color: var(--rouge);
}
.zns-local__name { font-weight: 700; font-size: 15.5px; color: var(--ink); flex: 1; min-width: 0; }
.zns-local__arrow { color: var(--t-3); flex: none; transition: transform .25s ease, color .25s ease; }
.zns-local__card:hover .zns-local__arrow { color: var(--rouge); transform: translateX(3px); }

/* ---- Note « pages locales à venir » ---- */
.zns-soon { padding: 40px 0 20px; }
.zns-soon__inner { display: flex; gap: 16px; align-items: flex-start; max-width: 980px; margin: 0 auto; padding: 24px 28px; border-radius: 18px; background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-card); }
.zns-soon__icon {
    width: 44px; height: 44px; border-radius: 12px; flex: none;
    display: flex; align-items: center; justify-content: center;
    background: rgba(31,164,99,0.07); border: 1px solid rgba(31,164,99,0.16); color: var(--vert);
}
.zns-soon p { font-size: 15.5px; line-height: 1.65; color: var(--t-1); margin: 0; }

/* ---- Responsive zones ---- */
@media (max-width: 980px) {
    .zns-hero__inner { grid-template-columns: 1fr; gap: 36px; }
    .zns-coverage { max-width: 460px; }
    .zns-around__grid { grid-template-columns: repeat(2, 1fr); }
    .zns-local__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
    .zns-around { padding: 80px 24px; }
}
@media (max-width: 680px) {
    .zns-sectors__grid { grid-template-columns: 1fr; }
    .zns-hero__actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (max-width: 560px) {
    .zns-around__grid { grid-template-columns: 1fr; }
    .zns-local__grid { grid-template-columns: 1fr; }
    .zns-coverage { padding: 28px 22px 26px; }
}

/* =========================================================================
   23. PAGE CONTACT — formulaire wizard multi-étapes (variante puces + récap)
   Préfixe « cf- » (contact form). Réutilise la charte (rouge/vert/anthracite,
   Archivo/Manrope), les boutons .btn et le vocabulaire des cartes (.service-
   card, .svc-split__card, .svc-checks, .engagements). Progressive enhancement :
   le comportement wizard est gaté par .has-js ; sans JS, le formulaire reste
   un formulaire unique entièrement utilisable. Aucun impact sur les autres
   gabarits.
   ========================================================================= */

.cf-page { padding: 40px 0 90px; }

/* ---- En-tête de page ---- */
.cf-head { max-width: 760px; margin-bottom: 40px; }
.cf-head__title {
    font-weight: 800; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.04;
    letter-spacing: -0.026em; margin: 0 0 18px; max-width: 18ch;
}
.cf-head__lead { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--t-1); max-width: 56ch; }

/* ---- Disposition : formulaire + sidebar ---- */
.cf-layout { display: grid; grid-template-columns: 1.55fr 0.85fr; gap: 30px; align-items: start; }

/* ---- Carte du formulaire ---- */
.cf-main {
    background: #fff; border: 1px solid var(--border); border-radius: 24px;
    padding: clamp(24px, 3vw, 40px); box-shadow: var(--shadow-card);
}

/* ---- Barre de progression à segments (visible avec JS uniquement) ---- */
.cf-progress { margin-bottom: 26px; }
.cf-progress__meta { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.cf-progress__step {
    font-family: var(--ff-title); font-weight: 800; font-size: 12.5px;
    letter-spacing: .12em; text-transform: uppercase; color: var(--t-2);
}
.cf-progress__step span { color: var(--rouge); }
.cf-progress__name { font-size: 14px; font-weight: 700; color: var(--ink); }
.cf-progress__bar { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
.cf-progress__seg {
    flex: 1; height: 6px; border-radius: 100px; background: var(--border-mid);
    transition: background .35s ease;
}
.cf-progress__seg.is-active { background: var(--rouge); }
.cf-progress__seg.is-done   { background: var(--vert); }

/* ---- Étapes (fieldset) ---- */
.cf-form { display: block; }
.cf-step { border: 0; padding: 0; margin: 0; min-width: 0; }
.cf-step + .cf-step { margin-top: 40px; }              /* espacement sans JS */
/* Avec JS : une seule étape visible à la fois. */
.has-js .cf-step:not(.is-active) { display: none; }
.has-js .cf-step + .cf-step { margin-top: 0; }
.cf-step.is-active { animation: cfStepIn .4s cubic-bezier(.2,.7,.3,1) both; }

.cf-step__legend { display: block; width: 100%; padding: 0; margin-bottom: 22px; }
.cf-step__count {
    display: block; font-family: var(--ff-title); font-weight: 800; font-size: 12.5px;
    letter-spacing: .12em; text-transform: uppercase; color: var(--rouge); margin-bottom: 10px;
}
.cf-step__title {
    display: block; font-family: var(--ff-title); font-weight: 800;
    font-size: clamp(22px, 2.6vw, 30px); line-height: 1.12; letter-spacing: -0.02em;
    color: var(--ink); outline: none;
}
.cf-step__title:focus-visible { outline: 2px solid var(--rouge); outline-offset: 4px; border-radius: 4px; }
.cf-step__sub { display: block; margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--t-1); }

/* ---- Champs ---- */
.cf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cf-field { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.cf-field--full { grid-column: 1 / -1; }
.cf-grid + .cf-field--full { margin-top: 18px; }
.cf-label { font-size: 14px; font-weight: 600; color: var(--ink); }
.cf-opt { font-weight: 500; color: var(--t-3); }
.cf-req { color: var(--rouge); font-weight: 700; }
.cf-input {
    width: 100%; padding: 13px 15px; font: inherit;
    border: 1px solid var(--border-mid); border-radius: 12px;
    background: #fff; color: var(--ink);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.cf-input::placeholder { color: var(--t-3); }
.cf-input:focus {
    outline: none; border-color: var(--rouge);
    box-shadow: 0 0 0 3px rgba(230,51,41,0.12);
}
.cf-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }

/* ---- Groupe de puces (fieldset/legend) ---- */
.cf-chips-group { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.cf-chips-group:last-child { margin-bottom: 0; }
.cf-chips-group__legend {
    padding: 0; margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--ink);
}

/* ---- Choix sélectionnables (cartes en grille) ---- */
.cf-chips { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
/* display:flex + grille = chaque carte s'étire à la hauteur de sa rangée,
   donc les deux colonnes restent alignées même avec des libellés de
   longueurs différentes. */
.cf-chip { display: flex; margin: 0; cursor: pointer; }
/* L'input réel est masqué visuellement mais reste focusable au clavier. */
.cf-chip__input {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cf-chip__face {
    display: inline-flex; align-items: center; gap: 10px;
    width: 100%; padding: 13px 16px; border-radius: 12px;
    background: var(--bg); border: 1px solid var(--border-mid);
    font-size: 14.5px; font-weight: 600; color: var(--t-strong);
    line-height: 1.3; user-select: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.cf-chip__tick {
    display: inline-flex; align-items: center; justify-content: center;
    width: 20px; height: 20px; border-radius: 50%; flex: none;
    background: #fff; border: 1px solid var(--border-mid); color: #fff;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.cf-chip__tick svg { opacity: 0; transition: opacity .15s ease; }
.cf-chip:hover .cf-chip__face { border-color: rgba(20,22,26,0.3); transform: translateY(-1px); }

/* État sélectionné (rouge charte) */
.cf-chip__input:checked + .cf-chip__face {
    background: rgba(230,51,41,0.07); border-color: var(--rouge); color: var(--rouge);
    box-shadow: 0 8px 20px -12px rgba(230,51,41,.55);
}
.cf-chip__input:checked + .cf-chip__face .cf-chip__tick {
    background: var(--rouge); border-color: var(--rouge);
}
.cf-chip__input:checked + .cf-chip__face .cf-chip__tick svg { opacity: 1; }

/* Focus clavier visible porté sur la pastille visuelle */
.cf-chip__input:focus-visible + .cf-chip__face {
    outline: 2px solid var(--rouge); outline-offset: 3px;
}

/* Puces « besoins » (étape 2) : accent vert pour distinguer le multi-select */
.cf-chips--needs .cf-chip__input:checked + .cf-chip__face {
    background: rgba(31,164,99,0.08); border-color: var(--vert); color: var(--vert);
    box-shadow: 0 8px 20px -12px rgba(31,164,99,.5);
}
.cf-chips--needs .cf-chip__input:checked + .cf-chip__face .cf-chip__tick {
    background: var(--vert); border-color: var(--vert);
}
.cf-chips--needs .cf-chip__input:focus-visible + .cf-chip__face { outline-color: var(--vert); }

/* ---- Messages de retour (succès / erreur) + honeypot anti-spam ---- */
.cf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-alert {
    display: flex; align-items: flex-start; gap: 13px;
    padding: 16px 18px; border-radius: 14px; margin-bottom: 26px;
}
.cf-alert__icon { flex: none; display: inline-flex; margin-top: 1px; }
.cf-alert__title { font-weight: 700; font-size: 15px; }
.cf-alert__text { margin-top: 4px; font-size: 14px; line-height: 1.55; }
.cf-alert__text a { font-weight: 600; text-decoration: underline; }
.cf-alert__list { margin: 6px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.5; }
.cf-alert__list li + li { margin-top: 3px; }
.cf-alert__dev { margin-top: 8px; font-size: 12.5px; opacity: .75; }
.cf-alert--success { background: rgba(31,164,99,0.08); border: 1px solid var(--vert); color: #14663f; }
.cf-alert--success .cf-alert__icon { color: var(--vert); }
.cf-alert--error { background: rgba(230,51,41,0.06); border: 1px solid var(--rouge); color: #8f201a; }
.cf-alert--error .cf-alert__icon { color: var(--rouge); }

/* ---- Mini-récap dynamique (étape 3, JS only) ---- */
.cf-recap {
    margin-bottom: 24px; padding: 20px 22px; border-radius: 16px;
    background: linear-gradient(180deg, #ffffff, var(--bg));
    border: 1px solid var(--border);
}
.cf-recap__title {
    display: flex; align-items: center; gap: 9px; margin: 0 0 12px;
    font-family: var(--ff-title); font-weight: 800; font-size: 13.5px;
    letter-spacing: .04em; color: var(--ink);
}
.cf-recap__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--vert); flex: none; }
.cf-recap__list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.cf-recap__list li {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 13px 7px 11px; border-radius: 100px;
    font-size: 13px; font-weight: 600; color: var(--vert);
    background: rgba(31,164,99,0.08); border: 1px solid rgba(31,164,99,0.22);
}
.cf-recap__list li::before {
    content: ""; width: 14px; height: 14px; flex: none;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231FA463' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
        center / contain no-repeat;
}
.cf-recap__empty { margin: 0; font-size: 14px; line-height: 1.55; color: var(--t-2); }

/* ---- Consentement RGPD ---- */
.cf-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 24px; cursor: pointer; }
.cf-consent__input {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.cf-consent__box {
    flex: none; width: 22px; height: 22px; border-radius: 7px; margin-top: 1px;
    display: inline-flex; align-items: center; justify-content: center;
    background: #fff; border: 1px solid var(--border-mid); color: #fff;
    transition: background .2s ease, border-color .2s ease;
}
.cf-consent__box svg { opacity: 0; transition: opacity .15s ease; }
.cf-consent__input:checked + .cf-consent__box { background: var(--vert); border-color: var(--vert); }
.cf-consent__input:checked + .cf-consent__box svg { opacity: 1; }
.cf-consent__input:focus-visible + .cf-consent__box { outline: 2px solid var(--rouge); outline-offset: 3px; }
.cf-consent__text { font-size: 14px; line-height: 1.55; color: var(--t-1); }

/* ---- Barre de navigation ---- */
.cf-nav { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 32px; }
.cf-nav__next, .cf-nav__submit { margin-left: auto; }
/* Les boutons .btn sont en inline-flex : on force [hidden] à l'emporter, sinon
   un bouton masqué par le JS resterait affiché (spécificité de la classe). */
.cf-nav .btn[hidden] { display: none; }

.cf-devnote { margin-top: 18px; font-size: 13.5px; font-style: italic; color: var(--t-2); }

@keyframes cfStepIn { from { opacity: 0; transform: translateY(14px); } }

/* ---- Sidebar ---- */
.cf-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--header-h) + 24px); }
.cf-card {
    background: #fff; border: 1px solid var(--border); border-radius: 20px;
    padding: 26px 26px 24px; box-shadow: var(--shadow-card);
}
.cf-card__eyebrow {
    font-family: var(--ff-title); font-weight: 800; font-size: 11.5px;
    letter-spacing: .16em; text-transform: uppercase; color: var(--t-3); margin-bottom: 12px;
}
.cf-card__intro { font-size: 14.5px; line-height: 1.55; color: var(--t-2); margin-bottom: 16px; }

/* Bloc DIRECT */
.cf-direct { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; }
.cf-direct__link {
    display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 14px;
    border: 1px solid transparent;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.cf-direct__link:hover { background: var(--bg); border-color: var(--border); transform: translateX(2px); }
.cf-direct__icon {
    width: 42px; height: 42px; border-radius: 12px; flex: none;
    display: flex; align-items: center; justify-content: center;
}
.cf-direct__icon--red   { background: rgba(230,51,41,0.07); border: 1px solid rgba(230,51,41,0.15); color: var(--rouge); }
.cf-direct__icon--green { background: rgba(31,164,99,0.07); border: 1px solid rgba(31,164,99,0.15); color: var(--vert); }
.cf-direct__body { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.cf-direct__caption { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--t-3); }
.cf-direct__value { font-family: var(--ff-title); font-weight: 800; font-size: 16px; color: var(--ink); word-break: break-word; }

/* Bloc AGENCE */
.cf-address { font-style: normal; display: flex; flex-direction: column; gap: 3px; margin-bottom: 14px; }
.cf-address strong { font-family: var(--ff-title); font-weight: 800; font-size: 16px; color: var(--ink); }
.cf-address span { font-size: 14.5px; color: var(--t-1); }
.cf-card__note { font-size: 13.8px; line-height: 1.55; color: var(--t-2); margin: 0; }

/* Carte ACCENT (anthracite, comme la bande .engagements) */
.cf-card--accent {
    position: relative; overflow: hidden; color: #fff;
    background: linear-gradient(135deg, #1B1D22, #0E0F12); border-color: transparent;
}
.cf-card--accent::after {
    content: ""; position: absolute; top: -40%; right: -20%; width: 70%; height: 160%;
    background: radial-gradient(circle, rgba(31,164,99,0.22), rgba(31,164,99,0) 68%);
    pointer-events: none;
}
.cf-card__dot {
    position: relative; z-index: 1; display: inline-block; width: 9px; height: 9px; border-radius: 50%;
    background: var(--vert); box-shadow: 0 0 0 4px rgba(31,164,99,.18);
    margin-bottom: 14px; animation: serPulse 2.4s ease-in-out infinite;
}
.cf-card__eyebrow--light { color: rgba(255,255,255,0.55); position: relative; z-index: 1; }
.cf-avail { position: relative; z-index: 1; font-family: var(--ff-title); font-weight: 800; font-size: 19px; color: #fff; margin-bottom: 10px; }
.cf-card__note--light { position: relative; z-index: 1; color: rgba(255,255,255,0.62); }

/* ---- Responsive page contact ---- */
@media (max-width: 980px) {
    .cf-layout { grid-template-columns: 1fr; gap: 24px; }
    .cf-side { position: static; flex-direction: row; flex-wrap: wrap; }
    .cf-card { flex: 1 1 240px; }
}
@media (max-width: 680px) {
    .cf-grid { grid-template-columns: 1fr; }
    .cf-chips { grid-template-columns: 1fr; }
    .cf-side { flex-direction: column; }
    .cf-card { flex: 1 1 auto; }
    .cf-nav { gap: 10px; }
    .cf-nav .btn { flex: 1 1 auto; justify-content: center; }
    .cf-nav__prev, .cf-nav__next, .cf-nav__submit { margin-left: 0; }
}

/* Mouvement réduit : pas d'apparition animée des étapes ni de défilement doux */
@media (prefers-reduced-motion: reduce) {
    .cf-step.is-active { animation: none; }
}
