/* ==========================================================================
   Taxi Michaël, feuille de style
   Palette reprise de la carte de visite : noir marbré, or, blanc. Police : Montserrat.
   ========================================================================== */

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-variable.woff2") format("woff2");
  font-weight: 300 800;
  font-style: normal;
  font-display: swap;
}

/* Variables -------------------------------------------------------------- */
:root {
  --ink: #0d0d0b;
  --ink-2: #131311;
  --ink-3: #1a1a17;
  --ink-4: #24241f;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.17);
  --text: #f5f2eb;
  --muted: #aca799;
  --muted-2: #827d70;

  --gold: #d4b03a;
  --gold-2: #e3c45e;
  --gold-3: #9f8121;
  --gold-soft: rgba(212, 176, 58, 0.1);

  --paper: #f4f0e7;
  --paper-ink: #161512;
  --paper-muted: #5c574b;
  --paper-line: rgba(22, 21, 18, 0.12);

  --danger: #f08c82;

  --font: "Montserrat", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1280px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 10vw, 136px);
  --r-xs: 3px;
  --r-sm: 5px;
  --r: 8px;
  --r-lg: 12px;
  --header-h: 80px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

html.is-locked body { overflow: hidden; }
[hidden] { display: none !important; }

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd, fieldset { margin: 0; }
::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

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

