/* =========================================
   DESIGN SYSTEM - FESTIVAL ELECTRO
   ========================================= */

/* 1. VARIABLES DE COULEURS ET TYPO
   Tu peux changer les codes hex ici pour tout le site.
   (Change #FF00FF par #00FFFF pour tester le Cyan)
-------------------------------------------- */
:root {
  /* Colors */
  --color-bg: #000000;
  --color-text: #FFFFFF;
  --color-accent: #FF00FF; /* Magenta (Inspiration Image) */

  /* Typography */
  --font-heading: 'Montserrat', sans-serif; /* Pense à l'importer dans ton HTML */
  --font-body: 'Inter', sans-serif; /* Pense à l'importer dans ton HTML */
}

/* =========================================
   DÉFILEMENT FLUIDE (SMOOTH SCROLL)
   ========================================= */

/* On l'applique à la balise racine du document */
html {
  scroll-behavior: smooth;
}

/* Règle d'accessibilité (Pro-tip) : 
   Désactive le défilement fluide pour les utilisateurs qui préfèrent 
   réduire les animations dans les réglages de leur système d'exploitation */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* 2. RÉINITIALISATION DE BASE (CSS Reset)
-------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;

  /* --- AJOUT DE L'IMAGE D'ARRIÈRE-PLAN --- */
  
  /* 1. Définit l'image (remplace par ton propre chemin) */
  background-image: url('UOS_26_-_4k_title.png');
  
  /* 2. Centre l'image horizontalement et verticalement */
  background-position: top center;
  
  /* 3. Empêche l'image de se répéter comme une mosaïque */
  background-repeat: no-repeat;
  
  /* 4. Force l'image à couvrir tout l'écran, sans la déformer */
  background-size: cover;
  
/*  /* 5. Garde l'image fixe quand on scrolle (optionnel, pour un effet parallaxe) */
/*  background-attachment: fixed;
  
  /* 6. Couleur de secours si l'image ne charge pas */
  background-color: var(--color-bg);
}

/* 3. AJOUT D'UN CALQUE SOMBRE (OVERLAY) POUR LA LISIBILITÉ
   Cela place un voile noir à 50% d'opacité sur l'image 
-------------------------------------------- */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Noir à 50% d'opacité */
  z-index: -1; /* Place le voile derrière le contenu */
}

/* 3. TYPOGRAPHIE GLOBALE
-------------------------------------------- */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.1s ease; /* Transition rapide et sèche */
}

a:hover {
  color: var(--color-accent);
}

ul {
  list-style: none;
}

/* 4. APPLICATION DU DESIGN AUX SECTIONS HTML
-------------------------------------------- */

/* Header & Nav */
header {
  position: fixed; /* Fixe le menu en haut de l'écran */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999; /* S'assure qu'il passe toujours au-dessus du reste */
  
  /* L'effet "Glassmorphism" demandé par ton Design System */
  background-color: rgba(255, 255, 255, 0.068); /* Ton vert "#1d7874" à 60% d'opacité */
  backdrop-filter: blur(5px); /* Le flou d'arrière-plan magique */
  -webkit-backdrop-filter: blur(5px); /* Pour la compatibilité avec les navigateurs Apple */
  
  /* CRITIQUE : J'ai supprimé la bordure de 1px interdite ici ! */
  
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

/* On s'assure que le texte du logo et du menu reste clair et lisible sur ce fond */
header h1, header nav ul li a {
  color: #000000 !important; /* Ta couleur crème "Surface" */
}

/* On ré-applique ton style spécifique pour le bouton Billetterie au survol */
header nav ul li:nth-child(3) a:hover {
  background-color: transparent;
  color: #fdf9ec !important;
  border: 2px solid #fdf9ec;
}

/* Hero Section */
#hero {
  height: 100dvh;
  display: flex;
  flex-direction: column;
  /* Centrage vertical et horizontal parfait du contenu */
  justify-content: center; 
  align-items: center;
  text-align: center;
  
  /* On décale tout le bloc central vers le bas pour compenser le header */
  padding-top: 80px; 
  box-sizing: border-box;
  position: relative;
}

.hero-date-pill {
  /* Supprimez les margin-top ou transform: translateY que nous avions ajoutés */
  margin: 0; 
  transform: none;
  z-index: 2;
}

