/* ==========================================================================
   Jallet Auto — feuille de style (version sombre)
   Esprit : site de constructeur haut de gamme — vidéo plein écran, fond noir,
   grandes photos, typographie fine — aux couleurs du logo : rouge, gris, noir.
   ========================================================================== */

@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-tight-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter-tight-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --red: #e2382c;          /* rouge du logo */
  --red-hover: #f24c40;
  --red-text: #ff5d50;     /* rouge lisible sur fond noir */
  --bg: #0a0a0c;           /* noir principal */
  --bg-2: #111114;         /* noir des sections alternées */
  --panel: #17171b;        /* cartes */
  --panel-2: #1f1f24;
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .18);
  --text: #f5f5f6;
  --muted: #a3a3ab;        /* textes secondaires */
  --muted-2: #74747d;
  --silver: #b3b3b3;       /* gris du logo */
  --paper: #f2f2f3;        /* la section claire */
  --ink: #0e0e10;
  --white: #fff;
  --radius: 12px;
  --radius-sm: 6px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --container: 1440px;
  --header-h: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  font-family: "Inter Tight", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.1; font-weight: 500; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
strong { font-weight: 600; }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; }
::selection { background: var(--red); color: var(--white); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 52px); }
.text-red { color: var(--red-text); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Boutons ---------- */
/* Boutons « pilule » : transparents, bord blanc, texte en capitales espacées. Ils se remplissent au survol. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 34px;
  border: 1.5px solid rgba(255,255,255,.9); border-radius: 100px;
  background: rgba(10,10,12,.12); color: var(--white); backdrop-filter: blur(6px);
  font-size: 13.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; text-align: center; line-height: 1.3;
  cursor: pointer; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.btn:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn--red { border-color: var(--red-text); }                         /* bouton principal : bord rouge, se remplit en rouge */
.btn--red:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 12px; letter-spacing: .14em; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: wait; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; }
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
a:hover .link-arrow::after, .link-arrow:hover::after { transform: translateX(6px); }

/* ---------- En-tête ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h);
  color: var(--white);
  transition: background .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.header::before { /* léger voile pour lire le menu sur la vidéo */
  content: ""; position: absolute; inset: 0 0 -60px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(0,0,0,.6), transparent);
  transition: opacity .4s;
}
.header.is-scrolled, .header--solid { background: rgba(10,10,12,.82); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--line); }
.header.is-scrolled::before, .header--solid::before { opacity: 0; }
.header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.header__logo { flex-shrink: 0; display: block; }
.header__logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__link {
  position: relative; padding: 8px 14px; font-size: 15px; font-weight: 400; text-decoration: none;
  color: rgba(255,255,255,.78); transition: color .25s;
}
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 1px; background: var(--white); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 16px; }
/* Écrans moyens : seul le mobile reste dans l'en-tête (le fixe est dans le menu mobile, la section Contact et le pied de page) */
/* Écran moyen : une seule place, on garde le fixe (prioritaire) et on masque le mobile */
@media (min-width: 981px) and (max-width: 1400px) { .nav__cta { display: none; } }
/* Ordinateur : menu centré dans la page, logo à gauche, téléphone à droite */
@media (min-width: 981px) {
  .header__inner { position: relative; justify-content: center; }
  .header__logo { position: absolute; left: clamp(20px, 4vw, 52px); top: 50%; transform: translateY(-50%); }
  .nav { margin-left: 0; }
  .nav__phones { position: absolute; right: clamp(20px, 4vw, 52px); top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; }
  .nav__phones .btn { margin-left: 0; padding: 0 18px; white-space: nowrap; }
}
.burger { display: none; width: 44px; height: 44px; margin-left: auto; padding: 0; border: 0; background: none; cursor: pointer; }
.burger span { display: block; width: 24px; height: 1.5px; margin: 6px auto; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Entrée : vidéo plein écran ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); background: #000; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__video { opacity: 0; transition: opacity 1.2s ease; }
.hero__video.is-playing { opacity: 1; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, var(--bg) 0%, rgba(10,10,12,.55) 32%, rgba(10,10,12,.05) 62%),
    linear-gradient(90deg, rgba(10,10,12,.55) 0%, rgba(10,10,12,0) 60%);
}
.hero__inner { position: relative; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(64px, 11vh, 128px); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; margin: 0 0 22px;
  font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--red); }