.i {
  width: 1.1em;
  height: 1.1em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { position: relative; padding-block: var(--section); overflow: hidden; isolation: isolate; }
.section--paper { background: var(--paper); color: var(--paper-ink); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--r-sm);
  font-weight: 600;
  transform: translateY(-160%);
  transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

/* Motifs décoratifs (veines dorées, relief, route) ------------------------- */
.motif {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  --drift: 45px;
  --tilt: 0.9deg;
}
.motif--veines { width: min(560px, 46vw); top: -40px; opacity: 0.55; }
.motif--relief { width: min(820px, 70vw); top: 6%; opacity: 0.09; --drift: 36px; --tilt: 0.7deg; }
.motif--route { width: min(300px, 26vw); top: -60px; opacity: 0.4; --drift: 66px; --tilt: 1.3deg; }
.motif--right { right: max(-180px, -12vw); }
.motif--left { left: max(-180px, -12vw); }
.motif--booking { top: auto; bottom: -120px; opacity: 0.4; }
.motif--cta { top: -80px; opacity: 0.35; }

/* Typographie ------------------------------------------------------------ */
.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section--paper .label { color: var(--gold-3); }

.h2 {
  font-weight: 600;
  font-size: clamp(1.85rem, 3.4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  max-width: 18em;
}

/* Boutons ---------------------------------------------------------------- */
.btn {
  --h: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: var(--h);
  padding-inline: 24px;
  border-radius: var(--r-sm);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn .i { transition: transform 0.3s var(--ease); }
.btn:hover .i:last-child:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn--gold { background: var(--gold); color: #12110d; }
.btn--gold:hover { background: var(--gold-2); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--text); background: rgba(13, 13, 11, 0.25); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn--dark { background: var(--paper-ink); color: var(--paper); }
.btn--dark:hover { background: #2b2923; }
.btn--sm { --h: 42px; padding-inline: 18px; font-size: 0.86rem; }
.btn--lg { --h: 56px; padding-inline: 28px; font-size: 0.95rem; }
.btn--block { width: 100%; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  transition: color 0.2s;
}
.link-arrow:hover { color: var(--gold-2); }
.link-arrow .i { transition: transform 0.3s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.stars .i { width: 14px; height: 14px; fill: currentColor; stroke: none; }

/* Loader ----------------------------------------------------------------- */
.loader, .is-return .loader { display: none; }
.js:not(.is-return) .loader {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: grid;
  place-items: center;
  background: var(--ink);
}
.loader__inner {
  display: grid;
  justify-items: center;
  gap: 32px;
  width: min(300px, 70vw);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out);
}
.loader__logo { width: 100%; height: auto; overflow: visible; }
.loader__path {
  fill: var(--gold);
  fill-opacity: 0;
  stroke: var(--gold);
  stroke-width: 1.5;
  stroke-dasharray: var(--len, 6000);
  stroke-dashoffset: var(--len, 6000);
  animation: draw 0.9s var(--ease-in-out) forwards, fill 0.4s 0.6s var(--ease) forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fill { to { fill-opacity: 1; stroke-opacity: 0; } }
.loader__bar { width: 100%; height: 2px; background: var(--line); overflow: hidden; }
.loader__progress {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.loader.is-done { pointer-events: none; animation: loaderOut 0.6s 0.05s var(--ease-in-out) forwards; }
.loader.is-done .loader__inner { opacity: 0; transform: translateY(-16px); }
.loader.is-hidden { display: none; }
@keyframes loaderOut { to { transform: translate3d(0, -100%, 0); } }

/* En-tête ---------------------------------------------------------------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--header-h);
  border-bottom: 1px solid transparent;
  transition: transform 0.5s var(--ease-out), background-color 0.3s, border-color 0.3s;
}
.header.is-scrolled {
  background: var(--ink);
  border-color: var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__inner { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.header__left { display: flex; align-items: center; justify-self: start; min-width: 0; }
.header__brand { justify-self: center; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand__mark {
  width: 62px;
  aspect-ratio: 869 / 497;
  background: var(--text);
  -webkit-mask: url("../img/logo-taxi-mh.svg") center / contain no-repeat;
  mask: url("../img/logo-taxi-mh.svg") center / contain no-repeat;
  transition: background-color 0.2s;
}
.brand:hover .brand__mark { background: var(--gold); }
.brand__text { display: grid; line-height: 1.15; }
.brand__name { font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; }
.brand__place { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); }

.nav__list { display: flex; gap: 2px; margin-left: -14px; }
.nav__list a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(245, 242, 235, 0.78);
  transition: color 0.2s, background-color 0.2s;
}
.nav__list a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.nav__list a.is-active { color: var(--text); }

.header__actions { display: flex; align-items: center; gap: 12px; justify-self: end; }
.header__phone { display: inline-flex; align-items: center; gap: 8px; padding-inline: 6px; font-weight: 600; font-size: 0.92rem; transition: color 0.2s; }
.header__phone .i { color: var(--gold); }
.header__phone:hover { color: var(--gold-2); }

.burger { display: none; position: relative; width: 44px; height: 44px; margin-left: -10px; }
.burger span {
  position: absolute;
  left: 10px;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: width 0.3s var(--ease-out), background-color 0.2s;
}
.burger span:first-child { top: 16px; width: 24px; }
.burger span:last-child { top: 25px; width: 15px; }
.burger:hover span:last-child { width: 24px; }
.burger:hover span { background: var(--gold); }

.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: var(--ink);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out), visibility 0s 0.4s;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out), visibility 0s; }
.menu__inner { height: 100%; display: flex; flex-direction: column; padding-bottom: max(20px, env(safe-area-inset-bottom)); overflow-y: auto; }
.menu__top { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); flex: none; }
.menu__close { display: inline-flex; align-items: center; gap: 10px; height: 44px; margin-left: -6px; padding-inline: 6px; font-size: 0.95rem; font-weight: 500; color: var(--text); }
.menu__close .i { width: 22px; height: 22px; }
.menu__phone { width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--gold); color: var(--ink); }
.menu__list { border-top: 1px solid var(--line); margin-top: 8px; }
.menu__list li { border-bottom: 1px solid var(--line); }
.menu__list a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-block: 22px;
  opacity: 0;
  transform: translateY(10px);
  transition: transform 0.5s var(--ease-out), opacity 0.4s, color 0.2s;
}
.menu__num { flex: none; width: 22px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; color: var(--muted-2); }
.menu__label { flex: 1; font-size: clamp(1.45rem, 6.4vw, 2rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.menu__list a .i { width: 20px; height: 20px; color: var(--muted); transition: transform 0.3s var(--ease-out), color 0.2s; }
.menu__list a:hover .menu__label, .menu__list a:focus-visible .menu__label { color: var(--gold); }
.menu__list a:hover .i { transform: translateX(4px); color: var(--gold); }
.menu.is-open .menu__list a { transform: none; opacity: 1; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: 0.05s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: 0.1s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: 0.15s; }
.menu__foot { display: grid; gap: 10px; margin-top: auto; padding-top: 28px; }
.menu__cta { justify-content: space-between; }
.menu__secondary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.menu__mini { display: flex; align-items: center; justify-content: center; gap: 8px; height: 50px; border-radius: var(--r-sm); border: 1px solid var(--line-2); font-size: 0.9rem; font-weight: 500; transition: border-color 0.2s, color 0.2s; }
.menu__mini .i { color: var(--gold); }
.menu__mini:hover { border-color: var(--gold); }

/* Héros plein écran -------------------------------------------------------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; container-type: size; }
.hero__frame { position: absolute; inset: 0; }
.hero__lumineux { display: none; }
/* Le cadre reprend exactement le recadrage de la photo (cover) : le lumineux animé tombe pile sur celui de la photo */
@supports (width: 1cqw) {
  .hero__frame {
    --ar: 1.33929; --px: 0.58; --py: 0.64;
    inset: auto;
    width: max(100cqw, 100cqh * var(--ar));
    height: max(100cqh, 100cqw / var(--ar));
    left: calc((100cqw - max(100cqw, 100cqh * var(--ar))) * var(--px));
    top: calc((100cqh - max(100cqh, 100cqw / var(--ar))) * var(--py));
  }
  .hero__lumineux { display: block; position: absolute; left: 63.4154%; top: 46.1104%; width: 4.2039%; aspect-ratio: 303 / 167; }
}
.hero__lumineux img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__lumineux-rouge { opacity: 0; animation: lumRouge 6s linear infinite; }
.hero__halo { position: absolute; inset: 0; mix-blend-mode: screen; }
.hero__halo::before, .hero__halo::after { content: ""; position: absolute; width: 50%; aspect-ratio: 1 / 0.85; border-radius: 50%; transform: translate(-50%, -50%); }
.hero__halo::before { left: 6%; top: 46%; }
.hero__halo::after { left: 94%; top: 40%; }
.hero__halo--vert { animation: lumVert 6s linear infinite; }
.hero__halo--vert::before, .hero__halo--vert::after { background: radial-gradient(closest-side, rgba(70, 255, 110, 0.5), rgba(70, 255, 110, 0)); }
.hero__halo--rouge { opacity: 0; animation: lumRouge 6s linear infinite; }
.hero__halo--rouge::before, .hero__halo--rouge::after { background: radial-gradient(closest-side, rgba(255, 50, 40, 0.55), rgba(255, 50, 40, 0)); }
.hero.is-off .hero__lumineux * { animation-play-state: paused; }
/* Vert (libre) environ 3 s, petit clignotement, rouge (occupé) environ 3 s */
@keyframes lumRouge { 0%, 44% { opacity: 0; } 46% { opacity: 1; } 47.5% { opacity: 0.3; } 49%, 94% { opacity: 1; } 96% { opacity: 0; } 97% { opacity: 0.55; } 98.5%, 100% { opacity: 0; } }
@keyframes lumVert { 0%, 44% { opacity: 1; } 46% { opacity: 0; } 47.5% { opacity: 0.6; } 49%, 94% { opacity: 0; } 96% { opacity: 1; } 97% { opacity: 0.4; } 98.5%, 100% { opacity: 1; } }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 64%;
}

.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(13, 13, 11, 0.72) 0%, rgba(13, 13, 11, 0.2) 14%, rgba(13, 13, 11, 0) 28%, rgba(13, 13, 11, 0) 36%, rgba(13, 13, 11, 0.5) 50%, rgba(13, 13, 11, 0.84) 64%, rgba(13, 13, 11, 0.95) 80%, var(--ink) 100%),
    radial-gradient(120% 85% at 55% 42%, transparent 58%, rgba(13, 13, 11, 0.55) 100%);
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(40px, 7vh, 72px);
}
.hero__title {
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.045em;
  margin-bottom: 18px;
  text-wrap: balance;
  text-shadow: 0 2px 30px rgba(13, 13, 11, 0.35);
}
.hero__kicker {
  display: table;
  margin: 0 auto 20px;
  padding: 8px 14px;
  border-radius: var(--r-xs);
  border: 1px solid rgba(212, 176, 58, 0.4);
  background: rgba(13, 13, 11, 0.74);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--gold-2);
  text-shadow: none;
}
.hero__lead {
  max-width: 600px;
  font-size: clamp(1rem, 1.25vw, 1.15rem);
  color: rgba(245, 242, 235, 0.86);
  margin-bottom: 32px;
  text-shadow: 0 1px 16px rgba(13, 13, 11, 0.5);
}
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__actions .btn--ghost { background: rgba(13, 13, 11, 0.5); }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 0;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line-2);
  font-size: 0.88rem;
  color: rgba(245, 242, 235, 0.82);
}
.hero__facts li { display: flex; align-items: center; gap: 10px; padding-inline: 24px; }
.hero__facts li + li { border-left: 1px solid var(--line-2); }
.hero__facts strong { color: var(--text); font-weight: 700; }
.hero__facts img { flex: none; }
.hero__facts .i { width: 20px; height: 20px; color: var(--gold); }
.hero__stars { color: var(--gold); letter-spacing: 1px; margin-inline: 2px; }

.js [data-hero] { opacity: 0; transform: translateY(18px); }
.js .hero.is-in [data-hero] { opacity: 1; transform: none; transition: transform 0.9s var(--ease-out), opacity 0.7s var(--ease); }
.js .hero.is-in .hero__lead { transition-delay: 0.14s; }
.js .hero.is-in .hero__actions { transition-delay: 0.24s; }
.js .hero.is-in .hero__facts { transition-delay: 0.36s; }

/* Apparitions au défilement ---------------------------------------------- */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.7s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Bandeau d'avis Google : cartes qui défilent seules ------------------------ */
.avis-band {
  position: relative;
  z-index: 2;
  padding: 26px 0 30px;
  background: var(--ink-2);
  border-block: 1px solid rgba(212, 176, 58, 0.35);
}
.avis-band__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  margin: 0 auto 20px;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s;
}
.avis-band__head:hover { color: var(--text); }
.avis-band__head strong { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.avis-band__stars { display: inline-flex; gap: 2px; color: #fbbc04; }
.avis-band__stars .i { width: 18px; height: 18px; }
/* Défilement continu calculé par le navigateur (une seule transformation, aucun script image par image) */
.defile {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.defile__piste { display: flex; gap: 16px; width: max-content; animation: avisDefile 170s linear infinite; will-change: transform; }
.defile__liste { display: flex; gap: 16px; margin: 0; padding: 4px 0 6px; list-style: none; }
.avis-band.is-off .defile__piste { animation-play-state: paused; }
@keyframes avisDefile { to { transform: translate3d(calc(-50% - 8px), 0, 0); } }
/* Carte au plus près des avis Google : fond blanc, initiale colorée, étoiles jaunes, logo G */
.avis {
  flex: none;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
  border-radius: 12px;
  background: #fff;
  color: #202124;
  box-shadow: 0 1px 2px rgba(60, 64, 67, 0.3), 0 2px 6px 2px rgba(60, 64, 67, 0.15);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  text-align: left;
}
.avis__head { display: flex; align-items: center; gap: 12px; }
.avis__avatar { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; font-size: 18px; font-weight: 500; }
.avis__who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.avis__name { font-size: 15px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avis__date { font-size: 13px; color: #70757a; }
.avis__g { flex: none; align-self: flex-start; width: 20px; height: 20px; }
.avis__stars { display: flex; gap: 1px; color: #fbbc04; }
.avis__stars .i { width: 17px; height: 17px; }
.avis__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #3c4043;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* En-tête de section ----------------------------------------------------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px 72px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head__text { color: var(--muted); max-width: 440px; justify-self: end; }

/* Prestations ------------------------------------------------------------ */
.services { background: var(--ink); }
.services__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.service {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--ink-2);
  border: 1px solid var(--line);
  transition: border-color 0.3s;
}
.service:hover { border-color: rgba(212, 176, 58, 0.45); }
.service--a { grid-column: span 7; }
.service--b { grid-column: span 5; }
.service--c { grid-column: span 5; }
.service--d { grid-column: span 7; }
.service__media { position: relative; height: clamp(260px, 27vw, 380px); overflow: hidden; }
.service__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.service--a .service__media img { object-position: 40% 60%; }
.service--b .service__media img { object-position: 55% 60%; }
.service--c .service__media img { object-position: 60% 60%; }
.service--d .service__media img { object-position: 50% 68%; }
.service:hover .service__media img { transform: scale(1.04); }
.service__tag {
  position: absolute;
  left: 16px;
  top: 16px;
  padding: 6px 10px;
  border-radius: var(--r-xs);
  background: rgba(13, 13, 11, 0.84);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.service__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(22px, 2.4vw, 32px); }
.service__title { font-size: clamp(1.25rem, 1.6vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 10px; }
.service__body p { max-width: 560px; font-size: 0.94rem; color: var(--muted); margin-bottom: 20px; }
.service__body .link-arrow { margin-top: auto; }

.notice {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(20px, 4vw, 48px);
  margin-top: 16px;
  padding: clamp(24px, 3vw, 36px) clamp(24px, 4vw, 48px);
  border-radius: var(--r-lg);
  border: 1px solid rgba(212, 176, 58, 0.4);
  background: linear-gradient(120deg, rgba(212, 176, 58, 0.09), rgba(212, 176, 58, 0.02) 60%);
  overflow: hidden;
}
.notice__badge { width: clamp(110px, 12vw, 150px); height: auto; filter: drop-shadow(0 8px 24px rgba(212, 176, 58, 0.18)); }
.notice__text h3 { font-size: 1.2rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; }
.notice__text p { font-size: 0.92rem; color: var(--muted); margin-bottom: 14px; max-width: 720px; }

/* Chauffeur -------------------------------------------------------------- */
.driver__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: center; }
.driver__media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(22, 21, 18, 0.5); }
.driver__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.driver__badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  border-radius: var(--r);
  background: rgba(13, 13, 11, 0.9);
  color: var(--text);
}
.driver__badge span { font-size: 0.72rem; color: var(--muted); }
.driver__badge strong { font-size: 1rem; font-weight: 600; }
.driver__text { display: grid; gap: 16px; margin-top: 24px; color: var(--paper-muted); max-width: 560px; }
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 36px;
  background: var(--paper-line);
  border: 1px solid var(--paper-line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.facts li { display: flex; gap: 14px; padding: 18px 20px; background: var(--paper); }
.facts .i { width: 22px; height: 22px; color: var(--gold-3); margin-top: 1px; }
.facts span { display: grid; font-size: 0.82rem; color: var(--paper-muted); line-height: 1.5; }
.facts strong { font-size: 0.92rem; color: var(--paper-ink); font-weight: 600; }

/* Bandeau citation ------------------------------------------------------- */
.banner { position: relative; min-height: clamp(380px, 60vh, 620px); display: grid; align-items: end; overflow: hidden; isolation: isolate; }
.banner__media { position: absolute; inset: -10% 0; z-index: -1; }
.banner__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.banner__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 13, 11, 0.6) 0%, transparent 65%),
    linear-gradient(180deg, rgba(13, 13, 11, 0.2) 0%, rgba(13, 13, 11, 0.25) 45%, rgba(13, 13, 11, 0.9) 92%, var(--ink) 100%);
}
.banner__content { padding-block: clamp(48px, 7vw, 88px); }
.banner__google { width: 28px; height: 28px; margin-bottom: 18px; }
.banner__quote blockquote { max-width: 760px; font-size: clamp(1.6rem, 3.2vw, 2.6rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.025em; }
.banner__quote figcaption { margin-top: 18px; font-size: 0.86rem; color: rgba(245, 242, 235, 0.78); }

/* Zone ------------------------------------------------------------------- */
.zone { background: var(--ink); }
.zone__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: center; }
.zone__text { color: var(--muted); margin-top: 22px; max-width: 520px; }
.destinations { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.destinations li { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: var(--r-xs); font-size: 0.84rem; font-weight: 500; }
.zone__info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 36px; padding-top: 26px; border-top: 1px solid var(--line); }
.zone__info dt { font-size: 0.78rem; color: var(--muted-2); margin-bottom: 4px; }
.zone__info dd { font-size: 0.95rem; font-weight: 500; }

.radar { display: grid; justify-items: center; gap: 18px; }
.radar__svg { width: 100%; max-width: 560px; height: auto; overflow: visible; }
.radar__zone image { opacity: 0.6; }
/* Contour sombre sous les libellés : lisibles au-dessus de la carte */
.radar__svg text { paint-order: stroke; stroke: var(--ink); stroke-width: 4px; stroke-linejoin: round; }
.radar__zone path { fill: none; stroke: rgba(212, 176, 58, 0.55); stroke-width: 1; stroke-linejoin: round; }
.radar__zone text { fill: var(--gold-2); font-family: var(--font); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.85; }
.js .radar__zone { opacity: 0; transition: opacity 1.2s var(--ease); }
.js .radar.is-visible .radar__zone { opacity: 1; }
.radar__rings circle { stroke: rgba(255, 255, 255, 0.1); stroke-dasharray: 2 6; }
.radar__rings circle:nth-child(3) { stroke: rgba(212, 176, 58, 0.3); stroke-dasharray: none; }
.radar__axes line { stroke: rgba(255, 255, 255, 0.06); }
.radar__ring-labels text { fill: var(--muted-2); font-size: 12px; font-family: var(--font); }
.radar__places line { stroke: rgba(212, 176, 58, 0.45); stroke-width: 1; stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.2s var(--ease-out) var(--d); }
.radar__places circle { fill: var(--ink); stroke: var(--gold); stroke-width: 2; }
.radar__places text { fill: var(--text); font-size: 16px; font-family: var(--font); font-weight: 500; }
.radar.is-visible .radar__places line { stroke-dashoffset: 0; }
.radar__home-dot { fill: var(--gold); }
.radar__home { fill: var(--gold); font-family: var(--font); font-size: 17px; font-weight: 700; }
.radar__compass { fill: var(--muted-2); font-size: 12px; font-family: var(--font); font-weight: 600; }
.radar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  padding: 10px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  transition: color 0.2s, border-color 0.2s;
}
.radar__link .i { color: var(--gold); }
.radar__link:hover { color: var(--text); border-color: var(--gold); }

