/* ==========================================
   BÉNIN CULTURE TOURS — Style Professionnel
   Palette : Crème + Bleu Marine + Or
========================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #FDFBF7;
  color: #1B2A4A;
}

/* ---- NAVBAR LIQUID GLASS ---- */
:root {
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.7);
  --glass-shadow: rgba(27, 42, 74, 0.18); /* teinté bleu marine */
  --pill-bg: rgba(255, 255, 255, 0.9);    /* fond de l'indicateur actif */
  --nav-text: #1B2A4A;                     /* lien inactif */
  --nav-text-active: #1B2A4A;              /* lien actif, plus contrasté/gras */
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  min-height: 88px; /* englobe la capsule absolue : tout partage le même axe vertical */
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 18px;
  padding: 14px 40px;
  background: transparent; /* la capsule porte le verre, plus la barre */
  border: none;
  z-index: 1000;
}

.nav-logo {
  font-family: 'Poppins', serif;
  font-size: 22px;
  font-weight: 700;
  color: #1B2A4A;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.logo-accent {
  color: #D4AF37;
}

/* Capsule flottante : seuls les mouvements de la pilule sont en JS (rAF),
   le fond et les ombres gardent une transition douce de couleurs. */
.liquid-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px;
  margin: 0 auto;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  box-shadow:
    0 30px 60px -18px var(--glass-shadow),
    0 8px 20px -8px var(--glass-shadow),
    inset 0 0 0 1px var(--glass-border);
  transition: background 0.5s ease, box-shadow 0.5s ease;
}

/* Pilule : position et largeur écrites image par image en JS, aucune transition CSS */
.liquid-nav__indicator {
  position: absolute;
  top: 8px;
  left: 0;
  height: calc(100% - 16px);
  width: 0;
  border-radius: 999px;
  background: var(--pill-bg);
  box-shadow: 0 4px 14px rgba(27, 42, 74, 0.15);
  z-index: 0;
  will-change: transform, width;
}

.liquid-nav a {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: rgba(27, 42, 74, 0.62); /* inactif : discret */
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.liquid-nav a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.liquid-nav a:hover {
  color: var(--nav-text);
}

.liquid-nav a.is-active {
  color: var(--nav-text-active);
  font-weight: 700;
}

.liquid-nav a:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}

/* Déroulant Circuits : conteneur relatif + panneau verre.
   Ouverture (opacité/glissé) pilotée par JS en rAF, aucune transition CSS. */
.liquid-nav__item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: stretch;
}

.liquid-dropdown {
  position: absolute;
  top: calc(100% + 22px); /* décollé de la capsule : ne chevauche plus à l'ouverture */
  left: 50%;
  min-width: 270px;
  padding: 8px;
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow:
    0 30px 60px -18px var(--glass-shadow),
    0 8px 20px -8px var(--glass-shadow);
  opacity: 0;
  visibility: hidden;
  z-index: 5;
}

.liquid-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(27, 42, 74, 0.78);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.liquid-dropdown a:hover {
  background: rgba(212, 175, 55, 0.18);
  color: var(--nav-text-active);
}

.liquid-dropdown__titre {
  font-weight: 700;
  border-bottom: 1px solid rgba(27, 42, 74, 0.1);
  border-radius: 10px 10px 0 0;
  margin-bottom: 4px;
  padding-bottom: 12px;
}

/* Logo intégré à la capsule (desktop) + doublon mobile */
.liquid-nav__logo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 6px 6px 6px 10px;
  border-radius: 999px;
}

.liquid-nav__separator {
  position: relative;
  z-index: 1;
  width: 1px;
  align-self: stretch;
  margin: 10px 6px;
  background: rgba(212, 175, 55, 0.45);
}

.nav-logo--mobile {
  display: none;
}

/* ---- GLOBE LANGUE DESKTOP + CAPSULE CENTRÉE PILE ---- */
.navbar {
  justify-content: space-between; /* logo à gauche, contrôles à droite, capsule centrée seule */
}

.liquid-nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%); /* centre pile horizontal + vertical, insensible aux largeurs */
  margin: 0;
}

