/* ==========================================================================
   Taxi Cognac Horizon, feuille de style
   Couleurs : le bleu ciel de la carte de visite, le noir du véhicule.
   Police : Montserrat (auto-hébergée), la hiérarchie se fait par la taille et la graisse.
   ========================================================================== */

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

/* Variables -------------------------------------------------------------- */
:root {
  --sky-50: #f3f8fd;
  --sky-100: #e6f0fb;
  --sky-200: #cfe2f7;
  --sky-300: #aad3f2;
  --sky-400: #8db8e4;
  --blue: #3570c8;
  --blue-2: #285fb4;
  --blue-3: #1f4e97;
  --blue-soft: #e8f0fb;
  --ink: #0b1a2e;
  --ink-2: #12243d;
  --ink-3: #1b3050;
  --text: #0b1a2e;
  --muted: #4f6079;
  --muted-2: #74839a;
  --line: #e1e9f3;
  --line-2: #c9d7e8;
  --paper: #f4f8fd;
  --white: #fff;
  --danger: #c4372b;
  --star: #fbbc04;

  --grad-sky: linear-gradient(165deg, #f5f9fe 0%, #e4effb 48%, #c7ddf5 100%);
  --grad-card: linear-gradient(125deg, #5b8fdb 0%, #3570c8 48%, #1f4a92 100%);

  --r-xs: 6px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --header-h: 64px;
  --header-top: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --container: 1200px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px rgba(11, 26, 46, 0.06), 0 4px 14px -6px rgba(11, 26, 46, 0.12);
  --shadow: 0 2px 4px rgba(11, 26, 46, 0.04), 0 18px 40px -18px rgba(11, 26, 46, 0.28);
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + var(--header-top) + 12px); }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
html.is-locked, html.is-locked body { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }
fieldset { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--sky-300); color: var(--ink); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--paper { background: var(--paper); }

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

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: var(--r-sm); background: var(--ink); color: #fff; font-weight: 600; transition: top 0.2s; }
.skip-link:focus { top: 12px; }

/* Typographie ------------------------------------------------------------ */
.label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}
.label::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
.label--light { color: var(--sky-300); }
.h2 { font-size: clamp(1.85rem, 3.4vw, 2.75rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars .i { width: 18px; height: 18px; stroke: none; }

/* Boutons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out), box-shadow 0.2s;
}
.btn .i { width: 18px; height: 18px; }
.btn:active { transform: scale(0.98); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.88rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(53, 112, 200, 0.9); }
.btn--blue:hover { background: var(--blue-2); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--outline { border-color: currentColor; color: var(--ink); }
.btn--outline:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--outline-dark { border-color: var(--line-2); color: var(--ink); background: #fff; }
.btn--outline-dark:hover { border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.28); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 600; color: var(--blue); transition: color 0.2s, gap 0.2s var(--ease-out); }
.link-arrow .i { width: 16px; height: 16px; }
.link-arrow:hover { color: var(--blue-3); gap: 12px; }

/* Loader ----------------------------------------------------------------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  background: var(--grad-card);
  color: #fff;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.js .loader { display: grid; }
.js.is-return .loader, .loader.is-hidden { display: none; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 26px; width: min(300px, 64vw); }
.loader__logo { width: 100%; height: auto; aspect-ratio: 735 / 269; clip-path: inset(0 100% 0 0); animation: loaderReveal 0.7s var(--ease-out) 0.05s forwards; }
@keyframes loaderReveal { to { clip-path: inset(0 0 0 0); } }
.loader__bar { width: 100%; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, 0.22); overflow: hidden; }
.loader__progress { display: block; height: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); }

/* En-tête ---------------------------------------------------------------- */
/* Ordinateur : barre blanche flottante, posée sur le héros (photo comme ciel) */
.header {
  position: fixed;
  inset: var(--header-top) 0 auto;
  z-index: 60;
  height: var(--header-h);
  color: var(--ink);
  transition: transform 0.4s var(--ease-out), background-color 0.3s, box-shadow 0.3s, color 0.3s;
}
.header.is-hidden { transform: translateY(calc(-100% - var(--header-top) - 12px)); }
.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 10px 0 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 0 rgba(11, 26, 46, 0.04), 0 14px 34px -20px rgba(11, 26, 46, 0.45);
  transition: box-shadow 0.3s;
}
.header.is-scrolled .header__inner { box-shadow: 0 1px 0 rgba(11, 26, 46, 0.06), 0 18px 40px -18px rgba(11, 26, 46, 0.5); }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand__logo { width: 86px; height: auto; aspect-ratio: 735 / 269; }
.brand__name { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1.3; max-width: 11em; }
.nav__list { display: flex; gap: clamp(18px, 2.2vw, 30px); }
.nav__list a { position: relative; padding-block: 6px; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform 0.3s var(--ease-out); }
.nav__list a:hover { color: var(--blue); }
.nav__list a.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 8px; }
.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--sky-50);
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s, background-color 0.2s;
}
.header__phone .i { width: 17px; height: 17px; color: var(--blue); }
.header__phone:hover { color: var(--blue); background: var(--sky-100); }
.burger { display: none; width: 44px; height: 44px; position: relative; border-radius: 999px; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.3s var(--ease-out); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; right: 18px; }

