/* =========================================================
   PALETTE DAE 2026 — THÈME MÉDITERRANÉE (SOLAR MODE)
========================================================= */
:root {
  /* TEXTE & PROFONDEUR */
  --bleu-nuit: #071e51;     /* Textes principaux, Footer */
  
  /* ACCENTS VIFS */
  --bleu-electrique: #214fd1; /* Boutons principaux */
  --orange-vif: #ef4a29;      /* Call to action, Hover */
  --jaune-soleil: #f9d332;    /* Détails, Chiffres */
  
  /* FONDS & AMBIANCE */
  --bleu-ciel: #e1edff;       /* Fonds section douce */
  --sable: #fce5be;           /* Fond principal alternatif */
  --peche: #fcded7;           /* Accents doux */
  --blanc: #ffffff;
  
  --font-main: "Bodega Sans", Arial, sans-serif;
  --font-body: "Forma DJR Micro", sans-serif;
}

/* =========================================================
   BASE & RESET
========================================================= */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  background-color: var(--blanc);
  color: var(--bleu-nuit);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-main);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 800;
  color: var(--bleu-nuit);
}

/* =========================================================
   HEADER (LUMINEUX ET FRAIS)
========================================================= */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 15px 40px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--jaune-soleil);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.logo {
  height: 100px;      /* TAILLE GÉANTE */
  width: auto;
  position: absolute; /* LE SECRET : Il flotte au-dessus ! */
  top: -30px;         
  left: 0;            
  z-index: 1001;      
  transition: 0.3s;
}

/* =========================================================
   HERO VIDEO (VIBE VACANCES)
========================================================= */
.hero-video {
  position: relative;
  height: 95vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7,30,81,0.2), rgba(252, 229, 190, 0.3));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
  margin-top: 60px;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 20px;
  color: var(--blanc);
  text-shadow: 0 4px 10px rgba(7,30,81,0.4);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 500;
  color: var(--blanc);
  background-color: var(--bleu-nuit);
  display: inline-block;
  padding: 5px 15px;
}

/* BOUTONS */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 16px 32px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 12px;
  transition: 0.3s;
}

.btn-primary {
  background: var(--orange-vif);
  color: var(--blanc);
  box-shadow: 0 5px 0px #c23114;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 0px #c23114;
}

.btn-secondary {
  background: var(--blanc);
  color: var(--bleu-nuit);
  margin-left: 10px;
  box-shadow: 0 5px 0px #cccccc;
}
.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 0px #cccccc;
}

/* =========================================================
   SECTION "C'EST QUOI LE DAE"
========================================================= */
.intro-dae {
  padding: 100px 20px;
  background-color: var(--blanc);
  color: var(--bleu-nuit);
}

.intro-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.intro-text { flex: 1; }

.intro-text h2 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: var(--bleu-nuit);
  line-height: 1;
}

.subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--orange-vif);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  font-weight: 700;
}

.intro-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  opacity: 0.9;
}

.btn-link-arrow {
  display: inline-block;
  margin-top: 10px;
  color: var(--bleu-electrique);
  font-weight: bold;
  text-decoration: none;
  font-size: 1.1rem;
  transition: 0.3s;
}
.btn-link-arrow:hover {
  color: var(--orange-vif);
  transform: translateX(10px);
}

.intro-image {
  flex: 1;
  position: relative;
}

.intro-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 20px 20px 0px var(--sable);
  object-fit: cover;
}

/* =========================================================
   FONCTIONNALITÉS
========================================================= */
.features {
  padding: 80px 20px;
  background: var(--sable);
  text-align: center;
  position: relative;
}

.features::before {
  content: "";
  position: absolute;
  top: -40px; left: 0; width: 100%; height: 40px;
  background: var(--sable);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.grid-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0;
}

