/*!
 * OMODA & JAECOO — feuille de style unique.
 * Un seul fichier CSS (pas de framework externe) pour limiter les requêtes
 * réseau. Couleurs/rayons/ombres centralisés en variables CSS : les teintes
 * ci-dessous sont approximées depuis la capture Figma (pas de nuancier
 * fourni) — à ajuster ici une fois la charte graphique exacte en main.
 */

/* ---------------------------------------------------------------------- */
/* 0. Polices (charte graphique, fournies par Franck le 22/10/2026)         */
/* ---------------------------------------------------------------------- */
/*
 * - Manrope (ExtraLight, seule graisse fournie) : police de texte courant
 *   du site (corps de texte, boutons, menus...) — remplace la pile de
 *   polices système utilisée jusqu'ici. Les graisses plus épaisses déjà
 *   demandées ailleurs dans le CSS (600/700/800 sur les boutons, badges,
 *   etc.) s'affichent en gras "synthétique" du navigateur : c'est la seule
 *   graisse qu'on nous a fournie, à revoir si Franck fournit d'autres
 *   fichiers (Regular/SemiBold/Bold) de Manrope.
 * - TT Autonomous Trl (Regular + Medium) : police d'accroche utilisée pour
 *   TOUS les titres du site (voir règle `h1,h2,h3,h4` plus bas) — fichier
 *   nommé "Trl", donc probablement une version d'essai (trial) de cette
 *   police payante : à vérifier/acheter la licence commerciale complète
 *   avant mise en production si ce n'est pas déjà fait.
 * - Michroma : utilisée uniquement pour le bandeau accroche courte de la
 *   fiche OMODA 7 (`.ostatement__heading`, voir §15) — c'est la seule
 *   occurrence identifiée dans la maquette Figma à ce jour.
 * Déclarées en weight-range (ex. 500 900 sur la graisse Medium) pour que
 * le navigateur choisisse automatiquement le fichier le plus proche d'un
 * `font-weight` demandé plutôt que de synthétiser un faux gras à partir
 * d'une seule graisse quand une 2ᵉ est disponible.
 */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-ExtraLight.woff2') format('woff2');
  font-weight: 200 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Autonomous Trl';
  src: url('../fonts/TTAutonomousTrl-Regular.woff2') format('woff2');
  font-weight: 400 499;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'TT Autonomous Trl';
  src: url('../fonts/TTAutonomousTrl-Medium.woff2') format('woff2');
  font-weight: 500 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Michroma';
  src: url('../fonts/Michroma-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------------- */
/* 1. Design tokens                                                        */
/* ---------------------------------------------------------------------- */
:root {
  --color-black: #0b0b10;
  --color-white: #ffffff;
  --color-text: #17171c;
  --color-text-muted: #5c5c66;
  --color-border: #e4e4e8;
  --color-surface: #f6f6f8;
  --color-accent: #e2032e;              /* rouge de la marque (barre du logo) */
  --color-promo-start: #6a33ff;         /* dégradé badge "offre" / accent OMODA (exact Figma OMODA 9) */
  --color-promo-end: #ff4ca3;
  --color-dark-start: #241b3e;          /* dégradé fond garantie / footer */
  --color-dark-end: #1b2340;
  --color-jaecoo-gradient-start: #03261e; /* dégradé accent JAECOO (même couleurs que .badge--promo-jaecoo, en pleine opacité) */
  --color-jaecoo-gradient-end: #329595;

  /* Palette dédiée aux fiches modèle OMODA (plus claire/premium que      */
  /* JAECOO : fond blanc dominant, accent dégradé violet→rose, cartes     */
  /* sombres ponctuelles). Voir "14. Pages véhicule OMODA" plus bas.      */
  --omoda-ink: #0a0a0c;
  --omoda-muted-on-dark: #a8aebe;
  --omoda-muted-on-light: #5a5a63;
  --omoda-text-faint: #6b6b74;
  --omoda-dark-card: #141826;
  --omoda-divider-on-dark: rgba(106, 51, 255, 0.32);
  --omoda-border-light: #ececef;
  --omoda-border-light-2: #d8d8de;
  --omoda-accent-alt: #a3387a;          /* bordure CTA héro / eyebrow motorisation */
  --omoda-accent-teal: #a0eef0;         /* eyebrow/stats technologie & Super Hybrid System (OMODA 7) */
  --omoda-accent-pink: #ff63af;         /* accent chiffre-clé technologie (OMODA 7) */
  /* Resynchronisation complète OMODA 7 sur Figma (node 2298:725, 22/10/2026) : */
  --omoda-eyebrow-magenta: #983471;     /* eyebrow "Le détail" / articles points forts */
  --omoda-heading-ink: #181e29;         /* titres sombres sur fond clair (détail/points forts) */
  --omoda-muted-on-light-2: #5c6270;    /* paragraphe articles points forts sur fond clair */
  --omoda-section-tint: #ece6ec;        /* fond clair teinté (détail/points forts/récap) */

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 35px;
  --radius-pill: 999px;

  --shadow-card: 0 10px 30px rgba(20, 20, 30, 0.08);
  --shadow-card-lg: 0 20px 45px rgba(20, 20, 30, 0.12);

  --container: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4rem);

  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'TT Autonomous Trl', var(--font-sans);

  --transition: 220ms ease;
}

/* ---------------------------------------------------------------------- */
/* 2. Reset minimal                                                        */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.5;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); text-transform: uppercase; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
details > summary { cursor: pointer; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.img-placeholder { background: var(--color-surface); }

/* ---------------------------------------------------------------------- */
/* 3. Boutons & badges                                                     */
/* ---------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btn--sm { padding: 0.65rem 1.15rem; font-size: 0.75rem; }
.btn--solid { background: var(--color-black); color: var(--color-white); border: 1px solid var(--color-black); }
.btn--solid:hover, .btn--solid:focus-visible { background: #2a2a33; }
.btn--outline { background: transparent; color: var(--color-black); border: 1px solid var(--color-black); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--color-black); color: var(--color-white); }
.btn--solid-grey { background: #808080; color: var(--color-white); border: 1px solid #808080; }
.btn--solid-grey:hover, .btn--solid-grey:focus-visible { background: #6b6b6b; }
/* Dégradé violet→rose (CTA principal des fiches OMODA). */
.btn--gradient {
  background: linear-gradient(120deg, var(--color-promo-start), var(--color-promo-end));
  color: var(--color-white);
  border: 1px solid transparent;
}
.btn--gradient:hover, .btn--gradient:focus-visible { filter: brightness(1.08); }
/* Pastille vitrée (CTA secondaire du héro OMODA, posé sur photo). */
.btn--glass-light {
  background: rgba(255, 255, 255, 0.55);
  color: var(--omoda-ink);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--glass-light:hover, .btn--glass-light:focus-visible { background: rgba(255, 255, 255, 0.75); }
/* Pastille contour blanc (CTA secondaire sur carte sombre, ex. récap OMODA 7). */
.btn--outline-white { background: rgba(255, 255, 255, 0.08); color: var(--color-white); border: 1px solid rgba(255, 255, 255, 0.32); }
.btn--outline-white:hover, .btn--outline-white:focus-visible { background: rgba(255, 255, 255, 0.18); }

.badge {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 600;
}
.badge--promo {
  background: linear-gradient(120deg, var(--color-promo-start), var(--color-promo-end));
  color: var(--color-white);
}

.icon { width: 1.25em; height: 1.25em; }
.icon--lg { width: 1.5rem; height: 1.5rem; }

.section-title {
  font-size: clamp(1.5rem, 2.4vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-title--light { color: var(--color-white); }

/* ---------------------------------------------------------------------- */
/* 4. Header + navigation rapide                                          */
/* ---------------------------------------------------------------------- */
/* Barre flottante : fixe, fond blanc légèrement transparent (avec flou
   sous la barre pour rester lisible sur les images), coins arrondis,
   toujours dans le même état visuel quel que soit le fond derrière —
   d'où le glassmorphism plutôt qu'un simple blanc plein. */
.site-header {
  /*
   * Maquette Figma mise à jour (node 2298:676) : barre entièrement en
   * pilule (border-radius plein), fond "vitré" et bordure fine. La
   * maquette montre ce traitement en blanc-sur-sombre (posé sur le héro
   * photo), mais la barre reste fixe pendant tout le défilement et passe
   * donc aussi devant des sections à fond blanc plus bas sur chaque page
   * — on garde donc le fond clair + texte sombre déjà en place (voir
   * commentaire plus bas) pour une lisibilité garantie quel que soit le
   * fond derrière, tout en adoptant la nouvelle forme pilule, le profil
   * plus fin et le picto de menu à 2 traits avec libellé visible.
   */
  position: fixed;
  top: clamp(0.75rem, 2vw, 1.5rem);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 1.5rem);
  max-width: var(--container);
  z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(10, 10, 20, 0.06);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px rgba(10, 10, 20, 0.10);
}
.site-header__inner {
  padding: 0.5rem 0.5rem 0.5rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 52px;
}
.header-burger {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  padding: 0.4rem 0.2rem;
}
.header-burger__bars { display: inline-flex; flex-direction: column; gap: 5px; width: 20px; }
.header-burger__bar { display: block; height: 1.5px; width: 100%; background: currentColor; border-radius: 1px; }
.header-burger__bar--sm { width: 70%; }
.header-burger__label { font-size: 0.8125rem; font-weight: 600; }
.header-burger .icon--close { display: none; }
.header-burger[aria-expanded="true"] .icon--open { display: none; }
.header-burger[aria-expanded="true"] .icon--close { display: block; }

.site-header__logo { flex-shrink: 0; color: var(--color-black); }
.site-header__logo-svg { height: 1.05rem; width: auto; display: block; }

.site-header__actions {
  margin-left: auto;
  display: flex;
  gap: 0.75rem;
}

@media (max-width: 820px) {
  .site-header__actions { display: none; }
}
@media (max-width: 420px) {
  /* Sur très petits écrans, le libellé "Menu" visible prendrait trop de
     place à côté du logo (OMODA & JAECOO) : on repasse en picto seul,
     comme avant la nouvelle maquette. */
  .header-burger__label { display: none; }
  .header-burger { gap: 0; }
  .site-header__inner { gap: 0.75rem; padding-left: 0.9rem; }
}

/* Panneau de menu mobile plein écran (ouvert depuis le burger). */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 190;
  background: rgba(10, 10, 16, 0.45);
  opacity: 0;
  transition: opacity var(--transition);
}
.mobile-menu-backdrop.is-open { opacity: 1; }

/*
 * Panneau de menu (maquette Figma du 22/10/2026, nodes 2298:3179 et
 * 2298:4111) : .mobile-menu est un tiroir plein-hauteur contenant 2
 * sous-panneaux côte à côte en flex — .mmenu-nav (liste principale,
 * toujours visible) et .mmenu-models ("Nos modèles", caché par défaut).
 * Sur un écran large, ouvrir "Modèles" élargit .mobile-menu pour montrer
 * les deux côte à côte (comme la maquette, pensée pour desktop/tablette).
 * Sur un écran étroit (pas la place pour 420px + 760px), .mmenu-models
 * remplace .mmenu-nav en pleine largeur — un bouton retour permet de
 * revenir à la liste principale. Voir js/main.js pour la logique.
 */
.mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  width: min(380px, 88vw);
  z-index: 200;
  display: flex;
  align-items: stretch;
  background: var(--color-white);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-card-lg);
  transform: translateX(-100%);
  transition: transform var(--transition), width var(--transition);
  overflow: hidden;
}
.mobile-menu.is-open { transform: translateX(0); }

@media (min-width: 900px) {
  .mobile-menu { width: min(420px, 88vw); }
  .mobile-menu.is-models-open { width: min(1180px, 96vw); }
}

.mmenu-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: min(380px, 88vw);
  flex-shrink: 0;
  height: 100%;
  overflow-y: auto;
}
@media (min-width: 900px) { .mmenu-nav { min-width: min(420px, 88vw); } }
.mobile-menu.is-models-open .mmenu-nav { display: none; }
@media (min-width: 900px) {
  .mobile-menu.is-models-open .mmenu-nav {
    display: flex;
    width: min(420px, 88vw);
    flex-shrink: 0;
  }
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  flex-shrink: 0;
}
.mmenu-nav__logo { display: inline-flex; color: var(--color-black); }
.mmenu-nav__logo-svg { height: 0.875rem; width: auto; display: block; }
.mobile-menu__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-pill);
}
.mobile-menu__close:hover, .mobile-menu__close:focus-visible { background: var(--color-surface); }

