/* VIRAGE — démo de location de voitures (Démesure). Thème nuit, accent ambre « clignotant ». */

:root {
  --ink: #0d0e11;
  --ink-2: #15171c;
  --ink-3: #1f2229;
  --chalk: #f3f1ec;
  --mute: #9a9ea8;
  --line: rgba(243, 241, 236, .1);
  --amber: #ffb000;
  --amber-2: #ffd27a;
  --red: #ff5a4a;
  --green: #5fd18b;
  --display: "Archivo", system-ui, sans-serif;
  --font: "Inter Tight", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --g: clamp(16px, 3.6vw, 56px);
  --max: 1320px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: clip; /* garde-fou iPhone : jamais de défilement horizontal */ }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--ink); color: var(--chalk);
  font-family: var(--font); font-size: 16.5px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
img { display: block; max-width: 100%; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }

.kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
h2 { font-family: var(--display); font-size: clamp(38px, 5.6vw, 84px); font-weight: 800; font-stretch: 125%; line-height: .92; letter-spacing: -.02em; text-transform: uppercase; }
h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px var(--chalk); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: 999px;
  background: var(--chalk); color: var(--ink);
  font-weight: 700; font-size: 15px; letter-spacing: .01em; white-space: nowrap;
  transition: transform .3s var(--spring), background-color .25s, box-shadow .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn--amber { background: var(--amber); color: var(--ink); box-shadow: 0 0 0 0 rgba(255, 176, 0, 0); }
.btn--amber:hover { box-shadow: 0 10px 40px -10px rgba(255, 176, 0, .7); }
.btn--ghost { background: transparent; color: var(--chalk); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--chalk); }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn:disabled { background: var(--ink-3); color: var(--mute); cursor: not-allowed; transform: none; box-shadow: none; }
.x { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font-size: 24px; line-height: 1; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, transform .3s var(--spring); }
.x:hover { box-shadow: inset 0 0 0 1.5px var(--chalk); transform: rotate(90deg); }

/* Bandeau démo */
.demo-bar { position: relative; z-index: 45; display: flex; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; padding: 8px var(--g); background: #000; color: rgba(243, 241, 236, .65); font-size: 12.5px; }
.demo-bar a { color: var(--amber); text-decoration: underline; text-underline-offset: 3px; }
.demo-bar__links { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* Navigation */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  height: 68px; padding: 0 var(--g);
  background: rgba(13, 14, 17, .72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: 24px; letter-spacing: .06em; line-height: 1; }
.logo svg { width: 100%; height: 9px; stroke: var(--amber); stroke-width: 2.4; margin-top: 3px; stroke-dasharray: 140; stroke-dashoffset: 0; transition: stroke-dashoffset .8s var(--ease); }
.logo:hover svg { stroke-dashoffset: 280; }
.nav__links { display: flex; gap: 4px; }
.nav__links a { padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: 15px; color: rgba(243, 241, 236, .78); transition: color .2s, background-color .2s; }
.nav__links a:hover { color: var(--chalk); background: rgba(243, 241, 236, .07); }
.nav__right { display: flex; align-items: center; gap: 12px; }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 32px; min-width: 40px; padding: 0 12px; border-radius: 999px; font-weight: 700; font-size: 13.5px; color: var(--mute); transition: background-color .2s, color .2s; }
.seg button[aria-pressed="true"] { background: var(--chalk); color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(640px, min(calc(100svh - 104px), 920px)); display: flex; flex-direction: column; justify-content: flex-start; padding: clamp(70px, 12vh, 140px) var(--g) 150px; overflow: clip; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 60%; }
.hero__img--day { transform: scale(1.06); animation: hero-zoom 14s var(--ease) both; }
.hero__img--night { opacity: 0; transition: opacity 1.1s var(--ease); }
.is-night .hero__img--night { opacity: 1; }
@keyframes hero-zoom { from { transform: scale(1.14); } }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 14, 17, .78) 0%, rgba(13, 14, 17, .42) 34%, rgba(13, 14, 17, 0) 62%), linear-gradient(0deg, var(--ink) 0%, rgba(13, 14, 17, .55) 18%, rgba(13, 14, 17, 0) 42%); }
.hero__torch { position: absolute; inset: 0; opacity: 0; transition: opacity .8s; background: radial-gradient(circle 240px at var(--mx, 70%) var(--my, 60%), rgba(255, 214, 150, .32), rgba(255, 214, 150, 0) 70%); mix-blend-mode: screen; pointer-events: none; }
.is-night .hero__torch { opacity: 1; }
.hero__copy { position: relative; max-width: min(720px, 62vw); display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: clamp(46px, 7.4vw, 124px); line-height: .88; letter-spacing: -.025em; text-transform: uppercase; display: flex; flex-direction: column; }
.hero h1 .ln { display: block; }
.hero h1 .ln--b { color: transparent; -webkit-text-stroke: 2px var(--chalk); transition: color .9s var(--ease), -webkit-text-stroke-color .9s, text-shadow .9s; }
.is-night .hero h1 .ln--b { color: var(--amber); -webkit-text-stroke-color: var(--amber); text-shadow: 0 0 40px rgba(255, 176, 0, .45); }
.hero__lead { max-width: 440px; font-size: clamp(17px, 1.4vw, 20px); color: rgba(243, 241, 236, .86); }
.hero .kicker { color: var(--amber-2); }

