:root {
    --grey-fil: #333;
    --grey-fil-dark: #666;
    --grey-fil-white: #ffffff;
    --dark-bg: #1e1e1e;
}

/* --- EFFET DE CHARGEMENT (is-preload) --- */
body.is-preload *, body.is-preload *:before, body.is-preload *:after {
    animation: none !important;
    transition: none !important;
}

body {
  overflow-x: hidden;
  line-height: 1.7em;
  font-family: PT Sans;
  font-size: 0.875rem;
  font-weight: 300;
  /*background-color: #F4F1EA;*/
  color: #656565;
}

@media (min-width: 1400px) {
  .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 1200px;
  }
}

@media (max-width: 991px) {
    /* On décale tout le contenu du site vers le bas */
    body {
        padding-top: 70px !important; 
    }

    /* Si vous avez une ancre (ex: #main), on ajuste aussi le défilement 
       pour que le titre ne soit pas caché quand on clique sur un lien */
    section {
        scroll-margin-top: 70px;
    }
}
/* ==========================================================================
   HEADER ET NAVIGATION (MENU BURGER PERMANENT)
   ========================================================================== */

#header {
    background: #fff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.075);
    color: var(--grey-fil);
    font-size: 0.8em;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 10000;
    transition: background 0.4s ease, color 0.4s ease !important;
    display: block !important;
    padding: 0 !important;
}

/* État transparent ou alternatif au scroll */
#header.alt {
    box-shadow: none;
}

/* Conteneur de navigation interne */
#hornav {
    height: 100%;
    display: flex;
    align-items: center;
}

#hornav .container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important; 
    align-items: center !important;
    max-width: 100% !important;
    padding: 0 30px !important;
}

/* Logo */
.navbar-brand {
    display: block !important;
    margin: 0 !important;
}

/* ==========================================================================
   BOUTON BURGER (STABLE ET SANS EFFET LOUPE)
   ========================================================================== */

.navbar-toggler {
    width: 48px;
    height: 48px;
    position: relative !important;
    z-index: 10005;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: #ffffff !important;
    
    /* Bordure fixe */
    border: 0.5px solid var(--grey-fil) !important;
    
    /* Anti-focus permanent */
    outline: none !important;
    box-shadow: none !important;
    
    /* On ne garde que la transition de couleur et de rotation */
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* --- SUPPRESSION DU GROSSISSEMENT (HOVER/FOCUS/ACTIVE) --- */
.navbar-toggler:focus, 
.navbar-toggler:active,
.navbar-toggler:hover {
    outline: none !important;
    box-shadow: none !important;
    border-width: 0.5px !important;
    /* On force le scale à 1 pour bloquer l'effet loupe */
    transform: scale(1) !important; 
}

/* Changement de couleur au survol uniquement */
.navbar-toggler:hover {
    border-color: var(--grey-fil-dark) !important;
}

/* --- ÉTAT OUVERT (X) --- */
.navbar-toggler[aria-expanded="true"] {
    border: 0.5px solid rgba(0, 0, 0, 0.5) !important;
    /* On garde la rotation, mais sans le scale(0.9) */
    transform: rotate(180deg) !important; 
}

/* On s'assure que même ouvert et survolé, il ne grossit pas */
.navbar-toggler[aria-expanded="true"]:hover {
    transform: rotate(180deg) scale(1) !important;
}

/* --- L'ICÔNE INTERNE (IDENTIQUE) --- */
.burger-icon, 
.burger-icon::before, 
.burger-icon::after {
    width: 24px;
    height: 1.5px !important;
    background-color: var(--grey-fil-dark) !important;
    transition: all 0.3s ease-in-out;
}

.burger-icon {
    display: block;
    position: relative;
}

.burger-icon::before, 
.burger-icon::after {
    content: '';
    position: absolute;
    left: 0;
}

.burger-icon::before { top: -8px; }
.burger-icon::after { bottom: -8px; }

/* Animation Croix */
.navbar-toggler[aria-expanded="true"] .burger-icon {
    background-color: transparent !important;
}

.navbar-toggler[aria-expanded="true"] .burger-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .burger-icon::after {
    top: 0;
    transform: rotate(-45deg);
}
/* ==========================================================================
   SIDEBAR (MENU COULISSANT) - VERSION NETTOYÉE
   ========================================================================== */

.navbar-collapse {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    display: block !important;
    z-index: 10002;
    padding: 100px 20px 20px 20px !important;
    
    /* Design & Flou */
    background: rgba(255, 255, 255, 0.97) !important;
    backdrop-filter: blur(8px);
    border-left: 1px solid rgba(0,0,0,0.05);
    box-shadow: -15px 0 40px rgba(0,0,0,0.03);
    
    /* Animation Rebond */
    transition: right 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55) !important;
}

