/* ==========================================================================
   RÉSA-VTC-63 — Design System
   Clermont-Ferrand / Puy-de-Dôme (63)
   Palette : navy #0A1F44 · vert électrique #00C48C · blanc · gris clair
   ========================================================================== */

/* ---------- 1. Design tokens ---------------------------------------------- */
:root {
  /* Brand colors */
  --navy: #0A1F44;
  --navy-800: #0d2755;
  --navy-700: #123166;
  --navy-100: #e8edf6;
  --green: #00C48C;
  --green-dark: #00a878;
  --green-light: #e6faf4;
  --white: #ffffff;
  --gray-50: #F5F7FA;
  --gray-100: #eef1f6;
  --gray-200: #dfe4ec;
  --gray-400: #9aa5b8;
  --gray-600: #5b6779;
  --gray-800: #2c3646;
  --amber: #F59E0B;
  --red: #E63946;
  /* Or du logo — sert au bouton « Réservation » mis en avant dans le menu. */
  --gold: #FFC93C;
  --gold-dark: #E8AE1F;

  /* Semantic */
  --bg: var(--white);
  --bg-alt: var(--gray-50);
  --surface: var(--white);
  --text: var(--navy);
  --text-muted: var(--gray-600);
  --border: var(--gray-200);
  --accent: var(--green);
  --accent-contrast: #04231a;

  /* Typography */
  --font-heading: 'Montserrat', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  /* Radii */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-xs: 0 1px 2px rgba(10, 31, 68, .06);
  --shadow-sm: 0 4px 14px rgba(10, 31, 68, .07);
  --shadow: 0 12px 34px rgba(10, 31, 68, .10);
  --shadow-lg: 0 26px 60px rgba(10, 31, 68, .16);

  /* Layout */
  --container: 1180px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .28s;
}

/* Dark theme (opt-in via data-theme="dark") */
[data-theme="dark"] {
  --bg: #061529;
  --bg-alt: #0A1F44;
  --surface: #0d2755;
  --text: #eef3fb;
  --text-muted: #a9b6cc;
  --border: #1d3560;
  --navy-100: #123166;
  --gray-50: #0d2755;
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, .35);
  --shadow: 0 12px 34px rgba(0, 0, 0, .45);
  --shadow-lg: 0 26px 60px rgba(0, 0, 0, .55);
}

/* ---------- 2. Reset ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: none; }

ul, ol { list-style: none; }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--green); color: var(--accent-contrast); }

/* ---------- 3. Typography ------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-muted); }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- 4. Layout helpers --------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--alt { background: var(--bg-alt); }
.section--navy { background: var(--navy); color: #fff; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--navy p { color: rgba(255,255,255,.78); }

.section-head {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head .eyebrow { margin-bottom: var(--space-3); }
.section-head p { margin-top: var(--space-4); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green-dark);
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--green);
  border-radius: 2px;
}
.section--navy .eyebrow { color: var(--green); }

.grid { display: grid; gap: var(--space-5); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.text-center { text-align: center; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }

/* ---------- 5. Buttons ---------------------------------------------------- */
.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--accent-contrast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .92rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .96rem;
  line-height: 1;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid transparent;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              background var(--dur) var(--ease),
              color var(--dur) var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(0,196,140,.32); }
.btn:active { transform: translateY(0); }

.btn--navy { --btn-bg: var(--navy); --btn-fg: #fff; }
.btn--navy:hover { box-shadow: 0 14px 28px rgba(10,31,68,.30); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--green); color: var(--green-dark); box-shadow: none; }

.btn--light {
  --btn-bg: rgba(255,255,255,.12);
  --btn-fg: #fff;
  border-color: rgba(255,255,255,.28);
  backdrop-filter: blur(6px);
}
.btn--light:hover { background: rgba(255,255,255,.2); box-shadow: none; }

.btn--white { --btn-bg: #fff; --btn-fg: var(--navy); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- 6. Header / navigation ---------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -.02em;
  color: var(--text);
}
/* Marque d'en-tête : logo client (carré jaune détouré, fond transparent).
   Plus de fond navy ni de rayon : le logo porte sa propre forme, ce qui
   évite tout liseré visible sur le bandeau sombre du pied de page. */
.brand__mark {
  width: 40px; height: 40px;
  display: block;
  flex: none;
  border-radius: 0;
  background: none;
  color: var(--green);
  overflow: visible;
}
.brand__mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand__mark svg { width: 22px; height: 22px; }
.brand__sub {
  display: block;
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: .35rem;
}
.nav__link {
  position: relative;
  padding: .55rem .8rem;
  font-size: .93rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav__link:hover { color: var(--text); background: var(--gray-100); }
[data-theme="dark"] .nav__link:hover { background: var(--navy-700); }
.nav__link.is-active { color: var(--navy); font-weight: 700; }
[data-theme="dark"] .nav__link.is-active { color: var(--green); }
.nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  transform: translateX(-50%);
  width: 18px; height: 3px;
  border-radius: 3px;
  background: var(--green);
}

.nav__actions { display: flex; align-items: center; gap: .6rem; }

.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 700;
  font-size: .93rem;
  color: var(--navy);
  padding: .5rem .75rem;
  border-radius: var(--radius-pill);
  transition: background var(--dur) var(--ease);
}
[data-theme="dark"] .nav__phone { color: var(--green); }
.nav__phone:hover { background: var(--gray-100); }
[data-theme="dark"] .nav__phone:hover { background: var(--navy-700); }
.nav__phone svg { width: 17px; height: 17px; }

.theme-toggle {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.theme-toggle:hover { color: var(--green-dark); border-color: var(--green); transform: rotate(-12deg); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  place-items: center;
}
.nav__toggle svg { width: 22px; height: 22px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- 7. Hero ------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 560px at 82% -8%, rgba(0,196,140,.16), transparent 62%),
    linear-gradient(170deg, var(--navy) 0%, #071731 100%);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at 60% 40%, #000 0%, transparent 78%);
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 { color: #fff; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--green), #6ee7c0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p { color: rgba(255,255,255,.80); font-size: 1.1rem; max-width: 54ch; margin-top: var(--space-5); }

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-bottom: var(--space-5);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .85rem;
  font-size: .79rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.92);
  backdrop-filter: blur(6px);
}
.badge svg { width: 14px; height: 14px; color: var(--green); }
.badge--green { background: rgba(0,196,140,.16); border-color: rgba(0,196,140,.4); }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: var(--space-6);
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.2rem, 3vw, 2.6rem);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255,255,255,.14);
}
.hero__stat b {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}
.hero__stat span { font-size: .82rem; color: rgba(255,255,255,.62); }

/* Hero visual : vehicle card */
.hero__visual { position: relative; }
.vehicule-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #16283f, #0b1a30);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 40px 80px rgba(0,0,0,.45);
  aspect-ratio: 4 / 3.15;
}
.vehicule-card img { width: 100%; height: 100%; object-fit: cover; }
.vehicule-card__tag {
  position: absolute;
  left: 14px; bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  border-radius: var(--radius-pill);
  background: rgba(6,18,36,.72);
  border: 1px solid rgba(0,196,140,.4);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.vehicule-card__tag svg { width: 15px; height: 15px; color: var(--green); }

.hero__float {
  position: absolute;
  right: -12px; top: 26px;
  padding: .8rem 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .7rem;
  animation: float 5.5s var(--ease) infinite;
}
.hero__float svg { width: 22px; height: 22px; color: var(--green); }
.hero__float b { display: block; font-family: var(--font-heading); font-size: .95rem; }
.hero__float span { font-size: .74rem; color: var(--text-muted); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- 8. Booking quick widget (hero) -------------------------------- */
.quickbook {
  margin-top: clamp(-2.5rem, -3vw, -1.5rem);
  position: relative;
  z-index: 5;
}
/* 49.1 L'estimation est le PREMIER bloc de l'accueil (juste sous le menu) :
   la marge negative de chevauchement n'a plus lieu d'etre — elle tirerait le
   bloc sous l'en-tete collant. On la pose sur une bande claire, separee du hero
   navy qui suit. */
.quickbook--lead {
  margin-top: 0;
  padding-block: clamp(1.1rem, 2.6vw, 1.9rem);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.quickbook__card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
}
.quickbook__row {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1fr 1fr auto;
  gap: .8rem;
  align-items: end;
}
.quickbook__field label {
  display: block;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  margin-bottom: .35rem;
}

/* ---------- 9. Forms ------------------------------------------------------ */
.field { position: relative; }
.field > label,
.form-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}
.form-label .req { color: var(--red); }

.input, .select, .textarea {
  width: 100%;
  padding: .8rem .95rem;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  color: var(--text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--gray-400); }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(0,196,140,.16);
}
.input[aria-invalid="true"] { border-color: var(--red); }
.textarea { min-height: 110px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6779' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 17px; padding-right: 2.4rem; }

.field-icon { position: relative; }
/* Les icônes sont injectées DANS le <i data-icon>, donc le SVG est un
   descendant et non un enfant direct : un sélecteur « > svg » ne matcherait
   jamais et le SVG s'afficherait à sa taille par défaut (énorme). */
.field-icon svg {
  position: absolute;
  left: .85rem; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--gray-400);
  pointer-events: none;
}
.field-icon .input { padding-left: 2.6rem; }

.form-error {
  display: block;
  font-size: .78rem;
  color: var(--red);
  margin-top: .3rem;
  min-height: 1rem;
}

/* Autocomplete dropdown */
.autocomplete {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  z-index: 60;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 280px;
  overflow-y: auto;
  display: none;
}
.autocomplete.is-open { display: block; }
.autocomplete__item {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .7rem .9rem;
  cursor: pointer;
  border-bottom: 1px solid var(--border);
  transition: background var(--dur) var(--ease);
}
.autocomplete__item:last-child { border-bottom: none; }
.autocomplete__item:hover,
.autocomplete__item.is-active { background: var(--gray-100); }
[data-theme="dark"] .autocomplete__item:hover,
[data-theme="dark"] .autocomplete__item.is-active { background: var(--navy-700); }
.autocomplete__item svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 3px; }
.autocomplete__main { font-size: .9rem; font-weight: 600; color: var(--text); line-height: 1.3; }
.autocomplete__sub { font-size: .78rem; color: var(--text-muted); }
/* Repere de priorite locale (demande du 2026-10-04) : les adresses du
   Puy-de-Dome / de l'agglomeration clermontoise sont proposees EN PREMIER,
   puis la France entiere vient completer la liste. */
.autocomplete__tag {
  display: inline-block;
  margin-left: .4rem;
  padding: .05rem .38rem;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--green-dark);
  background: rgba(0, 196, 140, .14);
  border-radius: 999px;
  vertical-align: 1px;
}
[data-theme="dark"] .autocomplete__tag { color: var(--green); background: rgba(0, 196, 140, .2); }
.autocomplete__state { padding: .8rem .9rem; font-size: .85rem; color: var(--text-muted); display: flex; align-items: center; gap: .6rem; }

.spinner {
  width: 16px; height: 16px;
  border: 2px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex: none;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 10. Cards ----------------------------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.3rem, 3vw, 1.8rem);
  box-shadow: var(--shadow-xs);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.card--hover:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(0,196,140,.45);
}
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 15px;
  background: var(--green-light);
  color: var(--green-dark);
  margin-bottom: var(--space-4);
}
[data-theme="dark"] .card__icon { background: rgba(0,196,140,.14); color: var(--green); }
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .93rem; }
.card__list { margin-top: var(--space-4); display: grid; gap: .5rem; }
.card__list li {
  display: flex;
  gap: .55rem;
  align-items: flex-start;
  font-size: .89rem;
  color: var(--text-muted);
}
.card__list svg { width: 16px; height: 16px; color: var(--green); flex: none; margin-top: 4px; }

.card--navy {
  background: linear-gradient(155deg, var(--navy), #0d2755);
  border-color: transparent;
  color: #fff;
}
.card--navy h3 { color: #fff; }
.card--navy p { color: rgba(255,255,255,.75); }
.card--navy .card__icon { background: rgba(0,196,140,.18); color: var(--green); }

.card__price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--navy);
}
[data-theme="dark"] .card__price { color: var(--green); }
.card__price small { font-size: .8rem; font-weight: 500; color: var(--text-muted); }

/* ---------- 11. Feature strip --------------------------------------------- */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-5);
}
.feature {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
}
.feature svg { width: 26px; height: 26px; color: var(--green); flex: none; margin-top: 3px; }
.feature b { display: block; font-family: var(--font-heading); font-size: .98rem; margin-bottom: .15rem; }
.feature span { font-size: .86rem; color: var(--text-muted); }

/* ---------- 12. Steps ----------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: var(--space-5); }
.step {
  position: relative;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
}
.step::before {
  counter-increment: step;
  content: counter(step);
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--green);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
}
.step h4 { margin-bottom: .2rem; }
.step p { font-size: .9rem; }

/* ---------- 13. Booking layout -------------------------------------------- */
.booking-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: start;
}

