/* ==========================================================================
   Garage Zohrab – Design system
   Interface lumineuse, rouge signature réservé aux actions, anthracite pour
   les zones de mise en avant (hero d'accueil, bandeaux, pied de page).

   Points de rupture (à garder synchronisés dans les @media) :
     sm 560px · md 860px · lg 1024px · xl 1200px
   ========================================================================== */

:root {
    /* Couleurs */
    --c-bg: #F5F5F3;          /* fond principal */
    --c-surface: #FFFFFF;     /* cartes et surfaces */
    --c-surface-2: #ECEEED;   /* fond secondaire */
    --c-ink: #202326;         /* texte principal */
    --c-ink-2: #62686D;       /* texte secondaire (AA sur fonds clairs) */
    --c-red: #E51B23;         /* rouge signature */
    --c-red-hover: #C9141D;
    --c-red-tint: #FCECEC;    /* fond très léger rouge (accents) */
    --c-anthracite: #191B1E;
    --c-anthracite-2: #26292D;
    --c-line: #DFE2E3;
    --c-line-strong: #C9CDCF;
    --c-info: #EEF2F4;        /* encadrés pratiques */
    --c-warn: #FFF6E5;        /* points de vigilance */
    --c-warn-line: #F0C36B;
    --c-ok: #1E7F4F;
    --c-wa: #25D366;          /* WhatsApp uniquement */
    --c-wa-ink: #0B2414;      /* texte sur vert WhatsApp (contraste AA) */

    /* Typographie */
    --f-display: "Archivo", "Inter", system-ui, sans-serif;
    --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --fs-xs: .8125rem;
    --fs-sm: .9375rem;
    --fs-base: clamp(1rem, .96rem + .2vw, 1.0625rem);
    --fs-lead: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
    --fs-h4: 1.125rem;
    --fs-h3: clamp(1.15rem, 1.05rem + .4vw, 1.3rem);
    --fs-h2: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
    --fs-h1: clamp(2rem, 1.5rem + 2.2vw, 3.25rem);
    --fs-display: clamp(2.1rem, 1.4rem + 3.6vw, 4.25rem);
    --lh-body: 1.65;
    --lh-tight: 1.15;
    --measure: 68ch;

    /* Espacements */
    --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
    --s-6: 2rem; --s-7: 3rem; --s-8: 4rem; --s-9: 6rem;
    --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);

    /* Formes */
    --r-sm: 8px;
    --r: 12px;
    --r-lg: 18px;
    --r-pill: 999px;
    --sh-1: 0 1px 2px rgba(25, 27, 30, .06), 0 1px 1px rgba(25, 27, 30, .04);
    --sh-2: 0 6px 24px -6px rgba(25, 27, 30, .12), 0 2px 6px rgba(25, 27, 30, .05);
    --sh-3: 0 24px 60px -18px rgba(25, 27, 30, .28);
    --container: 1200px;
    --narrow: 760px;
    --header-h: 76px;

    /* Boutons */
    --btn-h: 48px;
    --btn-h-lg: 54px;
    --btn-h-sm: 38px;
    --focus: 0 0 0 3px #fff, 0 0 0 5px var(--c-red);

    /* Compatibilité (administration) */
    --red: var(--c-red);
    --red-dark: var(--c-red-hover);
    --navy: var(--c-anthracite);
    --navy-2: var(--c-anthracite-2);
    --orange: #D9741E;
    --wa: #128C7E;
    --ink: var(--c-ink);
    --text: var(--c-ink);
    --muted: var(--c-ink-2);
    --line: var(--c-line);
    --bg: var(--c-bg);
    --bg-soft: var(--c-surface-2);
    --card: var(--c-surface);
    --field: var(--c-surface);
    --outline: var(--c-anthracite);
    --radius: var(--r);
    --shadow: var(--sh-1);
    --shadow-lg: var(--sh-2);
    --font: var(--f-body);
    --font-title: var(--f-display);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--f-body);
    font-size: var(--fs-base);
    line-height: var(--lh-body);
    color: var(--c-ink);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-red-hover); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:not([class]):hover { color: var(--c-ink); }