.navbar-collapse.show {
    right: 0;
}

/* Voile léger cliquable pour fermer */
.navbar-collapse.show::before {
    content: "";
    position: fixed;
    top: 0;
    left: -100vw;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.05);
    cursor: pointer;
}

/* --- Navigation & Liens --- */
.navbar-nav {
    flex-direction: column !important;
    margin-top: 20px;
}

/* Animation Cascade (Entrée des liens) */
.navbar-nav .nav-item {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.navbar-collapse.show .nav-item {
    opacity: 1;
    transform: translateX(0);
}

/* Délais Cascade */
.navbar-collapse.show .nav-item:nth-child(1) { transition-delay: 0.1s; }
.navbar-collapse.show .nav-item:nth-child(2) { transition-delay: 0.2s; }
.navbar-collapse.show .nav-item:nth-child(3) { transition-delay: 0.3s; }
.navbar-collapse.show .nav-item:nth-child(4) { transition-delay: 0.4s; }
.navbar-collapse.show .nav-item:nth-child(5) { transition-delay: 0.5s; }
.navbar-collapse.show .nav-item:nth-child(6) { transition-delay: 0.6s; }

/* Style commun Liens & Dropdowns */
.nav-link, 
.dropdown-toggle {
    color: var(--grey-fil) !important;
    text-transform: uppercase;
    font-size: 0.9375rem;
    font-weight: 600 !important;
    letter-spacing: 0.15em;
    padding: 15px 0 !important;
    position: relative;
    display: inline-block !important;
    width: fit-content;
    border: none !important;
    transition: color 0.3s ease;
}

/* Le Trait de surlignage (Unifié) */
.nav-link::after,
.dropdown-toggle::after {
    content: '' !important;
    display: block !important;
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--grey-fil-dark);
    opacity: 0.6;
    transition: width 0.4s ease-in-out;
}

/* Activation du trait */
.nav-link:hover::after, 
.nav-link.active::after,
.dropdown-toggle:hover::after,
.show > .dropdown-toggle::after {
    width: 100%;
}

/* Suppression flèche Bootstrap */
.dropdown-toggle::after {
    border: none !important; /* Supprime le triangle */
}

/* --- Sous-menus (Dropdowns) --- */
.dropdown-menu {
    position: static !important;
    float: none;
    background: #f9f9f9 !important;
    border: none;
    padding-left: 15px;
    margin: 0;
    box-shadow: none !important;
}

.dropdown-item {
    color: var(--grey-fil) !important;
    font-size: 0.85em;
    padding: 10px 15px;
    text-transform: uppercase;
    border-left: 1px solid #eee !important;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    padding-left: 25px;
    background: transparent !important;
    color: var(--grey-fil-dark) !important;
    border-left: 1px solid var(--grey-fil-dark) !important;
}

/* banner slide */
#banner {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    /* On s'assure que Swiper gère l'opacité */
    display: flex !important; 
	background-position: 50% 50% !important;
}

/* Cas particulier du personnage jaune */
.swiper-slide[style*="pers_jaune.png"] {
    background-size: auto 380px !important;
    background-position: 50% calc(100% + 50px) !important;
}

/* Force la pagination à être visible au-dessus du fondu */
.swiper-pagination {
    z-index: 10;
}
@keyframes kenburns {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.08); /* Zoom très léger de 8% */
    }
}