.stepper {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: var(--space-6);
  flex-wrap: wrap;
}
.stepper__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gray-400);
  padding: .35rem .1rem;
}
.stepper__dot {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-400);
  font-size: .78rem;
  font-weight: 800;
  border: 2px solid transparent;
  transition: all var(--dur) var(--ease);
}
[data-theme="dark"] .stepper__dot { background: var(--navy-700); }
.stepper__item.is-active .stepper__dot { background: var(--green); color: var(--accent-contrast); }
.stepper__item.is-active { color: var(--text); }
.stepper__item.is-done .stepper__dot { background: var(--navy); color: var(--green); }
.stepper__item.is-done { color: var(--text); }
.stepper__line { flex: 1; height: 2px; background: var(--border); border-radius: 2px; min-width: 12px; }

.form-step { display: none; animation: fadeUp .4s var(--ease); }
.form-step.is-active { display: block; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.form-step__title { margin-bottom: .3rem; }
.form-step__hint { font-size: .88rem; margin-bottom: var(--space-5); }

.form-grid { display: grid; gap: var(--space-4); }
.form-grid--2 { grid-template-columns: 1fr 1fr; }

/* Choice cards (service type, passengers) */
.choices { display: grid; gap: .75rem; }
.choices--2 { grid-template-columns: 1fr 1fr; }
.choice {
  position: relative;
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--dur) var(--ease);
  background: var(--surface);
}
.choice:hover { border-color: rgba(0,196,140,.5); }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice__icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--gray-100);
  color: var(--text-muted);
  flex: none;
  transition: all var(--dur) var(--ease);
}
[data-theme="dark"] .choice__icon { background: var(--navy-700); }
.choice__icon svg { width: 21px; height: 21px; }
.choice__body b { display: block; font-family: var(--font-heading); font-size: .95rem; margin-bottom: .1rem; }
.choice__body span { font-size: .8rem; color: var(--text-muted); }
.choice:has(input:checked) {
  border-color: var(--green);
  background: var(--green-light);
  box-shadow: 0 0 0 4px rgba(0,196,140,.10);
}
[data-theme="dark"] .choice:has(input:checked) { background: rgba(0,196,140,.10); }
.choice:has(input:checked) .choice__icon { background: var(--green); color: var(--accent-contrast); }

/* Counter (passengers / luggage) */
.counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
}
.counter__label { display: flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 600; }
.counter__label svg { width: 19px; height: 19px; color: var(--green); }
.counter__ctrl { display: flex; align-items: center; gap: .7rem; }
.counter__btn {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  transition: all var(--dur) var(--ease);
}
.counter__btn:hover { border-color: var(--green); color: var(--green-dark); }
.counter__val { min-width: 26px; text-align: center; font-weight: 800; font-family: var(--font-heading); }

.form-nav {
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--border);
}

/* ---------- 14. Map ------------------------------------------------------- */
.map-panel { position: sticky; top: calc(var(--header-h) + 20px); }
.map-shell {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  background: var(--gray-100);
  height: 340px;
  position: relative;
  z-index: 1;
}
.map-shell--tall { height: 440px; }
#map, .map { width: 100%; height: 100%; }

.map-placeholder {
  position: absolute; inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(160deg, var(--gray-100), var(--gray-200));
  color: var(--text-muted);
}
[data-theme="dark"] .map-placeholder { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); }
.map-placeholder svg { width: 40px; height: 40px; margin: 0 auto .7rem; color: var(--gray-400); }
.map-placeholder p { font-size: .88rem; max-width: 30ch; margin-inline: auto; }