h1, h2, h3, h4 { font-family: var(--f-display); color: var(--c-ink); line-height: var(--lh-tight); letter-spacing: -.015em; margin: 0 0 .5em; font-weight: 700; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 650; }
h4 { font-size: var(--fs-h4); font-weight: 650; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li + li { margin-top: .35em; }
strong { font-weight: 650; }
svg { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 4px; }
::selection { background: var(--c-red); color: #fff; }

.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.narrow { width: min(var(--narrow), 100% - 32px); margin-inline: auto; }
.center { text-align: center; }
.muted { color: var(--c-ink-2); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: #fff; padding: 10px 14px; border-radius: var(--r-sm); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* Libellé de section */
.eyebrow {
    display: inline-flex; align-items: center; gap: .5em;
    font: 600 var(--fs-xs)/1 var(--f-body);
    letter-spacing: .08em; text-transform: uppercase;
    color: var(--c-ink-2);
    margin: 0 0 var(--s-3);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: var(--c-red); border-radius: 2px; }
.eyebrow--red { color: var(--c-red-hover); }
.eyebrow--light { color: rgba(255, 255, 255, .78); }

.lead { font-size: var(--fs-lead); color: var(--c-ink-2); line-height: 1.6; max-width: 60ch; }

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: var(--btn-h); padding: 0 1.35em;
    border: 1.5px solid transparent; border-radius: var(--r-pill);
    font: 600 var(--fs-sm)/1.1 var(--f-body);
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 1.1em; height: 1.1em; }
.btn--lg { min-height: var(--btn-h-lg); padding: 0 1.6em; font-size: 1rem; }
.btn--sm { min-height: var(--btn-h-sm); padding: 0 1em; font-size: var(--fs-xs); }
.btn--block { width: 100%; }
.btn--red { background: var(--c-red); color: #fff; box-shadow: 0 6px 16px -8px rgba(229, 27, 35, .7); }
.btn--red:hover { background: var(--c-red-hover); color: #fff; }
.btn--dark, .btn--navy { background: var(--c-anthracite); color: #fff; }
.btn--dark:hover, .btn--navy:hover { background: #000; color: #fff; }
.btn--light { background: #fff; color: var(--c-ink); border-color: var(--c-line); }
.btn--light:hover { border-color: var(--c-ink); color: var(--c-ink); }
.btn--outline { background: transparent; color: var(--c-ink); border-color: var(--c-line-strong); }
.btn--outline:hover { border-color: var(--c-ink); color: var(--c-ink); background: #fff; }
.btn--ghost { background: transparent; color: var(--c-ink); }
.btn--ghost:hover { background: var(--c-surface-2); color: var(--c-ink); }
.btn--wa { background: #fff; color: var(--c-ink); border-color: #9FE0B7; }
.btn--wa .wa-icon { color: #1DAA52; width: 1.3em; height: 1.3em; }
.btn--wa:hover { background: #EEFBF2; border-color: #1DAA52; color: var(--c-ink); }
.on-dark .btn--wa, .cta .btn--wa { background: transparent; color: #fff; border-color: rgba(37, 211, 102, .55); }
.cta .btn--wa .wa-icon { color: #25D366; }
.cta .btn--wa:hover { background: rgba(37, 211, 102, .12); color: #fff; border-color: #25D366; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 600; color: var(--c-ink); text-decoration: none; }
.link-arrow::after { content: "→"; color: var(--c-red); transition: transform .18s; }
.link-arrow:hover::after { transform: translateX(3px); }
.link-arrow--light { color: #fff; }
.link-arrow--light:hover { color: #fff; }

/* ---------- Barre supérieure ---------- */
.topbar { background: var(--c-surface-2); color: var(--c-ink-2); font-size: var(--fs-xs); border-bottom: 1px solid var(--c-line); }
.topbar__inner { display: flex; align-items: center; gap: var(--s-5); min-height: 38px; }
.topbar__item { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.topbar__item svg { color: var(--c-red); }
a.topbar__item:hover { color: var(--c-ink); }
.topbar__phone { margin-left: auto; font-weight: 600; color: var(--c-ink); }

/* ---------- En-tête ---------- */
.header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--c-line); transition: box-shadow .2s; }
.header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(25, 27, 30, .35); }
.header__inner { display: flex; align-items: center; gap: var(--s-5); height: var(--header-h); }

.logo { display: inline-grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: .4rem; align-items: baseline; text-decoration: none; flex: none; color: var(--c-ink); line-height: 1; }
.logo__name { font: 800 1.55rem/1 var(--f-display); color: var(--c-ink); letter-spacing: -.03em; }
.logo__name, .logo__garage { white-space: nowrap; }
.logo__garage { font: 800 1.55rem/1 var(--f-display); color: var(--c-red); letter-spacing: -.03em; }
.logo__sub { grid-column: 1 / -1; margin-top: 4px; font: 600 .62rem/1 var(--f-body); letter-spacing: .22em; text-transform: uppercase; color: var(--c-ink-2); }
.logo:hover .logo__name { color: var(--c-red-hover); }
.footer .logo__sub { color: rgba(255, 255, 255, .7); }
.footer .logo__garage { color: #ff4b52; }
.footer .logo__name { color: #fff; }
.footer .logo:hover .logo__name { color: #fff; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav__parent {
    position: relative; display: inline-flex; align-items: center;
    padding: 10px 12px; border-radius: var(--r-sm);
    color: var(--c-ink); font-weight: 550; font-size: var(--fs-sm); text-decoration: none; white-space: nowrap;
}
.nav > a:hover, .nav__parent:hover { background: var(--c-surface-2); color: var(--c-ink); }
.nav > a[aria-current="page"]::after, .nav__parent[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--c-red); border-radius: 2px; }
.nav__group { position: static; display: flex; align-items: center; }
.nav__toggle { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -6px; border: 0; background: none; color: var(--c-ink-2); border-radius: 6px; cursor: pointer; }
.nav__toggle svg { width: 14px; height: 14px; transition: transform .2s; }
.nav__group.is-open .nav__toggle svg { transform: rotate(180deg); }
.nav__menu {
    position: absolute; top: calc(100% - 4px); left: max(16px, calc(50% - 680px)); right: max(16px, calc(50% - 680px));
    display: none; width: auto;
    grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s-5) var(--s-6);
    background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
    padding: var(--s-6) var(--s-6) var(--s-5); box-shadow: var(--sh-3); z-index: 70;
}
.nav__group:hover::after { content: ""; position: absolute; left: 0; right: 0; top: calc(100% - 24px); height: 24px; }
.nav__group::after { content: none; }
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu, .nav__group.is-open .nav__menu { display: grid; }
.nav__col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nav__head { display: flex; align-items: flex-start; gap: 8px; padding: 6px 8px 10px; font-weight: 700; font-size: var(--fs-sm); color: var(--c-ink); text-decoration: none; border-bottom: 1px solid var(--c-line); margin-bottom: 6px; line-height: 1.25; }
.nav__head svg { color: var(--c-red); }
.nav__col a:not(.nav__head) { padding: 7px 8px; border-radius: 6px; font-size: var(--fs-sm); color: var(--c-ink-2); text-decoration: none; line-height: 1.35; }
.nav__col a:not(.nav__head):hover { background: var(--c-surface-2); color: var(--c-ink); }
.nav__promo { grid-column: 1 / -1; background: var(--c-anthracite); color: rgba(255, 255, 255, .82); border-radius: var(--r); padding: var(--s-4) var(--s-5); font-size: var(--fs-sm); display: flex; align-items: center; gap: var(--s-4); line-height: 1.45; }
.nav__promo strong { flex: none; }
.nav__promo span { flex: 1; }
.nav__promo .btn { flex: none; }
.nav__promo strong { color: #fff; font-family: var(--f-display); font-size: 1.05rem; }
.nav__all { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); padding-top: var(--s-1); font-size: var(--fs-sm); color: var(--c-ink-2); }
.nav > a.nav__cta { display: none; }
.header__actions { display: flex; align-items: center; gap: var(--s-2); }
.header__devis { font-weight: 600; font-size: var(--fs-sm); color: var(--c-ink); text-decoration: none; padding: 10px 12px; border-radius: var(--r-sm); white-space: nowrap; }
.header__devis:hover { background: var(--c-surface-2); color: var(--c-ink); }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--c-line); border-radius: var(--r-sm); background: #fff; cursor: pointer; padding: 0 11px; }
.burger span { display: block; height: 2px; background: var(--c-ink); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { padding: var(--s-4) 0 0; font-size: var(--fs-xs); color: var(--c-ink-2); }
.breadcrumb .container { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.breadcrumb a { color: var(--c-ink-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-ink); text-decoration: underline; }
.breadcrumb [aria-hidden] { color: #6E7478; }
.breadcrumb [aria-current] { color: var(--c-ink); font-weight: 550; }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section--tight { padding-top: var(--s-6); }
.section--white { background: var(--c-surface); }
.section--grey { background: var(--c-surface-2); }
.section--dark, .section--navy { background: var(--c-anthracite); color: rgba(255, 255, 255, .78); }
.section--dark h2, .section--dark h3, .section--navy h2, .section--navy h3 { color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: var(--s-5); margin-bottom: var(--s-6); flex-wrap: wrap; }
.section__head h2 { margin: 0; }
.section__head p { margin: var(--s-2) 0 0; color: var(--c-ink-2); max-width: 56ch; }
.section--dark .section__head p { color: rgba(255, 255, 255, .7); }

/* En-tête de page simple (listes, contact, FAQ, légal) */
.pagehead { padding: var(--s-6) 0 var(--s-7); }
.pagehead h1 { margin-bottom: .3em; max-width: 22ch; }
.pagehead p:last-child { margin: 0; color: var(--c-ink-2); font-size: var(--fs-lead); max-width: 60ch; }

/* ---------- Hero d'accueil (seule zone photo sombre plein écran) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--c-anthracite); }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 62%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(14, 15, 17, .92) 0%, rgba(14, 15, 17, .78) 42%, rgba(14, 15, 17, .25) 100%); }
.hero__inner { padding: clamp(4rem, 3rem + 6vw, 8.5rem) 0 clamp(6rem, 5rem + 6vw, 9.5rem); }
.hero .eyebrow { color: rgba(255, 255, 255, .8); }
/* Titre d'accueil : taille fluide, aucun débordement, « à petit prix » reste sur une ligne
   (≈ 6,3 × la taille de police, mesuré de 320 à 1440 px : toujours < largeur du titre) */
.hero__title {
    color: #fff; font-size: var(--fs-display); line-height: 1.08; font-weight: 800;
    max-width: 12em; overflow-wrap: break-word; text-wrap: balance; margin-bottom: .4em;
}
.hero__title .hl {
    display: inline; white-space: nowrap; color: #fff; background: var(--c-red);
    padding: 0 .16em; border-radius: 6px; line-height: 1.3;
    box-decoration-break: clone; -webkit-box-decoration-break: clone;
}
.hero__lead { font-size: var(--fs-lead); max-width: 36em; color: rgba(255, 255, 255, .86); }
.hero__lead strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }
.hero .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .5); }
.hero .btn--outline:hover { background: #fff; color: var(--c-ink); }

/* Recherche rapide (carte flottante) */
.quicksearch { position: relative; z-index: 3; margin-top: -3.25rem; }
.quicksearch__form {
    display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: var(--s-4); align-items: end;
    background: #fff; padding: var(--s-5); border-radius: var(--r-lg); box-shadow: var(--sh-3); border: 1px solid var(--c-line);
}
.quicksearch .btn { min-height: 50px; }

/* Bandeau de réassurance */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-4); margin-top: var(--s-7); }
.trust__item { display: flex; gap: var(--s-3); align-items: flex-start; }
.trust__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--c-red-tint); color: var(--c-red); }
.trust__item strong { display: block; font-family: var(--f-display); font-size: 1rem; }
.trust__item span { font-size: var(--fs-sm); color: var(--c-ink-2); }

/* ---------- En-tête de service / page éditoriale (clair, photo à droite) ---------- */
.phero { padding: var(--s-5) 0 var(--section-y); }
.phero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.phero__cat { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-pill); font-size: var(--fs-xs); font-weight: 600; color: var(--c-ink); text-decoration: none; margin-bottom: var(--s-4); }
.phero__cat svg { color: var(--c-red); width: 18px; height: 18px; }
a.phero__cat:hover { border-color: var(--c-ink); color: var(--c-ink); }
.phero h1 { max-width: 18ch; margin-bottom: .45em; }
.phero__lead { font-size: var(--fs-lead); color: var(--c-ink-2); max-width: 46ch; line-height: 1.6; }
.phero__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }
.phero__facts { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin: var(--s-5) 0 0; padding: 0; list-style: none; font-size: var(--fs-sm); color: var(--c-ink-2); }
.phero__facts li { margin: 0; display: inline-flex; gap: 8px; align-items: center; }
.phero__facts svg { color: var(--c-ok); }
.phero__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--sh-2); background: var(--c-surface-2); }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__credit { position: absolute; left: 12px; bottom: 12px; font-size: .72rem; font-weight: 500; color: var(--c-ink); background: rgba(255, 255, 255, .9); padding: 3px 9px; border-radius: var(--r-pill); }
.phero--article .phero__grid { grid-template-columns: 1fr; }
.phero--article .phero__media { aspect-ratio: 21 / 9; }
.phero--article h1 { max-width: 22ch; }

/* ---------- Mise en page contenu + colonne latérale ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.layout__side { position: sticky; top: calc(var(--header-h) + 20px); }
.layout__main > * + * { margin-top: var(--s-7); }

/* Texte éditorial */
.prose { max-width: var(--measure); }
.prose p, .prose li { color: #33373b; }
.prose a { color: var(--c-red-hover); }
.block > h2 { margin-bottom: var(--s-4); }

/* Panneau blanc (présentation) */
.panel { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); box-shadow: var(--sh-1); }
.panel > :last-child { margin-bottom: 0; }
.panel p { max-width: var(--measure); }

/* Encadré d'information (fond bleu-gris) */
.callout { position: relative; background: var(--c-info); border-radius: var(--r); padding: var(--s-5) var(--s-5) var(--s-5) 64px; }
.callout::before { content: "i"; position: absolute; left: 20px; top: 22px; width: 28px; height: 28px; border-radius: 50%; background: var(--c-anthracite); color: #fff; font: 700 .95rem/28px Georgia, serif; text-align: center; }
.callout h2, .callout h3 { font-size: var(--fs-h4); margin-bottom: .4em; }
.callout p:last-child { margin-bottom: 0; }

/* Point de vigilance (fond ambre) */
.warning { position: relative; background: var(--c-warn); border: 1px solid var(--c-warn-line); border-radius: var(--r); padding: var(--s-5) var(--s-5) var(--s-5) 64px; }
.warning::before { content: "!"; position: absolute; left: 20px; top: 22px; width: 28px; height: 28px; border-radius: 50%; background: #9A6312; color: #fff; font: 800 1rem/28px var(--f-body); text-align: center; }
.warning h2, .warning h3 { font-size: var(--fs-h4); margin-bottom: .4em; }
.warning p:last-child { margin-bottom: 0; }

/* Situations : liste horizontale à icônes */
.situations { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.situation { display: flex; gap: var(--s-4); align-items: flex-start; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: var(--s-4); }
.situation__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c-surface-2); color: var(--c-ink); }
.situation h3 { font-size: 1rem; margin: 2px 0 4px; font-family: var(--f-body); font-weight: 650; letter-spacing: 0; }
.situation p { margin: 0; font-size: var(--fs-sm); color: var(--c-ink-2); }

/* Offre : panneau anthracite avec coches */
.offer { background: var(--c-anthracite); color: rgba(255, 255, 255, .86); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.offer h2 { color: #fff; }
.offer .eyebrow { color: rgba(255, 255, 255, .7); }
.offer__list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3) var(--s-6); }
.offer__list li, .offer .offer__list li { margin: 0; display: flex; gap: 12px; align-items: flex-start; color: rgba(255, 255, 255, .9); }
.offer > p:not(.eyebrow) { color: rgba(255, 255, 255, .85); }
.offer__list li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--c-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / 15px no-repeat; }

/* Étapes numérotées (cartes) */
.stepper { list-style: none; counter-reset: st; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: var(--s-3); }
.stepper li { counter-increment: st; position: relative; margin: 0; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: 54px var(--s-4) var(--s-4); font-size: var(--fs-sm); line-height: 1.5; }
.stepper li::before { content: counter(st, decimal-leading-zero); position: absolute; left: var(--s-4); top: var(--s-4); font: 800 1.35rem/1 var(--f-display); color: var(--c-red); }
.stepper li::after { content: ""; position: absolute; left: calc(var(--s-4) + 40px); right: var(--s-4); top: calc(var(--s-4) + 11px); height: 1px; background: var(--c-line); }

/* Timeline verticale (achat) */
.timeline { list-style: none; counter-reset: t; padding: 0; margin: 0; }
.timeline li { counter-increment: t; position: relative; padding: 4px 0 22px 54px; margin: 0; }
.timeline li::before { content: counter(t); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 1.5px solid var(--c-red); color: var(--c-red-hover); display: grid; place-items: center; font: 700 1rem/1 var(--f-display); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 17px; top: 40px; bottom: 4px; width: 2px; background: var(--c-line); }

/* Documents / infos à préparer : checklist « papier » */
.docs { background: #fff; border: 1.5px dashed var(--c-line-strong); border-radius: var(--r); padding: var(--s-5); }
.docs__head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s-4); }
.docs__head svg { width: 28px; height: 28px; color: var(--c-anthracite); }
.docs__head h2 { font-size: var(--fs-h3); margin: 0; }
.docs ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.docs li { margin: 0; display: flex; gap: 12px; align-items: flex-start; font-size: var(--fs-sm); }
.docs li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border: 1.5px solid var(--c-line-strong); border-radius: 4px; background: #fff; }

/* Listes à coches simples */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { position: relative; padding-left: 28px; margin: 0 0 .55em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23E51B23' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6 11-11-1.4-1.4z'/%3E%3C/svg%3E") center / contain no-repeat; }
.checks--2 { columns: 2; column-gap: var(--s-6); }
.checks--2 li { break-inside: avoid; }

/* Sous-services : cartes illustrées verticales */
.subcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--s-4); }
.subcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--c-ink); box-shadow: var(--sh-1); transition: transform .2s, box-shadow .2s; }
.subcard:hover { transform: translateY(-3px); box-shadow: var(--sh-2); color: var(--c-ink); }
.subcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.subcard__body { display: flex; flex-direction: column; gap: 6px; padding: var(--s-4) var(--s-4) var(--s-5); font-size: var(--fs-sm); color: var(--c-ink-2); flex: 1; }
.subcard__body strong { font-family: var(--f-display); font-size: 1.1rem; color: var(--c-ink); font-weight: 700; }
.subcard__go { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--c-red-hover); }

/* FAQ : accordéons */
.faqwrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.faqwrap__intro p { color: var(--c-ink-2); }
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--c-line-strong); box-shadow: var(--sh-1); }
.faq summary { cursor: pointer; list-style: none; position: relative; padding: 18px 60px 18px 20px; font-weight: 600; color: var(--c-ink); border-radius: var(--r); line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 18px; top: 50%; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; background: var(--c-surface-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23202326' d='M11 5h2v14h-2zM5 11h14v2H5z'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--c-red-tint); }
.faq details > div { padding: 0 20px 18px; color: #33373b; }
.faq details > div p:last-child { margin: 0; }

.source { display: flex; gap: 10px; font-size: var(--fs-sm); color: var(--c-ink-2); padding: var(--s-4); border-radius: var(--r); background: var(--c-surface-2); }
.source::before { content: "§"; font-weight: 700; color: var(--c-ink); }

/* Carte de contact latérale (compacte, claire) */
.ctacard { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--sh-2); display: grid; gap: 10px; }
.ctacard__title { font: 700 1.2rem/1.2 var(--f-display); color: var(--c-ink); margin: 0; }
.ctacard__text { margin: 0 0 6px; font-size: var(--fs-sm); color: var(--c-ink-2); }
.ctacard__info { margin-top: 8px; padding-top: var(--s-4); border-top: 1px solid var(--c-line); font-size: var(--fs-xs); color: var(--c-ink-2); display: grid; gap: 8px; }
.ctacard__info p { margin: 0; }
.ctacard__info strong { color: var(--c-ink); }

/* Formulaires */
.formwrap { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.formwrap__intro p { color: var(--c-ink-2); }
.formwrap__form, .contact__form { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); box-shadow: var(--sh-2); }
.formwrap__points { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: var(--s-3); }
.formwrap__points li { margin: 0; display: flex; gap: 10px; color: var(--c-ink-2); font-size: var(--fs-sm); }
.formwrap__points li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--c-red); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-4); }
.field > span { font-weight: 600; font-size: var(--fs-sm); color: var(--c-ink); }
.field--inline { margin: 0; }
input[type=text], input[type=search], input[type=url], input[type=tel], input[type=email], input[type=number], input[type=password], select, textarea {
    width: 100%; min-height: 50px; font: inherit; font-size: 1rem; color: var(--c-ink);
    padding: 12px 14px; border: 1.5px solid var(--c-line-strong); border-radius: var(--r-sm); background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
select { padding-block: 0; appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2362686D' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") right 12px center / 20px no-repeat; padding-right: 40px; }
textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
input:hover, select:hover, textarea:hover { border-color: #a9afb3; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--c-ink); box-shadow: 0 0 0 4px rgba(32, 35, 38, .1); }
[aria-invalid="true"] { border-color: var(--c-red) !important; background-color: #fffafa; }
.field__error { color: #B3121A; font-weight: 600; font-size: var(--fs-xs); }
.form__about { background: var(--c-surface-2); border-radius: var(--r-sm); padding: 12px 14px; font-size: var(--fs-sm); }
.form__note { font-size: var(--fs-xs); color: var(--c-ink-2); margin: var(--s-3) 0 0; }
.check { display: flex; gap: 12px; align-items: center; font-weight: 550; color: var(--c-ink); cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--c-red); flex: none; }
.check--consent { align-items: flex-start; font-weight: 400; font-size: var(--fs-sm); margin: 4px 0 var(--s-4); color: var(--c-ink-2); }
.check--consent input { margin-top: 2px; }

.alert { padding: 14px 16px 14px 46px; border-radius: var(--r-sm); margin-bottom: var(--s-4); position: relative; font-size: var(--fs-sm); border: 1px solid; }
.alert::before { position: absolute; left: 18px; top: 13px; font-weight: 800; }
.alert--success { background: #ECF7F0; border-color: #A8D9BD; color: #12482D; }
.alert--success::before { content: "✓"; color: var(--c-ok); }
.alert--error { background: var(--c-red-tint); border-color: #F2B8BA; color: #7A0F14; }
.alert--error::before { content: "!"; color: var(--c-red); }
.alert--warn { background: var(--c-warn); border-color: var(--c-warn-line); color: #5C3B07; }
.alert--warn::before { content: "!"; color: #9A6312; }

/* Liens complémentaires (cartes horizontales) */
.linkcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s-3); }
.linkcard { position: relative; display: flex; align-items: center; gap: var(--s-4); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: var(--s-4) 48px var(--s-4) var(--s-4); text-decoration: none; color: var(--c-ink); transition: border-color .18s, box-shadow .18s; }
.linkcard:hover { border-color: var(--c-ink); box-shadow: var(--sh-1); color: var(--c-ink); }
.linkcard__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--c-surface-2); color: var(--c-red); }
.linkcard__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.linkcard__type { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-ink-2); font-weight: 600; }
.linkcard strong { font-weight: 650; line-height: 1.3; }
.linkcard__arrow { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--c-red); font-size: 1.2rem; transition: transform .18s; }
.linkcard:hover .linkcard__arrow { transform: translate(3px, -50%); }

/* Bandeau d'appel final (anthracite) */
.cta { background: var(--c-anthracite); color: rgba(255, 255, 255, .8); border-radius: var(--r-lg); padding: clamp(1.75rem, 1rem + 3vw, 3.25rem); display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: var(--s-6); align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.cta::after { content: ""; position: absolute; right: -70px; top: -70px; width: 240px; height: 240px; border-radius: 50%; border: 38px solid rgba(229, 27, 35, .18); pointer-events: none; z-index: -1; }
.cta h2 { color: #fff; margin-bottom: .3em; }
.cta p { margin: 0; max-width: 52ch; }
.cta .eyebrow { color: rgba(255, 255, 255, .7); }
.cta__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.cta .btn--outline { color: #fff; border-color: rgba(255, 255, 255, .45); }
.cta .btn--outline:hover { background: #fff; color: var(--c-ink); }
.prefooter { padding: var(--section-y) 0; }

/* ---------- Cartes véhicules ---------- */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); transition: transform .22s, box-shadow .22s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--c-surface-2); overflow: hidden; display: block; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: var(--s-4) var(--s-5) var(--s-5); display: flex; flex-direction: column; flex: 1; }
.card__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-3); }
.card__title { margin: 0; font-size: 1.2rem; }
.card__title a { color: var(--c-ink); text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; }
.card__price { font: 800 1.3rem/1 var(--f-display); color: var(--c-ink); white-space: nowrap; letter-spacing: -.02em; }
.card__version { color: var(--c-ink-2); font-size: var(--fs-sm); margin: 4px 0 var(--s-4); }
.card .btn { margin-top: auto; position: relative; z-index: 1; }
.card--sold .card__media img { filter: grayscale(.8); opacity: .75; }
.specs { list-style: none; padding: 0; margin: 0 0 var(--s-4); display: flex; flex-wrap: wrap; gap: 6px; }
.specs li { margin: 0; font-size: var(--fs-xs); font-weight: 550; background: var(--c-surface-2); color: var(--c-ink); padding: 5px 10px; border-radius: var(--r-pill); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; font: 700 .72rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .06em; padding: 7px 10px; border-radius: var(--r-pill); color: #fff; }
.badge--reserve { background: #9A6312; }
.badge--vendu { background: var(--c-anthracite); }
.badge--lg { font-size: .85rem; padding: 9px 14px; }
.empty { text-align: center; padding: var(--s-7) var(--s-5); background: #fff; border: 1px dashed var(--c-line-strong); border-radius: var(--r-lg); }

/* ---------- Accueil ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: var(--s-4); }
.bento__item { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; border-radius: var(--r-lg); overflow: hidden; padding: var(--s-5); text-decoration: none; color: var(--c-ink); transition: transform .22s, box-shadow .22s; }
.bento__item:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.bento__item h3 { font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); margin-bottom: .35em; }
.bento__item p { margin: 0 0 var(--s-3); font-size: var(--fs-sm); max-width: 40ch; }
.bento__go { font-weight: 600; font-size: var(--fs-sm); }
.bento__photo { color: #fff; grid-row: span 2; }
.bento__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.bento__photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14, 15, 17, .05) 25%, rgba(14, 15, 17, .9) 100%); }
.bento__photo:hover img { transform: scale(1.04); }
.bento__photo h3, .bento__photo .bento__go { color: #fff; }
.bento__photo p { color: rgba(255, 255, 255, .85); }
.bento__dark { background: var(--c-anthracite); color: rgba(255, 255, 255, .8); }
.bento__dark p, .bento__dark:hover p { color: rgba(255, 255, 255, .82); }
.bento__photo p, .bento__photo:hover p { color: rgba(255, 255, 255, .88); }
.bento__white p, .bento__white:hover p { color: var(--c-ink-2); }
.bento__item:hover h3 { color: inherit; }
.bento__dark:hover h3, .bento__photo:hover h3 { color: #fff; }
.bento__white:hover h3 { color: var(--c-ink); }
.bento__dark h3, .bento__dark .bento__go { color: #fff; }
.bento__white { background: #fff; border: 1px solid var(--c-line); }
.bento__white .bento__go { color: var(--c-red-hover); }
.bento__white p { color: var(--c-ink-2); }
.bento__icon { position: absolute; top: var(--s-5); left: var(--s-5); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--c-red); color: #fff; }
.bento__icon svg { width: 24px; height: 24px; }
.bento__white .bento__icon { background: var(--c-red-tint); color: var(--c-red); }
.bento__tag { position: absolute; top: var(--s-5); right: var(--s-5); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); color: var(--c-ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-5); }
.chip { display: inline-flex; padding: 8px 14px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--c-line); font-size: var(--fs-sm); color: var(--c-ink); text-decoration: none; }
.chip:hover { border-color: var(--c-ink); color: var(--c-ink); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.split__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--sh-2); position: relative; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__text p { color: #33373b; }
.split__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-5); }

.garagebox { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border-radius: var(--r-lg); overflow: hidden; background: var(--c-anthracite-2); }
.garagebox__media { min-height: 380px; position: relative; }
.garagebox__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.garagebox__body { padding: clamp(1.75rem, 1rem + 3vw, 3rem); color: rgba(255, 255, 255, .8); }
.garagebox__body h2 { color: #fff; }
.facts { list-style: none; padding: 0; margin: var(--s-5) 0; display: grid; gap: var(--s-3); }
.facts li { margin: 0; display: flex; gap: 12px; align-items: flex-start; }
.facts svg { color: var(--c-red); margin-top: 3px; }
.facts strong { color: #fff; display: block; font-weight: 600; }

/* Conseils (magazine) */
.guides { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.guides--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.guide { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--c-ink); transition: transform .2s, box-shadow .2s; }
.guide:hover { transform: translateY(-3px); box-shadow: var(--sh-2); color: var(--c-ink); }
.guide__img { display: block; overflow: hidden; }
.guide__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.guide__body { padding: var(--s-5); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.guide__body h2, .guide__body h3 { font-size: 1.2rem; margin: 0; }
.guide__body p { margin: 0; font-size: var(--fs-sm); color: var(--c-ink-2); }
.guide__kicker { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--c-red-hover); }
.svc__more { margin-top: auto; padding-top: 6px; font-weight: 600; font-size: var(--fs-sm); color: var(--c-red-hover); }

.article { max-width: 720px; margin-inline: auto; }
.article .block > h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.75rem); }
.article .block p, .article .block li { font-size: 1.0625rem; line-height: 1.75; color: #2c3034; }
.article .block + .block { margin-top: var(--s-7); }
.takeaways { background: #fff; border: 1px solid var(--c-line); border-top: 4px solid var(--c-red); border-radius: var(--r); padding: var(--s-5); margin-bottom: var(--s-7); box-shadow: var(--sh-1); }
.takeaways__title { font: 700 1.05rem/1.2 var(--f-display); margin-bottom: var(--s-3); }
.takeaways .checks li:last-child { margin-bottom: 0; }
.srvlink { display: grid; grid-template-columns: 180px 1fr; gap: var(--s-5); align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--c-ink); margin-top: var(--s-7); transition: box-shadow .2s; }
.srvlink:hover { box-shadow: var(--sh-2); color: var(--c-ink); }
.srvlink img { width: 100%; height: 100%; min-height: 140px; object-fit: cover; }
.srvlink > span { display: flex; flex-direction: column; gap: 6px; padding: var(--s-4) var(--s-4) var(--s-4) 0; }
.srvlink strong { font-family: var(--f-display); font-size: 1.15rem; }

/* Familles (page Services) */
.families { display: grid; gap: var(--s-6); }
.family { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.family:nth-child(even) .family__media { order: 2; }
.family__media { position: relative; display: block; min-height: 320px; }
.family__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.family__icon { position: absolute; left: var(--s-5); bottom: var(--s-5); width: 52px; height: 52px; border-radius: 14px; background: #fff; color: var(--c-red); display: grid; place-items: center; box-shadow: var(--sh-2); }
.family__icon svg { width: 26px; height: 26px; }
.family__body { padding: clamp(1.5rem, 1rem + 2.5vw, 3rem); align-self: center; }
.family__body p { color: var(--c-ink-2); }
.family__body h2 a { color: var(--c-ink); text-decoration: none; }
.family__body h2 a:hover { color: var(--c-red-hover); }
.family__links { list-style: none; padding: 0; margin: 0 0 var(--s-5); display: flex; flex-wrap: wrap; gap: 8px; }
.family__links li { margin: 0; }
.family__links a { display: inline-block; padding: 7px 13px; border: 1px solid var(--c-line); border-radius: var(--r-pill); font-size: var(--fs-sm); color: var(--c-ink); text-decoration: none; background: var(--c-bg); }
.family__links a:hover { border-color: var(--c-ink); }

/* Bandeau devis (page Services) */
.devis { padding: 0 0 var(--s-7); }
.devis__inner { display: flex; align-items: center; gap: var(--s-5); flex-wrap: wrap; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-5) var(--s-6); box-shadow: var(--sh-1); }
.devis__badge { flex: none; display: grid; place-items: center; align-content: center; width: 76px; height: 76px; border-radius: 50%; background: var(--c-red-tint); color: var(--c-red-hover); font-family: var(--f-display); line-height: .95; text-align: center; }
.devis__badge strong { font-size: 1.6rem; font-weight: 800; }
.devis__badge span { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; }
.devis__text { flex: 1 1 320px; }
.devis__text h2 { font-size: var(--fs-h3); margin-bottom: .25em; }
.devis__text p { margin: 0; color: var(--c-ink-2); font-size: var(--fs-sm); }
.devis__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; }

/* Tuiles (page garage) */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-3); }
.tile { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: var(--s-4) var(--s-5); }
.tile h3 { font-size: 1.05rem; margin: 0 0 4px; font-family: var(--f-body); letter-spacing: 0; font-weight: 650; }
.tile p { margin: 0; font-size: var(--fs-sm); color: var(--c-ink-2); }
.tile--link { text-decoration: none; color: var(--c-ink); transition: border-color .18s, box-shadow .18s; }
.tile--link:hover { border-color: var(--c-ink); box-shadow: var(--sh-1); color: var(--c-ink); }

/* ---------- Catalogue ---------- */
.listing { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: var(--s-6); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filters__box { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--sh-1); }
.filters__box summary { font: 700 1.05rem/1 var(--f-display); cursor: pointer; list-style: none; margin-bottom: var(--s-4); display: flex; justify-content: space-between; align-items: center; }
.filters__box summary::-webkit-details-marker { display: none; }
.filters__fields .field { margin-bottom: var(--s-3); }
.filters__fields .btn { margin-top: 6px; }
.listing__bar { display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); margin-bottom: var(--s-4); flex-wrap: wrap; }
.listing__count { margin: 0; color: var(--c-ink-2); font-weight: 550; }
.sort label { display: flex; align-items: center; gap: 10px; font-weight: 550; font-size: var(--fs-sm); }
.sort select { width: auto; min-height: 42px; }