/* Personnalisation des flèches pour qu'elles soient plus discrètes */
.swiper-button-next, .swiper-button-prev {
    color: rgba(255, 255, 255, 0.5) !important;
    transition: color 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    color: #DFD1B4 !important; /* Votre couleur de logo au survol */
}

/* On s'assure que la pagination est bien visible */
.swiper-pagination-bullet-active {
    background: #DFD1B4 !important;
}
/* Ajustements pour les écrans mobiles */
@media (max-width: 767px) {
    #banner {
        height: 280px !important;
    }
    .swiper-slide[style*="pers_jaune.png"] {
        background-size: auto 250px !important;
        background-position: 50% calc(100% + 30px) !important;
    }
}

/* ==========================================================================
   3. COMPOSANTS ET SIDEBAR
   ========================================================================== */

/* État normal du bouton */
.btn-primary {
  color: #ffffff;
  background-color: var(--grey-fil);
  /* Un seul border ici, ajustez l'épaisseur au besoin */
  border: 2px solid var(--grey-fil) !important; 
  
  /* Réduction du bouton */
  padding: 6px 16px;          /* Réduit (Haut/Bas Gauche/Droite) */
  font-size: 0.9rem;          /* Plus petit que 1.1rem */
  
  /* Arrondi plus prononcé */
  /* border-radius: 30px;*/        /* Utilisez 8px pour un arrondi modéré, 30px pour un effet pilule */
  
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;      /* Assure que le padding s'applique correctement */
}

/* État au survol (Hover) */
.btn-primary:hover {
  background-color: var(--grey-fil-dark);
  border-color: var(--grey-fil);
   color: #ffffff; /* Évite que le texte change de couleur selon les thèmes */
}

/* État au clic et focus */
.btn-primary:active, .btn-primary:focus {
  background-color: var(--grey-fil) !important;
  outline: none;
}

.custom-btn-xs {
    padding: 0.25rem 0.5rem; /* Réduit l'espace interne */
    font-size: 0.75rem;      /* Réduit la taille du texte */
    line-height: 1.2;
    border-radius: 0.2rem;
}

.btn:hover i.fa-arrow-right {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}
/* Alignement vertical de l'icône FontAwesome */
.btn i {
    vertical-align: middle;
    margin-left: 8px; /* Équivalent à ms-2 */
}

#btn-back-to-top {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    
    /* Centrage Flexbox */
    display: flex !important;
    align-items: center;
    justify-content: center;

    /* Correction spécifique pour Font Awesome */
    padding: 0; /* Supprime les paddings par défaut des boutons */
    line-height: 0; /* Évite les décalages dus à la hauteur de ligne du texte */
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    
    background-color: var(--grey-fil);
    color: white;
    border: none;
    cursor: pointer;
}

/* Force l'icône à ne pas avoir de marges */
#btn-back-to-top i {
    margin: 0;
    padding: 0;
    font-size: 20px; /* Ajustez la taille selon votre besoin */
}

/* Classe activée par le JS */
#btn-back-to-top.show-fluid {
    opacity: 1 !important;
    visibility: visible !important;
}

#btn-back-to-top:hover {
    background-color: var(--grey-fil-dark);
}

@media (max-width: 576px) {
    /* On descend un peu le bouton sur mobile pour ne pas gêner la navigation */
    #btn-back-to-top {
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    /* On peut aussi cacher la barre sociale sur très petits écrans si besoin */
    .social-sidebar-area {
        display: none;
    }
}