/* Réservation ------------------------------------------------------------ */
.booking { background: var(--ink-2); border-top: 1px solid var(--line); }
.booking__grid { display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.booking__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.booking__text { color: var(--muted); margin-top: 22px; max-width: 440px; }
.steps { margin-top: 36px; }
.steps li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps__num {
  width: 30px;
  height: 30px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
}
.steps span:last-child { display: grid; font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.steps strong { color: var(--text); font-weight: 600; font-size: 0.95rem; }
.direct { margin-top: 36px; display: grid; gap: 10px; justify-items: start; }
.direct__phone { display: inline-flex; align-items: center; gap: 12px; font-size: clamp(1.6rem, 2.4vw, 2rem); font-weight: 700; letter-spacing: -0.02em; color: var(--gold); transition: color 0.2s; }
.direct__phone .i { width: 0.8em; height: 0.8em; }
.direct__phone:hover { color: var(--gold-2); }
.direct__mail { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.94rem; transition: color 0.2s; }
.direct__mail:hover { color: var(--text); }

.booking__card { padding: clamp(20px, 3vw, 40px); border-radius: var(--r-lg); background: var(--ink-3); border: 1px solid var(--line-2); }

/* Formulaire */
.form { display: grid; gap: 30px; }
.form__group { border: 0; padding: 0; display: grid; gap: 18px; min-width: 0; }
.form__group + .form__group { padding-top: 30px; border-top: 1px solid var(--line); }
.form__legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 4px; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.form__step {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: var(--r-sm);
  background: var(--gold);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 700;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field__label { font-size: 0.84rem; font-weight: 500; color: var(--muted); }
.field__opt { color: var(--muted-2); font-weight: 400; font-size: 0.82rem; }
.field__hint { font-size: 0.8rem; color: var(--muted-2); }
.field__error { font-size: 0.8rem; color: var(--danger); }
.input {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: var(--muted-2); }
.input:hover { border-color: rgba(255, 255, 255, 0.3); }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 176, 58, 0.18); }
.input[aria-invalid="true"] { border-color: var(--danger); }
.input--short { max-width: 220px; }
textarea.input { resize: vertical; min-height: 96px; }
input[type="date"].input, input[type="time"].input { color-scheme: dark; }
input[type="date"].input::-webkit-date-and-time-value,
input[type="time"].input::-webkit-date-and-time-value { text-align: left; }

/* Choix sous forme de puces carrées */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip:hover span { border-color: rgba(255, 255, 255, 0.35); color: var(--text); }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.chips.is-invalid .chip span { border-color: var(--danger); }

/* Sélecteur à deux options */
.segmented { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 4px; gap: 4px; border-radius: var(--r); background: var(--ink-2); border: 1px solid var(--line-2); justify-self: start; min-width: min(100%, 320px); }
.segmented--short { min-width: 180px; }
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span { display: grid; place-items: center; min-height: 42px; padding: 0 16px; border-radius: var(--r-sm); font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: background-color 0.15s, color 0.15s; }
.segmented input:checked + span { background: var(--gold); color: var(--ink); font-weight: 600; }
.segmented input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Tuiles privé / médical */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { position: relative; cursor: pointer; }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile__body {
  display: grid;
  justify-items: start;
  gap: 4px;
  height: 100%;
  padding: 18px;
  border-radius: var(--r);
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}
.tile__icon { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 8px; border-radius: var(--r-sm); background: var(--gold-soft); color: var(--gold); }
.tile__icon .i { width: 22px; height: 22px; }
.tile__icon--badge { background: none; }
.tile__icon--badge img { width: 44px; height: 44px; }
.tile strong { font-size: 1rem; font-weight: 600; }
.tile small { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
.tile:hover .tile__body { border-color: rgba(255, 255, 255, 0.35); }
.tile input:checked + .tile__body { border-color: var(--gold); background: rgba(212, 176, 58, 0.08); box-shadow: inset 0 0 0 1px var(--gold); }
.tile input:focus-visible + .tile__body { outline: 2px solid var(--gold); outline-offset: 2px; }
.tiles.is-invalid .tile__body { border-color: var(--danger); }

.cond { display: grid; gap: 18px; padding: 20px; border-radius: var(--r); background: rgba(255, 255, 255, 0.02); border: 1px solid var(--line); }
.reveal-block:not([hidden]) { animation: blockIn 0.45s var(--ease-out); }
@keyframes blockIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Compteur +/- */
.stepper { display: inline-grid; grid-template-columns: 48px 64px 48px; height: 52px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--ink-2); overflow: hidden; justify-self: start; }
.stepper__btn { display: grid; place-items: center; color: var(--gold); transition: background-color 0.15s; }
.stepper__btn:hover { background: rgba(255, 255, 255, 0.05); }
.stepper__btn:disabled { color: var(--muted-2); cursor: default; background: none; }
.stepper__value {
  width: 100%;
  border: 0;
  border-inline: 1px solid var(--line);
  background: none;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  -moz-appearance: textfield;
}
.stepper__value::-webkit-outer-spin-button,
.stepper__value::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__value:focus { outline: none; background: rgba(212, 176, 58, 0.06); }

/* Départ / destination */
.route { position: relative; display: grid; gap: 14px; }
.route__swap {
  position: absolute;
  right: 12px;
  top: 50%;
  z-index: 3;
  width: 36px;
  height: 36px;
  margin-top: 13px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--ink-4);
  border: 1px solid var(--line-2);
  color: var(--gold);
  transform: translateY(-50%);
  transition: border-color 0.2s;
}
.route__swap:hover { border-color: var(--gold); }

