/* ================================
   VARIABLES GLOBALES
================================ */
:root{
  --brand:#2f5d50;   /* vert principal */
  --rose:#fde8ec;
  --ink:#1c1f1e;
  --hero-title:#ffffff; /* couleur du titre sur la photo (hero) */
}

/* ================================
   BASE
================================ */
html{
  scroll-behavior:smooth;
}
.ita{
  font-style: italic;
}

body{
  font-family:Raleway,Arial,sans-serif;
  color:var(--ink);
  background:#fff;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  margin:0;
  overflow-x:hidden;
}

h1,h2,h3,h4{
  font-family:inherit;      /* Raleway comme le reste */
  line-height:1.1;
  color:var(--brand);       /* tous les titres en vert */
}

/* Sections génériques (toutes les pages) */
section{
  padding:0rem 2rem;
  max-width:1100px;
  margin:0 auto;
}

.section-title{
  text-align:center;
  color:var(--brand);
  margin-bottom:1.5rem;
}

p {
  margin-top: 0;
  line-height: 1.4rem;
}
.section-compact{
  /*padding: 2rem 2rem;   au lieu des 4rem par défaut */
  text-align: center;
}



/* ================================
   NAVIGATION
================================ */

nav{
  /*border-bottom:5px solid var(--brand);*/
  position:fixed;
  background-color: var(--rose);
  display:flex;
  justify-content:center;
  width: 100%;
  z-index: 5;
  top: 0;
  height:100px;
  -webkit-box-shadow: 0px 5px 8px rgba(47,93,80,.2);
  box-shadow: 0px 5px 8px rgba(47,93,80,.2);
}
/* style liste menu principal */
.mainUL{
  list-style:none;
  display:flex;
  gap:1rem;
  justify-content: space-evenly;
  z-index: 3;
  height:auto;
  font-size: 1rem;
  width: 100%;
  padding-left: 90px;

}
#contactPull{
  position: fixed;
  width:auto;
  height: auto;
  font-size: 1rem;
  background-color: rgba(0,0,0,0.7);
  right:-200px;
  align-content: start;
  padding:10px;
  padding-left:15px;
  padding-right: 25px;
  border-radius: 5px;
  transition: 0.3s ease-in-out;
  z-index: 15;
  bottom: 10px;
}
#contactPull a{
  color: white;
  text-decoration:none;
  cursor: pointer;
}
#contactPull:hover{
  padding-right:35px;
  transition: 0.1s ease-in-out;
}
img.topLogo{
  top:0;
  height:80px;
  width:auto;
  margin:10px;
  position: fixed;
  z-index: 8;
 }

/* style item menu principal */
nav li{
  position:relative;
}

/*Contenu textuel menu principal */
nav a{
  text-decoration:none;
  color:var(--brand);
  position:relative;
  padding-bottom:3px;
  font-weight:800;
  cursor:pointer;
}

nav a.active::after{
  content:'';
  position:absolute;
  bottom:-3px;
  left:0;
  width:100%;
  height:2px;
  background:var(--brand);
}