.route-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
  margin-top: var(--space-4);
}
.route-metric {
  text-align: center;
  padding: .85rem .5rem;
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.route-metric svg { width: 19px; height: 19px; color: var(--green); margin: 0 auto .35rem; }
.route-metric b { display: block; font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.2; }
.route-metric span { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .05em; }

/* Price estimate panel */
.price-panel {
  margin-top: var(--space-4);
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, var(--navy), #0d2755);
  color: #fff;
}
.price-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.price-panel__head span { font-size: .82rem; color: rgba(255,255,255,.7); }
.price-panel__total {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}
.price-lines { margin-top: .9rem; display: grid; gap: .5rem; }
.price-line { display: flex; justify-content: space-between; font-size: .87rem; color: rgba(255,255,255,.82); }
.price-line b { font-weight: 700; color: #fff; }
.price-line--surge { color: var(--amber); }
.price-panel__note { margin-top: .9rem; font-size: .76rem; color: rgba(255,255,255,.55); }

/* ---------- 15. Payment / summary ----------------------------------------- */
.summary-list { display: grid; gap: .1rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: .9rem;
}
.summary-row:last-child { border-bottom: none; }
.summary-row dt { color: var(--text-muted); }
.summary-row dd { font-weight: 600; text-align: right; }

.pay-card {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: var(--bg);
}
.pay-card__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.pay-card__head b { font-family: var(--font-heading); }
.pay-simulated {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--amber);
  background: rgba(245,158,11,.12);
  padding: .28rem .6rem;
  border-radius: var(--radius-pill);
}

.stripe-strip {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  color: var(--text-muted);
  margin-top: .8rem;
}
.stripe-strip svg { width: 15px; height: 15px; color: var(--green); }

/* Status pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .26rem .65rem;
  border-radius: var(--radius-pill);
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.pill--pending { background: rgba(245,158,11,.14); color: #b06f00; }
.pill--paid { background: rgba(0,196,140,.14); color: var(--green-dark); }
.pill--confirmed { background: rgba(59,130,246,.14); color: #1d4ed8; }
.pill--completed { background: rgba(10,31,68,.12); color: var(--navy); }
.pill--cancelled { background: rgba(230,57,70,.14); color: var(--red); }
[data-theme="dark"] .pill--completed { background: rgba(255,255,255,.12); color: #fff; }

/* ---------- 16. Alerts / success ------------------------------------------ */
.alert {
  display: flex;
  gap: .8rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  font-size: .9rem;
  align-items: flex-start;
}
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.alert--success { background: var(--green-light); color: #06624a; }
.alert--success svg { color: var(--green-dark); }
.alert--info { background: var(--gray-100); color: var(--navy); }
.alert--warn { background: rgba(245,158,11,.12); color: #8a5600; }
[data-theme="dark"] .alert--success { background: rgba(0,196,140,.13); color: #7ff0cd; }
[data-theme="dark"] .alert--info { background: var(--navy-700); color: #dbe6f7; }

.success-screen { text-align: center; padding: var(--space-6) var(--space-4); }
.success-screen__icon {
  width: 82px; height: 82px;
  margin: 0 auto var(--space-5);
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green-dark);
  animation: pop .5s var(--ease);
}
[data-theme="dark"] .success-screen__icon { background: rgba(0,196,140,.15); color: var(--green); }
.success-screen__icon svg { width: 40px; height: 40px; }
@keyframes pop {
  0% { transform: scale(.5); opacity: 0; }
  60% { transform: scale(1.08); }
  100% { transform: scale(1); opacity: 1; }
}
.ref-code {
  display: inline-block;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--navy);
  background: var(--gray-100);
  padding: .6rem 1.1rem;
  border-radius: var(--radius);
  margin-top: .5rem;
}
[data-theme="dark"] .ref-code { background: var(--navy-700); color: var(--green); }

/* ---------- 17. Testimonials ---------------------------------------------- */
.quote {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.quote__stars { display: flex; gap: 2px; color: var(--amber); }
.quote__stars svg { width: 17px; height: 17px; }
.quote p { font-size: .93rem; font-style: italic; color: var(--text); flex: 1; }
.quote__author { display: flex; align-items: center; gap: .7rem; }
.quote__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--green);
  font-family: var(--font-heading);
  font-weight: 800;
  flex: none;
}
.quote__author b { display: block; font-size: .9rem; font-family: var(--font-heading); }
.quote__author span { font-size: .78rem; color: var(--text-muted); }

/* ---------- 18. FAQ ------------------------------------------------------- */
.faq { display: grid; gap: .7rem; max-width: 820px; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.faq__item[open] { border-color: rgba(0,196,140,.45); box-shadow: var(--shadow-xs); }
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .98rem;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q svg { width: 20px; height: 20px; color: var(--green); flex: none; transition: transform var(--dur) var(--ease); }
.faq__item[open] .faq__q svg { transform: rotate(45deg); }
.faq__a { padding: 0 1.2rem 1.15rem; font-size: .91rem; color: var(--text-muted); }

/* ---------- 19. Blog ------------------------------------------------------ */
.post {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post__media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--navy); position: relative; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__media img { transform: scale(1.06); }
.post__media--grad { display: grid; place-items: center; color: rgba(255,255,255,.9); }
.post__media--grad svg { width: 46px; height: 46px; color: var(--green); }
.post__cat {
  position: absolute; top: 12px; left: 12px;
  padding: .28rem .7rem;
  border-radius: var(--radius-pill);
  background: rgba(6,18,36,.75);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  backdrop-filter: blur(6px);
}
.post__body { padding: 1.3rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.post__meta { font-size: .78rem; color: var(--text-muted); display: flex; gap: .7rem; align-items: center; }
.post__body h3 { font-size: 1.12rem; }
.post__body p { font-size: .89rem; flex: 1; }
.post__more { font-weight: 700; font-size: .86rem; color: var(--green-dark); display: inline-flex; align-items: center; gap: .4rem; }
.post__more svg { width: 15px; height: 15px; transition: transform var(--dur) var(--ease); }
.post:hover .post__more svg { transform: translateX(4px); }

/* Article layout */
.article { max-width: 760px; margin-inline: auto; }
.article h2 { margin-top: var(--space-7); margin-bottom: var(--space-4); }
.article h3 { margin-top: var(--space-6); margin-bottom: var(--space-3); }
.article p, .article li { color: var(--text-muted); margin-bottom: var(--space-4); }
.article ul { list-style: disc; padding-left: 1.4rem; }
.article ul li { margin-bottom: .5rem; }
.article ul li::marker { color: var(--green); }
.article blockquote {
  border-left: 4px solid var(--green);
  padding: .4rem 0 .4rem 1.2rem;
  margin: var(--space-5) 0;
  font-style: italic;
  color: var(--text);
}

/* ---------- 20. Contact --------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.contact-item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-of-type { border-bottom: none; }
.contact-item__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green-dark);
  flex: none;
}
[data-theme="dark"] .contact-item__icon { background: rgba(0,196,140,.14); color: var(--green); }
.contact-item__icon svg { width: 21px; height: 21px; }
.contact-item b { display: block; font-family: var(--font-heading); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); margin-bottom: .15rem; }
.contact-item a, .contact-item span { font-size: .98rem; font-weight: 600; color: var(--text); }
.contact-item a:hover { color: var(--green-dark); }

/* ---------- 21. Legal / prose --------------------------------------------- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.45rem; margin-top: var(--space-7); margin-bottom: var(--space-3); }
.prose h3 { font-size: 1.1rem; margin-top: var(--space-5); margin-bottom: var(--space-2); }
.prose p, .prose li { color: var(--text-muted); margin-bottom: var(--space-3); font-size: .94rem; }
.prose ul { list-style: disc; padding-left: 1.4rem; }
.prose ul li::marker { color: var(--green); }
.prose strong { color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; margin: var(--space-4) 0; font-size: .88rem; }
.prose th, .prose td { text-align: left; padding: .6rem .7rem; border: 1px solid var(--border); }
.prose th { background: var(--bg-alt); font-family: var(--font-heading); }
.toc {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-bottom: var(--space-6);
}
.toc b { font-family: var(--font-heading); display: block; margin-bottom: .5rem; }
.toc ol { list-style: decimal; padding-left: 1.2rem; }
.toc li { margin-bottom: .25rem; font-size: .89rem; }
.toc a { color: var(--text-muted); }
.toc a:hover { color: var(--green-dark); }

/* ---------- 22. Page hero (inner pages) ----------------------------------- */
.page-hero {
  background:
    radial-gradient(900px 420px at 85% -20%, rgba(0,196,140,.18), transparent 60%),
    linear-gradient(165deg, var(--navy), #071731);
  color: #fff;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.78); max-width: 62ch; margin-top: var(--space-4); font-size: 1.05rem; }
.breadcrumb {
  display: flex;
  gap: .45rem;
  align-items: center;
  font-size: .82rem;
  color: rgba(255,255,255,.62);
  margin-bottom: var(--space-4);
}
.breadcrumb a:hover { color: var(--green); }
.breadcrumb svg { width: 14px; height: 14px; }
.breadcrumb [aria-current] { color: #fff; }

/* ---------- 23. CTA band -------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(700px 300px at 90% 10%, rgba(0,196,140,.25), transparent 60%),
    linear-gradient(150deg, var(--navy), #0b2450);
  color: #fff;
  padding: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 56ch; margin: var(--space-4) auto var(--space-6); }
.cta-band__actions { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- 24. Footer ---------------------------------------------------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.72);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  font-size: .9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: var(--space-7);
}
.site-footer .brand { color: #fff; }
.site-footer h4 {
  color: #fff;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: var(--space-4);
}
.footer-links { display: grid; gap: .55rem; }
.footer-links a { color: rgba(255,255,255,.72); transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease); }
.footer-links a:hover { color: var(--green); padding-left: 4px; }
.footer-contact { display: grid; gap: .7rem; }
.footer-contact a { display: flex; gap: .6rem; align-items: center; color: rgba(255,255,255,.82); }
.footer-contact a:hover { color: var(--green); }
.footer-contact svg { width: 17px; height: 17px; color: var(--green); flex: none; }
.footer-about { margin-top: var(--space-4); max-width: 34ch; line-height: 1.7; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-block: var(--space-5);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .82rem;
  color: rgba(255,255,255,.55);
}
.footer-legal__links { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer-legal__links a:hover { color: var(--green); }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: var(--space-4);
  padding: .45rem .8rem;
  border-radius: var(--radius-pill);
  background: rgba(0,196,140,.12);
  border: 1px solid rgba(0,196,140,.3);
  color: var(--green);
  font-size: .76rem;
  font-weight: 600;
}

/* ---------- 25. Floating call button -------------------------------------- */
.call-fab {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--accent-contrast);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: .92rem;
  box-shadow: 0 12px 30px rgba(0,196,140,.42);
  transition: transform var(--dur) var(--ease);
}
.call-fab:hover { transform: translateY(-3px) scale(1.03); }
.call-fab svg { width: 19px; height: 19px; }
@media (max-width: 720px) {
  .call-fab { right: 14px; bottom: 14px; padding: .8rem; }
  .call-fab span { display: none; }
}

/* ---------- 26. Admin ----------------------------------------------------- */
.admin-login {
  max-width: 420px;
  margin: clamp(3rem, 8vw, 6rem) auto;
}
.admin-shell { display: none; }
.admin-shell.is-auth { display: block; }
.admin-login.is-hidden { display: none; }

.kpi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: var(--space-4); }
.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.kpi__label { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 700; }
.kpi__value { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 800; margin-top: .3rem; line-height: 1.1; }
.kpi__delta { font-size: .78rem; color: var(--green-dark); font-weight: 600; }

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
table.data { width: 100%; border-collapse: collapse; font-size: .87rem; min-width: 820px; }
table.data th {
  text-align: left;
  padding: .85rem .9rem;
  background: var(--bg-alt);
  font-family: var(--font-heading);
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
table.data td { padding: .8rem .9rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.data tbody tr { transition: background var(--dur) var(--ease); }
table.data tbody tr:hover { background: var(--bg-alt); }
table.data tbody tr:last-child td { border-bottom: none; }
.cell-strong { font-weight: 700; color: var(--text); }
.cell-muted { color: var(--text-muted); font-size: .82rem; }

.filters {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: var(--space-5);
}
.filters .input, .filters .select { width: auto; min-width: 150px; }

.icon-btn {
  width: 32px; height: 32px;
  display: inline-grid; place-items: center;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all var(--dur) var(--ease);
}
.icon-btn:hover { border-color: var(--green); color: var(--green-dark); }
.icon-btn svg { width: 15px; height: 15px; }
.row-actions { display: flex; gap: .35rem; }

/* Modal */
.modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  background: rgba(6,18,36,.6);
  backdrop-filter: blur(4px);
}
.modal.is-open { display: flex; }
.modal__box {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  animation: fadeUp .3s var(--ease);
}
.modal__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: var(--surface);
}
.modal__head h3 { font-size: 1.15rem; }
.modal__body { padding: 1.4rem; }

/* Toast */
.toast-host {
  position: fixed;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  display: grid;
  gap: .5rem;
  width: min(420px, calc(100vw - 28px));
}
.toast {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-lg);
  font-size: .88rem;
  animation: fadeUp .3s var(--ease);
}
.toast svg { width: 18px; height: 18px; color: var(--green); flex: none; margin-top: 2px; }
.toast--error svg { color: #ff8f99; }

/* ---------- 27. Reveal on scroll ------------------------------------------ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- 28. Responsive ------------------------------------------------ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; }
  .booking-layout { grid-template-columns: 1fr; }
  .map-panel { position: static; }
  .quickbook__row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* Bascule du tiroir latéral : portée étendue de 860 à 940 px.
   Mesuré : entre 861 et 940 px de fenêtre, la somme marque + 7 liens +
   téléphone + bascule ne tient pas sur une ligne (le numéro de téléphone se
   repliait sur deux lignes). Un tiroir est plus lisible qu'un en-tête écrasé.
   Ce bloc ne contient QUE des règles de tiroir : l'étendre est sans effet
   de bord sur le reste de la mise en page mobile (section 41). */
@media (max-width: 940px) {
  /* ---- Tiroir latéral (menu déroulant latéral) ---- */
  .nav__links {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1000;
    width: min(84vw, 340px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .15rem;
    padding: 0 1rem 1.6rem;
    background: var(--bg);
    border-right: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform var(--dur) var(--ease), visibility var(--dur) var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .nav__links.is-open { transform: translateX(0); visibility: visible; }

  /* En-tête du tiroir : marque + fermeture (injecté par js/main.js) */
  .nav__drawer-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin: 0 -1rem .6rem;
    padding: .85rem 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }
  .nav__drawer-brand {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-family: var(--font-heading);
    font-size: .95rem;
    font-weight: 800;
    color: var(--text);
  }
  .nav__drawer-brand img { width: 32px; height: 32px; border-radius: 8px; }
  .nav__drawer-close {
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    flex: none;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--bg-alt);
    color: var(--text);
    cursor: pointer;
  }
  .nav__drawer-close:hover { border-color: var(--green); color: var(--green-dark); }
  .nav__drawer-close svg { width: 18px; height: 18px; }

  .nav__link {
    padding: .9rem 1rem;
    font-size: 1rem;
    border-radius: var(--radius-sm);
  }
  .nav__link.is-active::after { display: none; }
  .nav__link.is-active { background: var(--gray-100); }
  [data-theme="dark"] .nav__link.is-active { background: var(--navy-700); }

  /* Le téléphone reste accessible depuis le tiroir */
  .nav__phone span { display: inline; }
  .nav__toggle { display: grid; }

  /* Voile derrière le tiroir.
     ⚠️ 850 et NON 950 : `.site-header` porte `z-index: 900` ET un
     `backdrop-filter`, il forme donc un CONTEXTE D'EMPILEMENT. Or le tiroir
     (`.nav__links`, z-index 1000) vit À L'INTÉRIEUR de cet en-tête : son 1000 ne
     compte qu'au sein de ce contexte. Un voile à 950 passait donc au-dessus de
     l'en-tête entier, et par conséquent au-dessus du tiroir.
     Mesuré en 390 px : les 7 liens du menu répondaient `nav-scrim` à
     `elementFromPoint` — le menu était incliquable, tout appui fermait le
     tiroir au lieu de naviguer. Le voile doit rester SOUS l'en-tête (900) mais
     AU-DESSUS du contenu de page et du bouton d'appel flottant (800). */
  .nav-scrim {
    position: fixed;
    inset: 0;
    z-index: 850;
    background: rgba(4, 12, 26, .55);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
  }
  body.nav-locked { overflow: hidden; }
  body.nav-locked .nav-scrim { opacity: 1; visibility: visible; }
}

/* Le voile n'existe pas en affichage bureau */
@media (min-width: 941px) {
  .nav-scrim { display: none; }
  .nav__drawer-head { display: none; }
}

@media (max-width: 640px) {
  .quickbook__row { grid-template-columns: 1fr; }
  .form-grid--2 { grid-template-columns: 1fr; }
  .choices--2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .route-summary { grid-template-columns: 1fr 1fr 1fr; }
  .stepper__label { display: none; }
  .hero__float { display: none; }
  .footer-legal { flex-direction: column; }
  .btn { width: 100%; }
  .hero__cta .btn, .cta-band__actions .btn { width: auto; flex: 1 1 auto; }
  .form-nav { flex-direction: column-reverse; }
  .form-nav .btn { width: 100%; }
}

/* ---------- 29. Utilities ------------------------------------------------- */
.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: 1200;
  padding: .7rem 1.1rem;
  background: var(--green);
  color: var(--accent-contrast);
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 700;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 0; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--border); margin-block: var(--space-6); border: 0; }

/* Leaflet tuning */
.leaflet-container { font-family: var(--font-body); z-index: 1; }
.leaflet-bar a { color: var(--navy) !important; }
.leaflet-popup-content-wrapper { border-radius: var(--radius) !important; }

/* ---------- 30. Hero video intro ------------------------------------------ */
/* Texte d'accroche du hero : slogan principal + précision secondaire */
.hero .hero__lead { color: rgba(255, 255, 255, .88); font-size: 1.12rem; }
.hero .hero__sub { color: rgba(255, 255, 255, .60); font-size: .95rem; margin-top: .7rem; }

.hero-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, #16283f, #0b1a30);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
  aspect-ratio: 4 / 3.15;
  isolation: isolate;
}
.hero-video__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #061529;
}
.hero-video__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.25rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(6, 18, 36, .35) 0%, rgba(6, 18, 36, .72) 60%, rgba(6, 18, 36, .9) 100%);
  transition: opacity .45s var(--ease), visibility .45s var(--ease);
}
.hero-video__overlay[hidden] { display: none; }
.hero-video.is-playing .hero-video__overlay { opacity: 0; visibility: hidden; pointer-events: none; }
.hero-video__play {
  display: grid;
  place-items: center;
  width: 76px; height: 76px;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #04231a;
  background: radial-gradient(circle at 32% 28%, #34e0ab, var(--green));
  box-shadow: 0 0 0 0 rgba(0, 196, 140, .55), 0 18px 40px rgba(0, 196, 140, .38);
  animation: heroPulse 2.6s var(--ease) infinite;
  transition: transform .25s var(--ease);
}
.hero-video__play:hover { transform: scale(1.07); }
.hero-video__play svg { width: 30px; height: 30px; margin-left: 3px; }
@keyframes heroPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 196, 140, .55), 0 18px 40px rgba(0, 196, 140, .38); }
  70%  { box-shadow: 0 0 0 22px rgba(0, 196, 140, 0), 0 18px 40px rgba(0, 196, 140, .38); }
  100% { box-shadow: 0 0 0 0 rgba(0, 196, 140, 0), 0 18px 40px rgba(0, 196, 140, .38); }
}
.hero-video__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: var(--radius-pill);
  background: rgba(6, 18, 36, .55);
  color: #fff;
  font: inherit;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hero-video__cta:hover { background: rgba(0, 196, 140, .22); border-color: rgba(0, 196, 140, .6); }
.hero-video__cta svg { width: 15px; height: 15px; color: var(--green); }
.hero-video__caption {
  max-width: 30ch;
  margin: 0;
  color: rgba(255, 255, 255, .9);
  font-size: .86rem;
  line-height: 1.5;
}
.hero-video__badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .34rem .7rem;
  border-radius: var(--radius-pill);
  background: rgba(6, 18, 36, .72);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  backdrop-filter: blur(8px);
  transition: opacity .3s var(--ease);
}
.hero-video__badge svg { width: 13px; height: 13px; color: var(--green); }
.hero-video.is-playing .hero-video__badge { opacity: 0; pointer-events: none; }
.hero-video__tag {
  position: absolute;
  left: 14px; bottom: 14px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem .9rem;
  border-radius: var(--radius-pill);
  background: rgba(6, 18, 36, .72);
  border: 1px solid rgba(0, 196, 140, .4);
  color: #fff;
  font-size: .8rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
}
.hero-video__tag svg { width: 15px; height: 15px; color: var(--green); }
.hero-video__fs {
  position: absolute;
  right: 12px; bottom: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .44rem .8rem;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: var(--radius-pill);
  background: rgba(6, 18, 36, .68);
  color: #fff;
  font: inherit;
  font-size: .74rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.hero-video__fs:hover { background: rgba(0, 196, 140, .22); border-color: rgba(0, 196, 140, .6); }
.hero-video__fs svg { width: 14px; height: 14px; }
.hero-video__fs[hidden] { display: none; }

/* Repli si l'API Fullscreen n'est pas disponible : plein écran simulé en CSS */
.hero-video.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  width: 100vw;
  height: 100vh;
  max-width: none;
  aspect-ratio: auto;
  border-radius: 0;
  border: 0;
}
.hero-video.is-fullscreen .hero-video__media { height: 100vh; object-fit: contain; background: #000; }
.hero-video.is-fullscreen .hero-video__fs { right: 20px; bottom: 20px; }
.hero-video.is-fullscreen .hero-video__tag { left: 20px; bottom: 20px; }
body.video-locked { overflow: hidden; }

/* Variante posée sous la vidéo (le badge flottant chevaucherait les boutons) */
.hero__float--static {
  position: static;
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .95rem;
}
.hero__float--static > div { display: grid; gap: .1rem; }
.hero__float--static b { font-family: var(--font-heading); font-size: .9rem; }
.hero__float--static span { font-size: .78rem; color: var(--text-muted); }
.hero__float--static svg { width: 22px; height: 22px; color: var(--green); flex: none; }
@media (max-width: 640px) { .hero__float--static { display: none; } }

/* ---------- 31. Moyens de paiement ---------------------------------------- */
.pay-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .55rem;
  margin-top: .35rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--border);
}
.pay-brands__label {
  width: 100%;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.pay-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  min-width: 62px;
  padding: 0 .6rem;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  box-shadow: var(--shadow-xs);
}
.pay-brand svg { height: 22px; width: auto; display: block; }
[data-theme="dark"] .pay-brand { background: #f7f9fc; border-color: rgba(255, 255, 255, .16); }
.pay-brand--wide { min-width: 78px; }
.pay-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: .75rem;
  font-size: .76rem;
  color: var(--text-muted);
}
.pay-note svg { width: 14px; height: 14px; flex: none; margin-top: 2px; color: var(--green); }