.lights { position: absolute; right: var(--g); bottom: 150px; display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 20px 0 6px; border-radius: 999px; background: rgba(13, 14, 17, .55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(243, 241, 236, .18); font-weight: 700; font-size: 15px; transition: box-shadow .4s, background-color .4s; }
.lights__knob { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(243, 241, 236, .12); font-size: 20px; transition: background-color .4s, color .4s, box-shadow .4s; }
.lights:hover { box-shadow: inset 0 0 0 1px var(--amber); }
.lights[aria-pressed="true"] .lights__knob { background: var(--amber); color: var(--ink); box-shadow: 0 0 24px 4px rgba(255, 176, 0, .55); }
.lights[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--amber); }

/* Barre de recherche */
.search {
  position: absolute; left: var(--g); right: var(--g); bottom: 34px; z-index: 5;
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr 1fr auto; align-items: stretch;
  padding: 8px; border-radius: 22px;
  background: rgba(21, 23, 28, .84); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(243, 241, 236, .12), 0 30px 80px -30px rgba(0, 0, 0, .8);
}
.field { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; padding: 10px 18px; border-radius: 14px; text-align: left; transition: background-color .2s; }
.field + .field { box-shadow: -1px 0 0 0 var(--line); }
.field:hover, .field:focus-within, .field.is-active { background: rgba(243, 241, 236, .06); }
.field__label { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.field__label svg { color: var(--amber); font-size: 14px; }
.field b, .field select { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.field select { appearance: none; background: transparent; border: 0; padding: 0; cursor: pointer; width: 100%; }
.field select option { background: var(--ink-2); color: var(--chalk); }
.search__go { height: auto; min-height: 60px; border-radius: 15px; flex-direction: column; gap: 0; padding: 0 26px; }
.search__go small { font-weight: 500; font-size: 12px; opacity: .7; }

/* Calendrier */
.calpop { position: absolute; z-index: 30; left: 50%; bottom: 128px; width: min(760px, calc(100vw - 2 * var(--g))); transform: translateX(-50%); padding: 18px; border-radius: 22px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line), 0 40px 100px -20px rgba(0, 0, 0, .9); animation: pop .35s var(--spring); }
.calpop[hidden] { display: none; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, 14px) scale(.98); } }
.calpop__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 10px; }
.calpop__head p { display: flex; flex-direction: column; gap: 2px; }
.calpop__head span { font-size: 13.5px; color: var(--mute); }
.calpop__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); }
.calpop__foot label { display: inline-flex; align-items: center; gap: 8px; }
.calpop__foot select { height: 36px; padding: 0 10px; border-radius: 10px; background: var(--ink-3); border: 0; color: var(--chalk); font-weight: 600; }
.calpop__foot .btn { margin-left: auto; }
.cal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.cal__month { min-width: 0; }
.cal__title { display: flex; align-items: center; justify-content: space-between; height: 36px; margin-bottom: 6px; font-weight: 700; text-transform: capitalize; }
.cal__nav { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: var(--mute); transition: background-color .2s, color .2s; }
.cal__nav:hover:not(:disabled) { background: var(--ink-3); color: var(--chalk); }
.cal__nav:disabled { opacity: .2; cursor: default; }
.cal__nav--ghost { visibility: hidden; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); row-gap: 3px; }
.cal__dow { height: 26px; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--mute); }
.cal__day { position: relative; height: 40px; display: grid; place-items: center; font-size: 14.5px; font-weight: 500; font-variant-numeric: tabular-nums; border-radius: 10px; transition: background-color .15s, color .15s; }
.cal__day:hover:not(:disabled) { background: var(--ink-3); }
.cal__day:disabled { color: rgba(243, 241, 236, .22); cursor: default; }
.cal__day.is-full { color: rgba(255, 90, 74, .55); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.cal__day.is-in { background: rgba(255, 176, 0, .14); border-radius: 0; }
.cal__day.is-start, .cal__day.is-end { background: var(--amber); color: var(--ink); font-weight: 800; }
.cal__day.is-start { border-radius: 10px 0 0 10px; }
.cal__day.is-end { border-radius: 0 10px 10px 0; }
.cal__day.is-start.is-end { border-radius: 10px; }
.cal__day.is-today::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--amber); }
.cal__day.is-start::after, .cal__day.is-end::after { background: var(--ink); }

