/* =========================================================================
   Transferrio — système de design
   ========================================================================= */

:root {
  --navy:        #101828;
  --charcoal:    #242B36;
  --accent:      #20C6B7;
  --accent-dark: #16A79A;
  --accent-soft: #E6F9F7;
  --bg:          #F8FAFC;
  --surface:     #FFFFFF;
  --text:        #172033;
  --text-2:      #667085;
  --border:      #E4E7EC;
  --border-soft: #F1F3F7;

  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
          Helvetica, Arial, sans-serif;

  --gutter: 20px;
  --maxw: 1180px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;

  --sh-sm: 0 1px 2px rgba(16, 24, 40, .05);
  --sh-md: 0 4px 16px rgba(16, 24, 40, .07);
  --sh-lg: 0 18px 48px rgba(16, 24, 40, .12);
  --sh-xl: 0 32px 72px rgba(16, 24, 40, .16);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--navy);
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 1.35rem + 2.8vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.7vw, 2.5rem); }
h3 { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-weight: 700; }

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

.muted { color: var(--text-2); }
.lead  { font-size: clamp(1.02rem, .97rem + .35vw, 1.2rem); color: var(--text-2); }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: 12px 20px;
  border-radius: 0 0 var(--r-sm) 0; text-decoration: none;
}
.skip-link:focus { left: 0; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease,
              border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-accent  { background: var(--accent); color: #05221F; box-shadow: 0 6px 18px rgba(32,198,183,.28); }
.btn-accent:hover  { background: var(--accent-dark); box-shadow: 0 10px 26px rgba(32,198,183,.34); }

.btn-dark    { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--charcoal); }

.btn-ghost   { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--navy); background: rgba(16,24,40,.03); }

.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.26); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }

.btn-sm  { padding: 10px 18px; font-size: .875rem; }
.btn-lg  { padding: 17px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; transform: none; }

/* ---------- En-tête ---------- */

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--sh-sm);
}

.header-inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }

.brand { flex-shrink: 0; text-decoration: none; }
.brand .logo { height: 34px; width: auto; }