.mmenu-nav__body { flex: 1 0 auto; display: flex; flex-direction: column; gap: 1.5rem; padding: 0 1.5rem 1.5rem; }

.mobile-menu__list { display: flex; flex-direction: column; }
.mobile-menu__item { border-bottom: 1px solid var(--omoda-border-light); }
.mobile-menu__item > a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--omoda-ink);
}
.mmenu-item-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.9rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--omoda-ink);
}
.mmenu-item-btn .icon { width: 1rem; height: 1rem; color: var(--omoda-text-faint); }

.mobile-menu-accordion { border: 0; }
.mobile-menu-accordion summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  font-size: 1rem;
  font-weight: 500;
  list-style: none;
  color: var(--omoda-ink);
}
.mobile-menu-accordion summary::-webkit-details-marker { display: none; }
.mobile-menu-accordion summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--color-text-muted);
}
.mobile-menu-accordion[open] summary::after { content: "\2212"; }

.mobile-menu__submenu { display: flex; flex-direction: column; padding-bottom: 0.75rem; }
.mobile-menu__submenu a {
  display: block;
  padding: 0.6rem 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

/* -- Tuiles d'action rapide (Essai / Configurer / Concession). --------- */
.mmenu-quick { display: flex; gap: 0.5rem; }
.mmenu-quick__tile {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  padding: 1rem 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--omoda-border-light);
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
  color: var(--omoda-ink);
  transition: background var(--transition);
}
.mmenu-quick__tile:hover, .mmenu-quick__tile:focus-visible { background: #f0f0f2; }

/* -- Bloc "Nous contacter" en pied du panneau nav. ---------------------- */
.mmenu-nav__footer {
  flex-shrink: 0;
  border-top: 1px solid var(--omoda-border-light);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.mmenu-nav__footer-label {
  color: var(--omoda-text-faint);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mmenu-nav__footer-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--omoda-ink);
  font-size: 0.875rem;
}
.mmenu-nav__footer-link .icon { width: 1rem; height: 1rem; flex-shrink: 0; color: var(--omoda-text-faint); }

body.menu-open { overflow: hidden; }

/* -- Panneau "Nos modèles" (filtrable par motorisation). ---------------- */
.mmenu-models {
  display: none;
  flex-direction: column;
  width: 100%;
  height: 100%;
  background: var(--color-surface);
  border-left: 1px solid var(--omoda-border-light);
}
.mobile-menu.is-models-open .mmenu-models { display: flex; }
@media (min-width: 900px) { .mmenu-models { width: calc(100% - min(420px, 88vw)); } }

.mmenu-models__header { flex-shrink: 0; padding: 1.25rem 1.5rem 1rem; border-bottom: 1px solid var(--omoda-border-light); background: var(--color-white); }
.mmenu-models__titlebar { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.mmenu-models__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-pill);
  flex-shrink: 0;
}
.mmenu-models__back:hover, .mmenu-models__back:focus-visible { background: var(--color-surface); }
@media (min-width: 900px) { .mmenu-models__back { display: none; } }
.mmenu-models__title {
  flex: 1 0 0;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--omoda-ink);
}
.mmenu-models__header .mobile-menu__close { flex-shrink: 0; }

.mmenu-filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding: 0.25rem;
  background: var(--color-surface);
  border: 1px solid var(--omoda-border-light-2);
  border-radius: var(--radius-pill);
}
.mmenu-filter {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--omoda-muted-on-light);
  transition: background var(--transition), color var(--transition);
}
.mmenu-filter.is-active { background: var(--omoda-ink); color: var(--color-white); box-shadow: 0 2px 6px rgba(10, 10, 12, 0.18); }

/* flex: 1 1 auto + min-height: 0 (et pas flex-shrink: 0) : indispensable
   pour qu'un enfant flex en colonne accepte de se réduire sous sa hauteur
   de contenu naturelle et déclenche son propre scroll interne — sinon,
   avec plus de 2 véhicules par marque (ou un filtre qui en affiche
   beaucoup), ce bloc dépassait silencieusement de .mmenu-models au lieu
   de faire apparaître une barre de défilement. */
.mmenu-models__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 1rem 1.5rem 2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.mmenu-brand__heading {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  color: var(--omoda-text-faint);
}
.mmenu-brand__heading span { font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--omoda-ink); }
.mmenu-brand__grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 560px) { .mmenu-brand__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .mmenu-brand__grid { grid-template-columns: 1fr; } }
@media (min-width: 1100px) { .mmenu-brand__grid { grid-template-columns: repeat(2, 1fr); } }

.mmenu-car {
  background: var(--color-white);
  border: 1px solid var(--omoda-border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.mmenu-car__media { display: block; aspect-ratio: 16 / 9; background: var(--color-surface); }
.mmenu-car__image { width: 100%; height: 100%; object-fit: cover; }
.mmenu-car__body { padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.mmenu-car__badge {
  align-self: flex-start;
  border: 1px solid var(--omoda-border-light-2);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--omoda-ink);
}
.mmenu-car__name { font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.mmenu-car__name a { color: var(--omoda-ink); }
.mmenu-car__price { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; font-size: 0.875rem; color: var(--omoda-muted-on-light); }
.mmenu-car__price strong { color: var(--omoda-ink); }
.mmenu-car__info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  border: 1px solid var(--omoda-text-faint);
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 700;
  color: var(--omoda-text-faint);
  cursor: help;
}
.mmenu-car__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; padding-top: 0.25rem; }

.quick-nav {
  position: fixed;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 0.35rem;
}
.quick-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.6875rem;
  font-weight: 600;
  text-align: center;
  transition: background var(--transition);
}
.quick-nav__link:hover, .quick-nav__link:focus-visible { background: var(--color-surface); }

@media (max-width: 640px) {
  .quick-nav {
    right: 0; left: 0; top: auto; bottom: 0;
    transform: none;
    flex-direction: row;
    border-radius: 0;
    justify-content: space-around;
    padding: 0.35rem 0;
  }
}

/* Masquée sur /essai.html (demandé par Franck le 23/10/2026) : cette
   pastille flottante ("Essai"/"Configurer"/"Concession") n'a pas sa place
   sur la page qui EST déjà le formulaire d'essai, et elle gênait la vue
   sur le wizard multi-étapes. $bodyClass="is-essai-page" posé par
   essai.php (voir includes/header.php). */
body.is-essai-page .quick-nav { display: none; }

/* ---------------------------------------------------------------------- */
/* 5. Hero carrousel                                                       */
/* ---------------------------------------------------------------------- */
/* `width: 100%` ci-dessous est nécessaire (bug corrigé le 23/10/2026) :
   quand un bloc normal a à la fois `aspect-ratio` ET `max-height`, et que
   ce plafond devient la contrainte active (viewport pas assez haut), les
   navigateurs recalculent la LARGEUR à partir du ratio plutôt que de
   garder le bloc à 100% de son conteneur et de rogner la hauteur — d'où
   l'espace blanc qui apparaissait à droite du héro sur certains écrans.
   Un `width: 100%` explicite force le bloc à rester plein cadre ; c'est
   alors la hauteur qui se déduit du ratio puis se fait plafonner par
   `max-height`, comme voulu. Même correctif appliqué à `.vhero` et
   `.ohero` plus bas (même anatomie de héro, même bug). */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 90vh;
  overflow: hidden;
  background: var(--color-black);
}
@media (min-width: 900px) { .hero { aspect-ratio: 16 / 9; } }
/* Ratio plus haut sur petit écran (23/10/2026) : depuis que chaque
   diapositive affiche un titre sur 2 lignes + CTA (maquette Figma), un
   héro au ratio 16/10 devient trop bas sur mobile (environ 244px sur un
   écran de 390px de large) pour que le texte, ancré en bas, ne remonte pas
   jusque sous la barre de menu flottante (position: fixed, posée par-dessus
   le héro). Volontairement un AUTRE `aspect-ratio` (pas un `min-height` à
   la place) : .hero__track/.hero__slide/.hero__content s'empilent en
   cascade avec des hauteurs en `%`/`inset:0`, qui ont besoin d'une hauteur
   "définie" sur .hero pour se calculer — un simple `min-height` sur une
   boîte en `height:auto` n'en est pas une pour le CSS (elle s'effondre à 0
   malgré un `.hero` visuellement bien haut de 560px), alors qu'un
   `aspect-ratio` en est une (déjà ce qui fait fonctionner le ratio 16/9 au
   -dessus de 900px) — piège vérifié en local avant d'arrêter ce choix. */
@media (max-width: 899px) { .hero { aspect-ratio: 2 / 3; } }

.hero__track { position: relative; width: 100%; height: 100%; }
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
}
.hero__slide[hidden] { display: none; }
.hero__image { width: 100%; height: 100%; object-fit: cover; }

/* Flèches précédent/suivant retirées le 23/10/2026 (voir includes/hero.php)
   — règles .hero__control* supprimées avec elles, plus aucun markup ne les
   utilise. */

/* Voile dégradé + bloc de contenu par diapositive, repris de la maquette
   Figma du slider (node 2311:4668, 23/10/2026) : titre/prix/CTA sont
   désormais à l'intérieur de chaque .hero__slide (plutôt qu'un seul bloc
   de texte partagé), donc ils changent avec l'image à chaque diapositive. */
.hero__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0) 20%, rgba(10, 10, 12, 0.15) 38%, rgba(10, 10, 12, 0.62) 70%, rgba(10, 10, 12, 0.9) 100%),
    linear-gradient(180deg, rgba(10, 10, 12, 0.35) 0%, rgba(10, 10, 12, 0) 22%);
  pointer-events: none;
}
.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 var(--gutter) clamp(3.5rem, 9vw, 5.5rem);
  max-width: 42rem;
  color: var(--color-white);
}
.hero__title {
  font-size: clamp(1.5rem, 3.2vw, 2rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.12;
  margin-bottom: 1rem;
}
.hero__price { font-size: 1rem; line-height: 1.6; margin-bottom: 1rem; }
.hero__price sup { font-size: 0.7em; }
.hero__noapport { font-size: 0.85em; color: rgba(255, 255, 255, 0.65); }
.hero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero__cta--solid { background: var(--color-white); color: var(--color-black); border: 1px solid var(--color-white); }
.hero__cta--solid:hover, .hero__cta--solid:focus-visible { background: var(--color-surface); }
.hero__cta--glass {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.hero__cta--glass:hover, .hero__cta--glass:focus-visible { background: rgba(255, 255, 255, 0.22); }

/* Pastille verticale "01 / 06" + traits de sélection directe (maquette
   Figma), affichée seulement à partir de 900px : sur mobile la barre de
   progression du bas (ci-dessous) suffit comme navigation, cette pastille
   prendrait trop de place sur un petit écran. */
.hero__rail {
  position: absolute;
  top: 50%;
  /* 9rem et non clamp(1rem, 3vw, 2rem) : dégage la pastille flottante
     .quick-nav (position: fixed, toujours centrée verticalement à droite,
     voir plus haut dans ce fichier) qui sinon se superpose exactement à
     cette pastille quand le héro est en haut de page — même logique que
     le "padding-right: calc(var(--gutter) + 6.5rem)" déjà utilisé plus
     loin dans ce fichier pour la même raison. */
  right: 9rem;
  transform: translateY(-50%);
  display: none;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  padding: 1rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(10, 10, 12, 0.3);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@media (min-width: 900px) { .hero__rail { display: flex; } }
.hero__rail-counter { font-size: 0.75rem; letter-spacing: 0.02em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); }
.hero__rail-counter-total { color: rgba(255, 255, 255, 0.45); }
.hero__rail-dash {
  width: 20px; height: 1px;
  background: rgba(255, 255, 255, 0.45);
  transition: width var(--transition), background var(--transition);
}
.hero__rail-dash.is-active { width: 40px; background: var(--color-white); }

/* Barre de progression segmentée en bas — remplace les anciens points ronds
   (.hero__dots/.hero__dot), navigation principale sur tous les écrans. */
.hero__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  padding: 0 var(--gutter);
}
.hero__progress-item { flex: 1; padding: 0.6rem 0; }
.hero__progress-track {
  display: block;
  height: 3px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}
.hero__progress-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--color-white);
  transition: width var(--transition);
}
.hero__progress-fill.is-active { width: 100%; }

.tagline {
  max-width: 860px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter) clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.tagline__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}
.tagline__text { color: var(--color-text-muted); font-size: 1.0625rem; }