.hero-main-logo {
  max-width: 500px;    /* Ajuste la taille de ton image ici */
  height: auto;
}

.hero-content {
  margin-bottom: -50px; /* Décale légèrement le texte vers le haut */
}

#hero h2 {
  font-family: var(--font-heading);
  font-size: clamp(40px, 6vw, 64px); /* Police fluide mais lisible */
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7); /* Gris semi-transparent */
}

/* 2. Le conteneur de pilule de date (agrandi) */
.hero-date-pill { 
  border: 2px solid var(--color-text); /* Bordure un peu plus épaisse pour suivre l'échelle */
  border-radius: 150px; 
  padding: 20px 50px; /* Plus d'espace intérieur */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px; 
  
  max-width: 1000px; /* On autorise la pilule à devenir beaucoup plus large */
}

/* 3. Texte supérieur ("28 - 30") - Version Massive */
.pill-top-text {
  font-family: var(--font-heading);
  font-weight: 500; 
  text-transform: uppercase;
  color: #FFFFFF;
  
  /* L'ancienne taille max était 36px. On passe de 48px sur mobile à 84px sur grand écran ! */
  font-size: clamp(48px, 8vw, 24px); 
  line-height: 1;
}

/* 4. Texte inférieur ("AOÛT 2026") - Version Massive */
.pill-bottom-text {
  font-family: var(--font-heading);
  font-weight: 400; 
  text-transform: uppercase;
  color: #FFFFFF;
  
  /* On double quasiment la taille ici aussi */
  font-size: clamp(18px, 3vw, 22px); 
  letter-spacing: 0.2em; /* On écarte encore plus les lettres pour l'élégance */
  line-height: 1.1;
}

/* =========================================
   DOUBLE FLÈCHE DE DÉFILEMENT (CHEVRONS CSS)
   ========================================= */

/* Conteneur positionné en bas du Hero (Absolute, pas Fixed !) */
.scroll-arrow-container {
  /* On repasse en position normale */
  position: relative; 
  bottom: auto;
  left: auto;
  transform: none;
  z-index: 10;
}

.scroll-arrow-container {
  position: absolute;
  bottom: 30px; /* Position fixe en bas */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* Le lien qui englobe les flèches et gère l'animation */
.double-chevron {
  display: flex;
  flex-direction: column; /* Superpose les deux flèches verticalement */
  align-items: center;
  text-decoration: none;
  animation: bounce-smooth 2s infinite; /* Animation plus douce */
}

/* Dessin des chevrons avec les bordures (Le secret pro) */
.double-chevron span {
  display: block;
  width: 36px;  /* TAILLE : Plus la valeur est grande, plus la flèche est large */
  height: 36px; /* TAILLE : Doit être identique à la largeur */
  
  /* On dessine seulement le bord droit et le bord bas */
  border-right: 4px solid rgba(255, 255, 255, 0.5); 
  border-bottom: 4px solid rgba(255, 255, 255, 0.5);
  
  /* On tourne le carré de 45 degrés pour en faire une pointe vers le bas */
  transform: rotate(45deg);
  
  /* On remonte la deuxième flèche pour qu'elles s'emboîtent */
  margin-bottom: -15px; 
  transition: border-color 0.3s ease;
}

/* État au survol : la flèche s'allume avec ton cyan spécial */
.double-chevron:hover span {
  border-color: #f5f1e4; /* Remplace par #00FFFF si tu veux le cyan électrique */
}

/* Animation de rebond repensée pour être moins agressive */
@keyframes bounce-smooth {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-15px);
  }
  60% {
    transform: translateY(-7px);
  }
}

/* =========================================
   BOUTON DE DÉFILEMENT (STYLE HEADER)
   ========================================= */

/* On transforme le petit texte en véritable bouton "Pill" */
.scroll-text {
  display: inline-block;
  color: #000000; /* Texte sombre pour contraster */
  background-color: #f5f1e4; /* Le fond crème/sable de ton header */
  
  font-family: var(--font-heading); /* On reprend la police impactante */
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(12px, 1.5vw, 14px); /* Taille adaptative */
  
  /* Les espacements du header */
  padding: clamp(8px, 1.2vw, 12px) clamp(16px, 2.5vw, 24px);
  border-radius: 50px; /* Bords totalement arrondis */
  border: 2px solid transparent; /* Bordure invisible pour le hover */
  
  margin-bottom: 20px; /* On l'éloigne un peu plus des flèches en dessous */
  transition: all 0.2s ease-in-out;
}