.nav-desktop { margin-left: auto; }
.nav-desktop ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-desktop a {
  display: block; padding: 8px 14px;
  font-size: .925rem; font-weight: 600;
  color: var(--text-2); text-decoration: none;
  border-radius: var(--r-sm);
  transition: color .16s ease, background-color .16s ease;
}
.nav-desktop a:hover { color: var(--navy); background: var(--border-soft); }
.nav-desktop a[aria-current="page"] { color: var(--navy); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.nav-desktop + .header-actions { margin-left: 0; }

.header-phone { font-weight: 700; font-size: .925rem; color: var(--navy); text-decoration: none; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--border);
  border-radius: var(--r-sm); cursor: pointer;
  padding: 0; place-items: center;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; margin: 3px auto;
  background: var(--navy); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

.nav-mobile {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 16px var(--gutter) 24px;
}
.nav-mobile ul { list-style: none; margin: 0 0 16px; padding: 0; }
.nav-mobile a {
  display: block; padding: 13px 4px;
  font-weight: 600; text-decoration: none;
  border-bottom: 1px solid var(--border-soft);
}
.nav-mobile-phone {
  display: block; text-align: center; margin-top: 14px;
  font-weight: 700; color: var(--navy); text-decoration: none;
}

/* ---------- Héros ---------- */

.hero {
  position: relative;
  background: var(--navy);
  color: #fff;
  padding: clamp(56px, 6vw, 96px) 0 clamp(120px, 12vw, 160px);
  overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(90% 120% at 82% 8%, rgba(32,198,183,.20) 0%, transparent 58%),
    radial-gradient(70% 90% at 6% 92%, rgba(32,198,183,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

.hero-art {
  display: none;
  position: absolute;
  right: max(-40px, calc((100vw - var(--maxw)) / 2 - 60px));
  top: 50%;
  width: 560px;
  transform: translateY(-54%);
  pointer-events: none;
  z-index: 0;
  opacity: .96;
}
@media (min-width: 1120px) {
  .hero-art { display: block; }
  .hero h1 { max-width: 17ch; }
  .hero-sub { max-width: 44ch; }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 15px 7px 11px;
  background: rgba(32,198,183,.12);
  border: 1px solid rgba(32,198,183,.28);
  border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .01em;
  color: #9BF0E7;
  margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
}

.hero h1 { color: #fff; max-width: 15ch; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-sub {
  max-width: 56ch; font-size: clamp(1.02rem, .96rem + .4vw, 1.22rem);
  color: rgba(255,255,255,.76); margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-strip {
  display: flex; flex-wrap: wrap; gap: 10px 32px;
  margin-top: 44px; padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero-strip div {
  display: flex; align-items: center; gap: 9px;
  font-size: .875rem; color: rgba(255,255,255,.72);
}
.hero-strip svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }

/* ---------- Widget de réservation ---------- */

.quote-widget { margin-top: -96px; position: relative; z-index: 5; }
.quote-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl);
  padding: clamp(20px, 3vw, 30px);
}
.quote-card > h2 { font-size: 1.12rem; font-weight: 700; margin-bottom: 4px; }
.quote-card > .quote-note { font-size: .85rem; color: var(--text-2); margin-bottom: 22px; }

.quote-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(12, 1fr);
  align-items: end;
}
.quote-grid .f-from { grid-column: span 12; }
.quote-grid .f-to   { grid-column: span 12; }
.quote-grid .f-date { grid-column: span 6; }
.quote-grid .f-time { grid-column: span 6; }
.quote-grid .f-pax  { grid-column: span 12; }
.quote-grid .f-go   { grid-column: span 12; }

@media (min-width: 900px) {
  .quote-grid .f-from { grid-column: span 4; }
  .quote-grid .f-to   { grid-column: span 4; }
  .quote-grid .f-date { grid-column: span 2; }
  .quote-grid .f-time { grid-column: span 2; }
  .quote-grid .f-pax  { grid-column: span 3; }
  .quote-grid .f-go   { grid-column: span 9; }
  .quote-grid .f-go .btn { width: auto; float: right; }
}

/* ---------- Champs de formulaire ---------- */

.field { position: relative; }
.field > label {
  display: block; margin-bottom: 6px;
  font-size: .78rem; font-weight: 700; letter-spacing: .03em;
  text-transform: uppercase; color: var(--text-2);
}
.field .req { color: var(--accent-dark); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit; font-size: 1rem; color: var(--text);
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .16s ease, box-shadow .16s ease;
  appearance: none;
  min-height: 52px;
}
.field textarea { min-height: 110px; resize: vertical; line-height: 1.6; }

.field input:hover,
.field select:hover { border-color: #CBD3DF; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(32,198,183,.14);
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #D92D20; }

.field-error {
  display: none;
  margin-top: 6px; font-size: .82rem; color: #B42318; font-weight: 600;
}
.field.has-error .field-error { display: block; }

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%23667085' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

.field-hint { margin-top: 6px; font-size: .8rem; color: var(--text-2); }

.hp { position: absolute !important; left: -9999px !important; }

.ac-wrap { position: relative; }
.ac-list {
  position: absolute; z-index: 30; inset-inline: 0; top: calc(100% + 6px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--sh-lg);
  list-style: none; margin: 0; padding: 6px;
  max-height: 280px; overflow-y: auto;
}
.ac-list[hidden] { display: none; }
.ac-list li {
  padding: 11px 13px; border-radius: var(--r-sm);
  font-size: .92rem; cursor: pointer; line-height: 1.4;
}
.ac-list li:hover,
.ac-list li[aria-selected="true"] { background: var(--accent-soft); }
.ac-list li .ac-main { font-weight: 600; color: var(--text); display: block; }
.ac-list li .ac-sub  { font-size: .82rem; color: var(--text-2); }
.ac-status { padding: 12px 13px; font-size: .88rem; color: var(--text-2); }

/* ---------- Sections ---------- */

.section { padding: clamp(60px, 7vw, 104px) 0; }
.section-tight { padding: clamp(44px, 5vw, 72px) 0; }
.section-alt { background: var(--surface); }

.section-head { max-width: 62ch; margin-bottom: clamp(34px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: block; margin-bottom: 12px;
  font-size: .78rem; font-weight: 800; letter-spacing: .1em;
  text-transform: uppercase; color: var(--accent-dark);
}

/* ---------- Grille d'atouts ---------- */

.feature-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.feature {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.feature:hover { border-color: #D3DAE5; box-shadow: var(--sh-md); transform: translateY(-2px); }
.feature-icon {
  width: 46px; height: 46px; margin-bottom: 18px;
  display: grid; place-items: center;
  background: var(--accent-soft); border-radius: var(--r-md);
  color: var(--accent-dark);
}
.feature-icon svg { width: 23px; height: 23px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: .93rem; color: var(--text-2); margin: 0; }

/* ---------- Cartes véhicules ---------- */

.vehicle-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.vehicle-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.vehicle-card:hover { border-color: #D3DAE5; box-shadow: var(--sh-md); transform: translateY(-2px); }

.vehicle-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #F1F5F9 0%, #E6EDF4 100%);
  display: grid; place-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--border-soft);
}
.vehicle-visual svg { width: 100%; height: auto; max-height: 100%; }
.vehicle-card[data-slug="green-electric"] .vehicle-visual {
  background: linear-gradient(160deg, #E6F9F7 0%, #D6F2EE 100%);
}
.vehicle-card[data-slug="premium"] .vehicle-visual,
.vehicle-card[data-slug="berline"] .vehicle-visual {
  background: linear-gradient(160deg, #1B2535 0%, #101828 100%);
}

.vehicle-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.vehicle-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.vehicle-head h3 { margin: 0; }
.vehicle-tagline { font-size: .8rem; font-weight: 700; color: var(--accent-dark); margin: 4px 0 10px; }
.vehicle-desc { font-size: .9rem; color: var(--text-2); margin-bottom: 18px; flex: 1; }

.vehicle-specs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.spec {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px;
  background: var(--border-soft); border-radius: 999px;
  font-size: .8rem; font-weight: 600; color: var(--text-2);
}
.spec svg { width: 14px; height: 14px; }

.vehicle-price {
  padding-top: 16px; border-top: 1px solid var(--border-soft);
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.vehicle-price strong { font-size: 1.32rem; color: var(--navy); letter-spacing: -.02em; }
.vehicle-price span { font-size: .82rem; color: var(--text-2); }

/* ---------- Étapes ---------- */

.steps { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.step { position: relative; padding-top: 12px; }
.step-num {
  font-size: 2.4rem; font-weight: 800; letter-spacing: -.04em;
  color: var(--accent); opacity: .32; line-height: 1; margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: .93rem; color: var(--text-2); margin: 0; }

/* ---------- Services ---------- */

.service-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.service {
  padding: 30px 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  border-left: 3px solid var(--accent);
}
.service h3 { margin-bottom: 10px; }
.service p { font-size: .93rem; color: var(--text-2); margin: 0; }

/* ---------- Bloc sombre ---------- */

.panel-dark {
  background: var(--navy); color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(34px, 5vw, 60px);
  position: relative; overflow: hidden;
}
.panel-dark::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(70% 110% at 88% 10%, rgba(32,198,183,.18), transparent 60%);
}
.panel-dark > * { position: relative; }
.panel-dark h2 { color: #fff; }
.panel-dark p { color: rgba(255,255,255,.74); }

/* ---------- Tableaux ---------- */

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-lg); }
.table {
  width: 100%; border-collapse: collapse;
  background: var(--surface); font-size: .94rem;
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.table th, .table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--border-soft); }
.table th {
  background: #F8FAFC; font-size: .76rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: var(--text-2);
  white-space: nowrap;
}
.table tbody tr:last-child td { border-bottom: none; }
.table td strong { color: var(--navy); }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ---------- FAQ ---------- */

.faq { max-width: 780px; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  overflow: hidden;
}
.faq summary {
  padding: 18px 22px; cursor: pointer;
  font-weight: 700; color: var(--navy);
  list-style: none; display: flex; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.3rem; font-weight: 400; color: var(--accent-dark);
  line-height: 1; flex-shrink: 0;
}
.faq details[open] summary::after { content: '\2013'; }
.faq details > div { padding: 0 22px 20px; color: var(--text-2); font-size: .94rem; }

/* ---------- CTA finale ---------- */

.cta-final { padding: 0 0 clamp(56px, 6vw, 88px); }
.cta-card {
  background: var(--navy); color: #fff;
  border-radius: var(--r-xl);
  padding: clamp(32px, 4.5vw, 54px);
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 26px;
  position: relative; overflow: hidden;
}
.cta-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 92% 20%, rgba(32,198,183,.22), transparent 62%);
}
.cta-card > * { position: relative; }
.cta-card h2 { color: #fff; margin-bottom: 10px; }
.cta-card p { color: rgba(255,255,255,.72); max-width: 52ch; margin: 0; font-size: .97rem; }

/* ---------- Pied de page ---------- */

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: clamp(48px, 5vw, 68px) 0 32px;
}
.footer-grid {
  display: grid; gap: 36px;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}
.footer-brand { grid-column: 1 / -1; max-width: 340px; }
@media (min-width: 860px) { .footer-brand { grid-column: auto; } }
.footer-logo .logo { height: 32px; width: auto; margin-bottom: 16px; }
.footer-brand p { font-size: .89rem; color: var(--text-2); }

.site-footer h3 {
  font-size: .78rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--text-2); margin-bottom: 16px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; font-size: .9rem; color: var(--text-2); }
.site-footer a { color: var(--text-2); text-decoration: none; transition: color .15s ease; }
.site-footer a:hover { color: var(--navy); }

.footer-bottom {
  margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between;
}
.footer-bottom p { font-size: .82rem; color: var(--text-2); margin: 0; max-width: 62ch; }

/* ---------- CTA collante mobile ---------- */

.sticky-cta {
  position: fixed; z-index: 55;
  left: 16px; right: 16px; bottom: 16px;
  display: none;
  align-items: center; justify-content: center;
  padding: 16px; border-radius: 999px;
  background: var(--accent); color: #05221F;
  font-weight: 700; text-decoration: none;
  box-shadow: 0 10px 30px rgba(16,24,40,.28);
  transform: translateY(140%);
  transition: transform .28s cubic-bezier(.4,0,.2,1);
}
.sticky-cta.is-visible { transform: translateY(0); }

@media (max-width: 767px) {
  .sticky-cta { display: flex; }
  .page-reserver .sticky-cta { display: none; }
}

/* ---------- Page de réservation ---------- */

.booking-page { padding: clamp(28px, 4vw, 52px) 0 clamp(60px, 7vw, 90px); }

.stepper {
  display: flex; align-items: center; gap: 0;
  margin-bottom: clamp(26px, 3vw, 40px);
  overflow-x: auto; padding-bottom: 4px;
  list-style: none; padding-left: 0;
}
.stepper li { list-style: none; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.stepper li + li::before {
  content: ''; width: clamp(18px, 4vw, 54px); height: 2px;
  background: var(--border); margin: 0 10px; flex-shrink: 0;
}
.stepper .dot {
  width: 30px; height: 30px; flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%; border: 2px solid var(--border);
  font-size: .82rem; font-weight: 800; color: var(--text-2);
  background: var(--surface);
  transition: all .2s ease;
}
.stepper .label { font-size: .85rem; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.stepper li[data-state="current"] .dot { border-color: var(--accent); background: var(--accent); color: #05221F; }
.stepper li[data-state="current"] .label { color: var(--navy); }
.stepper li[data-state="done"] .dot { border-color: var(--accent); color: var(--accent-dark); }
@media (max-width: 640px) { .stepper .label { display: none; } }

/* ---------- Carte interactive ---------- */

.map-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--sh-sm);
}

.map-toolbar {
  display: flex; flex-wrap: wrap; gap: 12px;
  align-items: center; justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-soft);
}

.map-modes { display: flex; gap: 6px; background: var(--border-soft);
  padding: 4px; border-radius: 999px; }
.map-mode {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border: 0; border-radius: 999px;
  background: transparent; cursor: pointer;
  font-size: .87rem; font-weight: 700; color: var(--text-2);
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.map-mode:hover { color: var(--navy); }
.map-mode.is-active {
  background: var(--surface); color: var(--navy); box-shadow: var(--sh-sm);
}

.pin-dot {
  width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(16,24,40,.06);
}
.pin-pickup  { background: var(--accent); }
.pin-dropoff { background: var(--navy); }

.map-tools { display: flex; gap: 8px; }
.map-tool {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 15px;
  background: transparent; border: 1px solid var(--border);
  border-radius: 999px; cursor: pointer;
  font-size: .84rem; font-weight: 600; color: var(--text-2);
  transition: border-color .16s ease, color .16s ease, background-color .16s ease;
}
.map-tool:hover { border-color: var(--navy); color: var(--navy); background: rgba(16,24,40,.02); }
.map-tool svg { width: 15px; height: 15px; }

.map-canvas {
  width: 100%;
  height: clamp(280px, 42vh, 440px);
  background: #EEF2F6;
  z-index: 1;
}
.map-canvas .leaflet-container { font-family: var(--font); background: #EEF2F6; }
.map-canvas .leaflet-control-attribution {
  font-size: 10px; background: rgba(255,255,255,.82); color: var(--text-2);
}
.map-canvas .leaflet-control-attribution a { color: var(--accent-dark); }
.map-canvas .leaflet-bar a {
  color: var(--navy); border-bottom-color: var(--border);
  width: 32px; height: 32px; line-height: 32px; font-weight: 700;
}
.map-canvas .leaflet-bar a:hover { background: var(--accent-soft); }

.map-hint {
  margin: 0; padding: 12px 18px;
  font-size: .84rem; color: var(--text-2);
  background: #FCFDFE; border-top: 1px solid var(--border-soft);
}
.map-hint strong { color: var(--navy); }

.trfio-pin {
  width: 30px; height: 40px;
  display: grid; place-items: start center;
  filter: drop-shadow(0 4px 8px rgba(16,24,40,.32));
  cursor: grab;
}
.trfio-pin:active { cursor: grabbing; }
.trfio-pin svg { width: 30px; height: 40px; }

@media (max-width: 620px) {
  .map-toolbar { padding: 12px 14px; }
  .map-modes { width: 100%; justify-content: stretch; }
  .map-mode { flex: 1; justify-content: center; padding: 10px 10px; }
  .map-tools { width: 100%; }
  .map-tool { flex: 1; justify-content: center; }
}
.booking-layout { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 980px) { .booking-layout { grid-template-columns: minmax(0,1fr) 340px; gap: 32px; } }

.booking-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--sh-sm);
}
.booking-step[hidden] { display: none; }
.booking-step h2 { font-size: 1.32rem; margin-bottom: 6px; }
.booking-step > .step-intro { color: var(--text-2); font-size: .92rem; margin-bottom: 24px; }

.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } .form-grid .span-2 { grid-column: auto; } }

.step-actions {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--border-soft);
}
.step-actions .btn { flex: 1 1 auto; min-width: 140px; }
@media (min-width: 620px) { .step-actions .btn { flex: 0 0 auto; } }