/* Bascule marque (sous l'accroche de l'accueil, 04/11/2026) : réordonne au
   clic les 2 blocs marque du catalogue juste en dessous (voir js/main.js).
   Les 2 boutons restent fixes (OMODA à gauche, JAECOO à droite) ; seul le
   fond dégradé glisse derrière l'option choisie — piloté par l'attribut
   [data-active] posé sur le conteneur, la translation à 100% se fait donc
   toujours relativement à la largeur du curseur lui-même (pas de calcul de
   pixels nécessaire, fonctionne quelle que soit la largeur réelle). */
.brand-switch {
  position: relative;
  display: flex;
  width: min(420px, 100%);
  margin: 1.75rem auto 0;
  padding: 0.25rem;
  background: var(--omoda-border-light);
  border-radius: 999px;
}
.brand-switch__thumb {
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 0.25rem;
  width: calc(50% - 0.25rem);
  border-radius: 999px;
  transform: translateX(0);
  transition: transform 0.3s ease, background 0.3s ease;
}
.brand-switch[data-active="omoda"] .brand-switch__thumb {
  transform: translateX(0);
  background: linear-gradient(120deg, var(--color-promo-start), var(--color-promo-end));
}
.brand-switch[data-active="jaecoo"] .brand-switch__thumb {
  transform: translateX(100%);
  background: linear-gradient(120deg, var(--color-jaecoo-gradient-start), var(--color-jaecoo-gradient-end));
}
.brand-switch__option {
  position: relative;
  z-index: 1;
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.brand-switch__option:focus-visible { outline: 2px solid var(--omoda-ink); outline-offset: 2px; }
.brand-switch__logos { display: inline-flex; align-items: center; }
.brand-switch__logo { display: block; height: 0.9375rem; width: auto; }
.brand-switch__logo--light { display: none; }
.brand-switch__option.is-active .brand-switch__logo--dark { display: none; }
.brand-switch__option.is-active .brand-switch__logo--light { display: block; }
@media (max-width: 420px) {
  .brand-switch__option { padding: 0.7rem 0.5rem; }
  .brand-switch__logo { height: 0.8125rem; }
}

/* ---------------------------------------------------------------------- */
/* 6. Catalogue                                                            */
/* ---------------------------------------------------------------------- */
.catalog {
  display: flex;
  flex-direction: column;
}

/* Bandeau plein cadre par marque : image de fond + dégradé directionnel +
   logo/accroche/texte/CTA, aligné à gauche (OMODA) ou en miroir à droite
   (JAECOO), conformément à la maquette Figma. */
.brand-banner {
  position: relative;
  min-height: clamp(420px, 52vw, 620px);
  overflow: hidden;
}
.brand-banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-banner__overlay {
  position: relative;
  z-index: 1;
  min-height: clamp(420px, 52vw, 620px);
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(6, 6, 10, 0.8) 0%, rgba(6, 6, 10, 0.45) 50%, rgba(6, 6, 10, 0) 100%);
}
.brand-banner--right .brand-banner__overlay {
  justify-content: flex-end;
  background: linear-gradient(270deg, rgba(6, 6, 10, 0.8) 0%, rgba(6, 6, 10, 0.45) 50%, rgba(6, 6, 10, 0) 100%);
}
.brand-banner__content {
  max-width: 560px;
  padding: 2.5rem var(--gutter);
  color: var(--color-white);
}
.brand-banner--right .brand-banner__content {
  margin-left: auto;
  text-align: right;
  /* Dégage la barre de navigation rapide flottante (.quick-nav), fixée
     à droite de l'écran, pour qu'elle ne chevauche jamais ce texte
     aligné à droite. */
  padding-right: calc(var(--gutter) + 6.5rem);
}
.brand-banner__logo { margin-bottom: 1.5rem; }
.brand-banner--right .brand-banner__logo { margin-left: auto; }
.brand-banner__heading {
  display: flex;
  flex-direction: column;
  /* Réduit le 04/11/2026 à la demande de Franck ("le sous-titre est
     énorme") : l'ancien clamp(1.75rem, 3.5vw, 3rem) montait jusqu'à 48px
     sur grand écran, largement au-dessus du reste de la hiérarchie de
     titres de l'accueil (.tagline__title plafonne à 2rem/32px juste au-
     dessus). Nouveau plafond 2.5rem/40px, pente vw réduite (3.5vw → 2.25vw). */
  font-size: clamp(1.5rem, 2.25vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.brand-banner__text {
  font-size: 0.9375rem;
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 1.75rem;
}
.btn--solid-white {
  background: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-white);
}
/* Léger dégradé sur le bouton "Être recontacté" des 2 bandeaux marque de
   l'accueil (includes/catalog.php) — demandé par Franck le 04/11/2026.
   Ne touche volontairement que ce bouton-là : .btn--solid-white reste
   blanc plein partout ailleurs (fiches véhicule, bandeaux récit OMODA/
   JAECOO, etc.), ce sélecteur plus spécifique l'emporte uniquement dans
   le contexte du bandeau marque. Dégradé très clair (même couleurs que
   la bascule marque / les badges promo, à ~10% d'opacité sur fond blanc)
   pour rester "léger" plutôt que la version saturée utilisée ailleurs. */
.brand-block--omoda .brand-banner .btn--solid-white {
  background: linear-gradient(120deg, #ffffff 0%, #f1ecff 55%, #ffeef7 100%);
}
.brand-block--omoda .brand-banner .btn--solid-white:hover,
.brand-block--omoda .brand-banner .btn--solid-white:focus-visible {
  background: linear-gradient(120deg, #ffffff 0%, #f1ecff 55%, #ffeef7 100%);
  filter: brightness(0.97);
}
.brand-block--jaecoo .brand-banner .btn--solid-white {
  background: linear-gradient(120deg, #ffffff 0%, #eafbf7 55%, #eef7f5 100%);
}
.brand-block--jaecoo .brand-banner .btn--solid-white:hover,
.brand-block--jaecoo .brand-banner .btn--solid-white:focus-visible {
  background: linear-gradient(120deg, #ffffff 0%, #eafbf7 55%, #eef7f5 100%);
  filter: brightness(0.97);
}
.btn--solid-white:hover, .btn--solid-white:focus-visible { background: var(--color-surface); }

/* Carte blanche partagée par marque, chevauchant le bas du bandeau, qui
   regroupe les véhicules de la marque côte à côte (OMODA) ou en grille
   2x2 (JAECOO) — une seule carte, pas une par véhicule. */
.vehicle-card {
  max-width: var(--container);
  margin: -3.5rem auto 0;
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) clamp(2.5rem, 5vw, 4rem);
}
.vehicle-card__grid {
  position: relative;
  background: var(--color-white);
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.07);
  padding: clamp(1.5rem, 3vw, 3rem);
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  grid-template-columns: repeat(2, 1fr);
}
/* Liseré (stroke) dégradé sur la carte véhicules de chaque marque (OMODA/
   JAECOO), demandé par Franck le 23/10/2026 — violet #6A33FF, transparent
   aux deux extrémités et opaque au centre, repris tel quel du dégradé
   fourni (capture Figma). Technique du double masque (::before + mask
   exclude) plutôt qu'un simple "border" : seule façon d'obtenir un
   dégradé qui épouse un border-radius sans qu'il déborde en angle droit
   dans les coins.
   Animé depuis la même journée (demande de suivi de Franck) : la bande
   lumineuse se déplace en continu le long du liseré. La feuille de
   dégradé fait 2,5x la largeur de la carte (background-size) et glisse
   via background-position ; comme ses deux bords restent transparents
   quelle que soit la position, le "retour" en fin de boucle (100% →
   -150%) est invisible, pas d'à-coup. Respecte automatiquement
   prefers-reduced-motion grâce à la règle globale en tête de fichier
   (animation-duration forcée à ~0 — la bande reste alors figée). */
.vehicle-card__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.5px;
  background: linear-gradient(90deg, rgba(106, 51, 255, 0) 0%, rgba(106, 51, 255, 1) 50%, rgba(106, 51, 255, 0) 100%);
  background-size: 250% 100%;
  animation: vehicle-card-stroke-sweep 4.5s linear infinite;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
@keyframes vehicle-card-stroke-sweep {
  from { background-position: 100% 0; }
  to   { background-position: -150% 0; }
}
@media (max-width: 720px) {
  .vehicle-card__grid { grid-template-columns: 1fr; }
}
/* Centre la dernière carte quand une marque compte un nombre impair de
   véhicules (JAECOO : 3 depuis le retrait de JAECOO 5 Électrique le
   23/10/2026) plutôt que de la laisser collée à gauche avec une case vide
   à sa droite. Ne cible que le cas "3e carte = dernière carte" : la grille
   redevient automatiquement normale si un 4e véhicule est réintroduit. */
@media (min-width: 721px) {
  .vehicle-card__grid--jaecoo .vehicle:nth-child(3):last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - clamp(0.75rem, 1.5vw, 1.25rem));
    margin: 0 auto;
  }
}

.vehicle { display: flex; flex-direction: column; align-items: center; text-align: center; }
.vehicle__media { width: 100%; margin-bottom: 1rem; }
.vehicle__image { width: 100%; height: auto; aspect-ratio: 350 / 189; object-fit: contain; }
.vehicle__badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin-bottom: 0.75rem; }
.badge--promo-omoda {
  background: linear-gradient(120deg, rgba(106, 51, 255, 0.7), rgba(255, 76, 163, 0.7));
  color: var(--color-white);
}
.badge--promo-jaecoo {
  background: linear-gradient(120deg, rgba(3, 38, 30, 0.7), rgba(50, 149, 149, 0.7));
  color: var(--color-white);
}
.badge--promo-omoda sup, .badge--promo-jaecoo sup { font-size: 0.75em; }
.vehicle__name { font-size: 1.625rem; font-weight: 700; margin-bottom: 0.5rem; }
.vehicle__price { color: var(--color-text-muted); font-size: 0.9375rem; margin-bottom: 1.25rem; }
.vehicle__price sup { font-size: 0.7em; }
.vehicle__noapport { text-transform: uppercase; font-size: 0.75em; }
.vehicle__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; }

@media (max-width: 560px) {
  .brand-banner, .brand-banner__overlay { min-height: 60vw; }
  .brand-banner__content, .brand-banner--right .brand-banner__content { margin-left: 0; text-align: left; padding-right: var(--gutter); }
  .brand-banner--right .brand-banner__logo { margin-left: 0; }
}

/* ---------------------------------------------------------------------- */
/* 7. Technologie hybride                                                  */
/* ---------------------------------------------------------------------- */
.tech {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
}
.tech__intro { max-width: 900px; margin: 0 auto 3rem; text-align: center; }
.tech__logo { margin: 0 auto 1.5rem; height: 44px; width: auto; }
.tech__lead { margin-top: 1rem; color: var(--color-text-muted); font-size: 1.0625rem; }

/* Sélecteur à onglets au-dessus des cartes technologie — même habillage
   visuel que .mmenu-filters/.mmenu-filter (panneau "Nos modèles" du menu) :
   capsule grise, bouton actif en plein noir. Restauré le 04/11/2026, voir
   le commentaire dans includes/data.php. */
.tech__tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  gap: 0.25rem;
  margin: 0 auto 2rem;
  padding: 0.25rem;
  background: var(--color-surface);
  border: 1px solid var(--omoda-border-light-2);
  border-radius: var(--radius-pill);
}
.tech__tab {
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--omoda-muted-on-light);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.tech__tab.is-active { background: var(--omoda-ink); color: var(--color-white); box-shadow: 0 2px 6px rgba(10, 10, 12, 0.18); }
.tech__tab:focus-visible { outline: 2px solid var(--omoda-ink); outline-offset: 2px; }

.tech__features { display: flex; flex-direction: column; gap: 1.5rem; }
.tech-feature {
  display: none;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.tech-feature.is-active { display: grid; }
@media (min-width: 860px) {
  .tech-feature { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .tech-feature--right .tech-feature__media { order: 2; }
}
.tech-feature__media { background: var(--color-white); }
.tech-feature__image { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/9; }
.tech-feature__body { padding: clamp(1.5rem, 3vw, 3rem); display: flex; flex-direction: column; justify-content: center; gap: 1rem; }
.tech-feature__title { font-size: 1.25rem; font-weight: 800; }
.tech-feature__text { color: var(--color-text-muted); }
.tech-feature__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 0.5rem; }

/* ---------------------------------------------------------------------- */
/* 8. Garantie & réseau de concessions                                     */
/* ---------------------------------------------------------------------- */
.warranty, .dealer {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter) clamp(2rem, 4vw, 3rem);
}
.warranty__card, .dealer__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 3rem);
}
.warranty__card {
  background: linear-gradient(135deg, var(--color-dark-start), var(--color-dark-end));
  color: var(--color-white);
}
.dealer__card { background: var(--color-surface); }