/* sous-menus */
.sousmenu{
  display:block;
  visibility: hidden;
  position:absolute;
  background:#fff;
  list-style:none;
  border:1px solid #ddd;
  border-radius:8px;
  padding:.5rem 1rem;
  top:3rem;
  left:0;
  min-width:200px;
  z-index:50;
  opacity: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

nav li:hover > .sousmenu{
  visibility: visible;
  opacity: 1;
}

nav ul ul li{
  display:block;
  padding:.35rem 0;
}
.infoYear ul{
  padding: 0;
  margin:0;
  height:12rem;
}
ul li{
  list-style:none;
}

/* ================================
   HERO (image en haut de page)
================================ */
.hero{
  position:relative;
  background-size:cover;
  background-position: center;
  color:white;
  text-align:center;
  padding-bottom:30rem;
  overflow:hidden;
  border-radius:12px;
  height:fit-content;
  margin-top:90px;
}
/*
.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.5);
  z-index:1;
}*/
.index-hero-title {
  position:relative;
  text-align: center;
  top:2rem;
  margin:0;
  z-index:2;
  font-family:inherit;
  font-size:2.4rem;
  letter-spacing:0.3rem;
  color:var(--hero-title);
  text-shadow:0 1px 4px rgba(0,0,0,0.5);
}
/* ================================
   BLOCS "DATE / LIEU / GPS"
   (page infos pratiques)
================================ */

/* Deux cartes côte à côte */
.info-duo{
  display:flex;
  flex-wrap:wrap;
  gap:2rem;
  justify-content:space-between;
  max-width:1100px;
  margin:0 auto 1.5rem;
  padding:1.5rem 2rem 0.5rem;
}
.info-card{
  flex:1 1 0;
  min-width:260px;
  background:#fff;
  border-radius:12px;
  box-shadow:0 6px 24px rgba(0,0,0,0.06);
  padding:2rem;
  text-align:center;
  font-family:inherit;
}

.info-card p{
  color:#4f5854;
  font-size:1.05rem;
  line-height:1.6;
  margin-top:1rem;
}
/* CARTE VISITE / CONTACT */

/* Rectangle GPS + note pluie */
.info-extra{
  max-width:1100px;
  margin:0 auto 0;
  padding:0 2rem;
  text-align:center;
}

/* Style commun à toutes les "cartes horaires" + GPS */
.schedule-card{
  background:#fff;
  border-radius:12px;
  box-shadow:0 6px 24px rgba(0,0,0,0.06);
  padding:1.5rem 2rem;
  margin:1rem auto;
  width:100%;
  max-width:1100px;
  font-family:inherit;
  text-align: center;
}

/* Carte GPS spécifique */
.gps-card strong{
  display:block;
  margin-bottom:0.4rem;
  font-weight:600;
  color:var(--brand);
}

/* Note en italique sous le rectangle GPS */
.info-note{
  font-size:.8rem;
  color:#4f5854;
  font-style:italic;
}

/* Bloc TARIFS sans rectangle */
.tarifs-card{
  background: transparent;      /* plus de rectangle blanc */
  box-shadow: none;             /* plus d’ombre */
  padding: 0;                   /* plus de padding de carte */
  margin: 0.5rem auto 0;
  width: 100%;
  max-width: 1100px;
  text-align: center;           /* tout centré */
}

/* Titre Tarifs : plus petit + même couleur que 18h00 (ink) */
.tarifs-card h2{
  font-size: 1.3rem; /* plus petit */
  margin-bottom: 0.4rem;          /* plus petit que les autres titres */
  color: var(--ink);            /* même couleur que le texte/18h00 */
  margin-bottom: 0.5rem;
  font-family: inherit;
}

/* Texte sous Tarifs */
.tarifs-card p{
  font-family: inherit;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink);            /* même gris foncé que le reste */
  margin: 0;
}



/* ================================
   COMPAGNIE
================================ */
#compagniecard{
}

.compagnie-wrap{
  margin-top:10vh;

}

.compagnie{
  max-width: 500px;
  margin:1rem auto;
  background:#fff;
  border-radius:18px;
  box-shadow:0 6px 24px rgba(0,0,0,.1);
  overflow: hidden;
  background-size: cover;
}

.compagnie .image{
  width:100%;
  overflow: hidden;
}



.compagnie .texte{
  position: relative;
  text-align:center;
  top:0;
  width:100%;
  padding: 2rem;
  z-index: 2;
  background-color: var(--hero-title) ;
}
.texteCompagnie{
  z-index: 2;  
  padding: 2rem;
  text-align:center;
}

.image img {
}
.compagnie h3{
  text-align:center;
  color:var(--brand);
  font-size:2rem;
  margin-bottom:1rem;
}

.compagnie h3 span{
  text-transform:uppercase;
  font-size:2.4rem;
}

.compagnie p{
  color:#4f5854;
  font-size:1.05rem;
  line-height:1.6;
  margin-bottom:1rem;
}

.compagnie a.button{
  display:inline-block;
  background-color:var(--brand);
  color:#fff;
  padding:.6rem 1.1rem;
  border-radius:8px;
  text-decoration:none;
}

.hero-photo{
  position:relative;
}