.vehicle-options { display: grid; gap: 12px; }
.vehicle-option {
  display: grid;
  grid-template-columns: 74px minmax(0,1fr) auto;
  align-items: center; gap: 16px;
  padding: 14px 18px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  position: relative;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease;
}
.vehicle-option:hover { border-color: #C3CDDB; }
.vehicle-option input { position: absolute; opacity: 0; pointer-events: none; }
.vehicle-option.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(32,198,183,.12);
}
.vehicle-option.is-disabled { opacity: .45; pointer-events: none; }
.vehicle-option .vo-visual { width: 74px; }
.vehicle-option .vo-name { font-weight: 700; color: var(--navy); display: block; }
.vehicle-option .vo-meta { font-size: .82rem; color: var(--text-2); display: block; }
.vehicle-option .vo-price { text-align: right; }
.vehicle-option .vo-price strong { display: block; font-size: 1.16rem; color: var(--navy); letter-spacing: -.02em; }
.vehicle-option .vo-price span { font-size: .74rem; color: var(--text-2); }
@media (max-width: 560px) {
  .vehicle-option { grid-template-columns: 56px minmax(0,1fr); grid-template-areas: 'v n' 'p p'; }
  .vehicle-option .vo-visual { grid-area: v; width: 56px; }
  .vehicle-option .vo-body { grid-area: n; }
  .vehicle-option .vo-price { grid-area: p; text-align: left; padding-top: 6px;
    border-top: 1px solid rgba(16,24,40,.06); }
  .vehicle-option .vo-price strong { display: inline; }
}