.feature-card {
  background: var(--blanc);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(7,30,81,0.05);
  transition: 0.3s;
}
.feature-card:hover { transform: translateY(-10px); }
.feature-card h3 { color: var(--orange-vif); margin-bottom: 15px; font-size: 1.5rem; }

/* =========================================================
   STATS
========================================================= */
.stats {
  background: var(--bleu-nuit);
  padding: 80px 20px;
  text-align: center;
  color: var(--blanc);
}
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
}
.stat span {
  display: block;
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--jaune-soleil);
  line-height: 1;
}
.stat { font-size: 1.2rem; text-transform: uppercase; font-weight: bold; margin: 20px; letter-spacing: 2px;}

/* =========================================================
   TÉMOIGNAGES
========================================================= */
.temoignages {
  background: var(--bleu-ciel);
  padding: 80px 20px;
  text-align: center;
}
.temoignages h2 { color: var(--bleu-nuit); margin-bottom: 50px; font-size: 2.5rem; }
.tem-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.tem-card {
  flex: 1 1 300px;
  background: var(--blanc);
  padding: 40px;
  border-radius: 20px;
  border: 2px solid var(--bleu-electrique);
}
.tem-card p { font-style: italic; font-size: 1.2rem; margin-bottom: 20px; color: var(--bleu-nuit); }
.tem-card span { font-weight: bold; color: var(--orange-vif); text-transform: uppercase; }

/* =========================================================
   CTA SECTION
========================================================= */
.cta-section {
  background-color: var(--peche);
  padding: 80px 20px;
  text-align: center;
}

/* =========================================================
   PARTENAIRES
========================================================= */
.partenaires {
  padding: 60px 20px;
  background: var(--blanc);
  text-align: center;
}
.partenaires h2 { margin-bottom: 40px; }
.logos img {
  width: 130px;
  margin: 20px;
  filter: none; 
  transition: 0.3s;
}
.logos img:hover { transform: scale(1.1); }

/* =========================================================
   MEGA FOOTER
========================================================= */
.mega-footer {
  background: var(--bleu-nuit);
  color: var(--blanc);
  padding: 80px 20px 30px;
}
.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto 60px;
  gap: 40px;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

/* On cible les SVG directement */
.footer-socials svg {
  width: 30px;
  height: 30px;
  fill: white; /* On les colorie en blanc */
  transition: 0.3s;
  cursor: pointer;
}

.footer-socials svg:hover {
  transform: scale(1.2) rotate(10deg);
  fill: var(--orange-vif); /* Ils deviennent orange au survol */
}

.footer-col { flex: 1 1 250px; }
.footer-col h4 { color: var(--jaune-soleil); margin-bottom: 20px; }
.footer-menu a { color: var(--bleu-ciel); display: block; margin-bottom: 10px; text-decoration: none; font-size: 1.1rem; transition:0.2s;}
.footer-menu a:hover { color: var(--jaune-soleil); padding-left: 5px; }
.footer-socials img { width: 30px; margin-right: 15px; transition: 0.3s; filter: invert(1); }
.footer-socials img:hover { transform: scale(1.2) rotate(10deg); }
.footer-bottom { text-align: center; opacity: 0.6; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* =========================================================
   MENU BURGER & NAVIGATION
========================================================= */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}
.nav-menu a {
  text-decoration: none;
  color: var(--bleu-nuit);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  transition: 0.3s;
}
.nav-menu a:hover { color: var(--orange-vif); }
.btn-menu-cta {
  background: var(--orange-vif);
  color: white !important;
  padding: 10px 20px;
  border-radius: 8px;
}
.btn-menu-cta:hover { background: var(--bleu-nuit); }
.burger { display: none; }