/* Avantages */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; max-width: var(--max); margin: 0 auto; padding: 34px var(--g) 10px; }
.perks li { display: flex; align-items: flex-start; gap: 14px; padding: 6px 22px 6px 0; }
.perks li + li { padding-left: 22px; box-shadow: -1px 0 0 0 var(--line); }
.perks svg { font-size: 26px; color: var(--amber); margin-top: 2px; }
.perks span { display: flex; flex-direction: column; font-size: 14px; color: var(--mute); line-height: 1.4; }
.perks b { color: var(--chalk); font-size: 16px; font-weight: 600; }

/* ---------- Flotte ---------- */
.fleet { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 11vw, 150px) var(--g) 40px; }
.fleet__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 40px; flex-wrap: wrap; margin-bottom: 34px; }
.fleet__head .kicker { margin-bottom: 18px; }
.fleet__when { max-width: 360px; font-size: 15px; color: var(--mute); }
.fleet__when b { color: var(--chalk); font-weight: 600; }
.fleet__when button { color: var(--amber); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.filters { display: flex; justify-content: space-between; align-items: center; gap: 14px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; color: rgba(243, 241, 236, .8); box-shadow: inset 0 0 0 1px var(--line); transition: background-color .2s, color .2s, box-shadow .2s; }
.chip:hover { box-shadow: inset 0 0 0 1px rgba(243, 241, 236, .4); }
.chip[aria-pressed="true"] { background: var(--chalk); color: var(--ink); box-shadow: none; }
.chip small { font-family: var(--mono); font-size: 11px; opacity: .55; margin-left: 4px; }
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 500; color: rgba(243, 241, 236, .8); cursor: pointer; }
.switch input { appearance: none; position: relative; width: 44px; height: 26px; margin: 0; border-radius: 999px; background: var(--ink-3); cursor: pointer; transition: background-color .25s; flex: none; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--chalk); transition: transform .3s var(--spring); }
.switch input:checked { background: var(--amber); }
.switch input:checked::after { transform: translateX(18px); background: var(--ink); }