@media (min-width: 860px) {
  .warranty__card, .dealer__card { grid-template-columns: 5fr 7fr; }
}
.warranty__image, .dealer__image { width: 100%; height: auto; border-radius: var(--radius-md); }
.warranty__body p, .dealer__body p { margin-top: 1rem; }
.warranty__body p:first-of-type { margin-top: 1.25rem; }
.dealer__body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.25rem; }
.dealer__body .btn { margin-top: 1.5rem; }

.banner { line-height: 0; }
.banner__image { width: 100%; height: auto; max-height: 600px; object-fit: cover; }

/* ---------------------------------------------------------------------- */
/* 9. Informations légales / consommations                                 */
/* ---------------------------------------------------------------------- */
.legal {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
}
.legal__ratings {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.legal__rating { text-align: center; }
.legal__rating-image { margin: 0 auto 0.5rem; }
.legal__rating figcaption { font-size: 0.8125rem; font-weight: 700; }

.legal__notices { font-size: 0.75rem; line-height: 1.6; color: var(--color-text-muted); }
.legal__notices p { margin-bottom: 0.75rem; }

.legal__accordion {
  margin-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
}
.legal__accordion summary { font-weight: 700; font-size: 0.875rem; }
.legal__footnotes {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  padding-left: 1.25rem;
}
.legal__footnotes li { margin-bottom: 0.75rem; }

/* ---------------------------------------------------------------------- */
/* 10. Réseaux sociaux                                                     */
/* ---------------------------------------------------------------------- */
.social {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
}
.social__intro { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.social__intro p { margin-top: 1rem; color: var(--color-text-muted); }
.social__icons { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.social__icons a {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  background: var(--color-surface);
  transition: background var(--transition);
}
.social__icons a:hover, .social__icons a:focus-visible { background: var(--color-border); }

.social__carousel { position: relative; display: flex; align-items: center; gap: 1rem; }
.social__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
.social__track::-webkit-scrollbar { display: none; }
.social-card {
  position: relative;
  flex: 0 0 clamp(220px, 30vw, 280px);
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  scroll-snap-align: start;
}
.social-card__image { width: 100%; height: 100%; object-fit: cover; }
.social-card__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1rem;
  color: var(--color-white);
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0) 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.social-card:hover .social-card__overlay,
.social-card:focus-within .social-card__overlay { opacity: 1; }
.social-card__caption { font-size: 0.8125rem; margin-bottom: 0.5rem; }
.social-card__stats { display: flex; gap: 1rem; font-size: 0.8125rem; }
.social-card__stats span { display: inline-flex; align-items: center; gap: 0.35rem; }

.social__control {
  flex-shrink: 0;
  width: 2.75rem; height: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-surface);
}
.social__control:hover, .social__control:focus-visible { background: var(--color-border); }

/* ---------------------------------------------------------------------- */
/* 11. Footer                                                              */
/* ---------------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(135deg, var(--color-dark-start), var(--color-dark-end));
  color: rgba(255, 255, 255, 0.85);
}
.site-footer__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--gutter) 2rem;
}
.site-footer__top {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
@media (min-width: 900px) {
  .site-footer__top { grid-template-columns: 1.2fr 2fr auto; align-items: start; }
}
.site-footer__logo-svg { height: 20px; width: auto; display: block; margin-bottom: 1rem; color: var(--color-white); }
.site-footer__copy { font-size: 0.8125rem; opacity: 0.75; }

.site-footer__columns {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.footer-accordion summary {
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  list-style: none;
}
.footer-accordion summary::-webkit-details-marker { display: none; }
.footer-accordion ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-accordion a { font-size: 0.8125rem; opacity: 0.85; transition: opacity var(--transition); }
.footer-accordion a:hover, .footer-accordion a:focus-visible { opacity: 1; text-decoration: underline; }

.site-footer__social { display: flex; gap: 0.75rem; height: fit-content; }
.site-footer__social a {
  display: flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}
.site-footer__social a:hover, .site-footer__social a:focus-visible { background: rgba(255, 255, 255, 0.2); }

.site-footer__marquee {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1rem 0;
  margin-top: 1.5rem;
}
.site-footer__marquee p {
  display: inline-block;
  padding-left: 100%;
  font-size: 0.8125rem;
  animation: marquee 32s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer__marquee { overflow-x: auto; }
  .site-footer__marquee p { animation: none; padding-left: 0; }
}

.site-footer__disclaimer {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  opacity: 0.65;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

/* ---------------------------------------------------------------------- */
/* 12. Bouton de contact flottant                                          */
/* ---------------------------------------------------------------------- */
.chat-fab {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: 3.25rem; height: 3.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-white);
  box-shadow: var(--shadow-card-lg);
}
@media (max-width: 640px) {
  .chat-fab { bottom: 4.5rem; }
}

/* ---------------------------------------------------------------------- */
/* 13. Pages véhicule (fiche modèle : hero, design, intérieur...)         */
/* ---------------------------------------------------------------------- */

/* -- Hero véhicule : image plein cadre + prix/CTA en haut à gauche +     */
/*    bandeau de 3 chiffres clés en bas. ------------------------------- */
.vhero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 92vh;
  overflow: hidden;
  background: var(--color-black);
}
/* En dessous de 900px, le bandeau d'onglets + stats en bas du héro a besoin
   de plus de hauteur que ne lui en laisse le ratio 16/10 (surtout sur la
   fiche JAECOO 7 avec ses 2 onglets) : on bascule sur une hauteur minimale
   fixe plutôt que sur l'aspect-ratio pour éviter que le contenu ne se
   chevauche. On retire l'aspect-ratio pour ce breakpoint afin d'éviter que
   le navigateur ne dérive la largeur de la boîte depuis min-height (le
   width:auto d'un bloc doit rester piloté par le conteneur, pas par le
   ratio, une fois qu'une min-height plus grande que le ratio est en jeu). */
@media (max-width: 899px) { .vhero { aspect-ratio: auto; min-height: 640px; } }
@media (min-width: 900px) { .vhero { aspect-ratio: 16 / 9; } }
/* position:absolute + inset:0 (plutôt que width/height:100% en flux normal) :
   au breakpoint mobile .vhero n'a qu'un min-height (pas de height explicite),
   et un enfant en flux normal avec height:100% ne peut pas résoudre un
   pourcentage contre une hauteur de conteneur "auto" (même si min-height la
   rend visuellement non nulle) — l'image retombe alors sur son ratio
   intrinsèque et ne remplit plus le héro. Un enfant absolument positionné
   avec inset:0 n'a pas ce problème (sa hauteur se résout contre la boîte du
   conteneur positionné, quelle que soit l'origine de cette hauteur). Même
   motif que .vstory__image, qui fonctionnait déjà correctement. */
.vhero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vhero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 0, 0, 0.82) 3%, rgba(6, 0, 0, 0) 33%);
  pointer-events: none;
}
.vhero__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: clamp(2rem, 6vw, 4.5rem) var(--gutter) 0;
  color: var(--color-white);
}
.vhero__name { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: 0.75rem; }
.vhero__price { font-size: 1.0625rem; line-height: 1.5; margin-bottom: 1.5rem; }
.vhero__price sup { font-size: 0.7em; }
.vhero__noapport { text-transform: uppercase; font-size: 0.85em; }
.vhero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
/* Carte "vitrée" (fond sombre translucide + flou + bordure fine) autour du
   sélecteur de motorisation + statistiques — ajoutée le 04/11/2026 à la
   demande de Franck pour que les onglets Hybride sans recharge/Rechargeable
   deviennent un vrai module interactif (plus seulement du texte posé sur la
   photo). Même langage visuel que les cartes de stat déjà en place sur la
   fiche OMODA 7 (.opowertrain__stat : rgba(16,18,28,0.34) + blur(4px) +
   bordure blanche à 44%), repris ici pour rester cohérent avec le reste du
   site plutôt que d'inventer un nouveau style de carte. */
.vhero__bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(94%, 920px);
  padding: 1.25rem 1.5rem 1.5rem;
  color: var(--color-white);
  text-align: center;
  background: rgba(16, 18, 28, 0.34);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.25rem;
  margin-bottom: clamp(1rem, 3vw, 1.75rem);
}
.vhero__tabs {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9375rem;
}
.vhero__tab {
  appearance: none;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0 0 0.4rem;
  color: inherit;
  font: inherit;
  opacity: 0.6;
  cursor: pointer;
}
.vhero__tab.is-active { opacity: 1; border-bottom-color: var(--color-white); }
.vhero__stats {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.vhero__stats.is-active { display: grid; }
.vhero__stat { position: relative; }
.vhero__stat:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0.15rem;
  bottom: 0.15rem;
  right: -0.5rem;
  width: 1px;
  background: rgba(255, 255, 255, 0.18);
}
.vhero__stat-value { font-family: var(--font-display); font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; margin-bottom: 0.35rem; }
.vhero__stat-label { font-size: 0.8125rem; line-height: 1.4; opacity: 0.9; }
.vhero__stat-label sup { font-size: 0.75em; }

/* -- Bandeau récit (2e image plein cadre, titre + tagline + CTA). ----- */
.vstory {
  position: relative;
  min-height: clamp(420px, 50vw, 600px);
  overflow: hidden;
  background: var(--color-black);
}
.vstory__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vstory__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 0, 0, 0.75) 0%, rgba(6, 0, 0, 0) 45%);
  pointer-events: none;
}
.vstory__content {
  position: relative;
  z-index: 1;
  padding: clamp(2rem, 6vw, 4.5rem) var(--gutter);
  color: var(--color-white);
}
.vstory__name { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
.vstory__rule { border: 0; border-top: 2px solid var(--color-white); width: 100%; max-width: 420px; margin: 0.75rem 0; }
.vstory__tagline { font-size: 1.125rem; margin-bottom: 1.5rem; }
.vstory__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* -- Sections noires génériques (DESIGN / INTERIEUR / EQUIPEMENTS). --- */
.vsection { background: var(--color-black); color: var(--color-white); padding: clamp(2.5rem, 5vw, 3.75rem) var(--gutter); }
.vsection__header { max-width: var(--container); margin: 0 auto clamp(1.5rem, 3vw, 2.5rem); }
.vsection__eyebrow { color: #bbb; font-size: 0.8125rem; letter-spacing: 0.35em; text-transform: uppercase; margin-bottom: 0.5rem; }
.vsection__heading { font-size: 1.375rem; font-weight: 400; margin-bottom: 1rem; }
.vsection__rule { border: 0; border-top: 2px solid var(--color-white); margin-bottom: 1rem; }
.vsection__text { max-width: 60ch; font-size: 1.0625rem; line-height: 1.6; }

/* -- Carrousel design (images + légende, défilement horizontal). ----- */
.vcarousel { position: relative; max-width: var(--container); margin: 0 auto; }
.vcarousel__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 0.25rem;
}
.vcarousel__track::-webkit-scrollbar { display: none; }
.vcarousel__slide { flex: 0 0 min(400px, 80vw); scroll-snap-align: start; }
.vcarousel__visual { position: relative; }
.vcarousel__image { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius-xl); }
.vcarousel__overlay { position: absolute; left: 50%; bottom: -8%; transform: translateX(-50%); width: 55%; height: auto; pointer-events: none; }
.vcarousel__label { margin-top: 0.75rem; padding-left: 0.5rem; font-size: 1rem; }
.vcarousel__label sup { font-size: 0.75em; }
.vcarousel__control {
  display: none;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-black);
}
@media (min-width: 860px) {
  .vcarousel__control { display: flex; }
  .vcarousel__control--prev { left: -1.25rem; }
  .vcarousel__control--next { right: -1.25rem; }
}

/* Points + flèches sous le carrousel, visibles uniquement sous 860px
   (23/10/2026, demande de Franck) : au swipe horizontal sur mobile, rien
   n'indiquait qu'il y avait d'autres images — un visiteur qui ne savait
   pas qu'on pouvait glisser pouvait croire qu'il n'y avait qu'une seule
   photo. Au-dessus de 860px les flèches blanches ci-dessus (.vcarousel__
   control) suffisent déjà (et plusieurs images sont visibles à la fois),
   donc cette rangée est masquée à partir de ce seuil. Couleurs volontai-
   rement "auto-contrastées" (chip blanc opaque + icône noire, comme
   .vcarousel__control juste au-dessus) plutôt que du verre translucide :
   .vcarousel est utilisé à la fois sur fond sombre (OMODA, JAECOO 5) ET
   sur fond clair (JAECOO 7, voir body.vpage-light plus bas) — un chip
   opaque fonctionne sur les deux sans réglage par thème, contrairement à
   un indicateur translucide qui disparaîtrait sur l'un des deux fonds.
   Les points, eux, ont besoin d'un réglage par thème (voir
   body.vpage-light .vcarousel__dot/.vcarousel__navbtn plus bas) car un
   point plein n'a pas cette propriété d'auto-contraste. */
