html,body{
  scroll-behavior: smooth;
  padding-top: 0;
  margin:0;
  overflow-x: hidden;
  height: auto; /* Assure une hauteur cohérente */
}


@media (min-width:1031px){
  body {
    display: flex;
    flex-direction: column;
    padding-top: 70px;
    overflow-x: hidden; /* Supprime le scroll horizontal */
  
  }
}


@media (max-width:1030px){
  body{
    padding-top:35px
  }
}
@import url('https://fonts.googleapis.com/css2?family=Advent+Pro:ital,wght@0,100..900;1,100..900&family=Dancing+ Script:wght@400..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Caveat+Brush&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');


h3, h4, h5 {
  font-weight: normal !important;
}

.majuscule {
  text-transform: uppercase;
  
    font-weight: bold;
}
.bold{
  font-weight: bold;
}

.italique {
  font-style: italic;
}



ul{
    margin: 0;
    


}
li{
    list-style-type: none;
}
.navbar ul a:hover {
  font-weight: bold;
  font-family:'Poppins',sans-serif;

}
.div.bubble.bubble-carbon:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.16);

}
.div.bubble.bubble-fluor:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.16);

}.div.bubble.bubble-bond:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.16);

}.div.bubble.bubble-fgroup:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0,0,0,0.16);

}
::-webkit-scrollbar {
  width: 10px;               
}

::-webkit-scrollbar-track {
  background: #fff0ec;       
}

::-webkit-scrollbar-thumb {
  background:#ed9274;          
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #555;          
}

/* Pour Firefox */
html {
  scrollbar-width: thin;            
  scrollbar-color: #ed9274 #fff0ec;

}

/* Style commun pour tous les hyperliens du contenu */
a.hyperlink {
  color:black;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

a.hyperlink:hover {
  color: rgb(247, 124, 9); /* orange au survol */
}
/* ===============Button====================== */
.bottom-section button {
  padding: 1em 2em;
  font-size: clamp(0.2em, 1.2vw, 1.1em);
  border-radius: 8px;
  background: #ed9274;
  color: white;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(255, 171, 133, 0.15);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.bottom-section button:hover {
  transform: scale(1.02);
  background: #f19e85; /* optionnel : teinte un peu plus claire au survol */
  box-shadow: 0 2px 8px rgb(83, 81, 81)!important;
}


  /* *****************************TEXT****************** */
  .colored-list {
    list-style: none; 
    padding-left: 0;
  }
  
  .colored-list li {
    position: relative;
    padding-left: 24px; 
    margin-bottom: 8px;
    font-size: clamp(0.4rem, 1.5vw, 1.25rem); /* Responsive: min 1rem, preferred 2.5vw, max 1.25rem */
    color: #ed9274;
    font-weight:400;
    font-family:'Poppins',sans-serif;
  }
  
  .colored-list li::before {
    content: "•";                
    position: absolute;
    left: 0;
    color: #ffab85;              
    font-weight: bold;
    font-size: clamp(0.4rem, 1.5vw, 1.25rem); /* Responsive: min 1rem, preferred 2.5vw, max 1.25rem */
         
    line-height: 1;
  }
  
  /* =================BOUTON========================= */
  .bottom-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em 0;
    background: white;
  }
  
  .custom-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6em; /* espace entre le logo et le texte */
    padding: 1em 2em;
    font-size: clamp(0.2em, 1.2vw, 1.1em);
    border-radius: 8px;
    background: #ed9274;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(255, 171, 133, 0.15);
    transition: background 0.2s ease, transform 0.2s ease;
  }
  
  .custom-btn:hover {
    transform: scale(1.02);
    background: #f19e85;
  }
  
  .btn-logo {
    width: clamp(14px, 6vw, 50px); /* responsive */
    height: auto;
  }
/* ******************************PAGE HOME********************************** */



/* --- Blocs de texte home --- */

.back_to_past2 {
  color: #111;
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
  position: absolute;
  width: 100vw;
  left: 0vw;
  /* Pour ajuster la position, modifiez top/left/right/bottom dans le HTML ou ici */
  z-index: 20;
}
.back_to_past_text-row2 {
  color: #111;
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
  position: absolute;
  width: 100vw;
  left: 8vw;
  /* Pour ajuster la position, modifiez top/left/right/bottom dans le HTML ou ici */
  z-index: 20;
  text-align: center;
}
.nineties_text-row2 {
  color: #111;
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
  position: absolute;
  width: 100vw;
  left: 0vw;
  /* Pour ajuster la position, modifiez top/left/right/bottom dans le HTML ou ici */
  z-index: 20;
  text-align: center;
}
.nineties2 {
  color: #111;
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
  position: absolute;
  width: 100vw;
  left: 0vw;
  /* Pour ajuster la position, modifiez top/left/right/bottom dans le HTML ou ici */
  z-index: 20;
}