.hero .eyebrow { color: rgba(255,255,255,.85); }
.hero__title { max-width: 16ch; font-size: clamp(42px, 7vw, 104px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.hero__title span { display: block; }
.hero__lead { max-width: 540px; margin: 28px 0 0; font-size: clamp(17px, 1.4vw, 20px); font-weight: 300; color: rgba(255,255,255,.82); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }
.hero__scroll { position: absolute; right: clamp(20px, 4vw, 52px); bottom: 48px; display: flex; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.65); text-decoration: none; writing-mode: vertical-rl; }
.hero__scroll::after { content: ""; width: 1px; height: 64px; background: linear-gradient(var(--white), transparent); animation: scrollLine 2.4s ease-in-out infinite; }
@keyframes scrollLine { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* ---------- Bandeau d'atouts ---------- */
.strip { background: var(--bg); border-bottom: 1px solid var(--line); }
.strip__list { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip__item { display: flex; align-items: center; gap: 18px; padding: 40px 28px; border-left: 1px solid var(--line); }
.strip__item:first-child { border-left: 0; padding-left: 0; }
.strip__item svg { width: 30px; height: 30px; flex-shrink: 0; fill: none; stroke: var(--red-text); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.strip__item strong { display: block; font-size: 18px; font-weight: 500; line-height: 1.3; }
.strip__item small { display: block; font-size: 14px; color: var(--muted); line-height: 1.4; }

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 12vw, 168px) 0; background: var(--bg); }
.section--soft, .section--dark { background: var(--bg-2); }
.section--light { background: var(--paper); color: var(--ink); }
.section__head { max-width: 820px; margin-bottom: clamp(44px, 6vw, 80px); }
.section__title { font-size: clamp(34px, 5vw, 68px); letter-spacing: -.035em; }
.section__lead { margin-top: 24px; max-width: 620px; font-size: clamp(17px, 1.35vw, 20px); font-weight: 300; color: var(--muted); }
.section--light .eyebrow { color: #5c5c63; }
.section--light .section__lead { color: #55555c; }

/* ---------- Le garage ---------- */
.about { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 104px); align-items: center; }
.about > *, .cash > *, .visit > *, .contact > *, .docs > * { min-width: 0; }
.about__media { position: relative; border-radius: var(--radius); overflow: hidden; }
.about__media img { width: 100%; aspect-ratio: 4 / 3.5; object-fit: cover; }
.about__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,12,.8), transparent 45%); pointer-events: none; }
.about__badge { position: absolute; left: 32px; bottom: 28px; z-index: 1; display: flex; align-items: baseline; gap: 14px; }
.about__badge strong { font-size: clamp(44px, 5vw, 72px); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.about__badge span { max-width: 150px; font-size: 14px; line-height: 1.35; color: rgba(255,255,255,.8); }
.about__text > p { color: var(--muted); font-weight: 300; }
.about__text > p strong { color: var(--text); font-weight: 500; }
.about__text .section__title { margin-bottom: 28px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 40px 0; }
.value { padding-top: 18px; border-top: 1px solid var(--line-2); }
.value strong { display: block; font-size: 17px; font-weight: 500; }
.value span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.about__team { display: flex; align-items: center; gap: 14px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.about__team svg { width: 32px; height: 32px; flex-shrink: 0; fill: none; stroke: var(--red-text); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.about__team a { color: var(--text); font-weight: 500; text-underline-offset: 4px; }

/* ---------- Bloc « photo + texte » (le garage) ---------- */
.feature-section { padding: clamp(56px, 7vw, 104px) 0; }
.feature { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.feature__media { border-radius: 24px; overflow: hidden; background: var(--panel); }
.feature__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.4s var(--ease); }
.feature__media:hover img { transform: scale(1.04); }
.feature__title { font-size: clamp(28px, 3.1vw, 46px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.feature__text p { margin: 22px 0 0; max-width: 560px; font-size: clamp(16px, 1.25vw, 19px); font-weight: 300; line-height: 1.6; color: var(--muted); }
.feature__text .btn { margin-top: 34px; }
@media (max-width: 980px) { .feature { grid-template-columns: minmax(0, 1fr); } .feature__media { border-radius: 16px; } }

/* ---------- Services : tuiles photo ---------- */
/* Même espace en haut pour toutes les sections qui se suivent */
#services, #vehicules, #acces, #contact, #demarches, #location { padding-top: clamp(40px, 4.5vw, 72px); }
.stiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stile { position: relative; display: flex; align-items: flex-end; aspect-ratio: 3 / 4; border-radius: 24px; overflow: hidden; background: var(--panel); color: var(--white); }
.stile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.stile:hover > img { transform: scale(1.06); }
.stile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,10,12,.96) 0%, rgba(10,10,12,.78) 36%, rgba(10,10,12,.15) 72%, rgba(10,10,12,.05) 100%); pointer-events: none; }
.stile__body { position: relative; z-index: 1; width: 100%; padding: 28px 24px 32px; text-align: center; }
.stile__body h3 { font-size: clamp(21px, 1.7vw, 27px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.stile__body p { margin: 12px auto 0; max-width: 300px; font-size: 14px; font-weight: 300; line-height: 1.5; color: rgba(255,255,255,.78); }
.stile__link { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.8); font-size: 15px; text-decoration: none; transition: border-color .3s, gap .3s var(--ease); }
.stile__link::after { content: "›"; font-size: 20px; line-height: .8; }
.stile__link:hover { gap: 14px; border-color: var(--red-text); }
@media (max-width: 1180px) { .stiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .stiles { grid-template-columns: minmax(0, 1fr); } .stile { aspect-ratio: 4 / 4.4; border-radius: 16px; } }

/* ---------- Services : grille numérotée ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); counter-reset: service; }
.service { position: relative; min-height: 300px; padding: 32px 30px 36px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); counter-increment: service; transition: background .4s var(--ease); overflow: hidden; }
.service::before { content: counter(service, decimal-leading-zero); display: block; font-size: 13px; letter-spacing: .18em; color: var(--muted-2); }
.service::after { content: ""; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.service:hover { background: var(--panel); }
.service:hover::after { transform: scaleX(1); }
.service__icon { margin: 44px 0 26px; }
.service__icon svg { width: 34px; height: 34px; fill: none; stroke: var(--text); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.service:hover .service__icon svg { stroke: var(--red-text); }
.service h3 { font-size: 22px; margin-bottom: 12px; letter-spacing: -.02em; }
.service p { font-size: 15px; font-weight: 300; color: var(--muted); }

/* ---------- Tuiles véhicules (accueil) ---------- */
/* Deux tuiles côte à côte : celle qu'on survole s'élargit, l'autre se resserre et suit le mouvement */
.tiles { display: flex; gap: clamp(14px, 1.6vw, 24px); height: clamp(440px, 44vw, 640px); }
.tile { position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: flex-end; justify-content: center; overflow: hidden; border-radius: 28px; color: var(--white); text-decoration: none; background: var(--panel); isolation: isolate; transition: flex-grow 1.1s cubic-bezier(.33, 1, .68, 1); will-change: flex-grow; }
.tiles:hover .tile { flex-grow: .72; }
.tiles .tile:hover, .tiles .tile:focus-visible { flex-grow: 1.5; }
/* La photo garde une taille fixe (celle de la tuile élargie) : pendant le mouvement elle est seulement découverte
   ou recouverte, sans être recalculée à chaque image. C'est ce qui rend l'animation fluide. */
.tile img { position: absolute; top: 0; left: 50%; z-index: -2; width: max(100%, calc(min(100vw, var(--container)) * .66)); max-width: none; height: 100%; object-fit: cover; transform: translateX(-50%); transition: transform 1.8s cubic-bezier(.33, 1, .68, 1); }
.tile:hover img { transform: translateX(-50%) scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,10,12,0) 35%, rgba(10,10,12,.55) 62%, rgba(10,10,12,.95) 100%); }
/* Le texte garde lui aussi une largeur fixe : il ne se remet pas en page pendant le mouvement */
.tile__body { flex: none; width: 340px; max-width: 100%; padding: 0 0 clamp(28px, 3.4vw, 52px); text-align: center; }
.tile__body h3 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 400; letter-spacing: -.01em; line-height: 1.15; white-space: nowrap; }
.tile__body p { margin: 14px auto 0; font-size: clamp(16px, 1.4vw, 20px); font-weight: 300; line-height: 1.35; color: rgba(255,255,255,.92); }
.tile__link { display: inline-flex; align-items: center; gap: 8px; margin-top: clamp(22px, 2.6vw, 40px); padding-bottom: 6px; border-bottom: 1px solid var(--white); font-size: 17px; transition: gap .4s var(--ease); }
.tile__link::after { content: "›"; font-size: 24px; line-height: .7; }
.tile:hover .tile__link { gap: 14px; }