.vcarousel__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.85rem;
  padding: 0 0.25rem;
}
@media (min-width: 860px) { .vcarousel__nav { display: none; } }
.vcarousel__dots { display: flex; align-items: center; gap: 0.4rem; }
.vcarousel__dot {
  width: 0.5rem; height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  transition: width var(--transition), background var(--transition);
}
.vcarousel__dot.is-active { width: 1.5rem; background: var(--color-white); }
.vcarousel__arrows { display: flex; gap: 0.5rem; }
.vcarousel__navbtn {
  width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-black);
  transition: opacity var(--transition);
}
.vcarousel__navbtn:disabled { opacity: 0.35; pointer-events: none; }

/* -- Intérieur : 2 panneaux image plein cadre + chiffres superposés. -- */
.vinterior { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 1.25rem; }
.vinterior__panel {
  position: relative;
  min-height: clamp(320px, 45vw, 480px);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.vinterior__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vinterior__content {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--color-white);
}
.vinterior__panel--end .vinterior__content { align-items: flex-end; text-align: right; }
.vinterior__panel--start .vinterior__content { align-items: flex-start; text-align: left; }
.vinterior__stat + .vinterior__stat { margin-top: 1rem; }
.vinterior__stat-kicker { font-size: 0.8125rem; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 0.35rem; }
.vinterior__stat-value { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 500; line-height: 1; }
.vinterior__caption { margin-top: 0.75rem; font-size: 1.0625rem; }

/* -- Équipements : grille de vignettes image + légende. --------------- */
.vequip { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 700px) { .vequip { grid-template-columns: 1fr; } }
.vequip__item { position: relative; aspect-ratio: 8/5; border-radius: var(--radius-xl); overflow: hidden; }
.vequip__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vequip__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0) 55%);
  pointer-events: none;
}
.vequip__label { position: absolute; left: 1.5rem; bottom: 1.25rem; z-index: 1; color: var(--color-white); font-size: 1.0625rem; }
.vequip__label sup { font-size: 0.75em; }
.vequip__highlight { max-width: var(--container); margin: 1.25rem auto 0; }
.vequip__highlight-title { font-size: 1.375rem; font-weight: 400; margin-bottom: 1rem; border-top: 2px solid var(--color-white); padding-top: 1.25rem; }
.vequip__highlight-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 700px) { .vequip__highlight-row { grid-template-columns: 1fr; } }
.vequip__item--sm { aspect-ratio: 16/9; }

/* -- Mise en avant technologie hybride (carte grise + pastilles). ----- */
.vsection--tech-highlight { background: var(--color-white); color: var(--color-text); }
.tech-highlight__intro { max-width: 900px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.tech-highlight__intro-text { font-size: 1rem; line-height: 1.6; }
.tech-highlight {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--color-surface);
}
@media (min-width: 900px) { .tech-highlight { grid-template-columns: 1.1fr 1fr; } }
.tech-highlight__body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1.25rem; }
.tech-highlight__name { font-size: 1.375rem; font-weight: 500; }
.tech-highlight__tagline { font-size: 1rem; }
.tech-highlight__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.tech-highlight__stat {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  text-align: center;
}
.tech-highlight__stat-title { font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.35rem; }
.tech-highlight__stat-value { color: var(--color-text-muted); font-size: 0.875rem; }
.tech-highlight__stat-value sup { font-size: 0.75em; }
.tech-highlight__media { min-height: 220px; }
.tech-highlight__image { width: 100%; height: 100%; object-fit: cover; }

/* -- Mise en avant technologie hybride : variante à 2 cartes (motorisations */
/*    comparées côte à côte, ex. hybride sans recharge / rechargeable). --- */
.tech-highlight-dual { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 1.25rem; }
.tech-highlight-card {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
@media (min-width: 900px) { .tech-highlight-card { grid-template-columns: 1.1fr 1fr; } }
.tech-highlight-card--light { background: #e9e9e9; color: var(--color-text); }
.tech-highlight-card--dark { background: var(--color-black); color: var(--color-white); }
.tech-highlight-card__body { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1.25rem; }
.tech-highlight-card__name { font-size: 1.375rem; font-weight: 500; }
.tech-highlight-card__tagline { font-size: 1rem; }
.tech-highlight-card__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.tech-highlight-card__stat { background: var(--color-white); border-radius: var(--radius-md); padding: 0.85rem 1rem; text-align: center; }
.tech-highlight-card--dark .tech-highlight-card__stat { background: #4a4a4a; }
.tech-highlight-card__stat-title { font-weight: 700; font-size: 0.9375rem; margin-bottom: 0.35rem; color: var(--color-black); }
.tech-highlight-card--dark .tech-highlight-card__stat-title { color: var(--color-white); }
.tech-highlight-card__stat-value { font-size: 0.875rem; }
.tech-highlight-card--light .tech-highlight-card__stat-value { color: var(--color-text-muted); }
.tech-highlight-card--dark .tech-highlight-card__stat-value { color: #c4c4c4; }
.tech-highlight-card__stat-value sup { font-size: 0.75em; }
.tech-highlight-card__media { min-height: 180px; }
.tech-highlight-card__image { width: 100%; height: 100%; object-fit: cover; }

/* -- Récapitulatif fiche technique + CTA. ------------------------------ */
.vrecap {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.75rem) var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 900px) { .vrecap { grid-template-columns: 1fr 1.4fr; } }
/* Variante "plusieurs motorisations" : une colonne par variante, à côté de la colonne de gauche. */
@media (min-width: 900px) { .vrecap--multi { grid-template-columns: 1fr 1fr 1fr; } }
.vrecap__name { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; margin-bottom: 1rem; }
.vrecap__intro { font-size: 1.0625rem; font-weight: 700; margin-bottom: 1rem; }
.vrecap__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.vrecap__promo {
  display: inline-block;
  background: linear-gradient(to right, rgba(3, 38, 30, 0.7), rgba(50, 149, 149, 0.7));
  color: var(--color-white);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}
.vrecap__promo sup { font-size: 0.75em; }
.vrecap__spec-name { font-size: 1.625rem; font-weight: 700; }
.vrecap__spec-subname { font-size: 1.625rem; font-weight: 700; color: var(--color-text-muted); margin-bottom: 0.75rem; }
.vrecap__price { font-size: 1.625rem; font-weight: 700; margin-bottom: 1rem; }
.vrecap__price sup { font-size: 0.6em; }
.vrecap__noapport { text-transform: uppercase; font-size: 0.55em; vertical-align: middle; }
.vrecap__configure { margin-bottom: 1.5rem; }
.vrecap__media { margin-bottom: 1.5rem; }
.vrecap__image { width: 100%; height: auto; object-fit: contain; }
.vrecap__specs { border-top: 2px solid var(--color-black); }
.vrecap__specs li { padding: 0.85rem 0; border-bottom: 2px solid var(--color-black); font-size: 1rem; }
.vrecap__specs li sup { font-size: 0.75em; }
.vrecap__co2 { margin-top: 1.5rem; }
.vrecap__co2-image { height: auto; }

/* -- Galerie duo plein cadre. ------------------------------------------ */
.vgallery__grid { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
@media (min-width: 720px) { .vgallery__grid { grid-template-columns: 1fr 1fr; } }
.vgallery__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.vgallery__item { aspect-ratio: 3/2; overflow: hidden; }

/* -- Galerie en mosaïque (1 grande image + 4 petites) — JAECOO 5,
   resynchronisation Figma du 23/10/2026 (node 2298:1072). Distincte de la
   galerie "duo" ci-dessus, toujours utilisée par JAECOO 7. ------------- */
.vgallery-mosaic { padding: 0 var(--gutter) clamp(2.5rem, 5vw, 4rem); max-width: var(--container); margin: 0 auto; }
.vgallery-mosaic__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 1rem;
}
.vgallery-mosaic__item--large { grid-column: 1 / span 2; aspect-ratio: 16/10; height: auto; }
@media (min-width: 720px) {
  .vgallery-mosaic__grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
  .vgallery-mosaic__item--large { grid-column: 1 / span 2; grid-row: 1 / span 2; aspect-ratio: auto; height: 100%; }
}
.vgallery-mosaic__item { border-radius: 16px; overflow: hidden; background: var(--color-surface, #f5f5f7); }
.vgallery-mosaic__image { width: 100%; height: 100%; object-fit: cover; display: block; }

/* -- Mentions légales spécifiques au modèle. --------------------------- */
.vlegal {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter) clamp(2.5rem, 5vw, 3.75rem);
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  line-height: 1.6;
}
.vlegal__text + .vlegal__text { margin-top: 1.125rem; }
.vlegal__link { text-decoration: underline; }

/* -- Variante "thème clair" des sections .vsection (fond noir → blanc). --
 * Demandée le 22/10/2026 pour la fiche JAECOO 7 uniquement (voir
 * vehicules/jaecoo-7-hybride.php, variable $bodyClass) : JAECOO 5 réutilise
 * les mêmes includes/classes .vsection mais sans cette classe sur <body>,
 * donc garde son thème sombre d'origine intact. Seules les sections à fond
 * plein (DESIGN / INTÉRIEUR / ÉQUIPEMENTS) sont concernées — le héro, le
 * bandeau histoire, les panneaux intérieur/équipements (image + voile
 * dégradé) et la carte garantie gardent du texte blanc à dessein, posés
 * sur une photo ou une carte d'accent sombre volontaire, exactement comme
 * sur les fiches OMODA déjà en thème clair (.otech__card, .owarranty__card
 * suivent le même principe). */
body.vpage-light .vsection { background: var(--color-white); color: var(--color-text); }
body.vpage-light .vsection__eyebrow { color: var(--color-text-muted); }
body.vpage-light .vsection__rule { border-top-color: var(--color-black); }
body.vpage-light .vequip__highlight-title { border-top-color: var(--color-black); }
/* Points/flèches du carrousel design (.vcarousel__nav, 23/10/2026) inversés
   sur ce fond clair : un point blanc ou un chip blanc opaque seraient
   invisibles sur fond blanc. */
body.vpage-light .vcarousel__dot { background: rgba(0, 0, 0, 0.2); }
body.vpage-light .vcarousel__dot.is-active { background: var(--color-black); }
body.vpage-light .vcarousel__navbtn { background: var(--color-black); color: var(--color-white); }

/* ---------------------------------------------------------------------- */
/* 14. Pages véhicule OMODA (thème dédié : fond blanc dominant, accent     */
/*     dégradé violet→rose, cartes sombres ponctuelles). Les fiches        */
/*     OMODA (ex: omoda-9.php) utilisent cette famille de classes "o*"     */
/*     plutôt que les classes "v*" ci-dessus (réservées à JAECOO), car     */
/*     la maquette Figma OMODA 9 (node 2101:820) définit une identité      */
/*     visuelle entièrement différente (pas seulement une palette de      */
/*     couleurs). Le carrousel générique .vcarousel est en revanche        */
/*     réutilisé tel quel (mécanique identique, juste posé sur fond noir). */
/* ---------------------------------------------------------------------- */

/* -- Héro : photo plein cadre, bloc texte en haut à gauche, bandeau de   */
/*    3 chiffres clés "vitré" flottant en bas. -------------------------- */
.ohero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 92vh;
  overflow: hidden;
  background: var(--color-black);
}
@media (max-width: 899px) { .ohero { aspect-ratio: auto; min-height: 640px; } }
@media (min-width: 900px) { .ohero { aspect-ratio: 16 / 9; } }
/* position:absolute + inset:0 : voir le commentaire sur .vhero__image
   (même correctif, nécessaire pour la même raison au breakpoint mobile où
   .ohero n'a qu'un min-height). */
.ohero__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ohero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 0, 0, 0) 55%, rgba(6, 0, 0, 0.8) 97%);
  pointer-events: none;
}
.ohero__content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: clamp(2rem, 6vw, 4.5rem) var(--gutter) 0;
  color: var(--color-white);
  max-width: 32rem;
}
.ohero__name { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 1rem; }
.ohero__price { font-size: 1rem; line-height: 1.7; margin-bottom: 1rem; }
.ohero__price sup { font-size: 0.7em; }
.ohero__noapport { text-transform: uppercase; font-size: 0.85em; }
.ohero__divider { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.55); margin-bottom: 1.25rem; }
.ohero__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.ohero__stats {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(92%, 864px);
  margin-bottom: clamp(1rem, 3vw, 1.875rem);
  display: flex;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
}
.ohero__stat {
  flex: 1;
  padding: 1rem 1.25rem;
  text-align: center;
  color: var(--color-white);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}