/* l'image reste comme avant, on ne change pas la règle existante */
.hero-photo-text {         /* évite tout décalage */
  color: #ffffff;
  font-family:inherit;  /* même police que tes titres (Raleway) */
  text-shadow:0 3px 6px rgba(0,0,0,0.5); /* pour que ça ressorte sur le ciel */
}
.festival-title{
  font-family:inherit;
  font-weight:600;
  font-size:1.6rem;
  text-transform:uppercase;
  letter-spacing:0.25em;
  margin:0 0 0.4rem 0;
  color:#ffffff;
  text-align:left;
  text-shadow:0 1px 4px rgba(0,0,0,0.35);
  white-space:nowrap;
}


h1.hero-photo-text,
h2.hero-photo-text{
  color:#ffffff;        /* blanc */
  font-family:inherit;  /* même police que tes titres (Raleway) */
  text-shadow:0 3px 6px rgba(0,0,0,0.5); /* pour que ça ressorte sur le ciel */
}

h1.hero-photo-text{
  font-size:2.4rem;
  letter-spacing:0.2em;
}
h2.hero-photo-text{
  margin-top:2rem;
  font-size:1rem;
  letter-spacing:0.25em;
}
.offsetplusplus{
  transform: translateY(100%);
}
.offsetplus{
  transform: translateY(50%);
}
.offsetminusminus{
  transform: translateY(-100%);
}
.offsetminus{
  transform: translateY(-50%);
}

/* ================================
   FESTIVAL
================================ */


.festival-presentation{
  padding-top: 0;                 /* évite un gros blanc au-dessus du hero */
}


.hero-festival-presentation .festival-title{
  text-align: center;
  white-space: normal;
  font-size: 1.8rem;
  letter-spacing: 0.18em;
  margin-bottom: 0.6rem;
}


/* INTRO CENTRÉE */

.festival-intro-block{
  max-width: 800px;
  margin: 2.5rem auto 3rem;
  text-align: center;
  line-height: 1.7;
  font-size: 1.05rem;
}

.festival-intro-block p{
  margin-bottom: 0.9rem;
}

/* 3 PILIERS */

.festival-pillars{
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  max-width: 1100px;
  margin: 10vh auto 3rem;
}

.festival-pillar{
  flex: 1 1 260px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  padding: 1.6rem 1.8rem;
}

.festival-pillar h2{
  font-size: 1.4rem;
  margin-top: 0;
  margin-bottom: 0.6rem;
}


.festival-pillar p{
  color: #4f5854;
  font-size: 1.02rem;
  line-height: 1.6;
  margin-top:0.9rem;
}
.festival-pillar ul{
  line-height:1.7;
}

/* BLOCS TEXTE + PHOTO */

