/* ==========================================================================
   Innov'Car — feuille de styles du site public
   Identité : noir profond, rouge Innov'Car, blanc. Mobile d'abord.
   ========================================================================== */

:root {
  --ink: #0e0f11;
  --ink-2: #17191d;
  --ink-3: #23262c;
  --graphite: #3a3e46;
  --muted: #646a74;
  --muted-2: #8b919b;
  --line: #e7e7ea;
  --line-2: #d9dadf;
  --paper: #ffffff;
  --mist: #f5f5f6;
  --mist-2: #eeeef0;
  --red: #e3101b;
  --red-dark: #b80d16;
  --red-soft: #fdecec;
  --green: #138a45;
  --wa: #1fa855;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(14, 15, 17, .06), 0 1px 3px rgba(14, 15, 17, .05);
  --shadow: 0 10px 30px -12px rgba(14, 15, 17, .22);
  --shadow-lg: 0 30px 60px -20px rgba(14, 15, 17, .35);
  --font: "Inter", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  padding-bottom: 64px;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; letter-spacing: -0.022em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2rem, 6.2vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.container-narrow { width: min(780px, 100% - 40px); }
.center { text-align: center; }
.rounded { border-radius: var(--radius-lg); }

/* ----- Boutons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.25em; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 54px; padding: .8em 1.5em; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px -10px rgba(227, 16, 27, .8); }
.btn-red:hover { background: var(--red-dark); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-3); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .2); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-ghost-dark { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost-dark:hover { background: var(--ink); color: #fff; }
.btn-whatsapp { background: var(--wa); color: #fff; }
.btn-whatsapp:hover { background: #188c46; }
.btn[disabled], .btn.is-loading { opacity: .65; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row-center { justify-content: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; color: var(--ink); }
.link-arrow .icon { transition: transform .2s var(--ease); color: var(--red); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ----- En-tête ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.brand-logo { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.brand-logo img { width: 40px; height: 40px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-display); font-size: 1.22rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-text strong span { color: var(--red); }
.brand-text small { font-size: .72rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; margin-top: 3px; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 2px; }
.main-nav a { display: block; padding: 10px 13px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--graphite); transition: background .2s, color .2s; }
.main-nav a:hover { background: var(--mist); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); background: var(--mist); box-shadow: inset 0 -2px 0 var(--red); }
.nav-contact { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.header-call { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; text-decoration: none; font-size: .95rem; }
.header-call:hover { background: var(--red-dark); }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }

@media (max-width: 1240px) {
  .main-nav a { padding: 10px 9px; font-size: .9rem; }
}
@media (max-width: 1100px) {
  .header-call span { display: none; }
  .header-call { width: 44px; padding: 0; justify-content: center; }
  .header-call .icon { width: 20px; height: 20px; }
  .menu-toggle { display: inline-flex; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 16px 20px 40px;
    overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .25s var(--ease), visibility .2s;
    margin: 0; z-index: 49;
  }
  .main-nav ul { flex-direction: column; gap: 2px; }
  .main-nav a { font-size: 1.35rem; font-family: var(--font-display); font-weight: 800; padding: 14px 6px; border-radius: 0; border-bottom: 1px solid var(--line); letter-spacing: -0.02em; color: var(--ink); }
  .main-nav a[aria-current="page"] { background: none; box-shadow: none; color: var(--red); }
  .nav-contact { display: grid; gap: 10px; margin-top: 24px; }
  body.menu-open { overflow: hidden; }
  body.menu-open .main-nav { opacity: 1; transform: none; visibility: visible; }
  body.menu-open .menu-toggle .icon-open { display: none; }
  body.menu-open .menu-toggle .icon-close { display: block; }
}
@media (max-width: 420px) { .brand-text small { display: none; } .brand-text strong { font-size: 1.15rem; } }

.flash { padding: 12px 0; font-weight: 600; }
.flash-success { background: #e8f6ee; color: #0d5c2f; }
.flash-error { background: var(--red-soft); color: var(--red-dark); }

/* ----- Statut ouvert / fermé ------------------------------------------------- */
.status-line, .status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); margin: 0; }
.status-line .dot, .status-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #c3c6cc; box-shadow: 0 0 0 3px rgba(195, 198, 204, .3); }
.status-line.is-open .dot, .status-pill.is-open .dot { background: #22c55e; box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); animation: pulse 2.4s infinite; }
.status-pill { padding: 6px 12px; border-radius: 999px; background: var(--mist); }
.status-pill.is-open { background: #e8f6ee; color: #0d5c2f; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, .25); } 50% { box-shadow: 0 0 0 6px rgba(34, 197, 94, .08); } }

/* ----- Héros ------------------------------------------------------------------- */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--ink); min-height: min(86vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(14, 15, 17, .35) 0%, rgba(14, 15, 17, .15) 35%, rgba(14, 15, 17, .85) 78%, rgba(14, 15, 17, .96) 100%),
  linear-gradient(90deg, rgba(14, 15, 17, .75) 0%, rgba(14, 15, 17, 0) 65%); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-inner { padding: 120px 0 56px; max-width: 1200px; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .85); margin-bottom: 16px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.hero-title { max-width: 14ch; font-size: clamp(2.4rem, 8vw, 4.6rem); margin-bottom: 18px; }
.hero-text { font-size: clamp(1.05rem, 2.4vw, 1.25rem); max-width: 56ch; color: rgba(255, 255, 255, .86); margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .92rem; color: rgba(255, 255, 255, .85); }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { color: var(--red); }
.hero .status-line { color: rgba(255, 255, 255, .9); }
@media (max-width: 600px) {
  .hero { min-height: 82svh; }
  .hero-inner { padding: 96px 0 34px; }
  .hero-cta .btn { flex: 1 1 100%; }
}

/* ----- Piliers ----------------------------------------------------------------- */
.pillars { position: relative; z-index: 2; margin-top: -1px; background: var(--ink); padding-bottom: 28px; }
.pillars-grid { display: grid; gap: 12px; }
.pillar { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: var(--radius); background: var(--ink-2); color: #fff; text-decoration: none; border: 1px solid rgba(255, 255, 255, .08); transition: background .2s, border-color .2s, transform .25s var(--ease); }
.pillar:hover { background: var(--ink-3); border-color: rgba(227, 16, 27, .6); transform: translateY(-2px); }
.pillar strong { display: block; font-size: 1.05rem; }
.pillar small { color: rgba(255, 255, 255, .65); font-size: .88rem; }
.pillar-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(227, 16, 27, .14); color: #ff4b53; display: grid; place-items: center; flex: none; }
.pillar-icon .icon { width: 24px; height: 24px; }
.pillar-arrow { margin-left: auto; color: rgba(255, 255, 255, .5); transition: transform .2s, color .2s; }
.pillar:hover .pillar-arrow { color: #fff; transform: translateX(4px); }
@media (min-width: 820px) { .pillars-grid { grid-template-columns: repeat(3, 1fr); } }

/* ----- Sections ---------------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(32px, 5vw, 56px) 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: #fff; }
.section-dark .lead, .section-dark p { color: rgba(255, 255, 255, .78); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 40px); }
.section-head h2 { margin: 0; max-width: 22ch; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-head-center h2 { max-width: 26ch; }
.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; }
.eyebrow-red { color: #ff4b53; }
.lead { font-size: clamp(1.05rem, 2.1vw, 1.2rem); color: var(--muted); max-width: 62ch; }

.split { display: grid; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; } .split-reverse > :first-child { order: 2; } }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow-lg); }
.since-badge { position: absolute; right: -10px; bottom: -18px; background: var(--red); color: #fff; padding: 14px 20px; border-radius: 16px; box-shadow: var(--shadow); text-align: center; line-height: 1; }
.since-badge small { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 4px; opacity: .85; }
.since-badge strong { font-family: var(--font-display); font-size: 2rem; }
@media (max-width: 600px) { .since-badge { right: 12px; } }

.prose { color: var(--graphite); }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: .3em 0; }
.prose li::marker { color: var(--red); }
.prose h2 { font-size: 1.45rem; margin: 1.6em 0 .6em; color: var(--ink); }
.prose h3 { margin: 1.4em 0 .5em; color: var(--ink); }
.prose a { color: var(--red-dark); font-weight: 600; }
.prose-lg { font-size: 1.08rem; }
.prose-legal h2 { font-size: 1.2rem; }
.section-dark .prose { color: rgba(255, 255, 255, .8); }

.check-list { list-style: none; display: grid; gap: 12px; margin: 22px 0 28px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.check-list .icon { color: var(--red); margin-top: 2px; }
.section-dark .check-list .icon { color: #ff4b53; }

/* ----- Cartes véhicules ------------------------------------------------------- */
.vgrid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }
@media (min-width: 1100px) { .vgrid-2 { grid-template-columns: repeat(3, 1fr); } .vgrid-home { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 900px) and (max-width: 1099px) { .vgrid-2 { grid-template-columns: repeat(2, 1fr); } }
.vcard { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s; }
.vcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.vcard-link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.vcard-media { position: relative; aspect-ratio: 4 / 3; background: var(--mist-2); overflow: hidden; }
.vcard-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform .6s var(--ease); }
.vcard:hover .vcard-media img { transform: scale(1.04); }
.vcard-placeholder { height: 100%; display: grid; place-items: center; color: var(--muted-2); }
.vcard-placeholder .icon { width: 56px; height: 56px; stroke-width: 1.2; }
.vcard-placeholder.big { aspect-ratio: 4 / 3; gap: 8px; align-content: center; }
.vcard-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.vcard-count { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: rgba(14, 15, 17, .7); color: #fff; font-size: .78rem; font-weight: 700; }
.vcard-count .icon { width: 14px; height: 14px; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.badge .icon { width: 13px; height: 13px; stroke-width: 2.4; }
.badge-red { background: var(--red); color: #fff; }
.badge-dark { background: var(--ink); color: #fff; }
.badge-light { background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--shadow-sm); }
.badge-ok { background: #e8f6ee; color: #0d5c2f; }
.vcard-body { padding: 18px 18px 16px; display: flex; flex-direction: column; flex: 1; }
.vcard-title { margin: 0; font-size: 1.2rem; }
.vcard-version { color: var(--muted); font-size: .92rem; margin: 2px 0 12px; min-height: 1.4em; }
.vcard-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.vcard-specs li { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--mist); font-size: .84rem; font-weight: 600; color: var(--graphite); }
.vcard-specs .icon { width: 15px; height: 15px; color: var(--muted); }
.vcard-price { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.vcard-price strong { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -0.02em; }
.vcard-price s { color: var(--muted-2); font-size: .92rem; }
.vcard-arrow { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; transition: background .2s, transform .3s var(--ease); }
.vcard:hover .vcard-arrow { background: var(--red); transform: translateX(3px); }
.vcard.is-sold .vcard-media img { filter: grayscale(.8); opacity: .8; }

/* ----- Services ------------------------------------------------------------------ */
.service-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.service-card { position: relative; display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; overflow: hidden; }
.service-card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--red); transition: width .35s var(--ease); }
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::after { width: 100%; }
.service-card h3 { margin: 16px 0 8px; }
.service-card p { color: var(--muted); font-size: .95rem; margin-bottom: 18px; }
.service-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.service-icon .icon { width: 26px; height: 26px; }
.service-icon-lg { width: 64px; height: 64px; border-radius: 18px; background: var(--red); }
.service-icon-lg .icon { width: 32px; height: 32px; }
.service-more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .92rem; color: var(--red-dark); }
.service-more .icon { width: 16px; height: 16px; transition: transform .2s; }
.service-card:hover .service-more .icon { transform: translateX(4px); }
.chips-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 600; font-size: .93rem; background: #fff; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--ink); }
.chip .icon { color: var(--red); width: 18px; height: 18px; }
.anchor-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.anchor-nav a { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; border: 1px solid rgba(255, 255, 255, .25); }
.anchor-nav a:hover { background: rgba(255, 255, 255, .22); }

.bodyshop-band .split-media img { aspect-ratio: 5 / 4; }

/* ----- Pourquoi nous ------------------------------------------------------------- */
.why-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); counter-reset: why; }
.why { padding: 26px; border-radius: var(--radius); background: var(--mist); position: relative; }
.why-num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--red); display: inline-block; margin-bottom: 10px; letter-spacing: .04em; }
.why h3 { margin-bottom: 6px; }
.why p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ----- Promo carte virtuelle ----------------------------------------------------- */
.card-promo { display: grid; gap: 30px; align-items: center; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.card-promo::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 16, 27, .45), transparent 70%); }
.card-promo p { color: rgba(255, 255, 255, .78); max-width: 52ch; }
.card-promo .btn-ghost-dark { color: #fff; border-color: rgba(255, 255, 255, .5); }
.card-promo .btn-ghost-dark:hover { background: #fff; color: var(--ink); }
.card-promo .btn-dark { background: var(--red); }
.card-promo-qr { position: relative; justify-self: center; background: #fff; padding: 16px 16px 12px; border-radius: 18px; text-align: center; color: var(--ink); font-size: .82rem; font-weight: 600; box-shadow: var(--shadow-lg); }
.card-promo-qr img { width: 170px; height: 170px; margin-bottom: 6px; }
@media (min-width: 820px) { .card-promo { grid-template-columns: 1fr auto; } }
@media (max-width: 600px) { .card-promo-qr { display: none; } }

/* ----- Actualités ------------------------------------------------------------------ */
.news-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.news-card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s, transform .3s var(--ease); }
.news-card a:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.news-media img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; }
.news-body { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.news-body time { font-size: .82rem; font-weight: 700; color: var(--red-dark); text-transform: uppercase; letter-spacing: .06em; }
.news-body h3 { margin: 8px 0; }
.news-body p { color: var(--muted); font-size: .95rem; }

/* ----- Bandeau d'appel à l'action ----------------------------------------------- */
.cta-band { background: linear-gradient(120deg, #c10c16, var(--red) 55%, #ff3d45); color: #fff; padding: clamp(40px, 6vw, 72px) 0; }
.cta-inner { display: grid; gap: 24px; align-items: center; }
.cta-inner h2 { margin-bottom: 8px; }
.cta-inner p { color: rgba(255, 255, 255, .88); margin: 0; max-width: 56ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-band .btn-red { background: #fff; color: var(--ink); box-shadow: none; }
.cta-band .btn-red:hover { background: var(--ink); color: #fff; }
@media (min-width: 960px) { .cta-inner { grid-template-columns: 1fr auto; } }
@media (max-width: 600px) { .cta-actions .btn { flex: 1 1 100%; } }

/* ----- En-têtes de pages ------------------------------------------------------------ */
.page-hero { position: relative; isolation: isolate; background: var(--ink); color: #fff; padding: clamp(48px, 8vw, 110px) 0 clamp(36px, 6vw, 72px); overflow: hidden; }
.page-hero-media { position: absolute; inset: 0; z-index: -1; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 15, 17, .92), rgba(14, 15, 17, .65) 60%, rgba(14, 15, 17, .45)); }
.page-hero h1 { max-width: 20ch; }
.page-hero .lead { color: rgba(255, 255, 255, .82); margin-bottom: 0; }
.page-hero .btn-row { margin-top: 26px; }
.page-hero-compact { padding: clamp(36px, 6vw, 72px) 0 clamp(28px, 4vw, 48px); background: linear-gradient(180deg, var(--ink), var(--ink-2)); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .86rem; color: rgba(255, 255, 255, .7); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .icon { width: 14px; height: 14px; opacity: .6; }
.vehicle-top .breadcrumb { color: var(--muted); }
.vehicle-top .breadcrumb a { color: var(--graphite); }
.service-hero-title { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.service-hero-title h1 { margin: 0; }
@media (max-width: 600px) { .service-hero-title { flex-direction: column; align-items: flex-start; } }

/* ----- Showroom : filtres ---------------------------------------------------------- */
.showroom { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1000px) { .showroom { grid-template-columns: 300px 1fr; } .filters { position: sticky; top: calc(var(--header-h) + 16px); } }
.filters-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.filters-toggle { list-style: none; display: flex; align-items: center; gap: 10px; padding: 16px 18px; font-weight: 800; cursor: pointer; }
.filters-toggle::-webkit-details-marker { display: none; }
.filters-toggle .chev { margin-left: auto; transition: transform .2s; }
.filters-box[open] .chev { transform: rotate(180deg); }
.count-dot { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 999px; background: var(--red); color: #fff; font-size: .76rem; padding: 0 6px; }
.filters-form { padding: 0 18px 18px; display: grid; gap: 14px; }
@media (min-width: 1000px) { .filters-toggle { pointer-events: none; } .filters-toggle .chev { display: none; } }
.filters-aside-note { display: flex; gap: 12px; margin-top: 14px; padding: 16px; border-radius: var(--radius); background: var(--mist); font-size: .9rem; color: var(--graphite); }
.filters-aside-note p { margin: 0; }
.filters-aside-note .icon { color: var(--red); margin-top: 2px; }
.filters-aside-note a { font-weight: 700; }
.results-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results-count { margin: 0; color: var(--muted); }
.results-count strong { color: var(--ink); font-size: 1.15rem; }
.sort-form select { min-height: 44px; padding: 0 38px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background-color: #fff; font-weight: 600; }
.active-filters { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-filters a { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-size: .86rem; font-weight: 600; }
.active-filters .icon { width: 14px; height: 14px; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 32px; }
.pagination a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 700; }
.pagination a[aria-current="page"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 48px 20px; border-radius: var(--radius); border: 1.5px dashed var(--line-2); }
.empty > .icon { width: 56px; height: 56px; margin: 0 auto 14px; color: var(--muted-2); stroke-width: 1.3; }
.empty p { color: var(--muted); max-width: 48ch; margin-inline: auto; }

/* ----- Formulaires -------------------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field label, .field .label, .field legend { font-weight: 700; font-size: .92rem; color: var(--ink); }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line-2);
  background: #fff; font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646a74' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.sort-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23646a74' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 16px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(14, 15, 17, .08); }
.field .hint { font-size: .84rem; color: var(--muted); margin: 0; }
.field .error { font-size: .86rem; color: var(--red-dark); font-weight: 600; margin: 0; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.req { color: var(--red); }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon input { padding-left: 42px !important; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--graphite); cursor: pointer; font-weight: 500 !important; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--red); flex: none; }
.segmented { border: 0; padding: 0; margin: 0; }
.segmented legend { margin-bottom: 6px; }
.segmented { display: flex; flex-wrap: wrap; gap: 0; }
.segmented legend { width: 100%; }
.segmented label { flex: 1; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; text-align: center; padding: 11px 8px; border: 1.5px solid var(--line-2); font-weight: 600; font-size: .92rem; cursor: pointer; margin-left: -1.5px; background: #fff; }
.segmented label:first-of-type span { border-radius: 10px 0 0 10px; margin-left: 0; }
.segmented label:last-of-type span { border-radius: 0 10px 10px 0; }
.segmented input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); position: relative; }
.segmented input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 1px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-sm); background: var(--red-soft); color: var(--red-dark); font-weight: 600; margin: 0; }
.form-card { background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 36px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 1.5rem; }
.form-card > p { color: var(--muted); }
.section-dark .form-card p { color: var(--muted); }
.section-dark .form-card .prose, .section-dark .form-card .check { color: var(--graphite); }
.dropzone { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius); border: 2px dashed var(--line-2); background: var(--mist); cursor: pointer; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.is-over { border-color: var(--red); background: var(--red-soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone > .icon { width: 32px; height: 32px; color: var(--red); }
.dropzone strong { display: block; }
.dropzone small { color: var(--muted); }
.file-previews { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.file-previews li { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--mist-2); }
.file-previews img { width: 100%; height: 100%; object-fit: cover; }
.file-previews span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(14, 15, 17, .7); color: #fff; font-size: .68rem; padding: 2px 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ----- Fiche véhicule --------------------------------------------------------------- */
.preview-banner { background: #fff6d6; color: #5c4400; padding: 12px 20px; text-align: center; font-weight: 600; display: flex; justify-content: center; gap: 8px; align-items: center; flex-wrap: wrap; }
.vehicle-top { padding: 24px 0 8px; background: var(--mist); }
.vehicle-layout { display: grid; gap: 24px; align-items: start; padding-bottom: 32px; }
@media (min-width: 1000px) { .vehicle-layout { grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr); } .vsummary { position: sticky; top: calc(var(--header-h) + 16px); } }
.vgallery-main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: #0b0c0e; aspect-ratio: 4 / 3; }
.vgallery-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .35s; }
.vgallery-slide.is-active { opacity: 1; z-index: 1; }
.vgallery-zoom { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; }
.vgallery-slide img { width: 100%; height: 100%; object-fit: contain; }
.vgallery-nav { position: absolute; top: 50%; z-index: 2; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.vgallery-nav.prev { left: 12px; }
.vgallery-nav.next { right: 12px; }
.vgallery-counter { position: absolute; z-index: 2; right: 14px; bottom: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(14, 15, 17, .7); color: #fff; font-size: .82rem; font-weight: 700; }
.vgallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 10px 2px 4px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.thumb { flex: none; width: 86px; height: 66px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--mist-2); opacity: .7; scroll-snap-align: start; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.is-active, .thumb:hover { opacity: 1; border-color: var(--red); }
.sold-ribbon { position: absolute; z-index: 3; top: 26px; left: -48px; transform: rotate(-35deg); background: var(--red); color: #fff; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; padding: 8px 60px; box-shadow: var(--shadow); }
.vsummary-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 28px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vsummary-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.vsummary-badges .badge-light { background: var(--mist); box-shadow: none; }
.vtitle { font-size: clamp(1.7rem, 4vw, 2.3rem); margin-bottom: 14px; }
.vtitle span { display: block; font-size: .55em; font-weight: 600; color: var(--muted); letter-spacing: -0.01em; margin-top: 4px; }
.vprice { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; padding: 14px 0; border-block: 1px solid var(--line); margin-bottom: 16px; }
.vprice strong { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.4rem); letter-spacing: -0.03em; color: var(--ink); }
.vprice s { color: var(--muted-2); }
.vkeys { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 20px; }
.vkeys li { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--mist); align-items: center; }
.vkeys .icon { grid-row: span 2; color: var(--red); width: 22px; height: 22px; }
.vkeys span { font-size: .76rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.vkeys strong { font-size: .95rem; line-height: 1.25; }
.vactions { display: grid; gap: 10px; }
.vnote { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .9rem; margin: 14px 0 0; }
.vnote .icon { color: var(--red); }
.vref { margin: 10px 0 0; font-size: .78rem; color: var(--muted-2); letter-spacing: .06em; }
.sold-note { color: var(--muted); }
.vehicle-details { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .vehicle-details { grid-template-columns: minmax(0, 1.55fr) minmax(340px, 1fr); } .vdetails-side { position: sticky; top: calc(var(--header-h) + 16px); } }
.block { margin-bottom: 36px; }
.block h2 { font-size: 1.5rem; }
.spec-table { display: grid; grid-template-columns: 1fr; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 640px) { .spec-table { grid-template-columns: 1fr 1fr; } }
.spec-table div { display: flex; justify-content: space-between; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line); background: #fff; }
.spec-table div:nth-child(4n+1), .spec-table div:nth-child(4n+2) { background: #fafafa; }
@media (max-width: 639px) { .spec-table div:nth-child(odd) { background: #fafafa; } .spec-table div:nth-child(even) { background: #fff; } }
.spec-table dt { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .92rem; }
.spec-table dt .icon { width: 17px; height: 17px; }
.spec-table dd { margin: 0; font-weight: 700; text-align: right; }
.equipment { list-style: none; columns: 2 220px; column-gap: 24px; }
.equipment li { display: flex; gap: 8px; break-inside: avoid; padding: 6px 0; border-bottom: 1px solid var(--line); }
.equipment .icon { color: var(--green); margin-top: 3px; width: 17px; height: 17px; }

/* Visionneuse plein écran */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(8, 9, 10, .96); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox-img { max-width: min(96vw, 1400px); max-height: 86vh; object-fit: contain; user-select: none; }
.lightbox-close, .lightbox-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .12); color: #fff; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255, 255, 255, .25); }
.lightbox-close { top: 16px; right: 16px; }
.lightbox-nav.prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: rgba(255, 255, 255, .8); font-weight: 600; margin: 0; }

/* ----- Article / service ----------------------------------------------------------- */
.article-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .article-layout { grid-template-columns: minmax(0, 1fr) 360px; } .article-side { position: sticky; top: calc(var(--header-h) + 16px); } }
.article-media { margin-bottom: 28px; }
.article-media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.side-card { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--line); margin-bottom: 16px; background: #fff; }
.side-card h2 { font-size: 1.25rem; }
.side-card-dark { background: var(--ink); color: #fff; border: 0; display: grid; gap: 10px; }
.side-card-dark p { color: rgba(255, 255, 255, .75); }
.side-links { list-style: none; display: grid; gap: 4px; margin-bottom: 16px; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 10px 0; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.side-links .icon { color: var(--red); }
.back-link { margin-top: 32px; }
.back-link .icon { transform: rotate(180deg); }

/* ----- Carrosserie ------------------------------------------------------------------- */
.stack { display: grid; gap: 14px; }
.feature { display: flex; gap: 18px; padding: 22px; border-radius: var(--radius); background: var(--mist); }
.feature h3 { margin-bottom: 6px; }
.feature .prose p:last-child { margin: 0; }
.steps { list-style: none; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; font-size: 1.1rem; }
.step p { color: var(--muted); margin: 0; }
.works-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.work { margin: 0; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); }
.work > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work figcaption { padding: 14px 16px; }
.work figcaption span { color: var(--muted); }
.ba { position: relative; aspect-ratio: 4 / 3; overflow: hidden; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; z-index: 3; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; background: #fff; transform: translateX(-50%); z-index: 2; pointer-events: none; }
.ba-handle .icon { position: absolute; top: 50%; width: 18px; height: 18px; color: var(--ink); }
.ba-handle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); box-shadow: var(--shadow); }
.ba-handle .icon:first-of-type { left: -16px; transform: translateY(-50%); }
.ba-handle .icon:last-of-type { left: 1px; transform: translateY(-50%); }
.ba-label { position: absolute; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: rgba(14, 15, 17, .75); color: #fff; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.ba-label-before { left: 12px; }
.ba-label-after { right: 12px; }
.quote-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .quote-layout { grid-template-columns: 1fr 1.25fr; } .quote-intro { position: sticky; top: calc(var(--header-h) + 24px); } }

/* ----- À propos ------------------------------------------------------------------------ */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat { padding: 24px; border-radius: var(--radius); background: var(--mist); }
.stat strong { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -0.03em; color: var(--red); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; }
.values-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.value { background: #fff; border-radius: var(--radius); padding: 28px; border-top: 3px solid var(--red); box-shadow: var(--shadow-sm); }
.value p { color: var(--muted); margin: 0; }
.team { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.member { display: flex; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.member-avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; letter-spacing: .02em; flex: none; }
.member strong { display: block; font-size: 1.05rem; }
.member small { color: var(--muted); font-size: .92rem; }
.photo-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .photo-grid { grid-template-columns: repeat(3, 1fr); } }
.photo { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; }
.photo img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-wide { grid-column: span 2; }
.photo figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(14, 15, 17, .72); color: #fff; font-size: .8rem; font-weight: 600; }

/* ----- Contact ----------------------------------------------------------------------------- */
.contact-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 1fr 1.1fr; } }
.contact-cards { display: grid; gap: 12px; }
.contact-card { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); border: 1px solid var(--line); text-decoration: none; background: #fff; transition: border-color .2s, box-shadow .2s; }
.contact-card:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.contact-card small { display: block; color: var(--muted); font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.contact-card strong { font-size: 1.05rem; word-break: break-word; }
.contact-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.contact-icon-wa { background: var(--wa); }
.hours-card { padding: 22px; border-radius: var(--radius); background: var(--ink); color: #fff; }
.hours-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.hours-head h2 { font-size: 1.2rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.hours-card .status-pill { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .85); }
.hours-card .status-pill.is-open { background: rgba(34, 197, 94, .16); color: #b7f5cb; }
.hours-list { list-style: none; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .95rem; }
.hours-list li span { color: rgba(255, 255, 255, .7); }
.hours-list li.is-today span, .hours-list li.is-today strong { color: #fff; }
.hours-list li.is-today { position: relative; }
.hours-list li.is-today span::after { content: "Aujourd’hui"; margin-left: 8px; font-size: .7rem; font-weight: 800; text-transform: uppercase; color: #ff4b53; letter-spacing: .06em; }
.special-hours { margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: rgba(227, 16, 27, .16); }
.special-hours h3 { font-size: .95rem; margin-bottom: 6px; }
.special-hours ul { list-style: none; font-size: .9rem; }
.map-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--mist); min-height: 300px; display: grid; }
.map-card iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }
.map-consent { display: grid; place-items: center; text-align: center; padding: 28px; gap: 6px; align-content: center; }
.map-consent > .icon { width: 40px; height: 40px; color: var(--red); }
.map-consent p { color: var(--muted); max-width: 40ch; font-size: .92rem; }

/* ----- Merci / erreurs -------------------------------------------------------------------- */
.thanks-icon { width: 76px; height: 76px; border-radius: 50%; background: #e8f6ee; color: var(--green); display: grid; place-items: center; margin: 0 auto 22px; }
.thanks-icon .icon { width: 38px; height: 38px; stroke-width: 2.4; }
.thanks .lead, .error-page .lead { margin-inline: auto; }
.error-code { font-family: var(--font-display); font-size: clamp(4rem, 14vw, 8rem); font-weight: 900; line-height: 1; margin: 0 0 8px; background: linear-gradient(180deg, var(--red), #ff6a70); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ----- Pied de page ------------------------------------------------------------------------ */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .75); padding: clamp(48px, 7vw, 80px) 0 0; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; padding-bottom: 40px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr .8fr; } }
.brand-footer { color: #fff; margin-bottom: 16px; }
.brand-footer .brand-logo { width: 56px; height: 56px; border-radius: 14px; box-shadow: none; }
.brand-footer .brand-logo img { width: 52px; height: 52px; }
.brand-footer .brand-text small { color: rgba(255, 255, 255, .55); }
.footer-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #fff; margin-bottom: 16px; font-family: var(--font); font-weight: 800; }
.footer-list { display: grid; gap: 12px; }
.footer-list a { display: flex; gap: 12px; text-decoration: none; color: rgba(255, 255, 255, .85); align-items: flex-start; }
.footer-list a:hover { color: #fff; }
.footer-list .icon { color: #ff4b53; margin-top: 3px; }
.footer-hours { list-style: none; display: grid; gap: 8px; margin-bottom: 12px; }
.footer-hours li { display: grid; gap: 2px; }
.footer-hours strong { color: #fff; font-weight: 600; }
.footer-hours li.is-today strong { color: #ff8a8f; }
.site-footer .status-line { color: rgba(255, 255, 255, .8); }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { text-decoration: none; color: rgba(255, 255, 255, .85); }
.footer-links a:hover { color: #fff; text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: background .2s; }
.socials a:hover { background: var(--red); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px 0 28px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .86rem; color: rgba(255, 255, 255, .55); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: rgba(255, 255, 255, .75); }

/* ----- Barre de contact mobile ----------------------------------------------------------- */
.mobile-bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(14, 15, 17, .97); backdrop-filter: blur(10px); padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .08); }
.mobile-bar a { display: grid; justify-items: center; gap: 2px; padding: 6px 0; color: #fff; text-decoration: none; font-size: .72rem; font-weight: 600; border-radius: 10px; }
.mobile-bar a:first-child { color: #fff; background: var(--red); }
.mobile-bar .icon { width: 22px; height: 22px; }
@media (min-width: 900px) { .mobile-bar { display: none; } }
@media (max-width: 899px) { .header-call { display: none; } }

/* ----- Apparition douce ------------------------------------------------------------------- */
.reveal { transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-pending { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal.is-pending { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .mobile-bar, .cta-band, .vdetails-side, .vactions { display: none !important; }
  body { padding: 0; }
}

/* Cibles tactiles confortables (≥ 24 px) */
.footer-links a, .footer-bottom a { display: inline-block; padding: 6px 0; }
.footer-links { gap: 2px; }

/* Les éléments de grille ne doivent jamais élargir la page (galeries défilantes, tableaux) */
.vehicle-layout > *, .vehicle-details > *, .showroom > *, .article-layout > *, .contact-layout > *, .quote-layout > *, .split > * { min-width: 0; }

/* AutoScout24 (showroom) */
.autoscout-box { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.autoscout-box:hover { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.autoscout-box strong { display: block; font-size: .95rem; }
.autoscout-box small { color: var(--muted); font-size: .84rem; }
.autoscout-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.autoscout-ext { margin-left: auto; color: var(--muted); width: 18px; height: 18px; }
.autoscout-line { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 28px 0 0; color: var(--muted); font-size: .92rem; }
.autoscout-line a { font-weight: 700; color: var(--ink); }
.autoscout-line .icon { width: 16px; height: 16px; }
.empty-link { margin: 18px 0 0; }
.empty-link a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.empty-link .icon { width: 16px; height: 16px; }
.filters-form.is-loading { opacity: .6; pointer-events: none; }

/* Menu mobile : l’effet de flou de l’en-tête enfermait le menu plein écran dans la hauteur de l’en-tête.
   Sur mobile, en-tête blanc opaque (sans flou) pour que le menu occupe tout l’écran. */
@media (max-width: 1100px) {
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
  body.menu-open .mobile-bar { display: none; }
}

/* Boutons Téléphone / WhatsApp en bas du menu mobile */
@media (max-width: 1100px) {
  .main-nav .nav-contact a.btn { display: flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: .75em 1.25em; border-radius: 999px; border-bottom: 0; font-family: var(--font); font-size: 1rem; font-weight: 700; letter-spacing: 0; }
  .main-nav .nav-contact a.btn-red { color: #fff; }
  .main-nav .nav-contact a.btn-ghost { color: var(--ink); border: 1.5px solid var(--line-2); }
  .main-nav .nav-contact .status-line { justify-content: center; margin-top: 4px; }
}

/* Liens du menu : jamais sur deux lignes */
.main-nav a { white-space: nowrap; }