/* ---------- Fiche véhicule ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.detail__side { position: sticky; top: calc(var(--header-h) + 20px); }
.detail__head h1 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); margin-bottom: .2em; }
.detail__head h1 small, .detail__h small { display: block; font: 500 1rem var(--f-body); color: var(--c-ink-2); margin-top: 6px; letter-spacing: 0; }
.detail__h { font: 800 clamp(1.6rem, 6vw, 2.2rem)/1.15 var(--f-display); color: var(--c-ink); margin: 0 0 .25em; letter-spacing: -.02em; }
.detail__price { font: 800 2.3rem/1 var(--f-display); color: var(--c-ink); margin: var(--s-3) 0 4px; letter-spacing: -.02em; }
.detail__ref { color: var(--c-ink-2); font-size: var(--fs-xs); margin: 0 0 var(--s-4); }
.detail__head--mobile { display: none; }
.gallery__main { position: relative; aspect-ratio: 4 / 3; background: var(--c-surface-2); border-radius: var(--r-lg); overflow: hidden; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--c-ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: var(--sh-2); }
.gallery__nav--prev { left: 14px; }
.gallery__nav--next { right: 14px; }
.gallery__count { position: absolute; right: 14px; bottom: 14px; background: rgba(25, 27, 30, .78); color: #fff; font-size: var(--fs-xs); padding: 4px 10px; border-radius: var(--r-pill); }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumbs button { flex: none; width: 92px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: var(--r-sm); overflow: hidden; cursor: pointer; background: none; opacity: .65; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--c-red); opacity: 1; }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vblock { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(1.25rem, 1rem + 1vw, 2rem); margin-top: var(--s-5); }
.vblock h2 { font-size: var(--fs-h3); margin-bottom: var(--s-4); }
.vblock > :last-child { margin-bottom: 0; }
.vblock--note { background: var(--c-info); border-color: transparent; }
.spectable { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s-6); margin: 0; }
.spectable div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--c-line); font-size: var(--fs-sm); }
.spectable dt { color: var(--c-ink-2); }
.spectable dd { margin: 0; font-weight: 650; text-align: right; }
.equip { columns: 2; padding: 0; list-style: none; margin: 0; }
.equip li { padding: 5px 0 5px 26px; position: relative; break-inside: avoid; margin: 0; font-size: var(--fs-sm); }
.equip li::before { content: "✓"; position: absolute; left: 0; color: var(--c-ok); font-weight: 800; }
.contactbox { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-5); box-shadow: var(--sh-2); }
.contactbox__lead { font-weight: 600; font-size: var(--fs-sm); margin-bottom: var(--s-3); }
.contactbox__actions { display: grid; gap: 10px; }
.contactbox__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contactbox__where { margin: var(--s-4) 0 0; padding-top: var(--s-4); border-top: 1px solid var(--c-line); font-size: var(--fs-xs); color: var(--c-ink-2); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
.contact__cards { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); }
.ccard { display: flex; flex-direction: column; gap: 6px; padding: var(--s-5); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none; transition: transform .18s, box-shadow .18s; min-width: 0; }
a.ccard:hover { transform: translateY(-2px); box-shadow: var(--sh-2); color: var(--c-ink); }
.ccard__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: var(--c-ink-2); }
.ccard__value { font: 700 1.1rem/1.25 var(--f-display); overflow-wrap: anywhere; }
.ccard--red { background: var(--c-red); border-color: var(--c-red); color: #fff; }
.ccard--red .ccard__label { color: #fff; }
.ccard--red .ccard__value { font-size: 1.5rem; }
a.ccard--red:hover { color: #fff; }
.ccard--wa { background: #fff; border-color: #9FE0B7; color: var(--c-ink); }
.ccard--wa .ccard__label { color: #13703A; display: inline-flex; align-items: center; gap: 6px; }
.ccard--wa .wa-icon { color: #1DAA52; width: 18px; height: 18px; }
a.ccard--wa:hover { color: var(--c-ink); border-color: #1DAA52; }
.ccard--plain { grid-column: 1 / -1; }

/* Horaires */
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border-bottom: 1px solid var(--c-line); margin: 0; font-size: var(--fs-sm); }
.hours li:last-child { border-bottom: 0; }
.hours--big { max-width: 420px; }
.hours--big li span:first-child { font-weight: 600; }

