/* ===== Variables (couleurs douces, reposantes) ===== */
:root {
  --color-primary: #b91c1c;
  --color-primary-dark: #991b1b;
  --color-accent: #ffffff;
  --color-accent-dark: #f0f0f0;
  --color-text: #2d2d2d;
  --color-text-muted: #6b7280;
  --color-bg: #fafbfc;
  --color-bg-alt: #f3f4f6;
  --color-border: #e5e7eb;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;
  --container: 1000px;
  --header-height: 72px;
  --radius: 10px;
  --radius-btn: 999px;
  --shadow: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, .08);
}

/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(185, 28, 28, .12);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.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;
}

/* ===== Menu déroulant langue (drapeaux) ===== */
.lang-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 16px;
  background: #5a4a4a;
  color: rgba(255,255,255,.92);
  font-size: 0.9rem;
}
.lang-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
  min-height: 40px;
}
.lang-dropdown-trigger:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.4);
  color: #fff;
}
.lang-dropdown-trigger[aria-expanded="true"] {
  background: rgba(255,255,255,.95);
  border-color: #fff;
  color: var(--color-primary-dark);
}
.lang-dropdown-trigger .lang-flag {
  font-size: 1.25rem;
  line-height: 1;
}
.lang-dropdown-trigger .lang-chevron {
  font-size: 0.65rem;
  opacity: .8;
  transition: transform .2s;
}
.lang-dropdown-trigger[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}
.lang-dropdown-list {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin: 0.25rem 0 0;
  padding: 0.25rem 0;
  min-width: 160px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  list-style: none;
  z-index: 1000;
}
.lang-dropdown-list[hidden] {
  display: none;
}
.lang-dropdown-list a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.lang-dropdown-list a:hover {
  background: var(--color-bg-alt);
  color: var(--color-primary);
  text-decoration: none;
}
.lang-dropdown-list a.is-current {
  background: rgba(185, 28, 28, .12);
  color: var(--color-primary);
}
.lang-dropdown-list .lang-flag {
  font-size: 1.2rem;
  line-height: 1;
}

@media (max-width: 480px) {
  .lang-dropdown {
    padding-left: max(12px, env(safe-area-inset-left));
    padding-right: max(12px, env(safe-area-inset-right));
  }
  .lang-dropdown-trigger .lang-name { max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lang-dropdown-list { left: 50%; right: auto; transform: translateX(-50%); min-width: 160px; }
}

/* RTL (arabe) */
[dir="rtl"] .lang-dropdown { flex-direction: row-reverse; }
[dir="rtl"] .lang-bar { flex-direction: row-reverse; }
[dir="rtl"] .header-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav { flex-direction: row-reverse; }
[dir="rtl"] .form-row { flex-direction: row-reverse; }
[dir="rtl"] .recap-grid { direction: rtl; }
[dir="rtl"] .footer-grid { direction: rtl; }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: none;
  border-bottom: 4px solid transparent;
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--color-primary);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav a {
  color: var(--color-text);
  font-weight: 500;
}
.nav a:hover,
.nav-reserver:hover { color: var(--color-primary); text-decoration: none; }

/* Titre formulaire « Réservez votre taxi » avec icônes WhatsApp (gauche) et Téléphone (droite) */
.reservation-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.reservation-title-wrap .reservation-title {
  margin: 0;
}
.reservation-title-icons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}
.hero-cta {
  margin: 0;
  font-size: 0.9rem;
  text-align: center;
  color: var(--color-text-muted);
}
.hero-cta a {
  font-weight: 700;
  color: var(--color-primary);
}
.reservation-title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
  flex-shrink: 0;
}
.reservation-title-icon:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
  text-decoration: none;
  color: #fff;
}
.reservation-title-icon svg {
  width: 24px;
  height: 24px;
}
.reservation-title-wa {
  background: #25d366;
}
.reservation-title-phone {
  background: var(--color-primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: var(--color-primary);
  color: #fff !important;
  border-radius: var(--radius-btn);
  font-weight: 600;
  text-decoration: none !important;
  font-family: var(--font-heading);
}
.btn-phone:hover { background: var(--color-primary-dark); text-decoration: none !important; }
.btn-phone-icon { font-size: 1.1rem; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  background: #25d366;
  color: #fff !important;
  border-radius: var(--radius-btn);
  font-weight: 600;
  text-decoration: none !important;
  font-family: var(--font-heading);
}
.btn-whatsapp:hover { background: #20bd5a; text-decoration: none !important; color: #fff !important; }
.btn-whatsapp-icon { font-size: 1.1rem; }
.lang-selector { position: relative; }
.lang-btn {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  cursor: pointer;
  font-size: 0.9rem;
}
.lang-btn:hover { border-color: var(--color-primary); color: var(--color-primary); }
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 1rem 20px;
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}
.nav-mobile a { padding: 0.5rem 0; }
.nav-mobile-label {
  display: block;
  padding: 0.75rem 0 0.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .nav,
  .header-actions { display: none; }
  .menu-toggle { display: flex; }
  .nav-mobile.is-open { display: flex; }
}

/* ===== Hero + formulaire (fond doux, sans bandes) ===== */
.hero {
  position: relative;
  min-height: 520px;
  padding: 2rem 20px 3rem;
  background: #e8eaef;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
}
.reservation-card {
  max-width: 560px;
  margin: 0 auto;
  padding: 2.25rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.2);
}
.reservation-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
  text-align: center;
  letter-spacing: -0.02em;
}

