/* ==========================================================================
   EuroGarage Zairi — feuille de style principale
   Design sur mesure. Palette tirée du logo : bleu Euro-Garage (structure),
   rouge Zairi (UNIQUE couleur d'action), graphite et acier (fonds).
   Mobile d'abord. Aucune dépendance externe.
   ========================================================================== */

/* Un élément marqué « hidden » est toujours masqué (messages de formulaire, cartes filtrées…) */
[hidden] { display: none !important; }

/* ---------- Polices auto-hébergées (aucun appel à Google Fonts : nLPD) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-wdth.woff2") format("woff2-variations"), url("../fonts/archivo-wdth.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter.woff2") format("woff2-variations"), url("../fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

/* ---------- Jetons de design ---------- */
:root {
  --ink: #0c0e11;          /* graphite profond */
  --ink-2: #14171c;
  --ink-3: #1d2128;
  --ink-4: #2a2f38;
  --steel: #8a919c;        /* acier */
  --steel-2: #b9bec6;
  --paper: #f4f4f1;        /* fond clair chaud */
  --paper-2: #eaeae6;
  --white: #ffffff;
  --text: #15181d;
  --text-2: #4a505a;
  --text-3: #6b717c;
  --line: #e1e1dc;
  --line-dark: rgba(255, 255, 255, .12);
  --navy: #14287a;         /* bleu du logo */
  --navy-2: #0c1a55;
  --navy-3: #22389a;
  --red: #e30613;          /* rouge Zairi : actions uniquement */
  --red-2: #c00511;
  --red-soft: rgba(227, 6, 19, .1);
  --ok: #1d8a4e;

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(12, 14, 17, .06), 0 2px 8px rgba(12, 14, 17, .05);
  --shadow: 0 10px 30px -12px rgba(12, 14, 17, .25), 0 2px 6px rgba(12, 14, 17, .06);
  --shadow-lg: 0 30px 60px -25px rgba(12, 14, 17, .45);
  --ease: cubic-bezier(.22, .9, .24, 1);
  --ease-in-out: cubic-bezier(.7, 0, .2, 1);
  --header-h: 64px;
  --gutter: 20px;
  --maxw: 1280px;
  --mobilebar-h: 68px;
}
@media (min-width: 1024px) {
  :root { --header-h: 80px; --gutter: 40px; }
}

/* ---------- Base ---------- */
*, *::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;
  background: var(--paper);
  color: var(--text);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-top: var(--header-h);
  padding-bottom: var(--mobilebar-h);
  overflow-x: hidden;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); line-height: 1.08; letter-spacing: -.015em; font-weight: 800; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