/* Le survol (Hover) : on reprend exactement l'effet d'inversion du header */
.scroll-action:hover .scroll-text {
  background-color: transparent;
  color: #f5f1e4; /* Le texte devient crème */
  border: 2px solid #f5f1e4; /* La bordure apparaît */
  transform: scale(1.05); /* Léger zoom */
}

/* Featured Section (Grille comme sur l'image) */
/* =========================================
   SECTION PROGRAMMATION - CARTE ÉDITORIALE
   ========================================= */

/* Le conteneur global de la section */
#featured {
  padding: 120px 20px; /* Grand espace de respiration */
  display: flex;
  justify-content: center;
  align-items: center;

}

/* La fameuse carte centrale */
.lineup-card {
  background-color: #fdf9ec; /* Le blanc cassé/crème de ton thème */
  border-radius: 12px; /* Angles arrondis doux */
  padding: 80px 40px;
  max-width: 900px;
  width: 100%;
  text-align: center;
  
  /* L'Ombre Ambiante exacte demandée par ton Design System */
  box-shadow: 0px 12px 24px rgba(28, 28, 20, 0.06); 
}

/* =========================================
   PAGE INFOS PRATIQUES
   ========================================= */
.info-container {
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 120px 20px 60px 20px;
}

.info-card {
  background-color: #fdf9ec;
  border-radius: 12px;
  padding: 60px 40px;
  max-width: 750px;
  width: 100%;
  text-align: center;
  box-shadow: 0px 12px 24px rgba(28, 28, 20, 0.06);
}

.info-card h2 {
  color: #005e5b;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 30px;
  letter-spacing: 0.1em;
}

.info-block {
  margin-top: 10px;
  padding: 10px 0;
}

.info-block h3 {
  color: #a73a0b;
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.info-block p {
  color: #1c1c14;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.6;
  margin-bottom: 30px;
}

.btn-ticket-resale {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #005e5b;
  color: #fdf9ec !important;
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: clamp(13px, 1.5vw, 16px);
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  border: 2px solid transparent;
  box-shadow: 0px 4px 12px rgba(0, 94, 91, 0.2);
}

.btn-ticket-resale:hover {
  background-color: transparent;
  color: #005e5b !important;
  border-color: #005e5b;
  transform: scale(1.04);
  box-shadow: none;
}

/* Séparateur et encadré Bon Plan */
.info-divider {
  border: none;
  height: 2px;
  background-color: rgba(0, 94, 91, 0.15);
  margin: 40px auto;
  width: 80%;
}

.swipe-text {
  font-weight: 500;
  color: #005e5b !important;
  margin-bottom: 20px !important;
}

.promo-box {
  background-color: rgba(0, 94, 91, 0.07);
  border: 2px dashed #005e5b;
  border-radius: 12px;
  padding: 24px 20px;
  margin: 25px 0 30px 0;
  text-align: center;
}

.promo-box p {
  margin-bottom: 0 !important;
  font-size: clamp(14px, 1.7vw, 17px);
  line-height: 1.6;
}

.promo-code {
  background-color: #005e5b;
  color: #fdf9ec;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 900;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  display: inline-block;
}

.promo-box a {
  color: #a73a0b;
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.promo-box a:hover {
  color: #005e5b;
}

.see-you-soon {
  font-family: var(--font-heading);
  font-weight: 900;
  color: #005e5b !important;
  font-size: clamp(16px, 2vw, 20px) !important;
  margin-bottom: 10px !important;
}

/* =========================================
   CARROUSEL DU DOSSIER VENIR
   ========================================= */

.carousel-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 20px auto 30px auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 94, 91, 0.15);
  background-color: transparent;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: contain;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 94, 91, 0.8);
  color: #fdf9ec;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.carousel-btn:hover {
  background: #005e5b;
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 12px;
}

.next-btn {
  right: 12px;
}

.carousel-btn .material-symbols-outlined {
  display: block !important;
  font-size: 26px;
  color: #fdf9ec;
}

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 14px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background-color: #fdf9ec;
  width: 22px;
  border-radius: 10px;
}

/* =========================================
   STYLE DE LA RUBRIQUE SE LOGER
   ========================================= */