.now_text-row2 {
  color: #fff;
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
  position: absolute;
  width: 100vw;
  left: -10vw;
  /* Pour ajuster la position, modifiez top/left/right/bottom dans le HTML ou ici */
  z-index: 22;
  text-align: center;
}
.now2 {
  color: #111;
  font-family: 'Poppins', sans-serif;
  line-height: 1.3;
  position: absolute;
  width: 100vw;
  left: 0vw;
  /* Pour ajuster la position, modifiez top/left/right/bottom dans le HTML ou ici */
  z-index: 20;
}
.impacts_content2 {
  color: #111;
  font-family: 'Poppins', sans-serif;
  line-height: 1.4;
  position: absolute;
  width: 100vw;
  left: 28vw;
  /* Pour ajuster la position, modifiez top/left/right/bottom dans le HTML ou ici */
  z-index: 20;
}
.impacts2 {
  color: #111;
  font-family: 'Poppins', sans-serif;
  /* font-size: clamp(1.1em, 2vw, 2.2em); */
  /* line-height: 1.5; */
  position: absolute;
  width: 100vw;
  left: 0vw;
  /* Pour ajuster la position, modifiez top/left/right/bottom dans le HTML ou ici */
  z-index: 20;
}
.impacts_caption2 {
  color: #111;
  font-family: 'Poppins', sans-serif;
  /* font-size: clamp(1.1em, 2vw, 2.2em); */
  line-height: 1.4;
  position: absolute;
  width: 100vw;
  left: -8vw;
  /* Pour ajuster la position, modifiez top/left/right/bottom dans le HTML ou ici */
  z-index: 20;
}
.back_to_past2 .h4-container2, .nineties2 .h4-container2, .impacts2 .h4-container2 {
  font-weight: bold;
  margin-bottom: 0.5em;
}
.now2 .h4-container2 {
  font-weight: bold;
  margin-bottom: 0.5em;
}
.mission_content {
  color: #111;
  font-family: 'Poppins', sans-serif;
  line-height: 1.4;
  position: absolute;
  width: 100vw;
  left: 0%;
  text-align: center;
  /* Pour ajuster la position, modifiez top/left/right/bottom dans le HTML ou ici */
  z-index: 20;
}
.mission_text-row h4 {
  margin-bottom: -2vh !important;
}

/* :::::::::::::::::::IMAGE HARDWARE::::::::::::::::::::::::::: */
.parallax img{
  overflow: hidden;
}
/* Force les images et iframes du parallax à prendre toute la largeur de l'écran */
.parallax img:not(.affiche):not(.back_to_past2 img):not(.mission img):not(.bulle3-custom), .parallax iframe:not(#Video_presentation) {
  position: absolute !important;
  /* left: 0 !important; */
  width: 100vw !important;
  min-width: 100vw !important;
  max-width: 100vw !important;
  height: auto !important;
  object-fit: cover !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
}
/* Correction du centrage des images parallax et vidéo */
.parallax img:not(.bulle3-custom):not(.mission img):not(.back_to_past2 img), .parallax iframe {
  position: absolute;
  /* left: 0; */
  width: 100vw;
  height: auto;
  object-fit: cover;
  will-change: transform;
  margin: 0 !important;
}

.parallax-title, .back_to_past, .nineties {
  position: absolute;
  /* left: 0; */
  width: 100vw;
  text-align: center;
  z-index: 20;
  pointer-events: none;
}