.cars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.car { position: relative; display: flex; flex-direction: column; border-radius: 24px; background: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; cursor: pointer; transition: transform .45s var(--ease), box-shadow .3s; animation: car-in .7s var(--ease) both; animation-delay: calc(var(--k, 0) * 60ms); }
@keyframes car-in { from { opacity: 0; transform: translateY(24px); } }
.car:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(255, 176, 0, .5), 0 30px 60px -30px rgba(0, 0, 0, .9); }
.car__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #1b1d22; }
.car__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), filter .4s; }
.car:hover .car__img img { transform: scale(1.05) translateX(-1.5%); }
.car__tag { position: absolute; top: 14px; left: 14px; padding: 5px 11px; border-radius: 999px; background: var(--amber); color: var(--ink); font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.car__body { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px 20px; flex: 1; }
.car__name { display: flex; flex-direction: column; gap: 2px; }
.car__name h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 23px; letter-spacing: -.01em; text-transform: uppercase; line-height: 1.05; }
.car__name span { font-size: 13.5px; color: var(--mute); }
.specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: rgba(243, 241, 236, .8); }
.specs li { display: inline-flex; align-items: center; gap: 6px; }
.specs svg { font-size: 16px; color: var(--mute); }
.car__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.price { display: flex; flex-direction: column; line-height: 1.1; }
.price b { font-family: var(--display); font-stretch: 110%; font-size: 26px; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.price b span { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--mute); margin-left: 4px; }
.price s { font-size: 13px; color: var(--mute); margin-bottom: 2px; }
.price small { font-size: 13px; color: var(--mute); margin-top: 4px; }
.avail { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 20%, transparent); }
.avail--ok { color: var(--green); }
.avail--last { color: var(--amber); }
.avail--full { color: var(--red); }
.car__side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.car.is-full .car__img img { filter: grayscale(.9) brightness(.6); }
.car.is-full .price { opacity: .5; }
.car__next { font-size: 12.5px; color: var(--mute); text-align: right; }
.cars__empty { grid-column: 1 / -1; padding: 50px 20px; text-align: center; color: var(--mute); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Comment ça marche ---------- */
.how { position: relative; max-width: var(--max); margin: 0 auto; padding: clamp(90px, 11vw, 150px) var(--g); }
.how__head { margin-bottom: clamp(50px, 6vw, 80px); }
.how__head .kicker { margin-bottom: 18px; }
.how__road { position: absolute; left: 0; right: 0; top: 52%; width: 100%; height: 240px; transform: translateY(-50%); pointer-events: none; opacity: .9; }
.how__road path { stroke: var(--amber); stroke-width: 3; stroke-dasharray: 18 16; fill: none; }
.how__road { -webkit-mask: linear-gradient(90deg, #000 var(--draw, 0%), transparent calc(var(--draw, 0%) + 8%)); mask: linear-gradient(90deg, #000 var(--draw, 0%), transparent calc(var(--draw, 0%) + 8%)); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 24px; background: rgba(21, 23, 28, .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px var(--line); }
.steps__n { font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: 64px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--amber); }
.steps h3 { font-size: 21px; font-weight: 700; letter-spacing: -.01em; }
.steps p { color: var(--mute); font-size: 15.5px; }

/* ---------- Aéroport ---------- */
.airport { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; gap: clamp(30px, 5vw, 80px); max-width: var(--max); margin: 0 auto; padding: 20px var(--g) clamp(90px, 11vw, 150px); }
.airport__img { border-radius: 28px; overflow: hidden; aspect-ratio: 16 / 10; }
.airport__img img { width: 100%; height: 100%; object-fit: cover; }
.airport__copy { display: flex; flex-direction: column; gap: 20px; }
.airport__copy p { color: rgba(243, 241, 236, .78); max-width: 460px; }
.airport h2 { font-size: clamp(34px, 4.2vw, 64px); }
.ticks { display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.ticks svg { color: var(--ink); background: var(--amber); border-radius: 50%; padding: 3px; font-size: 20px; stroke-width: 2.6; }

/* ---------- Conditions (section claire) ---------- */
.rules { background: var(--chalk); color: var(--ink); padding: clamp(90px, 11vw, 150px) var(--g); }
.rules > * { max-width: calc(var(--max) - 2 * var(--g)); margin-left: auto; margin-right: auto; }
.rules .kicker { color: #9a6400; margin-bottom: 18px; }
.rules h2 em { -webkit-text-stroke-color: var(--ink); }
.rules__head { margin-bottom: 50px; }
.rules__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 60px; }
.rules__grid li { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 22px; background: #fff; box-shadow: 0 1px 0 rgba(13, 14, 17, .06), inset 0 0 0 1px rgba(13, 14, 17, .08); }
.rules__grid b { font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: clamp(32px, 3.2vw, 46px); line-height: 1; text-transform: uppercase; }
.rules__grid span { color: #5c5f66; font-size: 15px; }
.faq { border-top: 1.5px solid var(--ink); }
.faq details { max-width: 900px; }
.faq details { border-bottom: 1px solid rgba(13, 14, 17, .14); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; font-weight: 300; line-height: 1; transition: transform .35s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 22px; max-width: 680px; color: #4d5058; }

/* ---------- Agences ---------- */
.agencies { max-width: var(--max); margin: 0 auto; padding: clamp(90px, 11vw, 150px) var(--g); }
.agencies__head { margin-bottom: 40px; }
.agencies__head .kicker { margin-bottom: 18px; }
.agencies__list { border-top: 1px solid var(--line); }
.agencies__list li { display: grid; grid-template-columns: 1.2fr 1.3fr 1fr auto; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.agencies__name { font-family: var(--display); font-weight: 800; font-stretch: 115%; font-size: clamp(22px, 2.2vw, 30px); text-transform: uppercase; }
.agencies__where, .agencies__hours { color: var(--mute); font-size: 15px; }
.agencies__status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.agencies__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.agencies__status.is-open { color: var(--green); }
.agencies__status.is-open::before { animation: blink 1.6s infinite; }
.agencies__status.is-closed { color: var(--mute); }
@keyframes blink { 50% { opacity: .3; } }

/* Pied de page */
.footer { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px 40px; padding: 40px var(--g); border-top: 1px solid var(--line); color: var(--mute); }
.footer__logo { font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: 24px; letter-spacing: .06em; color: var(--chalk); }
.footer__note { font-size: 13.5px; max-width: 560px; }
.dm-sign { display: inline-flex; align-items: center; gap: .6em; font: 600 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .08em; text-transform: uppercase; color: inherit; opacity: .8; transition: opacity .3s; }
.dm-sign:hover { opacity: 1; }
.dm-sign__dot { width: 6px; height: 6px; border-radius: 50%; background: #ff4a1c; flex: none; }
.dm-sign__w { transition: letter-spacing .6s var(--ease); }
.dm-sign:hover .dm-sign__w { letter-spacing: .32em; }

/* ---------- Fiche voiture / réservation ---------- */
.sheet { position: fixed; inset: 0; z-index: 60; visibility: hidden; overflow: hidden; /* le panneau caché à droite ne doit pas élargir la page sur iPhone */ }
.sheet.is-open { visibility: visible; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); opacity: 0; transition: opacity .4s; }
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(600px, 100%); background: var(--ink-2); box-shadow: -1px 0 0 var(--line); transform: translateX(100%); transition: transform .6s var(--ease); overflow-y: auto; overscroll-behavior: contain; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__x { position: absolute; top: 14px; right: 14px; z-index: 2; background: rgba(13, 14, 17, .6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.sh__img { aspect-ratio: 16 / 10; background: #1b1d22; }
.sh__img img { width: 100%; height: 100%; object-fit: cover; }
.sh { display: flex; flex-direction: column; gap: 26px; padding: 24px 26px 34px; }
.sh__title h2 { font-size: clamp(30px, 3.4vw, 42px); }
.sh__title p { color: var(--mute); margin-top: 6px; }
.sh__pitch { font-size: 16px; color: rgba(243, 241, 236, .85); }
.sh__block { display: flex; flex-direction: column; gap: 12px; }
.sh__block > h3 { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.sh .specs { gap: 8px; }
.sh .specs li { padding: 8px 12px; border-radius: 12px; background: var(--ink-3); }
.sh .cal { grid-template-columns: 1fr 1fr; gap: 18px; }
.sh__times { display: flex; flex-wrap: wrap; gap: 10px 18px; font-size: 14px; color: var(--mute); }
.sh__times label { display: inline-flex; align-items: center; gap: 8px; }
.sh__times select { height: 36px; padding: 0 10px; border-radius: 10px; background: var(--ink-3); border: 0; color: var(--chalk); font-weight: 600; }
.verdict { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; font-weight: 600; font-size: 15px; }
.verdict--ok { background: rgba(95, 209, 139, .1); color: var(--green); }
.verdict--full { background: rgba(255, 90, 74, .1); color: var(--red); }
.verdict button { margin-left: auto; color: var(--chalk); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.opts { display: grid; gap: 8px; }
.opt { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.opt:hover { box-shadow: inset 0 0 0 1px rgba(243, 241, 236, .35); }
.opt input { appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; box-shadow: inset 0 0 0 1.5px rgba(243, 241, 236, .4); display: grid; place-items: center; cursor: pointer; }
.opt input:checked { background: var(--amber); box-shadow: none; }
.opt input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.opt:has(input:checked) { background: rgba(255, 176, 0, .07); box-shadow: inset 0 0 0 1px rgba(255, 176, 0, .5); }
.opt span { display: flex; flex-direction: column; font-weight: 600; font-size: 15px; }
.opt small { font-weight: 400; color: var(--mute); font-size: 13px; }
.opt b { font-size: 14px; font-weight: 600; white-space: nowrap; }
.bill { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: var(--ink); }
.bill p { display: flex; justify-content: space-between; gap: 16px; font-size: 14.5px; color: rgba(243, 241, 236, .82); }
.bill p b { font-weight: 600; white-space: nowrap; color: var(--chalk); }
.bill .bill__disc { color: var(--green); }
.bill .bill__total { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--chalk); font-weight: 700; font-size: 16px; }
.bill .bill__total b { font-family: var(--display); font-stretch: 110%; font-size: 28px; font-weight: 800; }
.bill .bill__dep { font-size: 13.5px; color: var(--mute); }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.input { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--mute); }
.input input { height: 48px; padding: 0 14px; border-radius: 12px; border: 0; background: var(--ink-3); color: var(--chalk); font-size: 16px; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .2s; }
.input input:focus { outline: 0; box-shadow: inset 0 0 0 1.5px var(--amber); }
.check { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; font-size: 14.5px; cursor: pointer; }
.check input { appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 7px; box-shadow: inset 0 0 0 1.5px rgba(243, 241, 236, .4); display: grid; place-items: center; flex: none; cursor: pointer; }
.check input:checked { background: var(--amber); box-shadow: none; }
.check input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2.5px solid var(--ink); border-bottom: 2.5px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.srcs { display: flex; flex-wrap: wrap; gap: 8px; }
.srcs .chip { height: 36px; font-size: 13.5px; }
.sh__cta { position: sticky; bottom: 0; margin: 0 -26px -34px; padding: 16px 26px 22px; background: linear-gradient(0deg, var(--ink-2) 70%, rgba(21, 23, 28, 0)); display: flex; flex-direction: column; gap: 8px; }
.sh__cta .btn { height: 60px; width: 100%; font-size: 16px; }
.sh__cta small { text-align: center; color: var(--mute); font-size: 12.5px; }
.done { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 70px 30px 40px; }
.done__check { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; background: var(--amber); color: var(--ink); font-size: 40px; animation: done-pop .7s var(--spring); }
.done__check svg { stroke-width: 2.6; }
@keyframes done-pop { from { transform: scale(.4) rotate(-30deg); opacity: 0; } }
.done h2 { font-size: clamp(34px, 4vw, 48px); }
.done p { color: rgba(243, 241, 236, .8); }
.done__no { font-family: var(--mono); font-size: 15px; padding: 6px 12px; border-radius: 8px; background: var(--ink-3); color: var(--amber); }
.done__sum { display: grid; gap: 6px; width: 100%; padding: 16px; border-radius: 16px; background: var(--ink); font-size: 14.5px; color: rgba(243, 241, 236, .82); }
.done__sum b { color: var(--chalk); }
.done__ctas { display: flex; flex-wrap: wrap; gap: 10px; }

/* Suivi et notifications */
.track { position: fixed; left: 16px; bottom: 16px; z-index: 55; display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 8px 8px 8px 12px; border-radius: 18px; background: rgba(21, 23, 28, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px var(--line), 0 20px 50px -20px #000; animation: track-in .6s var(--spring); }
.track[hidden] { display: none; }
@keyframes track-in { from { transform: translateY(140%); } }
.track__no { font-family: var(--mono); font-size: 13px; padding: 5px 8px; border-radius: 8px; background: var(--ink-3); color: var(--amber); white-space: nowrap; }
.track__msg { font-weight: 600; font-size: 14.5px; line-height: 1.25; }
.track__msg::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--amber); animation: blink 1.2s infinite; vertical-align: 1px; }
.track[data-status="confirmed"] .track__msg::before, .track[data-status="ongoing"] .track__msg::before { background: var(--green); animation: none; }
.track[data-status="confirmed"] { box-shadow: inset 0 0 0 1px rgba(95, 209, 139, .5), 0 20px 50px -20px #000; animation: track-ok .9s var(--spring); }
@keyframes track-ok { 40% { transform: scale(1.05); } }
.track__link { font-size: 13px; color: var(--amber); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.track__x { width: 32px; height: 32px; font-size: 20px; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 80; max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 16px; background: var(--chalk); color: var(--ink); font-weight: 600; transform: translate(-50%, calc(100% + 40px)); visibility: hidden; transition: transform .5s var(--spring), visibility 0s .5s; }
.toast.is-on { transform: translate(-50%, 0); visibility: visible; transition: transform .5s var(--spring), visibility 0s; }
.has-track .toast { bottom: 96px; }

/* ---------- Intro : la route se dessine, VIRAGE arrive, appel de phares ---------- */
.intro { display: none; }
.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 100; background: var(--ink); overflow: hidden; animation: intro-out .7s cubic-bezier(.7, 0, .2, 1) 2.55s forwards; }
.intro__road { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro__road path { fill: none; stroke: var(--amber); stroke-width: 6; stroke-dasharray: 2600; stroke-dashoffset: 2600; animation: road-draw 1.5s var(--ease) .1s forwards; }
.intro__word { position: absolute; left: 50%; top: 50%; display: flex; transform: translate(-50%, -50%); font-family: var(--display); font-weight: 800; font-stretch: 125%; font-size: clamp(56px, 13vw, 210px); letter-spacing: .02em; line-height: 1; }
.intro__word span { display: inline-block; animation: letter-in .8s var(--ease) both; animation-delay: calc(.55s + var(--i) * 60ms); }
.intro__lamp { position: absolute; top: 50%; width: 22vmin; height: 22vmin; margin-top: -11vmin; border-radius: 50%; background: radial-gradient(circle, #fff 0%, rgba(255, 220, 160, .9) 20%, rgba(255, 176, 0, 0) 70%); opacity: 0; animation: flash .9s ease-out 1.55s; mix-blend-mode: screen; }
.intro__lamp--l { left: 22%; }
.intro__lamp--r { right: 22%; }
@keyframes road-draw { to { stroke-dashoffset: 0; } }
@keyframes letter-in { from { opacity: 0; transform: translateX(-60px) skewX(-18deg); } }
@keyframes flash { 0%, 100% { opacity: 0; } 18% { opacity: 1; } 34% { opacity: .2; } 52% { opacity: 1; } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); } }
.intro-on .hero h1 .ln { animation: none; }
.is-in .hero h1 .ln { animation: rise 1s var(--ease) both; }
.is-in .hero h1 .ln--b { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(40px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .cars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .perks li:nth-child(3) { padding-left: 0; box-shadow: none; }
  .rules__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero { min-height: 0; padding: 56px var(--g) 30px; }
  .hero__img { object-position: 76% 50%; }
  .hero__shade { background: linear-gradient(180deg, rgba(13, 14, 17, .7) 0%, rgba(13, 14, 17, .1) 45%, rgba(13, 14, 17, .4) 70%, var(--ink) 100%); }
  .hero__copy { max-width: none; }
  .hero__lead { max-width: 340px; }
  .lights { position: relative; right: auto; bottom: auto; align-self: flex-start; margin-top: 26vh; }
  .search { position: relative; left: auto; right: auto; bottom: auto; margin-top: 20px; grid-template-columns: 1fr 1fr; gap: 4px; }
  .search .field:first-child { grid-column: 1 / -1; }
  .field + .field { box-shadow: none; }
  .search__go { grid-column: 1 / -1; min-height: 56px; flex-direction: row; gap: 10px; }
  .calpop { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; transform: none; border-radius: 22px 22px 0 0; max-height: 92vh; overflow-y: auto; animation: sheet-up .45s var(--ease); }
  @keyframes sheet-up { from { transform: translateY(100%); } }
  .cal { grid-template-columns: 1fr; }
  .cal__month + .cal__month { display: none; }
  .cal__nav--ghost { visibility: visible; }
  .steps { grid-template-columns: 1fr; }
  .how__road { display: none; }
  .airport { grid-template-columns: 1fr; }
  .agencies__list li { grid-template-columns: 1fr auto; gap: 4px 16px; }
  .agencies__where, .agencies__hours { grid-column: 1; }
  .agencies__status { grid-column: 2; grid-row: 1; }
  .footer { grid-template-columns: 1fr; }
  .sh .cal { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { height: 60px; }
  .nav .btn { display: none; }
  .cars { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr; }
  .perks li, .perks li + li { padding: 4px 0; box-shadow: none; }
  .rules__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rules__grid li { padding: 16px; min-width: 0; }
  .rules__grid b { font-size: 24px; font-stretch: 105%; overflow-wrap: anywhere; }
  .form { grid-template-columns: 1fr; }
  .sh { padding: 20px 18px 30px; }
  .sh__cta { margin: 0 -18px -30px; padding: 14px 18px 18px; }
  .track { left: 12px; right: 12px; bottom: 12px; flex-wrap: wrap; }
  .track__msg { flex: 1; min-width: 60%; }
  .demo-bar { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}