/* Menu mobile */
.menu {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu__inner { height: 100%; display: flex; flex-direction: column; padding: 0 var(--gutter) calc(24px + 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__logo { width: 92px; height: auto; aspect-ratio: 735 / 269; }
.menu__close { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); }
.menu__list { margin-top: 12px; }
.menu__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  transform: translateY(10px);
  opacity: 0;
  transition: transform 0.5s var(--ease-out), opacity 0.4s, color 0.2s;
}
.menu__list a .i { color: var(--sky-300); }
.menu.is-open .menu__list a { transform: none; opacity: 1; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: 0.04s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: 0.08s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: 0.12s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: 0.16s; }
.menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 12px; }
.menu__note { text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); }

/* Héros ------------------------------------------------------------------ */
/* Ordinateur : texte à gauche sur le ciel, photo sur toute la moitié droite, fondue vers la gauche */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  height: min(100svh, 1000px);
  min-height: 660px;
  background: var(--grad-sky);
  /* Le badge Google déborde sur la section suivante : le héros passe au-dessus d'elle */
  z-index: 3;
  isolation: isolate;
}
/* La photo sert de décor : le taxi reste petit dans la cour du chai, le bas et la gauche se fondent dans le ciel */
.hero__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  z-index: -1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.18) 6%, rgba(0, 0, 0, 0.62) 15%, #000 27%), linear-gradient(0deg, transparent 0, rgba(0, 0, 0, 0.55) 9%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.18) 6%, rgba(0, 0, 0, 0.62) 15%, #000 27%), linear-gradient(0deg, transparent 0, rgba(0, 0, 0, 0.55) 9%, #000 22%);
  mask-composite: intersect;
}
/* Teinte bleu ciel sur le haut de la photo, dans les couleurs de la carte de visite */
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(170, 211, 242, 0.85) 0%, rgba(170, 211, 242, 0.35) 30%, rgba(199, 221, 245, 0.12) 60%, rgba(199, 221, 245, 0.3) 100%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
}
.hero__motif { position: absolute; left: 0; bottom: -1px; z-index: -1; width: 50%; opacity: 0.9; pointer-events: none; }
.hero__content {
  width: 50%;
  padding: calc(var(--header-h) + var(--header-top) + 24px) clamp(32px, 5vw, 88px) 64px max(var(--gutter), (100% - var(--container)) / 2);
}
.hero__kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--blue-3); }
.hero__badge { width: 34px; height: 34px; flex: none; }
.hero__title { font-size: clamp(2.6rem, 4.6vw, 4.4rem); font-weight: 700; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; }
.hero__lead { margin-top: 22px; max-width: 30em; font-size: clamp(1rem, 1.25vw, 1.12rem); line-height: 1.65; color: var(--muted); }
.hero__lead-short { display: none; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__actions .btn--blue { font-size: 1.06rem; font-variant-numeric: tabular-nums; letter-spacing: 0.01em; }
/* Avis Google : centré sur la page, à cheval entre le héros et le bandeau d'avis */
.hero__rating {
  position: absolute;
  left: 50%;
  bottom: 0;
  translate: -50% 50%;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px 12px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(11, 26, 46, 0.05), 0 18px 40px -16px rgba(11, 26, 46, 0.45);
  font-size: 0.9rem;
  color: var(--muted);
  white-space: nowrap;
  transition: box-shadow 0.2s;
}
.hero__rating:hover { box-shadow: 0 0 0 1px rgba(11, 26, 46, 0.08), 0 22px 44px -16px rgba(11, 26, 46, 0.55); }
.hero__rating strong { font-size: 1.05rem; color: var(--ink); }
.hero__rating .stars .i { width: 16px; height: 16px; }

/* Entrée du héros après le chargement (la photo ne bouge pas) */
.js [data-hero] { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.9s var(--ease-out); }
.js .hero.is-in [data-hero] { opacity: 1; transform: none; }
.js .hero.is-in [data-hero]:nth-child(2) { transition-delay: 0.06s; }
.js .hero.is-in [data-hero]:nth-child(3) { transition-delay: 0.12s; }
.js .hero.is-in [data-hero]:nth-child(4) { transition-delay: 0.18s; }
.js .hero.is-in [data-hero]:nth-child(5) { transition-delay: 0.3s; }

/* 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; padding: clamp(72px, 7vw, 92px) 0 clamp(44px, 6vw, 68px); background: var(--white); border-bottom: 1px solid var(--line); }
.avis-band__head { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: 28px; text-align: center; }
.avis-band__title { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -0.02em; }
.avis-band__link { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--blue); }
.avis-band__link .i { width: 15px; height: 15px; }
.avis-band__link:hover { color: var(--blue-3); }
/* 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 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.defile__piste { display: flex; gap: 16px; width: max-content; animation: avisDefile 160s linear infinite; will-change: transform; }
.defile:hover .defile__piste, .defile:focus-within .defile__piste, .avis-band.is-off .defile__piste { animation-play-state: paused; }
.defile__liste { display: flex; gap: 16px; padding: 4px 0 8px; }
@keyframes avisDefile { to { transform: translate3d(calc(-50% - 8px), 0, 0); } }
.avis {
  flex: none;
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 18px 20px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(11, 26, 46, 0.04);
}
.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: 17px; font-weight: 600; }
.avis__who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.avis__name { font-size: 0.92rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.avis__date { font-size: 0.8rem; color: var(--muted-2); }
.avis__g { flex: none; align-self: flex-start; width: 20px; height: 20px; }
.avis__stars { display: flex; gap: 1px; color: var(--star); }
.avis__stars .i { width: 16px; height: 16px; stroke: none; }
.avis__text { font-size: 0.9rem; line-height: 1.55; color: #3b4a5f; 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.25fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head__text { color: var(--muted); max-width: 520px; }

/* Prestations ------------------------------------------------------------ */
.services__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
/* Cartes de prestation : en tête, le ciel de la carte de visite (bleu clair qui fonce vers le coin haut droit,
   diagonale de lumière), un pictogramme au trait blanc et les lignes de route du logo */
.service {
  display: flex;
  flex-direction: column;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease-out), border-color 0.3s;
}
@media (hover: hover) {
  .service:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
}
.service__visual {
  position: relative;
  height: 132px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding-bottom: 18px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(to bottom right, rgba(172, 214, 246, 0) 52%, rgba(172, 214, 246, 0.8) 52.3%, rgba(150, 192, 234, 0.55) 100%),
    radial-gradient(130% 150% at 100% 0%, #5d8dd8 0%, #86b0e3 46%, #aad3f2 82%);
}
.service__pict { width: 44px; height: 44px; color: #fff; stroke-width: 1.5; filter: drop-shadow(0 2px 6px rgba(31, 74, 146, 0.35)); transition: transform 0.4s var(--ease-out); }
.service__sceau { width: 60px; height: 60px; filter: brightness(0) invert(1) drop-shadow(0 2px 6px rgba(31, 74, 146, 0.35)); transition: transform 0.4s var(--ease-out); }
@media (hover: hover) {
  .service:hover .service__pict, .service:hover .service__sceau { transform: translateY(-3px); }
}
.service__route { position: absolute; left: 50%; bottom: -1px; z-index: -1; width: 128%; max-width: none; translate: -50% 0; opacity: 0.55; pointer-events: none; }
.service__body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 22px 24px 26px; }
.service__tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.service__title { margin-top: 6px; font-size: 1.18rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; }
.service__text { margin-top: 10px; font-size: 0.92rem; color: var(--muted); line-height: 1.6; }
.service .link-arrow { margin-top: auto; padding-top: 18px; }
.dots { display: none; justify-content: center; gap: 8px; margin-top: 18px; }
.dots__dot { position: relative; width: 8px; height: 8px; padding: 0; border-radius: 999px; background: var(--line-2); transition: width 0.35s var(--ease-out), background-color 0.25s; }
.dots__dot::before { content: ""; position: absolute; inset: -14px -6px; }
.dots__dot.is-active { width: 26px; background: var(--blue); }

.notice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 0.7fr);
  gap: 20px clamp(24px, 4vw, 48px);
  align-items: center;
  margin-top: 28px;
  padding: clamp(22px, 3vw, 32px);
  border-radius: var(--r-lg);
  background: var(--sky-50);
  border: 1px solid var(--line);
}
.notice__badge { width: 96px; height: 96px; }
.notice__text h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
.notice__text p { margin: 8px 0 12px; font-size: 0.92rem; color: var(--muted); }
.notice__facts { display: grid; gap: 12px; }
.notice__facts li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; font-weight: 500; }
.notice__facts .i { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }

/* Chauffeur -------------------------------------------------------------- */
.driver__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
/* Carte de visite de Vincent, posée dans la section sur un léger dégradé ciel, en 3D */
.driver { background: radial-gradient(46% 60% at 24% 50%, rgba(170, 211, 242, 0.7) 0%, rgba(207, 226, 247, 0.34) 45%, rgba(244, 248, 253, 0) 75%), var(--paper); }
.visite { display: grid; justify-items: center; gap: 30px; }
.visite__scene { position: relative; width: min(100%, 520px); perspective: 1400px; isolation: isolate; }
.visite__carte {
  --rx: 7deg;
  --ry: -12deg;
  --flip: 0deg;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1039 / 685;
  padding: 0;
  border-radius: 14px;
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(calc(var(--ry) + var(--flip))) rotateZ(-1.5deg);
  transition: transform 0.9s var(--ease-out);
  cursor: pointer;
}
.visite__carte.is-flipped { --flip: 180deg; }
.visite.is-tracking .visite__carte { transition-duration: 0.35s; }
.visite__face {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  background: var(--sky-300);
  box-shadow: 0 1px 2px rgba(11, 26, 46, 0.12), 0 34px 60px -26px rgba(17, 40, 76, 0.6);
}
.visite__face img { width: 100%; height: 100%; object-fit: cover; }
.visite__face--verso { transform: rotateY(180deg); }
.visite__carte:focus-visible { outline: none; }
.visite__carte:focus-visible .visite__face { outline: 2px solid var(--blue); outline-offset: 4px; }
/* Ombre portée au sol, sous la carte */
.visite__scene::after {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: -26px;
  height: 36px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(17, 40, 76, 0.3), rgba(17, 40, 76, 0));
  pointer-events: none;
}
.visite__aide { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 0.84rem; font-weight: 600; color: var(--blue-3); transition: background-color 0.2s; }
.visite__aide:hover { background: rgba(255, 255, 255, 0.7); }
.visite__aide .i { width: 16px; height: 16px; color: var(--blue); transition: transform 0.6s var(--ease-out); }
.visite.is-flipped .visite__aide .i { transform: rotate(-180deg); }
.visite__aide-verso, .visite.is-flipped .visite__aide-recto { display: none; }
.visite.is-flipped .visite__aide-verso { display: inline; }
.driver__text { display: grid; gap: 14px; margin-top: 22px; color: var(--muted); }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.values li { display: grid; gap: 4px; padding-top: 14px; border-top: 2px solid var(--blue); }
.values strong { font-size: 1rem; font-weight: 700; }
.values span { font-size: 0.86rem; color: var(--muted); line-height: 1.5; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.facts li { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.facts .i { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.facts span { display: grid; font-size: 0.82rem; color: var(--muted); line-height: 1.45; }
.facts strong { font-size: 0.92rem; font-weight: 600; color: var(--text); }

/* Citation --------------------------------------------------------------- */
.quote { position: relative; padding-block: clamp(80px, 10vw, 132px); background: linear-gradient(180deg, #0b1a2e 0%, #10274a 50%, #173764 100%); color: #fff; overflow: hidden; isolation: isolate; text-align: center; }
/* Le pont de Cognac de la carte de visite, flouté, monte du bas de la section puis s'efface dans le bleu nuit */
.quote__fond {
  position: absolute;
  inset: auto 0 0;
  height: 68%;
  z-index: -1;
  background: url("../img/citation-pont.webp") center 72% / cover no-repeat;
  opacity: 0.75;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 35%, #000 70%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.6) 35%, #000 70%);
}
.quote__fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 26, 46, 0.35) 0%, rgba(11, 26, 46, 0.55) 100%); }
.quote__inner { display: grid; justify-items: center; }
/* Avis posé sur un verre dépoli : le pont reste visible, flouté, à travers */
.quote__panel {
  display: grid;
  justify-items: center;
  gap: 24px;
  max-width: 880px;
  padding: clamp(32px, 4.5vw, 52px) clamp(24px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.06) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.7);
}
.quote blockquote { font-size: clamp(1.3rem, 2.5vw, 2rem); font-weight: 600; line-height: 1.38; letter-spacing: -0.02em; text-wrap: balance; }
.quote__auteur { display: flex; align-items: center; gap: 12px; text-align: left; }
.quote__avatar { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #7b1fa2; color: #fff; font-size: 19px; font-weight: 600; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18); }
.quote__qui { display: grid; line-height: 1.35; }
.quote__qui strong { font-size: 1rem; font-weight: 700; }
.quote__qui span { font-size: 0.84rem; color: rgba(255, 255, 255, 0.7); }
.quote .avis__date { font-size: inherit; color: inherit; }
.quote .stars .i { width: 22px; height: 22px; }
.quote__g { flex: none; width: 34px; height: 34px; margin-left: 6px; padding: 7px; border-radius: 50%; background: #fff; }

/* À bord ---------------------------------------------------------------- */
.vehicle__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.vehicle__text { margin-top: 20px; color: var(--muted); max-width: 520px; }
.comfort { display: grid; gap: 16px; margin-top: 30px; }
.comfort li { display: flex; align-items: flex-start; gap: 14px; }
.comfort .i { flex: none; width: 30px; height: 30px; padding: 7px; border-radius: 50%; background: var(--blue-soft); color: var(--blue); stroke-width: 2.4; }
.comfort span { display: grid; gap: 2px; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.comfort strong { font-size: 0.98rem; font-weight: 700; color: var(--text); }
/* Deux photos en petit format, en situation, décalées */
.vehicle__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; max-width: 540px; justify-self: end; width: 100%; }
.vehicle__photos figure { position: relative; }
.vehicle__photos figure:nth-child(2) { margin-top: 48px; }
.vehicle__photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); background: var(--sky-100); }
.vehicle__photos figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.94); font-size: 0.74rem; font-weight: 600; color: var(--ink); white-space: nowrap; }