/* Images dans les contenus de page */
.main_content_pages img,
.content-section img,
p img {
  max-width: 100%;
  height: auto;
  object-fit: contain; /* Assure que l'image est entièrement visible */
  border-radius: 8px; /* Légèrement arrondi pour un meilleur aspect */
  margin: 0px auto; /* Espacement et centrage */
}
/* ******************RESPONSIVE HARDWARE*********************** */
.affiches-group-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* ***********************************FIN PAGE HOME ************************************/
/* ***********************************PAGE STANDARD RESPONSIVE *********************************** */
@media (max-width: 768px) {
  .pages-picture {
    position: relative;
    z-index: 20;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}
.content-section {
  margin-bottom: 32px;
}
@media (max-width: 768px) {
  .footer-logo {
    height: 32px !important;
    max-width: 80px !important;
  }
}

@media (max-width: 768px) {
  .home_content {
    margin-top: 24px !important;
  }
}

@media (min-width: 1025px) {
  .video {
    margin-top: 70px;
  }
}
/*
@media (max-width: 768px) {
  .main_content_pages > * + * {
    margin-top: 12px !important;
  }
}*/

@media (max-width: 900px) {
  .navbar .dropdown {
    max-width: 70vw !important;
    width: 70vw !important;
    min-width: 180px !important;
    max-height: 60vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    font-family:'Poppins',sans-serif;

  }
}
/* @media (max-width: 768px) {
  .pages-picture + * {
    margin-top: 18px !important;
  }
} */


  
    




















/* ******************+CSS GLOBAL POUR TOUTES LES SIDENAVAS *****************************/
/* Container principal de la page avec sidenav - RESPONSIVE */
.full_container {
  display: block; /* Change en block car la sidenav est maintenant fixed */
  width: 100%;
  min-height: calc(100vh - 80px); /* Hauteur minimale pour le contenu */
  margin-top: 0; /* Supprime le margin négatif pour un espacement normal */
  padding-top: 0; /* Supprime le padding-top pour un espacement normal */
  background-color: white;
  position: relative; /* Position relative pour le contexte */
  overflow-x: hidden; /* Supprime uniquement le scroll horizontal */
  /* overflow-y: hidden;  Désactivé pour éviter la double barre de scroll */ 
}
/* Contenu principal - RESPONSIVE CSS */
.main_content_pages {
  margin-left: 200px; /* Commence directement au bord droit de l'aside (200px) */
  width: calc(100vw - 200px); /* Prend toute la largeur restante */
  margin-right: 0 !important; /* Toujours collé au bord droit */
  /* padding-right: 3px; */
  /*margin-top: 70px;  Colle directement sous la navbar (70px) */
  min-width: 0; /* Permet au contenu de se rétrécir si nécessaire */
  /* padding: 20px 0 40px 20px; Padding normal sans espace excessif */
  height: auto; /* Hauteur automatique selon le contenu */
  min-height: calc(100vh + 200px); /* Hauteur minimale plus grande pour garantir le scroll */
  overflow-x: hidden; /* Supprime uniquement le scroll horizontal */
  /* overflow-y: hidden;  Désactivé pour éviter la double barre de scroll */
  box-sizing: border-box; /* Inclut padding dans la largeur */
  position: relative; /* Position relative pour les éléments enfants */
}

.pages-picture{
  width: 100%; /* Prend toute la largeur du container */

  
  background-size: cover; /* Couvre toute la largeur, l'image peut être plus haute */
  background-repeat: no-repeat;
  background-position: center center; /* Centre l'image */
  display: block; /* Block pour prendre toute la largeur disponible */
  box-sizing: border-box; /* Inclut padding dans la largeur */
}


/* Sidebar navigation - NOUVELLE VERSION OPTIMISÉE */
.aside_bar {
  /* Positionnement et structure */
  position: fixed;
  top: 70px; /* Commence après la navbar */
  left: 0; /* Collé au bord gauche de l'écran */
  width: 200px; /* Largeur fixe pour desktop */
  height: calc(100vh - 7vh); /* Prend toute la hauteur disponible */
  
  /* Apparence */
  background-color:white;
  border:none;
  
  /* Comportement */
  overflow: hidden; /* Pas de scroll - contenu doit s'adapter */
  
  
  /* Layout interne - SUPPRIME TOUT PADDING */
  display: flex;
  flex-direction: column;
  padding: 0; /* Aucun padding pour que le contenu épouse parfaitement */
}

.sidenav-wrapper {
  width: 100%; /* Prend toute la largeur de son container */
  height: 100%; /* Prend toute la hauteur disponible */
  display: flex; /* Utilise flexbox */
  flex-direction: column; /* Disposition verticale */
}

.sidenav {
  list-style: none;
  margin: 0;
  padding: 10px 8px 0 8px; /* Padding: haut, droite, bas, gauche - espace sur les côtés pour ordinateur */
  flex: 1; /* Prend tout l'espace disponible */
  display: flex; /* Utilise flexbox */
  flex-direction: column; /* Disposition verticale */
  justify-content: flex-start; /* Alignement en haut */
  width: 100%; /* Prend toute la largeur du wrapper */
  left: 0; /* Collé au bord gauche du wrapper */
  position: relative; /* Position relative pour rester dans le flux */
  overflow: hidden; /* Empêche tout débordement */
  box-sizing: border-box; /* Inclut le padding dans les dimensions */
}


/* Centrage vertical du h3 dans le sidenav-header */
.sidenav-header {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color:white;
  color: #423e3a;
  /* border-radius: 8px; */
  width: 100%;
  padding-bottom: 5px;
}

.sidenav-header h3 {
  /* Layout */
  width: 100%; /* Prend 100% de la largeur de la sidenav */
  margin: 0 0 15px 0; /* Aucune marge horizontale */
  /* padding: 8px 2px; Padding minimal pour ne jamais déborder */
  font-weight: bold;
  /* Typographie responsive */
  font-size: clamp(0.2em, 1vw, 1em); /* Taille qui s'adapte sans disparaître */
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center; /* Aligné au centre */
  line-height: 1.2;
  border-bottom: 3px solid #ffd6c4;
  /* Gestion du texte */
  white-space: normal; /* Permet le retour à la ligne */
  word-wrap: break-word; /* Coupe les mots longs */
  overflow: hidden; /* Empêche tout débordement */
  
  /* Style */
  background-color:white;
  color: #423e3a;
  /* border-radius: 8px; */
  box-sizing: border-box; /* Inclut padding dans la largeur */
}


.nav-item {
  margin-bottom: 8px; /* Espacement fixe entre les éléments */
  flex-shrink: 0; /* Empêche la compression */
  width: 100%;
  font-size:1.1rem;
}

.nav-link {
  /* Layout */
  display: block;
  width: 100%; /* Prend 100% de la largeur de la sidenav */
  margin: 0; /* Aucune marge */
  padding: clamp(6px, 1.5vw, 9px) 1.8px; /* Padding minimal pour ne jamais déborder */
  
  /* Typographie responsive */
  font-size: clamp(0.2em, 0.9vw, 0.9em); /* Taille qui s'adapte sans disparaître */
  font-family: 'Poppins', sans-serif;
  line-height: 1.2;
  text-align: left; /* Aligné à gauche */
  
  /* Gestion du texte */
  white-space: normal; /* Permet le retour à la ligne */
  word-wrap: break-word; /* Coupe les mots longs */
  overflow: hidden; /* Empêche tout débordement */
  text-overflow: clip; /* Pas de points de suspension */
  
  /* Style */
  color: #423e3a;
  text-decoration: none;
  background-color: transparent;
  border: none; /* Suppression de toutes les bordures */
  border-radius: 8px;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Inclut padding dans la largeur */
}

.nav-link:hover {
  background-color: #ffab85;
  color: #423e3a;
  transform: scale(1.04); /* Légère augmentation au hover */
}

.nav-link:active,
.nav-link.active {
  background-color: #ffab85;
  color:white;
  font-weight: 600;
  
}
@media (min-width:40px) and (max-width:480px) {
  .sidenav.nav-link:active,
  .sidenav.nav-link.active {
  
  border-radius:5px;
  padding:10%;
}
}
@media (min-width:481px) and (max-width:780px) {
  .sidenav.nav-link:active,
  .sidenav.nav-link.active {
  
  border-radius:8px;
  padding:18%;
}
}
@media (min-width:781px) and (max-width:1400px)  {
  .sidenav.nav-link:active,
  .sidenav.nav-link.active {
  
  border-radius:8px;
  
}
}
/* Animation pour le clic */
.nav-link:active {
  animation: clickPulse 0.2s ease-out;
}

@keyframes clickPulse {
  0% {
    transform: translateX(8px) scale(1.05);
  }
  50% {
    transform: translateX(9px) scale(1.1);
  }
  100% {
    transform: translateX(8px) scale(1.05);
  }
}

.content-section {
  /* padding: clamp(20px, 4vw, 40px) clamp(15px, 3vw, 30px) clamp(20px, 4vw, 40px) clamp(20px, 4vw, 40px); Responsive padding */
  background-color:transparent;
  border-radius: 12px;
  /* box-shadow: 0 4px 15px rgba(0,0,0,0.1); */
  scroll-margin-top: 100px; /* Ajusté pour la hauteur max navbar + marge */
  opacity: 0.95;
  transition: opacity 0.3s ease;
  width: 100%; /* Largeur relative au parent */
  box-sizing: border-box; /* Inclut padding et border dans la largeur */
  height: auto; /* Hauteur s'adapte automatiquement au contenu */
  min-height: fit-content; /* Hauteur minimale selon le contenu réel */
  padding-left: 1%;
  padding-right: 3%;


}

.content-section:hover {
  opacity: 1;
}
.content-section h1 {
  color: black;
  font-family: 'Poppins', sans-serif!important;
  font-size: clamp(0.4rem, 1.3vw, 1rem); /* Responsive: min 0.85rem, preferred 2vw, max 2.5rem */
  margin-left:1%;
  margin-right:1%;
  font-weight: 600;
  margin-bottom: 1%;
}
.content-section h2 {
  color: black;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 3vw, 2rem); /* Responsive: min 1.5rem, preferred 4vw, max 2.5rem */
  margin-bottom: 1%;
  border-bottom: 3px solid #ffd6c4;
  padding-bottom: 10px;
  font-weight: 600;
  margin-top: 0;
  margin-left:1%;
  margin-right:1%;

}

