/* --- RESET ET PARAMÈTRES GLOBAUX DU BLOC --- */
.festival-hero, .festival-hero * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif !important;
    color: #ffffff !important;
    /* C'EST CETTE LIGNE QUI ALIGNE LES CHIFFRES CORRECTEMENT */
    font-variant-numeric: lining-nums !important; 
}

.festival-hero sup {
  font-variant-numeric: none !important;
}
 
.festival-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('/assets/2026/2026.jpg') no-repeat center center;
    background-size: cover;
    overflow: hidden; /* Empêche tout débordement */
}

.festival-overlay {
    display: flex;
    width: 100%;
    height: 100%;
    /* Garantit au minimum 30px d'espace, sinon 5% de la taille de l'écran */
    padding: max(30px, 10vh) max(30px, 7vw); 
    /* Ombre très légère, indispensable pour lire sur les nuages/ciel clair */
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2); 
}

/* --- TYPOGRAPHIE : BLOC GAUCHE --- */

.festival-header {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.edition-label {
    font-weight: 700;
    /* Plus petit, s'arrête de grandir à 22px */
    font-size: clamp(12px, 1.2vw, 22px); 
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.festival-title {
    display: flex;
    flex-direction: column;
    /* Rapproche les mots "FESTIVAL DES" et "7 COLLINES" */
    line-height: 0.9; 
    /* Empêche "7 COLLINES" de passer sur 2 lignes */
    white-space: nowrap; 
}

.title-light {
    font-weight: 300;
    /* Tailles revues à la baisse pour éviter la casse */
    font-size: clamp(24px, 4vw, 55px);
    letter-spacing: 0.02em;
}

.title-bold {
    font-weight: 700;
    /* Tailles revues à la baisse. Le nowrap forcera le clamp à respecter la largeur */
    font-size: clamp(45px, 8.5vw, 125px);
}

/* --- TYPOGRAPHIE : BLOC DROIT --- */

.festival-infos {
    display: flex;
    flex-direction: column;
}

.city-name {
    font-weight: 700;
    font-size: clamp(22px, 3.5vw, 50px);
    letter-spacing: 0.02em;
}

.event-dates {
    font-weight: 700; /* Légèrement moins lourd que le titre pour la lisibilité */
    font-size: clamp(20px, 3vw, 40px);
    margin-top: 20px;
    margin-bottom: 20px;
}


/* --- GESTION DES RÉSOLUTIONS (RESPONSIVE) --- */

/* MODE ÉCRAN LARGE (Desktop, Tablettes mode paysage) */
@media (min-aspect-ratio: 1/1) {
    .festival-overlay {
        flex-direction: row;
        justify-content: space-between; /* Gauche et Droite */
        align-items: flex-start;
    }
    
    .festival-infos {
        text-align: center;
        /* Aligne le bloc infos avec le milieu du titre comme sur l'image 1 */
        margin-top: clamp(40px, 20vh, 100px); 
    }
}

/* --- MODE ÉCRAN ÉTROIT (Smartphones, mode portrait) --- */
@media (max-aspect-ratio: 1/1), (max-width: 768px) { /* J'ajoute max-width par sécurité */
    .festival-overlay {
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        padding: 8vh 5vw; /* 5vw garantit la marge sur les côtés pour ne pas coller */
    }

    /* --- TITRE HAUT (Occupe toute la largeur) --- */
    .festival-header {
        align-items: center;
        text-align: center;
        width: 100%; 
    }

    .edition-label {
        font-size: clamp(14px, 3.5vw, 20px);
    }

    .festival-title {
        width: 100%;
        line-height: 0.95;
    }

    .title-light {
        /* On force le texte à grandir très vite par rapport à la largeur de l'écran */
        font-size: clamp(28px, 9vw, 60px); 
        letter-spacing: 0.05em;
    }

    .title-bold {
        /* 16vw permet à "7 COLLINES" de frôler les bords (les 5vw de padding) */
        font-size: clamp(45px, 16vw, 120px); 
    }

    .festival-infos {
        align-items: center;
        text-align: center;
        /* On élargit à 95% pour laisser la place au texte beaucoup plus gros */
        width: 95%; 
        max-width: none; /* On retire la limite de 400px */
        margin-bottom: 10px; 
        
        -webkit-text-stroke: 1px rgba(0, 0, 0, 0.4);
        text-shadow: 
            0px 2px 4px rgba(0,0,0,0.8), 
            0px 4px 20px rgba(0,0,0,0.6);
    }

    .city-name {
        /* Anciennes valeurs : 26px, 8vw, 45px -> Nouvelles valeurs (+50%) */
        font-size: clamp(29px, 12vw, 39px); 
        line-height: 1.1; 
        text-wrap: nowrap;
    }

    .event-dates {
        /* Anciennes valeurs : 16px, 4.5vw, 26px -> Nouvelles valeurs (+50%) */
        font-size: clamp(24px, 6.8vw, 39px); 
        margin-top: 8px;
        margin-bottom: 30px;
    }
}

/* --- BOUTON ÉDITION PRÉCÉDENTE --- */
.btn-edition-precedente {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #CC0066;
    color: #ffffff !important;
    text-decoration: none; /* Enlève le soulignement du lien */
    padding: 8px 15px; /* Espace autour du texte (Haut/Bas  Gauche/Droite) */
    font-weight: 400;
    font-size: clamp(12px, 1.5vw, 16px); /* Reste lisible mais discret */
    z-index: 20; /* S'assure qu'il passe au-dessus du reste pour être cliquable */
    
    /* Petits bonus esthétiques (optionnels) */
    border-radius: 0px; /* Coins très légèrement arrondis */
    transition: background-color 0.3s ease; /* Animation fluide au survol */
}

/* Effet au survol de la souris (Bureau) */
.btn-edition-precedente:hover {
    background-color: #99004D; /* Un rose/magenta légèrement plus foncé */
}


#mention {
  z-index: 999;
  position: fixed;
  padding: 20px;
  font-size: 13px;
  color: #fff;
  text-align:center;
  width: 100%;
}

#footer {
  position: fixed;
  left: 0;
  bottom: -25px;
  width: 100%;
  text-align: center;
  padding: 25px;
} 

@media only screen and (max-width: 767px) {
  #footer { display: none; }
}

@media only screen and (min-width: 768px) {
  body {
    background-color: #54B1D9;
    overflow:hidden;
  }
}



@media only screen and (max-width: 767px) and (orientation: portrait) {
  #footer { display: none; }
  #texte-haut {
    top: 80px;
  }
  #texte-bas {
    bottom: 60px; 
  }  
}


.container {
  width: 100%;
}
#footer .container {
  width: max-content;
}

.container .sixteen.columns {
  width: 100%;
}      

#header {
  display: none;
}
#slider {
  width: 100%;
}
#wrapper {
  padding: 0;
  background-color: transparent;
}
#navigation {
  border: 0;
  background-color: transparent;
  /*width: 600px;*/
  float: right;
  margin-top: 10px;
  margin-right: 50px;
}
#navigation ul li.menudepth0>a {
  font-size: 16px;
  text-shadow: -1px -1px 2px #438FA8;
}
#navigation ul li a {
  color: #fff;
}      
     

#scroll-top-top {
  display: none;
}


