/* ==========================================================================
   Tribu Roadtrip 2027 — assets/css/home.css
   Styles exclusifs à la page d'accueil (index.html) :
   Héros vidéo & triangles, Billetterie, Séquences, Chiffres clés, Guides,
   Transports, Tableau des vols, Timeline CSS pure, Pensions, FAQ, Équipe & Tally.
   ========================================================================== */

/* --- SECTION HÉROS & VIDÉO D'AMBIANCE --- */
.hero-section {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5) 0;
  overflow: hidden;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.hero-video-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 56.25vw;
  min-height: 100%;
  min-width: 177.77vh;
  pointer-events: none;
}

.hero-video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-wrapper iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: contrast(1.05) saturate(1.1);
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-video-wrapper iframe.loaded {
  opacity: 1;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(6, 4, 15, 0.65) 0%, 
    rgba(6, 4, 15, 0.72) 35%, 
    rgba(6, 4, 15, 0.85) 75%, 
    rgba(3, 2, 8, 0.96) 95%, 
    #030208 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-video-reflection {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: radial-gradient(ellipse at 50% 100%, rgba(224, 36, 195, 0.22) 0%, rgba(123, 44, 191, 0.16) 40%, transparent 75%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 2;
  pointer-events: none;
}

.hero-video-triangles-base {
  position: absolute;
  bottom: 0px;
  left: 0;
  width: 100%;
  height: 55px;
  z-index: 3;
  pointer-events: none;
  line-height: 0;
  margin: 0;
  padding: 0;
}

.hero-video-triangles-base svg {
  display: block;
  width: 100%;
  height: 100%;
  vertical-align: bottom;
}

.hero-triangles-decor {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1300px;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.75;
}

@media (max-width: 768px) {
  .hero-triangles-decor,
  .hero-video-triangles-base {
    display: none !important;
  }
}

.hero-tri-shape {
  position: absolute;
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  filter: blur(1px) drop-shadow(0 0 30px rgba(224, 36, 195, 0.4));
}

.hero-tri-left {
  left: 3%;
  bottom: 0px;
  width: 380px;
  height: 440px;
  background: linear-gradient(180deg, rgba(114, 9, 183, 0.5) 0%, rgba(220, 38, 38, 0.25) 100%);
}

.hero-tri-center {
  left: 50%;
  bottom: 0px;
  transform: translateX(-50%);
  width: 520px;
  height: 580px;
  background: linear-gradient(180deg, rgba(224, 36, 195, 0.55) 0%, rgba(123, 44, 191, 0.25) 100%);
}

.hero-tri-right {
  right: 3%;
  bottom: 0px;
  width: 390px;
  height: 450px;
  background: linear-gradient(180deg, rgba(247, 37, 133, 0.5) 0%, rgba(114, 9, 183, 0.2) 100%);
}

.hero-content {
  position: relative;
  z-index: 4;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 2.5rem auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: var(--space-2);
}

.hero-title {
  margin-top: var(--space-1);
  margin-bottom: var(--space-2);
  text-align: center;
  font-size: clamp(2.3rem, 5.5vw + 0.5rem, 3.8rem);
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.9), 0 0 35px rgba(123, 44, 191, 0.35);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  color: var(--text-soft);
  max-width: 720px;
  margin: 0 auto var(--space-3) auto;
  line-height: 1.5;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--space-2);
}

.hero-disclaimer {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  margin-bottom: var(--space-4);
}

/* --- BANDEAU BILLETTERIE BOOM --- */
.ticket-banner-section {
  padding: var(--space-3) 0;
  position: relative;
  z-index: 2;
}

.countdown-container {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
  text-align: center;
  box-shadow: var(--shadow);
}

/* --- CARTES DE SÉQUENCE (#bref) --- */
.seq-card {
  border-top-width: 4px;
  padding: var(--space-4) var(--space-3);
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 380px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.seq-card .badge {
  font-size: 0.95rem;
  padding: 0.5rem 1.25rem;
  margin-bottom: 0.75rem;
}

.seq-card .card-title {
  font-size: 1.6rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.seq-card p {
  text-align: center;
  line-height: 1.6;
}

.seq-card .text-muted {
  font-size: 1rem;
}

.seq-card[data-seq="boom"] {
  border-top-color: var(--magenta);
  background: linear-gradient(180deg, rgba(32, 14, 48, 0.95) 0%, rgba(18, 10, 32, 0.98) 100%);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.5), 0 0 25px rgba(224, 36, 195, 0.15);
}

.seq-card[data-seq="eclipse"] {
  border-top: 4px solid #ff7b00;
  border-color: rgba(255, 123, 0, 0.4);
  background: linear-gradient(180deg, rgba(24, 10, 4, 0.96) 0%, rgba(10, 4, 2, 0.98) 100%);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 123, 0, 0.22);
}