.content-section p {
  color: black;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2.2vw, 1rem); /* Responsive: min 1rem, preferred 2.5vw, max 1.25rem */
  line-height: 1.6;
  margin-bottom: 1%;
  margin-left:1%;
  margin-right:1%;
  text-align:justify;
}
.puce {
  display: block;     /* force chaque span à occuper sa propre ligne */
  margin-left: 3%;  /* décalage vers la droite */
}

.content-section h3 {
  color: black;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1rem, 2.5vw, 1.4rem); /* Responsive: min 1.2rem, preferred 3vw, max 1.8rem */
  margin-bottom: 1%;
  font-weight: 600;
  font-style: uppercase;
  margin-left:1%;
  margin-right:1%;
}

.content-section h4 {
  color: #cb4300;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1rem); /* Responsive: min 1.1rem, preferred 2.8vw, max 1.5rem */
  margin-bottom: 1%;
  font-weight: 500;
  margin-left:1%;
  margin-right:1%;
}
.content-section h5 {
  color: black;
  font-family: 'Poppins', sans-serif;
  font-size: clamp(0.4rem, 1vw, 0.9rem); /* Responsive: min 1.1rem, preferred 2.8vw, max 1.5rem */
  margin-left:1%;
  margin-right:1%;
  text-align:center;
  margin-bottom:1%;
}
/* ===============Table title========= */
.tabletitle  {
    text-align: center!important;
    color: rgb(54, 55, 54) !important;
    display: block;
    margin: 0 auto;
    
    font-size:clamp(0.2rem,1vw,0.7rem)!important
}
/* =================Table=============================== */

.tablemedal {
  width: 90%!important;
  border-collapse: collapse!important;
  margin: 0 auto!important;
  font-size: clamp(0.2rem, 0.9vw, 0.8rem)!important;
  font-family: "Poppins", sans-serif!important;
  text-align: center!important;
  color: #333!important;
  table-layout: fixed!important;
  border-radius: 12px!important;
  overflow: hidden!important;

}

.tablemedal td {
  border-left: 1px solid #ccc!important;
  border-right: 1px solid #ccc!important;
  padding: 0.5em!important;
  word-wrap: break-word!important;
  overflow-wrap: break-word!important;
}
.tablemedal th {
  padding: 0.5em!important;
  word-wrap: break-word!important;
  overflow-wrap: break-word!important;
  /* font-weight: normal!important; */
}

.tablemedal td:first-child,
.tablemedal th:first-child {
  border-left: none!important;
}

.tablemedal td:last-child,
.tablemedal th:last-child {
  border-right: none!important;
}




.tablemedal tr:last-child {
  border-bottom: none!important;
}

.tablemedal td img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


/* ================= DROPDOWN (inchangé) ================= */
.dropdown-toggle-area {
  width: 100%;
  margin: 1em 0;
}
.dropdown-btn {
  width: 97%;
  background: #fff;
  border: 2px solid #ed9274;
  border-radius: 18px;
  color: #222;
  font-size: clamp(0.2rem, 2vw, 1.1rem);
  font-family: inherit;
  padding: 0.8em 1.2em;
  text-align: left;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(255,171,133,0.08);
  font-family: 'Poppins',sans-serif;
  margin-right:2%;
  margin-left:2%;
}
.dropdown-btn:focus, .dropdown-btn:hover {
  border-color: #fff0ec;
  box-shadow: 0 0 0 2px #ffab8533;
  transform: scale(1.02);

}
.dropdown-symbol {
  font-size: 1.5em;
  margin-right: 0.7em;
  color: #ed9274;
  font-weight: bold;
  transition: color 0.2s;
}
.dropdown-symbol:hover {
  transform: scale(1.02);

}
.dropdown-content {
  width: 97%;
  background: white;
  border: 2px solid #ed9274;
  border-radius: 0 0 18px 18px;
  border-top: none;
  padding: 1em 1.2em;
  box-sizing: border-box;
  transition: max-height 0.3s, padding 0.3s;
  box-shadow: 0 2px 8px rgba(255,171,133,0.08);
  font-family: 'Poppins',sans-serif;
  margin-right:2%;
  margin-left:2%;

}
@media(max-width:480px){
  .dropdown-content {
    border: 1px solid #ed9274;
    border-radius: 0 0 9px 9px;
  }
  
  .dropdown-btn {
      border: 1px solid #ed9274;
      border-radius: 9px;
      padding: 0.4em 0.6em;
    }
}
/* ==== MEDIA QUERIES POUR LA SIDENAV ==== */
/* Mobile: Réduire le padding latéral du sidenav pour optimiser l'espace */
@media (max-width: 768px) {
  .sidenav {
    padding: 10px 2px 0 2px; /* Padding réduit sur les côtés pour mobile */
  }
}