.lodging-options {
  text-align: left;
  max-width: 580px;
  margin: 25px auto;
  line-height: 1.7;
}

.lodging-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.lodging-list li {
  margin-bottom: 12px;
  font-size: clamp(14px, 1.7vw, 17px);
  color: #1c1c14;
}

.office-tourisme-info {
  font-weight: 500;
  color: #005e5b !important;
  margin: 20px 0 !important;
}

.warning-box {
  background-color: rgba(167, 58, 11, 0.08);
  border-left: 4px solid #a73a0b;
  border-radius: 8px;
  padding: 18px 20px;
  margin: 25px 0 15px 0;
  text-align: left;
}

.warning-box p {
  color: #1c1c14 !important;
  margin-bottom: 0 !important;
  font-size: clamp(14px, 1.6vw, 16px);
  line-height: 1.6;
}

/* Le titre de la carte */
.lineup-card h3 {
  color: #005e5b; /* Vert profond "Primary" */
  font-family: var(--font-heading);
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 50px;
  letter-spacing: 0.1em;
}

/* La typographie des artistes */
.artist-list {
  color: #1c1c14; /* Pas de noir pur */
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.5vw, 32px); /* Typographie imposante */
  font-weight: 900;
  line-height: 2; /* Bel espacement vertical entre les lignes */
  text-transform: uppercase;
}

/* Optionnel : Un accent de couleur pour les têtes d'affiche */
.artist-list .highlight {
  color: #a73a0b; /* Ta couleur secondaire orange/rouille */
}

/* Style des liens des artistes */
.artist-list a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.artist-list a:hover {
  color: #a73a0b;
  transform: translateY(-2px);
}

.artist-list a.highlight {
  color: #a73a0b;
}

.artist-list a.highlight:hover {
  color: #005e5b;
}

/* =========================================
   MISE À JOUR DE L'ENTÊTE - BOUTON ARRONDI
   ========================================= */

/* 1. Cibler l'élément de navigation spécifique pour la billetterie */
header nav ul a {
  /* Supprimer le style de lien par défaut */
  display: inline-block;
  color: #000000 !important; /* Texte Noir pour le contraste sur le fond cyan */
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 0.1em;
  font-size: 14px;

  /* UTILISATION DE CLAMP POUR LE TEXTE ET L'ESPACEMENT */
  /* La police variera de 12px à 14px selon la largeur de l'écran (vw) */
  font-size: clamp(12px, 1.5vw, 14px); 
  
  /* Le padding varie de 8px (haut/bas) et 16px (gauche/droite) au minimum, 
     jusqu'à 12px et 24px au maximum */
  padding: clamp(8px, 1.2vw, 12px) clamp(16px, 2.5vw, 24px);
  
  /* Créer la forme du bouton arrondi */
  background-color: #f5f1e4; 
  padding: 12px 24px; /* Espacement intérieur */
  border-radius: 50px; /* Bords totalement arrondis */
  
  /* Ajustement de l'alignement */
  margin-top: -12px; /* Pour le centrer verticalement avec le reste de la nav */
  
  /* Effet de transition fluide */
  transition: all 0.2s ease-in-out;

  /* On met une bordure invisible de 2px */
  border: 2px solid transparent; 
  margin-top: -12px;
  transition: all 0.2s ease-in-out;
}

/* 2. État au survol (Hover) pour le bouton */
header nav ul a:hover {
  /* Inverser les couleurs au survol */
  background-color: transparent;
  color: #f5f1e4 !important; /* Le texte devient cyan */
  border: 2px solid #f5f1e4; /* Ajout d'une bordure cyan */
  
  /* Effet de zoom léger */
  transform: scale(1.05);
}

/* 2b. Bouton désactivé (grisé & non cliquable) */
header nav ul a.disabled {
  background-color: #787878 !important;
  color: #333333 !important;
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
  border-color: transparent !important;
}

header nav ul a.disabled:hover {
  background-color: #787878 !important;
  color: #333333 !important;
  border: 2px solid transparent !important;
  transform: none !important;
}

/* 3. Ajustement général de la barre de navigation pour l'alignement */
header nav ul {
  display: flex;
  align-items: center; /* Aligner verticalement tous les liens */
  gap: 30px;
}

/* =========================================
   PIED DE PAGE (FOOTER) & RÉSEAUX SOCIAUX
   ========================================= */