/* ---------- 32. Siège enfant ---------------------------------------------- */
.child-seat {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .9rem 1rem;
  border: 1.5px solid color-mix(in srgb, var(--green) 45%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--green) 7%, var(--bg));
}
.child-seat__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 11px;
  background: rgba(0, 196, 140, .16);
}
.child-seat__icon svg { width: 21px; height: 21px; color: var(--green-dark); }
[data-theme="dark"] .child-seat__icon svg { color: var(--green); }
.child-seat__body { display: grid; gap: .15rem; }
.child-seat__body b { font-family: var(--font-heading); font-size: .93rem; }
.child-seat__body span { font-size: .8rem; color: var(--text-muted); line-height: 1.45; }
.child-seat__count {
  margin-left: auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--accent-contrast);
  font-size: .74rem;
  font-weight: 800;
  white-space: nowrap;
}
.child-seat__count svg { width: 13px; height: 13px; }

/* Version case à cocher (formulaire de réservation) */
label.child-seat {
  position: relative;
  cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
label.child-seat:hover { border-color: var(--green); }
label.child-seat:has(input:checked) {
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 15%, var(--bg));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent);
}
label.child-seat:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 3px; }
label.child-seat .child-seat__count svg { opacity: .45; transition: opacity .2s var(--ease); }
label.child-seat:has(input:checked) .child-seat__count svg { opacity: 1; }
.field input.input:disabled { opacity: .55; cursor: not-allowed; }

/* Chip « siège enfant inclus » réutilisable (services, à-propos, tarifs) */
.feature-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .42rem .85rem;
  border-radius: var(--radius-pill);
  border: 1px solid color-mix(in srgb, var(--green) 40%, var(--border));
  background: color-mix(in srgb, var(--green) 8%, var(--bg));
  font-size: .8rem;
  font-weight: 600;
}
.feature-chip svg { width: 15px; height: 15px; color: var(--green-dark); }
[data-theme="dark"] .feature-chip svg { color: var(--green); }