.ohero__stat:last-child { border-right: 0; }
.ohero__stat-value { font-family: 'Michroma', var(--font-display); font-size: clamp(1.25rem, 2.5vw, 2rem); font-weight: 400; margin-bottom: 0.4rem; }
.ohero__stat-label { font-size: 0.8125rem; line-height: 1.5; color: rgba(255, 255, 255, 0.75); }
.ohero__stat-label sup { font-size: 0.75em; }
@media (max-width: 640px) { .ohero__stats { flex-direction: column; } .ohero__stat { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); } .ohero__stat:last-child { border-bottom: 0; } }

/* -- Bandeau histoire : photo plein cadre, texte aligné à droite. ------ */
.ostory {
  position: relative;
  aspect-ratio: 2.65 / 1;
  overflow: hidden;
  background: var(--color-black);
}
@media (max-width: 899px) { .ostory { aspect-ratio: auto; min-height: 460px; } }
/* position:absolute + inset:0 : voir le commentaire sur .vhero__image. */
.ostory__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ostory__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(6, 0, 0, 0.6) 0%, rgba(6, 0, 0, 0) 45%);
  pointer-events: none;
}
.ostory__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
  gap: 1.25rem;
  padding: clamp(1.5rem, 5vw, 2.5rem) var(--gutter);
  color: var(--color-white);
}
.ostory__name { font-size: clamp(1.25rem, 2.2vw, 2rem); font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.ostory__divider { border: 0; border-top: 1px solid rgba(255, 255, 255, 0.4); width: 100%; max-width: 28rem; }
.ostory__tagline { font-size: 0.9375rem; line-height: 1.7; max-width: 28rem; }
.ostory__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: flex-end; }

/* -- Sections carrousel sombres génériques (DESIGN / INTÉRIEUR /         */
/*    CONFORT / ESPACE À BORD / SÉCURITÉ). Répétées N fois avec le même   */
/*    gabarit ; seul le contenu change ($vehiclePage['featureSections']). */
/*    Le carrousel lui-même réutilise .vcarousel (voir §13) tel quel.     */
/* Padding horizontal porté par la section elle-même (comme .vsection) :
   ça réduit la largeur réelle de .vcarousel sous son max-width:1440px,
   laissant la marge nécessaire aux boutons prev/next qui débordent
   volontairement de 1.25rem (voir .vcarousel__control--prev/--next). Sans
   cette marge, sur un viewport ≥ var(--container), les boutons dépassent
   le bord de la page (bug constaté et corrigé lors de la 1ʳᵉ implémentation). */
.osection--dark { background: var(--color-black); color: var(--color-white); padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); }
.osection__header { max-width: var(--container); margin: 0 auto clamp(1.5rem, 3vw, 2rem); }
.osection__eyebrow { color: var(--omoda-muted-on-dark); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.75rem; }
.osection__heading { font-size: 1.25rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 0.75rem; }
.osection__rule { border: 0; border-top: 1px solid var(--omoda-divider-on-dark); margin-bottom: 1rem; }
.osection__text { max-width: 70ch; font-size: 0.9375rem; line-height: 1.7; color: var(--omoda-muted-on-dark); }

/* -- Motorisation (mise en avant technique, fond blanc + carte sombre). */
.otech { background: var(--color-white); color: var(--omoda-ink); padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); }
.otech__header { max-width: var(--container); margin: 0 auto clamp(1.5rem, 3vw, 2rem); }
.otech__eyebrow { color: var(--omoda-accent-alt); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; margin-bottom: 0.75rem; }
.otech__heading { font-size: 1.25rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; margin-bottom: 0.75rem; }
.otech__rule { border: 0; border-top: 1px solid var(--omoda-divider-on-dark); margin-bottom: 1rem; }
.otech__text { max-width: 70ch; font-size: 0.9375rem; line-height: 1.7; color: var(--omoda-muted-on-light); }
.otech__logo { max-width: var(--container); margin: clamp(1.5rem, 4vw, 2.5rem) auto; display: block; }
.otech__card {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--omoda-dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-lg);
}
@media (min-width: 860px) { .otech__card { flex-direction: row; } }
.otech__card-body { flex: 1; padding: clamp(1.75rem, 4vw, 2.5rem); display: flex; flex-direction: column; align-items: center; color: var(--color-white); }
.otech__card-name { font-size: 1.25rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; text-align: center; margin-bottom: 1rem; }
.otech__card-tagline { color: var(--omoda-muted-on-dark); text-align: center; max-width: 34rem; margin-bottom: 1.5rem; }
.otech__card-tagline strong { color: var(--color-white); }
.otech__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; width: 100%; }
.otech__stat { background: rgba(255, 255, 255, 0.1); border-radius: var(--radius-md); padding: 1.1rem 1rem; text-align: center; box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.12); }
.otech__stat-title { font-weight: 600; font-size: 0.9375rem; margin-bottom: 0.35rem; }
.otech__stat-value { color: var(--omoda-muted-on-dark); font-size: 0.8125rem; line-height: 1.4; }
.otech__stat-value sup { font-size: 0.75em; }
.otech__card-media { flex: 1; min-height: 240px; }
.otech__card-image { width: 100%; height: 100%; object-fit: cover; }

/* -- Garantie 7 ans (variante carte sombre avec halo dégradé, propre aux */
/*    fiches OMODA — même texte que includes/warranty-banner.php).        */
.owarranty-section { background: var(--color-white); padding: clamp(2rem, 4vw, 3rem) var(--gutter); }
.owarranty__card {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: var(--omoda-dark-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card-lg);
  isolation: isolate;
}
@media (min-width: 860px) { .owarranty__card { flex-direction: row; align-items: center; } }
.owarranty__card::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: 0;
  background:
    radial-gradient(ellipse 28% 55% at 22% 45%, rgba(106, 51, 255, 0.3), transparent 70%),
    radial-gradient(ellipse 24% 55% at 78% 70%, rgba(255, 76, 163, 0.22), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.owarranty__media { position: relative; z-index: 1; flex: 1; min-height: 220px; display: flex; align-items: center; justify-content: center; padding: 1.5rem; }
.owarranty__image { width: 100%; height: auto; max-height: 320px; object-fit: contain; }
.owarranty__body { position: relative; z-index: 1; flex: 1; padding: clamp(1.75rem, 4vw, 3.5rem); color: var(--color-white); }
.owarranty__heading { font-size: 1.25rem; font-weight: 600; margin-bottom: 1rem; }
.owarranty__body p { color: var(--omoda-muted-on-dark); line-height: 1.65; margin-bottom: 0.75rem; }
.owarranty__body p strong { color: var(--color-white); }

/* -- Récapitulatif : colonne gauche "sticky" + carte blanche bordée.    */
/* -- Récapitulatif / fiche technique : carte vitrée centrée. ------------
   Resynchronisé sur Figma (node 2298:400, OMODA 7, 22/10/2026) : l'ancienne
   mise en page à 2 colonnes (nom à gauche, carte à droite) a été remplacée
   par un bandeau titre centré au-dessus d'une seule carte sombre vitrée. */
.orecap {
  background: linear-gradient(0deg, #0e121b, #0e121b);
  padding: clamp(3rem, 6vw, 6rem) var(--gutter);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.orecap__intro { max-width: 46rem; text-align: center; }
.orecap__eyebrow { font-family: 'Michroma', var(--font-display); color: var(--omoda-accent-teal); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.42em; text-transform: uppercase; margin-bottom: 0.9rem; }
.orecap__heading { font-family: 'Michroma', var(--font-display); color: var(--color-white); font-size: clamp(1.75rem, 3.5vw, 2.625rem); font-weight: 400; letter-spacing: 0.057em; line-height: 1.25; }
.orecap__card {
  width: 100%;
  max-width: 47.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--color-white);
}
.orecap__promo {
  margin-bottom: 1.25rem;
}
.orecap__spec-name { font-family: 'Michroma', var(--font-display); color: var(--omoda-accent-teal); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.3em; }
.orecap__spec-subname { font-family: 'Michroma', var(--font-display); color: var(--color-white); font-size: 1.625rem; font-weight: 400; letter-spacing: 0.092em; text-transform: uppercase; margin-top: 0.4rem; }
.orecap__price { color: var(--color-white); font-size: 0.9375rem; line-height: 1.6; margin-top: 1.25rem; }
.orecap__price strong { font-weight: 700; }
.orecap__price sup { font-size: 0.7em; }
.orecap__specs-grid { display: grid; grid-template-columns: 1fr; gap: 0 2rem; width: 100%; margin-top: 1.75rem; }
@media (min-width: 560px) { .orecap__specs-grid { grid-template-columns: 1fr 1fr; } }
.orecap__specs { list-style: none; margin: 0; padding: 0; text-align: left; }
.orecap__specs li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0.5rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8125rem; color: rgba(255, 255, 255, 0.7); }
.orecap__specs li sup { font-size: 0.75em; }
.orecap__specs li strong { font-weight: 800; color: var(--color-white); white-space: nowrap; }
.orecap__specs--single li { justify-content: flex-start; }
.orecap__media { max-width: 22rem; margin-top: 1.75rem; }
.orecap__image { width: 100%; height: auto; object-fit: contain; }
.orecap__co2 { margin-top: 1.25rem; }
.orecap__co2-image { height: auto; }
.orecap__actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 2rem; }

/* -- Mentions légales (fond blanc, liste numérotée à retrait). --------- */
.olegal {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(1.5rem, 3vw, 2.5rem) var(--gutter) clamp(2.5rem, 5vw, 3.75rem);
  border-top: 1px solid var(--omoda-border-light);
  color: var(--omoda-text-faint);
  font-size: 0.75rem;
  line-height: 1.6;
}
.olegal__text { color: rgba(10, 10, 12, 0.8); margin-bottom: 0.75rem; }
.olegal__note { color: var(--omoda-text-faint); margin-bottom: 0.75rem; }
.olegal__list { margin-bottom: 0.75rem; }
.olegal__item { display: grid; grid-template-columns: 2rem 1fr; gap: 0.25rem; margin-bottom: 0.5rem; }
.olegal__item-number { color: var(--omoda-ink); }
.olegal__link { text-decoration: underline; color: var(--omoda-text-faint); }

/* =======================================================================
   15. Fiche modèle OMODA 7 — sections additionnelles (maquette Figma
   node 2298:725). Reprennent les tokens/espacements OMODA (§14) mais
   introduisent 5 nouveaux gabarits absents de la fiche OMODA 9 :
   bandeau accroche courte (.ostatement), grille "Le détail" numérotée
   (.odetail), articles alternés image/texte avec tags (.ofeature-rows),
   bloc technologie vidéo + liste (.otech-video) et bloc motorisation
   Super Hybrid System (.opowertrain).
   ===================================================================== */

/* -- Bandeau accroche courte, fond dégradé violet→rose + voile noir. --- */
.ostatement {
  position: relative;
  background: linear-gradient(160deg, var(--color-promo-end), var(--color-promo-start));
  padding: clamp(3rem, 9vw, 5.5rem) var(--gutter);
}
.ostatement::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}
.ostatement__content { position: relative; z-index: 1; max-width: 46rem; margin: 0 auto; text-align: center; }
.ostatement__heading {
  /* Michroma est utilisée bien plus largement qu'identifié initialement :
     la resynchronisation complète du 22/10/2026 (Figma node 2298:725)
     montre qu'elle habille tous les eyebrows, titres de section, CTA et
     valeurs chiffrées des fiches OMODA — pas seulement ce bandeau. Pas de
     graisse 700 pour cette police mono-graisse : on reste en 400 (Regular)
     partout plutôt que de laisser le navigateur synthétiser un faux gras. */
  font-family: 'Michroma', var(--font-display);
  color: var(--color-white);
  font-size: clamp(1.75rem, 4vw, 2.625rem);
  font-weight: 400;
  letter-spacing: normal;
  text-transform: uppercase;
  line-height: 1.25;
}