/* Formulaire */
.form-reservation { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.form-row > input:not([type="date"]):not([type="time"]),
.form-row > select { flex: 1 1 140px; min-width: 0; }
.form-row-address { flex-direction: column; }
.form-row-address input { flex: 1; min-width: 0; }
.address-input-wrap { position: relative; flex: 1; min-width: 0; }
.address-input-with-locate {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}
.address-input-with-locate .btn-locate {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, border-color .2s;
}
.address-input-with-locate .btn-locate:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}
.address-input-with-locate .btn-locate:focus {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}
.address-input-with-locate .btn-locate:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.address-input-with-locate input { flex: 1; min-width: 0; }
.address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 2px 0 0;
  padding: 0;
  list-style: none;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-height: 220px;
  overflow-y: auto;
  z-index: 50;
}
.address-suggestions[hidden] { display: none !important; }
.address-suggestions li { margin: 0; padding: 0; border: none; }
.address-suggestions button {
  display: block;
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 0.95rem;
  text-align: left;
  cursor: pointer;
  color: var(--color-text);
}
.address-suggestions button:hover,
.address-suggestions button[aria-selected="true"] {
  background: var(--color-bg-alt);
}
.address-suggestions button:focus { outline: 2px solid var(--color-primary); outline-offset: -2px; }

/* Carte itinéraire (après départ / arrivée) */
.route-map-wrap {
  margin-top: 0.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  min-height: 200px;
}
.route-map-placeholder {
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.route-map-wrap.has-route .route-map-placeholder { display: none; }
.route-map-wrap.has-route .route-map { display: block; }
.route-map {
  display: none;
  height: 280px;
  width: 100%;
  z-index: 1;
}
.route-map .leaflet-popup-content-wrapper { border-radius: 8px; }
.route-map .leaflet-popup-content-wrapper .leaflet-popup-content { margin: 0.5rem 0.75rem; font-size: 0.9rem; }
.route-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  border-radius: 50%;
}
.route-marker-depart { background: #059669; }
.route-marker-arrivee { background: var(--color-primary); }

@media (max-width: 480px) {
  .form-row > input, .form-row > select { flex: 1 1 100%; }
  .route-map { height: 240px; }
}
.form-row-datetime .form-group { flex: 1; min-width: 100px; }
.form-group { display: flex; flex-direction: column; gap: 0.25rem; }
.form-group label { font-size: 0.9rem; color: var(--color-text-muted); }
.form-reservation input,
.form-reservation select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
}
.form-reservation input:focus,
.form-reservation select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(185, 28, 28, .18);
}
.btn-maintenant {
  padding: 0.7rem 1.5rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-heading);
}
.btn-maintenant:hover { background: var(--color-primary-dark); }
.recap-box {
  padding: 1.1rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}
.recap-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
}
.recap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  font-size: 0.9rem;
}
.recap-label { color: var(--color-text-muted); font-weight: 600; }
.recap-value { color: var(--color-text); }
.recap-tarif-estime {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  min-height: 1.4em;
}
.recap-tarif-estime.recap-tarif-estime-visible {
  font-weight: 700;
  color: var(--color-primary);
}
.form-info {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text);
}
.form-info a { font-weight: 600; color: var(--color-primary); }
.btn-submit {
  padding: 0.9rem 1.75rem;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
  font-family: var(--font-heading);
}
.btn-submit:hover { background: var(--color-primary-dark); }