.summary-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 24px;
  position: sticky; top: 92px;
}
.summary-card h3 { font-size: 1rem; margin-bottom: 16px; }
.summary-row {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 9px 0; font-size: .88rem;
  border-bottom: 1px solid var(--border-soft);
}
.summary-row:last-of-type { border-bottom: none; }
.summary-row dt { color: var(--text-2); flex-shrink: 0; }
.summary-row dd { margin: 0; text-align: right; font-weight: 600; color: var(--text); overflow-wrap: anywhere; }
.summary-total {
  margin-top: 14px; padding-top: 16px; border-top: 2px solid var(--navy);
  display: flex; justify-content: space-between; align-items: baseline;
}
.summary-total span { font-weight: 700; }
.summary-total strong { font-size: 1.5rem; color: var(--navy); letter-spacing: -.03em; }
.summary-empty { color: var(--text-2); font-size: .88rem; }

.notice {
  padding: 14px 18px; border-radius: var(--r-md);
  font-size: .87rem; line-height: 1.6;
  border: 1px solid; margin-bottom: 18px;
}
.notice-info    { background: #F1F5F9; border-color: var(--border); color: var(--text-2); }
.notice-error   { background: #FEF3F2; border-color: #FDA29B; color: #B42318; }
.notice-warn    { background: #FFFAEB; border-color: #FEDF89; color: #B54708; }
.notice-success { background: var(--accent-soft); border-color: #7FE3D8; color: #0C6B61; }
.notice[hidden] { display: none; }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: .86rem; color: var(--text-2); line-height: 1.55;
}
.consent input {
  width: 20px; height: 20px; min-height: 20px; margin: 2px 0 0; flex-shrink: 0;
  accent-color: var(--accent-dark);
}
.consent a { color: var(--accent-dark); }

.spinner {
  width: 17px; height: 17px;
  border: 2px solid rgba(5,34,31,.25); border-top-color: #05221F;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

.loading-block { display: flex; align-items: center; gap: 12px; padding: 30px 0; color: var(--text-2); }
.loading-block .spinner { border-color: rgba(102,112,133,.25); border-top-color: var(--accent-dark); }

/* ---------- Confirmation ---------- */

.confirm-wrap { max-width: 680px; margin-inline: auto; text-align: center;
  padding: clamp(50px, 7vw, 90px) 0; }
.confirm-badge {
  width: 76px; height: 76px; margin: 0 auto 26px;
  display: grid; place-items: center;
  background: var(--accent-soft); border-radius: 50%; color: var(--accent-dark);
}
.confirm-badge svg { width: 36px; height: 36px; }
.confirm-ref {
  display: inline-block; margin: 22px 0;
  padding: 16px 32px;
  background: var(--surface); border: 2px dashed var(--border); border-radius: var(--r-lg);
}
.confirm-ref span { display: block; font-size: .76rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.confirm-ref strong { font-size: 1.7rem; letter-spacing: .06em; color: var(--navy); }

/* ---------- Contenu éditorial ---------- */

.prose { max-width: 74ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin-bottom: 1.1rem; }
.prose li { margin-bottom: .5em; }
.prose a { color: var(--accent-dark); }
.prose .todo {
  display: inline-block; padding: 2px 9px; border-radius: 6px;
  background: #FFFAEB; border: 1px solid #FEDF89; color: #B54708;
  font-size: .82rem; font-weight: 700;
}

.contact-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--border); }
.contact-list strong { display: block; font-size: .78rem; letter-spacing: .06em;
  text-transform: uppercase; color: var(--text-2); margin-bottom: 4px; }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; }

/* ---------- 404 ---------- */
.err-wrap { text-align: center; padding: clamp(70px, 10vw, 130px) 0; }
.err-wrap .code { font-size: clamp(4rem, 12vw, 7rem); font-weight: 800;
  color: var(--accent); opacity: .3; line-height: 1; letter-spacing: -.05em; }

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: grid; }
  .header-phone { display: none; }
}
@media (max-width: 560px) {
  .header-actions .btn-accent { display: none; }
}

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