main:focus { outline: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--navy); color: #fff; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: calc(var(--maxw) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Typographie ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font: 700 .75rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--navy);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--red); transform: skewX(-30deg); }
.eyebrow--light { color: var(--steel-2); }
.section { padding-block: clamp(64px, 10vw, 128px); }
.section--alt { background: var(--white); }
.section--dark { background: var(--ink); color: #fff; }
.section__head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__head--split > div { max-width: 720px; }
.section__title { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3rem); font-stretch: 112%; margin-bottom: 16px; text-wrap: balance; }
.section__lead { color: var(--text-2); font-size: clamp(1.02rem, .95rem + .3vw, 1.15rem); max-width: 64ch; }
.section--dark .section__lead { color: var(--steel-2); }
.prose { color: var(--text-2); font-size: 1.05rem; max-width: 66ch; }
.prose + .prose { margin-top: 1em; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font: 600 .95rem/1.2 var(--font-body); letter-spacing: .005em; white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
  position: relative; isolation: isolate; overflow: hidden;
}
.btn .icon { width: 1.1em; height: 1.1em; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { --bg: var(--red); --fg: #fff; box-shadow: 0 8px 24px -10px rgba(227, 6, 19, .7); }
.btn--primary:hover { --bg: var(--red-2); box-shadow: 0 12px 28px -10px rgba(227, 6, 19, .75); }
.btn--dark { --bg: var(--ink); }
.btn--dark:hover { --bg: var(--navy); }
.btn--light { --bg: #fff; --fg: var(--ink); }
.btn--light:hover { --bg: var(--paper); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: rgba(12, 14, 17, .18); }
.btn--ghost:hover { --bd: var(--ink); --bg: rgba(12, 14, 17, .03); }
.btn--outline-light { --bg: rgba(255, 255, 255, .04); --fg: #fff; --bd: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--outline-light:hover { --bd: #fff; --bg: rgba(255, 255, 255, .1); }
.btn--wa { --bg: #1fa855; }
.btn--wa:hover { --bg: #178a45; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 14px 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn .icon:last-child:not(:first-child) { transition: transform .3s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.linklike { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-size: inherit; color: inherit; }

/* ==========================================================================
   EN-TÊTE
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(12, 14, 17, .06);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
  view-transition-name: header;
}
.header.is-scrolled { box-shadow: 0 6px 24px -12px rgba(12, 14, 17, .25); background: rgba(255, 255, 255, .96); }
.header__inner { height: 100%; display: flex; align-items: center; gap: 16px; }
.header__logo { flex: none; display: block; width: 150px; }
@media (min-width: 1024px) { .header__logo { width: 200px; } }
.header__logo img { width: 100%; height: auto; }
.header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header__phone { display: none; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; text-decoration: none; color: var(--ink); padding: 8px 4px; white-space: nowrap; }
.header__phone .icon { color: var(--red); }
.header__cta { display: none; }
@media (min-width: 1360px) { .header__phone { display: inline-flex; } }
@media (min-width: 640px) { .header__cta { display: inline-flex; } }

/* Sélecteur de langue : toujours visible, y compris sur mobile */
.lang { display: inline-flex; align-items: center; padding: 3px; border-radius: 999px; background: var(--paper-2); }
.lang__item { min-width: 38px; height: 32px; display: inline-grid; place-items: center; border-radius: 999px; font: 700 .78rem/1 var(--font-body); letter-spacing: .06em; text-decoration: none; color: var(--text-3); transition: color .2s, background-color .2s; }
.lang__item abbr { text-decoration: none; }
.lang__item.is-current { background: var(--ink); color: #fff; }
.lang__item:not(.is-current):hover { color: var(--ink); }

/* Navigation */
.nav { display: none; }
.nav__list { display: flex; gap: 2px; }
.nav__link { position: relative; display: block; padding: 10px 12px; font-weight: 600; font-size: .93rem; text-decoration: none; color: var(--text); border-radius: 8px; white-space: nowrap; }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__mobile-extra { display: none; }
@media (min-width: 1200px) {
  .nav { display: block; margin-left: 12px; }
}
.burger { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; background: var(--ink); color: #fff; border-radius: 12px; cursor: pointer; }
.burger__lines, .burger__lines::before, .burger__lines::after { width: 18px; height: 2px; background: currentColor; border-radius: 2px; display: block; position: relative; transition: transform .3s var(--ease), opacity .2s; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -6px; }
.burger__lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1200px) { .burger { display: none; } }

/* Menu mobile plein écran */
@media (max-width: 1199.98px) {
  .nav {
    display: block; position: fixed; inset: var(--header-h) 0 0; background: var(--ink); color: #fff;
    padding: 24px var(--gutter) calc(var(--mobilebar-h) + 24px); overflow-y: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .5s var(--ease-in-out), visibility 0s .5s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .5s var(--ease-in-out); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link { color: #fff; font: 800 1.6rem/1.1 var(--font-display); font-stretch: 112%; padding: 16px 0; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .nav__link::after { left: 0; right: auto; width: 40px; bottom: 10px; }
  .nav.is-open .nav__list li { animation: navIn .6s var(--ease) both; }
  .nav.is-open .nav__list li:nth-child(2) { animation-delay: .05s; } .nav.is-open .nav__list li:nth-child(3) { animation-delay: .1s; }
  .nav.is-open .nav__list li:nth-child(4) { animation-delay: .15s; } .nav.is-open .nav__list li:nth-child(5) { animation-delay: .2s; }
  .nav.is-open .nav__list li:nth-child(6) { animation-delay: .25s; }
  .nav__mobile-extra { display: grid; gap: 12px; margin-top: 28px; }
  .nav__mobile-extra .btn--ghost { --fg: #fff; --bd: rgba(255, 255, 255, .3); }
  .nav__hours { display: flex; align-items: center; gap: 8px; color: var(--steel-2); font-size: .9rem; margin-top: 8px; }
  body.nav-open { overflow: hidden; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(14px); } }

/* ==========================================================================
   OUVERTURE ORCHESTRÉE (accueil) — CSS pur, sans attendre le JavaScript
   ========================================================================== */
.intro {
  position: fixed; inset: 0; z-index: 150; pointer-events: none; background: var(--ink);
  animation: introOut .9s var(--ease-in-out) .55s forwards;
}
.intro__sweep {
  position: absolute; top: 0; bottom: 0; left: -40%; width: 40%;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, .0) 30%, rgba(255, 255, 255, .55) 50%, rgba(255, 255, 255, 0) 70%, transparent 100%);
  transform: skewX(-20deg); animation: sweep .9s var(--ease) .05s forwards;
}
@keyframes sweep { to { left: 120%; } }
@keyframes introOut { to { clip-path: inset(0 0 100% 0); } }
.intro { clip-path: inset(0 0 0 0); }

/* ==========================================================================
   ÉCRAN D'INTRO — logo centré, environ une seconde, une fois par visite.
   Affiché seulement si <html> porte .show-splash (posée par splash.js, dans <head>).
   Entièrement en CSS : il se referme seul, même si le reste du JavaScript échoue.
   ========================================================================== */
.splash { display: none; }
html.show-splash .splash {
  display: grid; place-items: center; position: fixed; inset: 0; z-index: 300; pointer-events: none;
  background: var(--ink); clip-path: inset(0 0 0 0);
  animation: introOut .75s var(--ease-in-out) 1.05s forwards, splashHide 0s linear 1.85s forwards;
}
.splash__logo {
  width: min(360px, 72vw); aspect-ratio: 600 / 143;
  background: url("/assets/img/logo-eurogarage-zairi-blanc.png") center / contain no-repeat;
  animation: splashLogo .8s var(--ease) .05s both, splashFade .25s ease .95s forwards;
}
@keyframes splashLogo { from { clip-path: inset(0 100% 0 0); transform: translateX(-14px); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes splashFade { to { opacity: 0; } }
@keyframes splashHide { to { visibility: hidden; } }
/* L'écran d'intro remplace le rideau de l'accueil, et la page attend derrière lui */
html.show-splash .intro { display: none; }
html.splash-hold body > :not(.splash), html.splash-hold body > :not(.splash) *,
html.splash-hold body > :not(.splash) *::before, html.splash-hold body > :not(.splash) *::after { animation-play-state: paused !important; }

/* ==========================================================================
   HERO ACCUEIL — épuré : une photo, un titre, une phrase, deux actions
   ========================================================================== */
@keyframes stripeIn { from { transform: skewX(-24deg) scaleY(0); } }
@keyframes maskReveal { from { clip-path: polygon(100% 0, 100% 0, 100% 100%, 100% 100%); } }
@keyframes heroZoom { from { transform: scale(1.1); } }
@keyframes glare { to { transform: translateX(100%); } }
@keyframes lineUp { from { transform: translateY(105%); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
.hero {
  position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--ink);
  min-height: min(calc(100svh - var(--header-h) - var(--mobilebar-h)), 860px);
  display: flex; align-items: flex-end;
}
.hero__media { position: absolute; inset: -6% 0; z-index: -1; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 56% 60%; animation: heroZoom 2.4s var(--ease) .2s both; }
/* Voile discret, uniquement là où se trouve le texte */
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(12, 14, 17, .9) 0%, rgba(12, 14, 17, .5) 36%, rgba(12, 14, 17, 0) 66%); }
.hero__content { padding-block: 48px 40px; }
.hero__eyebrow { font: 600 .78rem/1.2 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin-bottom: 16px; animation: rise .8s var(--ease) .9s both; }
.hero__title { font-size: clamp(2.1rem, 1.2rem + 3.6vw, 4rem); font-stretch: 118%; font-weight: 800; line-height: 1.02; letter-spacing: -.02em; max-width: 14ch; margin-bottom: 18px; }
.hero__line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.06em; }
.hero__line > span { display: inline-block; animation: lineUp 1s var(--ease) 1s both; }
.hero__line + .hero__line > span { animation-delay: 1.12s; color: rgba(255, 255, 255, .72); }
.hero__lead { max-width: 42ch; color: rgba(255, 255, 255, .82); font-size: clamp(1rem, .95rem + .25vw, 1.12rem); animation: rise .9s var(--ease) 1.3s both; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 28px; animation: rise .9s var(--ease) 1.45s both; }
.hero__link { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; text-decoration: none; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, .35); transition: border-color .25s; }
.hero__link:hover { border-color: #fff; }
.hero__link .icon { width: 18px; height: 18px; }
@media (min-width: 960px) {
  .hero { min-height: min(calc(100svh - var(--header-h)), 900px); align-items: center; }
  .hero__media::after { background: linear-gradient(90deg, rgba(12, 14, 17, .8) 0%, rgba(12, 14, 17, .46) 30%, rgba(12, 14, 17, 0) 56%), linear-gradient(0deg, rgba(12, 14, 17, .4) 0%, transparent 32%); }
  .hero__img { object-position: 50% 62%; }
  .hero__content { padding-block: 80px; }
}

/* Bande d'arguments sous le hero (sortie du hero pour l'alléger) */
.trustbar { background: var(--white); border-bottom: 1px solid var(--line); }
.trustbar__list { display: grid; grid-template-columns: 1fr 1fr; }
.trustbar__list li { display: flex; align-items: center; gap: 12px; padding: 20px 12px 20px 0; }
.trustbar__list li:nth-child(n+3) { border-top: 1px solid var(--line); }
.trustbar .icon { width: 24px; height: 24px; color: var(--red); flex: none; }
.trustbar strong { display: block; font-size: .88rem; line-height: 1.25; }
.trustbar span { display: block; color: var(--text-3); font-size: .8rem; }
@media (min-width: 900px) {
  .trustbar__list { grid-template-columns: repeat(4, 1fr); }
  .trustbar__list li { padding: 26px 20px; }
  .trustbar__list li:nth-child(n+3) { border-top: 0; }
  .trustbar__list li + li { border-left: 1px solid var(--line); }
  .trustbar__list li:first-child { padding-left: 0; }
}

/* ==========================================================================
   EN-TÊTE DES PAGES INTÉRIEURES — clair et compact, volontairement différent
   du hero d'accueil : texte à gauche, photo cadrée à droite.
   ========================================================================== */
.phero { background: var(--white); border-bottom: 1px solid var(--line); }
.phero__grid { display: grid; gap: 28px; padding-block: 24px 48px; align-items: center; }
.phero .eyebrow { animation: rise .7s var(--ease) .05s both; }
.phero__title { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3.1rem); font-stretch: 112%; max-width: 22ch; text-wrap: balance; color: var(--ink); animation: rise .8s var(--ease) .1s both; }
.phero__lead { margin-top: 16px; max-width: 58ch; color: var(--text-2); font-size: clamp(1rem, .96rem + .2vw, 1.1rem); animation: rise .8s var(--ease) .18s both; }
.phero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; animation: rise .8s var(--ease) .26s both; }
.phero__media { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: var(--paper-2); box-shadow: var(--shadow); animation: rise .9s var(--ease) .2s both; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Discret rappel des bandes du logo, en coin de photo */
.phero__media::after { content: ""; position: absolute; right: 26px; bottom: 0; width: 12px; height: 56px; background: var(--red); transform: skewX(-24deg); box-shadow: -20px 0 0 -4px var(--navy); }
@media (min-width: 960px) {
  .phero__grid { padding-block: 32px 64px; }
  .phero--image .phero__grid { grid-template-columns: 1.05fr 1fr; gap: 56px; }
  .phero--image .phero__media { aspect-ratio: 5 / 4; }
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--text-3); margin-bottom: 22px; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; opacity: .5; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; }
.crumbs--dark ol { margin: 24px 0 20px; }

/* ==========================================================================
   SERVICES (accueil)
   ========================================================================== */
.services { display: grid; gap: 18px; }
@media (min-width: 700px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1180px) { .services { grid-template-columns: repeat(4, 1fr); } }
.service { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-3); }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .service__media img { transform: scale(1.07); }
.service__body { position: relative; padding: 26px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.service__body::before { content: ""; position: absolute; left: 24px; top: 0; width: 44px; height: 3px; background: var(--red); transform-origin: left; transition: transform .5s var(--ease); }
.service:hover .service__body::before { transform: scaleX(2.2); }
.service__num { position: absolute; right: 22px; top: 18px; font: 800 .8rem/1 var(--font-display); color: var(--steel-2); letter-spacing: .08em; }
.service__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--ink); color: #fff; margin: -49px 0 18px; position: relative; box-shadow: var(--shadow); }
.service__icon .icon { width: 22px; height: 22px; }
.service__title { font-size: 1.3rem; font-stretch: 110%; margin-bottom: 10px; }
.service__text { color: var(--text-2); font-size: .96rem; flex: 1; }
.service__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; font-size: .9rem; color: var(--navy); }
.service__more .icon { transition: transform .35s var(--ease); }
.service:hover .service__more .icon { transform: translateX(5px); }

/* ==========================================================================
   COMPTEURS
   ========================================================================== */
.counters { position: relative; background: var(--navy-2); color: #fff; overflow: hidden; isolation: isolate; }
.counters::before { content: ""; position: absolute; inset: 0; z-index: -1; background: repeating-linear-gradient(-66deg, transparent 0 60px, rgba(255, 255, 255, .025) 60px 120px); }
.counters__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .counters__grid { grid-template-columns: repeat(4, 1fr); } }
.counter { padding: 40px 12px; text-align: center; }
.counter + .counter { border-left: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 899.98px) { .counter:nth-child(3) { border-left: 0; } .counter:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .1); } }
.counter__value { font: 800 clamp(2.6rem, 1.6rem + 4vw, 4.4rem)/1 var(--font-display); font-stretch: 125%; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.counter__value small { font-size: .4em; color: var(--steel-2); margin-left: 2px; letter-spacing: 0; }
.counter__label { margin-top: 10px; color: var(--steel-2); font-size: .88rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

/* ==========================================================================
   CARTES VÉHICULES
   ========================================================================== */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 82%); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .rail { grid-auto-flow: row; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; padding: 0; scroll-snap-type: none; gap: 20px; } }
@media (min-width: 1100px) { .rail { grid-template-columns: repeat(3, 1fr); } }
.grid-cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .grid-cards--3 { grid-template-columns: repeat(3, 1fr); } }
.vcard { height: 100%; }
.vcard__link { display: flex; flex-direction: column; height: 100%; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; text-decoration: none; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.vcard__link:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.vcard__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-2); }
.vcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.vcard__link:hover .vcard__media img { transform: scale(1.06); }
.vcard__nophoto { width: 100%; height: 100%; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--steel); background: repeating-linear-gradient(-45deg, var(--paper-2) 0 14px, var(--paper) 14px 28px); font-weight: 600; font-size: .9rem; }
.vcard__nophoto .icon { width: 34px; height: 34px; }
.badge { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; font: 700 .74rem/1 var(--font-body); letter-spacing: .02em; }
.badge--light { background: rgba(255, 255, 255, .94); color: var(--ink); box-shadow: var(--shadow-sm); }
.badge .icon { width: 14px; height: 14px; color: var(--ok); }
.vcard__count { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 5px; align-items: center; padding: 5px 9px; border-radius: 999px; background: rgba(12, 14, 17, .7); color: #fff; font-size: .75rem; font-weight: 600; }
.vcard__count .icon { width: 13px; height: 13px; }
.vcard__body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.vcard__make { font: 700 .72rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.vcard__title { font-size: 1.15rem; font-stretch: 106%; line-height: 1.2; margin-bottom: 14px; }
.vcard__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: .84rem; color: var(--text-2); margin-bottom: 18px; }
.vcard__specs li { display: flex; align-items: center; gap: 7px; min-width: 0; }
.vcard__specs .icon { width: 15px; height: 15px; color: var(--steel); }
.vcard__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; }
.vcard__price { font: 800 1.35rem/1 var(--font-display); font-stretch: 110%; letter-spacing: -.01em; }
.vcard__arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.vcard__link:hover .vcard__arrow { background: var(--red); color: #fff; transform: rotate(-45deg); }
.missing { display: inline-flex; align-items: center; padding: 2px 8px; border: 1px dashed #d39b00; border-radius: 6px; background: #fff8e1; color: #7a5800; font: 600 .74rem/1.4 var(--font-body); }

/* ==========================================================================
   POURQUOI NOUS / ÉTAPES / AVIS / ZONE
   ========================================================================== */
.why__grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .why__grid { grid-template-columns: 5fr 7fr; gap: 80px; } .why__head { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; } }
.why__head .btn { margin-top: 12px; }
.why__list { display: grid; gap: 0; }
.why__item { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 28px 0; border-top: 1px solid var(--line); }
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__num { font: 800 2rem/1 var(--font-display); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1.2px var(--navy); }
.why__item h3 { font-size: 1.3rem; font-stretch: 108%; margin-bottom: 8px; }
.why__item p { color: var(--text-2); }

.steps { display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; } }
.step { position: relative; padding-top: 72px; }
.step__num { position: absolute; top: 0; left: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255, 255, 255, .3); font: 800 1.15rem/1 var(--font-display); }
.step:first-child .step__num { background: var(--red); border-color: var(--red); }
@media (min-width: 1100px) { .step:not(:last-child)::after { content: ""; position: absolute; left: 64px; right: 4px; top: 26px; height: 1px; background: linear-gradient(90deg, rgba(255, 255, 255, .35), rgba(255, 255, 255, .05)); } }
.step__title { font-size: 1.2rem; font-stretch: 108%; margin-bottom: 8px; }
.step p { color: var(--steel-2); }