/* ===== Ancre ===== */
.anchor { height: 1px; margin: 0; padding: 0; }

/* ===== Sections (couleurs unies, douces) ===== */
.section { padding: 3rem 20px; }
.section-light {
  background: var(--color-bg);
}
.section-dark {
  background: var(--color-bg-alt);
}
.container {
  max-width: var(--container);
  margin: 0 auto;
}
.container-narrow { max-width: 720px; }
.section-hr {
  width: 56px;
  height: 3px;
  margin: 0 auto 1.5rem;
  border: none;
  background: var(--color-primary);
  border-radius: var(--radius-btn);
  opacity: 0.8;
}
.section-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  text-align: center;
  color: var(--color-text);
  letter-spacing: -0.03em;
}
.color-primary { color: var(--color-primary) !important; }
.section-subtitle {
  margin: 0 0 1.5rem;
  font-size: 1.2rem;
  text-align: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text-muted);
}
.section-lead {
  margin: 0 auto 2rem;
  max-width: 640px;
  font-size: 1.1rem;
  text-align: center;
  color: var(--color-text-muted);
}
.section-cta { text-align: center; margin-top: 2rem; }

/* Cards services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.service-card {
  background: var(--color-bg);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(185, 28, 28, .3);
}
.service-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #111;
}
.service-card-img img,
.service-card-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-card-img video {
  pointer-events: none;
}
.service-card-title {
  margin: 0;
  padding: 1.15rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  text-align: center;
  color: var(--color-text);
}

/* Card link (image + label) */
.card-link {
  display: inline-block;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  transition: transform .25s, box-shadow .25s;
}
.card-link:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
  text-decoration: none;
}
.card-image-wrap {
  width: 280px;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.card-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card-image-wrap-video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.card-link-label {
  display: block;
  padding: 0.85rem;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  text-align: center;
  font-family: var(--font-heading);
  text-shadow: 0 1px 2px rgba(0,0,0,.15);
}

/* Grille aéroports (CDG + Orly) */
.airports-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.airports-cta .card-link { flex: 1 1 260px; max-width: 280px; }

/* Grille gares */
.gares-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
}
.card-link-gares {
  min-width: 140px;
}
.card-link-gares .card-link-label {
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
}
.card-link-gares .card-image-wrap { display: none; }
.card-link-gares { padding: 0; }

/* Véhicules */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.vehicles-grid-three {
  grid-template-columns: repeat(3, 1fr);
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}
.vehicle-card {
  padding: 0;
  background: var(--color-bg);
  border-radius: 14px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--color-border);
  overflow: hidden;
}
.vehicle-card-img {
  width: 100%;
  aspect-ratio: 400 / 260;
  overflow: hidden;
  background: var(--color-bg-alt);
}
.vehicle-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.vehicle-card .vehicle-name {
  margin: 0.75rem 1rem 0;
  padding: 0;
}
.vehicle-card .vehicle-desc {
  margin: 0.35rem 1rem 1rem;
  padding: 0;
}
.vehicle-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.vehicle-name { margin: 0; font-weight: 600; color: var(--color-text); font-family: var(--font-heading); font-size: 1rem; }
.vehicle-desc { margin: 0.5rem 0 0; font-size: 0.85rem; color: var(--color-text-muted); }