/* Zone ------------------------------------------------------------------- */
.zone { background: var(--ink); color: #fff; overflow: hidden; }
.zone__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "copy carte" "list carte";
  gap: 0 clamp(40px, 6vw, 88px);
  align-items: center;
}
.zone__copy { grid-area: copy; align-self: end; }
.zone__list { grid-area: list; align-self: start; }
.zone__text { margin-top: 20px; color: rgba(255, 255, 255, 0.72); max-width: 520px; }
.distances { margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.12); columns: 2; column-gap: 32px; }
.distances li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 0 12px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); break-inside: avoid; }
.distances__city { font-weight: 600; }
.distances__km { font-weight: 700; color: var(--sky-300); font-variant-numeric: tabular-nums; }
.distances__time { grid-column: 1 / -1; font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }
.distances__note { margin-top: 14px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.5); }

/* Carte : départements IGN, villes placées à leurs coordonnées (pourcentages calculés par outils/carte-zone.py) */
.carte { grid-area: carte; }
/* Pas de cadre : la carte se fond directement dans le bleu nuit de la section, en ovale dégradé */
.carte__frame { position: relative; aspect-ratio: 1000 / 926; }
.carte__fond {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: radial-gradient(closest-side at 48% 50%, #000 52%, rgba(0, 0, 0, 0.6) 74%, transparent 100%);
  mask-image: radial-gradient(closest-side at 48% 50%, #000 52%, rgba(0, 0, 0, 0.6) 74%, transparent 100%);
}
.carte__points { position: absolute; inset: 0; z-index: 1; font-size: clamp(0.66rem, 1.15vw, 0.84rem); }
.carte__points > span { position: absolute; white-space: nowrap; line-height: 1.2; }
.carte__city, .carte__home { display: flex; align-items: center; gap: 7px; font-weight: 600; color: #e6f0fb; text-shadow: 0 1px 3px rgba(11, 26, 46, 0.9); translate: -5px -50%; }
.carte__city i, .carte__home i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--sky-300); box-shadow: 0 0 0 3px rgba(11, 26, 46, 0.9); }
.carte__city--l { flex-direction: row-reverse; translate: calc(-100% + 5px) -50%; }
.carte__city--t { flex-direction: column-reverse; gap: 4px; translate: -50% calc(-100% + 5px); }
.carte__home { flex-direction: column; gap: 6px; translate: -50% -9px; font-size: 1.12em; font-weight: 700; color: #fff; letter-spacing: 0.02em; }
.carte__home i { width: 18px; height: 18px; background: #fff; box-shadow: 0 0 0 5px rgba(91, 143, 219, 0.55), 0 0 0 11px rgba(91, 143, 219, 0.18); }
.carte__dept { translate: -50% -50%; font-size: 0.78em; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(170, 211, 242, 0.42); }
.carte__dept--home { color: rgba(170, 211, 242, 0.85); }
.carte__sea { translate: 0 -50%; font-size: 0.74em; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(170, 211, 242, 0.32); }
.carte__ring { translate: -50% -50%; padding: 2px 7px; border-radius: 999px; background: #0b1a2e; font-size: 0.74em; font-weight: 600; color: rgba(170, 211, 242, 0.75); }

/* Réservation ------------------------------------------------------------ */
.booking__grid { display: grid; grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.booking__intro { position: sticky; top: calc(var(--header-h) + var(--header-top) + 32px); }
.booking__text { color: var(--muted); margin-top: 20px; max-width: 440px; }
.steps { margin-top: 34px; }
.steps li { display: flex; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-2); }
.steps li:last-child { border-bottom: 1px solid var(--line-2); }
.steps__num { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); 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: 32px; display: grid; gap: 8px; 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(--blue); font-variant-numeric: tabular-nums; transition: color 0.2s; }
.direct__phone .i { width: 0.8em; height: 0.8em; }
.direct__phone:hover { color: var(--blue-3); }
.direct__mail { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.92rem; transition: color 0.2s; word-break: break-all; }
.direct__mail:hover { color: var(--text); }

.booking__card { padding: clamp(20px, 3vw, 40px); border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }

/* 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: flex-start; gap: 12px; padding: 0; margin-bottom: 4px; font-size: 1.1rem; font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.form__legend .form__step { margin-top: -2px; }
.form__step { width: 28px; height: 28px; display: grid; place-items: center; flex: none; border-radius: 50%; background: var(--blue); color: #fff; 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: 600; color: var(--text); }
.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; font-weight: 500; color: var(--danger); }
.input {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.input::placeholder { color: #9aa7b8; }
.input:hover { border-color: #a9bbd2; }
.input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(53, 112, 200, 0.15); }
.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: light; }
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 */
.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 16px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; 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: var(--blue); color: var(--text); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; font-weight: 600; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); 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: 999px; background: var(--sky-100); 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: 999px; font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: background-color 0.15s, color 0.15s, box-shadow 0.15s; }
.segmented input:checked + span { background: #fff; color: var(--ink); font-weight: 600; box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + span { outline: 2px solid var(--blue); 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: #fff; 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: 50%; background: var(--blue-soft); color: var(--blue); }
.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: 700; }
.tile small { font-size: 0.8rem; color: var(--muted); line-height: 1.45; }
.tile:hover .tile__body { border-color: var(--blue); }
.tile input:checked + .tile__body { border-color: var(--blue); background: var(--sky-50); box-shadow: inset 0 0 0 1px var(--blue); }
.tile input:focus-visible + .tile__body { outline: 2px solid var(--blue); outline-offset: 2px; }
.tiles.is-invalid .tile__body { border-color: var(--danger); }

.cond { display: grid; gap: 18px; padding: 20px; border-radius: var(--r); background: var(--paper); 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: #fff; overflow: hidden; justify-self: start; }
.stepper__btn { display: grid; place-items: center; color: var(--blue); transition: background-color 0.15s; }
.stepper__btn:hover { background: var(--sky-50); }
.stepper__btn:disabled { color: #b4c0cf; 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: var(--sky-50); }

/* 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: 50%; background: #fff; border: 1px solid var(--line-2); color: var(--blue); transform: translateY(-50%); transition: border-color 0.2s, background-color 0.2s; }
.route__swap:hover { border-color: var(--blue); background: var(--sky-50); }

/* Suggestions d'adresses */
.ac { position: relative; }
.ac__icon { position: absolute; left: 15px; top: 17px; width: 18px; height: 18px; color: var(--blue); 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: #fff; border: 1px solid var(--line-2); box-shadow: 0 24px 48px -16px rgba(11, 26, 46, 0.35); overscroll-behavior: contain; }
.ac__head { padding: 8px 10px 4px; font-size: 0.7rem; font-weight: 700; 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: var(--sky-50); }
.ac__option-icon { width: 32px; height: 32px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--blue-soft); color: var(--blue); }
.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(--blue); 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(--blue); color: #fff; }
.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: #fff; transition: background-color 0.15s, border-color 0.15s; }
.check__ui .i { width: 14px; height: 14px; stroke-width: 3; color: #fff; opacity: 0; }
.check input:checked + .check__ui { background: var(--blue); border-color: var(--blue); }
.check input:checked + .check__ui .i { opacity: 1; }
.check input:focus-visible + .check__ui { outline: 2px solid var(--blue); 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: #fdf0ee; color: #9f2a20; border: 1px solid #f2c4bd; }

.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: 50%; background: var(--blue); color: #fff; }
.form-success__icon .i { width: 30px; height: 30px; stroke-width: 2.4; }
.form-success__title { font-size: 1.6rem; font-weight: 700; 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) + var(--header-top) + 32px); }
.faq__text { color: var(--muted); margin: 20px 0 26px; max-width: 360px; }
.accordion { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--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.08rem); font-weight: 600; transition: color 0.2s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.qa__icon { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--sky-100); color: var(--blue); transition: background-color 0.2s, color 0.2s; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; top: 50%; left: 50%; width: 12px; height: 2px; border-radius: 2px; 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(--blue); color: #fff; }
.qa[open] .qa__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.qa__body { overflow: hidden; }
.qa__body p { padding: 0 54px 24px 0; color: var(--muted); max-width: 680px; }
.qa__body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* Appel final ------------------------------------------------------------ */
.cta { position: relative; padding-block: var(--section); text-align: center; background: var(--grad-sky); overflow: hidden; isolation: isolate; }
.cta__motif { position: absolute; left: 50%; bottom: -2px; z-index: -1; width: min(1200px, 140%); transform: translateX(-50%); opacity: 0.9; pointer-events: none; }
.cta__inner { display: grid; justify-items: center; }
.cta__title { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 700; letter-spacing: -0.03em; }
.cta__phone { margin-top: 8px; font-size: clamp(2.4rem, 8vw, 5.4rem); font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; color: var(--blue-3); font-variant-numeric: tabular-nums; transition: color 0.2s; }
.cta__phone:hover { color: var(--blue); }
.cta__text { margin-top: 10px; color: var(--muted); }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Pied de page ----------------------------------------------------------- */
.footer { background: var(--ink); color: #fff; 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__logo { width: 120px; height: auto; aspect-ratio: 735 / 269; }
.footer__name { margin-top: 14px; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.footer__brand p:not(.footer__name) { color: rgba(255, 255, 255, 0.62); margin: 14px 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: 50%; border: 1px solid rgba(255, 255, 255, 0.18); transition: border-color 0.2s, background-color 0.2s; }
.socials a:hover { border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.footer__col h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 16px; }
.footer__col ul { display: grid; gap: 10px; color: rgba(255, 255, 255, 0.62); }
.footer__col a { transition: color 0.2s; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 32px; padding-block: 26px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }
.footer__bottom ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__bottom a { transition: color 0.2s; }
.footer__bottom a:hover { color: #fff; }

.action-bar { display: none; }

/* Page légale ------------------------------------------------------------ */
.legal { padding-top: calc(var(--header-h) + var(--header-top) + 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: 700; 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(--blue); 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; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notice { grid-template-columns: auto minmax(0, 1fr); }
  .notice__facts { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; --header-top: 0px; }

  /* En-tête pleine largeur : transparent sur la photo, blanc dès que la page défile */
  .header__inner { width: 100%; padding: 0 var(--gutter); border-radius: 0; background: none; box-shadow: none; }
  .header.is-scrolled { background: rgba(255, 255, 255, 0.97); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(11, 26, 46, 0.25); }
  .header.is-scrolled .header__inner { box-shadow: none; }
  .header:not(.is-scrolled) { color: #fff; }
  .header:not(.is-scrolled) .header__phone { background: rgba(255, 255, 255, 0.95); }
  .header__cta { display: none; }
  .header__phone { width: 44px; height: 44px; min-height: 0; padding: 0; justify-content: center; }
  .header__phone span { display: none; }
  .header__phone .i { width: 19px; height: 19px; }
  .brand__logo { width: 80px; }
  .brand__name { font-size: 0.64rem; }

  /* Héros : la photo en fond, le texte centré par-dessus, dégradé bleu nuit */
  .hero {
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    height: auto;
    min-height: 100svh;
    background: var(--ink);
    color: #fff;
    text-align: center;
    overflow: hidden;
  }
  .avis-band { padding-top: clamp(40px, 6vw, 64px); }
  /* Photo à la largeur de l'écran, sans agrandissement : le taxi reste petit, en haut, dans son décor */
  /* Sur un écran peu haut ou une tablette, elle remonte juste assez pour que le taxi reste au-dessus du texte */
  .hero__media { top: min(0px, calc(100svh - 380px - 96vw)); left: 0; width: 100%; bottom: auto; height: min(72%, 133.4vw); z-index: -2; -webkit-mask-image: none; mask-image: none; }
  /* Le bas de la photo se fond dans le bleu nuit, sans démarcation */
  .hero__media::after { background: linear-gradient(180deg, rgba(11, 26, 46, 0) 62%, rgba(11, 26, 46, 0.75) 86%, #0b1a2e 100%); mix-blend-mode: normal; }
  .hero__img { object-position: 50% 0; }
  /* Ciel teinté de bleu en haut (lisibilité du logo), puis fondu bleu nuit sous le taxi pour le texte */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
      linear-gradient(180deg, rgba(31, 74, 146, 0.82) 0%, rgba(53, 112, 200, 0.4) 14%, rgba(53, 112, 200, 0.12) 26%, rgba(53, 112, 200, 0) 34%),
      linear-gradient(180deg, rgba(11, 26, 46, 0) 36%, rgba(31, 74, 146, 0.45) 46%, rgba(17, 40, 76, 0.9) 58%, #0b1a2e 66%),
      rgba(11, 26, 46, 0.12);
  }
  .hero__motif { left: 50%; width: 150%; translate: -50% 0; opacity: 0.08; }
  .hero__content { width: 100%; display: flex; flex-direction: column; align-items: center; padding: 0 var(--gutter) calc(30px + env(safe-area-inset-bottom)); }
  .hero__kicker { justify-content: center; margin-bottom: 14px; font-size: 0.7rem; color: var(--sky-300); }
  .hero__badge { width: 28px; height: 28px; filter: brightness(0) invert(1); opacity: 0.9; }
  .hero__title { font-size: clamp(2.15rem, 9.4vw, 3.2rem); color: #fff; max-width: 13ch; }
  .hero__lead { margin: 14px auto 0; max-width: 30em; color: rgba(255, 255, 255, 0.78); font-size: 0.98rem; }
  .hero__actions { justify-content: center; margin-top: 24px; }
  .hero__actions .btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.55); }
  .hero__actions .btn--outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
  .hero__rating { position: static; translate: none; margin-top: 18px; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.82); }
  .hero__rating strong { color: #fff; }

  /* Mise en page sur une colonne, contenus centrés */
  .section-head { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .section-head__text { margin-inline: auto; }
  .label { justify-content: center; }
  .label::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: currentColor; }
  .h2 { text-align: center; }

  .service__body { align-items: center; text-align: center; }
  .notice { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .notice__facts { grid-column: auto; grid-template-columns: 1fr; justify-items: start; gap: 10px; width: fit-content; margin-inline: auto; }
  .notice__facts li { text-align: left; }

  .driver__grid, .booking__grid, .faq__grid { grid-template-columns: 1fr; }
  .driver { background: radial-gradient(80% 26% at 50% 15%, rgba(170, 211, 242, 0.7) 0%, rgba(207, 226, 247, 0.32) 50%, rgba(244, 248, 253, 0) 80%), var(--paper); }
  .driver__media { aspect-ratio: auto; padding: clamp(44px, 11vw, 72px) 0 clamp(28px, 7vw, 44px); }
  .driver__copy { text-align: center; }
  .driver__text { justify-items: center; }
  .values li { border-top: 0; padding-top: 0; justify-items: center; }
  .values li::before { content: ""; width: 28px; height: 3px; margin-bottom: 8px; border-radius: 3px; background: var(--blue); }
  .facts li { flex-direction: column; align-items: center; text-align: center; }

  .vehicle__grid { grid-template-columns: 1fr; gap: 36px; }
  .vehicle__copy { text-align: center; }
  .vehicle__text { margin-inline: auto; }
  /* Sur mobile, les trois points de confort deviennent des pastilles */
  .comfort { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
  .comfort li { align-items: center; gap: 8px; padding: 6px 16px 6px 6px; border-radius: 999px; background: var(--sky-50); border: 1px solid var(--line); }
  .comfort .i { width: 26px; height: 26px; padding: 6px; }
  .comfort strong { font-size: 0.88rem; }
  .comfort .comfort__desc { display: none; }
  .vehicle__photos { justify-self: center; max-width: 460px; gap: 12px; }
  .vehicle__photos figure:nth-child(2) { margin-top: 28px; }
  .vehicle__photos figcaption { left: 50%; translate: -50% 0; bottom: 10px; font-size: 0.7rem; padding: 5px 10px; }

  .zone__grid { grid-template-columns: 1fr; grid-template-areas: "copy" "carte" "list"; gap: 36px; }
  .zone__copy { text-align: center; }
  .zone__text { margin-inline: auto; }
  .carte { width: min(100%, 560px); justify-self: center; }
  .distances { margin-top: 0; }
  /* Ville sur une ligne, distance et durée côte à côte dessous */
  .distances li { grid-template-columns: auto auto; justify-content: center; align-items: baseline; gap: 2px 8px; text-align: center; }
  .distances__city { grid-column: 1 / -1; }
  .distances__time { grid-column: auto; }
  .distances__note { text-align: center; }

  .booking__intro, .faq__intro { position: static; text-align: center; }
  .booking__text, .faq__text { margin-inline: auto; }
  .steps { max-width: 420px; margin-inline: auto; }
  .steps li { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .direct { justify-items: center; }
  .faq__intro .btn { margin-inline: auto; }

  .footer__top { text-align: center; }
  .footer__brand { display: grid; justify-items: center; }
  .footer__brand p:not(.footer__name) { margin-inline: auto; }
  .socials { justify-content: center; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__bottom ul { justify-content: center; }

  /* Cibles tactiles d'au moins 44 px */
  .brand { min-height: 44px; }
  .link-arrow, .avis-band__link, .direct__mail { min-height: 44px; }
  .service .link-arrow { padding-top: 8px; }
  .route__swap { width: 44px; height: 44px; right: 8px; }
  .footer__col ul { gap: 0; }
  .footer__col a, .footer__bottom a { display: inline-flex; align-items: center; min-height: 40px; }
  .hero__rating { min-height: 40px; }

  .action-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 55;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 -1px 0 var(--line), 0 -12px 30px -18px rgba(11, 26, 46, 0.3);
    transform: translateY(110%);
    transition: transform 0.35s var(--ease-out);
  }
  .action-bar.is-visible { transform: none; }
  .action-bar .btn { min-height: 50px; }
  .footer { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
}

@media (max-width: 640px) {
  .hero__lead-long { display: none; }
  .hero__lead-short { display: inline; }
  /* Les deux boutons du héros sur une même ligne, avis Google plus discret */
  .hero__actions { flex-wrap: nowrap; gap: 10px; width: 100%; max-width: 420px; }
  .hero__actions .btn { flex: 1 1 0; min-width: 0; min-height: 52px; padding: 0 12px; gap: 8px; font-size: 0.9rem; }
  .hero__actions .btn--blue { font-size: 0.92rem; letter-spacing: 0; }
  .hero__actions .btn .i { width: 16px; height: 16px; }
  .hero__rating { gap: 7px; margin-top: 16px; padding: 7px 13px 7px 10px; font-size: 0.76rem; }
  .hero__rating img { width: 15px; height: 15px; }
  .hero__rating strong { font-size: 0.9rem; }
  .hero__rating .stars .i { width: 12px; height: 12px; }
  /* Prestations : carrousel à faire glisser, la carte suivante dépasse pour inviter au geste */
  .services__grid {
    display: flex;
    gap: 12px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
  .services__grid::-webkit-scrollbar { display: none; }
  .service { flex: none; width: 84%; scroll-snap-align: center; }
  .dots { display: flex; }
  .service__visual { height: 116px; }
  .service__route { width: 104%; opacity: 0.45; }
  .notice__badge { width: 76px; height: 76px; }
  /* Les trois valeurs sur une ligne, titres seuls (le détail est déjà dans le texte et les infos pratiques) */
  .values { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
  .values span { display: none; }
  .values strong { font-size: 0.92rem; }
  .facts { grid-template-columns: 1fr 1fr; gap: 10px; }
  .facts li { padding: 14px 10px; }
  .distances { column-gap: 16px; }
  .distances li { padding: 10px 0; }
  .distances__city, .distances__km { font-size: 0.92rem; }
  .form__row { grid-template-columns: 1fr; }
  .form__row--fixed { grid-template-columns: 1fr 1fr; }
  /* Compteurs passagers et bagages : pleine largeur de leur colonne, sans déborder */
  .form__row--fixed .stepper { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; width: 100%; }
  .tiles { grid-template-columns: 1fr; }
  .tile__body { grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; }
  .tile__icon { grid-row: span 2; margin: 0; }
  .avis { width: 280px; }
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  /* Étapes de réservation en trois colonnes, titres seuls */
  .steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 26px; border-block: 1px solid var(--line-2); }
  .steps li, .steps li:last-child { padding: 14px 0; border: 0; gap: 8px; }
  .steps strong { font-size: 0.8rem; line-height: 1.35; }
  .steps li .steps__desc { display: none; }
  .direct { margin-top: 22px; }
  .legal__dl { grid-template-columns: 1fr; gap: 2px; }
  .legal__dl dd { margin-bottom: 10px; }
  .qa__body p { padding-right: 0; }
}

@media (max-width: 420px) {
  .hero__cta-more { display: none; }
}


@media (max-width: 380px) {
  .brand__name { display: none; }
  /* Boutons pleine largeur : moins de marge intérieure pour tenir sur 320 px */
  .btn--block { padding-inline: 16px; }
  .cond { padding: 16px 12px; }
  .form__row--fixed .stepper { grid-template-columns: 38px minmax(0, 1fr) 38px; }
  .hero__kicker { gap: 8px; font-size: 0.62rem; letter-spacing: 0.1em; }
  .hero__badge { width: 24px; height: 24px; }
}

@media (max-width: 350px) {
  .hero__actions .btn { padding: 0 10px; font-size: 0.84rem; }
  .hero__actions .btn--blue .i { display: none; }
}

/* 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; }
}