.reviews { display: grid; gap: 40px; }
@media (min-width: 1000px) { .reviews { grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; } }
.score { display: flex; align-items: center; gap: 18px; margin: 18px 0 22px; }
.score__value { font: 800 4.4rem/1 var(--font-display); font-stretch: 125%; letter-spacing: -.04em; }
.score__value small { font-size: .35em; color: var(--text-3); letter-spacing: 0; }
.score__stars { display: flex; gap: 2px; color: #f5a623; }
.score__stars .icon { width: 20px; height: 20px; }
.score__src { font-size: .85rem; color: var(--text-3); margin-top: 6px; }
.reviews__links { display: flex; flex-wrap: wrap; gap: 10px; }
.reviews__slots { display: grid; gap: 16px; }
@media (min-width: 1000px) { .reviews__slots { grid-template-columns: repeat(3, 1fr); } }
.review { margin: 0; padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.review--placeholder { background: transparent; border: 1.5px dashed #cfcfc8; box-shadow: none; color: var(--text-3); }
.review__stars { display: flex; gap: 2px; color: #d9d9d2; }
.review__stars .icon { width: 16px; height: 16px; }
.review blockquote { margin: 0; font-size: .92rem; flex: 1; }
.review figcaption { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.section--alt .chips li { background: var(--paper); }
.chips .icon { width: 14px; height: 14px; color: var(--red); }
.area__grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .area__grid { grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; } }
.area__card { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.area__card::before { content: ""; position: absolute; right: -30px; top: -40px; width: 60px; height: 180px; background: var(--red); transform: skewX(-24deg); opacity: .9; }
.area__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--steel); font-weight: 700; }
.area__address { font: 800 1.5rem/1.2 var(--font-display); font-stretch: 110%; margin: 8px 0 16px; }
.area__open { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 600; margin-bottom: 16px; }
.area__open .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--steel); }
.area__open[data-open="1"] .dot { background: #29c46b; box-shadow: 0 0 0 4px rgba(41, 196, 107, .2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(41, 196, 107, 0); } }
.area__actions { display: grid; gap: 10px; margin-top: 22px; }
.area__actions .btn--ghost { --fg: #fff; --bd: rgba(255, 255, 255, .3); }
.hours { display: grid; gap: 0; font-size: .92rem; }
.hours__row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours dt { color: var(--text-2); }
.hours dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.hours--light .hours__row, .footer .hours__row { border-color: var(--line-dark); }
.hours--light dt, .footer .hours dt { color: var(--steel-2); }

/* ==========================================================================
   BANDE CTA
   ========================================================================== */
.ctaband { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: var(--ink); padding-block: clamp(64px, 9vw, 112px); }
.ctaband__bg { position: absolute; inset: -20% 0; z-index: -1; background:
  linear-gradient(115deg, var(--navy-2) 0%, var(--navy) 45%, transparent 45.1%),
  linear-gradient(115deg, transparent 47%, var(--red) 47.1%, var(--red) 49%, transparent 49.1%),
  radial-gradient(80% 120% at 100% 50%, #20263a, var(--ink)); }
.ctaband__inner { display: grid; gap: 28px; }
@media (min-width: 1000px) { .ctaband__inner { grid-template-columns: 1fr auto; align-items: center; gap: 56px; } }
.ctaband__title { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 3.1rem); font-stretch: 118%; margin-bottom: 12px; max-width: 18ch; }
.ctaband__text { color: rgba(255, 255, 255, .8); max-width: 52ch; }
.ctaband__actions { display: grid; gap: 12px; }
@media (min-width: 640px) and (max-width: 999.98px) { .ctaband__actions { grid-template-columns: repeat(2, 1fr); } .ctaband__actions .btn:first-child { grid-column: 1 / -1; } }

/* ==========================================================================
   PAGES DE SERVICE
   ========================================================================== */
.urgent { background: var(--red); color: #fff; }
.urgent__inner { display: grid; gap: 18px; padding-block: 32px; align-items: center; }
@media (min-width: 900px) { .urgent__inner { grid-template-columns: auto 1fr auto; gap: 28px; } }
.urgent__icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .15); }
.urgent__icon .icon { width: 32px; height: 32px; }
.urgent__title { font-size: 1.5rem; font-stretch: 112%; margin-bottom: 6px; }
.urgent__note { margin-top: 8px; font-size: .88rem; opacity: .85; }
.urgent .btn--primary { --bg: #fff; --fg: var(--red); box-shadow: none; }
.urgent .btn--primary:hover { --bg: var(--ink); --fg: #fff; }
.split { display: grid; gap: 40px; }
@media (min-width: 1000px) { .split { grid-template-columns: 7fr 4fr; gap: 72px; align-items: start; } .split__aside { position: sticky; top: calc(var(--header-h) + 24px); } }
.ticks { display: grid; gap: 10px; margin-top: 26px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.ticks .icon { color: var(--ok); width: 20px; height: 20px; margin-top: 2px; }
.ticks--grid { margin-top: 0; }
@media (min-width: 700px) { .ticks--grid { grid-template-columns: 1fr 1fr; gap: 12px 28px; } }
.contactcard { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: grid; gap: 14px; border-top: 4px solid var(--red); }
.contactcard--flat { box-shadow: none; border: 1px solid var(--line); border-top: 4px solid var(--navy); margin-top: 24px; }
.contactcard__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); font-weight: 700; }
.contactcard__phone { font: 800 1.9rem/1 var(--font-display); font-stretch: 115%; text-decoration: none; color: var(--ink); letter-spacing: -.01em; }
.contactcard__phone:hover { color: var(--red); }
.contactcard .ticks { margin-top: 4px; font-size: .9rem; }
.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } .features--4 { grid-template-columns: repeat(4, 1fr); } }
.feature { background: var(--paper); border-radius: var(--radius); padding: 26px; border: 1px solid var(--line); transition: background-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease); }
.feature:hover { background: var(--white); transform: translateY(-3px); box-shadow: var(--shadow); }
.feature__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--navy); color: #fff; margin-bottom: 18px; }
.feature__icon .icon { width: 22px; height: 22px; }
.feature__num { display: block; font: 800 2rem/1 var(--font-display); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1.2px var(--red); margin-bottom: 14px; }
.feature__title { font-size: 1.12rem; font-stretch: 106%; margin-bottom: 8px; }
.feature p { color: var(--text-2); font-size: .95rem; }
.photocta { display: grid; gap: 20px; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 32px; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .photocta { grid-template-columns: auto 1fr auto; gap: 28px; padding: 40px 48px; } }
.photocta__icon { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); }
.photocta__icon .icon { width: 30px; height: 30px; }
.photocta__title { font-size: 1.45rem; font-stretch: 110%; margin-bottom: 6px; }
.photocta p { color: var(--steel-2); }
.local { max-width: 900px; }
.faq { max-width: 900px; }
.faq__list { margin-top: 12px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font: 700 1.08rem/1.35 var(--font-body); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .3s var(--ease); }
.faq__plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0); }
.faq__item p { padding: 0 48px 24px 0; color: var(--text-2); }