/* Accès + carte */
.access { background: var(--c-surface); border-top: 1px solid var(--c-line); }
.access__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.access__address { font-size: 1.15rem; font-weight: 600; }
.access__actions { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-5); }
.mapbox { position: relative; min-height: 360px; border-radius: var(--r-lg); overflow: hidden; background: var(--c-surface-2); border: 1px solid var(--c-line); }
.mapbox iframe { display: block; width: 100%; height: 380px; border: 0; }
.mapbox__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 12px; align-items: center; justify-content: center; text-align: center; padding: var(--s-5); background: repeating-linear-gradient(45deg, #eef0ef 0 12px, #e7eae9 12px 24px); color: var(--c-ink-2); }
.mapbox__placeholder p { margin: 0; font-size: var(--fs-sm); max-width: 32ch; }

/* Étapes de la page devis */
.devis-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); margin-bottom: var(--s-5); }
.devis-steps div { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--c-line); border-radius: var(--r); padding: var(--s-4); }
.devis-steps span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--c-anthracite); color: #fff; display: grid; place-items: center; font: 700 .95rem/1 var(--f-display); }
.devis-steps p { margin: 0; font-size: var(--fs-sm); }

/* FAQ générale : navigation par thème */
.faqnav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s-6); }
.layout__main > .faqgroup + .faqgroup, .faqgroup + .faqgroup { margin-top: var(--s-7); }
.layout__main > .faqnav + .faqgroup { margin-top: 0; }
.faqnav { margin-top: 0 !important; }
.faqgroup h2 { font-size: var(--fs-h3); margin-bottom: var(--s-4); }