.seq-card[data-seq="eclipse"]:hover {
  border-color: #ff9e00;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 123, 0, 0.35);
}

.seq-card[data-seq="andalousie"] {
  border-top: 4px solid #10b981;
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(180deg, rgba(6, 26, 16, 0.96) 0%, rgba(4, 16, 10, 0.98) 100%);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), 0 0 30px rgba(16, 185, 129, 0.2);
}

.seq-card[data-seq="andalousie"]:hover {
  border-color: #34d399;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7), 0 0 35px rgba(16, 185, 129, 0.35);
}

/* Boutons d'action côte à côte des 3 séquences */
.seq-card-actions {
  margin-top: auto;
  padding-top: 1.15rem;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center;
  gap: 0.35rem !important;
  width: 100% !important;
}

.seq-card-actions a.btn-secondary {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0.52rem 0.7rem !important;
  font-size: 0.83rem !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
}

.btn-seq-boom {
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0.52rem 0.65rem !important;
  font-size: 0.82rem !important;
  white-space: nowrap !important;
  text-align: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #f72585 0%, #7209b7 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(247, 37, 133, 0.55) !important;
  box-shadow: 0 4px 18px rgba(224, 36, 195, 0.35) !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-seq-boom:hover {
  background: linear-gradient(135deg, #ff3399 0%, #8a14d4 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(224, 36, 195, 0.55) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
}

.btn-seq-eclipse {
  flex: 1 1 auto !important;
  margin: 0 !important;
  padding: 0.52rem 0.65rem !important;
  font-size: 0.82rem !important;
  white-space: nowrap !important;
  text-align: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, #ff9100 0%, #ea580c 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 145, 0, 0.65) !important;
  box-shadow: 0 4px 20px rgba(255, 102, 0, 0.42) !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.35rem !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-seq-eclipse:hover {
  background: linear-gradient(135deg, #ffa726 0%, #f97316 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(255, 102, 0, 0.68) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
}

@media (max-width: 480px) {
  .seq-card-actions {
    gap: 0.25rem !important;
  }
  .seq-card-actions a {
    padding: 0.45rem 0.42rem !important;
    font-size: 0.74rem !important;
    gap: 0.2rem !important;
  }
}

/* --- CHIFFRES CLÉS --- */
.stat-item {
  text-align: center;
  padding: var(--space-2);
}

.stat-number {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  background: var(--grad-cta);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- MISE EN PAGE DÉTAILLÉE DES SÉQUENCES (TEXTE + IMAGE ZOOMABLE) --- */
.seq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4, 2rem);
  align-items: center;
  margin-top: var(--space-4, 2rem);
}

@media (min-width: 900px) {
  .seq-layout {
    grid-template-columns: 1fr 1.15fr;
    gap: 2.75rem;
  }
}

.seq-img-box {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55), 0 0 25px rgba(123, 44, 191, 0.2);
  background: var(--surface);
  cursor: zoom-in;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.seq-img-box:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.7), 0 0 30px rgba(168, 85, 247, 0.35);
  border-color: rgba(168, 85, 247, 0.6);
}

.seq-img-box img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.seq-img-box:hover img {
  transform: scale(1.03);
}

.seq-img-box::after {
  content: 'Agrandir en plein écran';
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(15, 12, 29, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  opacity: 0.9;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.seq-img-box:hover::after {
  opacity: 1;
  transform: scale(1.05);
  border-color: var(--magenta);
}

/* --- ENCADRÉS GUIDES INTERACTIFS SÉQUENCE 1 (BOOM) & SÉQUENCE 2 (ÉCLIPSE) --- */
.guide-showcase-card {
  position: relative !important;
  margin-top: 2.75rem !important;
  border-radius: 24px !important;
  padding: 2.75rem 2.25rem !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
  z-index: 1 !important;
}

.guide-showcase-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 130px;
  border-radius: 50%;
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.7;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.guide-showcase-card:hover {
  transform: translateY(-4px) !important;
}

.guide-showcase-card:hover::before {
  opacity: 0.95;
  transform: translateX(-50%) scale(1.12);
}

.guide-showcase-boom {
  background: radial-gradient(ellipse at 50% -10%, rgba(224, 36, 195, 0.22) 0%, rgba(26, 14, 46, 0.96) 55%, rgba(13, 8, 25, 0.99) 100%) !important;
  border: 1px solid rgba(224, 36, 195, 0.48) !important;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.75), 0 0 35px rgba(224, 36, 195, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
}

.guide-showcase-boom::before {
  background: radial-gradient(circle, rgba(224, 36, 195, 0.6) 0%, rgba(181, 23, 158, 0) 70%);
}

.guide-showcase-boom:hover {
  border-color: rgba(224, 36, 195, 0.8) !important;
  box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.85), 0 0 50px rgba(224, 36, 195, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
}

.guide-showcase-eclipse {
  background: radial-gradient(ellipse at 50% -10%, rgba(255, 122, 0, 0.32) 0%, rgba(38, 17, 5, 0.97) 52%, rgba(16, 7, 3, 0.99) 100%) !important;
  border: 1px solid rgba(255, 138, 0, 0.55) !important;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 122, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.22) !important;
}

.guide-showcase-eclipse::before {
  background: radial-gradient(circle, rgba(255, 138, 0, 0.7) 0%, rgba(234, 88, 12, 0) 70%);
}

.guide-showcase-eclipse:hover {
  border-color: rgba(255, 158, 0, 0.85) !important;
  box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.88), 0 0 55px rgba(255, 122, 0, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.32) !important;
}

.guide-showcase-badge {
  margin: 0 auto 1.15rem auto !important;
  position: relative !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4) !important;
}