/* ---------- Rachat cash ---------- */
.cash { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 104px); align-items: center; }
.cash__media { border-radius: var(--radius); overflow: hidden; }
.cash__media img { width: 100%; aspect-ratio: 4 / 3.6; object-fit: cover; }
.cash__title { font-size: clamp(36px, 5vw, 68px); letter-spacing: -.035em; }
.cash__title span { display: block; }
.cash__points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; margin: 44px 0; }
.cash__point { display: flex; gap: 16px; align-items: flex-start; padding: 22px 0; border-top: 1px solid var(--line-2); }
.cash__point svg { width: 26px; height: 26px; flex-shrink: 0; fill: none; stroke: var(--red-text); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.cash__point strong { display: block; font-size: 17px; font-weight: 500; line-height: 1.3; }
.cash__point span span { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 3px; }
.cash__note { margin-top: 22px; font-size: 13px; color: var(--muted-2); }

/* ---------- Location (la section claire) ---------- */
.rentals { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.rental { display: flex; flex-direction: column; min-height: 250px; padding: 28px 26px; background: var(--white); border-radius: var(--radius); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.rental:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -24px rgba(0,0,0,.35); }
.rental__tag { align-self: flex-start; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.rental h3 { margin: 16px 0 6px; font-size: 24px; letter-spacing: -.025em; }
.rental p { font-size: 15px; color: #5c5c63; }
.rental__price { margin-top: auto; padding-top: 24px; border-top: 1px solid #e2e2e5; font-size: 14px; color: #5c5c63; }
.rental h3 + p { margin-bottom: 24px; }
.rental__price span { display: block; margin-top: 2px; }
.rental__price strong { font-size: 34px; font-weight: 500; letter-spacing: -.04em; color: var(--ink); }
/* Bandeau « Tarifs dégressifs » */
.degressif { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 28px); margin-bottom: 20px; padding: clamp(20px, 2.6vw, 30px) clamp(20px, 3vw, 36px); border-radius: var(--radius); background: var(--red); color: var(--white); }
.degressif__ic { flex-shrink: 0; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.16); }
.degressif__ic svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.degressif__text { flex: 1; }
.degressif__text strong { display: block; font-size: clamp(22px, 2.2vw, 30px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.degressif__text span { display: block; margin-top: 4px; font-size: 16px; color: rgba(255,255,255,.9); }
.degressif .btn { flex-shrink: 0; border-color: var(--white); background: transparent; }
.degressif .btn:hover { background: var(--white); color: var(--red); }
.rental__from { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: #5c5c63; }
@media (max-width: 640px) { .degressif { flex-wrap: wrap; } .degressif .btn { width: 100%; } }
/* Formulaire de devis location */
.quote { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 64px); margin-top: 16px; padding: clamp(24px, 3.4vw, 48px); border-radius: var(--radius); background: var(--bg); color: var(--white); }
.quote__intro h3 { font-size: clamp(26px, 2.6vw, 38px); letter-spacing: -.03em; }
.quote__intro p { margin-top: 14px; font-size: 16px; font-weight: 300; color: var(--muted); }
.quote__call { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.quote__call a { display: block; margin-top: 4px; font-size: 24px; font-weight: 500; letter-spacing: -.01em; color: var(--white); text-decoration: none; }
.quote__call a:hover { color: var(--red-text); }
.quote__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
.quote__wide { grid-column: 1 / -1; }
.quote .field > span:first-child { color: var(--muted); }
.quote .field select, .quote .field input, .quote .field textarea { width: 100%; padding: 14px 16px; font: inherit; font-size: 16px; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2); border-radius: var(--radius-sm); color-scheme: dark; }
.quote .field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5f5f6' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; cursor: pointer; }
.quote .field select:focus, .quote .field input:focus, .quote .field textarea:focus { outline: none; border-color: var(--white); }
.quote .field .is-invalid { border-color: var(--red-text); }
.quote__unit { position: relative; display: block; }
.quote__unit input { padding-right: 52px !important; }
.quote__unit i { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--muted); pointer-events: none; }
@media (max-width: 1080px) { .quote { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .quote__grid { grid-template-columns: minmax(0, 1fr); } }
.rentals__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 30px 34px; border-radius: var(--radius); background: var(--bg); color: var(--white); }
.rentals__foot p { font-size: 16px; font-weight: 300; color: var(--muted); }
.rentals__foot strong { color: var(--white); font-size: 19px; font-weight: 500; }
.rentals__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Démarches ---------- */
.docs { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 88px); }
.docs__group h3 { padding-bottom: 20px; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line-2); }
.doc-list li { border-bottom: 1px solid var(--line); }
.doc-list a { display: flex; align-items: center; gap: 18px; padding: 22px 4px; text-decoration: none; transition: padding .35s var(--ease), color .25s; }
.doc-list a:hover { padding-left: 14px; color: var(--white); }
.doc-list svg { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: var(--red-text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.doc-list span { flex: 1; font-size: 18px; }
.doc-list small { font-size: 12px; letter-spacing: .14em; color: var(--muted-2); }

/* Liste « à cocher » (documents pour l'immatriculation) */
.checklist { margin-top: clamp(40px, 5vw, 72px); padding: clamp(24px, 3.4vw, 48px); background: var(--panel); border: 1px solid var(--line); border-radius: 24px; }
.checklist h3 { max-width: 760px; font-size: clamp(22px, 2.2vw, 30px); letter-spacing: -.02em; line-height: 1.2; }
.checklist__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 48px); margin-top: 26px; }
.checklist__list li { position: relative; padding: 15px 0 15px 34px; border-top: 1px solid var(--line); font-size: 17px; line-height: 1.4; }
.checklist__list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 20px; height: 20px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5d50' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 980px) { .checklist__list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .checklist__list { grid-template-columns: minmax(0, 1fr); } .checklist { border-radius: 16px; } }

/* ---------- Accès & horaires ---------- */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 88px); align-items: stretch; }
.visit__info .section__title { margin-bottom: 20px; }
.visit__info .section__lead { margin-bottom: 36px; }
.visit__block { padding: 26px 0; border-top: 1px solid var(--line); }
.visit__block h3 { margin-bottom: 12px; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.visit__block p { font-size: 18px; }
.hours { width: 100%; border-collapse: collapse; font-size: 18px; }
.hours th, .hours td { padding: 7px 0; text-align: left; font-weight: 400; }
.hours th { width: 46%; color: var(--muted); }
.map { position: relative; min-height: 460px; border-radius: var(--radius); overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
.map__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; text-align: center;
  background: radial-gradient(circle at 50% 44%, rgba(226,56,44,.22), transparent 50%), repeating-linear-gradient(0deg, transparent 0 47px, rgba(255,255,255,.04) 47px 48px), repeating-linear-gradient(90deg, transparent 0 47px, rgba(255,255,255,.04) 47px 48px), var(--panel); }
.map__placeholder[hidden] { display: none; }
.map__pin { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 12px rgba(226,56,44,.16), 0 0 0 28px rgba(226,56,44,.07); }
.map__pin svg { width: 26px; height: 26px; fill: none; stroke: var(--white); stroke-width: 1.6; }
.map__placeholder p { max-width: 340px; font-size: 14px; color: var(--muted); }
.map__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 104px); }
.contact__list { margin-top: 44px; }
.contact__list li { display: flex; gap: 18px; align-items: center; padding: 20px 0; border-top: 1px solid var(--line); }
.contact__ic { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); }
.contact__ic svg { width: 19px; height: 19px; fill: none; stroke: var(--red-text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.contact__list small { display: block; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.contact__list a { font-size: 20px; font-weight: 500; text-decoration: none; overflow-wrap: anywhere; transition: color .25s; }
.contact__list a:hover { color: var(--red-text); }

.form { padding: clamp(24px, 4vw, 48px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field > span { display: block; margin-bottom: 9px; font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 15px 16px; font: inherit; font-size: 16px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--white); }
.field .is-invalid { border-color: var(--red-text); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; padding: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-block; padding: 9px 16px; border: 1px solid var(--line-2); border-radius: 40px; font-size: 14px; color: var(--muted); cursor: pointer; transition: all .25s; user-select: none; }
.chip span:hover { border-color: var(--white); color: var(--white); }
.chip input:checked + span { background: var(--white); border-color: var(--white); color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--red-text); outline-offset: 2px; }
.form__note { min-height: 1.4em; margin: 16px 0 0; font-size: 14px; color: #6ddc8b; }
.form__note.is-error { color: var(--red-text); }
.form__note a { color: var(--white); }
.form__legal { margin-top: 12px; font-size: 12px; color: var(--muted-2); }
.form__legal a { color: var(--muted); }

/* ---------- Pied de page ---------- */
.footer { padding: 88px 0 36px; background: #050506; color: var(--muted); font-size: 15px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.footer__logo { height: 44px; width: auto; margin-bottom: 24px; }
.footer h4 { margin-bottom: 20px; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--white); }
.footer__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer a { text-decoration: none; transition: color .25s; }
.footer a:hover { color: var(--white); }
.footer__social { display: inline-flex; align-items: center; gap: 10px; margin-top: 20px; color: var(--white); }
.footer__social svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.footer__team { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; }
.footer__team svg { width: 20px; height: 20px; fill: none; stroke: var(--red-text); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 28px; font-size: 13px; color: var(--muted-2); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* Bouton d'appel flottant (mobile) */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: var(--red); color: var(--white); box-shadow: 0 10px 30px rgba(226,56,44,.45); }
.fab svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Page « Nos véhicules » : filtres à gauche, véhicules à droite
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(64px, 8vw, 112px)) 0 clamp(48px, 6vw, 80px); background: #000; color: var(--white); overflow: hidden; }
.page-hero__bg { position: absolute; inset: 0; opacity: .5; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.page-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 0%, rgba(10,10,12,.3) 70%), linear-gradient(90deg, rgba(10,10,12,.85) 10%, rgba(10,10,12,.1)); }
.page-hero .container { position: relative; }
.page-hero h1 { max-width: 16ch; font-size: clamp(40px, 6.4vw, 92px); line-height: 1; letter-spacing: -.04em; }
.page-hero p:not(.eyebrow) { max-width: 600px; margin-top: 24px; font-size: clamp(17px, 1.35vw, 20px); font-weight: 300; color: rgba(255,255,255,.78); }
.page-hero .eyebrow { color: rgba(255,255,255,.85); }

.shop { padding: calc(var(--header-h) + clamp(24px, 3vw, 44px)) 0 clamp(72px, 9vw, 128px); background: var(--bg); }
.shop__layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }

/* --- Colonne de filtres --- */
.filters { position: sticky; top: calc(var(--header-h) + 20px); max-height: calc(100vh - var(--header-h) - 40px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--panel-2) transparent; padding-right: 6px; }
.filters__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.filters__head h2 { font-size: 22px; letter-spacing: -.02em; }
.filters__reset { padding: 0; border: 0; background: none; font-size: 14px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.filters__reset:hover { color: var(--white); }
.filters__close, .filters__foot { display: none; }
.fgroup { border-bottom: 1px solid var(--line); }
.fgroup summary { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; font-size: 17px; font-weight: 500; cursor: pointer; list-style: none; user-select: none; }
.fgroup summary::-webkit-details-marker { display: none; }
.fgroup summary::after { content: ""; width: 8px; height: 8px; margin-right: 4px; border-right: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(45deg) translateY(-3px); transition: transform .3s var(--ease); }
.fgroup[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.fgroup__body { padding: 0 0 22px; }
.fcheck { position: relative; display: flex; align-items: center; gap: 12px; padding: 7px 0; font-size: 16px; color: #d4d4d9; cursor: pointer; }
.fcheck:hover { color: var(--white); }
.fcheck input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fcheck__box { flex-shrink: 0; width: 22px; height: 22px; border: 1.5px solid var(--muted-2); border-radius: 4px; transition: background .2s, border-color .2s; }
.fcheck:hover .fcheck__box { border-color: var(--white); }
.fcheck input:checked + .fcheck__box { background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e0e10' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 16px no-repeat; border-color: var(--white); }
.fcheck input:focus-visible + .fcheck__box { outline: 2px solid var(--red-text); outline-offset: 2px; }
.fcheck__label { flex: 1; }
.fcheck__n { font-size: 13px; color: var(--muted-2); }
.frange__value { display: block; margin-bottom: 14px; font-size: 16px; color: var(--white); }
.frange { --pct: 100%; -webkit-appearance: none; appearance: none; width: 100%; height: 24px; margin: 0; background: transparent; cursor: pointer; }
.frange::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(90deg, var(--white) var(--pct), var(--line-2) var(--pct)); }
.frange::-moz-range-track { height: 2px; background: var(--line-2); }
.frange::-moz-range-progress { height: 2px; background: var(--white); }
.frange::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--white); border: 0; box-shadow: 0 0 0 6px rgba(255,255,255,.08); }
.frange::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 0; }
.frange__ends { display: flex; justify-content: space-between; margin-top: 6px; font-size: 13px; color: var(--muted-2); }

/* --- Barre du haut : nombre, tri, filtres actifs --- */
/* La colonne des véhicules garde au moins la hauteur de l'écran, même avec peu de résultats */
.shop__main { min-height: calc(100vh - var(--header-h) - 40px); }
.shop__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); }
.shop__count { margin: 0 auto 0 0; font-size: 22px; letter-spacing: -.02em; color: var(--muted); }
.shop__count strong { color: var(--white); font-weight: 500; }
.shop__open { display: none; position: relative; }
.shop__open svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.shop__open[data-count]:not([data-count=""])::after { content: attr(data-count); display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 20px; background: var(--red); color: var(--white); font-size: 12px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; min-height: 46px; padding: 0 42px 0 18px; font: inherit; font-size: 15px; color: var(--text); background: var(--panel); border: 1px solid var(--line); border-radius: 40px; cursor: pointer; transition: border-color .25s; }
.select select:hover { border-color: var(--line-2); }
.select option { background: #fff; color: #111; }
.select::after { content: ""; position: absolute; right: 18px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border-right: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(45deg); pointer-events: none; }
.shop__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.shop__chips:not(:empty) { margin-top: 18px; }
.chipf { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 8px 0 14px; border: 1px solid var(--line-2); border-radius: 40px; background: var(--panel); font-size: 14px; cursor: pointer; transition: border-color .2s; }
.chipf:hover { border-color: var(--white); }
.chipf__x { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.12); font-size: 15px; line-height: 1; }
.shop__note { margin: 18px 0 28px; font-size: 14px; font-weight: 300; color: var(--muted); }

