/* ═══════════════════════════════════════════════════════════════════════════
 *  ou-je-vous-emmene.css  —  styles spécifiques à la page "Où je vous emmène"
 * ═══════════════════════════════════════════════════════════════════════════ */

/* ─── BREADCRUMB ────────────────────────────────────────────────────── */
.breadcrumb {
  padding: 20px 0 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ─── Pill taxi (réutilisée des autres pages) ──────────────────────── */
.pill-taxi-hero {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--taxi-soft);
  color: var(--taxi-deep);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
}
.pill-taxi-hero svg { color: var(--taxi-deep); }

/* ─── Section divider (réutilisé) ──────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}
.section-divider__line {
  flex: 1;
  height: 1px;
  background: var(--border-warm, var(--border));
}

/* ─── HERO ─────────────────────────────────────────────────────────── */
.zone-hero {
  padding: 40px 0 72px;
}
.zone-hero-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 900px) {
  .zone-hero { padding: 40px 0 88px; }
  .zone-hero-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    align-items: start;
  }
}
.zone-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.zone-hero h1 .italic {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--text-muted);
  display: block;
}
.zone-hero p {
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.65;
  margin-top: 28px;
  max-width: 540px;
}
.zone-hero p strong { font-weight: 600; }

/* Hero épuré (sans aside de chiffres) : un seul bloc à gauche. */
.zone-hero-intro {
  max-width: 760px;
}
.zone-hero-intro p {
  max-width: 620px;
}

/* Mini-stats (aside dans le hero, mirror de la key-card de tarifs) */
.zone-stats {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px 24px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
}
.zone-stats__item {
  padding: 0 4px;
}
.zone-stats__n {
  font-size: clamp(28px, 3.6vw, 38px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
.zone-stats__l {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.35;
}

/* ─── Titres de section communs ──────────────────────────────────── */
.zone-h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.zone-h2 .italic {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: var(--text-muted);
}
.zone-intro {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0 0 28px;
  max-width: 620px;
  line-height: 1.55;
}
/* Sous-intro plus légère (sous une zone-intro), pour amener une liste/grille */
.zone-subintro {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 20px;
  max-width: 620px;
  line-height: 1.55;
}
/* Intro tassée juste au-dessus de la carte */
.zone-intro--map {
  margin-top: 24px;
  margin-bottom: 20px;
}

/* ─── Flow typographique (villages, régions) ──────────────────────── */
.villages-flow,
.regions-flow {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--text);
  margin: 18px 0 0;
  max-width: 880px;
  text-wrap: pretty;
  letter-spacing: -0.005em;
}
.regions-flow {
  margin: 14px 0 0;
}

/* ─── Liste hôpitaux ─────────────────────────────────────────────── */
.hopitaux-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
  max-width: 720px;
}
.hopitaux-list li {
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
}
.hopitaux-list li::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--medical);
}
.hopitaux-list__name {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}
.hopitaux-link {
  margin: 22px 0 0;
  font-size: 14.5px;
}
.hopitaux-link a {
  color: var(--medical);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 1px;
  transition: gap 0.15s ease;
}
.hopitaux-link a:hover {
  gap: 10px;
}

/* ─── Note de prise en charge (sous les cards de stationnement) ─── */
.pickup-note {
  margin: 28px 0 0;
  font-size: 14.5px;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.55;
}
.pickup-note strong {
  color: var(--text);
  font-weight: 600;
}

/* ─── CARTE INTERACTIVE ──────────────────────────────────────────── */
.map-wrap {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
#zone-map {
  width: 100%;
  height: 560px;
  background: var(--paper);
  z-index: 0;
}
@media (max-width: 700px) {
  #zone-map { height: 460px; }
}

/* Légende discrète sous la carte */
.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--paper);
  font-size: 13px;
  color: var(--text-muted);
}
.map-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.map-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  flex-shrink: 0;
}
.map-dot--calvi {
  width: 14px;
  height: 14px;
  background: var(--taxi);
  border: 2px solid var(--taxi-deep);
}
.map-dot--airport {
  width: 16px;
  height: 16px;
  background: var(--surface);
  border: 1.5px solid var(--text);
  color: var(--text);
}
.map-dot--airport svg {
  width: 10px;
  height: 10px;
  display: block;
}
.map-dot--port {
  width: 18px;
  height: 18px;
  background: var(--surface);
  border: 1.5px solid var(--text);
  color: var(--text);
}
.map-dot--port svg {
  width: 11px;
  height: 11px;
  display: block;
}
.map-dot--village {
  width: 8px;
  height: 8px;
  background: var(--text-muted);
  border: 1.5px solid var(--surface);
  box-shadow: 0 0 0 1px var(--border);
}

/* Markers Leaflet personnalisés (HTML divIcon) */
.zone-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.15s ease;
}
.zone-marker:hover {
  transform: scale(1.18);
  z-index: 10;
}

/* Villages, lieux-dits, cols — petit point discret */
.zone-marker--village {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--text-muted);
  border: 2px solid var(--surface);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15),
              0 1px 2px rgba(0,0,0,0.12);
}