/* Pages légales */
.legal { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 3vw, 3.5rem); }
.legal h2 { font-size: 1.2rem; margin-top: var(--s-6); }
.legal h2:first-child { margin-top: 0; }
.legal p { color: #33373b; }
.cookiepref { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; background: var(--c-surface-2); border-radius: var(--r); padding: var(--s-4); margin-bottom: var(--s-5); }
.cookiepref p { margin: 0 12px 0 0; }

.notfound { text-align: center; }
.notfound__code { font: 800 clamp(5rem, 18vw, 9rem)/1 var(--f-display); color: var(--c-red); margin: 0; letter-spacing: -.04em; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); justify-content: center; margin-top: var(--s-5); }

/* ---------- Pied de page ---------- */
.footer { background: var(--c-anthracite); color: rgba(255, 255, 255, .72); font-size: var(--fs-sm); }
.footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer h3 { color: #fff; font: 600 .78rem/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--s-4); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: var(--s-6); padding: var(--s-8) 0 var(--s-7); }
.footer__text { margin-top: var(--s-4); max-width: 30em; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__links li { margin: 0; }
.footer .hours li { border-color: rgba(255, 255, 255, .12); }
.footer__bottom { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .12); padding: var(--s-5) 0 var(--s-6); font-size: var(--fs-xs); }
.footer__legal { display: flex; gap: var(--s-4); flex-wrap: wrap; }
.footer__credit { display: flex; justify-content: center; padding: 0 0 var(--s-6); }
.footer__credit a { display: inline-flex; align-items: center; gap: .75rem; color: rgba(255, 255, 255, .8); font-size: var(--fs-xs); text-decoration: none; padding: .4rem .6rem; border-radius: 8px; transition: color .18s, background .18s; }
.footer__credit a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.footer__credit img { display: block; height: 26px; width: auto; }
@media (max-width: 560px) { .footer__credit img { height: 22px; } }
.footer__maps { margin-top: var(--s-4); }
.flags { display: none; }

/* Barre de contact mobile */
.mobilebar { display: none; }

/* Apparition au défilement (discrète) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .nav__menu { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1100px) {
    .header__devis { display: none; }
    .nav > a, .nav__parent { padding: 10px 9px; }
}
@media (max-width: 1024px) {
    .layout, .formwrap, .faqwrap, .access__grid, .contact, .garagebox { grid-template-columns: minmax(0, 1fr); }
    .layout__side { position: static; }
    .detail { grid-template-columns: minmax(0, 1fr) 320px; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trust { grid-template-columns: repeat(2, 1fr); }
    .guides--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    :root { --header-h: 64px; }
    body { padding-bottom: 68px; }
    body.admin { padding-bottom: 0; }
    .topbar__hours { display: none; }
    .header__inner { gap: var(--s-3); }
    .header__actions { display: none; }
    .burger { display: block; }
    .header { backdrop-filter: none; background: #fff; }
    html.nav-open { overflow: hidden; }
    .nav {
        position: absolute; left: 0; right: 0; top: 100%; height: calc(100dvh - var(--header-h));
        flex-direction: column; align-items: stretch; gap: 0; margin: 0;
        background: #fff; padding: var(--s-3) var(--s-4) calc(var(--s-7) + 68px);
        overflow-y: auto; display: none; border-top: 1px solid var(--c-line);
    }
    .nav.is-open { display: flex; }
    .nav > a, .nav__parent { padding: 16px 6px; font-size: 1.05rem; border-radius: 0; border-bottom: 1px solid var(--c-line); }
    .nav__group { flex-wrap: wrap; }
    .nav__group .nav__parent { flex: 1; }
    .nav__toggle { width: 52px; height: 58px; margin: 0; border-bottom: 1px solid var(--c-line); border-radius: 0; color: var(--c-ink); }
    .nav__toggle svg { width: 26px; height: 26px; }
    .nav__group.is-open .nav__toggle { color: var(--c-red); }
    .nav__group::after { display: none; }
    .nav__menu { position: static; transform: none; width: 100%; display: none; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); box-shadow: none; border: 0; border-radius: 0; padding: var(--s-4) 0 var(--s-4) var(--s-3); background: var(--c-bg); }
    .nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu { display: none; }
    .nav__group.is-open .nav__menu { display: grid; }
    .nav__promo, .nav__all { display: none; }
    .nav > a[aria-current="page"]::after, .nav__parent[aria-current="page"]::after { display: none; }
    .nav > a[aria-current="page"], .nav__parent[aria-current="page"] { color: var(--c-red-hover); }
    .nav > a.nav__cta { display: flex; margin-top: var(--s-5); border-bottom: 0; color: #fff; justify-content: center; border-radius: var(--r-pill); }
    .nav__col a:not(.nav__head) { padding: 10px 8px; }
    .quicksearch { margin-top: -2.5rem; }
    .quicksearch__form { grid-template-columns: 1fr 1fr; }
    .quicksearch__form .field:first-child, .quicksearch__form .btn { grid-column: 1 / -1; }
    .phero__grid, .split { grid-template-columns: minmax(0, 1fr); }
    .phero__media { order: -1; aspect-ratio: 16 / 9; }
    .listing { grid-template-columns: minmax(0, 1fr); }
    .filters { position: static; }
    .filters__box:not([open]) summary { margin-bottom: 0; }
    .detail { grid-template-columns: minmax(0, 1fr); }
    .detail__side { position: static; }
    .detail__side .detail__head { display: none; }
    .detail__head--mobile { display: block; margin-top: var(--s-5); }
    .spectable { grid-template-columns: minmax(0, 1fr); }
    .family { grid-template-columns: minmax(0, 1fr); }
    .family:nth-child(even) .family__media { order: 0; }
    .family__media { min-height: 220px; }
    .guides, .tiles, .situations { grid-template-columns: minmax(0, 1fr); }
    .offer__list { grid-template-columns: minmax(0, 1fr); }
    .checks--2 { columns: 1; }
    .devis-steps { grid-template-columns: minmax(0, 1fr); }
    .cta { grid-template-columns: minmax(0, 1fr); }
    .section__head { align-items: start; }
    .mobilebar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 65; background: rgba(255, 255, 255, .97); border-top: 1px solid var(--c-line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; }
    .mobilebar a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: var(--r-pill); font-weight: 650; text-decoration: none; }
    .mobilebar__call { background: var(--c-red); color: #fff; }
    .mobilebar__wa { background: #fff; color: var(--c-ink); border: 1.5px solid #9FE0B7; }
    .mobilebar__wa .wa-icon { color: #1DAA52; width: 22px; height: 22px; }
    .garagebox__media { min-height: 240px; }
}
@media (max-width: 560px) {
    .grid, .grid--3, .bento, .guides--4, .trust { grid-template-columns: minmax(0, 1fr); }
    .bento__photo { grid-row: auto; min-height: 300px; }
    .form__row, .contact__cards { grid-template-columns: minmax(0, 1fr); }
    .equip { columns: 1; }
    .footer__grid { grid-template-columns: minmax(0, 1fr); }
    .hero__actions .btn, .phero__actions .btn, .notfound__actions .btn, .cta__actions .btn { width: 100%; }
    .topbar__item:first-child { display: none; }
    .topbar__phone { margin-left: 0; }
    .srvlink { grid-template-columns: minmax(0, 1fr); }
    .srvlink > span { padding: 0 var(--s-4) var(--s-4); }
    .callout, .warning { padding: 58px var(--s-4) var(--s-4); }
    .callout::before, .warning::before { left: var(--s-4); top: var(--s-4); }
    .stepper li::after { display: none; }
    .contactbox__row { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* Offre mise en avant (accueil) : distribution dès 99 € */
.promo-wrap { padding: 0 0 var(--section-y); }
.promo { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) auto; align-items: center; gap: var(--s-6); background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-2); }
.promo__media { align-self: stretch; min-height: 260px; position: relative; }
.promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo__body { padding: var(--s-6) 0; }
.promo__body h2 { margin-bottom: .35em; }
.promo__body p { color: #33373b; max-width: 52ch; }
.promo__actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-4); }
.promo__note { font-size: var(--fs-xs); color: var(--c-ink-2) !important; margin: var(--s-3) 0 0; }
.promo__price { margin-right: var(--s-6); display: grid; place-items: center; align-content: center; width: 168px; height: 168px; border-radius: 50%; background: var(--c-red); color: #fff; text-align: center; box-shadow: 0 18px 40px -16px rgba(229, 27, 35, .8); flex: none; }
.promo__price span { font: 700 .8rem/1.2 var(--f-body); letter-spacing: .06em; text-transform: uppercase; color: #fff; }
.promo__price strong { font: 800 3.1rem/1 var(--f-display); letter-spacing: -.03em; }
@media (max-width: 1024px) {
    .promo { grid-template-columns: minmax(0, 1fr) auto; }
    .promo__media { grid-column: 1 / -1; min-height: 0; aspect-ratio: 2 / 1; max-height: 320px; width: 100%; }
    .promo__body { padding: 0 0 var(--s-6) var(--s-6); }
}
@media (max-width: 680px) {
    .promo { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .promo__body { padding: var(--s-5); padding-top: 0; }
    .promo__media { order: -2; }
    .promo__price { order: -1; margin: var(--s-5) var(--s-5) var(--s-4); width: auto; height: auto; border-radius: var(--r); padding: var(--s-4) var(--s-5); display: flex; justify-content: center; gap: 12px; align-items: baseline; }
    .promo__price strong { font-size: 2.4rem; }
    .promo__actions .btn { width: 100%; }
}
@media (max-width: 560px) {
    .logo__name, .logo__garage { font-size: 1.3rem; }
    .logo { column-gap: .3rem; }
}
@media (max-width: 560px) {
    .devis__inner { padding: var(--s-5); }
    .devis__actions { width: 100%; }
    .devis__actions .btn { flex: 1 1 100%; }
}
@media (max-width: 400px) {
    .btn { white-space: normal; text-align: center; line-height: 1.2; padding-block: .6em; }
}
@media (min-width: 561px) and (max-width: 860px) {
    .phero__media { aspect-ratio: 21 / 9; }
}

/* ---------- Corrections de mise en page (grilles sans case vide) ---------- */
.trustbar { padding: var(--s-6) 0 var(--s-7); }
.trustbar .trust { margin-top: 0; }
.subcards { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.subcards[style*="--cols: 1"] { max-width: 860px; }
.subcards[style*="--cols: 1"] .subcard { flex-direction: row; }
.subcards[style*="--cols: 1"] .subcard img { width: 44%; aspect-ratio: auto; min-height: 220px; flex: none; }
.subcards[style*="--cols: 1"] .subcard__body { justify-content: center; padding: var(--s-5); }
.linkcards { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.tiles > :last-child:nth-child(odd), .contact__cards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
.tiles--fill { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tiles--fill > :last-child:nth-child(odd) { grid-column: auto; }
@media (max-width: 1024px) {
    .subcards:not([style*="--cols: 1"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
    .subcards[style*="--cols: 1"] .subcard { flex-direction: column; }
    .subcards[style*="--cols: 1"] .subcard img { width: 100%; aspect-ratio: 16 / 10; min-height: 0; }
}
@media (max-width: 560px) {
    .subcards { grid-template-columns: minmax(0, 1fr); }
    .trustbar { padding: var(--s-5) 0; }
}
@media (min-width: 561px) and (max-width: 1024px) {
    .linkcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .linkcards > :last-child:nth-child(odd) { grid-column: 1 / -1; }
}