@media print {
  .site-header, .site-footer, .cta-final, .sticky-cta, .step-actions { display: none !important; }
  body { background: #fff; }
}

/* ---------- Voyage avec enfants ---------- */
.kids-toggle { font-weight: 600; color: var(--text); }
.kids-panel {
  margin-top: 16px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  animation: kids-in .22s ease;
}
.kids-panel[hidden] { display: none; }
@keyframes kids-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
.kids-intro {
  margin: 0 0 16px;
  font-size: .88rem;
  color: var(--text-2);
  line-height: 1.6;
}
.kids-note {
  margin: 14px 0 0;
  font-size: .82rem;
  color: var(--text-2);
  line-height: 1.55;
}
.kids-panel .field > label { font-size: .74rem; }
.kids-panel .field select { min-height: 48px; }

/* ---------- Choix du mode de paiement (formulaire) ---------- */
.pay-legend {
  margin: 0 0 12px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-2);
}
.pay-choices { display: grid; gap: 10px; }
@media (min-width: 640px) { .pay-choices { grid-template-columns: 1fr 1fr; } }

.pay-choice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.pay-choice:hover { border-color: var(--accent); }
.pay-choice input { margin-top: 3px; flex: 0 0 auto; }
.pay-choice:has(input:checked) {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
}
.pay-choice span { display: block; }
.pay-choice strong { display: block; font-size: .95rem; margin-bottom: 4px; }
.pay-choice em {
  display: block;
  font-style: normal;
  font-size: .82rem;
  line-height: 1.5;
  color: var(--text-2);
}

/* ---------- Pages a jeton : suivi, paiement ---------- */
.container.narrow { max-width: 720px; }
#suivi-carte { z-index: 0; }

/* ---------------------------------------------------------------------
   Pages de destination, rubriques et page hors ligne
   --------------------------------------------------------------------- */

.fil {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  font-size: .86rem; color: var(--text-2); margin-bottom: 18px;
}
.fil a { color: var(--text-2); text-decoration: none; }
.fil a:hover { color: var(--text); text-decoration: underline; }
.fil span[aria-hidden] { opacity: .5; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 24px;
}
.card h2, .card h3 { margin-top: 0; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 10px;
  background: var(--surface);
}
.faq-item summary {
  cursor: pointer; padding: 16px 20px; font-weight: 600; list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item > p { padding: 0 20px 18px; margin: 0; color: var(--text-2); line-height: 1.8; }