/* Ports / Ferries : Bastia, Ajaccio, Île-Rousse, Porto-Vecchio, Propriano, Bonifacio */
.zone-marker--port {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--text);
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.zone-marker--port svg {
  width: 15px;
  height: 15px;
  display: block;
}

/* Aéroports : pastille blanche avec icône avion */
.zone-marker--airport {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--surface);
  border: 2px solid var(--text);
  color: var(--text);
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}
.zone-marker--airport svg {
  width: 15px;
  height: 15px;
  display: block;
}

/* Calvi — point de départ, marqueur principal avec pulse + label */
.zone-marker-wrap--calvi {
  /* le wrap Leaflet ne doit pas clipper le label ni le pulse */
  overflow: visible !important;
}
.zone-marker--calvi {
  position: relative;
  width: 120px;
  height: 44px;
  display: block;
  overflow: visible;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.zone-marker--calvi::after { content: none; }
.zone-marker--calvi .zone-marker__dot {
  position: absolute;
  top: 50%;
  left: 22px;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--taxi);
  border: 3px solid var(--surface);
  box-shadow: 0 2px 8px rgba(0,0,0,0.28),
              0 0 0 1.5px var(--taxi-deep);
  z-index: 3;
}
.zone-marker--calvi .zone-marker__pulse {
  position: absolute;
  top: 50%;
  left: 22px;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border-radius: 999px;
  background: var(--taxi);
  opacity: 0.5;
  z-index: 1;
  animation: calviPulse 2.6s cubic-bezier(0.22, 0.61, 0.36, 1) infinite;
  pointer-events: none;
}
.zone-marker--calvi .zone-marker__pulse--delayed {
  animation-delay: 1.3s;
}
.zone-marker--calvi .zone-marker__label {
  position: absolute;
  top: 50%;
  left: 42px;
  transform: translateY(-50%);
  background: var(--text);
  color: var(--surface);
  font-family: 'JetBrains Mono', 'Menlo', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 5px 9px 4px;
  border-radius: 4px;
  white-space: nowrap;
  z-index: 4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.22);
  pointer-events: none;
}
.zone-marker--calvi .zone-marker__label::before {
  /* petit triangle qui pointe vers le dot */
  content: '';
  position: absolute;
  top: 50%;
  left: -4px;
  transform: translateY(-50%) rotate(45deg);
  width: 6px;
  height: 6px;
  background: var(--text);
}
@keyframes calviPulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(3.2);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .zone-marker--calvi .zone-marker__pulse {
    animation: none;
    opacity: 0.25;
  }
}

/* Popup Leaflet personnalisé */
.leaflet-popup-content-wrapper {
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12) !important;
  border: 1px solid var(--border) !important;
}
.leaflet-popup-content {
  margin: 12px 16px !important;
  font-family: 'Inter', sans-serif !important;
}
.zone-popup__name {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text);
  letter-spacing: -0.01em;
  margin: 0 0 4px;
  line-height: 1.25;
}
.zone-popup__info {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.zone-popup__base {
  font-style: italic;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 13px;
  color: var(--taxi-deep);
}
.zone-popup__tag {
  display: inline-block;
  margin-top: 6px;
  padding: 2px 8px;
  background: var(--paper, #f5f1ea);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}
.zone-popup__note {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-size: 12.5px;
  color: var(--taxi-deep);
  margin-top: 4px;
  line-height: 1.3;
}

/* ─── DESTINATIONS (Balagne + Longue distance) ──────────────────── */
.dest-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 820px) {
  .dest-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: start;
  }
}
/* Variante : une seule colonne centrée (page épurée, sans liste Balagne) */
.dest-single {
  max-width: 640px;
  margin: 0 auto;
}
.dest-col__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
}
.dest-col__title svg {
  color: var(--taxi-deep);
}
.dest-col__intro {
  font-size: 14.5px;
  color: var(--text-muted);
  margin: 0 0 18px;
  line-height: 1.55;
}
.dest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.dest-list__item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.dest-list__name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
}
.dest-list__km {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.dest-list__item--base .dest-list__name {
  color: var(--taxi-deep);
  font-weight: 700;
}
.dest-list__item--base .dest-list__km {
  font-style: italic;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 13.5px;
  color: var(--taxi-deep);
}

/* Encart longue distance — appel téléphonique */
.long-dist-note {
  margin-top: 24px;
  padding: 22px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.long-dist-note p {
  margin: 0 0 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text);
}
.long-dist-note p strong { font-weight: 600; }
.long-dist-note__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--text);
  color: var(--surface);
  border: 1.5px solid var(--text);
  border-radius: var(--radius-sm);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background var(--t-fast) var(--ease),
              color var(--t-fast) var(--ease);
}
.long-dist-note__cta:hover {
  background: var(--surface);
  color: var(--text);
}
.long-dist-note__cta svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
}

/* ─── STATIONNEMENT — styles partagés dans css/style.css (.stat-card) ──── */

/* ─── CTA FINAL (réutilise sec--taxi) ──────────────────────────── */
.cta { text-align: center; }
.cta h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 42px);
  margin: 0;
}
.cta p {
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--text-muted);
  margin: 14px 0 32px;
}
.cta__buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