footer {
  padding: 80px 20px 40px 20px; /* Grand espace au-dessus pour respirer */
  text-align: center;
  position: relative;
  z-index: 10;
}

/* Le conteneur des liens sociaux */
.social-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap; /* Permet de passer à la ligne sur de très petits écrans */
  gap: clamp(20px, 4vw, 40px); /* L'espace s'adapte à l'écran */
  margin-bottom: 30px;
}

/* Le style purement typographique (Éditorial) */
.social-links a {
  font-family: var(--font-heading);
  font-size: clamp(12px, 1.5vw, 16px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #f5f1e4; /* Texte sombre pour contraster avec ton fond sable */
  
  /* Ligne de soulignement invisible par défaut */
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: all 0.3s ease;
}

/* L'effet au survol */
.social-links a:hover {
  color: #a73a0b; /* Ton orange/rouille d'accentuation */
  border-color: #a73a0b; /* La ligne apparaît en dessous */
  transform: translateY(-2px); /* Léger soulèvement */
}

/* Le texte de copyright */
footer p {
  font-family: var(--font-body);
  font-size: 12px;
  color: rgba(28, 28, 20, 0.5); /* Gris très discret */
  letter-spacing: 0.05em;
}

/* =========================================
   ADAPTATION MOBILE (RESPONSIVE DESIGN)
   ========================================= */

/* On cache les icônes sur la version ordinateur pour garder le design épuré */
.material-symbols-outlined {
  display: none;
}

/* Règles appliquées UNIQUEMENT sur les écrans de moins de 768px (Tablettes et Mobiles) */
@media (max-width: 768px) {
  
  /* 1. Le Header global devient transparent et laisse juste le logo en haut */
  header {
    background-color: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 20px;
    pointer-events: none; /* Permet de cliquer "à travers" l'espace vide */
  }
  
  .logo {
    pointer-events: auto; /* Réactive le clic sur le logo */
  }

  /* 2. La Navigation descend tout en bas de l'écran */
  header nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    
    /* On remet l'effet Glassmorphism ici, sur la barre du bas */
    background-color: rgba(255, 255, 255, 0.068); /* Ton vert "#1d7874" à 60% d'opacité */
    backdrop-filter: blur(5px); /* Le flou d'arrière-plan magique */
    -webkit-backdrop-filter: blur(5px); /* Pour la compatibilité avec les navigateurs Apple */
    
    padding: 10px 5px; /* Padding réduit */
    padding-bottom: clamp(10px, env(safe-area-inset-bottom), 20px); /* Gère la barre d'accueil des iPhone modernes */
    pointer-events: auto;
    box-shadow: 0px -4px 20px rgba(0, 0, 0, 0.2); /* Légère ombre au-dessus */
  }

  header nav ul {
    justify-content: space-around; /* Répartit les icônes également */
    gap: 0;
  }

  /* 3. Style des liens : Icône au-dessus, texte en dessous */
  header nav ul a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 5px;
    margin-top: 0;
    background-color: transparent; /* On enlève la "pilule" du bouton billetterie pour harmoniser la barre */
    border: none;
  }
  
  /* On affiche enfin les icônes */
  .material-symbols-outlined {
    display: block;
    font-size: 24px;
    font-weight: 300;
  }

  /* Typographie miniature pour le texte sous l'icône */
  .nav-text {
    font-size: 10px;
    letter-spacing: 0.05em;
  }

  /* 4. On s'assure que le bouton Billetterie ressorte quand même un peu (en couleur crème) */
  header nav ul a.btn-billet {
    color: #fdf9ec !important;
  }

  header nav ul a.disabled {
    background-color: transparent !important;
    color: rgba(0, 0, 0, 0.4) !important;
    opacity: 0.45;
  }
  
  /* On annule les effets de survol qui ne marchent pas sur un écran tactile */
  header nav ul a:hover {
    transform: none;
    border: none;
    background-color: transparent;
  }

  /* -----------------------------------------
     5. AJUSTEMENT DE LA FLÈCHE SUR MOBILE
     ----------------------------------------- */
  
  /* On remonte le conteneur pour passer au-dessus de la barre de navigation */
  .scroll-arrow-container {
    bottom: 110px; /* Remonte la flèche bien au-dessus du menu */
  }

  /* On réduit légèrement la taille du bouton "Découvrir" */
  .scroll-text {
    font-size: 10px;
    padding: 8px 16px;
    margin-bottom: 10px;
  }

  /* On réduit la taille des chevrons de la flèche */
  .double-chevron span {
    width: 16px;
    height: 16px;
    border-width: 2px; /* Ligne un peu plus fine */
    margin-bottom: -6px; /* Ajuste l'emboîtement */
  }

  /* -----------------------------------------
     6. ESPACEMENT DU PIED DE PAGE (FOOTER)
     ----------------------------------------- */
  
  /* On ajoute une grosse marge en bas pour compenser la barre de navigation */
  footer {
    padding-bottom: 100px; /* Pousse le texte au-dessus du menu */
    text-align: center; /* On s'assure qu'il est bien centré */
    font-size: 12px; /* On le rend un peu plus discret sur mobile */
  }

  /* -----------------------------------------
     7. AJUSTEMENT DU LOGO UOS (MOBILE)
     ----------------------------------------- */
  
  /* On modifie le header pour qu'il centre son contenu (le logo) */
  header {
    justify-content: center; 
  }

  /* On ajuste le texte du logo dans l'entête pour qu'il reste lisible et ne déborde pas */
  header h1 {
    font-size: clamp(28px, 6vw, 36px);
    color: #FFFFFF !important; /* Forcé en blanc pur */
    letter-spacing: 0.12em;
    text-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
  }

  /* Réduction de la taille du logo UOS blanc (image) sur mobile pour ne pas qu'il dépasse */
  .hero-main-logo {
    max-width: 280px;
    width: 75vw;
    height: auto;
  }

  /* Marge de sécurité pour la section hero sur mobile */
  #hero {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* =========================================
   ÉTAPES DE LA CHASSE AUX TRÉSORS (QR CODES)
   ========================================= */