/* -- "Le détail" : grille de cartes sombres numérotées. ---------------- */
.odetail { background: var(--omoda-section-tint); padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); }
.odetail__header { max-width: var(--container); margin: 0 auto clamp(1.5rem, 3vw, 2.5rem); text-align: center; }
.odetail__eyebrow { font-family: 'Michroma', var(--font-display); color: var(--omoda-eyebrow-magenta); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 0.75rem; }
.odetail__heading { font-family: 'Michroma', var(--font-display); font-size: clamp(1.75rem, 4vw, 3.125rem); font-weight: 400; color: var(--omoda-heading-ink); line-height: 1.25; }
.odetail__grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 720px) { .odetail__grid { grid-template-columns: repeat(4, 1fr); } }
.odetail__card {
  position: relative;
  margin: 0;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--omoda-ink);
}
.odetail__card-image { width: 100%; height: 100%; object-fit: cover; }
.odetail__card-number {
  position: absolute;
  top: 1rem;
  left: 1.1rem;
  color: var(--color-white);
  font-family: 'Michroma', var(--font-display);
  font-weight: 400;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}
.odetail__card-label {
  position: absolute;
  bottom: 1rem;
  left: 1.1rem;
  right: 1.1rem;
  color: var(--color-white);
  font-family: 'Michroma', var(--font-display);
  font-weight: 400;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
}

/* -- Articles alternés image/texte avec tags (points forts). ----------- */
.ofeature-rows { background: var(--omoda-section-tint); padding: clamp(1.5rem, 4vw, 2.5rem) var(--gutter); }
.ofeature-row {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(2.5rem, 7vw, 4.5rem) 0;
}
@media (min-width: 900px) {
  .ofeature-row { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .ofeature-row--reverse .ofeature-row__media { order: 2; }
  .ofeature-row--reverse .ofeature-row__body { order: 1; }
}
.ofeature-row__media { border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-card); }
.ofeature-row__image { width: 100%; height: 100%; object-fit: cover; }
.ofeature-row__eyebrow { font-family: 'Michroma', var(--font-display); color: var(--omoda-eyebrow-magenta); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.42em; text-transform: uppercase; margin-bottom: 0.6rem; }
.ofeature-row__heading { font-family: 'Michroma', var(--font-display); font-size: clamp(1.5rem, 3vw, 1.875rem); font-weight: 400; letter-spacing: 0.05em; color: var(--omoda-heading-ink); margin-bottom: 0.85rem; line-height: 1.25; }
.ofeature-row__text { color: var(--omoda-muted-on-light-2); font-size: 0.9375rem; line-height: 1.6; max-width: 42ch; margin-bottom: 1.1rem; }
.ofeature-row__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.ofeature-row__tag {
  background: var(--color-white);
  border: 1px solid var(--omoda-border-light-2);
  border-radius: var(--radius-pill);
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--omoda-heading-ink);
}

/* -- Technologie : média + liste verticale de fonctions (fond sombre). - */
.otech-video { background: var(--omoda-dark-card); color: var(--color-white); padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); }
.otech-video__header { max-width: var(--container); margin: 0 auto clamp(1.5rem, 3vw, 2rem); }
.otech-video__eyebrow { font-family: 'Michroma', var(--font-display); color: var(--omoda-accent-teal); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.42em; text-transform: uppercase; margin-bottom: 0.75rem; }
.otech-video__heading { font-family: 'Michroma', var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.625rem); font-weight: 400; line-height: 1.25; max-width: 40ch; }
.otech-video__grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .otech-video__grid { grid-template-columns: 1.15fr 1fr; gap: 2.5rem; } }
.otech-video__media { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16 / 10; }
/* Un seul média visible à la fois (voir includes/omoda-tech-video.php +
   js/main.js, ajouté le 04/11/2026) — même principe que .vhero__stats. */
.otech-video__media-item { display: none; }
.otech-video__media-item.is-active { display: block; width: 100%; height: 100%; }
.otech-video__image { width: 100%; height: 100%; object-fit: cover; }
.otech-video__list { display: flex; flex-direction: column; gap: 0.75rem; }
.otech-video__item {
  display: flex;
  gap: 1.1rem;
  align-items: baseline;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  /* Un <div> à l'origine, devenu un <button> le 04/11/2026 pour être
     cliquable (voir includes/omoda-tech-video.php) — neutralise le style
     natif du bouton, le reste de la règle ci-dessus ne change pas. */
  appearance: none;
  background: none;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.otech-video__item--active { border-color: rgba(255, 255, 255, 0.82); background: rgba(255, 255, 255, 0.1); }
.otech-video__item-stat { font-family: 'Michroma', var(--font-display); color: var(--omoda-accent-pink); font-weight: 400; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; min-width: 3.25rem; flex-shrink: 0; }
.otech-video__item-title { font-weight: 800; font-size: 0.90625rem; margin-bottom: 0.2rem; }
.otech-video__item-text { color: rgba(255, 255, 255, 0.7); font-size: 0.6875rem; line-height: 1.45; }

/* -- Super Hybrid System : illustration + grille de 6 statistiques. ---- */
.opowertrain { position: relative; background: #05090d; color: var(--color-white); padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); overflow: hidden; }
.opowertrain__bg-wrap { position: absolute; inset: 0; }
.opowertrain__bg { width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.opowertrain__content { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; }
.opowertrain__top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.opowertrain__eyebrow { font-family: 'Michroma', var(--font-display); color: var(--omoda-accent-teal); font-size: 0.75rem; font-weight: 400; letter-spacing: 0.42em; text-transform: uppercase; margin-bottom: 0.75rem; }
.opowertrain__heading { font-family: 'Michroma', var(--font-display); font-size: clamp(1.75rem, 3.5vw, 2.625rem); font-weight: 400; letter-spacing: 0.057em; line-height: 1.25; max-width: 32ch; }
.opowertrain__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(160, 238, 240, 0.24);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1rem;
  font-family: 'Michroma', var(--font-display);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.08em;
}
.opowertrain__badge-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--omoda-accent-teal); box-shadow: 0 0 8px var(--omoda-accent-teal); flex-shrink: 0; }
.opowertrain__text { max-width: 60ch; color: rgba(255, 255, 255, 0.7); font-weight: 300; font-size: 0.9375rem; line-height: 1.6; margin-bottom: 2rem; }
/* Pas de max-width ici : l'illustration doit occuper toute la largeur du
   bloc de contenu, comme sur la maquette Figma (node 2298:304). Le bug du
   22/10/2026 ("beaucoup d'espace vide sous le visuel") venait de l'usage de
   height:auto — la photo de Franck a ses propres marges sombres intégrées,
   qui grossissaient proportionnellement avec la largeur. La maquette
   recadre son illustration dans un cadre défini (ratio ≈ 1.9/1, cover) :
   on applique le même principe ici pour recadrer sur le véhicule plutôt que
   d'afficher les marges de la photo source. */
/* Aspect-ratio resserré + recadrage décalé vers le bas (04/11/2026, signalé
   par Franck) : le visuel (model/omoda7/powertrain.jpg) a une large zone de
   fond sombre vide au-dessus et en dessous de la voiture/du reflet — avec
   l'ancien ratio 1.9/1 et un recadrage centré, cette zone vide restait
   visible et créait un grand espace mort avant les cartes de stats
   ci-dessous. Resserré à 2.2/1 et recadré vers le bas (object-position) pour
   couper la zone vide du haut, afin que les cartes remontent juste sous la
   voiture + son reflet plutôt que sous un bandeau de fond vide. */
.opowertrain__illustration { margin: 0 auto 1.5rem; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 2.2 / 1; }
.opowertrain__illustration-image { width: 100%; height: 100%; object-fit: cover; object-position: center 65%; display: block; }
/* margin-top négatif ajouté le 04/11/2026 à la demande de Franck (testé et
   confirmé par lui directement sur son serveur) : fait remonter les cartes
   de stats par-dessus le bas du visuel .opowertrain__illustration, en plus
   du resserrage du cadrage de l'image fait plus tôt le même jour. */
.opowertrain__stats { display: grid; grid-template-columns: 1fr; gap: 0.875rem; margin-top: -24%; position: relative; z-index: 1; }
@media (min-width: 640px) { .opowertrain__stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .opowertrain__stats { grid-template-columns: repeat(3, 1fr); } }
.opowertrain__stat {
  background: rgba(16, 18, 28, 0.34);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 14px;
  padding: 1.125rem;
}
.opowertrain__stat-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.5rem; }
.opowertrain__stat-num {
  font-family: 'Michroma', var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 1.75rem);
  font-weight: 400;
  letter-spacing: 0.086em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--omoda-accent-teal);
}
.opowertrain__stat-unit {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.088em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}
.opowertrain__stat-value sup { font-size: 0.7rem; color: var(--omoda-muted-on-dark); }
.opowertrain__stat-label { font-weight: 400; font-size: 0.875rem; margin-bottom: 0.3rem; }
.opowertrain__stat-text { color: rgba(255, 255, 255, 0.68); font-size: 0.75rem; line-height: 1.4; }

/* -- Ligne promo additionnelle sous le prix du héro (badge dégradé). --- */
.ohero__promo {
  display: inline-block;
  margin-bottom: 1.25rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, var(--color-promo-start), var(--color-promo-end));
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 600;
}

/* ---------------------------------------------------------------------- */
/* 15. Page "Réservez un essai" (node Figma 2300:4327, 23/10/2026)        */
/* ---------------------------------------------------------------------- */
.essai {
  max-width: var(--container);
  margin: 0 auto;
  /* padding-top assez grand pour ne jamais passer sous le bandeau
     .site-header (position: fixed, voir plus haut) : sur les autres
     pages ce chevauchement ne se voit pas car un héros plein écran
     occupe cet espace, mais /essai.html n'a pas de héros. */
  padding: clamp(6rem, 14vw, 8rem) var(--gutter) clamp(3rem, 6vw, 5rem);
}
.essai__inner { max-width: 600px; margin: 0 auto; }

.essai__title {
  /* Revenu à la typo d'accroche principale du site (héritée de la règle
     globale h1-h4 → var(--font-display), TT Autonomous Trl) le 23/10/2026
     à la demande de Franck — l'écart Manrope précédent est abandonné. */
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--omoda-ink);
  margin: 0;
}
.essai__lead {
  margin: 0.625rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* -- Cadre "Votre choix" (miniature + modèle), au-dessus de la barre de
   progression à partir de l'étape 2 — demandé par Franck le 29/10/2026,
   voir js/main.js section "Formulaire multi-étapes" (updateSelectedVehicle()). */
.essai-selected:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.875rem;
  background: var(--color-white);
  border: 1px solid var(--omoda-border-light-2);
  border-radius: var(--radius-sm);
}
.essai-selected__card:not([hidden]) {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
}
/* Largeur/hauteur fixées en dur (plutôt que seulement une largeur +
   aspect-ratio) — vignette compacte (demandé par Franck le 29/10/2026) et
   robuste : ne dépend pas du support de "aspect-ratio" par le navigateur.
   Proportions calées sur le vrai ratio des photos modèle (700×377, voir
   $essaiModels dans includes/data.php) plutôt qu'un carré : un carré
   recadrait trop sur une photo large (voiture coupée à gauche/droite),
   signalé par Franck le 29/10/2026 — corrigé en repassant sur un
   rectangle proche du ratio source, l'écrêtage par object-fit: cover
   reste donc minime. */
.essai-selected__thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 39px;
  max-width: 72px;
  max-height: 39px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f5f5f7;
}
.essai-selected__image { display: block; width: 100%; height: 100%; object-fit: cover; }
.essai-selected__text {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--omoda-muted-on-light);
}
.essai-selected__text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--omoda-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 0.1rem;
}

.essai-form { display: block; padding-top: 0.625rem; }
.essai-field { display: flex; flex-direction: column; gap: 0.5rem; width: 100%; }

.essai-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--omoda-ink);
  line-height: 1.55;
}
.essai-label__note { font-weight: 400; color: var(--omoda-muted-on-light); }

/* -- Barre de progression (formulaire multi-étapes) -------------------- */
.essai-progress { padding: 0.125rem 0 0.25rem; }
.essai-progress__track {
  position: relative;
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--omoda-border-light-2);
  overflow: hidden;
}
.essai-progress__fill {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 10%;
  border-radius: var(--radius-pill);
  background: var(--omoda-ink);
  transition: width var(--transition);
}
.essai-progress__label {
  margin: 0.625rem 0 0;
  font-size: 0.8125rem;
  color: var(--omoda-muted-on-light);
}