/* Style pour la vidéo responsive */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
}
.video-container iframe {
    width: 100%;
    height: 100%;
}
.hr-custom {
    border: none;
    height: 1px;
    background-color: #212529; /* Couleur foncée */
    opacity: 0.8;
    margin: 2rem 0;
}
/*-----------------------------------------------------------------------------------*/
/* Typo */
/*-----------------------------------------------------------------------------------*/
h1 {
  font-size: 2em;
}
h2 {
  font-weight: 300;
  line-height: 1em;
  margin: 0 0 10px;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
  font-weight: 300;
  padding: 0;
  font-family: 'Roboto Condensed', sans-serif;
  margin: 0;
}
h3.title {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
  margin-bottom: 15px;
}
h4 {
  font-size: 1.125rem;
  font-weight: 300;
  margin-bottom: 10px;
  line-height: 1.6;
}
h5 {
  font-size: 1.1em;
}
h6 {
  font-size: 1em;
}
a {
  text-decoration: none;
  color: #72968f;
  -webkit-transition: color 0.15s ease-in;
  -moz-transition: color 0.15s ease-in;
  -o-transition: color 0.15s ease-in;
  transition: color 0.15s ease-in;
}
a:hover {
  text-decoration: none;
}
a:focus,
li:focus {
  outline: 0;
}
p {
  margin-bottom: 16px;
  text-align: justify;
}
hr {
  background: url("../img/hr.png") no-repeat scroll 50% 0 transparent;
  border: medium none;
  height: 19px;
  margin: 0px 0 10px;
}

.pt-5-only {
    padding-top: 3rem !important;
    padding-bottom: 0 !important;
}


.text-red {
  color: var(--grey-fil);
}

/* ==========================================================================
   5. Section
   ========================================================================== */
/* about */
.about-section {
  scroll-margin-top: 150px; /* Ajustez selon la hauteur de votre menu */
}

/* intro */
.intro-section {
  scroll-margin-top: 150px; /* Ajustez selon la hauteur de votre menu */
  padding: 5rem 0;
}
.intro-content span {
  width: 30px;
  height: 2px;
  background-color: #bebebe;
  margin: 0 auto 30px;
  display: block;
}
.img-wrapper {
    width: 100%;
    height: 300px; /* Définissez ici la hauteur maximale souhaitée */
    overflow: hidden; /* Coupe ce qui dépasse */
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-cover-custom {
    width: 100%;
    height: 100%;
    object-fit: cover;    /* C'est la clé pour l'effet "cover" */
    object-position: center; /* Centre l'image dans le cadre */
}


/* projects */
.projects-section .row {
    display: flex !important; /* Force le comportement en ligne */
    flex-wrap: wrap; 
    margin-right: -15px;
    margin-left: -15px;
}

.img-portrait {
    width: 100%;
    /* On fixe une hauteur max raisonnable */
    max-height: 500px; 
    /* L'image garde ses proportions sans s'étaler */
    object-fit: cover;
    object-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Petit effet bonus pour le relief */
}

/* On s'assure que la section ne rajoute pas trop de padding interne */
.projects-section {
    padding: 3rem 0 !important; 
}

/* CTA */

	#cta {
		background-color: #000000;
		color: #fff;
		padding: 3em;
		text-align: left;
	}

		#cta header {
			margin-bottom: 2em;
		}

/* spectacles */
/* 1. Le parent : on change l'alignement */
.img-spectacles {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex; 
    /* Aligne en bas à gauche */
    align-items: flex-end;    /* Aligne verticalement en bas */
    justify-content: flex-start; /* Aligne horizontalement à gauche */
}

/* 2. Le bloc de texte : on retire width 100% pour qu'il soit compact */
.overlay-text {
    position: absolute;
    z-index: 2;
    text-align: left;        /* Texte aligné à gauche */
    pointer-events: none;
    padding: 20px;           /* Espace entre le texte et les bords de l'image */
}

.title-on-image {
    color: white !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin: 0 0 2px 0;       /* Espace très fin sous le titre */
    font-weight: 700;
    font-size: 1.5rem;       /* Ajustez selon besoin */
}

.subtitle-on-image {
    color: white !important;
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.8);
    margin: 0;
    display: block;          /* Force le passage à la ligne */
}

.img-spectacles-cover-custom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: brightness(0.6);
    transition: filter 0.3s ease;
}

.img-spectacles-cover-custom {
    filter: brightness(0.7); /* Assombrit l'image à 70% pour faire ressortir le blanc du titre */
    transition: filter 0.3s ease;
}

.img-spectacles:hover .img-spectacles-cover-custom {
    filter: brightness(1); /* L'image s'éclaire au survol */
}