/* MOBILE */
@media (max-width: 900px) {
  .hero-content h1 { font-size: 2.5rem; }
  .stat span { font-size: 3.5rem; }
  .btn-secondary { margin-left: 0; margin-top: 15px; display: block; }
  
  .intro-container { flex-direction: column; text-align: center; }
  .intro-text h2 { font-size: 2.5rem; }
  .intro-image img { max-width: 100%; margin-top: 30px; }
  
  /* Burger Mobile */
  .burger { display: block; cursor: pointer; z-index: 2000; }
  .burger .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background-color: var(--bleu-nuit); transition: 0.3s; }

  /* Le reste du menu est géré plus bas dans la section MENU MOBILE */
}

/* =========================================================
   MENU DÉROULANT (DROPDOWN)
========================================================= */

/* Le conteneur du bouton + menu */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Le contenu caché par défaut */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: var(--blanc);
  min-width: 260px; /* Assez large pour le texte long */
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
  border-top: 3px solid var(--orange-vif); /* Petite barre déco */
  border-radius: 0 0 8px 8px;
  z-index: 2000;
  top: 100%; /* Juste en dessous du lien */
  left: 0;
}

/* Les liens dans le sous-menu */
.dropdown-content a {
  color: var(--bleu-nuit);
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 0.85rem; /* Un peu plus petit que le menu principal */
  text-align: left;
  border-bottom: 1px solid #f0f0f0;
}

/* Hover sur les liens du sous-menu */
.dropdown-content a:hover {
  background-color: var(--bleu-ciel);
  color: var(--orange-vif);
  padding-left: 20px; /* Petit effet de glissement */
}

/* Afficher le menu au survol (Desktop) */
.dropdown:hover .dropdown-content {
  display: block;
  animation: fadeIn 0.3s;
}

/* Animation d'apparition */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   PAGE À PROPOS — STYLES
========================================================= */

/* 1. HERO PAGE (Bannière plus petite que l'accueil) */
.hero-page {
  position: relative;
  height: 60vh; /* Hauteur moyenne (accueil = 95vh) */
  width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--bleu-nuit);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 30, 81, 0.5); /* Voile bleu pour lisibilité */
}

.hero-content-page {
  position: relative;
  z-index: 2;
  color: var(--blanc);
  padding: 20px;
}

.hero-content-page h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
  color: var(--blanc); /* <--- C'EST ÇA QUI MANQUAIT (TEXTE BLANC) */
}

.hero-content-page p {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--jaune-soleil);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* 2. SECTION MISSION (Texte + Image) */
.mission-section {
  padding: 100px 20px;
  background-color: var(--blanc);
}

.mission-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.mission-text { flex: 1; }
.mission-image { flex: 1; }

.mission-text h2 {
  font-size: 2.8rem;
  color: var(--bleu-nuit);
  line-height: 1;
  margin-bottom: 10px;
}

.subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--orange-vif);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
  font-weight: 700;
}

.mission-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--bleu-nuit);
  opacity: 0.9;
}

/* Petites stats sous le texte */
.stats-mini {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  border-top: 2px solid var(--sable);
  padding-top: 20px;
}

.stats-mini div {
  font-size: 1.1rem;
  color: var(--bleu-electrique);
  font-weight: bold;
}

.mission-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 20px 20px 0 var(--sable); /* Ombre graphique décalée */
  object-fit: cover;
}

/* 3. SECTION PILIERS (L'expérience complète) */
.pillars-section {
  padding: 80px 20px;
  background-color: var(--sable); /* Fond Sable */
  text-align: center;
}