@media (max-width: 640px) {
  .hero-video { aspect-ratio: 16 / 11; }
  .hero-video__play { width: 62px; height: 62px; }
  .hero-video__play svg { width: 25px; height: 25px; }
  .hero-video__caption { font-size: .8rem; }
  .child-seat { flex-wrap: wrap; }
  .child-seat__count { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video__play { animation: none; }
  .hero-video__overlay { transition: none; }
}

/* ---------- 33. Carte : repères, position GPS, popups ---------------------- */
/* Repères Départ (vert) / Arrivée (navy) — liseré blanc + ombre portée */
.taxi-pin { background: none; border: 0; }
.taxi-pin svg { display: block; filter: drop-shadow(0 5px 7px rgba(6, 18, 36, .38)); }
.taxi-pin--start svg { filter: drop-shadow(0 5px 8px rgba(0, 196, 140, .45)); }
.taxi-pin--end svg { filter: drop-shadow(0 5px 8px rgba(10, 31, 68, .45)); }

/* Point bleu « vous êtes ici », à la manière de Google Maps */
.taxi-user { background: none; border: 0; }
.taxi-user__core {
  position: absolute; left: 50%; top: 50%;
  width: 16px; height: 16px;
  margin: -8px 0 0 -8px;
  border-radius: 50%;
  background: #1A73E8;
  border: 3px solid #fff;
  box-shadow: 0 2px 7px rgba(6, 18, 36, .5);
  z-index: 2;
}
.taxi-user__halo {
  position: absolute; left: 50%; top: 50%;
  width: 24px; height: 24px;
  margin: -12px 0 0 -12px;
  border-radius: 50%;
  background: rgba(26, 115, 232, .38);
  animation: userPulse 2.2s var(--ease) infinite;
}
@keyframes userPulse {
  0%   { transform: scale(.55); opacity: .85; }
  70%  { transform: scale(2.5); opacity: 0; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Bouton « Ma position » (contrôle Leaflet en haut à droite) */
.map-locate {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.map-locate svg { width: 19px; height: 19px; }
.map-locate:hover { color: var(--green-dark); background: var(--bg-alt); }
.map-locate.is-loading { color: var(--green-dark); }
.map-locate.is-loading svg { animation: spin 1s linear infinite; }
[data-theme="dark"] .map-locate { color: #e8eefc; }

/* Popups de la carte (fond blanc imposé par Leaflet → texte sombre) */
.map-popup { display: grid; gap: .2rem; min-width: 150px; }
.map-popup__head {
  display: flex; align-items: center; gap: .45rem;
  font-family: var(--font-heading);
  font-weight: 700; font-size: .87rem; color: #0A1F44;
}
.map-popup__dot {
  width: 9px; height: 9px; flex: none;
  border-radius: 50%;
  background: var(--dot, #00C48C);
}
.map-popup__addr { font-size: .78rem; line-height: 1.4; color: #4A5568; }

/* Bouton « Ma position » dans le champ Adresse de départ */
.field-locate {
  position: absolute;
  right: 6px; top: 50%;
  transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .34rem .62rem;
  border: 1px solid color-mix(in srgb, var(--green) 45%, var(--border));
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--green) 10%, var(--surface));
  color: var(--green-dark);
  font: inherit; font-size: .73rem; font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  z-index: 3;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.field-locate:hover { background: color-mix(in srgb, var(--green) 20%, var(--surface)); border-color: var(--green); }
.field-locate svg { width: 14px; height: 14px; }
.field-locate.is-loading svg { animation: spin 1s linear infinite; }
[data-theme="dark"] .field-locate { color: var(--green); }
.field-icon:has(.field-locate) .input { padding-right: 124px; }

/* Pastilles D / A devant les libellés d'adresse (rappel des repères carte) */
.field-mark {
  display: inline-grid;
  place-items: center;
  width: 17px; height: 17px;
  margin-right: .38rem;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: .67rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  vertical-align: -3px;
}
.field-mark--start { background: var(--green); color: var(--accent-contrast); }
.field-mark--end { background: var(--navy); color: #fff; }
.field-icon--start svg { color: var(--green-dark); }
.field-icon--end svg { color: var(--navy); }
[data-theme="dark"] .field-icon--end svg { color: #8FB4FF; }
[data-theme="dark"] .field-mark--end { background: #24467f; }

@media (max-width: 640px) {
  .field-locate span { display: none; }
  .field-locate { padding: .34rem .5rem; }
  .field-icon:has(.field-locate) .input { padding-right: 52px; }
}

/* ---------- 34. Sélecteur de fond de plan ---------------------------------- */
.map-layers {
  position: relative;
  font-family: var(--font-body);
}
.map-layers__btn {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--surface);
  color: var(--navy);
  cursor: pointer;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.map-layers__btn svg { width: 19px; height: 19px; }
.map-layers__btn:hover { color: var(--green-dark); background: var(--bg-alt); }
[data-theme="dark"] .map-layers__btn { color: #e8eefc; }

.map-layers__panel {
  position: absolute;
  top: 0; left: calc(100% + 7px);
  display: none;
  min-width: 148px;
  padding: .3rem;
  border-radius: 9px;
  background: var(--surface);
  box-shadow: var(--shadow);
  z-index: 900;
}
.map-layers.is-open .map-layers__panel { display: block; }
.map-layers__item {
  display: flex;
  align-items: center;
  gap: .5rem;
  width: 100%;
  padding: .42rem .55rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: .82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
.map-layers__item:hover { background: var(--bg-alt); }
.map-layers__item.is-active { color: var(--green-dark); background: color-mix(in srgb, var(--green) 12%, transparent); }
[data-theme="dark"] .map-layers__item.is-active { color: var(--green); }
.map-layers__swatch {
  width: 15px; height: 15px; flex: none;
  border-radius: 4px;
  border: 1px solid rgba(10, 31, 68, .18);
}
.map-layers__swatch--plan { background: linear-gradient(135deg, #fdf6e8 0 55%, #f0a860 55% 100%); }
.map-layers__swatch--detailed { background: linear-gradient(135deg, #f7f1e3 0 45%, #b8d8a0 45% 70%, #7fb3e0 70% 100%); }
.map-layers__swatch--satellite { background: linear-gradient(135deg, #4b5a3a 0 50%, #2f4a2a 50% 100%); }
.map-layers__swatch--relief { background: linear-gradient(135deg, #efe7d8 0 50%, #c9b89a 50% 100%); }

/* Thème sombre : on assombrit les tuiles vectorielles (jamais le satellite) */
.map-tiles-dark .leaflet-tile-pane {
  filter: invert(1) hue-rotate(180deg) saturate(.75) brightness(.92) contrast(1.05);
}

/* ---------- 35. Visionneuse d'image (zoom au clic) ------------------------- */
[data-zoom] { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(4, 12, 26, .92);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .22s var(--ease), visibility .22s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
/* Empêche la page de défiler derrière la visionneuse. */
body.lightbox-locked { overflow: hidden; }

.lightbox__inner {
  margin: 0;
  display: grid;
  place-items: center;
  gap: .9rem;
  transform: scale(.94);
  transition: transform .28s var(--ease);
}
.lightbox.is-open .lightbox__inner { transform: scale(1); }
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 9rem);
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  background: #fff;
}
@supports (height: 100dvh) {
  .lightbox__img { max-height: calc(100dvh - 9rem); }
}
.lightbox__cap {
  max-width: 62ch;
  text-align: center;
  font-size: .86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .84);
}
.lightbox__close {
  position: absolute;
  top: clamp(.8rem, 3vw, 1.6rem);
  right: clamp(.8rem, 3vw, 1.6rem);
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 50%;
  background: rgba(6, 18, 36, .6);
  color: #fff;
  cursor: pointer;
}
.lightbox__close:hover { background: rgba(0, 196, 140, .3); }
.lightbox__close svg { width: 20px; height: 20px; }

/* ---------- 36. Bloc marque (blog / contact) ------------------------------- */
.brand-showcase {
  margin: 0;
  padding: clamp(1.2rem, 3vw, 2rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
/* Deux visuels côte à côte sur grand écran, empilés sur mobile.
   `align-items: start` : chaque carte se cale sur la hauteur réelle de son
   visuel, sans bande blanche résiduelle sous le plus petit des deux. */
.brand-showcase__grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: clamp(1rem, 2.5vw, 1.6rem);
  margin-top: clamp(1.2rem, 3vw, 2rem);
}
@media (min-width: 900px) {
  .brand-showcase__grid { grid-template-columns: 1fr 1fr; }
}
/* Le déclencheur du zoom : un vrai <button> (accessible au clavier). */
.brand-showcase__zoom {
  position: relative;
  display: block;
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: none;
  font: inherit;
  overflow: hidden;
  cursor: zoom-in;
}
.brand-showcase__img {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: var(--radius);
  transition: transform .35s var(--ease);
}
.brand-showcase__zoom:hover .brand-showcase__img,
.brand-showcase__zoom:focus-visible .brand-showcase__img { transform: scale(1.035); }
.brand-showcase__zoom:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.brand-showcase figcaption {
  margin-top: 1rem;
  font-size: .82rem;
  color: var(--text-muted);
}
.brand-showcase__hint {
  position: absolute;
  left: 50%;
  bottom: .7rem;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  background: rgba(4, 12, 26, .72);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
  pointer-events: none;
}
.brand-showcase__zoom:hover .brand-showcase__hint,
.brand-showcase__zoom:focus-visible .brand-showcase__hint { opacity: 1; }
.brand-showcase__hint svg { width: 13px; height: 13px; }
@media (hover: none) {
  /* Écrans tactiles : pas de survol, on montre l'indication en permanence. */
  .brand-showcase__hint { opacity: 1; }
}

/* Bandeau de marque (page à propos) */
.brand-banner {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ---------- 37. Bouton « Inverser » (départ / arrivée) --------------------- */
.form-swap {
  display: flex;
  justify-content: center;
  margin-top: .9rem;
}
.btn-swap {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn-swap:hover { border-color: var(--green); color: var(--green-dark); background: color-mix(in srgb, var(--green) 8%, var(--bg)); }
.btn-swap:active { transform: scale(.97); }
.btn-swap svg { width: 16px; height: 16px; }
.btn-swap.is-spun svg { animation: swap-spin .5s var(--ease); }
@keyframes swap-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(180deg); }
}
@media (prefers-reduced-motion: reduce) {
  .btn-swap.is-spun svg { animation: none; }
}

/* Pastilles D / A → remplacées par les icônes épingle / drapeau, comme sur
   Google Maps ; on garde la classe pour la compatibilité d'affichage. */
.field-mark { display: none; }

/* ---------- 38. Adresses vérifiées & confirmation avant facturation -------- */

/* 38.1 Bandeau d'état affiché sous un champ d'adresse ----------------------- */
.field-status {
  display: none;
  align-items: flex-start;
  gap: .4rem;
  margin-top: .4rem;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.35;
}
.field-status.is-ok,
.field-status.is-warn { display: flex; }
.field-status svg { width: 14px; height: 14px; flex: none; margin-top: .13rem; }
.field-status.is-ok { color: var(--green-dark); }
.field-status.is-warn { color: #a86300; }
[data-theme="dark"] .field-status.is-warn { color: var(--amber); }

/* Le champ lui-même prend une teinte d'état.
   :where() annule la spécificité pour que :focus et [aria-invalid] restent
   prioritaires — sinon le vert « vérifié » masquerait l'anneau de focus. */
.input:where(.is-verified) { border-color: var(--green); }
.input:where(.is-unverified) { border-color: var(--amber); }

/* 38.2 Bloc « adresses vérifiées » (étape 5) -------------------------------- */
.verify-box {
  border: 1.5px solid color-mix(in srgb, var(--green) 38%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--green) 6%, var(--surface));
  padding: 1rem 1.1rem;
}
.verify-box__head {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  font-family: var(--font-heading);
  font-size: .95rem;
  color: var(--green-dark);
}
[data-theme="dark"] .verify-box__head { color: var(--green); }
.verify-box__head svg { width: 18px; height: 18px; flex: none; }
.verify-box__tag {
  margin-left: auto;
  padding: .18rem .6rem;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--accent-contrast);
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.verify-box__tag.is-warn { background: var(--amber); color: #2b1a00; }
.verify-box__list {
  list-style: none;
  margin: .85rem 0 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}
.verify-box__list li { display: flex; align-items: flex-start; gap: .6rem; }
.verify-box__dot {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
}
.verify-box__dot svg { width: 14px; height: 14px; }
.verify-box__dot--start { background: var(--green); }
.verify-box__dot--end { background: var(--navy); }
[data-theme="dark"] .verify-box__dot--end { background: var(--navy-700); }
.verify-box__text { display: flex; flex-direction: column; min-width: 0; }
.verify-box__kind {
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.verify-box__text b { font-weight: 600; font-size: .9rem; overflow-wrap: anywhere; }
.verify-box__note {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px dashed color-mix(in srgb, var(--green) 34%, var(--border));
  font-size: .78rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.verify-box__note svg { width: 15px; height: 15px; flex: none; margin-top: .1rem; color: var(--green-dark); }

/* 38.3 Étape « confirmation par e-mail » ----------------------------------- */
.confirm-box {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  padding: 1rem 1.1rem;
}
.confirm-box__head {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-heading);
  font-size: .95rem;
}
.confirm-box__num,
.pay-step-head__num {
  flex: none;
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 800;
}
[data-theme="dark"] .confirm-box__num,
[data-theme="dark"] .pay-step-head__num { background: var(--navy-700); }
.confirm-box__text {
  margin: .6rem 0 .9rem;
  font-size: .85rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.confirm-box__text b { color: var(--text); }
.confirm-box__status {
  margin-top: .7rem;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.4;
}
.confirm-box__status:empty { display: none; }
.confirm-box__status.is-ok { color: var(--green-dark); }
.confirm-box__status.is-err { color: var(--red); }
.confirm-box.is-done { border-color: var(--green); background: color-mix(in srgb, var(--green) 7%, var(--bg-alt)); }

/* 38.4 Titre de l'étape paiement + rappel de verrouillage ------------------ */
.pay-step-head {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-heading);
  font-size: .95rem;
  margin-bottom: .7rem;
}
.pay-lock {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin-top: .7rem;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.4;
  color: #a86300;
}
[data-theme="dark"] .pay-lock { color: var(--amber); }
.pay-lock svg { width: 14px; height: 14px; flex: none; margin-top: .1rem; }
.pay-lock.is-ok { color: var(--green-dark); }
[data-theme="dark"] .pay-lock.is-ok { color: var(--green); }

/* Bouton d'action désactivé (paiement en attente de confirmation) */
.btn[disabled], .btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  filter: grayscale(.35);
}
.btn[disabled]:hover, .btn:disabled:hover { transform: none; box-shadow: none; }

/* Le badge « Mode test » se colle à droite de l'en-tête de confirmation */
.confirm-box__head .pay-simulated { margin-left: auto; }

/* 38.5 Option « Éditer ma facture » (facultative, décochée par défaut) ------ */
label.invoice-opt {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  padding: .9rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
label.invoice-opt:hover { border-color: var(--navy-700); }
label.invoice-opt:has(input:checked) {
  border-color: var(--navy);
  background: color-mix(in srgb, var(--navy) 5%, var(--bg-alt));
}
label.invoice-opt:has(input:focus-visible) {
  outline: 3px solid color-mix(in srgb, var(--green) 45%, transparent);
  outline-offset: 2px;
}
.invoice-opt__icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 11px;
  background: rgba(10, 31, 68, .08);
}
[data-theme="dark"] .invoice-opt__icon { background: rgba(255, 255, 255, .1); }
.invoice-opt__icon svg { width: 20px; height: 20px; color: var(--navy); }
[data-theme="dark"] .invoice-opt__icon svg { color: var(--text); }
.invoice-opt__body { display: grid; gap: .15rem; }
.invoice-opt__body b { font-family: var(--font-heading); font-size: .93rem; }
.invoice-opt__body span { font-size: .8rem; color: var(--text-muted); line-height: 1.45; }
.invoice-opt__tag {
  margin-left: auto;
  align-self: center;
  padding: .3rem .7rem;
  border-radius: var(--radius-pill);
  background: var(--gray-200);
  color: var(--gray-600);
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
}
.invoice-opt__tag.is-on { background: var(--navy); color: #fff; }
[data-theme="dark"] .invoice-opt__tag { background: rgba(255, 255, 255, .12); color: var(--text-muted); }
[data-theme="dark"] .invoice-opt__tag.is-on { background: var(--green); color: var(--accent-contrast); }

.invoice-fields {
  margin-top: .8rem;
  padding: .9rem 1rem 1rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg);
}
.invoice-fields[hidden] { display: none; }
.invoice-note {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin-top: .8rem;
  font-size: .76rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.invoice-note svg { width: 14px; height: 14px; flex: none; margin-top: .1rem; color: var(--navy); }
[data-theme="dark"] .invoice-note svg { color: var(--green); }

/* Lien « voir un exemple de facture » (mode test) */
.invoice-preview-link { margin-top: .9rem; font-size: .8rem; }
.invoice-preview-link a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  color: var(--navy);
}
.invoice-preview-link svg { width: 15px; height: 15px; flex: none; }
.invoice-preview-link a:hover { color: var(--green-dark); }
.invoice-preview-link__tag {
  display: inline-block;
  padding: .05rem .45rem;
  background: #fff8e6;
  border: 1px solid #f0d089;
  border-radius: 999px;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #8a5c00;
}
[data-theme="dark"] .invoice-preview-link a { color: var(--green); }
[data-theme="dark"] .invoice-preview-link a:hover { color: #fff; }
[data-theme="dark"] .invoice-preview-link__tag {
  background: rgba(224, 163, 24, .16);
  border-color: rgba(224, 163, 24, .45);
  color: #f0c469;
}

@media (max-width: 620px) {
  /* Sur écran étroit, le libellé d'état passe sous le texte au lieu de serrer */
  label.invoice-opt { flex-wrap: wrap; }
  .invoice-opt__tag { margin-left: 3.4rem; }
  .child-seat__count { margin-left: 3.4rem; }
}

/* ---------- 39. Facture (document A4) -------------------------------------- */

/* Le document est TOUJOURS sur fond blanc, même en thème sombre : une facture
   imprimée doit rester lisible telle quelle. On n'utilise donc pas les jetons
   de thème à l'intérieur de .inv. */
.inv {
  --inv-ink: #10203a;
  --inv-muted: #5b6779;
  --inv-line: #d9dfe9;
  --inv-soft: #f5f7fa;
  --inv-navy: #0A1F44;
  --inv-green: #00a878;
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1.1rem, 3vw, 2.4rem);
  background: #fff;
  color: var(--inv-ink);
  border: 1px solid var(--inv-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-family: var(--font-body);
  font-size: .88rem;
  line-height: 1.5;
}

/* 39.0 Mode test — facture d'aperçu (aucune valeur comptable) */
.inv--test { border-color: #e6b64c; }

.inv__test {
  margin-bottom: 1.15rem;
  padding: .8rem 1rem;
  background: #fff8e6;
  border: 1px solid #f0d089;
  border-left: 4px solid #e0a318;
  border-radius: 8px;
  color: #6b4a05;
  font-size: .8rem;
  line-height: 1.45;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.inv__test > b {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .25rem;
  font-family: var(--font-heading);
  letter-spacing: .05em;
  color: #8a5c00;
}
.inv__test > b svg { width: 16px; height: 16px; flex: none; }
.inv__test > span { display: block; }
/* Les <b> du corps du texte restent en ligne (sinon chaque emphase passe a la
   ligne) — selecteur enfant direct ci-dessus, jamais un descendant. */
.inv__test > span b { display: inline; font-weight: 700; }

.inv__watermark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.inv__watermark span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(3.4rem, 17vw, 9.5rem);
  letter-spacing: .14em;
  color: #e0a318;
  opacity: .1;
  transform: rotate(-24deg);
  white-space: nowrap;
}
.inv__title h1 em {
  display: block;
  font-style: normal;
  font-size: .6em;
  letter-spacing: .05em;
  color: #b8860b;
}

/* 39.1 En-tête : identité vendeur + identification du document */
.inv__head {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.4rem;
  align-items: start;
  padding-bottom: 1.1rem;
  border-bottom: 2px solid var(--inv-navy);
}
/* .inv__brand / .inv__brandmeta : conserves mais plus utilises — l'identite du
   vendeur n'est plus repetee dans l'en-tete (doublon signale le 2026-10-04),
   elle figure une seule fois dans le bloc PRESTATAIRE. */
.inv__brand { display: flex; flex-direction: column; gap: .7rem; }
.inv__logo { width: 100%; max-width: 250px; height: auto; display: block; }
/* Logo de la facture : le favicon est un CARRE jaune « VTC / VTC-63 ».
   Sans cette borne il occuperait 250 x 250 px et écraserait l'en-tête A4. */
.inv__logo--icon { max-width: 92px; border-radius: 12px; }
/* 39.1b Bandeau d'en-tete : le « logo principal » (jaune) sur TOUTE la largeur
   de la facture. La bande source fait 1920 x 589 px (ratio 3,26:1) : sur une
   zone utile A4 d'environ 180 mm, elle mesure ~55 mm de haut — la hauteur d'un
   papier a en-tete. Le bandeau occupe la premiere ligne de la grille. */
.inv__band { grid-column: 1 / -1; margin-bottom: .15rem; }
.inv__logo--banner { max-width: 100%; width: 100%; border-radius: 10px; }
.inv__brandmeta { display: grid; gap: .05rem; font-size: .78rem; color: var(--inv-muted); }
.inv__brandmeta b { color: var(--inv-ink); font-size: .86rem; }
.inv__title { grid-column: 1 / -1; text-align: right; }
.inv__title h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.6vw, 1.9rem);
  letter-spacing: .06em;
  color: var(--inv-navy);
  margin-bottom: .5rem;
}
.inv__id { width: 100%; border-collapse: collapse; font-size: .78rem; }
.inv__id th,
.inv__id td { padding: .22rem 0; text-align: right; vertical-align: top; }
.inv__id th { color: var(--inv-muted); font-weight: 600; padding-right: .7rem; white-space: nowrap; }
.inv__id td { color: var(--inv-ink); }

/* 39.2 Blocs Prestataire / Client */
.inv__parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.1rem;
}
.inv__party {
  padding: .8rem .9rem;
  background: var(--inv-soft);
  border-radius: var(--radius-sm);
}
/* Personne ayant reserve, quand la facture est au nom d'une societe. */
.inv__contact { color: var(--inv-muted); }
.inv__party h2 {
  font-family: var(--font-heading);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--inv-muted);
  margin-bottom: .35rem;
}
.inv__party p { font-size: .82rem; margin: 0; }
.inv__party b { color: var(--inv-navy); }

/* 39.3 Tableau des prestations */
.inv__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.3rem;
  font-size: .82rem;
}
.inv__table thead th {
  background: var(--inv-navy);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .7rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-align: left;
  padding: .55rem .7rem;
}
.inv__table thead th:first-child { border-radius: 8px 0 0 0; }
.inv__table thead th:last-child { border-radius: 0 8px 0 0; text-align: right; }
.inv__table td {
  padding: .6rem .7rem;
  border-bottom: 1px solid var(--inv-line);
  vertical-align: top;
}
.inv__c-qty { width: 3.4rem; text-align: center; }
.inv__c-pu { width: 7.5rem; text-align: right; white-space: nowrap; }
.inv__c-tot { width: 7.5rem; text-align: right; white-space: nowrap; font-weight: 700; }
.inv__table thead th.inv__c-qty { text-align: center; }
.inv__table thead th.inv__c-pu { text-align: right; }
.inv__lbl { display: block; font-weight: 600; }
.inv__det { display: block; font-size: .74rem; color: var(--inv-muted); }

/* Ligne de contexte : le trajet concerné */
.inv__triprow td { background: var(--inv-soft); border-bottom: 0; }
.inv__trip { display: block; font-size: .84rem; }
.inv__trip i { color: var(--inv-green); font-style: normal; }
.inv__tripmeta { display: block; margin-top: .18rem; font-size: .74rem; color: var(--inv-muted); }

/* 39.4 Totaux */
.inv__totals {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
  margin-top: 1.1rem;
}
.inv__tot { border-collapse: collapse; min-width: 15rem; }
.inv__tot th,
.inv__tot td { padding: .35rem .7rem; font-size: .84rem; }
.inv__tot th { text-align: left; color: var(--inv-muted); font-weight: 600; }
.inv__tot td { text-align: right; white-space: nowrap; }
.inv__tot--net th,
.inv__tot--net td {
  background: var(--inv-navy);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .95rem;
}
/* Arrondi aux seules extremites : avec un rayon sur CHAQUE cellule, la barre
   « Net a payer » se coupait en deux (defaut visible sur le PDF imprime). */
.inv__tot--net th { border-radius: 6px 0 0 6px; }
.inv__tot--net td { border-radius: 0 6px 6px 0; }
.inv__vatnote { font-size: .72rem; color: var(--inv-muted); font-style: italic; margin: 0 0 .3rem; }

/* 39.5 Règlement */
.inv__pay { margin-top: 1.2rem; }
.inv__pay h2 {
  font-family: var(--font-heading);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--inv-muted);
  margin-bottom: .3rem;
}
.inv__pay p { font-size: .82rem; margin: 0; }

/* 39.6 Mentions légales */
.inv__foot {
  margin-top: 1.4rem;
  padding-top: .9rem;
  border-top: 1px solid var(--inv-line);
  font-size: .72rem;
  color: var(--inv-muted);
  line-height: 1.55;
}
.inv__foot p { margin-bottom: .45rem; }
.inv__foot b { color: var(--inv-ink); }
.inv__legal { font-size: .68rem; letter-spacing: .02em; }

/* Filigrane facture annulée */
.inv__void {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 9vw, 5rem);
  font-weight: 800;
  letter-spacing: .12em;
  color: rgba(230, 57, 70, .16);
  transform: rotate(-18deg);
  pointer-events: none;
}

.inv__empty {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* 39.7 Barre d'outils et recherche (écran uniquement) */
.inv-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
  padding: .85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.inv-toolbar__info { display: flex; align-items: center; gap: .7rem; }
.inv-toolbar__info svg { width: 24px; height: 24px; color: var(--green-dark); flex: none; }
.inv-toolbar__info b { display: block; font-family: var(--font-heading); font-size: .95rem; }
.inv-toolbar__info span { display: block; font-size: .78rem; color: var(--text-muted); }
.inv-toolbar__actions { display: flex; gap: .6rem; flex-wrap: wrap; }

.inv-lookup { max-width: 620px; margin: 0 auto 1.5rem; }
.inv-lookup__form { display: flex; gap: .7rem; align-items: flex-start; flex-wrap: wrap; }
.inv-lookup__form .field { flex: 1 1 240px; margin: 0; }
.inv-lookup__demo {
  margin-top: 1rem;
  padding-top: .9rem;
  border-top: 1px dashed var(--border);
  font-size: .85rem;
  color: var(--text-muted);
}
.inv-lookup__demo a { font-weight: 600; }
.inv-lookup__demo-tag {
  display: inline-block;
  margin-left: .3rem;
  padding: .05rem .45rem;
  background: #fff8e6;
  border: 1px solid #f0d089;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #8a5c00;
  vertical-align: 1px;
}

/* Bandeau « mode test » au-dessus du document */
.inv-demo-banner {
  max-width: 900px;
  margin: 0 auto 1.2rem;
  border-left: 4px solid #e0a318;
  background: var(--surface);
}
.inv-demo-banner__body { display: flex; gap: .8rem; align-items: flex-start; }
.inv-demo-banner__body > svg { width: 22px; height: 22px; flex: none; color: #b8860b; margin-top: 2px; }
.inv-demo-banner__body > div > b { display: block; font-family: var(--font-heading); margin-bottom: .2rem; }
.inv-demo-banner__body p { margin: 0; font-size: .85rem; color: var(--text-muted); line-height: 1.55; }
/* Les <b> a l'interieur du paragraphe restent en ligne. */
.inv-demo-banner__body p b { display: inline; }
.inv-demo-banner__back { margin-top: .5rem !important; }
.inv-demo-banner__back a { font-weight: 600; }

.inv-wrap { margin-bottom: 2rem; }

@media (max-width: 760px) {
  .inv__head { grid-template-columns: 1fr; }
  .inv__title { text-align: left; }
  .inv__id th, .inv__id td { text-align: left; }
  .inv__parties { grid-template-columns: 1fr; }
  .inv__totals { grid-template-columns: 1fr; }
  .inv__tot { min-width: 0; width: 100%; }
}
@media (max-width: 560px) {
  /* Quantité toujours égale à 1 : masquer la colonne « Prix unitaire »
     revient au même et libère la largeur pour la désignation. */
  .inv__c-pu { display: none; }
  .inv__c-qty { width: 2.6rem; }
  .inv__c-tot { width: 6rem; }
  .inv { padding: .9rem; font-size: .82rem; }
}

/* 39.8 Impression : ne sortir que la facture, au format A4 */
/* Marges papier reduites de 12 a 8 mm (demande du 2026-10-04 : « reduire les
   marges »). 8 mm reste au-dessus du minimum physique de la plupart des
   imprimantes (≈ 5 mm). Le §51 ci-dessous resserre le contenu lui-meme. */
@page { size: A4; margin: 8mm; }

@media print {
  html, body { background: #fff !important; }
  .site-header, .site-footer, .call-fab, .skip-link,
  .page-hero, .inv-hero, .no-print, #inv-lookup, .inv-toolbar { display: none !important; }

  .section { padding: 0 !important; }
  .section--alt { background: #fff !important; }
  .container { max-width: none !important; padding: 0 !important; }
  .inv-wrap { margin: 0 !important; }

  .inv {
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 10.5pt;
  }
  .inv__table thead th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .inv__tot--net th, .inv__tot--net td { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .inv__party, .inv__triprow td { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  /* Le bandeau d'en-tete (logo principal) doit sortir en couleurs : navy + or. */
  .inv__logo--banner { -webkit-print-color-adjust: exact; print-color-adjust: exact; }

  /* On évite de couper une ligne du tableau entre deux pages */
  .inv__table tr { break-inside: avoid; page-break-inside: avoid; }
  .inv__totals, .inv__foot { break-inside: avoid; page-break-inside: avoid; }
}

/* ---------- 40. Compléments facture (tableau de bord) ---------------------- */

/* Lien vers le document de facture dans la liste des réservations */
.inv-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .78rem;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  white-space: nowrap;
}
.inv-link:hover { text-decoration: underline; }
.inv-link svg { width: 14px; height: 14px; flex: none; }
[data-theme="dark"] .inv-link { color: var(--green); }

/* Variante compacte de bouton (colonnes de tableau) */
.btn--xs {
  padding: .35rem .65rem;
  font-size: .74rem;
  border-radius: var(--radius-sm);
  gap: .3rem;
}
.btn--xs svg { width: 13px; height: 13px; }

/* Pastille d'alerte douce */
.pill--warn { background: rgba(245, 158, 11, .16); color: #a86300; }
[data-theme="dark"] .pill--warn { color: var(--amber); }

/* ---------- 41. Confort mobile (Android & iOS) ----------------------------- */

/* 41.1 Encoches, Dynamic Island et barre d'accueil (viewport-fit=cover).
   max() garantit une marge minimale même quand la zone sûre vaut 0. */
.site-header { padding-top: env(safe-area-inset-top, 0px); }
.site-header .container {
  padding-left: max(1.1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.1rem, env(safe-area-inset-right, 0px));
}
.site-footer .container {
  padding-left: max(1.1rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.1rem, env(safe-area-inset-right, 0px));
}
.call-fab {
  right: max(14px, env(safe-area-inset-right, 0px));
  bottom: max(14px, env(safe-area-inset-bottom, 0px));
}
.toast-host { bottom: max(22px, env(safe-area-inset-bottom, 0px)); }
.nav__links {
  padding-left: max(1rem, env(safe-area-inset-left, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: max(1.6rem, env(safe-area-inset-bottom, 0px));
}

/* 41.2 Plein écran : 100dvh suit la barre d'URL mobile qui se rétracte. */
@supports (height: 100dvh) {
  .hero-video.is-fullscreen .hero-video__media { height: 100dvh; }
}

/* 41.3 Aucun débordement horizontal possible */
html, body { max-width: 100%; }
img, video, canvas, iframe { max-width: 100%; height: auto; }
.summary-row dd { min-width: 0; overflow-wrap: anywhere; }
.verify-box__text b, .inv__party p, .autocomplete__main { overflow-wrap: anywhere; }

@media (max-width: 860px) {
  /* Safari iOS zoome automatiquement tout champ dont la police descend sous
     16 px : on force 16 px pour supprimer ce zoom involontaire à la saisie. */
  .input, .select, .textarea { font-size: 16px; }

  /* 41.4 Cibles tactiles : 44 px minimum (recommandation Apple / Google) */
  .btn:not(.btn--xs) { min-height: 46px; }
  .icon-btn { width: 40px; height: 40px; }
  .icon-btn svg { width: 17px; height: 17px; }
  .theme-toggle { width: 44px; height: 44px; }
  .nav__toggle { width: 44px; height: 44px; }
  .nav__link { min-height: 48px; display: flex; align-items: center; }
  .btn-swap { min-height: 44px; }
  .field-locate { min-height: 36px; }
  .brand-showcase__zoom { min-height: 44px; }
  .stepper__item { min-height: 44px; }

  /* Les champs d'adresse gardent une hauteur confortable au doigt */
  .input, .select { min-height: 48px; }

  /* 41.5 Tableaux et blocs larges : défilement interne plutôt que débordement */
  .table-wrap { -webkit-overflow-scrolling: touch; }
}

/* 41.6 Très petits écrans (320 px — iPhone SE 1re génération, Galaxy Fold) */
@media (max-width: 360px) {
  :root { --header-h: 68px; }
  .container { padding-inline: .85rem; }
  .btn { padding: .85rem 1.1rem; font-size: .9rem; }
  .nav__links { width: 88vw; }
  .hero__title { font-size: clamp(1.7rem, 8vw, 2.2rem); }
  .card { padding: 1.1rem; }
  .quickbook__card { padding: 1.1rem .9rem; }
}

/* 41.7 Mouvement réduit : on coupe les animations non essentielles */
@media (prefers-reduced-motion: reduce) {
  .nav__links, .nav-scrim, .lightbox, .lightbox__img { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* 41.8 Grilles tarifaires à 4 colonnes : sous 620 px, les colonnes ne tiennent
   plus dans la largeur d'un téléphone. On rend la table défilable
   horizontalement (défilement interne) au lieu de faire déborder la page. */
@media (max-width: 620px) {
  .prose table.grid-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .prose table.grid-table th,
  .prose table.grid-table td { padding: .45rem .55rem; font-size: .8rem; }
  .prose table.grid-table small { font-size: .68rem; }
}

/* ---------- 42. Carte « service à venir » (Bientôt disponible) ------------- */

/* Un service annoncé mais non encore ouvert porte un badge « Bientôt » et un
   traitement visuel légèrement en retrait — sans être masqué pour autant. */
.card--soon { position: relative; }
.card--soon .card__icon { opacity: .72; }
.card--soon h3 { color: var(--text-muted); }
.card--soon p { opacity: .85; }

.card__badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  align-self: flex-start;
  margin-bottom: .55rem;
  padding: .28rem .68rem;
  border-radius: var(--radius-pill);
  background: rgba(245, 158, 11, .16);
  color: #a86300;
  font-family: var(--font-heading);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.card__badge svg { width: 12px; height: 12px; }
[data-theme="dark"] .card__badge { background: rgba(245, 158, 11, .22); color: var(--amber); }

/* Bandeau d'information « service à venir » (pages détail) */
.soon-banner {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: 1rem 1.1rem;
  border: 1.5px dashed color-mix(in srgb, var(--amber) 55%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--amber) 8%, var(--surface));
}
.soon-banner > svg { width: 22px; height: 22px; flex: none; color: #a86300; }
[data-theme="dark"] .soon-banner > svg { color: var(--amber); }
.soon-banner b { font-family: var(--font-heading); }
.soon-banner p { margin: .2rem 0 0; font-size: .85rem; color: var(--text-muted); }

/* ---------- 43. Cartes bancaires en miniature (étape paiement) ------------- */

/* Quatre vraies cartes miniatures (puce, ondes, numéro masqué, logo) au lieu
   de simples pastilles. Ratio carte bancaire : 85,60 × 53,98 mm ≈ 1,586:1. */
.pay-brands { align-items: flex-start; }

.pay-cardmark {
  margin: 0;
  flex: 1 1 118px;
  max-width: 172px;
  min-width: 0;
  display: grid;
  gap: .45rem;
  justify-items: center;
}
.pay-cardmark__art {
  display: block;
  width: 100%;
  line-height: 0;
  border-radius: 11px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(10, 31, 68, .18), 0 1px 2px rgba(10, 31, 68, .12);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.pay-cardmark__art svg { display: block; width: 100%; height: auto; }
.pay-cardmark:hover .pay-cardmark__art,
.pay-cardmark:focus-within .pay-cardmark__art {
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(10, 31, 68, .26);
}
.pay-cardmark figcaption {
  font-family: var(--font-heading);
  font-size: .72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.25;
}
[data-theme="dark"] .pay-cardmark__art { box-shadow: 0 6px 18px rgba(0, 0, 0, .5); }

@media (max-width: 620px) {
  /* Deux cartes par ligne sur téléphone */
  .pay-cardmark { flex: 1 1 calc(50% - .55rem); max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .pay-cardmark__art { transition: none; }
  .pay-cardmark:hover .pay-cardmark__art { transform: none; }
}

/* ---------- 44. En-tête : correction du palier bureau 941 -> 1150 px ------- */

/* 44.1 Le rembourrage « zone sûre » défini en 41.1 ne concerne QUE le tiroir
   mobile (position:fixed). Appliqué aussi au bandeau horizontal, il gonflait
   la barre de navigation de 25,6 px et la faisait déborder de l'en-tête
   (hauteur fixe 77 px). On l'annule dès qu'on repasse en affichage bureau. */
@media (min-width: 941px) {
  .nav__links {
    padding-left: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
  }
  /* « À propos » se coupait sur deux lignes : un libellé de navigation ne
     doit jamais se replier. */
  .nav__link { white-space: nowrap; }
}

/* 44.2 Entre 941 px et 1150 px (petite fenêtre, tablette paysage étroite), la
   somme marque + 7 liens + téléphone + bascule dépasse la largeur disponible.
   On resserre au lieu de laisser les libellés se replier ou se chevaucher.
   Aucun contenu n'est supprimé : seuls les espacements et tailles changent. */
@media (min-width: 941px) and (max-width: 1150px) {
  .nav { gap: .5rem; }
  .brand { font-size: 1rem; gap: .5rem; }
  .brand__mark { width: 34px; height: 34px; }
  .brand__sub { font-size: .62rem; letter-spacing: .02em; }
  .nav__links { gap: 0; }
  .nav__link { padding: .5rem .5rem; font-size: .86rem; }
  .nav__phone { padding: .45rem .5rem; font-size: .86rem; gap: .35rem; }
  .nav__phone svg { width: 16px; height: 16px; }
  .theme-toggle { width: 36px; height: 36px; }
}

/* 44.3 Filet de sécurité : si un jour l'en-tête manque encore de place,
   il GRANDIT au lieu de laisser son contenu se superposer. */
@media (min-width: 941px) {
  .nav { height: auto; min-height: var(--header-h); }
}

/* 44.4 Tiroir latéral : hauteur pleine garantie.
   `.site-header` porte un `backdrop-filter`, ce qui en fait le BLOC CONTENEUR
   des descendants en position:fixed. `top:0;bottom:0` se résolvait donc sur la
   hauteur de l'en-tête (77 px) et non sur celle de l'écran : le tiroir ne
   mesurait que 76 px de haut et ses 7 liens étaient coupés (overflow-y:auto).
   On impose une hauteur de viewport explicite, indépendante du conteneur.
   Mesuré : tiroir 76 px -> 844 px, les 7 liens redeviennent visibles. */
@media (max-width: 940px) {
  .nav__links {
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    bottom: auto;
  }
}

/* ---------- 45. Confirmation par téléphone (fin de réservation) ----------- */

/* Message principal demandé par le client : à la fin de la réservation, on
   affiche le numéro à appeler, le prix et le détail du trajet (départ /
   arrivée). Le bloc est présent à l'étape 5 ET sur l'écran de succès. */
.call-confirm {
  border: 1.5px solid color-mix(in srgb, var(--green) 55%, var(--border));
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--green) 8%, var(--bg-alt));
  padding: 1.1rem 1.15rem;
  text-align: left;
}

.call-confirm__head {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-heading);
  font-size: .98rem;
  line-height: 1.35;
}
.call-confirm__head b { font-weight: 800; }
.call-confirm__head span[data-phone] { white-space: nowrap; }
.call-confirm__icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: #04231a;
}
.call-confirm__icon svg { width: 19px; height: 19px; }

.call-confirm__text {
  margin: .7rem 0 .9rem;
  font-size: .86rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.call-confirm__text b { color: var(--text); }

.call-confirm__trip {
  list-style: none;
  display: grid;
  gap: .55rem;
  margin: 0 0 .9rem;
}
.call-confirm__trip li { display: flex; align-items: flex-start; gap: .6rem; }
.call-confirm__dot {
  flex: none;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
}
.call-confirm__dot svg { width: 14px; height: 14px; }
.call-confirm__dot--start { background: var(--green); }
.call-confirm__dot--end { background: var(--navy); }
[data-theme="dark"] .call-confirm__dot--end { background: var(--navy-700); }

.call-confirm__trip-text { display: flex; flex-direction: column; min-width: 0; }
.call-confirm__trip-text > span {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.call-confirm__trip-text b {
  font-size: .9rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.call-confirm__amount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: .7rem .85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.call-confirm__amount > span {
  font-size: .8rem;
  font-weight: 700;
  color: var(--text-muted);
}
.call-confirm__amount > b {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--green-dark);
}
[data-theme="dark"] .call-confirm__amount > b { color: var(--green); }

.call-confirm__btn { margin-top: 1rem; width: 100%; }

.call-confirm__note {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin-top: .8rem;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-muted);
}
.call-confirm__note svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: .12rem;
  color: var(--green-dark);
}

/* ---------- 46. Choix du mode de règlement (étape paiement) --------------- */

/* Deux options : « sur place » (disponible) et « en ligne » (bientôt).
   L'option indisponible reste affichée : rien n'est supprimé, elle est
   simplement neutralisée. */
.pay-methods { display: grid; gap: .6rem; margin-bottom: 1rem; }

.pay-method {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  padding: .85rem .9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.pay-method input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.pay-method__icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--gray-100);
  color: var(--navy);
}
[data-theme="dark"] .pay-method__icon { background: var(--navy-100); color: var(--text); }
.pay-method__icon svg { width: 19px; height: 19px; }

.pay-method__body { display: flex; flex-direction: column; gap: .15rem; min-width: 0; }
.pay-method__body b { font-family: var(--font-heading); font-size: .92rem; }
.pay-method__body > span { font-size: .8rem; line-height: 1.4; color: var(--text-muted); }

.pay-method__tag {
  flex: none;
  align-self: center;
  margin-left: auto;
  padding: .25rem .6rem;
  border-radius: var(--radius-pill);
  background: var(--gray-100);
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
[data-theme="dark"] .pay-method__tag { background: var(--navy-100); }
.pay-method__tag--ok { background: var(--green-light); color: var(--green-dark); }
[data-theme="dark"] .pay-method__tag--ok { background: rgba(0, 196, 140, .18); color: var(--green); }

.pay-method.is-on {
  border-color: var(--green);
  background: color-mix(in srgb, var(--green) 6%, var(--surface));
}
.pay-method.is-on .pay-method__icon { background: var(--green); color: #04231a; }

.pay-method.is-soon { opacity: .62; cursor: not-allowed; border-style: dashed; }
.pay-method.is-soon .pay-method__body b { color: var(--text-muted); }

/* Le formulaire de carte est conservé mais neutralisé : le paiement en ligne
   n'est pas encore ouvert. Aucune fonctionnalité n'est supprimée. */
.pay-online-soon {
  margin-top: .2rem;
  padding: .9rem;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.pay-soon-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .9rem;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--text-muted);
}
.pay-soon-note svg { width: 15px; height: 15px; flex: none; margin-top: .15rem; color: #a86300; }
[data-theme="dark"] .pay-soon-note svg { color: var(--amber); }
.pay-soon-note b { color: var(--text); }

.pay-card-fields {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
  opacity: .55;
}
.pay-card-fields .input { cursor: not-allowed; }

@media (max-width: 560px) {
  .pay-method { flex-wrap: wrap; }
  .pay-method__tag { align-self: flex-start; margin-left: 0; }
  .call-confirm__amount { flex-direction: column; align-items: flex-start; gap: .2rem; }
}

/* ---------- 47. Synthèse encadrée de l'étape 5 ---------------------------- */

/* Demande du client : n'afficher QUE la synthèse réduite, dans une section à
   trait — adresses courtes, distance, durée, prix et bouton d'appel. */
.trip-recap {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 1.15rem 1.2rem 1.2rem;
  box-shadow: var(--shadow-xs);
}

.trip-recap__head {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: .95rem;
}
/* ⚠️ L'icône est injectée DANS le <i data-icon> : le SVG est un descendant,
   jamais un enfant direct — un sélecteur « > svg » ne matcherait pas. */
.trip-recap__head svg { width: 18px; height: 18px; flex: none; color: var(--green-dark); }
[data-theme="dark"] .trip-recap__head svg { color: var(--green); }

.trip-recap__tag {
  margin-left: auto;
  padding: .25rem .65rem;
  border-radius: var(--radius-pill);
  background: var(--green);
  color: var(--accent-contrast);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.trip-recap__tag.is-warn { background: var(--amber); color: #2b1a00; }

.trip-recap__stops {
  list-style: none;
  display: grid;
  gap: .7rem;
  margin: 1rem 0;
}
.trip-recap__stop { display: flex; align-items: flex-start; gap: .65rem; }
.trip-recap__dot {
  flex: none;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
}
.trip-recap__dot svg { width: 15px; height: 15px; }
.trip-recap__dot--start { background: var(--green); }
.trip-recap__dot--end { background: var(--navy); }
[data-theme="dark"] .trip-recap__dot--end { background: var(--navy-700); }

.trip-recap__text { display: flex; flex-direction: column; min-width: 0; }
.trip-recap__kind {
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.trip-recap__text b {
  font-size: .95rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.trip-recap__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  padding: .85rem .3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.trip-recap__metric { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.trip-recap__metric svg { width: 17px; height: 17px; color: var(--text-muted); }
.trip-recap__metric > b {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  white-space: nowrap;
}
.trip-recap__metric > span {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.trip-recap__metric--price > b { color: var(--green-dark); }
[data-theme="dark"] .trip-recap__metric--price > b { color: var(--green); }

.trip-recap__call { margin-top: 1.1rem; width: 100%; }

.trip-recap__note {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin-top: .8rem;
  font-size: .78rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-muted);
}
.trip-recap__note svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: .12rem;
  color: var(--green-dark);
}

.trip-recap__details {
  margin-top: 1rem;
  padding-top: .8rem;
  border-top: 1px dashed var(--border);
}
.trip-recap__details > summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  color: var(--text-muted);
}
.trip-recap__details > summary::-webkit-details-marker { display: none; }
.trip-recap__details > summary::before { content: '＋ '; font-weight: 800; }
.trip-recap__details[open] > summary::before { content: '− '; }
.trip-recap__details > summary:hover { color: var(--green-dark); }

.trip-recap__source {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin-top: .8rem;
  font-size: .76rem;
  line-height: 1.45;
  color: var(--text-muted);
}
.trip-recap__source svg {
  width: 14px;
  height: 14px;
  flex: none;
  margin-top: .12rem;
  color: var(--green-dark);
}

@media (max-width: 480px) {
  .trip-recap { padding: 1rem .9rem 1.05rem; }
  .trip-recap__head { font-size: .88rem; }
  .trip-recap__metric > b { font-size: .95rem; }
}

/* ---------- 48. Pied de page : place pour le bouton d'appel flottant ------ */

/* Le bouton « Appeler » est en position:fixed (bas-droite de l'écran). Sans
   réserve d'espace, il recouvrait les liens légaux du pied de page
   (« Espace pro », « Mentions légales »…) dès que la page était défilée
   jusqu'en bas — le lien devenait incliquable. On réserve la hauteur du
   bouton (≈ 56 px) sous la dernière ligne du pied de page. */
.site-footer { padding-bottom: 5.4rem; }
@media (max-width: 720px) { .site-footer { padding-bottom: 6.2rem; } }

/* ---------- 49. « Réservation » mis en avant dans le menu (jaune) --------- */

/* Demande du 2026-10-04 : « mettre le bouton Réservation en surbrillance
   (clignotant) Jaune ». Le lien est en plus remonté en 2e position, juste après
   Accueil (fait dans le HTML des 16 pages par `_nav_reserve.py`).
   La pulsation joue sur `filter` et `box-shadow` — pas sur `background` — pour
   ne pas entrer en conflit avec les règles `:hover` de `.nav__link`. */
.nav__link--cta,
.nav__link--cta:hover,
[data-theme="dark"] .nav__link--cta,
[data-theme="dark"] .nav__link--cta:hover {
  color: var(--navy);
  background: var(--gold);
  font-weight: 700;
}
.nav__link--cta { animation: navCtaPulse 1.7s ease-in-out infinite; }
.nav__link--cta:hover { background: var(--gold-dark); }
/* Le soulignement vert du lien actif devient navy, lisible sur l'or. */
.nav__link--cta::after { background: var(--navy); }

@keyframes navCtaPulse {
  0%, 100% { filter: brightness(1);    box-shadow: 0 0 0 0 rgba(255, 201, 60, .80); }
  50%      { filter: brightness(1.30); box-shadow: 0 0 0 9px rgba(255, 201, 60, 0); }
}

/* Accessibilité : aucun clignotement si l'utilisateur l'a demandé au système. */
@media (prefers-reduced-motion: reduce) {
  .nav__link--cta { animation: none !important; }
}

/* Dans le tiroir mobile, le lien occupe toute la largeur : l'or devient une
   barre pleine, le texte reste navy. */
@media (max-width: 940px) {
  .nav__link--cta { background: var(--gold); }
}

/* ---------- 50. Compactage des textes et des espacements verticaux -------- */

/* Demande du 2026-10-04 : « compacter le texte et réduire l'espacement des
   zones section » là où il y a un titre + une accroche.
   AUCUN TEXTE N'EST SUPPRIMÉ : on ne resserre que les espacements et les
   interlignes. Les valeurs d'origine restent en place plus haut dans le fichier
   (§2 .section, §2 .section-head, §3 .lead, §5 .hero, §31 .page-hero) ; ce bloc
   les resserre, comme les sections §45 à §49. */

/* Sections : ~30 % de respiration en moins. */
.section { padding-block: clamp(2.4rem, 5.2vw, 4rem); }

/* Bloc « eyebrow + h2 + accroche » : marges intérieures resserrées. */
.section-head { margin-bottom: clamp(1.3rem, 3vw, 2.1rem); }
.section-head .eyebrow { margin-bottom: var(--space-2); }
.section-head p { margin-top: var(--space-3); }

/* Accroches : interligne et taille légèrement réduits. */
.lead { font-size: clamp(1rem, 1.4vw, 1.1rem); line-height: 1.55; }

/* Hero d'accueil. */
.hero { padding-block: clamp(2.2rem, 4.8vw, 3.8rem) clamp(2.4rem, 5.2vw, 4rem); }
.hero p { margin-top: var(--space-4); line-height: 1.55; }
.hero .hero__lead { font-size: 1.06rem; line-height: 1.5; }
.hero .hero__sub { font-size: .93rem; margin-top: .5rem; line-height: 1.5; }

/* Bandeau de titre des pages intérieures (mêmes titres + accroches). */
.page-hero { padding-block: clamp(1.9rem, 4.4vw, 3rem); }
.page-hero p { margin-top: var(--space-3); line-height: 1.55; }
.breadcrumb { margin-bottom: var(--space-3); }

/* ---------- 51. Impression : facture compacte sur UNE seule page A4 -------- */

/* Demande du 2026-10-04 : « le rendu imprimer la facture, on doit ajuster et
   compacter la facture en une seule page, prestatire/client a positionner cote
   a cote, et reduire les marges ».
   RIEN N'EST SUPPRIME : ce bloc ne resserre que l'impression ; l'ecran garde
   exactement la presentation precedente (§39).
   ⚠️ Ce bloc est volontairement place EN FIN DE FEUILLE, apres les requetes
   `@media (max-width: 760px)` (l. 2935). La largeur utile d'une A4 imprimee
   vaut ~733 px, donc cette requete SE DECLENCHE A L'IMPRESSION : elle empile
   Prestataire/Client, met le titre a gauche et remet la grille d'en-tete sur
   une colonne. Il faut donc la reprendre explicitement ici (d'ou les
   `!important`, qui protegent aussi d'un futur deplacement de ce bloc). */
@media print {
  /* Interlignes et corps resserres : c'est le levier principal. 9,8 pt reste
     confortable a lire (un corps de facture usuel va de 9 a 10 pt) tout en
     tenant sur une page. */
  .inv { font-size: 9.8pt; line-height: 1.34; }

  /* --- En-tete : bandeau et bloc titre/identification COTE A COTE ---------
     Le bandeau seul mesurait ~57 mm de haut (ratio 3,26:1 sur 194 mm), soit un
     cinquieme de la page. Borne a 22 mm, il laisse la colonne de droite au
     titre FACTURE et au tableau d'identification. */
  .inv__head {
    grid-template-columns: auto 1fr !important;
    gap: .55rem;
    align-items: start;
    padding-bottom: .5rem;
  }
  .inv__band { grid-column: 1 !important; margin-bottom: 0; }
  .inv__logo--banner { width: auto; max-height: 22mm; border-radius: 6px; }
  .inv__title { grid-column: 2 !important; text-align: right !important; }
  .inv__title h1 { font-size: 1.25rem; }
  .inv__title h1 em { font-size: .58em; }
  .inv__id { font-size: .72rem; }
  .inv__id th, .inv__id td { text-align: right !important; padding: .05rem 0; }
  .inv__id th { padding-right: .5rem; }

  /* --- Marqueur de test : une seule ligne --- */
  .inv__test { margin-bottom: .45rem; padding: .3rem .55rem; font-size: .72rem; }
  .inv__test > b { margin-bottom: 0; }

  /* --- Prestataire / Client COTE A COTE (cf. avertissement ci-dessus) ----- */
  .inv__parties {
    grid-template-columns: 1fr 1fr !important;
    gap: .55rem;
    margin-top: .5rem;
  }
  .inv__party { padding: .5rem .6rem; border-radius: 6px; }
  .inv__party h2 { font-size: .62rem; margin-bottom: .18rem; }
  .inv__party p { font-size: .79rem; line-height: 1.32; }

  /* --- Tableau des prestations --- */
  .inv__table { margin-top: .55rem; font-size: .79rem; }
  .inv__table thead th { padding: .32rem .5rem; font-size: .67rem; }
  .inv__table td { padding: .34rem .5rem; }
  .inv__det, .inv__tripmeta { font-size: .70rem; }
  .inv__trip { font-size: .82rem; }
  .inv__c-pu, .inv__c-tot { width: 6.2rem; }

  /* --- Totaux : la grille repasse en deux colonnes (cf. 760 px) --- */
  .inv__totals { grid-template-columns: 1fr auto !important; gap: .5rem; margin-top: .5rem; }
  .inv__tot { min-width: 12.5rem !important; width: auto !important; }
  .inv__tot th, .inv__tot td { padding: .2rem .5rem; font-size: .80rem; }
  .inv__tot--net th, .inv__tot--net td { font-size: .88rem; }
  .inv__vatnote { font-size: .70rem; margin-bottom: .12rem; }

  /* --- Reglement --- */
  .inv__pay { margin-top: .5rem; }
  .inv__pay h2 { margin-bottom: .18rem; }
  .inv__pay p { font-size: .79rem; }

  /* --- Mentions legales --- */
  .inv__foot { margin-top: .5rem; padding-top: .4rem; font-size: .70rem; line-height: 1.34; }
  .inv__foot p { margin-bottom: .18rem; }
  .inv__legal { font-size: .62rem; }

  /* --- Aucune coupure au milieu d'un bloc --- */
  .inv__party, .inv__table tr, .inv__totals, .inv__pay, .inv__foot {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* ---------- 52. Titres et accroches : compaction (2026-10-04) -------------- */

/* Demande du 2026-10-04 :
   - accueil : « reduire la taille du texte titre : Votre VTC electrique a
     Clermont-Ferrand » ;
   - pages interieures (services, tarifs, contact, a propos, blog…) :
     « compacter le texte et reduire l'espacement / dimensionnement de ces
     zones section texte », avec « parfois une section encadree, parfois
     simplement une info-bulle qui se developpe au clic ».
   AUCUN TEXTE N'EST SUPPRIME : seules les tailles et les espacements changent.
   ⚠️ La taille des h1 vient de la regle globale `h1` (l. 142, jusqu'a 3,6 rem) ;
   `.hero h1` et `.page-hero h1` ne posaient que la couleur. On les borne ici. */

/* --- Accueil : titre du hero et accroches --- */
.hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.hero .hero__lead { font-size: 1rem; line-height: 1.5; }
.hero .hero__sub { font-size: .9rem; line-height: 1.45; margin-top: .45rem; }

/* --- Pages interieures : bandeau de titre resserre --- */
.page-hero { padding-block: clamp(1.4rem, 3.2vw, 2.1rem); }
.page-hero h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.page-hero .breadcrumb { margin-bottom: var(--space-2); }

/* Accroche ENCADREE : le paragraphe nu devient une zone delimitee, plus
   lisible et visuellement plus compacte. S'applique aux 13 bandeaux. */
.page-hero p {
  display: inline-block;
  max-width: 74ch;
  margin-top: var(--space-3);
  padding: .7rem 1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  border-left: 3px solid var(--green);
  border-radius: var(--radius-sm);
  font-size: .95rem;
  line-height: 1.5;
}

/* --- Info-bulle qui se deplie au clic (details / summary) --- */
.infobubble {
  max-width: 860px;
  margin: 0 auto 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
.infobubble > summary {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .9rem;
  cursor: pointer;
  font-weight: 700;
  font-size: .92rem;
  color: var(--text);
  list-style: none;
}
.infobubble > summary::-webkit-details-marker { display: none; }
.infobubble > summary svg { width: 16px; height: 16px; color: var(--green); flex: none; }
/* Chevron dessine en CSS : aucun caractere ajoute, donc rien a traduire. */
.infobubble > summary::after {
  content: '';
  width: 7px;
  height: 7px;
  margin-left: auto;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur) var(--ease);
}
.infobubble[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.infobubble__body {
  padding: 0 .9rem .8rem;
  font-size: .88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* ============================================================================
   §53 — Page Réservation : titre du bloc « Ce qui est inclus »
   Ajouté le 2026-10-04. La liste elle-même réutilise le motif `.card__list`
   déjà employé ailleurs sur le site (icônes vertes, 16 px) : seuls le titre
   et son icône demandent un alignement propre.
   ============================================================================ */
.included-card__title {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
}
.included-card__title svg { width: 19px; height: 19px; color: var(--green); flex: none; }

/* ---------------------------------------------------------------------------
   Champ « Numéro de vol / de train » (etape 3 de la reservation).
   ⚠️ Il n'existe AUCUNE regle globale `[data-icon] svg` sur ce site : chaque
   contexte dimensionne ses icones. Sans la regle ci-dessous, le SVG injecte
   dans le <label> s'affiche a sa taille intrinseque — enorme.
   --------------------------------------------------------------------------- */
.flight-ref__label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .4rem;
}
.flight-ref__label svg { width: 17px; height: 17px; color: var(--green); flex: none; }
.flight-ref__opt { color: var(--text-muted); font-weight: 400; }

/* Le bloc est aussi lisible en thème sombre : les couleurs viennent des
   jetons (--surface / --border / --text), aucune valeur figée n'est posée. */