/* timeline
---------------------------------*/

.timeline-section .row {
    display: flex !important; /* Force le comportement en ligne */
    flex-wrap: wrap; 
    margin-right: -15px;
    margin-left: -15px;
}
/* On s'assure que la section ne rajoute pas trop de padding interne */
.timeline-section {
    padding: 3rem 0 !important; 
}

.histoire {
  position: relative;
  padding: 0;
  list-style: none;
}
.histoire:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: "";
  background-color: var(--grey-fil);
}
.histoire > li {
  position: relative;
  min-height: 20px;
  margin-bottom: 20px;
}
.histoire > li:after, .histoire > li:before {
  display: table;
  content: " ";
}
.histoire > li:after {
  clear: both;
}
.histoire > li .histoire-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: justify;
}
.histoire > li .histoire-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}
.histoire > li .histoire-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.histoire > li .histoire-panel .title-left {
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
  margin-bottom: 15px;
}
.histoire > li .histoire-panel .title-right {
  text-align: right;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
  margin-bottom: 15px;
}

.histoire > li .histoire-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: var(--grey-fil-white);
  border: 7px solid var(--grey-fil-dark);
  border-radius: 100%;
  background-color: var(--grey-fil);
}

.histoire > li .histoire-image h4, .histoire > li .histoire-image .h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
}


.histoire > li.histoire-inverted > .histoire-panel {
  float: right;
/*  padding: 0 20px 0 20px;*/
  text-align: justify;
}

.histoire > li.histoire-inverted > .histoire-panel:before {
  right: auto;
  left: -25px;
  border-right-width: 15px;
  border-left-width: 0;
}
.histoire > li.histoire-inverted > .histoire-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}
.histoire > li:last-child {
  margin-bottom: 0;
}
.histoire .histoire-body > ul,
.histoire .histoire-body > p {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .histoire:before {
    left: 50%;
  }
  .histoire > li {
    min-height: 20px;
    margin-bottom: 20px;
  }
  .histoire > li .histoire-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: justify;
  }
.histoire > li .histoire-panel .title-left {
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
  margin-bottom: 15px;
}
.histoire > li .histoire-panel .title-right {
  text-align: right;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
  margin-bottom: 15px;
}

  .histoire > li .histoire-image {
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
  }
  .histoire > li .histoire-image h4, .histoire > li .histoire-image .h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }
  .histoire > li.histoire-inverted > .histoire-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: justify;
  }
}
@media (min-width: 992px) {
  .histoire > li {
    min-height: 20px;
  }
  .histoire > li .histoire-panel {
    padding: 0 20px 20px;
  }
.histoire > li .histoire-panel .title-left {
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
  margin-bottom: 15px;
}
.histoire > li .histoire-panel .title-right {
  text-align: right;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
  margin-bottom: 15px;
}
  .histoire > li .histoire-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }
  .histoire > li .histoire-image h4, .histoire > li .histoire-image .h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }
  .histoire > li.histoire-inverted > .histoire-panel {
    padding: 0 20px 20px;
  }
}
@media (min-width: 1200px) {
  .histoire > li {
    min-height: 20px;
  }
  .histoire > li .histoire-panel {
    padding: 0 20px 20px 20px;
  }

.histoire > li .histoire-panel .title-left {
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
  margin-bottom: 15px;
}
.histoire > li .histoire-panel .title-right {
  text-align: right;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
  margin-bottom: 15px;
}	
	.histoire > li .histoire-image {
    width: 100px;
    height: 100px;
    margin-left: -50px;
  }
  .histoire > li .histoire-image h4, .histoire > li .histoire-image .h4 {
    margin-top: 20px;
  }
  .histoire > li.histoire-inverted > .histoire-panel {
    padding: 0 20px 20px 20px;
  }
}

@media (max-width: 992px) {
  .histoire > li .histoire-panel .title-left {
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
  margin-bottom: 15px;
  }
  .histoire > li .histoire-panel .title-right {
  text-align: left;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 5px;
  margin-bottom: 15px;
  }
}