.intro-centered {
  font-size: 1.2rem;
  margin-bottom: 50px;
  color: var(--bleu-nuit);
  opacity: 0.8;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.pillar-card {
  background: var(--blanc);
  padding: 40px 30px;
  border-radius: 20px;
  transition: 0.3s;
  border-bottom: 4px solid var(--orange-vif); /* Ligne colorée en bas */
}

.pillar-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.pillar-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.pillar-card h3 {
  color: var(--bleu-nuit);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

/* 4. SECTION LIEU (Salle François-Brassard) - MODE SOMBRE */
.venue-section {
  padding: 100px 20px;
  background-color: var(--bleu-nuit); /* Fond sombre pour contraste cinéma */
  color: var(--blanc);
}

/* On force la couleur blanche pour le texte dans cette section sombre */
.venue-section h2 { color: var(--blanc); }
.venue-section p { color: rgba(255, 255, 255, 0.9); }
.venue-section .subtitle { color: var(--jaune-soleil); } /* Jaune sur bleu foncé */

/* L'image dans la section sombre */
.venue-section .mission-image img {
  box-shadow: -20px 20px 0 var(--orange-vif); /* Ombre orange vibrante */
}

/* 5. RESPONSIVE (Mobile) */
@media (max-width: 900px) {
  .mission-container {
    flex-direction: column-reverse !important; /* Image au-dessus, Texte en dessous */
    text-align: center;
  }
  
  /* Pour la section Venue, on remet l'image au dessus aussi */
  .venue-section .mission-container {
    flex-direction: column-reverse !important; 
  }
  
  .stats-mini { justify-content: center; }
  
  .mission-image img { 
    margin-bottom: 30px; 
    box-shadow: 10px 10px 0 var(--sable); 
  }
  
  .venue-section .mission-image img {
    box-shadow: -10px 10px 0 var(--orange-vif);
  }
}

/* =========================================================
   PAGE REGARD — STYLES
========================================================= */

/* Section du Prix (Sombre et prestigieuse) */
.prix-section {
  background-color: var(--bleu-nuit);
  color: var(--blanc);
  padding: 100px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Petit badge décoratif */
.prix-badge {
  display: inline-block;
  background-color: var(--jaune-soleil);
  color: var(--bleu-nuit);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.prix-content h2 {
  color: var(--blanc);
  font-size: 3rem;
  margin-bottom: 20px;
}

.prix-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 50px;
  opacity: 0.9;
}

.prix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.prix-item {
  background: rgba(255, 255, 255, 0.1); /* Effet verre transparent */
  padding: 30px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: 0.3s;
}

.prix-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  border-color: var(--jaune-soleil);
}

.prix-item .icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 15px;
}

.prix-item strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--jaune-soleil);
}

.prix-item p {
  font-size: 1rem;
  margin: 0;
  opacity: 0.8;
}

/* =========================================================
   COMPTE À REBOURS (STYLE CORRIGÉ)
========================================================= */
.countdown-section {
  background-color: #071e51; /* Bleu nuit en dur pour être sûr */
  padding: 40px 20px;
  text-align: center;
  color: white;
  border-bottom: 4px solid #ef4a29; /* Orange vif */
  margin-top: -5px;
}

.countdown-title {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1.2rem;
  margin-bottom: 25px;
  font-weight: bold;
  color: white;
}

/* C'est ici que la magie opère pour les mettre côte à côte */
.countdown-grid {
  display: flex;         /* INDISPENSABLE pour l'alignement horizontal */
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;       /* Permet de passer à la ligne sur petit écran */
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, 0.1); /* Fond gris transparent */
  padding: 15px 20px;
  border-radius: 10px;
  min-width: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.time-box span:first-child {
  font-size: 2.5rem;
  font-weight: 800;
  color: #f9d332; /* Jaune soleil */
  line-height: 1.1;
  display: block;
}

.time-box .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-top: 5px;
  opacity: 0.9;
  letter-spacing: 1px;
}

/* RESPONSIVE (Téléphone) */
@media (max-width: 600px) {
  .countdown-grid { gap: 10px; }
  .time-box { min-width: 70px; padding: 10px; }
  .time-box span:first-child { font-size: 1.8rem; }
  .time-box .label { font-size: 0.6rem; }
}

/* =========================================================
   PAGE MAINTENANCE / HORAIRE
========================================================= */
.maintenance-section {
  height: 80vh; /* Prend presque tout l'écran */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bleu-ciel); /* Fond doux */
  text-align: center;
  padding: 20px;
}