/* Tablettes et écrans moyens (1025px - 1200px) */
@media (min-width: 1025px) and (max-width: 1200px) {
  .aside_bar {
    width: 180px; /* Largeur fixe légèrement réduite */
    /* top: 70px; */
    left: 0; /* Collé au bord gauche de l'écran */
    padding: 0; /* Aucun padding */
  }
  
  .main_content_pages {
    margin-left: 180px; /* Commence directement au bord droit de l'aside (180px) */
    width: calc(100vw - 180px); /* Prend toute la largeur restante */
    margin-right: 0 !important; /* Toujours collé au bord droit */
    padding-right: 0 !important;
    /*margin-top: 70px;Colle directement sous la navbar (70px) */
  }
  
  .sidenav-header h3 {
    /* font-size: clamp(0.8em, 1.8vw, 1.2em); */
    padding: 7px 3px;
  }
  
  .nav-link {
    /* font-size: clamp(0.7em, 1.6vw, 1em); */
    padding: clamp(4px, 1.2vw, 6px) clamp(2px, 0.8vw, 4px);
  }
}

/* Tablettes (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .aside_bar {
    width: 160px; /* Largeur fixe pour tablettes */
    top: 70px; /* Ajusté pour la navbar plus petite sur tablette */
    left: 0; /* Collé au bord gauche de l'écran */
    height: calc(100vh - 70px);
    padding: 0; /* Aucun padding */
  }
  
  .main_content_pages {
    margin-left: 160px; /* Commence directement au bord droit de l'aside (160px) */
    width: calc(100vw - 160px); /* Prend toute la largeur restante */
    margin-right: 0 !important; /* Toujours collé au bord droit */
    padding-right: 0 !important;
    /*margin-top: 70px; /* Colle directement sous la navbar (70px) */
    padding-top: 0; /* Supprime le padding-top */
  }

  /* Espacement réduit entre sections sur tablette */
  .main_content_pages > * {
    margin-bottom: 12px; /* Espacement réduit à 12px sur tablette */
  }

  .main_content_pages > *:last-child {
    margin-bottom: 0; /* Supprime la marge du dernier élément */
  }

  .pages-picture {
    padding-top: 0; /* Supprime le padding supérieur */
    /* height: 220px; Hauteur réduite pour tablettes */
  }
  
  .sidenav-header h3 {
    /* font-size: clamp(0.8em, 2vw, 1.1em); Taille augmentée pour tablettes */
    padding: 6px 3px;
    margin-bottom: 12px;
  }
  
  .nav-link {
    /* font-size: clamp(0.8em, 2vw, 1.1em); Taille augmentée pour tablettes */
    padding: clamp(4px, 1vw, 5px) clamp(3px, 0.7vw, 5px);
  }
}

/* Mobiles (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .aside_bar {
   width: 110px; /* Largeur réduite pour mobile */
    top: 40px;
    left: 0; /* Collé au bord gauche de l'écran */
    padding: 0; /* Aucun padding */
  }
  
  


  .main_content_pages {
    margin-left: 110px; /* Commence directement au bord droit de l'aside (110px) */
    width: calc(100vw - 110px); /* Prend toute la largeur restante */
    margin-right: 0 !important; /* Toujours collé au bord droit */
    padding-right: 0 !important;
    /*margin-top: 40px; /* Colle directement sous la navbar mobile (40px) */
    padding-top: 0; /* Supprime le padding-top pour coller à la navbar */
  }

  /* Espacement réduit entre sections sur mobile moyen */
  .main_content_pages > * {
    margin-bottom: 5px; /* Espacement augmenté à 15px sur mobile moyen */
  }

  .main_content_pages > *:last-child {
    margin-bottom: 0; /* Supprime la marge du dernier élément */
  }

  .pages-picture {
    padding-top: 0; /* Supprime le padding supérieur */
    /* height: 180px; Hauteur réduite pour mobiles moyens */
    margin-bottom: 20px; /* Espace après l'image pour la séparer des sections */
  }
  
  .sidenav-header h3 {
    /* font-size: clamp(0.8em, 1.8vw, 1.2em); */
    padding: 7px 3px;
  }
  
  .nav-link {
    /* font-size: clamp(0.7em, 1.6vw, 1em); */
    padding: clamp(2px, 0.8vw, 3px) clamp(2px, 0.8vw, 4px); /* Padding vertical réduit pour mobiles moyens */
  }
}

/* Petits mobiles (≤480px) */
@media (max-width: 480px) {
  .aside_bar {
   width: 43px; /* Largeur encore plus réduite pour petit mobile */
    top: 40px;
    left: 0; /* Collé au bord gauche de l'écran */
    padding: 0; /* Aucun padding */
  }
  
  .main_content_pages {
    margin-left: 43px; /* Collé au bord droit de l'aside de 43px */
    margin-top: 0px; /* Colle directement sous la navbar mobile (40px) */
    margin-right: 0 !important; /* Toujours collé au bord droit */
    padding-right: 0 !important;
    width: calc(100vw - 43px); /* Largeur totale moins l'aside */
    padding-top: 0; /* Supprime le padding-top pour coller à la navbar */
  }

  /* Espacement encore plus réduit entre sections sur petit mobile */
  .main_content_pages > * {
    margin-bottom: 0px; /* Espacement augmenté à 5px sur petit mobile */
  }

  .main_content_pages > *:last-child {
    margin-bottom: 0; /* Supprime la marge du dernier élément */
  }

  .pages-picture {
    padding-top: 0; /* Supprime le padding supérieur */
    /* height: 150px; Hauteur réduite pour petits mobiles */
    margin-bottom: 0px; /* Espace après l'image pour la séparer des sections */
  }
  
  .sidenav-header h3 {
    /* font-size: clamp(0.2em, 0.7vw, 0.6em); */
    padding: 2px 3px;
  }
  
  .nav-link {
    /* font-size: clamp(0.2em, 0.7vw, 0.6em); */
    padding: clamp(2px, 0.8vw, 3px) clamp(1px, 0.6vw, 3px); /* Padding vertical encore plus réduit pour petits mobiles */
  }
}
/* =================TABLE============================ */