/* --- AGENDA  --- */

/* Conteneur de la carte */
.event-card-fil {
    background: #fff;
    border: 1px solid var(--grey-fil-dark);
    transition: all 0.3s ease;
    overflow: hidden;
}


/* Bloc Date */
.date-box {
    background-color: var(--grey-fil);
    min-height: 100px;
}

.date-box .day {
    font-size: 1.8rem;
    line-height: 1;
}

.date-box .month {
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Image adaptée à votre style .img-cover-custom */
.img-agenda-custom {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.filter-item {
    transition: opacity 0.4s ease-in-out;
}

.filter-controls .btn.active {
    background-color: var(--grey-fil);
    color: white;
    border-color: var(--grey-fil);
}

.filter-controls {
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Espace régulier entre les boutons sans utiliser mx-1 */
}

.filter-controls .btn {
    margin-left: 0 !important; /* Force l'alignement à gauche */
    /* On réutilise votre style existant pour la cohérence */
    text-transform: uppercase;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Ajustements Responsive */
@media (max-width: 767px) {
    .date-box {
        min-height: 80px;
    }
    .event-card-fil h3.title {
        font-size: 1.1rem;
    }
}

.city-name {
    color: var(--grey-fil); /* Utilise votre gris foncé */
    font-weight: 700;       /* Met en gras */
    text-transform: uppercase; /* Met en majuscules pour le style "Agenda" */
    letter-spacing: 1px;    /* Espace légèrement les lettres pour l'élégance */
    font-family: 'Roboto Condensed', sans-serif; /* Pour rester sur votre police de titres */
}

.date-separator {
    width: 30%;               /* Ligne courte */
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3); /* Blanc semi-transparent */
    margin: 8px 0;            /* Espace au dessus et en dessous */
}

/* Optionnel : Ajuster la taille de l'heure pour qu'elle soit bien lisible */
.date-box .month:last-child {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/*-----------------------------------------------------------------------------------*/
/* Footer */
/*-----------------------------------------------------------------------------------*/
	#footer {
		background-color: #000000;
		color: #fff;
		text-align: center;
	}

.base {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.5);
}
.base .container {
}
.base h3 {
  color: #FFFFFF;
  text-shadow: none;
  opacity: 0.8;
}
.base input,
.base button,
.base select,
.base textarea {
  color: #fff;
}
.base input {
  background: none repeat scroll 0 0 rgba(45, 55, 70, 0.15);
  border: 1px solid;
  border-color: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1) inset;
  color: #fff;
  padding: 4px 12px;
}
.base input:focus {
  border-color: rgba(255, 255, 255, 0.4);
}


.footer a {
    text-decoration: none !important;
    color: var(--grey-fil-dark) !important;
    transition: color 0.15s ease-in;
}

/* État au survol */
.footer a:hover {
    color: var(--grey-fil-dark) !important;
    text-decoration: none !important;
}

.footer-img {
	filter: invert(100%);
	margin-top: 25px; /* Ajustez cette valeur à votre convenance */
    transition: transform 0.3s ease; /* Optionnel : pour un effet fluide si vous ajoutez un hover */
}
/* Copyright */
#copyright p {
  padding: 0;
  margin: 0;
}

.copyright a {
    text-decoration: none !important;
    color: var(--grey-fil) !important;
    transition: color 0.15s ease-in;
}

/* État au survol */
.copyright a:hover {
    color: var(--grey-fil-dark) !important;
    text-decoration: none !important;
}


/* ==========================================================================
   SOCIAL
   ========================================================================== */
.social-sidebar-area {
    position: fixed !important; 
    bottom: 0;                   /* On le plaque en bas */
    left: 0;                    
    top: auto !important;        /* On annule le centrage vertical précédent */
    z-index: 9999;              
    transition: all 0.3s ease;
}