.maintenance-content {
  max-width: 600px;
  background: var(--blanc);
  padding: 60px 40px;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(7, 30, 81, 0.1);
  border: 4px solid var(--jaune-soleil); /* Petite touche solaire */
}

.maintenance-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  animation: float 3s ease-in-out infinite; /* Petite animation sympa */
}

.maintenance-content h1 {
  font-size: 2.5rem;
  color: var(--bleu-nuit);
  margin-bottom: 20px;
  line-height: 1.1;
}

.maintenance-content p {
  font-size: 1.2rem;
  color: var(--bleu-nuit);
  margin-bottom: 10px;
  opacity: 0.8;
}

/* Petite animation qui fait flotter le sablier */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* MOBILE */
@media (max-width: 600px) {
  .maintenance-content h1 { font-size: 2rem; }
  .maintenance-icon { font-size: 4rem; }
}

/* =========================================================
   STYLE SCRAPBOOK (Inspiré de tes images)
========================================================= */

/* Le fond bleu ciel général */
.jury-scrapbook {
  background-color: #b4d8e7; /* Bleu pastel des images */
  padding: 80px 20px;
  overflow: hidden; /* Pour contenir les formes */
}

.scrapbook-intro {
  text-align: center;
  margin-bottom: 60px;
}

.scrapbook-intro h2 {
  font-family: "Bodega Sans", Arial, sans-serif; /* Si tu as la police */
  font-size: 3rem;
  color: #4a6fa5; /* Bleu plus foncé pour le titre */
  text-transform: uppercase;
  margin-bottom: 15px;
  text-shadow: 2px 2px 0px rgba(255,255,255,0.5);
}

.scrapbook-intro p {
  font-size: 1.2rem;
  color: #333;
  max-width: 700px;
  margin: 0 auto;
}

.scrapbook-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Chaque bloc Jury */
.scrapbook-item {
  display: flex;
  align-items: center;
  gap: 40px;
  background: transparent; /* Pas de carte blanche ! */
}

/* Pour inverser l'ordre une fois sur deux (Image à droite, puis à gauche) */
.scrapbook-item.reverse {
  flex-direction: row-reverse;
  text-align: right;
}

/* La photo */
.sb-photo-wrapper {
  flex-shrink: 0;
  width: 250px;
  height: 300px; /* Format portrait */
  position: relative;
  transform: rotate(-2deg); /* Petite rotation fun */
  transition: transform 0.3s ease;
  box-shadow: 5px 5px 15px rgba(0,0,0,0.2);
}

.scrapbook-item.reverse .sb-photo-wrapper {
  transform: rotate(2deg); /* Rotation inverse pour l'autre côté */
}

.sb-photo-wrapper:hover {
  transform: scale(1.05) rotate(0deg); /* Effet zoom au survol */
  z-index: 10;
}

.sb-photo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 8px solid white; /* Bordure blanche type photo */
}

/* Le texte */
.sb-content {
  flex: 1;
}

.sb-content h3 {
  font-family: 'Arial Narrow', sans-serif; /* Police condensée */
  font-size: 2.2rem;
  color: #4a6fa5; /* Le bleu des titres sur tes images */
  margin-bottom: 15px;
  line-height: 1.1;
}

.sb-content p {
  font-family: 'Verdana', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #1a1a1a;
}

/* MOBILE RESPONSIVE JURY */
@media (max-width: 768px) {
  .scrapbook-item, 
  .scrapbook-item.reverse {
    flex-direction: column; /* Tout empilé sur mobile */
    text-align: center;
    gap: 20px;
  }
  
  .sb-photo-wrapper {
    width: 200px;
    height: 250px;
    margin: 0 auto;
    transform: rotate(0deg) !important;
  }
  
  .sb-content h3 {
    font-size: 1.8rem;
  }
}