.chasse-step-container {
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 110px 16px 80px 16px;
}

.chasse-step-card {
  background-color: #fdf9ec;
  border-radius: 16px;
  padding: clamp(28px, 5vw, 48px) clamp(20px, 4vw, 36px);
  max-width: 680px;
  width: 100%;
  box-shadow: 0px 14px 30px rgba(0, 0, 0, 0.25);
  position: relative;
  text-align: left;
}

/* En-tête d'étape et barre de progression */
.step-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.step-badge-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: #005e5b;
  color: #fdf9ec;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(11px, 1.3vw, 13px);
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 50px;
  text-transform: uppercase;
}

.step-count {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  color: #005e5b;
  letter-spacing: 0.05em;
}

/* Jauge de progression */
.progress-bar-track {
  width: 100%;
  height: 6px;
  background-color: rgba(0, 94, 91, 0.12);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #005e5b 0%, #a73a0b 100%);
  border-radius: 10px;
  transition: width 0.4s ease;
}

.progress-bar-fill.step-1 { width: 25%; }
.progress-bar-fill.step-2 { width: 50%; }
.progress-bar-fill.step-3 { width: 75%; }
.progress-bar-fill.step-4 { width: 100%; }

/* Titre de l'étape */
.chasse-step-card h2 {
  color: #005e5b;
  font-family: var(--font-heading);
  font-size: clamp(24px, 3.5vw, 34px);
  margin: 0 0 20px 0;
  line-height: 1.25;
}

/* Boîte de l'énigme */
.chasse-riddle-box {
  background-color: rgba(0, 94, 91, 0.05);
  border-left: 4px solid #005e5b;
  border-radius: 10px;
  padding: clamp(18px, 3vw, 26px);
  margin-bottom: 22px;
}

.riddle-text {
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.75;
  color: #1c1c14;
  white-space: pre-line;
  margin: 0;
}

/* Encadré coup de pouce (Helper) */
.chasse-helper-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: rgba(0, 94, 91, 0.08);
  border: 1px solid rgba(0, 94, 91, 0.2);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 22px;
}

.chasse-helper-box .helper-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.chasse-helper-box p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(13px, 1.5vw, 15px);
  color: #005e5b;
  font-weight: 500;
  line-height: 1.5;
}

/* Encadré instruction finale (Étape 4) */
.chasse-instruction-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background-color: rgba(167, 58, 11, 0.1);
  border: 2px solid #a73a0b;
  border-radius: 10px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.chasse-instruction-box .instruction-icon {
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
}