.social-info-area {
    display: flex;
    /* Rotation pour écrire à la verticale */
    transform: rotate(-90deg);
    transform-origin: left bottom; 
    position: absolute;
    
    /* POSITIONNEMENT PRÉCIS EN BAS À GAUCHE */
    /* bottom: 20px décolle le texte du bord bas de l'écran */
    /* left: 40px décolle le texte du bord gauche de l'écran */
    bottom: 20px; 
    left: 40px;   
    
    align-items: center;
    gap: 20px;     /* Espace entre les réseaux sociaux */
    white-space: nowrap;
}

.social-info-area a {
    display: flex !important;
    align-items: center;
    white-space: nowrap;
    gap: 8px;      
    text-transform: uppercase;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 5px;
    color: var(--grey-fil);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-info-area a:hover {
    color: var(--grey-fil-dark) !important;
}

/* On remet l'icône droite car la rotation du parent l'a couchée */
.social-info-area a i {
    transform: rotate(90deg); 
    width: 15px;
    text-align: center;

}

/* icon social site */

.hover-opacity:hover {
    color: var(--grey-fil-dark) !important;
}

/* Si vous voulez des icônes circulaires stylisées */
.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary-dark);
    text-decoration: none;
}

@media (max-width: 576px) {
    /* On peut aussi cacher la barre sociale sur très petits écrans si besoin */
    .social-sidebar-area {
        display: none;
    }
}

/*-----------------------------------------------------------------------------------*/
/* back-to-top */
/*-----------------------------------------------------------------------------------*/

#btn-back-to-top {
    position: fixed !important;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex !important; /* Pour centrer l'icône */
    align-items: center;
    justify-content: center;
    
    /* Transition fluide */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.3s ease;
    
    background-color: var(--grey-fil);
    color: white;
    border: none;
    cursor: pointer;
}

/* Classe activée par le JS */
#btn-back-to-top.show-fluid {
    opacity: 1 !important;
    visibility: visible !important;
}

#btn-back-to-top:hover {
    background-color: var(--grey-fil-dark);
}

@media (max-width: 576px) {
    /* On descend un peu le bouton sur mobile pour ne pas gêner la navigation */
    #btn-back-to-top {
        bottom: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
    }
    
    /* On peut aussi cacher la barre sociale sur très petits écrans si besoin */
    .social-sidebar-area {
        display: none;
    }
}

/*-----------------------------------------------------------------------------------*/
/* glightbox */
/*-----------------------------------------------------------------------------------*/
/* Empêche le saut de page sur mobile à l'ouverture/fermeture */
.glightbox-open {
    overflow: visible !important; /* Garde le scroll actif en arrière-plan */
    height: auto !important;
    width: auto !important;
    position: static !important;
}

/* Évite les conflits avec le header sticky */
body.glightbox-open #sticky-content {
    z-index: 1000 !important; /* Assure que le header reste sous la lightbox */
}

.glightbox img {
    cursor: zoom-in;
    transition: opacity 0.3s ease;
}

.glightbox:hover img {
    opacity: 0.8;
}





/* Vos styles très spécifiques pour très petits téléphones (iPhone SE, etc.) */
@media (max-width: 440px) {
    /* Uniquement ce qui ne peut pas être fait avec les classes Bootstrap */
    .navbar-brand img {
        max-height: 50px !important; /* On réduit un peu si l'écran est minuscule */
    }
}


/*-----------------------------------------------------------------------------------*/
/* Carousel index */
/*-----------------------------------------------------------------------------------*/
/* 1. On retire le padding du container pour que l'image touche les bords */
.carousel-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 2. On s'assure que la row ne crée pas de décalage */
.carousel-container .row.g-0 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* Limite la hauteur du carrousel */
.carousel-inner {
    max-height: 300px;
}

.carousel-item .overlay-text {
    bottom: 20px; /* Aligne bien le texte avec le bas du carrousel */
    left: 20px;
    max-width: 80%; /* Évite que le texte ne touche les flèches à droite */
}

/* Force l'image à s'adapter à la hauteur sans s'écraser */
.carousel-item img {
    height: 300px;
    object-fit: cover; /* Recadre l'image proprement pour remplir les 300px */
    object-position: center; /* Centre le recadrage */
}

/* 3. On force l'image à être à 100% de ce nouvel espace */
/*
#carousel-example .carousel-inner img {
    width: 100% !important;
    display: block;
}
*/