td {
  word-wrap: break-word;   /* compatibilité ancienne */
  word-break: break-word;  /* moderne */
  white-space: normal;     /* permet le retour à la ligne */
}
/* =================SUB SECTION====================== */

.sub-section {
  margin-top: 2%;
  padding: 1% 1%;
  background: #fff7f4;
  border-radius: 12px;
  scroll-margin-top: 80px;

}

.sub-section h3, .sub-section h4 {
  padding-top: 0.5em;
  margin-top: 0;
}
.sidenav .subnav {
  display: none;            /* caché par défaut */
  flex-direction: column;
  padding-left: 5%;
  font-family:'Poppins',sans-serif;
}
.sidenav .subnav li {
  margin: 5% 0; /* espace entre chaque sous-partie */
}


.sidenav .subnav a {
  display: block;            /* occupe toute la largeur */
  padding: 1% 3%;         /* plus d'espace autour du texte */
  color: #423e3a;
  text-decoration: none;
  font-size: clamp(0.3rem,0.8vw,1.4rem);
  border-radius: 5px;        /* arrondis visibles */
}

.sidenav .subnav a:hover {
  background-color: #fff0ec; /* couvre bien toute la zone */
}

/* quand le parent est actif → montrer ses enfants */
.sidenav .nav-item.active > .subnav {
  display: flex;
}



/* ===== STYLES POUR IMAGES DANS LES SECTIONS ===== */

/* Image centrée standard */
.content-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}



/* Conteneur de l'image avec ombre */
.image-container {
  max-width: 70%;            /* change la largeur max si besoin */
  margin: 25px auto;
  text-align: center;
  background: #ffffff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  overflow: hidden;            /* s'assure que les coins arrondis coupent l'image */
}



/* Image responsive */
.image-container img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px; /* optionnel : arrondir légèrement l'image */
  margin: 0 auto;
  transition: transform 0.3s ease;
}


.figuretitle {
  text-align: center;
  position: relative; /* nécessaire pour le pseudo-élément */
 
}
.figuretitle{
  color:black;
  font-weight: 450;
  font-family: 'Poppins', sans-serif;
  
  
  } 
.dropdown-content.figuretitle {
  color:black;
  font-weight: 450;
  font-family: 'Poppins', sans-serif;
    } 

.figuretitle::before {
  content: "";                 /* nécessaire pour afficher le pseudo-élément */
  display: block;
  width: 50%;                  /* largeur de la bordure : 50% */
  height: 1.5px;                 /* épaisseur de la bordure */
  background-color: #ed9274;   /* couleur de la bordure */
  margin: 0 auto 10px auto;    /* centrer horizontalement et espacement en bas */
}
/* Mettre le titre principal en gras sur sa propre ligne */
.figuretitle strong { display:block; margin-bottom:2%; }

/* Réactivité pour petits écrans */

/* Réactivité pour petits écrans */

@media (min-width: 50px) and (max-width:480px) {
  .image-container { padding: 2%;border-radius:8px!important; }
  .figuretitle,.dropdown-content.figuretitle { font-size: 0.35rem!important;  margin: 0 auto 1% auto!important; }
  .figuretitle::before {  height: 0.2px;  }
  .image-container {
    max-width: 80%!important;  }


}
/* Réactivité pour petits écrans */
@media (min-width: 481px) and (max-width:780px) {
  .image-container { padding: 2%; }
  .figuretitle,.dropdown-content.figuretitle { font-size: 0.5rem!important;  margin: 0 auto 4px auto!important; }
  .figuretitle::before {  height: 0.4px;  }
  .image-container {
    max-width: 80%!important;  }


}
/* Réactivité pour petits écrans */
@media (min-width: 781px) and (max-width:1000px) {
  .image-container { padding: 1%; }
  .figuretitle,.dropdown-content.figuretitle { font-size: 0.6rem!important;  margin: 0 auto 6px auto!important; }
  .figuretitle::before {  height: 1px;  }

}
@media (min-width: 1001px) and (max-width:1400px) {
  .image-container { padding: 1%; }
  .figuretitle,.dropdown-content.figuretitle { font-size: 0.68rem!important;  margin: 0 auto 6px auto!important; }
  .figuretitle::before {  height: 2px;  }

}
@media (min-width: 1401px) {
  .image-container { padding: 1%; }
  .figuretitle,.dropdown-content.figuretitle { font-size: 0.78rem!important;  margin: 0 auto 6px auto!important; }
  .figuretitle::before {  height: 3px;  }

}
@media (min-width: 1800px) {
  .image-container { padding: 1%; }
  .figuretitle,.dropdown-content.figuretitle { font-size: 0.88rem!important;  margin: 0 auto 6px auto!important; }
  .figuretitle::before {  height: 3px;  }

}