.lang-desktop-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: auto; /* colle globe + Réserver à droite (la capsule absolue est hors flux) */
}

.globe-btn-desktop {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #1B2A4A;
  background: var(--glass-bg);
  backdrop-filter: blur(36px) saturate(180%);
  -webkit-backdrop-filter: blur(36px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 20px -8px var(--glass-shadow);
}

.globe-btn-desktop svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.globe-btn-desktop:hover {
  color: #D4AF37;
}

/* L'ancien menu liste devient le panneau mobile uniquement */
.nav-liens {
  display: none;
  list-style: none;
}

.nav-liens svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: -3px;
  margin-right: 8px;
}

.nav-cta {
  background-color: #D4AF37;
  color: #1B2A4A;
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: background-color 0.3s;
}

.nav-cta:hover {
  background-color: #b8962e;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 120px 40px 80px;
  background-color: #1B2A4A; /* fond pendant le chargement, pas d'écran blanc */
}

.hero-carousel {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-carousel.ready {
  opacity: 1;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
  will-change: opacity;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

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

.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(27,42,74,0.45) 0%, rgba(44,62,107,0.4) 50%, rgba(27,42,74,0.5) 100%);
  z-index: 1;
}

.hero-contenu {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

/* POINT 2 : entrée en cascade pilotée par JS. Caché seulement si JS actif (.js). */
.js .hero-contenu > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.js .hero-contenu.loaded > * {
  opacity: 1;
  transform: none;
}

.js .hero-contenu.loaded > *:nth-child(1) { transition-delay: 0.1s; }
.js .hero-contenu.loaded > *:nth-child(2) { transition-delay: 0.25s; }
.js .hero-contenu.loaded > *:nth-child(3) { transition-delay: 0.4s; }
.js .hero-contenu.loaded > *:nth-child(4) { transition-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .js .hero-contenu > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.hero-tag {
  color: #D4AF37;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 64px;
  font-weight: 700;
  color: #FDFBF7;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero h1 span {
  color: #D4AF37;
}

.hero-desc {
  font-size: 18px;
  color: rgba(253, 251, 247, 0.8);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

.hero-boutons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background-color: #D4AF37;
  color: #1B2A4A;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #b8962e;
}

.btn-outline {
  background-color: #1B2A4A;
  color: #FDFBF7;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  border: 1px solid #1B2A4A;
  transition: all 0.3s;
  display: inline-block;
}

.btn-outline:hover {
  border-color: #D4AF37;
  color: #D4AF37;
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  color: #FDFBF7;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.15em;
  z-index: 2;
  cursor: pointer;
  transition: opacity 0.4s ease;
  animation: rebond-hero 2s ease-in-out infinite;
}

.hero-scroll.hidden {
  opacity: 0;
  pointer-events: none;
  animation: none;
}

@keyframes rebond-hero {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

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

/* ---- CHIFFRES CLÉS ---- */
.chiffres {
  display: flex;
  justify-content: center;
  gap: 0;
  background-color: #1B2A4A;
  padding: 50px 60px;
}

.chiffre-item {
  text-align: center;
  padding: 0 50px;
  border-right: 1px solid rgba(212, 175, 55, 0.3);
}

.chiffre-item:last-child {
  border-right: none;
}

.chiffre-item h3 {
  font-family: 'Poppins', serif;
  font-size: 42px;
  color: #D4AF37;
  margin-bottom: 6px;
  font-variant-numeric: tabular-nums; /* chiffres stables pendant le comptage */
  min-height: 52px;
}

.chiffre-item p {
  font-size: 13px;
  color: rgba(253, 251, 247, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- SECTIONS COMMUNES ---- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  color: #D4AF37;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-header h2 {
  font-family: 'Poppins', serif;
  font-size: 42px;
  color: #1B2A4A;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: #666;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}
/* ---- CIRCUITS SLIDER (mouvements pilotés par JS, pas de transition CSS sur transform/opacity animés) ---- */
.circuits {
  padding: 100px 60px;
  background-color: #FDFBF7;
  position: relative;
  overflow: hidden;
}

.circuits .section-header {
  position: relative;
  z-index: 2;
}

/* Fond immersif HD : opacité pilotée par JS en rAF */
.circuits-fond {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.circuits-fond-couche {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center;
  opacity: 0; /* JS écrit l'opacité image par image */
  filter: blur(22px) brightness(0.55);
}

.circuits-fond::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #FDFBF7 0%, rgba(253,251,247,0.85) 25%, rgba(253,251,247,0.55) 60%, #FDFBF7 100%);
}

/* Hover lift : fond plein écran bien visible (bascule instantanée, les mouvements restent en JS) */
.circuits.hover-fond .circuits-fond-couche {
  filter: blur(0px) brightness(0.78);
}

.circuits.hover-fond .circuits-fond::after {
  opacity: 0.2;
}

.circuits-slider {
  position: relative;
  z-index: 1;
  overflow-x: auto; /* sans JS : défilement natif */
  margin: 0 -60px;
  padding: 10px 60px 30px;
  scrollbar-width: none;
}

.circuits-slider::-webkit-scrollbar {
  display: none;
}

.circuits-slider.js-drag {
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y; /* JS gère l'horizontal, le navigateur garde le scroll vertical */
}

.circuits-slider.js-drag.grabbing {
  cursor: grabbing;
}

.circuits-slider.js-drag,
.circuits-slider.js-drag * {
  user-select: none;
  -webkit-user-select: none;
}

/* La piste bouge en translateX écrit par JS à chaque frame : aucune transition CSS dessus */
.slider-piste {
  display: flex;
  gap: 30px;
  width: max-content;
  will-change: transform;
}

.circuit-carte {
  flex: 0 0 min(420px, 85vw);
  min-height: 540px;
  background-size: cover;
  background-position: center;
  background-color: #1B2A4A;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.08);
  position: relative;
  display: flex;
  align-items: flex-end;
  transition: box-shadow 0.3s; /* seul le halo est en CSS, le mouvement est en JS */
}

.circuit-carte:hover {
  box-shadow: 0 12px 40px rgba(27, 42, 74, 0.15);
}

.circuit-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: #D4AF37;
  color: #1B2A4A;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
}

/* Voile lisibilité, même dégradé que .visuel-overlay */
.circuit-voile {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,42,74,0.1) 0%, rgba(15,28,51,0.92) 100%);
  z-index: 1;
}

.circuit-info {
  padding: 24px;
  position: relative;
  z-index: 2;
  width: 100%;
}

.circuit-duree {
  font-size: 12px;
  color: #D4AF37;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.circuit-info h3 {
  font-family: 'Poppins', serif;
  font-size: 22px;
  color: #FDFBF7;
  margin: 8px 0 12px;
}

.circuit-info p {
  font-size: 14px;
  color: rgba(253, 251, 247, 0.85);
  line-height: 1.7;
  margin-bottom: 20px;
}

.circuit-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.circuit-prix {
  font-size: 14px;
  font-weight: 600;
  color: #FDFBF7;
}

.circuit-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-carte {
  background-color: #1B2A4A;
  color: #FDFBF7;
  padding: 8px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background-color 0.3s, color 0.3s;
  white-space: nowrap;
}

.btn-carte:hover {
  background-color: #D4AF37;
  color: #1B2A4A;
}

.btn-decouvrir {
  background-color: #D4AF37;
  color: #1B2A4A;
}

.btn-decouvrir:hover {
  background-color: #FDFBF7;
  color: #1B2A4A;
}

.slider-nav {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
}

.slider-fleche {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(27, 42, 74, 0.2);
  background-color: white;
  color: #1B2A4A;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.slider-fleche:hover {
  background-color: #D4AF37;
  border-color: #D4AF37;
}

.slider-hint {
  font-size: 13px;
  color: #999;
  letter-spacing: 0.05em;
}

/* ---- À PROPOS ---- */
.apropos {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 100px 60px;
  background-color: #1B2A4A;
}

.apropos-texte {
  flex: 1;
}

.apropos-texte h2 {
  font-family: 'Poppins', serif;
  font-size: 38px;
  color: #FDFBF7;
  margin: 16px 0 24px;
  line-height: 1.3;
}

.apropos-texte p {
  font-size: 16px;
  color: rgba(253, 251, 247, 0.75);
  line-height: 1.8;
  margin-bottom: 30px;
}

.apropos-liste {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}

.apropos-item {
  color: rgba(253, 251, 247, 0.85);
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.apropos-social {
  display: flex;
  gap: 16px;
}

.social-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
  background-color: rgba(253, 251, 247, 0.08);
  color: #FDFBF7;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(253, 251, 247, 0.16);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.social-btn svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-btn:hover {
  background-color: #D4AF37;
  border-color: #D4AF37;
  color: #1B2A4A;
}

.social-btn:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}

/* Libellé accessible masqué (boutons icon-only) */
.social-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.apropos-visuel {
  flex: 1;
}

.visuel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.visuel-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 220px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  transition: transform 0.3s;
}