/* Boutons */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-btn);
  font-weight: 600;
  text-decoration: none;
  transition: background .2s;
  font-family: var(--font-heading);
}
.btn-primary { background: var(--color-primary); color: #fff; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--color-primary-dark); text-decoration: none; color: #fff; }
.btn-primary.btn-gold { background: #fff; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-primary.btn-gold:hover { background: var(--color-primary); color: #fff; text-decoration: none; border-color: var(--color-primary); }

/* ===== Footer ===== */
.footer {
  background: #4a4a4f;
  color: rgba(255,255,255,.92);
  padding: 2.5rem 20px 1.5rem;
  border-top: 1px solid var(--color-border);
}
.footer a { color: rgba(255,255,255,.92); }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer-inner { max-width: var(--container); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .logo-text { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; }
.footer-brand p { margin: 0.5rem 0 0; font-size: 0.95rem; opacity: .9; }
.footer-contact h3,
.footer-links h3,
.footer-social h3 { margin: 0 0 0.75rem; font-size: 1rem; }
.footer-contact p,
.footer-links a,
.footer-social a { display: block; margin: 0.25rem 0; font-size: 0.95rem; }
.footer-copy {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 0.9rem;
  opacity: .85;
  text-align: center;
}

/* ===== Pages internes ===== */
.page-header {
  padding: 3rem 20px 2rem;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
}
.page-header h1 { margin: 0; font-family: var(--font-heading); font-size: clamp(1.5rem, 4vw, 2rem); font-weight: 700; letter-spacing: -0.02em; }
.page-content { padding: 2rem 20px 3rem; max-width: var(--container); margin: 0 auto; }
.page-content h2 { font-family: var(--font-heading); color: var(--color-primary); margin-top: 2rem; }
.page-content p { margin: 0 0 1rem; }
.page-content ul { margin: 0 0 1rem; padding-left: 1.5rem; }
.page-content li { margin-bottom: 0.35rem; }

/* ===== Section vidéo ===== */
.section-video {
  background: var(--color-bg);
}
.section-video-lead {
  margin-bottom: 1.75rem;
}
.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 1.5rem auto 1.5rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}
.video-wrapper::before {
  content: '';
  display: block;
  padding-top: 56.25%; /* 16:9 */
}
@supports (aspect-ratio: 16 / 9) {
  .video-wrapper::before {
    display: none;
  }
  .video-wrapper {
    aspect-ratio: 16 / 9;
  }
}
.video-embed,
.video-native {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.video-wrapper .video-native {
  object-fit: cover;
}

/* Placeholder quand aucune vidéo YouTube n'est configurée */
.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-border) 100%);
  color: var(--color-text-muted);
  text-align: center;
}
.video-placeholder-icon {
  font-size: 3rem;
  color: var(--color-primary);
  opacity: 0.7;
  margin-bottom: 0.75rem;
}
.video-placeholder-text {
  margin: 0 0 0.5rem;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-text);
}
.video-placeholder-hint {
  margin: 0;
  font-size: 0.85rem;
  max-width: 320px;
  line-height: 1.5;
}
.video-placeholder-hint code {
  padding: 0.15em 0.4em;
  background: rgba(0,0,0,.08);
  border-radius: 4px;
  font-size: 0.9em;
}
.video-wrapper .video-embed {
  z-index: 1;
}
.video-wrapper:has(.video-embed[src*="youtube.com"]) .video-placeholder {
  display: none;
}