/* Image flottante à droite */
.image-float-right {
  float: right;
  max-width: 40%;
  margin: 10px 0 15px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-float-right:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Image flottante à gauche */
.image-float-left {
  float: left;
  max-width: 40%;
  margin: 10px 20px 15px 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-float-left:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Image petite inline */
.image-inline {
  display: inline-block;
  max-width: 25%;
  height: auto;
  margin: 5px 10px;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  vertical-align: middle;
}

/* Image large (pleine largeur) */
.image-full-width {
  width: 100%;
  height: auto;
  margin: 30px 0;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-full-width:hover {
  transform: scale(1.01);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Galerie d'images */
.image-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 25px 0;
}

.image-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Images côte à côte */
.image-side-by-side {
  display: flex;
  gap: 20px;
  margin: 25px 0;
  justify-content: center;
  align-items: flex-start;
}

.image-side-by-side img {
  flex: 1;
  max-width: 48%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-side-by-side img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Responsive pour les images */
@media (max-width: 768px) {
  .image-float-right,
  .image-float-left {
    float: none;
    display: block;
    max-width: 80%;
    margin: 15px auto;
  }

  .image-side-by-side {
    flex-direction: column;
    gap: 15px;
  }

  .image-side-by-side img {
    max-width: 100%;
  }

  .image-inline {
    display: block;
    max-width: 60%;
    margin: 10px auto;
  }

  .image-gallery {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* Clearfix pour les images flottantes */
.content-section::after {
  content: "";
  display: table;
  clear: both;
}


/* ==== AUTRES STYLES CONSERVÉS ==== */

@media (max-width: 768px) {
  .full_container {
    display: flex; /* Utilise flexbox pour un meilleur contrôle */
    flex-direction: row; /* Sidenav à gauche, contenu à droite */
    margin-top: 5px; /* Commence juste après la navbar fixe (60px) */
    min-height: calc(100vh - 60px); /* Hauteur minimale pour remplir l'écran */
  }
  
  .navbar {
    height: 40px;
    padding: 0 10px;
    font-family:'Poppins',sans-serif;

  }
  
  #logo img {
    height: 37px;
    max-width: 90px;
  }
  
  .nav-toggle {
    width: 30px;
    height: 30px;
  }
  
  .burger {
    width: 22px;
    height: 2px;
  }
  
  .navbar ul li a {
    padding: 3px 15px;
    font-size: 1em;
    font-family:'Poppins',sans-serif;

  }
  
  .navbar ul li.has-dropdown ul.dropdown li a {
    padding: 12px 25px;
    font-size: 0.9em;
    font-family:'Poppins',sans-serif;

  }
  
  /* Navigation très responsive sur mobile */
  header li {
    font-size: 0.75em; /* Texte encore plus petit sur mobile */
  }
  
  header li a {
    padding: 8px 6px; /* Padding minimal sur mobile */
  }
  
  .aside_bar {
    /* width: 120px; Largeur fixe en pixels pour consistance */
    /* padding: 4px; Padding réduit pour mobile */
    position: fixed; /* Position fixe maintenue pour tous les écrans */
    /* top: 60px; Position après la navbar mobile */
    left: 0;
    height: calc(100vh - 60px); /* Hauteur = écran total - navbar mobile (60px) */
    overflow-y: hidden; /* Permet le scroll si le contenu avec retours à la ligne déborde */
    overflow-x: hidden;
    display: flex; /* Même structure flexbox qu'en desktop */
    flex-direction: column;
    flex-shrink: 0; /* Empêche la sidenav de rétrécir */
    z-index: 10; /* Z-index élevé pour rester au-dessus du contenu */
    margin-top: 0; /* Supprime la marge supérieure */
    
  }
  
  .main_content_pages {
    /* margin-left: 0px; Ajusté pour sidenav mobile + marge */
    margin-top: 0; /* Supprime l'espace avec l'image description */
    margin-right: 10px; /* Marge droite de 10px pour tous les mobiles */
    padding: 0 0; /* Padding supprimé car on utilise margin-right */
    padding-top: 0; /* Supprime le padding-top pour coller à la navbar */
     /* Supprime les marges pour le flexbox */
    display: flex; /* Flexbox pour le contenu interne */
    flex-direction: column; /* Contenu vertical */
    overflow-x: hidden; /* Évite le débordement horizontal */
    min-width: 0; /* Permet au contenu de se comprimer si nécessaire */
  }

  /* Espacement entre les sections sur mobile - plus petit */
  .main_content_pages > * {
    margin-bottom: 10px; /* Espacement de 10px sur mobile */
  }

  .main_content_pages > *:last-child {
    margin-bottom: 0; /* Supprime la marge du dernier élément */
  }

  .pages-picture {
    margin-top: 0px; /* Supprime toute marge supérieure */
    padding-top: 0; /* Supprime le padding supérieur */
  }


 
  
  /* Images extra-responsive sur mobile */
  .main_content_pages img,
  .content-section img,
  p img {
    
    max-width: 100%; /* Toujours 100% de la largeur du container */
    object-fit: contain;
    margin: 0px auto; /* Espacement réduit sur mobile */
    border-radius: 6px; /* Légèrement moins arrondi sur mobile */
    
  }
  
  .sidenav-header h3 {
    /* font-size: clamp(0.5em, 1.2vw, 0.7em); Taille réduite pour s'adapter à la largeur plus petite */
    padding: 6px 1px; /* Padding horizontal encore plus réduit */
    margin: 4px 0; /* Marge verticale seulement, pas de marge horizontale */
    text-align: center; /* Centré pour compenser la largeur réduite */
    line-height: 1.2; /* Hauteur de ligne augmentée pour compenser la taille plus petite */
    overflow: visible; /* Permet l'affichage complet du texte */
    white-space: normal; /* Permet le retour à la ligne */
    word-wrap: break-word; /* Coupe les mots longs si nécessaire */
    hyphens: auto; /* Césure automatique */
    width: 100%; /* Prend toute la largeur de la sidenav */
    /* min-height: 25px; Hauteur minimale augmentée pour compenser la taille plus petite */
    box-sizing: border-box; /* Inclut padding et border dans les dimensions */
  }
  
  .nav-link {
    padding: 3px 1px; /* Padding vertical encore plus réduit */
    /* font-size: clamp(0.8em, 0.8vw, 0.5em); Taille de police encore plus réduite */
    line-height: 1.2; /* Hauteur de ligne réduite pour rapprocher les liens */
    white-space: normal; /* Permet le
    /* min-height: 20px; Hauteur minimale réduite */
    box-sizing: border-box; /* Inclut padding et border dans les dimensions */
    border-left-width: 2px; /* Bordure gauche très réduite pour économiser l'espace */
    border-right-width: 2px; /* Bordure droite très réduite pour économiser l'espace */
  }
  
  .content-section {
    /* padding: clamp(15px, 3vw, 25px) clamp(10px, 2vw, 15px) clamp(15px, 3vw, 25px) clamp(15px, 3vw, 25px); Responsive mobile padding */
    width: 100% !important; /* Force toujours la largeur complète sur mobile */
    max-width: none !important; /* Supprime toute limitation de largeur maximale */
    min-width: 100% !important; /* Force la largeur minimale à 100% */
  }
  
  .content-section h2 {
    font-size: clamp(0.2rem, 3vw, 1.4rem); /* Mobile responsive: plus petit range */
  }
  
  .content-section p {
    font-size: clamp(0.2rem, 2vw, 1.1rem); /* Mobile responsive: plus petit range */
    line-height: 1.5; /* Ligne plus compacte sur mobile */
  }

  .content-section h3 {
    font-size: clamp(0.5rem, 3.2vw, 1.3rem); /* Mobile responsive h3 */
  }

  .content-section h4 {
    font-size: clamp(0.2rem, 2.5vw, 1.4rem); /* Mobile responsive h4 */
  }

  


  }
   */
  /* Logo encore plus petit sur mobile */
  #logo {
    display: block !important; /* Force l'affichage du logo sur mobile */
    visibility: visible !important; /* Force la visibilité */
  }
  
  
  
  /* Footer responsive sur mobile */
  .full_container footer {
    width: 100%;
    margin: 0;
    padding: 0 !important;
    background: #ed9274 !important;
    box-shadow: none !important;
    border: none !important;
  }

/* Media query pour très petits écrans (téléphones en mode portrait) */
@media (max-width: 480px) {
  .navbar {
    padding: 0 7px;
    font-family:'Poppins',sans-serif;

  }
  
  #logo img {
    height: 30px;
    max-width: 75px;
  }
  
  .nav-toggle {
    width: 28px;
    height: 28px;
  }
  
  .burger {
    width: 20px;
    height: 2px;
  }
  
  .navbar ul li a {
    padding: 2px 12px;
    font-size: 0.95em;
    font-family:'Poppins',sans-serif;

  }
  
  .navbar ul li.has-dropdown ul.dropdown li a {
    padding: 10px 20px;
    font-size: 0.85em;
    font-family:'Poppins',sans-serif;

  }
}



/* ****************************FOOTER******************* */
footer {
  
  background: linear-gradient(to bottom, #fff0ec 0%, #ed9274 100%);
  color: white;
  padding: 20px;
  text-align: center;
  flex-shrink: 0; /* Empêche le footer de se rétrécir dans un contexte flexbox */
  margin-top: auto; /* Pousse le footer vers le bas */
  font-size: clamp(0.2em, 1.7vw, 1.7em);
}
.footer {
  position: relative;
  z-index: 100;
  bottom:0;
  width:100%;
}
/* Footer responsive pour les pages avec sidenav */
.full_container footer {
  width: calc(100% - 250px); /* Largeur dynamique basée sur la largeur max de la sidenav */
  margin-left: 250px; /* Marge égale à la largeur max de la sidenav */
  margin-right: 0; /* Collé au bord droit */
}


#deuxiemetrait{
    height:1.5px ;
    width: 40%;
    background-color: rgb(250, 244, 244);
    margin: 60px auto;


}
#copyrighteticons{
    display: flex;
    margin-bottom: 20px;
    padding: 0 10%;
    justify-content: space-between;
    align-items: center;
}
#copyright{
    width: 50%;
    text-align: right;
    color:white;
    order: 2; /* Place le copyright à droite */
}



.footer-scroller {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 100px;
  background: transparent;
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.footer-scroller[data-speed="fast"] {
  --_animation-duration: 40s;
}

.footer-scroller[data-direction] {
  --_animation-direction: reverse;
}

.scroller-inner {
  display: flex;
  animation: scroll-logos var(--_animation-duration, 45s) linear infinite var(--_animation-direction, normal);
}

.scroller-group {
  display: flex;
  flex-shrink: 0;
  gap: 50px;
  align-items: center;
  margin-right: 50px;
}

.scroller_item {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
  min-width: 80px;
  justify-content: center;
}

.scroller_item:hover {
  transform: scale(1.15);
  z-index: 10;
  position: relative;
}

.footer-logo {
  height: 57px;
  width: auto;
  max-width: 152px;
  display: block;
  transition: all 0.3s ease;
  filter: grayscale(0.2) opacity(0.9);
  object-fit: contain;
}

.footer-logo:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.05);
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* === Footer responsive pour mobile === */
@media (max-width: 600px) {
  footer, footer.footer {
    height: auto !important;
    min-height: 0 !important;
    max-height: 30vh !important;
    padding: 0.5em 0 0.2em 0 !important;
    overflow: hidden !important;
  }
  .footer-logo {
    height: 7vw !important;
    max-width: 18vw !important;
    min-height: 18px !important;
    min-width: 30px !important;
    margin: 0 0.2em !important;
  }
  #deuxiemetrait {
    height: 1px !important;
    width: 60vw !important;
    margin:2vh auto 2vh auto !important;
    background-color: rgb(250, 244, 244) !important;
  }
}
@media (max-width: 600px) {
  .scroller-group {
    gap: 0.4vw !important;
    margin-right: 0 !important;
  }
  .footer-scroller {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 30px;
    background: transparent;
  }
  
  
}
@media (max-width: 600px) {
  .col p {
    font-size: 1.1em !important;
  }
}