/* Suggestions d'adresses */
.ac { position: relative; }
.ac__icon { position: absolute; left: 15px; top: 17px; width: 18px; height: 18px; color: var(--gold); pointer-events: none; }
.ac__input { padding-left: 44px; padding-right: 56px; }
.ac__list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 20;
  max-height: min(360px, 52vh);
  overflow-y: auto;
  padding: 6px;
  border-radius: var(--r);
  background: #1f1f1b;
  border: 1px solid rgba(212, 176, 58, 0.4);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.75);
  overscroll-behavior: contain;
}
.ac__head { padding: 8px 10px 4px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.ac__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background-color 0.12s;
}
.ac__option[aria-selected="true"], .ac__option:hover { background: rgba(212, 176, 58, 0.12); }
.ac__option-icon { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: var(--r-sm); background: rgba(255, 255, 255, 0.05); color: var(--gold); }
.ac__option-icon .i { width: 16px; height: 16px; }
.ac__option-text { display: grid; min-width: 0; line-height: 1.3; }
.ac__option-main { font-size: 0.94rem; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac__option-main mark { background: none; color: var(--gold-2); font-weight: 700; }
.ac__option-sub { font-size: 0.78rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac__option--locate .ac__option-icon { background: var(--gold); color: var(--ink); }
.ac__empty { padding: 12px 10px; font-size: 0.86rem; color: var(--muted); }
.ac__source { padding: 6px 10px 2px; font-size: 0.68rem; color: var(--muted-2); text-align: right; }

.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 0.86rem; color: var(--muted); line-height: 1.55; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__ui { width: 22px; height: 22px; flex: none; margin-top: 1px; display: grid; place-items: center; border-radius: var(--r-xs); border: 1px solid var(--line-2); background: var(--ink-2); transition: background-color 0.15s, border-color 0.15s; }
.check__ui .i { width: 14px; height: 14px; stroke-width: 3; color: var(--ink); opacity: 0; }
.check input:checked + .check__ui { background: var(--gold); border-color: var(--gold); }
.check input:checked + .check__ui .i { opacity: 1; }
.check input:focus-visible + .check__ui { outline: 2px solid var(--gold); outline-offset: 3px; }
.check input[aria-invalid="true"] + .check__ui { border-color: var(--danger); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit.is-loading { pointer-events: none; opacity: 0.75; }
.form__notice { margin-top: -16px; text-align: center; font-size: 0.86rem; font-weight: 500; color: var(--text); }
.form__legal { margin-top: -22px; text-align: center; font-size: 0.78rem; color: var(--muted-2); }
.form__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form__status:empty { display: none; }
.form__status { font-size: 0.88rem; padding: 14px 16px; border-radius: var(--r-sm); line-height: 1.55; background: rgba(240, 140, 130, 0.1); color: #f6bdb6; border: 1px solid rgba(240, 140, 130, 0.35); }

.form-success { display: grid; justify-items: center; text-align: center; gap: 16px; padding: clamp(32px, 6vw, 64px) 0; outline: none; }
.form-success__icon { width: 68px; height: 68px; display: grid; place-items: center; border-radius: var(--r); background: var(--gold); color: var(--ink); }
.form-success__icon .i { width: 30px; height: 30px; stroke-width: 2.4; }
.form-success__title { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; }
.form-success__text { color: var(--muted); max-width: 420px; }
.form-success__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }

/* FAQ -------------------------------------------------------------------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq__text { color: var(--paper-muted); margin: 20px 0 26px; max-width: 360px; }
.accordion { border-top: 1px solid var(--paper-line); }
.qa { border-bottom: 1px solid var(--paper-line); }
.qa summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  cursor: pointer;
  font-size: clamp(1rem, 1.25vw, 1.1rem);
  font-weight: 600;
  color: var(--paper-ink);
  transition: color 0.2s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--gold-3); }
.qa__icon { position: relative; width: 32px; height: 32px; flex: none; border-radius: var(--r-sm); border: 1px solid var(--paper-line); transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.qa__icon::before, .qa__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.3s var(--ease-out);
}
.qa__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa[open] .qa__icon { background: var(--paper-ink); border-color: var(--paper-ink); color: var(--paper); }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 52px 24px 0; color: var(--paper-muted); max-width: 680px; }
.qa__body a { color: var(--gold-3); text-decoration: underline; text-underline-offset: 3px; }

/* Appel final ------------------------------------------------------------ */
.cta { position: relative; padding-block: var(--section); text-align: center; background: var(--ink); overflow: hidden; isolation: isolate; }
.cta__inner { display: grid; justify-items: center; }
.cta__title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -0.03em; }
.cta__phone { margin-top: 10px; font-size: clamp(2.3rem, 7vw, 5.2rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; color: var(--gold); font-variant-numeric: tabular-nums; transition: color 0.2s; }
.cta__phone:hover { color: var(--gold-2); }
.cta__text { margin-top: 12px; color: var(--muted); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }

/* Pied de page ----------------------------------------------------------- */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding-top: clamp(56px, 7vw, 88px); font-size: 0.9rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
.footer__brand p { color: var(--muted); margin: 20px 0 22px; max-width: 340px; line-height: 1.65; }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--r-sm); border: 1px solid var(--line-2); transition: border-color 0.2s, color 0.2s; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer__col h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; color: var(--muted); }
.footer__col a { transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 26px; border-top: 1px solid var(--line); font-size: 0.82rem; color: var(--muted-2); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__bottom a { transition: color 0.2s; }
.footer__bottom a:hover { color: var(--text); }

.action-bar { display: none; }

/* Page légale ------------------------------------------------------------ */
.legal { padding-top: calc(var(--header-h) + clamp(40px, 7vw, 88px)); padding-bottom: var(--section); }
.legal__head { max-width: 820px; margin-bottom: 48px; }
.legal__head h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
.legal__head p { color: var(--muted); margin-top: 16px; }
.legal__body { max-width: 820px; display: grid; gap: 40px; }
.legal__body section { display: grid; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 24px); }
.legal__body h2 { font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.legal__body p, .legal__body li { color: var(--muted); }
.legal__body ul { display: grid; gap: 8px; padding-left: 1.1em; list-style: disc; }
.legal__body a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.legal__body strong { color: var(--text); font-weight: 600; }
.legal__dl { display: grid; grid-template-columns: 220px 1fr; gap: 10px 24px; }
.legal__dl dt { color: var(--muted-2); font-size: 0.88rem; }
.legal__dl dd { color: var(--text); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: inline-block; }
  .header__phone span { display: none; }
  .header__phone { width: 44px; height: 44px; justify-content: center; padding: 0; border-radius: var(--r-sm); border: 1px solid var(--line-2); }
  .footer__top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }

  .hero__img { object-position: 60% 60%; }
  .hero__frame { --px: 0.6; --py: 0.6; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }


  .section-head { grid-template-columns: 1fr; }
  .section-head__text { justify-self: start; }
  .services__grid { grid-template-columns: 1fr; }
  .service--a, .service--b, .service--c, .service--d { grid-column: auto; }
  .service__media { height: clamp(220px, 56vw, 400px); }

  .driver__grid, .zone__grid, .booking__grid, .faq__grid { grid-template-columns: 1fr; }
  .driver__media { max-width: 520px; aspect-ratio: 4 / 4.4; }
  .booking__intro, .faq__intro { position: static; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .motif--veines { width: 62vw; opacity: 0.4; }
  .motif--relief { width: 110vw; }
  .motif--route { width: 40vw; opacity: 0.28; }

  .action-bar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 50;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px;
    border-radius: var(--r-lg);
    background: #131311;
    border: 1px solid var(--line-2);
    transform: translateY(160%);
    transition: transform 0.45s var(--ease-out);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar a { height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: var(--r); font-weight: 600; font-size: 0.95rem; }
  .action-bar__call { border: 1px solid var(--line-2); }
  .action-bar__call .i { color: var(--gold); }
  .action-bar__book { background: var(--gold); color: var(--ink); }
  .footer { padding-bottom: 88px; }
}

@media (min-width: 641px) and (max-width: 960px) {
  .services__grid { grid-template-columns: 1fr 1fr; }
  .service__media { height: 260px; }
}

@media (max-width: 760px) {
  .hero { min-height: max(600px, 100svh); }
  .hero__img { object-position: 34% 0%; }
  .hero__frame { --ar: 0.45319; --px: 0.34; --py: 0; }
  .hero__lumineux { left: 57.5384%; top: 30.6946%; width: 8.2699%; }
  /* Photo remontée de 34 px : la plaque passe au-dessus du texte ; le bas de l'image se fond déjà dans le noir */
  @supports (width: 1cqw) { .hero__frame { top: calc((100cqh - max(100cqh, 100cqw / var(--ar))) * var(--py) - 34px); } }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(13, 13, 11, 0.75) 0%, rgba(13, 13, 11, 0.12) 12%, rgba(13, 13, 11, 0) 24%, rgba(13, 13, 11, 0) 44%, rgba(13, 13, 11, 0.6) 58%, rgba(13, 13, 11, 0.94) 68%, var(--ink) 78%);
  }
  .hero__content { padding-bottom: 28px; }
  .hero__title { font-size: clamp(2.5rem, 12vw, 3.2rem); margin-bottom: 10px; }
  .hero__kicker { font-size: 0.58rem; letter-spacing: 0.08em; margin-bottom: 12px; padding: 6px 9px; }
  .hero__lead { font-size: 0.94rem; line-height: 1.55; margin-bottom: 18px; max-width: 420px; }
  .hero__actions { flex-direction: column; width: 100%; max-width: 420px; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .hero__facts { margin-top: 14px; padding-top: 0; border-top: 0; font-size: 0.84rem; }
  .hero__facts { display: none; }
}