.guide-showcase-title {
  color: #ffffff !important;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem) !important;
  font-weight: 800 !important;
  line-height: 1.32 !important;
  letter-spacing: -0.015em !important;
  margin: 0 auto 0.95rem auto !important;
  text-align: center !important;
  max-width: 820px !important;
  position: relative !important;
  z-index: 2 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7) !important;
}

.guide-showcase-text {
  color: #cbd5e1 !important;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem) !important;
  line-height: 1.68 !important;
  max-width: 720px !important;
  margin: 0 auto 2rem auto !important;
  text-align: center !important;
  position: relative !important;
  z-index: 2 !important;
}

.guide-showcase-btn {
  position: relative !important;
  z-index: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.75rem !important;
  padding: 1rem 2.5rem !important;
  min-height: 54px !important;
  border-radius: 9999px !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  letter-spacing: 0.4px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  margin: 0 auto !important;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.guide-showcase-btn .icon-svg,
.guide-showcase-btn iconify-icon {
  font-size: 1.3rem !important;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.guide-showcase-btn:hover .icon-svg,
.guide-showcase-btn:hover iconify-icon {
  transform: rotate(10deg) scale(1.18) !important;
}

.guide-showcase-btn-boom {
  background: linear-gradient(135deg, #f72585 0%, #b5179e 50%, #7209b7 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 10px 30px rgba(224, 36, 195, 0.42), 0 0 20px rgba(247, 37, 133, 0.32) !important;
}

.guide-showcase-btn-boom:hover {
  transform: translateY(-3px) scale(1.025) !important;
  box-shadow: 0 14px 40px rgba(224, 36, 195, 0.65), 0 0 35px rgba(247, 37, 133, 0.5) !important;
  border-color: rgba(255, 255, 255, 0.55) !important;
}

.guide-showcase-btn-boom > span {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.guide-showcase-btn-eclipse {
  background: linear-gradient(135deg, #ff9e00 0%, #ff5400 50%, #d84315 100%) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.38) !important;
  box-shadow: 0 10px 30px rgba(255, 84, 0, 0.46), 0 0 24px rgba(255, 158, 0, 0.38) !important;
}

.guide-showcase-btn-eclipse:hover {
  transform: translateY(-3px) scale(1.025) !important;
  box-shadow: 0 14px 40px rgba(255, 84, 0, 0.72), 0 0 38px rgba(255, 158, 0, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
}

@media (max-width: 768px) {
  .guide-showcase-card {
    padding: 2.25rem 1.35rem !important;
    margin-top: 2rem !important;
    border-radius: 20px !important;
  }
  .guide-showcase-btn {
    width: 100% !important;
    max-width: 380px !important;
    padding: 0.9rem 1.5rem !important;
  }
}

/* --- TUILES TRANSPORTS (#transport) --- */
.transport-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--space-3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.transport-card:hover {
  transform: translateY(-2px);
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.transport-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 1rem;
}

.transport-icon-box svg {
  width: 28px;
  height: 28px;
  color: #ffffff;
  stroke: currentColor;
  opacity: 0.95;
}

.transport-icon-box img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.transport-metrics {
  margin: 1rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.metric-pill {
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  transition: all 0.2s ease;
}

.metric-pill .label {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.metric-pill .val {
  font-weight: 800;
  font-size: 0.88rem;
  color: var(--text);
}

.metric-pill--good,
.metric-pill.pill-good {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.45);
}
.metric-pill--good .val,
.metric-pill.pill-good .val {
  color: #34d399;
}

.metric-pill--moderate,
.metric-pill.pill-moderate {
  background: rgba(245, 158, 11, 0.12);
  border-color: rgba(245, 158, 11, 0.45);
}
.metric-pill--moderate .val,
.metric-pill.pill-moderate .val {
  color: #fbbf24;
}

.metric-pill--warning,
.metric-pill.pill-warning {
  background: rgba(249, 115, 22, 0.14);
  border-color: rgba(249, 115, 22, 0.45);
}
.metric-pill--warning .val,
.metric-pill.pill-warning .val {
  color: #fb923c;
}

.metric-pill--bad,
.metric-pill.pill-bad {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.5);
}
.metric-pill--bad .val,
.metric-pill.pill-bad .val {
  color: #f87171;
}

.metric-pill--info,
.metric-pill.pill-info {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.45);
}
.metric-pill--info .val,
.metric-pill.pill-info .val {
  color: #38bdf8;
}

.metric-pill a.val {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease;
}

.metric-pill a.val:hover {
  color: #ffffff;
}

/* --- TABLEAU DES PRIX VOLS (#vols) --- */
#vols .container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.table-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.table-responsive {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.table-responsive th, .table-responsive td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-soft);
}

.table-responsive th {
  position: sticky;
  top: 0;
  background: var(--surface-2);
  color: var(--text);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.8rem;
  z-index: 1;
  white-space: nowrap;
}

.table-responsive td:first-child {
  white-space: nowrap;
  font-weight: 600;
}

.table-responsive td .text-muted {
  white-space: normal !important;
  word-break: break-word;
  max-width: 180px;
  line-height: 1.25;
  margin-top: 3px;
  font-size: 0.75rem;
}

.table-responsive td span.badge {
  white-space: nowrap !important;
}

.table-responsive td.price-tag,
.price-tag {
  white-space: nowrap;
  font-weight: 800;
  color: #ffffff;
}

.table-responsive tbody tr:nth-child(even) {
  background: rgba(14, 10, 31, 0.4);
}

.table-responsive tbody tr:hover {
  background: rgba(123, 44, 191, 0.15);
}

.table-responsive tfoot tr {
  background: var(--surface-2);
  font-weight: 800;
  color: #ffffff;
  border-top: 2px solid var(--border);
}

@media (max-width: 768px) {
  #vols .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
  .table-responsive {
    font-size: 0.82rem;
  }
  .table-responsive th, .table-responsive td {
    padding: 0.6rem 0.45rem;
  }
  .table-responsive th {
    font-size: 0.72rem;
    letter-spacing: 0.2px;
  }
  .table-responsive td .text-muted {
    max-width: 130px;
    font-size: 0.7rem;
  }
  .table-responsive td span.badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.45rem;
  }
}

/* --- FRISE CHRONOLOGIQUE (#calendrier) — ZÉRO FORCED REFLOW (CSS PUR) --- */
.timeline {
  position: relative;
  padding: 1rem 0;
}

.timeline::before {
  display: none !important;
}

.timeline-line {
  position: absolute;
  top: 28px;
  bottom: 68px;
  left: 21px;
  width: 3px;
  background: linear-gradient(180deg, var(--magenta) 0%, var(--violet-neon) 50%, var(--violet-deep) 100%);
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  border-radius: 2px;
  box-shadow: 0 0 6px rgba(157, 78, 221, 0.45);
}

@media (min-width: 768px) {
  .timeline-line {
    left: 50%;
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 50px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline-item {
    width: 50%;
    padding-left: 0;
    padding-right: 40px;
  }
  .timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 40px;
  }
}

.timeline-dot {
  position: absolute;
  left: 11px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--violet-neon);
  border: 4px solid var(--bg);
  box-shadow: 0 0 10px var(--magenta);
  z-index: 2;
}

@media (min-width: 768px) {
  .timeline-dot {
    left: auto;
    right: -10px;
  }
  .timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
    right: auto;
  }
}

.timeline-content {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.timeline-date {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--violet-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.35rem;
}

.timeline-item--ticket .timeline-dot {
  background: #f72585;
  box-shadow: 0 0 14px rgba(247, 37, 133, 0.9), 0 0 4px #ffffff;
}
.timeline-item--ticket .timeline-date { color: #ff70a6; }

.timeline-item--spring .timeline-dot {
  background: #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.95), 0 0 6px #6ee7b7;
}
.timeline-item--spring .timeline-date { color: #34d399; }

.timeline-item--road .timeline-dot {
  background: #4cc9f0;
  box-shadow: 0 0 14px rgba(76, 201, 240, 0.9), 0 0 4px #ffffff;
}
.timeline-item--road .timeline-date { color: #4cc9f0; }

.timeline-item--boom .timeline-dot {
  background: #e024c3;
  box-shadow: 0 0 18px rgba(224, 36, 195, 0.95), 0 0 6px #ffd166;
}
.timeline-item--boom .timeline-date { color: #f472b6; }

.timeline-item--relax .timeline-dot {
  background: #2dd4bf;
  box-shadow: 0 0 14px rgba(45, 212, 191, 0.9), 0 0 4px #ffffff;
}
.timeline-item--relax .timeline-date { color: #2dd4bf; }

.timeline-item--eclipse .timeline-dot {
  background: #ff7b00;
  border-color: #000000;
  box-shadow: 0 0 20px rgba(255, 123, 0, 1), 0 0 8px #ffdd00;
}
.timeline-item--eclipse .timeline-date { color: #fbbf24; }

.timeline-item--andalousie .timeline-dot {
  background: #10b981;
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.9), 0 0 4px #ffffff;
}
.timeline-item--andalousie .timeline-date { color: #34d399; }

.timeline-item--city .timeline-dot {
  background: #818cf8;
  box-shadow: 0 0 14px rgba(129, 140, 248, 0.9), 0 0 4px #ffffff;
}
.timeline-item--city .timeline-date { color: #a5b4fc; }

.timeline-item--return .timeline-dot {
  background: #38bdf8;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.9), 0 0 4px #ffffff;
}
.timeline-item--return .timeline-date { color: #7dd3fc; }

/* --- CARTES PENSIONS CANINES (#chien) --- */
.pet-card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pet-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.pet-place {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pet-price {
  font-weight: 700;
  color: var(--violet-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

/* --- ACCORDÉON FAQ (#faq) --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: var(--violet-neon);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  min-height: 48px;
  font-family: inherit;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--violet-light);
}

.faq-icon {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--violet-light);
  transition: transform 0.2s ease;
  margin-left: 1rem;
  flex-shrink: 0;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-content {
  padding: 0 1.25rem 1.25rem 1.25rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.faq-content[hidden] {
  display: none;
}

/* --- ÉQUIPE, CONTACT & FORMULAIRE TALLY (#contact, #rejoindre) --- */
.team-avatar-box {
  width: 130px;
  height: 130px;
  margin: 0 auto 1.25rem auto;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--magenta), var(--violet-neon), var(--cyan));
  box-shadow: 0 0 25px rgba(224, 36, 195, 0.45), 0 0 10px rgba(76, 201, 240, 0.3);
}

.team-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background-color: var(--surface);
  transition: transform 0.3s ease;
}

.team-avatar-box:hover .team-avatar {
  transform: scale(1.05);
}

.status-toast {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #34d399;
  color: #d1fae5;
  font-size: 0.85rem;
  font-weight: 700;
}

.tally-iframe-box {
  width: 100%;
  max-width: 800px;
  margin: 1.5rem auto 0 auto;
  min-height: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.tally-iframe-box iframe {
  width: 100%;
  height: 600px;
  border: none;
}

/* --- OPTIMISATIONS DE RENDU SOUS LE PLI (CONTENT-VISIBILITY) --- */
#transport,
#vols,
#calendrier,
#chien,
#faq,
#contact,
#rejoindre {
  content-visibility: auto;
  contain-intrinsic-size: 1px 650px;
}