.festival-split{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

.festival-split-text{
  flex: 1 1 320px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #4f5854;
}

.festival-split-photo{
  flex: 1 1 320px;
  margin: 0;
}

.festival-split-photo img{
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  display: block;
}

.festival-split-reverse{
  flex-direction: row-reverse;
}

/* MOSAÏQUE DE PHOTOS */

.festival-gallery{
  max-width: 1100px;
  margin: 0 auto 3.5rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.gallery-item{
  margin: 0;
}

.gallery-item img{
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  object-fit: cover;
}

.gallery-item.large{
  grid-column: span 2;
}

/* RESPONSIVE - ADAPTATION MOBILE */

@media (max-width: 900px){
  .mainUL{
  }

  .festival-pillars{
    gap: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .festival-split,
  .festival-split-reverse{
    flex-direction: column;
    margin-bottom: 2.5rem;
  }

  .festival-split-text,
  .festival-split-photo{
    flex: 1 1 100%;
  }

  .festival-gallery{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px){
  .hero-festival-presentation .hero-photo-text{
    top: 32%;
    width: 90%;
  }

  .hero-festival-presentation .festival-title{
    font-size: 1.4rem;
    letter-spacing: 0.14em;
  }

.festival-subtitle{
  font-size: 5rem;
  letter-spacing: 0.18em;
  font-family:inherit;
  font-weight:300;
  font-size:1rem;
  color:white;
  text-align:left;
  text-shadow:0 1px 4px rgba(0,0,0,0.25);
  position: absolute;
}

.festival-intro-block{
  margin: 2rem auto 2.5rem;
  padding: 0 0.5rem;
}

.festival-gallery{
  grid-template-columns: 1fr;
}
}


.festival-intro{
  text-align:center;
  max-width:850px;
  margin:0 auto 2rem;
  line-height:1.6;
}

.dates-highlight{
  display:inline-block;
  border:2px solid var(--brand);
  color:var(--brand);
  padding:.6rem 1rem;
  border-radius:8px;
  background:var(--rose);
  margin-top:1rem;
  font-weight:600;
}

.alt-section{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:3rem;
  margin:4rem auto;
  max-width:1150px;
}

.alt-section img{
  width:45%;
  border-radius:12px;
  object-fit:cover;
  box-shadow:0 4px 18px rgba(0,0,0,.1);
}

.alt-text{
  width:45%;
  line-height:1.7;
  font-size:1.05rem;
}

.highlight-quote{
  background:var(--rose);
  border-left:4px solid var(--brand);
  padding:1rem 1.2rem;
  margin:2rem 0;
  font-style:italic;
  font-weight:600;
  text-align:center;
  border-radius:6px;
}

.hero-intro {
  position: absolute;
  top: 25%;                      
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.6;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  z-index: 2;
}
.hero-photo .festival-title{
  text-align: center;
  white-space: normal;       
  font-size: 1.8rem;         
  letter-spacing: 0.18em;
}
.hero-photo .festival-subtitle{
  text-align: center;
  white-space: nowrap;       
  font-size: 1rem;         
  letter-spacing: 0.18em;
}

.hero-festival-presentation .hero-intro{
  position: absolute;
  top: 55%;                
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ffffff;
  font-size: 1.05rem;
  line-height: 1.6;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
  z-index: 2;
}

/* ===========================================
   BANDEAU LARGE
=========================================== */


/* Texte sous le bandeau */
.festival-extra-text{
  max-width: 900px;
  margin: 1.5rem auto 3rem;
  text-align: center;
  font-size: 1.05rem;
  color: #4f5854;
  line-height: 1.7;
}

/* ===========================================
   GALERIE — 2 PHOTOS PAR LIGNE (2 × 2)  
=========================================== */

.festival-gallery-v2{
  display: grid;
  grid-template-columns: repeat(2, 1fr);  
  gap: 1.5rem;
  max-width: 80vw;                        
  margin: 3rem auto;
}
.infoYear{
  width:100%;
  margin:0;
}
.overlayAffiche{
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* Full width (cover the whole page) */
  height: 100%; /* Full height (cover the whole page) */
  top: 0;
  left: 0;
  bottom: 0;
  background-color: rgba(0,0,0,0.8); /* Black background with opacity */
  z-index: 5; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
  background-size: contain;
  background-position: center;
  color: #ffffff;
  pointer-events: auto;
}
.ctc-card{
  position: fixed; /* Sit on top of the page content */
  width: 100vw; /* Full width (cover the whole page) */
  height: 100vh; /* Full height (cover the whole page) */
  top: 0;
  left:0;
  background-color: rgba(0,0,0,0.8); /* Black background with opacity */
  z-index: 5; /* Specify a stack order in case you're using a different order for other elements */
  color: #ffffff;
  align-content: center;
  display: none;

  filter: opacity(0%);
}
.ctc-card div{
}
.ctc-card div ul{
  padding-left: 25vw;
}
.ctc-card div ul li{
  cursor: pointer; /* Add a pointer on hover */
  margin-bottom: 0.5rem;

  text-align: left;
}
.ctc-card div ul li a{
  color:white;
  font-size: 1rem;
  text-decoration-color:white;
  margin-right: 1rem;
}
.ctc-card div ul li a img{
  height:6vh;
}
.on{
  display:block;
  filter: opacity(100%);
  transition: opacity 5s ease-in-out;
}
.active{ 
  display:block;
}
.g-img{
  border-radius: 15px;

}
.g-item{
  border-radius: 15px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1); 
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  cursor: pointer; /* Add a pointer on hover */
  overflow: hidden;
  align-content: center;
  overflow: hidden;
}
.i-item{
  border-radius: 15px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.1); 
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  cursor: pointer; /* Add a pointer on hover */
  overflow: hidden;
  align-content: center;
  height:fit-content;
  max-height:50vh;
}
iframe{
  border-radius: 15px;
  width: 100%;
  height: 50vh;
}
.FS{
  position: fixed;
  z-index: 20;
  height:100vh;
  width:100vw;
  left:0;
  top:0;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-content: center;
  object-fit: cover;
}
.FS img{
  max-height: 100vh;
  margin:auto;
}
.g-item img{
  height:100%;
}

/* TABLETTE */
@media (max-width: 900px){

  .festival-gallery-v2{
    grid-template-columns: 1fr;
  }
  .festival-gallery-v2{
    max-width: 100%;
    gap: 1.2rem;
  }
  .ctc-card div ul{
  padding-left: 15vw;
  }
}

/* MOBILE — 1 photo par ligne */
@media (max-width: 600px){
  .g-item{
  }
  .ctc-card div ul{
  padding-left: 5vw;
}
}



/* ================================
   BOUTON / ENCADRÉ RÉSERVATION
================================ */
.resa-box{
  display:block;
  text-align:center;
  margin:2.5rem auto;
  padding:1.4rem 1.8rem;
  max-width:420px;
  background:var(--rose);
  border:2px solid var(--brand);
  border-radius:14px;
  color:var(--brand);
  font-weight:600;
  font-size:1.25rem;
  letter-spacing:0.05em;
  text-decoration:none;
  box-shadow:0 4px 14px rgba(0,0,0,0.08);
  transition:0.2s ease-out;
}
.bold{
  font weight:600;
}
.resa-box span.small{
  display:block;
  font-size:0.85rem;
  font-weight:400;
  letter-spacing:0.03em;
  margin-top:0.3rem;
  color:inherit;
}


.resa-box:hover{
  background:var(--brand);
  color:#fff;
  transform:translateY(-2px);
  box-shadow:0 6px 22px rgba(0,0,0,0.12);
}


/* ================================
   FOOTER
================================ */
footer{
  text-align:center;
  padding:2rem;
  border-top:1px solid #e9ecef;
  color:#66736f;
  margin-top:3rem;
}

/* ================================
   RESPONSIVE
================================ */
@media(max-width:900px){

  nav ul{
    justify-content:flex-start;
    gap:1.2rem;
  }

  .compagnie{
    flex-direction:column;
  }

  .alt-section{
    flex-direction:column;
  }

  .alt-section img,
  .alt-text{
    width:100%;
  }

  .info-duo{
    padding:1.5rem 1rem 0.5rem;
    margin:0 auto 0.3rem; 
  }
}
@media(max-width:600px){
  .hero{
    height:70vh;
    padding-top:0;
    padding-left:2rem;
    padding-right:2rem;
  }

  section{
    padding:3rem 1.5rem;
  }

  .info-duo{
    flex-direction:column;
  }
}
/* ===========================================
   ENCadrés roses harmonisés (bandeaux)
=========================================== */

.festival-banner{
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 1.6rem 2rem;
  background: var(--rose);
  border-left: 6px solid var(--brand);
  border-radius: 10px;
  text-align: center;
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  box-sizing: border-box;
}
.festival-rem{
  max-width: 1100px;
  margin: 2.5rem auto;
  padding: 1.6rem 2rem;
  background: var(--rose);
  border-left: 6px solid var(--brand);
  border-radius: 10px;
  text-align: center;
  color: var(--brand);
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.6;
  box-sizing: border-box;
}

@media (max-width: 600px){
  .festival-banner{
    font-size: 1.05rem;
    padding: 1.4rem 1.5rem;
  }
}

/* Logo dans le hero du festival */
.festival-hero-logo {
  width: 70px;          
  margin: 0 auto 0.8rem auto;
  display: block;
  filter: none;         
}

/* Version mobile : logo un peu plus petit */
@media(max-width: 600px){
  .festival-hero-logo {
    width: 55px;        
    margin-bottom: 0.6rem;
  }
}