@media (max-width: 760px) and (max-height: 720px) {
  /* Petits écrans : on garde la voiture visible, le téléphone reste dans l'en-tête */
  .hero__lead, .hero__actions .btn--ghost { display: none; }
  .hero__title { margin-bottom: 20px; }
}

@media (max-width: 640px) {
  .header__cta { display: none; }
  .header__phone { background: var(--gold); border-color: var(--gold); color: var(--ink); }
  .header__phone .i { color: var(--ink); }
  .header__brand { gap: 9px; }
  .header__brand .brand__mark { width: 46px; }
  .brand__name { font-size: 0.9rem; }
  .header__brand .brand__place { font-size: 0.6rem; }

  .avis-band { padding: 22px 0 24px; }
  .avis-band__head { margin-bottom: 16px; font-size: 0.9rem; }
  .defile__piste, .defile__liste { gap: 12px; }
  .defile__piste { animation-duration: 150s; }
  @keyframes avisDefile { to { transform: translate3d(calc(-50% - 6px), 0, 0); } }
  .avis { width: 284px; padding: 16px 16px 18px; }

  .section-head, .driver__copy, .zone__copy, .booking__intro, .faq__intro, .footer__brand, .footer__col { text-align: center; }
  .h2 { margin-inline: auto; }
  .section-head__text, .driver__text, .zone__text, .booking__text, .faq__text, .footer__brand p { margin-inline: auto; justify-self: center; }
  .service__body { align-items: center; text-align: center; }
  .notice { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .notice__text p { margin-inline: auto; }
  .facts { grid-template-columns: 1fr; text-align: left; }
  .destinations { justify-content: center; }
  .zone__info { grid-template-columns: 1fr; gap: 16px; }
  .steps { text-align: left; }
  .direct { justify-items: center; }
  .socials { justify-content: center; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand .brand { justify-content: center; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; }
  .footer__bottom ul { justify-content: center; }
  .cta__actions .btn { width: 100%; }

  .form__row { grid-template-columns: 1fr; }
  .form__row--fixed { grid-template-columns: 1fr 1fr; }
  .tiles { gap: 10px; }
  .tile__body { padding: 14px; }
  .tile small { font-size: 0.76rem; }
  .cond { padding: 16px; }
  .segmented { width: 100%; }
  .segmented--short { width: auto; }
  .stepper { grid-template-columns: 46px 1fr 46px; width: 100%; }
  .booking__card { margin-inline: calc(var(--gutter) * -0.4); }

  .radar__places text { font-size: 20px; }
  .radar__home { font-size: 21px; }
  .radar__ring-labels text { font-size: 15px; }
  .radar__zone text { font-size: 14px; }
  .qa__body p { padding-right: 0; }
  .legal__dl { grid-template-columns: 1fr; gap: 2px; }
  .legal__dl dd { margin-bottom: 12px; }
  .motif--veines { width: 78vw; top: -20px; opacity: 0.3; }
  .motif--right { right: -26vw; }
  .motif--left { left: -26vw; }
}

@media (max-width: 360px) {
  .header__brand .brand__place { display: none; }
}

@media (max-width: 320px) {
  .brand__text { display: none; }
  .tiles { grid-template-columns: 1fr; }
}

/* Défilement : légers décalages calculés par le navigateur, sans JavaScript.
   Les navigateurs qui ne savent pas le faire affichent simplement la page fixe. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    section:has(> .motif), .banner { view-timeline: --bloc block; }
    .motif { animation: motifDrift linear both; animation-timeline: --bloc; animation-range: cover; }
    .banner__media { animation: bannerDrift linear both; animation-timeline: --bloc; animation-range: cover; }
  }
}
@keyframes motifDrift {
  from { transform: translate3d(0, var(--drift), 0) rotate(calc(var(--tilt) * -1)); }
  to { transform: translate3d(0, calc(var(--drift) * -1), 0) rotate(var(--tilt)); }
}
@keyframes bannerDrift { from { transform: translate3d(0, -6%, 0); } to { transform: translate3d(0, 6%, 0); } }

/* Mouvement réduit ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .defile { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x mandatory; padding-inline: var(--gutter); }
  .defile__piste { animation: none; }
  .defile__liste[aria-hidden] { display: none; }
  .avis { scroll-snap-align: start; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
}