/* Photo / vidéo de présentation (centrée) */
.video-presentation {
  width: 100%;
  max-width: 800px;
  margin: 2rem auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.presentation-video {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  display: block;
  margin: 0 auto;
  background: #111;
  box-sizing: border-box;
}
.video-credit a { color: inherit; text-decoration: underline; }

/* ===== Mobile : compatible et fluide ===== */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 16px;
    height: 56px;
    min-height: 56px;
  }
  .logo-text {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
  }
  .menu-toggle {
    min-width: 48px;
    min-height: 48px;
    padding: 12px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
  }
  .nav-mobile {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  .nav-mobile a {
    display: block;
    padding: 14px 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    font-size: 1rem;
    -webkit-tap-highlight-color: transparent;
  }
  .hero {
    min-height: auto;
    padding: 1.25rem 16px 2rem;
    padding-top: max(1.25rem, env(safe-area-inset-top));
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .hero-inner {
    padding: 0;
    width: 100%;
    box-sizing: border-box;
  }
  .reservation-card {
    padding: 1.35rem 1.25rem;
    border-radius: 12px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .reservation-title {
    font-size: 1.35rem;
    margin-bottom: 1.25rem;
  }
  .form-reservation {
    gap: 0.9rem;
  }
  .form-reservation input,
  .form-reservation select {
    padding: 12px 14px;
    min-height: 48px;
    font-size: 16px; /* évite le zoom auto sur iOS */
    border-radius: 8px;
    -webkit-appearance: none;
    appearance: none;
  }
  .form-row-datetime .form-group { min-width: 0; }
  .form-row-datetime {
    flex-wrap: wrap;
  }
  .form-row-datetime .form-group {
    flex: 1 1 100%;
  }
  .btn-maintenant,
  .btn-submit {
    width: 100%;
    min-height: 48px;
    padding: 14px 1.25rem;
    font-size: 1rem;
    touch-action: manipulation;
  }
  .recap-box {
    padding: 1rem;
  }
  .recap-grid {
    font-size: 0.85rem;
    gap: 0.4rem 0.75rem;
  }
  .form-info {
    font-size: 0.9rem;
  }
  .form-info a {
    word-break: break-word;
  }
  .address-suggestions {
    max-height: 200px;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
  }
  .address-suggestions button {
    padding: 14px 14px;
    min-height: 48px;
    font-size: 16px;
    text-align: left;
    -webkit-tap-highlight-color: transparent;
  }
  .container {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
    width: 100%;
    box-sizing: border-box;
  }
  .section {
    padding: 2rem 16px;
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .video-presentation {
    margin: 1.5rem auto;
    padding: 0;
    width: 100%;
    max-width: 100%;
  }
  .presentation-video {
    border-radius: 10px;
    max-width: 100%;
  }
  .airports-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    margin-top: 1.25rem;
  }
  .airports-cta .card-link {
    max-width: 100%;
  }
  .gares-cta {
    gap: 0.5rem;
    margin-top: 0.75rem;
  }
  .card-link-gares {
    min-width: 0;
    flex: 1 1 calc(50% - 0.25rem);
  }
  .card-link-gares .card-link-label {
    padding: 0.6rem 0.75rem;
    font-size: 0.9rem;
  }
  .section-title {
    font-size: 1.4rem;
    line-height: 1.3;
    padding: 0 0.25rem;
  }
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }
  .section-lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }
  .section-cta {
    margin-top: 1.5rem;
  }
  .section-cta .btn,
  .section-cta .btn-primary {
    display: inline-block;
    min-height: 48px;
    padding: 14px 1.5rem;
    touch-action: manipulation;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 1.5rem;
  }
  .service-card-title {
    padding: 1rem;
  }
  .card-link {
    width: 100%;
    max-width: 100%;
  }
  .card-image-wrap {
    width: 100%;
    max-width: 100%;
  }
  .vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .vehicles-grid-three {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .vehicle-card {
    padding: 0;
  }
  .vehicle-card .vehicle-name { margin: 0.6rem 0.75rem 0; font-size: 0.95rem; }
  .vehicle-card .vehicle-desc { margin: 0.25rem 0.75rem 0.75rem; font-size: 0.8rem; }
  .vehicle-icon {
    font-size: 2rem;
  }
  .footer {
    padding: 2rem 16px 1.25rem;
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .footer-contact p,
  .footer-links a,
  .footer-social a {
    padding: 6px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
  }
  .page-header {
    padding: 2rem 16px 1.5rem;
    padding-top: max(2rem, env(safe-area-inset-top));
  }
  .page-header h1 {
    font-size: 1.5rem;
  }
  .page-content {
    padding: 1.5rem 16px 2rem;
  }
  .page-content h2 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
  }
  .section-video-lead {
    margin-bottom: 1.25rem;
  }
  .video-wrapper {
    border-radius: 10px;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 480px) {
  .logo-text { max-width: 140px; }
  .vehicles-grid {
    grid-template-columns: 1fr;
  }
  .vehicles-grid-three {
    grid-template-columns: 1fr;
  }
  .form-row > input,
  .form-row > select {
    flex: 1 1 100%;
  }
  .section-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  .video-presentation {
    margin: 1.25rem auto;
  }
}

/* Très petits écrans */
@media (max-width: 360px) {
  .header-inner { padding: 0 12px; }
  .hero { padding: 1rem 12px 1.5rem; }
  .reservation-card { padding: 1.15rem 1rem; }
  .section { padding: 1.5rem 12px; }
  .footer { padding: 1.5rem 12px 1rem; }
}

/* Touch: pas de hover qui reste bloqué */
@media (hover: none) {
  .service-card:hover {
    transform: none;
  }
  .card-link:hover {
    transform: none;
  }
  .btn-phone:active,
  .btn-whatsapp:active,
  .btn-primary:active,
  .btn-maintenant:active,
  .btn-submit:active {
    opacity: 0.9;
  }
}

/* Réduction des animations si l'utilisateur le préfère */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