/* --- Cartes véhicules --- */
.cars { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.car { position: relative; display: flex; flex-direction: column; background: var(--panel); border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: background .4s var(--ease), transform .4s var(--ease); }
.car[hidden] { display: none; }
.car:hover { background: var(--panel-2); transform: translateY(-4px); }
.car__media { position: relative; overflow: hidden; background: #000; }
.car__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--ease); }
.car:hover .car__media img { transform: scale(1.05); }
.car__tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.car__tag { padding: 5px 12px; border-radius: 40px; background: rgba(10,10,12,.72); color: var(--white); font-size: 12px; font-weight: 500; letter-spacing: .03em; backdrop-filter: blur(8px); }
.car__tag--red { background: var(--red); }
.car__tag--light { background: var(--white); color: var(--ink); }
.car.is-sold .car__media img { filter: grayscale(.85); opacity: .5; }
.car__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 20px; }
.car__brand { font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.car__model { margin-top: 6px; font-size: 25px; font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.car__open { text-decoration: none; }
.car__open::after { content: ""; position: absolute; inset: 0; }
.car__version { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--muted-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.car__specs { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; }
.car__specs li { padding: 5px 11px; border-radius: 4px; background: rgba(255,255,255,.07); font-size: 13px; line-height: 1.3; color: #d9d9de; }
.car__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.car__price { margin: 0; font-size: 26px; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.car__price-sub { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.car__see { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); transition: color .3s; }
.car__see::after { content: "→"; transition: transform .3s var(--ease); }
.car:hover .car__see { color: var(--white); }
.car:hover .car__see::after { transform: translateX(5px); }
.stock__empty { padding: 64px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); color: var(--muted); }
.stock__empty[hidden] { display: none; }
.stock__empty p { margin-bottom: 20px; font-size: 18px; }

/* --- Fiche détaillée : le véhicule en grand --- */
.has-panel { overflow: hidden; }
.vd { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: clamp(0px, 2.5vw, 40px); background: rgba(4,4,5,.9); backdrop-filter: blur(10px); animation: vdIn .35s var(--ease); }
.vd[hidden] { display: none; }
@keyframes vdIn { from { opacity: 0; } to { opacity: 1; } }
.vd__panel { position: relative; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(340px, 1fr); width: 100%; max-width: 1480px; height: 100%; max-height: 900px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; animation: vdUp .5s var(--ease); }
@keyframes vdUp { from { transform: translateY(28px); } to { transform: none; } }
.vd__close { position: absolute; top: 14px; right: 14px; z-index: 3; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: rgba(10,10,12,.7); color: var(--white); font-size: 28px; font-weight: 200; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); transition: background .25s, color .25s; }
.vd__close:hover { background: var(--white); color: var(--ink); }
.vd__gallery { display: flex; flex-direction: column; min-height: 0; background: #000; }
.vd__stage { position: relative; flex: 1; min-height: 0; }
.vd__stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.vd__nav { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(10,10,12,.6); color: var(--white); font-size: 30px; line-height: 1; cursor: pointer; backdrop-filter: blur(8px); transition: background .25s, color .25s; }
.vd__nav:hover { background: var(--white); color: var(--ink); }
.vd__nav--prev { left: 16px; }
.vd__nav--next { right: 16px; }
.vd__counter { position: absolute; left: 16px; bottom: 14px; padding: 4px 12px; border-radius: 30px; background: rgba(10,10,12,.6); font-size: 13px; backdrop-filter: blur(8px); }
.vd__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; background: var(--bg); }
.vd__thumb { flex: 0 0 96px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: none; cursor: pointer; opacity: .55; transition: opacity .2s, border-color .2s; }
.vd__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.vd__thumb:hover, .vd__thumb.is-active { opacity: 1; }
.vd__thumb.is-active { border-color: var(--white); }
.vd__info { padding: clamp(28px, 3vw, 48px); padding-top: clamp(56px, 4vw, 64px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--panel-2) transparent; }
.vd__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.vd__title { margin-top: 8px; font-size: clamp(34px, 3.6vw, 56px); letter-spacing: -.04em; line-height: 1; }
.vd__version { margin-top: 12px; font-size: 15px; color: var(--muted); }
.vd__price { margin: 28px 0 0; font-size: clamp(30px, 3vw, 42px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.vd__price small { display: block; margin-top: 6px; font-size: 14px; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.vd__specs { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 32px 0 0; }
.vd__specs div { padding: 14px 0; border-top: 1px solid var(--line); }
.vd__specs dt { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.vd__specs dd { margin: 4px 0 0; font-size: 18px; }
.vd__sub { margin: 36px 0 16px; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.vd__equip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.vd__equip li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.4; color: #dcdce0; }
.vd__equip li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff5d50' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.vd__desc { font-weight: 300; color: #c9c9cf; white-space: pre-line; }
.vd__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.vd__actions .btn { flex: 1 1 220px; }

/* Bouton du garage connecté */
.manage { position: fixed; left: 20px; bottom: 20px; z-index: 45; display: inline-flex; align-items: center; min-height: 52px; padding: 0 22px; border-radius: 40px; background: #2563eb; color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 12px 32px -8px rgba(37,99,235,.7); }
.manage:hover { background: #1d4ed8; }

.cta-band { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cta-card { padding: clamp(32px, 4.5vw, 64px); border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.cta-card--dark { background: linear-gradient(135deg, #2a0f0c, var(--panel) 65%); }
.cta-card h2 { font-size: clamp(28px, 3vw, 42px); margin-bottom: 14px; letter-spacing: -.03em; }
.cta-card p { color: var(--muted); font-weight: 300; margin-bottom: 30px; max-width: 460px; }

@media (max-width: 1080px) {
  .shop__layout { grid-template-columns: minmax(0, 1fr); }
  .shop__open { display: inline-flex; }
  .shop__count { margin: 0; font-size: 18px; order: 3; width: 100%; }
  .shop__bar { flex-wrap: wrap; }
  .shop__bar .select { margin-left: auto; }
  .shop__bar .select select { max-width: 200px; }
  /* Les filtres deviennent un panneau qui glisse depuis la gauche */
  .filters { position: fixed; inset: 0 auto 0 0; z-index: 90; width: min(420px, 100%); max-height: none; padding: 0; display: flex; flex-direction: column; background: var(--bg-2); border-right: 1px solid var(--line); transform: translateX(-102%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; }
  .filters.is-open { transform: none; visibility: visible; box-shadow: 0 0 0 100vmax rgba(4,4,5,.7); }
  .filters__head { padding: 20px 24px; }
  .filters__head h2 { margin-right: auto; }
  .filters__close { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: 50%; background: none; color: var(--white); font-size: 24px; line-height: 1; cursor: pointer; }
  .filters__groups { flex: 1; overflow-y: auto; padding: 0 24px; }
  .filters__foot { display: block; padding: 16px 24px; border-top: 1px solid var(--line); }
  .vd { padding: 0; }
  .vd__panel { display: block; max-height: none; height: 100%; border-radius: 0; border: 0; overflow-y: auto; }
  .vd__gallery { display: block; }
  .vd__close { position: fixed; }
  .vd__stage { flex: none; aspect-ratio: 4 / 3; }
  .vd__info { overflow: visible; padding-top: 28px; padding-bottom: 96px; }
}
@media (max-width: 640px) {
  .vd__specs, .vd__equip { grid-template-columns: 1fr; }
  .manage { left: 16px; bottom: 16px; min-height: 48px; padding: 0 18px; font-size: 15px; }
}

/* ==========================================================================
   Pages légales et 404
   ========================================================================== */
.legal { padding: calc(var(--header-h) + 72px) 0 112px; }
.legal__inner { max-width: 860px; }
.legal__back { display: table; margin-bottom: 36px; font-size: 14px; text-decoration: none; color: var(--muted) !important; }
.legal__back:hover { color: var(--white) !important; }
.legal h1 { font-size: clamp(38px, 5vw, 64px); letter-spacing: -.035em; }
.legal__date { margin-top: 14px; color: var(--muted-2); font-size: 14px; }
.legal__toc { margin: 40px 0; padding: 28px 32px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.legal__toc ol { margin-top: 12px; padding-left: 20px; list-style: decimal; columns: 2; column-gap: 32px; color: var(--muted-2); }
.legal__toc li { font-size: 15px; padding: 3px 0; }
.legal__toc a { text-decoration: none; color: var(--text) !important; }
.legal__toc a:hover { color: var(--red-text) !important; }
.legal section { margin-top: 56px; }
.legal h2 { display: flex; align-items: baseline; gap: 16px; margin-bottom: 18px; font-size: 26px; }
.legal h2 span { font-size: 13px; letter-spacing: .14em; color: var(--red-text); }
.legal p, .legal li { color: #c4c4ca; font-weight: 300; }
.legal p strong, .legal li strong { color: var(--text); font-weight: 500; }
.legal ul { margin: 0 0 1em; padding-left: 20px; list-style: disc; }
.legal li { margin-bottom: 6px; }
.legal__card { display: grid; grid-template-columns: 190px 1fr; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.legal__card dt, .legal__card dd { margin: 0; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.legal__card dt { background: var(--panel); font-size: 14px; color: var(--muted); }
.legal__card dt:last-of-type, .legal__card dd:last-of-type { border-bottom: 0; }
.legal a { color: var(--red-text); text-underline-offset: 3px; }
.legal__scroll { overflow-x: auto; margin: 0 0 1em; }
.legal__table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; }
.legal__table th, .legal__table td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: #c4c4ca; font-weight: 300; }
.legal__table th { background: var(--panel); font-weight: 500; color: var(--text); }

.notfound { min-height: 100vh; display: grid; place-items: center; padding: 120px 0 60px; text-align: center; }
.notfound .eyebrow { justify-content: center; }
.notfound h1 { font-size: clamp(40px, 6vw, 80px); letter-spacing: -.04em; }
.notfound p:not(.eyebrow) { max-width: 520px; margin: 22px auto 36px; color: var(--muted); font-weight: 300; }

/* ---------- Apparition au défilement ---------- */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Adaptation aux écrans
   ========================================================================== */
@media (max-width: 1180px) {
  .nav__link { padding: 8px 10px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .service { min-height: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .header__logo img { height: 34px; }
  /* Le flou de l'en-tête rendrait le menu « fixe » relatif à l'en-tête : on le retire sur mobile */
  .header.is-scrolled, .header--solid { backdrop-filter: none; background: var(--bg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0; z-index: 49; width: 100%; flex-direction: column; align-items: stretch; gap: 0;
    padding: 16px clamp(20px, 4vw, 52px) 40px; background: var(--bg); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { padding: 20px 0; font-size: 26px; letter-spacing: -.02em; color: var(--white); border-bottom: 1px solid var(--line); }
  .nav__link::after { display: none; }
  .nav__phones { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
  .nav__cta { margin: 0; min-height: 54px; }
  .nav__tel { min-height: 54px; }
  .strip__list { grid-template-columns: 1fr 1fr; }
  .strip__item { padding: 26px 16px; border-left: 0; border-top: 1px solid var(--line); }
  .strip__item:nth-child(-n+2) { border-top: 0; }
  .strip__item:first-child { padding-left: 16px; }
  .about, .cash, .visit, .contact, .docs { grid-template-columns: minmax(0, 1fr); }
  .cash__media { order: -1; }
  .tiles { flex-direction: column; height: auto; }
  .tile, .tiles:hover .tile, .tiles .tile:hover { flex: none; aspect-ratio: 4 / 3.6; border-radius: 20px; }
  .tile img, .tile:hover img { left: 0; width: 100%; transform: none; }
  .tile__body { width: auto; padding-inline: 20px; }
  .tile__body h3 { white-space: normal; }
  .cta-band { grid-template-columns: 1fr; }
  .fab { display: grid; }
  .hero__scroll { display: none; }
  .map { min-height: 380px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero__title { font-size: clamp(40px, 12.5vw, 56px); }
  .hero__actions .btn { flex: 1 1 100%; }
  .strip__list { grid-template-columns: 1fr; }
  .strip__item { padding: 22px 0 !important; border-top: 1px solid var(--line) !important; }
  .strip__item:first-child { border-top: 0 !important; }
  .services { grid-template-columns: 1fr; }
  .service__icon { margin-top: 28px; }
  .values { grid-template-columns: 1fr; gap: 0; }
  .value { padding: 16px 0; }
  .about__badge { left: 20px; bottom: 20px; }
  .cash__points { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .legal__toc ol { columns: 1; }
  .legal__card { grid-template-columns: 1fr; }
  .legal__card dt { border-bottom: 0; padding-bottom: 4px; }
  .legal__card dd { padding-top: 6px; }
  .rentals__foot { padding: 26px; }
  .cars { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