/* ==========================================================================
   À PROPOS
   ========================================================================== */
.story { position: relative; display: grid; gap: 40px; }
@media (min-width: 1000px) { .story { grid-template-columns: 7fr 4fr; gap: 72px; align-items: start; } }
.story__year { position: absolute; right: -2%; top: -40px; z-index: -1; font: 900 clamp(7rem, 4rem + 14vw, 17rem)/1 var(--font-display); font-stretch: 125%; color: transparent; -webkit-text-stroke: 1.5px rgba(20, 40, 122, .12); pointer-events: none; user-select: none; }
.story { isolation: isolate; }
.quote { margin: 32px 0 0; padding: 24px 28px; border-left: 4px solid var(--red); background: var(--white); border-radius: 0 var(--radius) var(--radius) 0; font: 600 1.1rem/1.5 var(--font-body); }
.quote--placeholder { border: 1.5px dashed #cfcfc8; border-left: 4px solid var(--red); background: transparent; color: var(--text-3); font-weight: 500; font-size: .95rem; }
.facts { display: grid; gap: 0; background: var(--white); border-radius: var(--radius-lg); padding: 8px 28px; box-shadow: var(--shadow); }
.facts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts div:last-child { border-bottom: 0; }
.facts dt { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); font-weight: 700; }
.facts dd { margin: 4px 0 0; font: 700 1.1rem/1.35 var(--font-display); font-stretch: 105%; }
.photoslots { display: grid; gap: 16px; margin-top: 12px; }
@media (min-width: 760px) { .photoslots { grid-template-columns: 2fr 1fr 1fr; } }
.photoslot { aspect-ratio: 4 / 3; border-radius: var(--radius); border: 1.5px dashed #cfcfc8; display: grid; place-content: center; justify-items: center; text-align: center; gap: 10px; padding: 24px; color: var(--text-3); font-size: .9rem; background: repeating-linear-gradient(-45deg, transparent 0 14px, rgba(12, 14, 17, .02) 14px 28px); }
.photoslot .icon { width: 30px; height: 30px; }

/* ==========================================================================
   BOUTIQUE : FILTRES + RÉSULTATS
   ========================================================================== */
.shop { padding-top: 40px; }
.shop__grid { display: grid; gap: 28px; }
@media (min-width: 1024px) { .shop__grid { grid-template-columns: 290px 1fr; gap: 40px; align-items: start; } .filters { position: sticky; top: calc(var(--header-h) + 20px); } }
.filters__toggle { position: relative; }
.filters__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.filters__form { display: none; background: var(--white); border-radius: var(--radius-lg); padding: 24px; margin-top: 12px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.filters.is-open .filters__form { display: grid; gap: 16px; }
@media (min-width: 1024px) { .filters__toggle { display: none; } .filters__form { display: grid; gap: 16px; margin-top: 0; } }
.no-js .filters__form { display: grid; gap: 16px; }
.filters__title { font-size: 1.15rem; font-stretch: 108%; }
.filters__actions { display: grid; gap: 8px; margin-top: 4px; }
.tradein { margin-top: 16px; padding: 22px; border-radius: var(--radius); background: var(--ink); color: #fff; display: none; }
@media (min-width: 1024px) { .tradein { display: grid; gap: 10px; } }
.tradein__title { font-size: 1.05rem; font-stretch: 106%; }
.tradein p { color: var(--steel-2); font-size: .9rem; }
.tradein .btn--ghost { --fg: #fff; --bd: rgba(255, 255, 255, .3); justify-self: start; }
.results__bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.results__count { font-size: 1.05rem; }
.results__sort { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--text-2); }
.results__meta { margin-top: 28px; font-size: .82rem; color: var(--text-3); }
.results--full { grid-column: 1 / -1; }
.empty { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 56px 24px; border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); }
.empty > .icon { width: 48px; height: 48px; color: var(--steel); }
.empty h2 { font-size: 1.5rem; font-stretch: 110%; }
.empty p { color: var(--text-2); max-width: 52ch; }
.empty--big { padding: 80px 24px; }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 6px; }

/* ==========================================================================
   FICHE VÉHICULE
   ========================================================================== */
.vdetail { padding-bottom: 40px; }
.vdetail__top { display: grid; gap: 28px; }
@media (min-width: 1024px) { .vdetail__top { grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; } .vsummary { position: sticky; top: calc(var(--header-h) + 20px); } }
.gallery__main { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-3); aspect-ratio: 4 / 3; }
.gallery__slide { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery__slide[hidden] { display: none; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; } }
.gallery__main--empty { display: block; }
.gallery__expand { position: absolute; right: 14px; top: 14px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; pointer-events: none; }
.gallery__nav, .lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .3s var(--ease); }
.gallery__nav:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.gallery__nav--prev { left: 14px; } .gallery__nav--next { right: 14px; }
.gallery__counter { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; border-radius: 999px; background: rgba(12, 14, 17, .72); color: #fff; font-size: .78rem; font-weight: 600; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumbs button { width: 96px; flex: none; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s; background: none; }
.gallery__thumbs button[aria-current="true"], .gallery__thumbs button:hover { opacity: 1; border-color: var(--red); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.vsummary { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.vsummary__make { font: 700 .76rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.vsummary__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); font-stretch: 112%; }
.vsummary__price { margin: 18px 0; padding: 18px 0; border-block: 1px solid var(--line); }
.vsummary__amount { font: 800 2.3rem/1 var(--font-display); font-stretch: 115%; letter-spacing: -.02em; }
.vsummary__list { margin-top: 6px; font-size: .85rem; color: var(--text-3); }
.vsummary__keys { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.vsummary__keys li { display: grid; grid-template-columns: 22px 1fr; column-gap: 8px; align-items: center; }
.vsummary__keys .icon { grid-row: span 2; color: var(--steel); width: 20px; height: 20px; }
.vsummary__keys span { font-size: .74rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .06em; }
.vsummary__keys strong { font-size: .95rem; }
.vsummary__warranty { display: flex; gap: 10px; align-items: center; margin-top: 20px; padding: 12px 14px; border-radius: var(--radius-sm); background: rgba(29, 138, 78, .08); color: #146a3b; font-weight: 600; font-size: .92rem; }
.vsummary__warranty .icon { color: var(--ok); }
.vsummary__actions { display: grid; gap: 10px; margin-top: 20px; }
.vsummary__note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: .88rem; color: var(--text-2); }
.vsummary__note .icon { color: var(--navy); margin-top: 3px; }
.vsummary__ref { margin-top: 14px; font-size: .78rem; color: var(--text-3); }
.vdetail__body { display: grid; gap: 28px; margin-top: 48px; }
@media (min-width: 1024px) { .vdetail__body { grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; } }
.vdetail__main { display: grid; gap: 28px; }
.vdetail__side { display: grid; gap: 16px; }
.vblock { background: var(--white); border-radius: var(--radius-lg); padding: 28px; border: 1px solid var(--line); }
.vblock__title { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; font-stretch: 110%; margin-bottom: 18px; }
.vblock__title .icon { color: var(--ok); }
.vblock--card p + p { margin-top: 8px; }
.vblock--card p { color: var(--text-2); }
.vblock--dark { background: var(--ink); color: #fff; border: 0; display: grid; gap: 12px; }
.vblock--dark .vblock__title { margin-bottom: 0; }
.vblock--dark p { color: var(--steel-2); }
.specs { display: grid; margin: 0; }
@media (min-width: 700px) { .specs { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.specs__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.specs dt { color: var(--text-2); }
.specs dd { margin: 0; font-weight: 600; text-align: right; }
.equip { display: grid; gap: 10px 20px; font-size: .92rem; }
@media (min-width: 640px) { .equip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .equip { grid-template-columns: repeat(3, 1fr); } }
.equip li { display: flex; gap: 8px; align-items: flex-start; }
.equip .icon { width: 17px; height: 17px; color: var(--ok); margin-top: 3px; }
.options { columns: 1; column-gap: 32px; font-size: .92rem; color: var(--text-2); }
@media (min-width: 700px) { .options { columns: 2; } }
.options li { break-inside: avoid; padding: 7px 0 7px 18px; position: relative; }
.options li::before { content: ""; position: absolute; left: 0; top: 16px; width: 8px; height: 2px; background: var(--red); }
.vdetail__as a { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--text-2); }

/* Galerie plein écran */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 9, 11, .97); color: #fff; }
.lightbox::backdrop { background: rgba(8, 9, 11, .9); }
.lightbox[open] { display: grid; place-items: center; animation: fadeIn .35s var(--ease); }
.lightbox__stage { margin: 0; width: min(92vw, 1400px); display: grid; gap: 12px; justify-items: center; }
.lightbox__stage img { max-height: 82dvh; width: auto; max-width: 100%; border-radius: 8px; object-fit: contain; animation: fadeIn .35s var(--ease); }
.lightbox__stage figcaption { font-size: .85rem; color: var(--steel-2); text-align: center; }
.lightbox__close { position: absolute; right: 18px; top: 18px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; cursor: pointer; }
.lightbox__close:hover { background: rgba(255, 255, 255, .2); }
.lightbox__nav { background: rgba(255, 255, 255, .1); color: #fff; }
.lightbox__nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox__nav--prev { left: 18px; } .lightbox__nav--next { right: 18px; }
body.lightbox-open { overflow: hidden; }

/* ==========================================================================
   FORMULAIRES
   ========================================================================== */
.formpage { display: grid; gap: 28px; }
@media (min-width: 1024px) { .formpage { grid-template-columns: 8fr 4fr; gap: 40px; align-items: start; } .formpage__side { position: sticky; top: calc(var(--header-h) + 20px); } }
.formpage__tip { display: flex; gap: 12px; font-size: .9rem; color: var(--text-2); }
.formpage__tip .icon { color: var(--navy); width: 22px; height: 22px; margin-top: 2px; }
.formcard { background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.formcard__title { font-size: 1.6rem; font-stretch: 110%; margin-bottom: 6px; }
.formcard__lead { color: var(--text-2); margin-bottom: 24px; }
.form { display: grid; gap: 28px; }
.form__step { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__step legend { font: 800 1.15rem/1.2 var(--font-display); font-stretch: 108%; margin-bottom: 16px; padding: 0; }
.form__grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } .form__grid--3 { grid-template-columns: 1fr 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 7px; min-width: 0; border: 0; margin: 0; padding: 0; }
.field > label, .field .label, .field legend { font-weight: 600; font-size: .9rem; padding: 0; }
.req { color: var(--red); }
.opt { color: var(--text-3); font-weight: 400; font-size: .82rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"], input[type="number"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #d9d9d3; border-radius: var(--radius-sm); background: #fff;
  font-size: 1rem; transition: border-color .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
textarea { min-height: 130px; resize: vertical; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(20, 40, 122, .12); }
input::placeholder, textarea::placeholder { color: #9aa0a8; }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--text-2); border-bottom: 2px solid var(--text-2); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 40px; cursor: pointer; }
.select--inline select { min-height: 42px; padding-block: 8px; font-size: .9rem; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--red); }
.field__error { color: var(--red-2); font-size: .85rem; font-weight: 500; }
.field__hint { color: var(--text-3); font-size: .82rem; }
.choices { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .choices { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .choices { grid-template-columns: repeat(3, 1fr); } }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: flex; align-items: center; min-height: 56px; padding: 12px 16px 12px 44px; border: 1.5px solid #d9d9d3; border-radius: var(--radius-sm); font-weight: 500; font-size: .93rem; line-height: 1.3; transition: border-color .2s, background-color .2s; position: relative; }
.choice span::before { content: ""; position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid #b9b9b2; transform: translateY(-50%); transition: border .2s, box-shadow .2s; }
.choice:hover span { border-color: var(--navy); }
.choice input:checked + span { border-color: var(--navy); background: rgba(20, 40, 122, .05); font-weight: 600; }
.choice input:checked + span::before { border: 6px solid var(--red); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(20, 40, 122, .15); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; }
.pill span { display: inline-flex; align-items: center; min-height: 38px; padding: 7px 14px; border-radius: 999px; border: 1.5px solid #d9d9d3; font-size: .86rem; font-weight: 600; transition: all .2s; }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill input:focus-visible + span { box-shadow: 0 0 0 4px rgba(20, 40, 122, .15); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--text-2); cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--red); }
.upload__zone { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 28px 20px; border: 1.5px dashed #c5c5bd; border-radius: var(--radius); background: var(--paper); cursor: pointer; transition: border-color .2s, background-color .2s; }
.upload__zone:hover, .upload.is-drag .upload__zone { border-color: var(--navy); background: rgba(20, 40, 122, .04); }
.upload__zone .icon { width: 30px; height: 30px; color: var(--navy); }
.upload__zone span { font-size: .82rem; color: var(--text-3); }
.upload__input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload__input:focus-visible + .upload__previews, .upload:focus-within .upload__zone { border-color: var(--navy); }
.upload__previews { display: flex; flex-wrap: wrap; gap: 10px; }
.upload__previews li { width: 84px; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--paper-2); }
.upload__previews img { width: 100%; height: 100%; object-fit: cover; }
.upload__previews .upload__count { width: auto; aspect-ratio: auto; background: none; font-size: .85rem; color: var(--text-2); align-self: center; }
.prefill { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(20, 40, 122, .06); border-left: 4px solid var(--navy); font-size: .9rem; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: rgba(20, 40, 122, .06); color: var(--navy-2); font-size: .9rem; margin-bottom: 24px; }
.notice .icon { margin-top: 3px; }
.alert { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); margin-bottom: 24px; }
.alert .icon { width: 26px; height: 26px; flex: none; }
.alert strong { display: block; font-size: 1.05rem; }
.alert p { margin-top: 4px; }
.alert--success { background: rgba(29, 138, 78, .1); color: #0f5a31; }
.alert--error { background: var(--red-soft); color: var(--red-2); }
.btn[data-submit][aria-busy="true"] { opacity: .7; pointer-events: none; }

/* Contact */
.contact { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact { grid-template-columns: 5fr 7fr; gap: 56px; align-items: start; } }
.infolist { display: grid; gap: 18px; margin-top: 8px; }
.infolist li { display: flex; gap: 14px; align-items: flex-start; }
.infolist > li > .icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--white); color: var(--red); box-shadow: var(--shadow-sm); }
.infolist span { display: block; font-size: .76rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-3); font-weight: 700; }
.infolist a { font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.infolist a:hover { color: var(--red); }
.map { margin-top: 24px; display: grid; gap: 12px; }
.map__title { font-size: 1.1rem; font-stretch: 106%; }
.map__frame { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; padding: 24px; text-align: center; font-size: .88rem; color: var(--text-2); background: repeating-linear-gradient(-45deg, var(--paper-2) 0 16px, var(--paper) 16px 32px); }
.map__consent .icon { width: 30px; height: 30px; color: var(--red); }

/* Textes légaux */
.legaltext { max-width: 820px; }
.legaltext h2 { font-size: 1.25rem; font-stretch: 106%; margin: 36px 0 10px; }
.legaltext h2:first-child { margin-top: 0; }
.legaltext p { color: var(--text-2); }

/* 404 */
.notfound { background: var(--ink); color: #fff; min-height: calc(100svh - var(--header-h)); display: grid; align-items: center; position: relative; overflow: hidden; }
.notfound__code { position: absolute; right: -2vw; bottom: -6vw; font: 900 clamp(10rem, 8rem + 20vw, 30rem)/1 var(--font-display); font-stretch: 125%; color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .08); }
.notfound__inner { position: relative; padding-block: 80px; }
.notfound__title { font-size: clamp(2rem, 1.4rem + 3vw, 3.6rem); font-stretch: 118%; max-width: 16ch; margin-bottom: 18px; }
.notfound p { color: var(--steel-2); max-width: 52ch; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ==========================================================================
   PIED DE PAGE
   ========================================================================== */
.footer { background: var(--ink); color: #fff; padding-top: 72px; font-size: .93rem; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 48px; } }
.footer__logo { display: inline-block; background: #fff; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; }
.footer__logo img { width: 200px; }
.footer__brand p { color: var(--steel-2); max-width: 40ch; }
.footer__rating { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: #fff !important; font-weight: 600; }
.footer__rating .icon { color: #f5a623; }
.footer__title { font: 700 .76rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--steel); margin-bottom: 18px; }
.footer__links { display: grid; gap: 10px; }
.footer__links a, .footer__address a { color: #fff; text-decoration: none; opacity: .88; }
.footer__links a:hover, .footer__address a:hover { opacity: 1; text-decoration: underline; }
.footer__address { color: var(--steel-2); line-height: 1.8; margin-bottom: 18px; }
.footer__address strong { color: #fff; }
.footer__lang { display: flex; gap: 8px; align-items: center; margin-top: 16px; color: var(--steel-2); }
.footer__area { margin-top: 48px; padding-block: 24px; border-top: 1px solid var(--line-dark); }
.footer__area p { color: var(--steel); font-size: .85rem; max-width: 100ch; }
.footer__bottom { border-top: 1px solid var(--line-dark); padding-block: 20px; font-size: .82rem; color: var(--steel); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__bottom a, .footer__bottom .linklike { color: var(--steel-2); text-decoration: none; }
.footer__bottom a:hover, .footer__bottom .linklike:hover { color: #fff; }

/* ==========================================================================
   BARRE D'ACTIONS MOBILE (appel toujours visible) + WHATSAPP
   ========================================================================== */
.mobilebar {
  position: fixed; inset: auto 0 0; z-index: 90; height: var(--mobilebar-h); padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  display: flex; gap: 8px; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(12, 14, 17, .25);
  box-sizing: content-box; height: calc(var(--mobilebar-h) - 16px);
}
.mobilebar a { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 14px; text-decoration: none; font-weight: 700; font-size: .95rem; }
.mobilebar .icon { width: 20px; height: 20px; }
.mobilebar__call { background: var(--red); color: #fff; flex: 1.4 !important; }
.mobilebar__wa { background: #1fa855; color: #fff; }
.mobilebar__book { background: var(--ink); color: #fff; }
@media (min-width: 900px) { .mobilebar { display: none; } }
.wa-float { display: none; }
@media (min-width: 900px) { .wa-float { position: fixed; right: 24px; bottom: 24px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #1fa855; color: #fff; box-shadow: var(--shadow-lg); transition: transform .3s var(--ease); } .wa-float:hover { transform: scale(1.08); } .wa-float .icon { width: 28px; height: 28px; } }

/* ==========================================================================
   BANDEAU COOKIES
   ========================================================================== */
.consent { position: fixed; z-index: 120; left: 12px; right: 12px; bottom: calc(var(--mobilebar-h) + 12px); }
@media (min-width: 900px) { .consent { left: 24px; right: auto; bottom: 24px; max-width: 460px; } }
.consent[hidden] { display: none; }
.consent__inner { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-lg); font-size: .88rem; animation: rise .5s var(--ease) both; }
.consent__title { font: 800 1.05rem/1.2 var(--font-display); font-stretch: 108%; margin-bottom: 8px; }
.consent p { color: var(--steel-2); }
.consent a { color: #fff; }
.consent__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.consent__actions .btn { flex: 1; }
.consent .btn--ghost { --fg: #fff; --bd: rgba(255, 255, 255, .3); }

/* ==========================================================================
   APPARITIONS AU DÉFILEMENT + TRANSITIONS ENTRE PAGES
   ========================================================================== */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
[data-parallax] { will-change: transform; }

/* Transitions élégantes entre les pages (navigateurs compatibles, sans JS) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .35s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vtIn .55s var(--ease) both; }
@keyframes vtOut { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vtIn { from { opacity: 0; transform: translateY(18px); } }

/* ---------- Respect de « prefers-reduced-motion » ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; scroll-behavior: auto !important; }
  .intro, html.show-splash .splash { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  [data-parallax] { transform: none !important; }
  @view-transition { navigation: none; }
}

/* ---------- Impression ---------- */
@media print {
  .header, .mobilebar, .consent, .footer, .ctaband, .intro, .splash, .wa-float, .gallery__nav { display: none !important; }
  body { padding: 0; background: #fff; }
  .phero, .hero { background: #fff !important; color: #000 !important; }
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ==========================================================================
   TABLETTE (640 – 1023 px) — mise en page dédiée, portrait et paysage
   ========================================================================== */

@media (min-width: 640px) and (max-width: 959.98px) {
}

@media (min-width: 640px) and (max-width: 899.98px) {
  /* Barre d'actions : pilule flottante centrée au lieu d'une barre pleine largeur */
  .mobilebar {
    left: 50%; right: auto; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%);
    width: min(560px, calc(100% - 48px)); padding: 8px; border-radius: 22px; border: 1px solid var(--line);
    box-shadow: 0 18px 40px -16px rgba(12, 14, 17, .45);
  }
  .consent { bottom: calc(var(--mobilebar-h) + 28px); left: 24px; right: auto; max-width: 480px; }
}

@media (min-width: 640px) and (max-width: 1023.98px) {
  /* Zone desservie : boutons côte à côte */
  .area__actions { grid-template-columns: 1fr 1fr; }
  .area__card { padding: 36px; }

  /* Bande CTA : 3 boutons alignés */
  .ctaband__actions { grid-template-columns: repeat(2, 1fr); }

  /* Catalogue : filtres en grille sur deux colonnes */
  .filters__toggle { width: auto; padding-inline: 26px; }
  .filters.is-open .filters__form { grid-template-columns: 1fr 1fr; column-gap: 20px; }
  .filters__title, .filters__form fieldset.field, .filters__actions { grid-column: 1 / -1; }
  .filters__actions { grid-template-columns: 1fr 1fr; }
  .results__bar { margin-top: 4px; }

  /* Fiche véhicule */
  .vsummary { padding: 32px; }
  .vsummary__keys { grid-template-columns: repeat(3, 1fr); }
  .vsummary__actions { grid-template-columns: 1fr 1fr; }
  .vsummary__actions .btn--primary, .vsummary__actions .btn:nth-child(2):last-child { grid-column: 1 / -1; }
  .vdetail__side { grid-template-columns: 1fr 1fr; align-items: start; }
  .vdetail__side .vblock--dark, .vdetail__side .vdetail__as { grid-column: 1 / -1; }
  .gallery__thumbs button { width: 110px; }

  /* Pages de service, rendez-vous, devis : carte de contact, boutons côte à côte */
  .split__aside .contactcard, .formpage__side .contactcard { grid-template-columns: 1fr 1fr; column-gap: 12px; }
  .split__aside .contactcard > *, .formpage__side .contactcard > * { grid-column: 1 / -1; }
  .split__aside .contactcard > .btn { grid-column: auto; }
  .contact__info .infolist { grid-template-columns: 1fr 1fr; }

  /* À propos */
  .facts { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .facts div:nth-last-child(2) { border-bottom: 0; }
}

/* Pied de page : horaires toujours lisibles */
.hours dt { white-space: nowrap; }
@media (min-width: 760px) and (max-width: 1099.98px) {
  .footer__brand { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; column-gap: 32px; align-items: start; }
  .footer__brand .footer__logo { grid-row: span 2; }
}

/* Tablette paysage (960 – 1199 px) */
@media (min-width: 960px) and (max-width: 1199.98px) {
  .services { grid-template-columns: repeat(2, 1fr); }
}
}

/* Sans barre mobile (≥ 900 px) mais menu replié : bouton d'appel rond dans l'en-tête */
@media (min-width: 900px) and (max-width: 1359.98px) {
  .header__phone { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; background: var(--red-soft); }
  .header__phone span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .header__phone .icon { width: 20px; height: 20px; }
}

/* Hero sur téléphone : photo en haut, texte en dessous (jamais superposés) */
@media (max-width: 639.98px) {
  .hero { display: block; min-height: 0; }
  .hero__media { position: relative; inset: auto; aspect-ratio: 4 / 3; z-index: 0; overflow: hidden; }
  .hero__img { object-position: 50% 50%; }
  .hero__media::after { background: linear-gradient(0deg, var(--ink) 0%, rgba(12, 14, 17, 0) 35%); }
  .hero__content { padding-block: 8px 40px; }
  .hero__title { font-size: clamp(2rem, 1.2rem + 4vw, 2.6rem); }
}

/* Pagination du catalogue (Search API) */
.pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 36px; }
.pager__list { display: flex; gap: 6px; }
.pager__num, .pager__step { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 0 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink); transition: border-color .2s, background-color .2s, color .2s; }
.pager a:hover { border-color: var(--ink); }
.pager__num.is-current { background: var(--ink); border-color: var(--ink); color: #fff; }
.pager__step .icon { width: 16px; height: 16px; }

/* Utilitaires, ancien prix barré, description, équipements complets */
.badge--right { left: auto; right: 14px; }
.badge--right .icon { color: var(--navy); }
.vcard__old, .vsummary__old { display: block; font: 500 .82rem/1.2 var(--font-body); color: var(--text-3); text-decoration: line-through; margin-bottom: 4px; }
.vsummary__old { font-size: .95rem; }
.vdesc { white-space: pre-line; color: var(--text-2); }
.vdesc + .vdesc__note { margin-top: 12px; font-size: .82rem; color: var(--text-3); }
.vdesc__orig { margin-top: 14px; }
.vdesc__orig summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--navy); }
.vdesc__orig p { margin-top: 10px; white-space: pre-line; color: var(--text-2); font-size: .92rem; }
.equip-all { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; }
.equip-all summary { cursor: pointer; font-weight: 700; display: flex; align-items: center; justify-content: space-between; gap: 12px; list-style: none; }
.equip-all summary::-webkit-details-marker { display: none; }
.equip-all[open] .faq__plus::after { transform: translate(-50%, -50%) rotate(0); }
.equip-all .options { margin-top: 14px; }

/* ==========================================================================
   NAVIGATION EN PASTILLE
   Les liens du menu sont regroupés dans un conteneur arrondi en verre dépoli ;
   une pastille intérieure glisse d'un lien à l'autre (main.js). Sans JavaScript,
   le lien de la page courante garde sa propre pastille.
   ========================================================================== */
.header { background: rgba(255, 255, 255, .84); transition: height .4s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease); }
.header.is-scrolled { height: calc(var(--header-h) - 12px); background: rgba(255, 255, 255, .96); }
body.nav-open .header { height: var(--header-h); }
.header__logo { transition: width .4s var(--ease); }
.header.is-scrolled .header__logo { width: 134px; }
@media (min-width: 1024px) { .header.is-scrolled .header__logo { width: 176px; } }
body.nav-open .header .header__logo { width: 150px; }
.burger { border-radius: 999px; }
.nav__pill { display: none; }

@media (min-width: 1200px) {
  .nav { margin-left: 20px; }
  .nav__list {
    position: relative; gap: 2px; padding: 5px; border-radius: 999px;
    background: rgba(12, 14, 17, .055); box-shadow: inset 0 0 0 1px rgba(12, 14, 17, .05);
    -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
    transition: padding .4s var(--ease);
  }
  .nav__link { z-index: 1; padding: 9px 16px; border-radius: 999px; font-size: .9rem; color: var(--text-2); transition: color .25s var(--ease), padding .4s var(--ease); }
  .nav__link::after { display: none; }
  .nav__link:hover, .nav__link:focus-visible, .nav__link.is-active { color: var(--ink); }
  .nav__link.is-active, .nav__pill { background: #fff; box-shadow: 0 1px 2px rgba(12, 14, 17, .08), 0 6px 16px -8px rgba(12, 14, 17, .32); }
  .nav__link.is-active { view-transition-name: nav-active; }
  .nav__list.has-pill .nav__link.is-active { background: transparent; box-shadow: none; view-transition-name: none; }
  .nav__pill {
    display: block; position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: var(--w, 0px);
    transform: translate3d(var(--x, 0px), 0, 0); border-radius: 999px; opacity: 0; pointer-events: none;
    transition: transform .5s var(--ease), width .5s var(--ease), opacity .25s var(--ease);
    view-transition-name: nav-active;
  }
  .nav__pill.is-on { opacity: 1; }
  .nav__pill.no-anim { transition: none; }
  .header.is-scrolled .nav__list { padding: 4px; }
  .header.is-scrolled .nav__link { padding: 7px 15px; }
  .header.is-scrolled .nav__pill { top: 4px; bottom: 4px; }
}
/* Téléphone : même style arrondi que le menu */
@media (min-width: 1360px) {
  .header__phone { padding: 9px 16px; border-radius: 999px; background: rgba(12, 14, 17, .055); box-shadow: inset 0 0 0 1px rgba(12, 14, 17, .05); transition: background-color .25s var(--ease); }
  .header__phone:hover { background: rgba(12, 14, 17, .09); }
}
@media (min-width: 900px) and (max-width: 1359.98px) { .header__phone { border-radius: 999px; } }

/* Menu mobile : panneau flottant arrondi, dans le même esprit */
@media (max-width: 1199.98px) {
  .nav {
    inset: calc(var(--header-h) + 8px) 12px auto 12px; max-height: calc(100dvh - var(--header-h) - var(--mobilebar-h) - 28px);
    padding: 12px; border-radius: 28px; background: #111318;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), 0 30px 70px -18px rgba(0, 0, 0, .65);
    clip-path: none; opacity: 0; transform: translate3d(0, -12px, 0) scale(.97); transform-origin: top center;
    transition: opacity .25s var(--ease), transform .35s var(--ease), visibility 0s .35s;
  }
  .nav.is-open { clip-path: none; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .45s var(--ease); }
  .nav__list { gap: 2px; }
  .nav__link { font: 700 1.2rem/1.2 var(--font-display); font-stretch: 108%; padding: 15px 18px; border-bottom: 0; border-radius: 18px; transition: background-color .2s var(--ease); }
  .nav__link::after { display: none; }
  .nav__link.is-active { background: rgba(255, 255, 255, .1); }
  .nav__link:active { background: rgba(255, 255, 255, .16); }
  .nav__mobile-extra { margin-top: 10px; padding: 14px 6px 6px; border-top: 1px solid rgba(255, 255, 255, .1); }
  .nav__hours { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .nav__pill, .header, .header__logo, .nav { transition: none; } }

/* Accueil : trois prestations (la carte Dépannage a été retirée) */
@media (min-width: 700px) { .services > :last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (min-width: 960px) { .services { grid-template-columns: repeat(3, 1fr); } .services > :last-child:nth-child(odd) { grid-column: auto; } }

/* ==========================================================================
   EN-TÊTE TRANSPARENT
   Plus de barre : seuls le logo et les pastilles restent visibles. Chaque
   pastille a son propre fond en verre dépoli ; main.js lui ajoute la classe
   « on-dark » quand elle passe au-dessus d'une zone sombre (texte clair), et
   la retire au-dessus d'une zone claire (texte foncé).
   ========================================================================== */
.header, .header.is-scrolled {
  background: transparent; border-bottom: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none;
  view-transition-name: none; /* sinon le flou des pastilles ne voit pas la page derrière l'en-tête */
  --g-bg: rgba(255, 255, 255, .8); --g-line: rgba(12, 14, 17, .09); --g-shadow: 0 10px 28px -16px rgba(12, 14, 17, .45);
  --g-fg: var(--ink); --g-fg2: var(--text-2); --g-pill: #fff; --g-pill-shadow: 0 1px 2px rgba(12, 14, 17, .08), 0 6px 16px -8px rgba(12, 14, 17, .32);
  --g-cur-bg: var(--ink); --g-cur-fg: #fff; --g-icon: var(--red);
}
.header__logo, .header .nav, .header__actions { pointer-events: auto; }
.header .on-dark {
  --g-bg: rgba(16, 18, 23, .58); --g-line: rgba(255, 255, 255, .17); --g-shadow: 0 10px 28px -16px rgba(0, 0, 0, .6);
  --g-fg: #fff; --g-fg2: rgba(255, 255, 255, .8); --g-pill: rgba(255, 255, 255, .2); --g-pill-shadow: none;
  --g-cur-bg: #fff; --g-cur-fg: var(--ink); --g-icon: #fff;
}
/* Verre dépoli commun aux pastilles */
.lang, .burger, .header__phone {
  background: var(--g-bg); box-shadow: inset 0 0 0 1px var(--g-line), var(--g-shadow);
  -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease);
}
.lang__item { color: var(--g-fg2); }
.lang__item:not(.is-current):hover { color: var(--g-fg); }
.lang__item.is-current { background: var(--g-cur-bg); color: var(--g-cur-fg); }
.burger { color: var(--g-fg); }
.header__phone { color: var(--g-fg); }
.header__phone .icon { color: var(--g-icon); transition: color .35s var(--ease); }
@media (min-width: 1360px) { .header__phone:hover { background: var(--g-bg); filter: brightness(1.06); } }
@media (min-width: 1200px) {
  .nav__list { background: var(--g-bg); box-shadow: inset 0 0 0 1px var(--g-line), var(--g-shadow); -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7); transition: padding .4s var(--ease), background-color .35s var(--ease), box-shadow .35s var(--ease); }
  .nav__link { color: var(--g-fg2); }
  .nav__link:hover, .nav__link:focus-visible, .nav__link.is-active { color: var(--g-fg); }
  .nav__link.is-active, .nav__pill { background: var(--g-pill); box-shadow: var(--g-pill-shadow); }
  .nav__pill { transition: transform .5s var(--ease), width .5s var(--ease), opacity .25s var(--ease), background-color .35s var(--ease); }
}
/* Logo : toujours en couleurs */
.header__logo img { transition: filter .35s var(--ease); }
/* Logo sans fond ni contour blanc : seulement une lueur très douce et diffuse au-dessus d'une zone sombre */
.header__logo.on-dark img { filter: drop-shadow(0 0 16px rgba(255, 255, 255, .22)); }

/* ==========================================================================
   AVIS GOOGLE (accueil) — remplis par main.js depuis /api/reviews/
   ========================================================================== */
.greviews { display: grid; gap: 20px; }
.greviews__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.greviews__brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .95rem; }
.greviews__brand svg { width: 22px; height: 22px; flex: none; }
.greviews__score { display: inline-flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--text-2); }
.greviews__score strong { font: 800 1.35rem/1 var(--font-display); color: var(--ink); }
.gstars { display: inline-flex; gap: 2px; color: #d9d9d2; }
.gstars .icon { width: 16px; height: 16px; }
.gstars .is-on { color: #fbbc04; }
.gstars .icon { fill: currentColor; stroke: none; }
.greview { gap: 12px; }
.greview__who { display: flex; align-items: center; gap: 12px; }
.greview__photo { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; background: var(--paper-2); display: grid; place-items: center; font-weight: 700; color: var(--text-2); }
.greview__name { font-weight: 700; font-size: .92rem; color: var(--ink); text-decoration: none; display: block; }
a.greview__name:hover { text-decoration: underline; }
.greview__date { font-size: .78rem; color: var(--text-3); }
.greview blockquote p { white-space: pre-line; overflow-wrap: anywhere; }
.greview.is-clamped blockquote p { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
.greview__more { align-self: flex-start; font-size: .85rem; font-weight: 600; }
@media (min-width: 1000px) { .greviews .reviews__slots { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .greviews .reviews__slots { grid-template-columns: repeat(3, 1fr); } }

/* ==========================================================================
   PLAN D'ACCÈS (page Contact) : carte en image, carte interactive à la demande
   ========================================================================== */
.map__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.map__credit { position: absolute; right: 8px; top: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .85); font-size: .7rem; color: var(--text-2); }
.map__credit a { color: inherit; }
.map__load { position: absolute; left: 12px; bottom: 12px; box-shadow: 0 8px 22px -10px rgba(12, 14, 17, .6); }
.map__note { font-size: .78rem; color: var(--text-3); }

/* Avis Google sans nom d'auteur : le logo Google remplace la photo de profil */
.greview__photo--g { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.greview__photo--g svg { width: 20px; height: 20px; }

/* Boutons contenant le numéro au format +41 : le texte passe à la ligne au lieu d'être coupé */
.vsummary__actions .btn, .ctaband__actions .btn { white-space: normal; text-align: center; height: auto; }

/* Fiche véhicule : la bande de miniatures défile dans sa colonne au lieu d'élargir la page */
.vdetail__top > * { min-width: 0; }

/* Accueil : la photo du bandeau monte jusqu'en haut de l'écran, derrière l'en-tête
   transparent (plus de bande claire au-dessus de l'image). */
.hero { margin-top: calc(-1 * var(--header-h)); min-height: min(calc(100svh - var(--mobilebar-h)), calc(860px + var(--header-h))); padding-top: var(--header-h); }
@media (min-width: 640px) { .hero { min-height: min(100svh, calc(900px + var(--header-h))); } }
@media (max-width: 639.98px) { .hero { min-height: 0; padding-top: 0; } }