.chasse-instruction-box p {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.8vw, 16px);
  color: #a73a0b;
  font-weight: 700;
  line-height: 1.5;
}

/* Encadré discret rappel des règles (Anti-triche & Fair-play) */
.chasse-fairplay-box {
  background-color: rgba(28, 28, 20, 0.035);
  border: 1px dashed rgba(28, 28, 20, 0.25);
  border-radius: 8px;
  padding: 12px 14px;
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.chasse-fairplay-box .fairplay-icon {
  font-size: 18px;
  flex-shrink: 0;
  line-height: 1.2;
}

.chasse-fairplay-box p {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(11.5px, 1.3vw, 13px);
  color: rgba(28, 28, 20, 0.75);
  line-height: 1.45;
}

.chasse-fairplay-box strong {
  color: #1c1c14;
}

/* Boutons de navigation / retour */
.chasse-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(0, 94, 91, 0.12);
  flex-wrap: wrap;
  gap: 12px;
}

.chasse-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #005e5b;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.chasse-back-link:hover {
  color: #a73a0b;
}

/* =========================================
   COMPTE À REBOURS (COUNTDOWN) CHASSE
   ========================================= */

.countdown-card {
  text-align: center;
  max-width: 680px;
}

.countdown-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(0, 94, 91, 0.1);
  color: #005e5b;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(12px, 1.5vw, 14px);
  letter-spacing: 0.08em;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(8px, 2vw, 16px);
  margin: 28px 0 32px 0;
}

.countdown-item {
  background-color: #005e5b;
  color: #fdf9ec;
  border-radius: 12px;
  padding: clamp(14px, 3vw, 24px) clamp(6px, 1.5vw, 12px);
  box-shadow: 0 8px 20px rgba(0, 94, 91, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.countdown-item:hover {
  transform: translateY(-2px);
}

.countdown-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(26px, 5.5vw, 44px);
  line-height: 1.1;
  color: #fdf9ec;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-family: var(--font-body);
  font-size: clamp(10px, 1.3vw, 12px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(253, 249, 236, 0.85);
  font-weight: 600;
  margin-top: 4px;
}

.countdown-teaser-text {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.8vw, 17px);
  color: #1c1c14;
  line-height: 1.6;
  margin: 20px auto 25px auto;
  max-width: 600px;
}

.countdown-teaser-text p {
  margin-bottom: 12px;
}

.countdown-teaser-text p:last-child {
  margin-bottom: 0;
}

.countdown-ready-banner {
  background: linear-gradient(135deg, #005e5b 0%, #007a76 100%);
  color: #fdf9ec;
  padding: 24px;
  border-radius: 14px;
  margin: 20px 0;
  box-shadow: 0 10px 25px rgba(0, 94, 91, 0.25);
  animation: pulseReady 2s infinite ease-in-out;
}

@keyframes pulseReady {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.countdown-ready-banner h3 {
  font-size: clamp(20px, 3vw, 26px);
  margin-bottom: 10px;
  color: #fdf9ec;
}

.countdown-ready-banner p {
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 18px;
}

.countdown-start-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #fdf9ec;
  color: #005e5b !important;
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.countdown-start-btn:hover {
  background-color: #ffffff;
  color: #a73a0b !important;
  transform: translateY(-2px);
}

/* =========================================
   RÈGLES DU JEU CHASSE
   ========================================= */

.chasse-rules-section {
  text-align: left;
  background-color: rgba(0, 94, 91, 0.04);
  border: 1px solid rgba(0, 94, 91, 0.15);
  border-radius: 14px;
  padding: clamp(16px, 3vw, 24px);
  margin: 25px 0 20px 0;
}

.chasse-rules-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 800;
  color: #005e5b;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.chasse-rules-title .material-symbols-outlined {
  font-size: 20px;
  color: #a73a0b;
}

.chasse-rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chasse-rules-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: clamp(13.5px, 1.5vw, 15px);
  color: #1c1c14;
  line-height: 1.5;
}

.chasse-rules-list .rule-bullet {
  color: #005e5b;
  font-size: 10px;
  line-height: 2.1;
  flex-shrink: 0;
}

.chasse-rules-list .rule-content {
  flex: 1;
}

.chasse-rules-list strong {
  color: #005e5b;
  font-weight: 700;
}