/* Retire l'arrondi sur le conteneur principal */
#carousel-example {
    border-radius: 0 !important;
}

/* Retire l'arrondi sur le cadre qui contient les images */
#carousel-example .carousel-inner {
    border-radius: 0 !important;
}

/* Retire l'arrondi directement sur les images (écrase la classe .rounded de Bootstrap) */
#carousel-example .carousel-inner img {
    border-radius: 0 !important;
}

#carousel-example .carousel-indicators [data-bs-target] {
    background-color: var(--red-fil) !important;
}

.carousel-control {
  background-image: none !important;
  background: rgba(255, 255, 255, 0.4);
  width: 34px;
  border-radius: 50px;
  font-size: 1rem !important;
  height: 34px;
  margin-top: -20px;
  top: 50%;
  text-shadow: none;
  opacity: 1;
}
.carousel-control:focus {
  opacity: 0.5;
}
.carousel-control.left span,
.carousel-control.icon-prev span,
.carousel-control.right span,
.carousel-control.icon-next span {
  font-size: 1.25rem;
  margin-top: -10px;
  color: rgba(0, 0, 0, 0.6);
}
.carousel-control.left,
.carousel-control.icon-prev {
  left: 20px;
}
.carousel-control.right,
.carousel-control.icon-next {
  right: 20px;
}
.carousel-indicators {
  bottom: 0;
  right: 30px;
}
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
  right: auto;
}
.carousel.alternative {
  margin-bottom: 30px;
  padding: 0 40px 0px 40px;
  margin-top: 30px;
  /* Changes the position of the indicators */
  /* Changes the colour of the indicators */
}
.carousel.alternative img {
  padding: 4px;
  background: #ebebeb;
  box-shadow: 0 0 1px #b3b3b3;
}
.carousel.alternative .carousel-control.left,
.carousel.alternative .carousel-control.right {
  background-image: none !important;
  background-color: transparent;
}
.carousel.alternative .carousel-control.left span,
.carousel.alternative .carousel-control.right span {
  font-size: 1.125rem;
  background: #b3b3b3;
  border-radius: 50%;
  padding: 5px;
}
.carousel.alternative .carousel-control.left {
  left: -12px;
}
.carousel.alternative .carousel-control.right {
  right: -12px !important;
}
.carousel.alternative .carousel-indicators {
  right: 50%;
  top: auto;
  bottom: -35px;
  margin-right: -19px;
}
.carousel.alternative .carousel-indicators li {
  background: #ebebeb;
}
.carousel.alternative .carousel-indicators .active {
  background: #b3b3b3;
}


/*carousel pages spectacles */
/* :: 8.0 Follow Instagram Area CSS */



.follow-me-title h5 {
    margin: 30px 0;
    font-size: 18px;
}

.single-instagram-feeds a {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 34, 34, 0.7);
    top: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    color: #fff;
    font-size: 30px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    opacity: 0;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    -webkit-transition-duration: 500ms;
    transition-duration: 500ms;
}

.single-instagram-feeds:hover a {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}


/* On s'assure que le conteneur prend toute la largeur */
.instagram-slider {
    width: 100%;
    overflow: hidden;
}

/* Optionnel : Format carré parfait */
/* Si vous voulez que les images soient toujours carrées peu importe l'écran */
.instagram-slider .swiper-slide {
    aspect-ratio: 1 / 1; /* Force un ratio 1:1 (carré) */
}
.instagram-slider .swiper-slide img {
    height: 100%; /* L'image prend toute la hauteur du carré */
}
/* On garde votre style de hover existant, mais on précise le positionnement relatif */
.single-instagram-feeds {
    position: relative;
    overflow: hidden;
}

.single-instagram-feeds img {
width: 100%;
    height: 100px; /* Ajustez cette valeur selon vos besoins (ex: 250px ou 400px) */
    object-fit: cover; /* Recadre l'image pour remplir le cadre sans la déformer */
    object-position: center; /* Centre le recadrage */
    display: block;
}