/* =========================================================
   📱 MENU MOBILE (BURGER) - VERSION "FORCE BRUTE"
   (Remplace tout le dernier bloc @media de ton fichier)
========================================================= */

@media (max-width: 1024px) {

    /* 1. LE MENU (Couche très haute : 2999) */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%; /* Caché à droite */
        width: 100%;
        height: 100vh;
        background-color: var(--bleu-nuit);
        
        /* Flexbox pour aligner le contenu */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        
        /* Scroll et Espacement */
        padding-top: 100px;
        padding-bottom: 50px;
        overflow-y: auto; /* IMPORTANT : Permet de scroller */
        
        transition: 0.4s ease-in-out;
        z-index: 2999; /* FORCE : Doit être plus grand que le header (1000) */
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

    /* Quand le menu est actif (ajouté par JS) */
    .nav-menu.active {
        right: 0; /* Il apparaît */
    }

    /* 2. LE BOUTON BURGER (Couche suprême : 3000) */
    .burger {
        display: block !important;
        position: fixed; /* Fixe pour rester visible quand on scroll */
        top: 25px; 
        right: 25px;
        z-index: 3000; /* FORCE : Doit être au-dessus du menu pour pouvoir fermer */
        background: none; 
        border: none; 
        cursor: pointer;
        width: 40px; /* Zone de clic plus grande */
        height: 30px;
    }

    .burger span {
        display: block; 
        width: 30px; 
        height: 3px; 
        background-color: var(--bleu-nuit); /* Couleur par défaut (bleu sur blanc) */
        margin: 6px auto; 
        transition: 0.3s;
        border-radius: 3px;
    }

    /* Quand le menu est ouvert, le burger devient BLANC pour être visible sur le fond bleu */
    .burger.active span { 
        background-color: var(--blanc); 
    }
    
    /* Animation de la croix */
    .burger.active span:nth-child(1) { transform: rotate(-45deg) translate(-6px, 7px); }
    .burger.active span:nth-child(2) { opacity: 0; }
    .burger.active span:nth-child(3) { transform: rotate(45deg) translate(-6px, -7px); }

    /* 3. LES LIENS */
    .nav-menu > a, .dropbtn {
        font-size: 1.5rem;
        margin: 15px 0;
        color: var(--blanc);
        display: block;
        width: 100%;
        text-align: center;
        text-decoration: none;
    }

    /* 4. SOUS-MENUS (ACCORDÉON) */
    .dropdown {
        width: 100%;
        text-align: center;
        margin: 10px 0;
        display: block;
    }
    
    /* Le bouton du sous-menu */
    .dropbtn { 
        cursor: pointer; 
        font-weight: bold;
    }
    
    .dropbtn::after { content: " ▾"; font-size: 0.8em; }
    .dropdown.open .dropbtn::after { content: " ▴"; }

    /* Le contenu caché */
    .dropdown-content {
        display: none; /* Caché par défaut */
        background-color: rgba(255,255,255,0.05);
        margin: 0 auto;
        width: 90%;
        padding: 10px 0;
    }

    /* Le contenu visible (activé par JS) */
    .dropdown.open .dropdown-content {
        display: block;
        animation: slideDown 0.3s ease;
    }

    .dropdown-content a {
        font-size: 1.2rem;
        color: var(--jaune-soleil);
        padding: 12px 0;
        display: block;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* 5. AJUSTEMENTS GLOBAUX MOBILE */
    .hero-content h1 { font-size: 2.2rem !important; }
    
    /* On empile tout */
    .header { padding: 10px 20px; }
    .intro-container, .venue-section .mission-container { flex-direction: column-reverse; }
    .mission-container, .footer-columns, .grid-features, .stats-grid { flex-direction: column; }
    
    .logo { height: 60px; top: 5px; left: 15px; }
    
    /* Boutons pleine largeur */
    .btn-primary, .btn-secondary { width: 100%; margin-top: 10px; display: block; }
}