.visuel-card:hover {
  transform: translateY(-6px);
}

.visuel-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(27,42,74,0.1) 0%, rgba(15,28,51,0.92) 100%);
  z-index: 1;
}

.visuel-contenu {
  position: relative;
  z-index: 2;
  padding: 20px;
  text-align: left;
}

.visuel-chiffre {
  display: inline-block;
  background-color: #D4AF37;
  color: #1B2A4A;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.visuel-contenu h4 {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #FDFBF7;
  margin-bottom: 8px;
}

.visuel-contenu p {
  font-size: 13px;
  color: rgba(253, 251, 247, 0.8);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}

/* ---- TÉMOIGNAGES ---- */
.temoignages {
  padding: 100px 60px;
  background-color: #FDFBF7;
}

.temoignages-grille {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.temoignage-carte {
  background-color: white;
  border-radius: 12px;
  padding: 36px;
  flex: 1;
  max-width: 360px;
  box-shadow: 0 4px 20px rgba(27, 42, 74, 0.07);
  border-top: 3px solid #D4AF37;
}

.temoignage-texte {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 24px;
}

.temoignage-auteur {
  display: flex;
  align-items: center;
  gap: 14px;
}

.auteur-avatar {
  width: 44px;
  height: 44px;
  background-color: #1B2A4A;
  color: #D4AF37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.temoignage-auteur strong {
  font-size: 15px;
  color: #1B2A4A;
}

.temoignage-auteur p {
  font-size: 13px;
  color: #999;
}

/* ---- CONTACT ---- */
.contact {
  padding: 100px 60px;
  background-color: #1B2A4A;
}

.contact .section-header h2 {
  color: #FDFBF7;
}

.contact .section-desc {
  color: rgba(253, 251, 247, 0.6);
}

.formulaire {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.champ {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 6px;
  background-color: rgba(253, 251, 247, 0.07);
  color: #FDFBF7;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  outline: none;
  transition: border-color 0.3s;
}

.champ::placeholder {
  color: rgba(253, 251, 247, 0.4);
}

.champ:focus {
  border-color: #D4AF37;
}

.champ option {
  background-color: #1B2A4A;
  color: #FDFBF7;
}

/* ---- FOOTER ---- */
.footer {
  background-color: #0F1C33;
  padding: 60px 60px 30px;
}

.footer-contenu {
  display: flex;
  gap: 60px;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.footer-brand {
  flex: 2;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(253, 251, 247, 0.5);
  line-height: 1.7;
  margin: 8px 0 24px;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
  color: #FDFBF7;
  text-decoration: none;
  background-color: rgba(253, 251, 247, 0.08);
  border: 1px solid rgba(253, 251, 247, 0.16);
  border-radius: 12px;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.footer-social a svg{
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social a:hover {
  background-color: #D4AF37;
  border-color: #D4AF37;
  color: #1B2A4A;
}

.footer-social a:focus-visible {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}

.footer-liens, .footer-contact {
  flex: 1;
}

.footer-liens h4, .footer-contact h4 {
  color: #FDFBF7;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
  min-height: 56px;
  display: flex;
  align-items: center;
}

.footer-liens a {
  display: block;
  color: rgba(253, 251, 247, 0.55);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 10px;
  transition: color 0.3s;
}

/* Navigation footer en 2 colonnes de 4 (titre sur toute la largeur) */
.footer-liens {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 24px;
  align-content: start;
}

.footer-liens h4 {
  grid-column: 1 / -1;
}

.footer-liens a:hover {
  color: #D4AF37;
}

.footer-contact p {
  color: rgba(253, 251, 247, 0.55);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-bas {
  text-align: center;
  color: rgba(253, 251, 247, 0.3);
  font-size: 13px;
}

/* ---- RESPONSIVE NAVBAR ---- */
@media (max-width: 768px) {

  .navbar {
    padding: 14px 20px;
    height: 70px;
  }

  .nav-logo {
    font-size: 18px;
  }

  .logo-img {
    height: 34px;
  }

  /* Bouton hamburger */
  .burger-btn {
    display: flex;
    position: relative;
    z-index: 1002;
    flex-shrink: 0;
  }

  /* Menu mobile */
  .nav-liens {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;

    background-color: #1B2A4A;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    gap: 28px;

    z-index: 1001;

    transition: right 0.35s ease;
  }

  /* Menu ouvert */
  .nav-liens.active {
    right: 0;
  }

  .nav-liens a {
    color: #FDFBF7;
    font-size: 16px;
    padding: 10px 20px;
  }

  /* CTA caché sur mobile */
  .nav-cta {
    display: none;
  }

  /* Sélecteur de langue */
  .lang-selector {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
  }
  .chiffres {
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px 24px;
  }
  .chiffre-item {
    border-right: none;
    padding: 0 20px;
  }
  .circuits, .temoignages, .apropos, .contact {
    padding: 60px 24px;
  }
  .circuits-slider {
    margin: 0 -24px;
    padding: 10px 24px 24px;
  }
  .circuit-carte {
    flex-basis: 85vw;
    min-height: 500px;
  }
  .temoignages-grille {
    flex-direction: column;
    align-items: center;
  }
  .apropos {
    flex-direction: column;
  }
  .form-row {
    flex-direction: column;
  }
  .footer-contenu {
    flex-direction: column;
    gap: 40px;
  }
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
}

.footer-logo-img {
  height: 56px;
}
/* ---- SÉLECTEUR DE LANGUE ---- */
.lang-selector {
  display: flex;
  gap: 6px;
  align-items: center;
}

/* ---- MENU BURGER (mobile) ---- */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #1B2A4A;
  border-radius: 2px;
  transition: all 0.3s;
}

.burger-btn.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger-btn.active span:nth-child(2) { opacity: 0; }
.burger-btn.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

body.menu-ouvert {
  overflow: hidden;
}

.lang-btn {
  background: transparent;
  border: 2px solid transparent;
  padding: 4px 6px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s;
  line-height: 1;
}

.lang-btn:hover {
  border-color: #D4AF37;
  background-color: rgba(212, 175, 55, 0.1);
}

.lang-btn.active {
  border-color: #D4AF37;
  background-color: rgba(212, 175, 55, 0.15);
}
.flag-img {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}
/* ---- BOUTON WHATSAPP ---- */
.whatsapp-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}
/* ---- SÉJOURS COMPLETS ---- */
.sejours {
  padding: 100px 60px;
  background-color: #FDFBF7;
}

.sejours-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch; /* les 3 cartes prennent la hauteur de la plus grande */
}

.sejour-carte {
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(27, 42, 74, 0.06);
  border: 1px solid rgba(27, 42, 74, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}

.sejour-carte:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 50px rgba(27, 42, 74, 0.12);
}

.sejour-carte.featured-sejour {
  border: 1.5px solid #D4AF37;
  transform: translateY(-12px);
  box-shadow: 0 16px 50px rgba(212, 175, 55, 0.15);
}

.sejour-carte.featured-sejour:hover {
  transform: translateY(-18px);
}

.sejour-popular {
  background: linear-gradient(135deg, #D4AF37, #b8962e);
  color: #1B2A4A;
  text-align: center;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.sejour-header {
  padding: 32px 28px 24px;
  border-bottom: 1px solid rgba(27, 42, 74, 0.06);
  text-align: center;
}

.sejour-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #D4AF37;
  margin-bottom: 12px;
}

.sejour-header h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: #1B2A4A;
  margin-bottom: 16px;
}

.sejour-prix {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.prix-from {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.prix-montant {
  font-size: 36px;
  font-weight: 700;
  color: #1B2A4A;
  letter-spacing: -0.02em;
}

.prix-ligne {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.prix-unite {
  font-size: 1rem;
  font-weight: 400;
  opacity: 0.75;
}

.sejour-devis {
  font-size: 18px;
  font-weight: 600;
  color: #D4AF37;
  font-style: italic;
}

.sejour-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1; /* remplit la carte pour ancrer le bouton en bas */
}

.sejour-liste {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sejour-liste li {
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  padding-left: 4px;
  border-bottom: 1px solid rgba(27, 42, 74, 0.05);
  padding-bottom: 10px;
}

.sejour-liste li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sejour-hebergement {
  background-color: #FDFBF7;
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 24px;
}

.sejour-hebergement p {
  font-size: 12px;
  color: #999;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.heberg-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.heberg-btn {
  font-size: 12px;
  color: #1B2A4A;
  background-color: white;
  border: 1px solid rgba(27, 42, 74, 0.15);
  padding: 6px 12px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.heberg-btn:hover {
  background-color: #D4AF37;
  border-color: #D4AF37;
  color: #1B2A4A;
}

.sejour-body .btn-primary {
  width: 100%;
  text-align: center;
  display: block;
  padding: 14px;
  margin-top: auto; /* boutons alignés en bas des 3 cartes */
}

/* ---- RESPONSIVE SÉJOURS ---- */
@media (max-width: 768px) {
  .sejours {
    padding: 60px 24px;
  }
  .sejours-grille {
    grid-template-columns: 1fr;
  }
  .sejour-carte.featured-sejour {
    transform: translateY(0);
  }
}
/* ---- PRIX CIRCUITS ---- */
.circuit-prix-bloc {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.prix-fcfa {
  font-size: 13px;
  font-weight: 700;
  color: #D4AF37;
  line-height: 1.3;
}

.prix-euro {
  font-size: 12px;
  font-weight: 700;
  color: #D4AF37;
}
.prix-mention {
  font-size: 10px;
  color: #999;
  font-style: italic;
  line-height: 1.3;
}

.circuit-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

/* ==========================================
   MENU MOBILE — PETIT MENU EN HAUT À DROITE
   ========================================== */

@media (max-width: 768px) {

    /* Navbar */
    .navbar {
        padding: 14px 20px;
        height: 70px;
    }

    /* Bouton hamburger */
    .burger-btn {
        display: flex !important;
        z-index: 1003;
        flex-shrink: 0;
    }

    /* Petit panneau */
    .nav-liens {
        position: fixed;
        top: 68px;
        right: -250px;

        width: 220px;
        height: auto;
        max-width: 220px;

        padding: 22px 18px 85px;

        background-color: #1B2A4A;
        border-radius: 12px;

        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;

        gap: 8px;

        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);

        z-index: 1001;

        transition: right 0.3s ease;
    }

    /* Menu ouvert */
    .nav-liens.active {
        right: 15px;
    }

    /* Liens */
    .nav-liens a {
        display: block;
        width: 100%;

        padding: 11px 15px;

        color: #FDFBF7;
        font-size: 15px;
        font-weight: 600;

        text-decoration: none;
        text-align: left;

        border-radius: 8px;

        transition: background-color 0.2s, color 0.2s;
    }

    .nav-liens a:hover {
        background-color: rgba(212, 175, 55, 0.15);
        color: #D4AF37;
    }

    /* Bouton RÉSERVER */
    .nav-cta {
        display: none;
    }

    /* Bouton RÉSERVER : géré par .mobile-reserver dans la version PREMIUM plus bas.
       Ancien hack .nav-liens.active ~ .nav-cta supprimé (doublon obsolète). */

    /* Les drapeaux restent cachés sur mobile */
    .lang-selector {
        display: none;
    }
}

/* =====================================================
   NAVBAR MOBILE PREMIUM — VERSION ACTIVE (garder celle-ci)
   ===================================================== */

.mobile-langues,
.mobile-reserver {
    display: none;
}


/* ---------- MOBILE ---------- */

@media (max-width: 768px) {

    /* Navbar */
    .navbar {
        height: 70px;
        padding: 14px 20px;
        z-index: 1000;
    }

    /* Logo */
    .logo-img {
        height: 38px;
    }


    /* ===============================
       BOUTON HAMBURGER
       =============================== */

    .burger-btn {
        display: flex !important;
        position: relative;
        z-index: 1004;

        width: 30px;
        height: 30px;

        justify-content: center;
        align-items: center;

        gap: 5px;
    }

    .burger-btn span {
        width: 26px;
        height: 3px;
        border-radius: 3px;
        background-color: #1B2A4A;

        transition: transform 0.3s ease,
                    opacity 0.2s ease;
    }

    /* Transformation hamburger → X */
    .burger-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .burger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .burger-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }


    /* ===============================
       PETIT PANNEAU
       =============================== */

    .nav-liens {
        position: fixed;

        top: 78px;
        right: -280px;

        width: 235px;
        max-width: calc(100vw - 25px);

        height: auto;

        padding: 14px 14px 15px;

        display: flex;
        flex-direction: column;

        align-items: stretch;

        gap: 0px;

        background: #1B2A4A;

        border-radius: 14px;

        box-shadow:
            0 12px 35px rgba(0, 0, 0, 0.25);

        z-index: 1003;

        transition: right 0.3s ease;
    }


    /* Menu ouvert */
    .nav-liens.active {
        right: 15px;
    }


    /* ===============================
       LIENS
       =============================== */

    .nav-liens li {
        list-style: none;
        width: 100%;
    }

    .nav-liens li > a:not(.nav-cta) {
        display: block;

        width: 100%;

        padding: 10px 14px;

        color: #FDFBF7;

        font-size: 14px;
        font-weight: 600;

        text-decoration: none;

        border-radius: 8px;

        transition:
            background-color 0.2s ease,
            color 0.2s ease;
    }

    .nav-liens li > a:not(.nav-cta):hover {
        background-color: rgba(212, 175, 55, 0.12);
        color: #D4AF37;
    }


    /* ===============================
       SÉPARATION
       =============================== */

    .mobile-langues {
        display: flex;

        justify-content: flex-start;
        align-items: center;

        gap: 8px;

        margin-top: 10px;
        padding: 12px 8px;

        border-top: 1px solid rgba(253, 251, 247, 0.12);
    }

    .mobile-langues .lang-btn {
        padding: 5px 7px;
    }


    /* ===============================
       BOUTON RÉSERVER
       =============================== */

    .mobile-reserver {
        display: block;

        margin-top: 8px;
        padding-top: 12px;

        border-top: 1px solid rgba(253, 251, 247, 0.12);
    }

    .mobile-reserver .nav-cta {
        display: block;

        width: 100%;

        padding: 12px 20px;

        background: #D4AF37;
        color: #1B2A4A;

        text-align: center;

        border-radius: 50px;

        font-size: 14px;
        font-weight: 700;

        text-decoration: none;
    }

    .mobile-reserver .nav-cta:hover {
        background: #e0bd45;
    }


    /* ===============================
       CACHER LES ÉLÉMENTS DESKTOP
       =============================== */

    .navbar > .lang-selector {
        display: none;
    }

    .desktop-reserver {
        display: none;
    }
}
.mobile-controls {
  display: none;
  align-items: center;
  gap: 14px;
}

.lang-mobile-wrapper {
  position: relative;
}

.globe-btn {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 140%;
  right: 0;
  background: #FDFBF7;
  border: 1px solid #D4AF37;
  border-radius: 12px;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 100;
}

.lang-dropdown.open {
  display: flex;
}

@media (max-width: 768px) {
  .mobile-controls {
    display: flex;
  }
}

/* ---- LIQUID GLASS : passage mobile (capsule -> hamburger verre) ---- */
@media (max-width: 900px) {
  .liquid-nav {
    display: none; /* la capsule à 6 liens ne tient pas : panneau hamburger */
  }
  .navbar {
    top: 12px;
    left: 12px;
    right: 12px;
    width: auto;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 6px 6px 6px 14px;
    justify-content: space-between;
    border-radius: 999px;
    background: var(--glass-bg);
    backdrop-filter: blur(36px) saturate(180%);
    -webkit-backdrop-filter: blur(36px) saturate(180%);
    border: 1px solid var(--glass-border);
    box-shadow:
      0 30px 60px -18px var(--glass-shadow),
      0 8px 20px -8px var(--glass-shadow);
    gap: 8px;
    overflow: visible;
  }
  .navbar > .lang-selector,
  .desktop-reserver {
    display: none;
  }
  .lang-desktop-wrapper {
    display: none; /* mobile : globe du panneau hamburger uniquement */
  }
  .mobile-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    padding-left: 10px;
    border-left: 1px solid rgba(212, 175, 55, 0.45);
    background: transparent;
  }
  .nav-logo--mobile {
    display: flex;
    align-items: center;
    padding: 6px 8px 6px 0;
    border-radius: 999px;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  /* Panneau mobile en verre dépoli bleu marine */
  .nav-liens {
    position: fixed;
    top: 84px;
    right: -280px;
    width: 235px;
    max-width: calc(100vw - 25px);
    height: auto;
    padding: 14px 14px 15px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(27, 42, 74, 0.78);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    z-index: 1003;
    transition: right 0.3s ease;
  }
  .nav-liens.active {
    right: 15px;
  }
  .nav-liens li {
    list-style: none;
    width: 100%;
  }
  .nav-liens li > a:not(.nav-cta) {
    display: block;
    width: 100%;
    padding: 10px 14px;
    color: #FDFBF7;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
  }
  .nav-liens li > a:not(.nav-cta):hover {
    background-color: rgba(212, 175, 55, 0.12);
    color: #D4AF37;
  }
  .mobile-reserver {
    display: block;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid rgba(253, 251, 247, 0.12);
  }
  .mobile-reserver .nav-cta {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: #D4AF37;
    color: #1B2A4A;
    text-align: center;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
  }
  /* Boutons nus dans la capsule unique : le verre est sur .navbar */
  .globe-btn,
  .navbar .burger-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .navbar .burger-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    border-left: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 0;
    padding-left: 10px;
    margin-left: 4px;
  }
  .navbar .burger-btn span {
    width: 20px;
  }
}

/* ---- FAQ ACCORDÉON (charte crème/marine/or, custom JS, pas de transition sur JS animés) ---- */
.faq {
  padding: 100px 60px;
  background-color: #FDFBF7;
}
.faq-liste {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: white;
  border: 1px solid rgba(27,42,74,0.08);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(27,42,74,0.05);
}
.faq-item.open {
  border-color: #D4AF37;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1B2A4A;
}
.faq-question:hover {
  color: #b8962e;
}
.faq-icone {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212,175,55,0.15);
  color: #D4AF37;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.faq-item.open .faq-icone {
  background: #D4AF37;
  color: #1B2A4A;
}
.faq-reponse {
  max-height: 0;
  overflow: hidden;
}
.faq-reponse p {
  padding: 0 22px 20px;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}
@media (max-width: 768px) {
  .faq {
    padding: 60px 24px;
  }
}

/* ---- LÉGAL + CONSENTEMENT RGPD ---- */
.legal-bloc h2 {
  scroll-margin-top: 100px;
}
.consent-case {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: rgba(253,251,247,0.75);
  line-height: 1.6;
}
.consent-case input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #D4AF37;
  flex-shrink: 0;
}
.consent-case a {
  color: #D4AF37;
}