/* -- Étapes du formulaire ------------------------------------------------
   Sans JS (ou si .is-js n'est pas posée sur #essaiSteps) : toutes les
   étapes restent visibles et empilées — dégradation en long formulaire
   classique, rien n'est bloquant. Avec JS, seule l'étape .is-active est
   affichée ; .is-leaving pilote la sortie pendant le léger effet de
   transition (fondu + glissement vertical) demandé par Franck entre deux
   étapes. Voir js/main.js, section "Formulaire multi-étapes". ---------- */
.essai-steps { padding-top: 1.75rem; }
.essai-steps + .essai-steps { margin-top: 0; }
.essai-steps.is-js .essai-step { display: none; }
.essai-steps.is-js .essai-step.is-active,
.essai-steps.is-js .essai-step.is-leaving { display: flex; }
.essai-step { display: flex; flex-direction: column; }
.essai-step .essai-field + .essai-field { margin-top: 1.25rem; }

.essai-steps.is-js .essai-step.is-active { animation: essai-step-in 320ms ease; }
.essai-steps.is-js .essai-step.is-leaving { animation: essai-step-out 180ms ease forwards; }
@keyframes essai-step-in {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes essai-step-out {
  from { opacity: 1; transform: translateY(0); }
  to   { opacity: 0; transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .essai-steps.is-js .essai-step.is-active,
  .essai-steps.is-js .essai-step.is-leaving { animation: none; }
}

.essai-step__title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1.3;
  color: var(--omoda-ink);
  margin: 0 0 1.75rem;
}

/* -- Grilles de choix (modèle, type, intention, financement, reprise) --
   2 choix par ligne (autant de lignes que nécessaire), demandé par
   Franck le 23/10/2026 — y compris pour Particulier/Entreprise (étape 2,
   qui n'a que 2 options et tient donc sur une seule ligne). ------------- */
.essai-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
.essai-choice-grid--models {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.875rem;
}
@media (max-width: 360px) {
  .essai-choice-grid--models { grid-template-columns: 1fr; }
}

.essai-choice-card {
  /* Carte en ligne (dot aligné au centre vertical du label), et non plus
     un pavé à hauteur forcée avec badge en coin — régression corrigée le
     23/10/2026 à la demande de Franck (texte mal centré, cartes trop
     hautes). ---------------------------------------------------------- */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  background: var(--color-white);
  border: 1px solid var(--omoda-border-light-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.essai-choice-card input {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.essai-choice-card__label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--omoda-ink);
}
.essai-choice-card__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
}
.essai-choice-card__tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(120deg, var(--color-promo-start), var(--color-promo-end));
  color: var(--color-white);
  font-size: 0.65625rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.essai-choice-card__dot {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border: 1.5px solid var(--omoda-border-light-2);
  border-radius: 50%;
  color: transparent;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}
.essai-choice-card__dot .icon { width: 12px; height: 12px; }
.essai-choice-card.is-selected {
  border-color: var(--omoda-ink);
  background: #f5f5f7;
}
.essai-choice-card.is-selected .essai-choice-card__dot {
  background: var(--omoda-ink);
  border-color: var(--omoda-ink);
  color: var(--color-white);
}
.essai-choice-card input:focus-visible ~ .essai-choice-card__dot { outline: 2px solid var(--omoda-ink); outline-offset: 2px; }

/* -- Vignettes miniatures de modèle (étape 1) --------------------------- */
.essai-model-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  padding: 0.875rem;
  background: var(--color-white);
  border: 1px solid var(--omoda-border-light-2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.essai-model-card input {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.essai-model-card__thumb {
  display: block;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: #f5f5f7;
  aspect-ratio: 700 / 377;
}
.essai-model-card__image { width: 100%; height: 100%; object-fit: cover; display: block; }
.essai-model-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--omoda-ink);
}
.essai-model-card__dot {
  /* Rond vide bien visible par défaut (fond blanc plein + contour gris,
     même convention que .essai-choice-card__dot) — l'ancien style
     translucide sur la photo ne se voyait pas assez, corrigé le
     23/10/2026 à la demande de Franck. ------------------------------- */
  position: absolute;
  top: 0.625rem; right: 0.625rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border: 1.5px solid var(--omoda-border-light-2);
  border-radius: 50%;
  background: var(--color-white);
  color: transparent;
  box-shadow: 0 1px 2px rgba(10, 10, 12, 0.15);
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.essai-model-card__dot .icon { width: 14px; height: 14px; }
.essai-model-card.is-selected { border-color: var(--omoda-ink); }
.essai-model-card.is-selected .essai-model-card__dot {
  background: var(--omoda-ink);
  border-color: var(--omoda-ink);
  color: var(--color-white);
}
.essai-model-card input:focus-visible ~ .essai-model-card__thumb { outline: 2px solid var(--omoda-ink); outline-offset: 2px; }

/* -- Navigation entre étapes (retour / suivant) ------------------------- */
.essai-step__back {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1.5rem;
  padding: 0;
  background: none;
  border: 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--omoda-muted-on-light);
  cursor: pointer;
  transition: color var(--transition);
}
.essai-step__back .icon { width: 16px; height: 16px; }
.essai-step__back:hover, .essai-step__back:focus-visible { color: var(--omoda-ink); }

.essai-step__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
}
.essai-step__actions .essai-step__back { margin-top: 0; }

/* -- Champs texte / select --------------------------------------------- */
.essai-input,
.essai-select select {
  width: 100%;
  height: 48px;
  padding: 0 2.75rem 0 1rem;
  background: var(--color-white);
  border: 1px solid var(--omoda-border-light-2);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 1px 0 rgba(21, 26, 40, 0.06), 0 2px 2px 0 rgba(21, 26, 40, 0.06);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--omoda-ink);
}
.essai-input::placeholder { color: var(--omoda-text-faint); }
.essai-input:focus,
.essai-select select:focus { outline: 2px solid var(--omoda-ink); outline-offset: 1px; }

.essai-select { position: relative; }
.essai-select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 4.25rem;
  cursor: pointer;
}
.essai-select select:invalid { color: var(--omoda-text-faint); }
.essai-select__chevron {
  position: absolute;
  top: 50%; right: 1rem;
  transform: translateY(-50%);
  width: 16px; height: 16px;
  color: var(--omoda-muted-on-light);
  pointer-events: none;
}

/* -- Pastille de validation sur les champs texte/select (rond → coché),
      même principe visuel que les pastilles des cartes de choix.
      Ajoutée le 23/10/2026. Sur les champs texte (nom/prénom/email/
      mobile), le rond vide par défaut est invisible — on ne révèle que
      la pastille pleine + coche une fois le champ valide, en fondu
      (demandé par Franck le 23/10/2026). Sur le select commune, le rond
      vide reste visible (non concerné par cette demande). ------------- */
.essai-field__control { position: relative; }
.essai-field__status {
  position: absolute;
  top: 50%; right: 0.875rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  border: 1.5px solid var(--omoda-border-light-2);
  border-radius: 50%;
  background: var(--color-white);
  color: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}
.essai-field__status .icon { width: 12px; height: 12px; }
.essai-field__status--select {
  right: 2.625rem;
  opacity: 1;
}
.essai-field__status.is-valid {
  opacity: 1;
  background: var(--omoda-ink);
  border-color: var(--omoda-ink);
  color: var(--color-white);
}

/* -- Consentements (politique de confidentialité / marketing) --------- */
.essai-consents {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--omoda-border-light);
}
.essai-check {
  display: flex;
  align-items: flex-start;
  gap: 0.8125rem;
  cursor: pointer;
}
.essai-check input {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.essai-check__box {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 2px;
  background: var(--color-white);
  border: 1.5px solid #767676;
  border-radius: 2.5px;
  position: relative;
}
.essai-check input:checked + .essai-check__box {
  background: var(--omoda-ink);
  border-color: var(--omoda-ink);
}
.essai-check input:checked + .essai-check__box::after {
  content: '';
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 9px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.essai-check input:focus-visible + .essai-check__box { outline: 2px solid var(--omoda-ink); outline-offset: 2px; }
.essai-check__label { font-size: 0.875rem; line-height: 1.5; color: var(--omoda-ink); }
.essai-check__label a { color: inherit; text-decoration: underline; }

.essai-submit,
.essai-step__next {
  align-self: flex-start;
  height: 48px;
  padding: 0 1.5rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--omoda-ink);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 1px 0.5px rgba(21, 26, 40, 0.06), 0 2px 1px rgba(21, 26, 40, 0.06);
  transition: opacity var(--transition);
}
.essai-submit:hover, .essai-submit:focus-visible,
.essai-step__next:hover, .essai-step__next:focus-visible { opacity: 0.85; }
.essai-submit:disabled, .essai-step__next:disabled { opacity: 0.5; cursor: not-allowed; }

/* -- Page de remerciement (merci.html, générée statiquement) ----------- */
.merci {
  max-width: var(--container);
  margin: 0 auto;
  /* Même raison que .essai ci-dessus : pas de héros sur cette page pour
     "absorber" le bandeau .site-header fixe, donc padding-top généreux. */
  padding: clamp(6rem, 14vw, 8rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  text-align: center;
}
.merci__inner { max-width: 560px; margin: 0 auto; }
.merci__icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--omoda-ink);
}
.merci__title { font-family: var(--font-sans); font-weight: 500; font-size: 1.625rem; color: var(--omoda-ink); margin: 0; }
.merci__text { margin: 0.75rem 0 2rem; color: var(--color-text-muted); font-size: 0.9375rem; line-height: 1.6; }

/* ---------------------------------------------------------------------- */
/* 16. Pages légales — Politique de confidentialité / Politique en        */
/*    matière de cookies / Mentions légales (créées le 29/10/2026 à la    */
/*    demande de Franck). Simple page de texte (pas de maquette Figma     */
/*    dédiée) : mêmes conventions de conteneur/typo que .essai/.merci     */
/*    ci-dessus pour rester cohérent avec le reste du site.               */
/* ---------------------------------------------------------------------- */
.legal-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(6rem, 14vw, 8rem) var(--gutter) clamp(3rem, 6vw, 5rem);
}
.legal-page__inner { max-width: 760px; margin: 0 auto; }
.legal-page__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--omoda-ink);
  margin: 0 0 0.5rem;
}
.legal-page__updated { color: var(--omoda-muted-on-light); font-size: 0.8125rem; margin: 0 0 2.5rem; }
.legal-page__section { margin-bottom: 2.25rem; }
.legal-page__section:last-child { margin-bottom: 0; }
.legal-page__section h2 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.125rem;
  color: var(--omoda-ink);
  margin: 0 0 0.75rem;
}
.legal-page__section h3 { font-weight: 600; font-size: 0.9375rem; color: var(--omoda-ink); margin: 1.25rem 0 0.5rem; }
.legal-page__section p {
  color: var(--omoda-muted-on-light-2);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin: 0 0 0.875rem;
}
.legal-page__section ul, .legal-page__section ol {
  margin: 0 0 0.875rem;
  padding-left: 1.25rem;
  color: var(--omoda-muted-on-light-2);
  font-size: 0.9375rem;
  line-height: 1.7;
}
.legal-page__section li { margin-bottom: 0.4rem; }
.legal-page__section a:not(.btn) { color: var(--omoda-ink); text-decoration: underline; text-underline-offset: 2px; }
/* :not(.btn) ajouté le 30/10/2026 — sans lui, cette règle (plus
   spécifique que .btn--solid) écrasait la couleur du texte du bouton
   "Réservez un essai" sur la nouvelle page /concessions, le rendant
   illisible (texte sombre sur fond noir). Voir claude/etat-du-projet.md. */
.legal-page__note {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--omoda-muted-on-light);
  background: #f5f5f7;
  border: 1px solid var(--omoda-border-light-2);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1rem;
  margin: 0 0 0.875rem;
}
/* Rappel des mentions réglementaires véhicules (WLTP) sur la page
   "Mentions légales" — réutilise la même source de données que le reste
   du site (includes/legal.json), affichée ici en version compacte. */
.legal-page__footnotes { list-style: none; margin: 0; padding: 0; }
.legal-page__footnotes li { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; }
.legal-page__footnotes li span:first-child { flex-shrink: 0; font-weight: 600; color: var(--omoda-ink); }

/* Photo de présentation du réseau sur la page "Trouvez votre concession"
   (includes/concessions-content.php, ajouté le 30/10/2026) — même photo
   que le bandeau réseau de l'accueil (includes/warranty.php). */
.legal-page__dealer-image {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
}
