.text.superposed {
  position: relative;
  display: inline-block;
}

.text.superposed.second {
  position: absolute;
  top: 60%; /* Ajuste selon le décalage souhaité */
  left: 0;
  width: 100%; /* Occupe tout l'espace */
  height: 20px; /* Ajuste la taille pour capter les clics */
}
.tabbed-content a.no-underline {
  text-decoration: none !important;
}

.tabbed-content a.no-underline:hover {
  text-decoration: none !important;
}
/* Styles pour le wrapper du préchargeur */
body.light-mode #preloader-wrapper,
body.dark-mode #preloader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Styles pour le fond radial avec dégradé */
body.light-mode #radial-background {
    background: radial-gradient(center bottom, rgb(225, 215, 176) 0%, rgb(255, 255, 255) 46.5608%, rgb(236, 220, 183) 99.4709%);
}
body.dark-mode #radial-background {
    background: radial-gradient(center top, #43423f, #25231a);
}
































body.transition-active {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

body.light-mode #full-screen-image,
body.dark-mode #full-screen-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    pointer-events: none;
}

body.transition-active #full-screen-image {
    opacity: 1;
}

#radial-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.1s ease-in-out;
}

/* Styles pour le préchargeur */
#preloader {
    width: 100%;
    height: 100%;
    background-size: 100% 100%; /* Le GIF se déforme pour remplir toute la fenêtre */
    opacity: 1;
    transition: opacity 0.1s ease-in-out;
}
#preloader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#preloader {
    background-size: cover;
    background-position: center;
}
/* Style pour le contenu principal avec effet de fondu */
#content {
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}

#content.visible {
    visibility: visible;
    opacity: 1;
}

        .containercadre {
            position: relative;
            width: 100%;
            margin: 50px auto;
            padding: 0px;
            box-sizing: border-box;
            box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;

        }

        .containercadre img {
            position: absolute;
            width: 100%; /* Adjust as needed */
            height: auto;
        }

        /* Positioning the images */
        .top-center {
            top: 0;
            left: 50%;
            transform: translate(-50%, -50%);
        }

        .bottom-center {
            bottom: 0;
            left: 50%;
            transform: translate(-50%, 50%);
        }
.size02 {
  height: 100%;
}


.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}


/* Common Styles */

body {
  cursor: url('./assets/CURSOR_default.webp') 8 8, auto;
}

/* Correction pour les curseurs des liens */
a:link, a:visited {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
}

/* Correction pour les boîtes de saisie de texte */
input[type="text"], textarea, input[type="password"], input[type="email"], input[type="number"], select {
  cursor: url('./assets/CURSOR_input.webp') 8 8, auto; /* Correction du nom de fichier */
}

        body {
            overflow-x: hidden; /* Prevent horizontal scrollbar */
        }

        .languagechoice {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            position: absolute;
            top: 8px;
            right: 10px;
            z-index: 9999;
            background-color: rgba(0,0,0,0.0);
            display: inline-block;
        }
        .languagechoice-content {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            display: none;
            position: absolute;
            padding: 10px;
            top: -5px;
            right: -500px; /* Start off-screen */
            width: auto;
            white-space: nowrap;
              /* Prevent content overflow */
            background-color: rgba(0,0,0,0.0);
            transition: right 1s; /* Transition for the right property */
        }

        .languagechoice-content a {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            text-decoration: none; /* Remove underline from links */
        }

        .languagechoice-content a:hover {
            text-decoration: none !important; /* Ensure underline is removed */
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
        }

        body.light-mode .languagechoice-content img {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            width: 50px;
            height: 28px;
            padding: 0px;
            display: inline-block;
        }

        body.dark-mode .languagechoice-content img {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            width: 50px;
            height: 28px;
            padding: 0px;
            display: inline-block;
            box-shadow: 0px 0px 2px #FFFFFF;
        }

        body.light-mode .languagechoice-content img:hover {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            background-color: rgba(0,0,0,0.0);
            box-shadow: 0px 0px 10px #90771B;
        }

        body.dark-mode .languagechoice-content img:hover {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            background-color: rgba(0,0,0,0.0);
            box-shadow: 0px 0px 10px #FFFFFF;
        }

        .languagechoicebtn {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            background-color: rgba(0,0,0,0.0);
            color: #90771B;
            padding: 10px;
            border: none;
        }


        .languagechoicebtn:hover {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            background-color: rgba(0,0,0,0.0);
            color: #90771B;
            padding: 10px;
            border: none;
        }
.drapeauxlangue {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.drapeauxlangue:hover {
    opacity: 0.8;
}
body.transition-active {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}




        .tusseau-header-logo-container {
  position: relative;
  width: 100%;
  max-width: 100px; /* Optional max width */
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
        }

        .tusseau-header-logo-container img {
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
        }



.overlay-text,
.overlay-text:hover,
.overlay-text:active,
.overlay-text:visited,
.overlay-text a,
.overlay-text a:hover,
.overlay-text a:active,
.overlay-text a:link,
.overlay-text a:visited {
            position: absolute;
            top: 50%; /* Center vertically */
            left: 50%; /* Center horizontally */
            transform: translate(-50%, -50%); /* Adjust for centering */

            background-color: rgba(0, 0, 0, 0.0); /* Semi-transparent background */
            padding: 0px;
            text-align: center;
            border-radius: 0px;
margin-top: 0.5%;
  color: rgba(0, 0, 0, 0.0);
  font-weight: 800;
  text-decoration : none;
  text-decoration-color: rgba(0, 0, 0, 0.0);
  text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.0);
  letter-spacing: 100px;
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
}




@media print {
    body {
        font-size: 12pt;
    }

    a {
        color: black;
        text-decoration: underline;
    }

    /* Masquer certains éléments non nécessaires pour l'impression */
    .no-print, .hide-on-print {
        display: none !important;
    }
}




#modeText, #modeTextPortrait {
  transition: opacity 1s ease;
}
    #toggleImage {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
      width: 160px; /* Set the desired width */
      height: 160px; /* Set the desired height */
    }
    #toggleImagePortrait {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
      width: 160px; /* Set the desired width */
      height: 160px; /* Set the desired height */
    }
    .moon-container {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
      display: inline-block;
      text-align: left;
    }
    #modeText {
      margin-top: 0px;
      font-size: 12px; /* Set the desired font size */
    }
    #modeTextPortrait {
      margin-top: 0px;
      font-size: 12px; /* Set the desired font size */
    }

/* Styles par défaut pour le mode clair */
body.light-mode .gif {
    content: url('assets/BUTTON_dark.webp');
}
body.light-mode .gif:hover {
    content: url('assets/BUTTON_rotating_moon.webp');
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
}
body.dark-mode .gif:active {
        content: url('assets/BUTTON_light.webp');
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
}

/* Media query pour le mode sombre */
body.dark-mode .gif {
        content: url('assets/BUTTON_light.webp');
    }
body.dark-mode .gif:hover {
        content: url('assets/BUTTON_rotating_moon.webp');
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
    }
body.dark-mode .gif:active {
        content: url('assets/BUTTON_dark.webp');
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
    }


/* Styles for the scrollbar */
::-webkit-scrollbar {
  width: 14px;
  height: 0px;
  color: #FFEEAF;
}

::-webkit-scrollbar-thumb {
  background-image: radial-gradient(closest-corner ellipse at center, #90771B, #FFF5CF);
  border: 1px none #AC9232;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background-image: radial-gradient(closest-corner ellipse at center, #FFF5CF, #90771B);
}

::-webkit-scrollbar-thumb:active {
  background-image: radial-gradient(closest-corner ellipse at center, #FFF5CF, #90771B);
}

::-webkit-scrollbar-track {
  background: #FAEBB3;
  border: 1px solid #FFEEAF;
  border-radius: 0px;
}

::-webkit-scrollbar-track:hover {
  background: #FFEEAF;
}

::-webkit-scrollbar-track:active {
  background: #FFEEAF;
}

::-webkit-scrollbar-corner {
  background: #FFEEAF;
}



/* Classe pour désactiver les liens */
.disable-link {
    pointer-events: none; /* Désactive les clics */
    cursor: not-allowed; /* Change le curseur pour indiquer que le lien est désactivé */
}
.fondulangueclicdroit {
    cursor: url('./assets/CURSOR_link.webp') 8 8, auto; /* Votre curseur personnalisé */
    position: relative; /* S'assure que l'élément ne change pas de position après le clic */
}








/* Styles from "style.css" of "haut-de-page & bas-de-page.html" */
.tabbed-content {
  background: transparent;
  width: calc(100% - 2em);
  max-width: 100%;
  padding: 1em;
  margin: 1em auto;
}

.tabs {
  display: flex;
  justify-content: center;
   
}

.tabs ul {
  margin: 0;
  padding: 0 0 1em 0;
  display: flex;
  justify-content: center;
  width: 100%;
   
}

.tabs ul li {
  list-style: none;
  margin: 0 5px;
  flex-grow: 1;
  text-align: center;
  position: relative;
}

.tabs ul li a {
  padding: 0.5em 1em;
  text-align: center;
  display: block;
}

.item {
  margin-bottom: 2px;
}
.item {
    display: none; /* Par défaut, caché */
}

.item.active {
    display: block; /* Affiché lorsque la classe active est présente */
}

.item::before {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  font-weight: bold;
  padding: 0.5em;
  display: block;
  text-align: center;
}

.item.active .item-content {
  padding: 1em;
  transition: opacity 0.3s ease-in-out;
  text-align: center;
}

.links-container {
  display: flex;
  justify-content: center;
  gap: 1em;
}

@media all and (min-width: 800px) {
  .item.active .item-content {
    padding-top: 0;
  }

  .tabs-side .tabs li {
    margin-bottom: 2px;
  }
}

.tabbed-content .tabs {
  display: none;
}

.tabbed-content .item {
  min-height: 2em;
}

.tabbed-content .item::before {
  content: attr(data-title);
}

.tabbed-content .item .item-content {
  opacity: 0;
  visibility: hidden;
  height: 0;
}

.tabbed-content .item.active .item-content {
  opacity: 1;
  visibility: visible;
  height: auto;
}

@media all and (min-width: 800px) {
  .tabbed-content .tabs {
    display: block;
  }

  .tabbed-content .tabs li {
    display: inline-block;
  }

  .tabbed-content .tabs li a {
    display: block;
  }

  .tabbed-content .item {
    min-height: 0;
  }

  .tabbed-content .item::before {
    display: none;
  }

  .tabbed-content.tabs-side .tabs {
    width: 150px;
    float: left;
  }

  .tabbed-content.tabs-side .tabs li {
    display: block;
  }

  .tabbed-content.tabs-side .item {
    margin-left: 150px;
  }
}

.container {
  width: 100%;
  margin: auto;
}

/* Hide one of the contents by default */
#landscape-content {
  display: none;
}
#portrait-content {
  display: none;
}
@media (max-aspect-ratio: 8/5) {
  #landscape-content {
    display: none;
  }
  #portrait-content {
    display: block;
  }
}

@media (min-aspect-ratio: 8/5) {
  #landscape-content {
    display: block;
  }
  #portrait-content {
    display: none;
  }
}
/* Specific image dimensions */
.landscape-image {
  width: 50%;
  height: auto;
}

.portrait-image {
  width: 80%;
  max-width: 300px; /* Set a max-width to control size */
  height: auto;
  margin-top: -1%;
}
/* Utilisation de prefers-color-scheme */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #000000;
    color: #ffffff;
  }
}


body {
  position: relative;
  min-height: 100vh;
  margin: 0;
   
  color: #000; /* Couleur par défaut pour le texte */
  transition: color 0.5s ease, font-size 0.3s ease, font-weight 0.3s ease, letter-spacing 0.3s ease; /* Transitions pour le texte */
}

body::before, body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  transition: opacity 0.5s ease, color 0.3s ease, font-size 0.3s ease, font-weight 0.3s ease, letter-spacing 0.3s ease;
}

body.light-mode::before {
  background: -webkit-radial-gradient(center bottom, rgb(225, 215, 176) 0%, rgb(255, 255, 255) 46.5608%, rgb(236, 220, 183) 99.4709%);
  opacity: 1;
}

body.light-mode::after {
  background: -webkit-radial-gradient(center top, #43423f, #25231a);
  opacity: 0;
}

body.dark-mode::before {
  background: -webkit-radial-gradient(center bottom, rgb(225, 215, 176) 0%, rgb(255, 255, 255) 46.5608%, rgb(236, 220, 183) 99.4709%);
  opacity: 0;
}

body.dark-mode::after {
  background: -webkit-radial-gradient(center top, #43423f, #25231a);
  opacity: 1;
}

/* Styles par défaut pour le mode clair */
body.light-mode .copy-icon {
    content: url('assets/BUTTON_copy_light.webp');
}

/* Image pour le survol en mode clair */
body.light-mode .copy-icon:hover {
    content: url('assets/BUTTON_copy_light_hover.webp');
}

/* Media query pour le mode sombre */
body.dark-mode .copy-icon {
        content: url('assets/BUTTON_copy_dark.webp');
    }
body.dark-mode .copy-icon:hover {
        content: url('assets/BUTTON_copy_dark_hover.webp');
    }

    /* Style pour aligner la div à gauche */
.div-block.div-left {
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
    display: block !important;
    width: 100% !important;
}

/* Style pour centrer la div */
.div-block.div-center {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
    display: flex !important;  /* Utiliser Flexbox pour centrer */
    justify-content: center !important;  /* Centrer le contenu horizontalement */
    align-items: center !important;  /* Centrer le contenu verticalement si nécessaire */
    width: 100% !important;
    position: relative !important;
}

/* Style pour aligner la div à droite */
.div-block.div-right {
    margin-left: auto !important;
    margin-right: 0 !important;
    text-align: right !important;
    display: block !important;
    width: 100% !important;
}

/* Optionnel : ajouter des bordures ou du padding pour la visualisation */
.div-block {
    border:  0px solid #ccc !important;
    padding: 10px !important;
    box-sizing: border-box !important; /* Pour inclure les bordures et le padding dans la largeur totale */
}

/* Définir les classes d'alignement pour le texte */
.align-left {
    text-align: left !important;
}

.align-center {
    text-align: center !important;
}

.align-right {
    text-align: right !important;
}

/* Pour que les images se comportent comme du texte */
.align-left img,
.align-center img,
.align-right img {
    display: inline-block !important;
    vertical-align: middle !important; /* Pour aligner verticalement les images avec le texte */
    max-width: 100% !important; /* Pour s'assurer que les images ne dépassent pas la largeur du conteneur */
}


/* Assurer que l'image est centrée */
.div-block.div-center img {
    display: block !important;  /* Assurer que l'image est un bloc */
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    position: relative !important;  /* Pour s'assurer que l'image respecte la position de la div */
    transform: none !important;  /* Supprimer toute transformation qui pourrait la décaler */
}

/* Image à gauche d'un paragraphe */
.image-left {
    float: left;
    margin-right: 15px; /* Espace entre l'image et le texte */
    margin-bottom: 10px; /* Espace en dessous de l'image pour séparer les lignes suivantes */
    max-width: 50%; /* Limite la largeur de l'image pour qu'elle ne prenne pas tout l'espace */
}

/* Image à droite d'un paragraphe */
.image-right {
    float: right;
    margin-left: 15px; /* Espace entre l'image et le texte */
    margin-bottom: 10px; /* Espace en dessous de l'image pour séparer les lignes suivantes */
    max-width: 50%; /* Limite la largeur de l'image pour qu'elle ne prenne pas tout l'espace */
}

/* Image à gauche d'une ligne de texte */
.inline-image-left {
    display: inline-block;
    vertical-align: middle;
    margin-right: 10px; /* Espace entre l'image et le texte */
}

/* Image à droite d'une ligne de texte */
.inline-image-right {
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px; /* Espace entre l'image et le texte */
}

/* S'assurer que les textes entourant les images flottantes sont bien clairs */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Style par défaut pour le conteneur plein écran */
#menu-link-full-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: none; /* Caché par défaut */
}

/* Classe ajoutée lors du chargement */
body.menu-link-loading {
    overflow: hidden;
}



 /* -----------------------LIGHT MODE ---------------------------- */


































body.light-mode  {
  position: relative;
   
}

body.light-mode  div {
  box-sizing: border-box;
}

body.light-mode h2 {
  margin: 2em auto 0;
  text-align: center;
}

body.light-mode header {
  padding: 10px 0px;
}
body.light-mode .header {
  display: flex;
  justify-content: space-between;
}

body.light-mode .header-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
}

body.light-mode button {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}

body.light-mode .landscape-top-left-div {
            position: absolute; /* ou "fixed" pour que la div soit fixée en haut à gauche de la fenêtre de navigation et non en haut à gauche de la page de navigation. */
            top: 3px;
            left: 3px;
            width: 110px;
            height: 100px;
            z-index: 9999; /* Ensure it is above other elements */
        }



body.light-mode {
  font-family: Work Sans, Arial, Helvetica, "Roboto", sans-serif;
  padding: 1em;
  font-weight: 100;
  margin: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
}
body.light-mode p {
  text-decoration: none;
  font-family: Arial, Helvetica, "Roboto", sans-serif;
  color: #90771B;
  font-weight: 300;
  letter-spacing: 1.95px;
  text-align: center;
  font-weight: lighter;
}
body.light-mode p.bold {
  text-decoration: none;
  color: #444;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1.2px;
}
body.light-mode a {
  text-decoration: none;
  color: #444;
  text-align: center;
  font-weight: 400;
}
body.light-mode a:link {
  color: #90771B;
  letter-spacing: 2.6px;
}
body.light-mode a:visited {
  color: #90771B;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: none
}
body.light-mode a:hover {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: #90771B;
  font-weight: 500;
  letter-spacing: 2.9px;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: #90771B;
  text-shadow: 0px 0px 10px #FFDF6B;
}
body.light-mode a:active {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: white;
  font-weight: 550;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: white;
  text-shadow: 0px 0px 10px #E1C53B;
  letter-spacing: 3px;
}

body.light-mode .static-link,
body.light-mode .static-link:hover,
body.light-mode .static-link:active,
body.light-mode .static-link:visited {
  color: #90771B;
  font-weight: 550;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: #90771B;
  text-shadow: 0px 0px 10px #E1C53B;
  letter-spacing: 3px;
  cursor: default; /* Curseur par défaut */
  pointer-events: none; /* Désactive les interactions de la souris */
}

body.light-mode .copied-notification {
  display: none;
  position: fixed;
  background: -webkit-radial-gradient(center, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 46.5608%, rgb(236, 220, 183) 100%);
  color: black;
  letter-spacing: 2px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  z-index: 1000;
  box-shadow: rgba(0, 0, 0, 0.50) 0px 0px 15px, rgba(0, 0, 0, 0.50) 0px 0px 15px;
  pointer-events: none; /* Pour éviter les interactions de la souris */
  transform: translate(-50%, -50%);
}


body.light-mode .dropdown-tabs {
  margin-top: 10px;
  width: 100%;
}

body.light-mode .dropdown-tabs ul {
  display: flex;
  justify-content: center;
  width: 100%;
   
}

body.light-mode .dropdown-tabs ul li {
  flex-grow: 1;
  text-align: center;
}

body.light-mode .dropdown-item {
  display: none;
}

body.light-mode .dropdown-item.active {
  display: block;
}

body.light-mode .sub-dropdown-tabs {
  margin-top: 10px;
  width: 100%;
}

body.light-mode .sub-dropdown-tabs ul {
  display: flex;
  justify-content: center;
  width: 100%;
   
}

body.light-mode .sub-dropdown-tabs ul li {
  flex-grow: 1;
  text-align: center;
}

body.light-mode .sub-dropdown-item {
  display: none;
}

body.light-mode .sub-dropdown-item.active {
  display: block;
}

body.light-mode .sub-sub-dropdown-tabs {
  margin-top: 10px;
  width: 100%;
}

body.light-mode .sub-sub-dropdown-tabs ul {
  display: flex;
  justify-content: center;
  width: 100%;
   
}

body.light-mode .sub-sub-dropdown-tabs ul li {
  flex-grow: 1;
  text-align: center;
}

body.light-mode .sub-sub-dropdown-item {
  display: none;
}

body.light-mode .sub-sub-dropdown-item.active {
  display: block;
}

body.light-mode .arrow {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #CEC086;
  margin: 5px auto 0 auto;
  display: block;
  transition: transform 0.3s ease, border-top-color 0.3s ease;
}

body.light-mode .arrow.default {
  border-top-color: #CEC086;
}

body.light-mode .arrow.rotated {
  border-top-color: #8A7E60;
  transform: rotate(180deg);
  transition: transform 0.3s ease, border-top-color 0.3s ease;

  /* Modifier les valeurs ci-dessous pour ajuster la taille de la flèche */
  border-left-width: 10px;  /* Largeur du bord gauche */
  border-right-width: 10px; /* Largeur du bord droit */
}




body.light-mode .mobile-nav:hover .mobile-dropdown {
  display: block;
}

body.light-mode .mobile-dropdown {
  display: none;
  text-align: center;
}

body.light-mode .sidenav a {
  color: #fff;
  letter-spacing: 3px;
  font-weight: lighter;
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 16px;
  display: block;
  transition: 0.3s;
}

body.light-mode .sidenav {
  height: 0;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #000;
  overflow-y: auto;
  transition: height 0.5s ease;
  text-align: center;
}

body.light-mode .sidenav a:hover {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: #FFECB3;
  text-shadow: 0px 0px 10px #FFFFFF;
  font-weight: 300;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: #FFEFC9;
  letter-spacing: 3px;
}

body.light-mode .sidenav .closebtn-right {
  position: absolute;
  top: 50px;
  right: 50px;
  font-size: 36px;
  color: #fff;
  z-index: 2;
}

body.light-mode .sidenav .closebtn-left {
  position: absolute;
  top: 50px;
  left: 25px;
  font-size: 36px;
  color: #fff;
  z-index: 2;
}

body.light-mode .sidenav .mobile-nav:hover .mobile-dropdown {
  display: block;
}

body.light-mode .sidenav .mobile-dropdown {
  display: none;
  text-align: center;
}

body.light-mode .container {
  width: auto;
  padding: 0 15px;
}

body.light-mode .mobile-menu-bar-left {
  display: block;
  font-size: 30px;
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color:  #90771B;
  position: fixed;
  top: 20px;
  left: 25px;
  z-index: 3;
}

body.light-mode .mobile-menu-bar-right {
  display: block;
  font-size: 30px;
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color:  #90771B;
  position: fixed;
  top: 20px;
  right: 25px;
  z-index: 3;
}


body.light-mode .tabs ul li a:hover,
body.light-mode .tabs ul li a.active 
body.light-mode .dropdown-tabs ul li a:hover,
body.light-mode .sub-dropdown-tabs ul li a:hover,
body.light-mode .sub-sub-dropdown-tabs ul li a:hover {
  color: #90771B;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: #90771B;
  text-shadow: 0px 0px 10px #FFDF6B;
  background: none;
}













































 /* -----------------------DARK MODE ---------------------------- */


































body.dark-mode  {
  position: relative;
   
}

body.dark-mode  div {
  box-sizing: border-box;
}

body.dark-mode h2 {
  margin: 2em auto 0;
  text-align: center;
}

body.dark-mode header {
  padding: 10px 0px;
}
body.dark-mode .header {
  display: flex;
  justify-content: space-between;
}

body.dark-mode .header-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  text-align: center;
}

body.dark-mode button {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  background: none;
  border: none;
  outline: none;
  box-shadow: none;
}

body.dark-mode  .landscape-top-left-div {
            position: absolute; /* ou "fixed" pour que la div soit fixée en haut à gauche de la fenêtre de navigation et non en haut à gauche de la page de navigation. */
            top: 3px;
            left: 3px;
            width: 110px;
            height: 100px;
            z-index: 9999; /* Ensure it is above other elements */
        }

body.dark-mode {
  font-family: Work Sans, Arial, Helvetica, "Roboto", sans-serif;
  padding: 1em;
  font-weight: 100;
  margin: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
}
body.dark-mode p {
  text-decoration: none;
  font-family: Arial, Helvetica, "Roboto", sans-serif;
  color: #FFEFC9;
  letter-spacing: 1.95px;
  text-align: center;
  font-weight: 300;
}
body.dark-mode p.bold {
  text-decoration: none;
  color: #FFEFC9;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1.7px;
}
body.dark-mode a {
  text-decoration: none;
  color: #FFEFC9;
  text-align: center;
  font-weight: 200;
  letter-spacing: 3px;
}
body.dark-mode a:link {
  color: #FFEFC9;
  letter-spacing: 3px;
}
body.dark-mode a:visited {
  color: #FFEFC9;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: none;
  letter-spacing: 3px;
}
body.dark-mode a:hover {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: #FFECB3;
  text-shadow: 0px 0px 10px #FFFFFF;
  font-weight: 300;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: #FFEFC9;
  letter-spacing: 3px;
}
body.dark-mode a:active {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: #FFECB3;
  font-weight: normal;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: white;
  text-shadow: 0px 0px 10px #FFEFC9;
  letter-spacing: 3px;
}

body.dark-mode .static-link,
body.dark-mode .static-link:hover,
body.dark-mode .static-link:active,
body.dark-mode .static-link:visited {
  color: #FFECB3;
  font-weight: normal;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: #FFEFC9;
  text-shadow: 0px 0px 10px #FFEFC9;
  letter-spacing: 3px;
  cursor: default; /* Curseur par défaut */
  pointer-events: none; /* Désactive les interactions de la souris */
}

body.dark-mode .copied-notification {
  display: none;
  position: fixed;
  background: -webkit-radial-gradient(center top, #43423f, #25231a);
  color: white;
  letter-spacing: 3px;
  font-weight: 300;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  z-index: 1000;
  box-shadow: 0px 0px 30px #FFEFC9;
  pointer-events: none; /* Pour éviter les interactions de la souris */
  transform: translate(-50%, -50%);
}

body.dark-mode .dropdown-tabs {
  margin-top: 10px;
  width: 100%;
}

body.dark-mode .dropdown-tabs ul {
  display: flex;
  justify-content: center;
  width: 100%;
   
}

body.dark-mode .dropdown-tabs ul li {
  flex-grow: 1;
  text-align: center;
}

body.dark-mode .dropdown-item {
  display: none;
}

body.dark-mode .dropdown-item.active {
  display: block;
}

body.dark-mode .sub-dropdown-tabs {
  margin-top: 10px;
  width: 100%;
}

body.dark-mode .sub-dropdown-tabs ul {
  display: flex;
  justify-content: center;
  width: 100%;
   
}

body.dark-mode .sub-dropdown-tabs ul li {
  flex-grow: 1;
  text-align: center;
}

body.dark-mode .sub-dropdown-item {
  display: none;
}

body.dark-mode .sub-dropdown-item.active {
  display: block;
}

body.dark-mode .sub-sub-dropdown-tabs {
  margin-top: 10px;
  width: 100%;
}

body.dark-mode .sub-sub-dropdown-tabs ul {
  display: flex;
  justify-content: center;
  width: 100%;
   
}

body.dark-mode .sub-sub-dropdown-tabs ul li {
  flex-grow: 1;
  text-align: center;
}

body.dark-mode .sub-sub-dropdown-item {
  display: none;
}

body.dark-mode .sub-sub-dropdown-item.active {
  display: block;
}

body.dark-mode .arrow {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 7px solid #90771B;
  margin: 5px auto 0 auto;
  display: block;
  transition: transform 0.3s ease, border-top-color 0.3s ease;
}

body.dark-mode .arrow.default {
  border-top-color: #90771B;
}

body.dark-mode .arrow.rotated {
  border-top-color: #FFECB3;
  transform: rotate(180deg);
  transition: transform 0.3s ease, border-top-color 0.3s ease;

  /* Modifier les valeurs ci-dessous pour ajuster la taille de la flèche */
  border-left-width: 10px;  /* Largeur du bord gauche */
  border-right-width: 10px; /* Largeur du bord droit */
}





body.dark-mode .mobile-nav:hover .mobile-dropdown {
  display: block;
}

body.dark-mode .mobile-dropdown {
  display: none;
  text-align: center;
}

body.dark-mode .sidenav a {
  color: #fff;
  font-weight: lighter;
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 16px;
  display: block;
  transition: 0.3s;
}

body.dark-mode .sidenav {
  height: 0;
  width: 100%;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #000;
  overflow-y: auto;
  transition: height 0.5s ease;
  text-align: center;
}

body.dark-mode .sidenav a:hover {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: #FFECB3;
  text-shadow: 0px 0px 10px #FFFFFF;
  font-weight: 300;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: #FFEFC9;
  letter-spacing: 3px;
}

body.dark-mode .sidenav .closebtn-right {
  position: absolute;
  top: 50px;
  right: 50px;
  font-size: 36px;
  color: #fff;
  z-index: 2;
}

body.dark-mode .sidenav .closebtn-left {
  position: absolute;
  top: 50px;
  left: 25px;
  font-size: 36px;
  color: #fff;
  z-index: 2;
}

body.dark-mode .sidenav .mobile-nav:hover .mobile-dropdown {
  display: block;
}

body.dark-mode .sidenav .mobile-dropdown {
  display: none;
  text-align: center;
}

body.dark-mode .container {
  width: auto;
  padding: 0 15px;
}

body.dark-mode .mobile-menu-bar-left {
  display: block;
  font-size: 30px;
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color:  #90771B;
  position: fixed;
  top: 20px;
  left: 25px;
  z-index: 3;
}

body.dark-mode .mobile-menu-bar-right {
  display: block;
  font-size: 30px;
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color:  #90771B;
  position: fixed;
  top: 20px;
  right: 25px;
  z-index: 3;
}




body.dark-mode .tabs ul li a:hover,
body.dark-mode .tabs ul li a.active 
body.dark-mode .dropdown-tabs ul li a:hover,
body.dark-mode .sub-dropdown-tabs ul li a:hover,
body.dark-mode .sub-sub-dropdown-tabs ul li a:hover {
  color: #FFECB3;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: white;
  text-shadow: 0px 0px 10px #FFEFC9;
  letter-spacing: 3px;
  background: none;
}





































#legal-warning {
  font-size: 12px;
  padding: 8px 10px;
  border-bottom: 1px solid #ddd;
}

#legal-warning a {
  color: inherit;
  text-decoration: underline dotted;
}





        body.dark-mode #custom-context-menu {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            display: none;
            position: absolute;
            background: -webkit-radial-gradient(center, #43423f, #25231a);
            border-radius: 5px;
            box-shadow: 0px 0px 5px #FFEFC9;
            z-index: 1000;
    visibility: hidden;
        }

        body.dark-mode #custom-context-menu ul {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            list-style-type: none;
            margin: 0;
            padding: 10px 0;
            position: relative;
        }

        body.dark-mode #custom-context-menu li {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            padding: 8px 20px;
            position: relative;
            text-align: left;
        }

        body.dark-mode #custom-context-menu li a {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  text-decoration: none;
  color: #FFEFC9;
  text-align: center;
  font-weight: 200;
  letter-spacing: 3px;
        }

        body.dark-mode #custom-context-menu li a:visited {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            color: #FFEFC9;
            text-decoration: underline;
            text-underline-position: under;
        }

        body.dark-mode #custom-context-menu li a:hover {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: #FFECB3;
  text-shadow: 0px 0px 10px #FFFFFF;
  font-weight: 300;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: #FFEFC9;
  letter-spacing: 3px;
        }

        body.dark-mode #custom-context-menu li a:active {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: #FFECB3;
  font-weight: normal;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: white;
  text-shadow: 0px 0px 10px #FFEFC9;
  letter-spacing: 3px;
        }

        /* Styles pour le sous-menu de traduire */
        body.dark-mode #translate-submenu {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            display: none;
            position: absolute;
            left: 0;
            top: 8px;
            background: -webkit-radial-gradient(center, #43423f, #25231a);
            border-radius: 5px;
            box-shadow: 0px 0px 5px #FFEFC9;
            z-index: 1001;
            min-width: 150px;
        }

        body.dark-mode #translate:hover #translate-submenu {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            display: block;
        }

        body.dark-mode #translate-submenu li {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            padding: 8px 20px;
            text-align: left;
        }

        body.dark-mode #translate-submenu li a {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
      display: block; /* Assure que chaque lien prend tout l'espace du <li> */
    padding: 10px 20px; /* Ajustez selon vos besoins */
    margin: 2px 0; /* Pour espacer chaque lien */
    z-index: 1000; /* Assure que les liens sont bien au-dessus de tout autre élément */

  text-decoration: none;
  color: #FFEFC9;
  text-align: center;
  font-weight: 200;
  letter-spacing: 3px;
        }

        body.dark-mode #translate-submenu li a:visited {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: #FFEFC9;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: none;
  letter-spacing: 3px;
        }

        body.dark-mode #translate-submenu li a:hover {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: #FFECB3;
  text-shadow: 0px 0px 10px #FFFFFF;
  font-weight: 300;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: #FFEFC9;
  letter-spacing: 3px;
        }

        body.dark-mode #translate-submenu li a:active {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: #FFECB3;
  font-weight: normal;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: white;
  text-shadow: 0px 0px 10px #FFEFC9;
  letter-spacing: 3px;
        }

































        body.light-mode #custom-context-menu {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            display: none;
            position: absolute;
            background: -webkit-radial-gradient(center, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 46.5608%, rgb(236, 220, 183) 100%);
            border-radius: 5px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            z-index: 1000;
    visibility: hidden;
        }

        body.light-mode #custom-context-menu ul {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            list-style-type: none;
            margin: 0;
            padding: 10px 0;
            position: relative;
        }

        body.light-mode #custom-context-menu li {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            padding: 8px 20px;
            position: relative;
            text-align: left;
        }

        body.light-mode #custom-context-menu li a {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  text-decoration: none;
  color: #444;
  text-align: center;
  font-weight: 400;
        }

        body.light-mode #custom-context-menu li a:visited {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            color: #90771B;
            text-decoration: underline;
            text-underline-position: under;
        }

        body.light-mode #custom-context-menu li a:hover {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: #90771B;
  font-weight: 500;
  letter-spacing: 2.9px;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: #90771B;
  text-shadow: 0px 0px 10px #FFDF6B;
        }

        body.light-mode #custom-context-menu li a:active {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: white;
  font-weight: 550;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: white;
  text-shadow: 0px 0px 10px #E1C53B;
  letter-spacing: 3px;
        }

        /* Styles pour le sous-menu de traduire */
        body.light-mode #translate-submenu {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            display: none;
            position: absolute;
            left: 0;
            top: 8px;
            background: -webkit-radial-gradient(center, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 46.5608%, rgb(236, 220, 183) 100%);
            border-radius: 5px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
            z-index: 1001;
            min-width: 150px;
        }

        body.light-mode #translate:hover #translate-submenu {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            display: block;
        }

        body.light-mode #translate-submenu li {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
            padding: 8px 20px;            text-align: left;
        }

        body.light-mode #translate-submenu li a {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
      display: block; /* Assure que chaque lien prend tout l'espace du <li> */
    padding: 10px 20px; /* Ajustez selon vos besoins */
    margin: 2px 0; /* Pour espacer chaque lien */
    z-index: 1000; /* Assure que les liens sont bien au-dessus de tout autre élément */

  text-decoration: none;
  color: #444;
  text-align: center;
  font-weight: 400;
        }

        body.light-mode #translate-submenu li a:visited {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: #90771B;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: none
        }

        body.light-mode #translate-submenu li a:hover {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: #90771B;
  font-weight: 500;
  letter-spacing: 2.9px;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: #90771B;
  text-shadow: 0px 0px 10px #FFDF6B;
        }

        body.light-mode #translate-submenu li a:active {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  color: white;
  font-weight: 550;
  text-decoration: underline;
  text-underline-position: under;
  text-decoration-color: white;
  text-shadow: 0px 0px 10px #E1C53B;
  letter-spacing: 3px;
        }


        
.serie {
  display: flex;
  flex-wrap: nowrap; /* garde image + texte côte à côte */
  justify-content: center;
  align-items: flex-start;
  margin: 60px auto;
  max-width: 3000px;
  padding: 0 40px;
  box-sizing: border-box;
  overflow-x: auto; /* scroll horizontal si trop petit */
  column-gap: clamp(40px, 5vw, 250px);
}

.serie-slideshow {
  width: min(600px, 40vw); /* ← s’adapte à la taille de l’écran */
  aspect-ratio: 1 / 1;     /* ← conserve le carré, plus fiable que height fixe */
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
}

.serie-slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1.5s ease-in-out, transform 6s ease-out;
  z-index: 0;
  pointer-events: none; /* ← empêche l’image de bloquer les clics */
}

.serie-slideshow img.active {
  opacity: 1;
  z-index: 1;
}

.serie-description {
  max-width: 800px;
  min-width: 250px;
  flex-shrink: 1;
  flex-grow: 0;
  font-size: clamp(1em, 1.1vw, 1.2em); /* ← adapte la taille du texte */
  line-height: 1.6;
}

.serie-description h2 {
  font-size: clamp(1.4em, 2vw, 1.7em); /* ← adaptatif aussi */
  margin-bottom: 10px;
}

.serie-description a {
  display: inline-block;
  margin-top: 12px;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
}

/* En option : centrage du texte sur très petit écran */
@media (max-width: 600px) {
  .serie-description {
    text-align: center;
  }
}

.serie-video {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.serie-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none; /* Empêche les contrôles visuels natifs */
}

.data-encoding {
  display: grid;

  /* 🟩 Responsive, 3 grands carrés max, mais adaptatif */
  grid-template-columns: repeat(auto-fit, minmax(clamp(320px, 32vw, 540px), 1fr));

  /* 🟨 Espacement élégant */
  column-gap: 60px;
  row-gap: 60px;

  /* 🟦 Centrage parfait */
  justify-content: center;
  align-items: start;

  /* 🟥 Contrainte visuelle globale pour éviter le débordement */
  max-width: 1800px;
  margin: 40px auto;
  padding: 0 30px;
}

.dataX-xyz {
  width: 100%;
  max-width: 540px; /* ← utile pour forcer un max visuel propre */
  text-align: center;
}

.data-xyz {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  position: relative;
  cursor: pointer; /* main sur toute la zone */
  position: relative;
  display: inline-block;
  width: fit-content;
}
.data-xyz {
  position: relative;
  width: fit-content;
  margin: 0 auto;
}

.data-xyz video {
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  pointer-events: none;
}

.xyz-title {
  margin-top: 16px;
  font-size: 1.3em;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.xyz-desc {
  margin-top: 6px;
  font-size: 1em;
  font-style: italic;
  color: #777;
}



.xyz-controls {
  position: absolute;
  bottom: 8px;
  left: 8px;
  z-index: 10;
  font-size: 18px;
  color: #90771B;
  padding: 4px 8px;
  border-radius: 5px;
  pointer-events: none;
  user-select: none;
}

.xyz-toggle {
  border: none;
  color: #90771B;
  font-size: 14px;
  padding: 2px 6px;
  cursor: pointer;
  font-family: Arial, sans-serif;
}



p {
  word-break: break-word;
}

/* Spécifique à la page œuvre en mode grand format */
body.artwork-fullpage .serie {
  flex-direction: column;
  align-items: center;
}

body.artwork-fullpage .serie-video {
  width: 90vw;
  max-width: 960px;
  aspect-ratio: 1 / 1;
}

body.artwork-fullpage .canvas.large {
  width: 90vw;
  max-width: 960px;
  height: auto;
}

.canvas {
  aspect-ratio: 1 / 1;
  width: 100%;
  display: block;
  margin: 0 auto;
  height: auto;
  pointer-events: auto;
  background: #000;
  border-radius: 8px; /* ✅ arrondi par défaut */
}
.canvas.sharp {
  border-radius: 0 !important;
}

/* Variantes de tailles

<canvas class="canvas canvas-200" width="1920" height="1920"></canvas>
<canvas class="canvas canvas-180" width="1728" height="1728"></canvas>
<canvas class="canvas canvas-170" width="1632" height="1632"></canvas>
<canvas class="canvas canvas-160" width="1536" height="1536"></canvas>
<canvas class="canvas canvas-150" width="1440" height="1440"></canvas>
<canvas class="canvas canvas-145" width="1392" height="1392"></canvas>
<canvas class="canvas canvas-140" width="1344" height="1344"></canvas>
<canvas class="canvas canvas-135" width="1296" height="1296"></canvas>
<canvas class="canvas canvas-130" width="1248" height="1248"></canvas>
<canvas class="canvas canvas-125" width="1200" height="1200"></canvas>
<canvas class="canvas canvas-120" width="1152" height="1152"></canvas>
<canvas class="canvas canvas-115" width="1104" height="1104"></canvas>
<canvas class="canvas canvas-110" width="1056" height="1056"></canvas>
<canvas class="canvas canvas-100" width="960" height="960"></canvas>
<canvas class="canvas canvas-95"  width="912" height="912"></canvas>
<canvas class="canvas canvas-90"  width="864" height="864"></canvas>
<canvas class="canvas canvas-85"  width="816" height="816"></canvas>
<canvas class="canvas canvas-80"  width="768" height="768"></canvas>
<canvas class="canvas canvas-75"  width="720" height="720"></canvas>
 */
.canvas-200 { width: 200%; max-width: 2000px; }
.canvas-180 { width: 180%; max-width: 1800px; }
.canvas-170 { width: 170%; max-width: 1700px; }
.canvas-160 { width: 160%; max-width: 1600px; }
.canvas-150 { width: 150%; max-width: 1500px; }
.canvas-145 { width: 145%; max-width: 1450px; }
.canvas-140 { width: 140%; max-width: 1400px; }
.canvas-135 { width: 135%; max-width: 1350px; }
.canvas-130 { width: 130%; max-width: 1300px; }
.canvas-125 { width: 125%; max-width: 1250px; }
.canvas-120 { width: 120%; max-width: 1200px; }
.canvas-115 { width: 115%; max-width: 1150px; }
.canvas-110 { width: 110%; max-width: 1100px; }
.canvas-100 { width: 100%; max-width: 960px; }
.canvas-95  { width: 95%;  max-width: 960px; }
.canvas-90  { width: 90%;  max-width: 960px; }
.canvas-85  { width: 85%;  max-width: 960px; }
.canvas-80  { width: 80%;  max-width: 960px; }
.canvas-75  { width: 75%;  max-width: 960px; }


.canvas-wrapper {
  position: relative;
  width: auto;
  max-width: none;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

/* Le canvas suit le wrapper */
.canvas-wrapper canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 8px;
}

/* Et le bouton reste dans le coin bas-droit du wrapper */
.canvas-wrapper .xyz-controls {
  position: absolute;
  bottom: 10px;
  left: 10px; /* ✅ au lieu de right: 10px */
  z-index: 10;
  font-size: 18px;
  color: #90771B;
  padding: 4px 8px;
  border-radius: 0 !important;
  pointer-events: none;
  user-select: none;
  text-align: left; /* ✅ pour éviter un centrage du texte */
}

.xyz-fullscreen {
  background: none;
  border: none;
  color: #90771B;
  font-size: 18px;
  cursor: pointer;
  margin-left: 10px;
  padding: 2px 4px;
  font-family: Arial, sans-serif;
}







.canvas-wrapper-sharp {
  position: relative;
  width: auto;
  max-width: none;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

/* Le canvas suit le wrapper */
.canvas-wrapper-sharp canvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0 !important;
}

/* Et le bouton reste dans le coin bas-droit du wrapper */
.canvas-wrapper-sharp .xyz-controls {
  position: absolute;
  bottom: 10px;
  left: 10px; /* ✅ au lieu de right: 10px */
  z-index: 10;
  font-size: 18px;
  color: #90771B;
  padding: 4px 8px;
  border-radius: 0 !important;
  pointer-events: none;
  user-select: none;
  text-align: left; /* ✅ pour éviter un centrage du texte */
}





/* Empêche les wrappers d’imposer leurs propres arrondis */
.canvas-wrapper,
.canvas-wrapper-sharp,
.data-xyz,
.dataX-xyz,
.bio-video {
  border-radius: 0 !important;
}










.bio {
  display: flex;
  flex-wrap: nowrap; /* image + texte côte à côte */
  justify-content: center;
  align-items: flex-start;
  margin: 60px auto;
  max-width: 3000px;
  padding: 0 40px;
  box-sizing: border-box;
  overflow-x: auto;
  column-gap: clamp(40px, 5vw, 250px);
}

.bio-description {
  max-width: 500px;           /* 🔽 rétréci ici */
  min-width: 250px;
  flex-shrink: 1;
  flex-grow: 0;
  font-size: clamp(1em, 1.1vw, 1.2em);
  line-height: 1.6;
}

.bio-description h2 {
  font-size: clamp(1.4em, 2vw, 1.7em);
  margin-bottom: 10px;
}

.bio-description a {
  display: inline-block;
  margin-top: 12px;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
}

.bio-video {
  flex-grow: 1 !important;              /* 🔥 PREND TOUT L’ESPACE QU’IL PEUT */
  max-width: 750px !important;         /* 🔥 PEUT S’ÉTALER JUSQU’À 1000px                 C'EST ICI QU'ON RÈGLE LA TAILLE DE LA VIDEO!!!!!!!!!!!!!!!!!*/
  width: 100%;                          /* 🔥 PREND LA LARGEUR MAXIMALE */
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bio-video video,
.bio-video canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  max-width: none !important;          /* 🔥 CASSE TOUTE LIMITE EXTERNE */
}

.bio .xyz-controls {
  display: none !important;
}

.square-canva-classic,
.square-canva-classic * {
  pointer-events: none;
  cursor: url('./assets/CURSOR_default.webp'), default;
}


.square-canva-link,
.square-canva-link * {
  cursor: url('./assets/CURSOR_link.webp'), default;
}
.serie-video canvas,
.serie-video .xyz-controls {
  cursor: url('./assets/CURSOR_link.webp'), default;
}

.square-canva-link .xyz-desc {
  cursor: url('./assets/CURSOR_default.webp'), default !important;
}


canvas.redirect {
  cursor: url('./assets/CURSOR_link.webp'), default !important;
}












.data-xyz.canvas-expand {
  width: 110%;
  max-width: 1100px;
}


.data-encoding {
  justify-items: center; /* Ajoute ce centrage vertical par cellule */
}


.tusseau-centered-text {
  max-width: 1800px;
  width: 100%;
  margin: 40px auto;
  padding: 0 30px;
  text-align: center;
  box-sizing: border-box;
}







body.light-mode .form-option {
  font-weight: 400; /* Change en 400 (normal), 500, 600, 700 (bold) si tu veux + d’épaisseur */
  font-size: 1em; /* tu peux ajuster ici aussi */
  letter-spacing: 1.5px;
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  transition: color 0.3s ease, font-weight 0.3s ease;
  color:  #90771B;
}
/* Tu peux ajouter un effet doux au survol si tu veux */
body.light-mode .form-option:hover {
  font-weight: 500; /* Change en 400 (normal), 500, 600, 700 (bold) si tu veux + d’épaisseur */
  font-size: 1em; /* tu peux ajuster ici aussi */
  letter-spacing: 1.5px;
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  transition: color 0.3s ease, font-weight 0.3s ease;
  color: #000000;
}

body.dark-mode .form-option {
  font-weight: 400; /* Change en 400 (normal), 500, 600, 700 (bold) si tu veux + d’épaisseur */
  font-size: 1em; /* tu peux ajuster ici aussi */
  letter-spacing: 1.5px;
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  transition: color 0.3s ease, font-weight 0.3s ease;
  color: #FFEFC9;
}
/* Tu peux ajouter un effet doux au survol si tu veux */
body.dark-mode .form-option:hover {
  font-weight: 500; /* Change en 400 (normal), 500, 600, 700 (bold) si tu veux + d’épaisseur */
  font-size: 1em; /* tu peux ajuster ici aussi */
  letter-spacing: 1.5px;
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  transition: color 0.3s ease, font-weight 0.3s ease;
  color: #FFFFFF;
}



input[type="radio"],
input[type="checkbox"] {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
}



/* Info-bulle personnalisée pour le formulaire */
#form-warning {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 8px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}



body.light-mode #form-warning {
  background: -webkit-radial-gradient(center, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 46.5608%, rgb(236, 220, 183) 100%);
  color: black;
  letter-spacing: 2px;
  font-weight: 500;
  border-radius: 5px;
  font-size: 14px;
  z-index: 1000;
  box-shadow: rgba(0, 0, 0, 0.50) 0px 0px 15px, rgba(0, 0, 0, 0.50) 0px 0px 15px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

body.dark-mode #form-warning {
  background: -webkit-radial-gradient(center, #43423f, #25231a);
  color: white;
  letter-spacing: 3px;
  font-weight: 300;
  border-radius: 5px;
  font-size: 14px;
  z-index: 1000;
  box-shadow: #FFEFC9 0px 0px 15px, #FFEFC9 0px 0px 15px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}























input[type="radio"],
input[type="checkbox"] {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
}



/* Info-bulle personnalisée pour le formulaire */
#write-us-form-warning {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 400;
  border-radius: 8px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}



body.light-mode #write-us-form-warning {
  background: -webkit-radial-gradient(center, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 46.5608%, rgb(236, 220, 183) 100%);
  color: black;
  letter-spacing: 2px;
  font-weight: 500;
  border-radius: 5px;
  font-size: 14px;
  z-index: 1000;
  box-shadow: rgba(0, 0, 0, 0.50) 0px 0px 15px, rgba(0, 0, 0, 0.50) 0px 0px 15px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

body.dark-mode #write-us-form-warning {
  background: -webkit-radial-gradient(center, #43423f, #25231a);
  color: white;
  letter-spacing: 3px;
  font-weight: 300;
  border-radius: 5px;
  font-size: 14px;
  z-index: 1000;
  box-shadow: #FFEFC9 0px 0px 15px, #FFEFC9 0px 0px 15px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}





































.carousel-ensemble {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 50px; /* espace entre les carrousels */
}

.carousel {
  position: relative; /* ✅ Important : pour que les flèches puissent être absolues par rapport à lui */
  width: auto;
  max-width: 100%;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column; /* ✅ Le track + les flèches en colonne */
  padding-bottom: 60px; /* ✅ AJOUTE UN ESPACE EN BAS pour voir les flèches */
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
  height: 100%;
}

.carousel-image {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
}

/* LES FLÈCHES */
.carousel-controls {
  position: absolute; /* ✅ Ici !! */
  bottom: 20px; /* ✅ collées au bas de l'image */
  left: 50%;
  transform: translateX(-50%); /* ✅ bien centrées */
  display: flex;
  gap: 30px;
  z-index: 5; /* ✅ passe au-dessus de l’image */
  pointer-events: none; /* ✅ pour que l’image sous les boutons soit cliquable sauf boutons */
}

.carousel-btn {
  background-color: rgba(0,0,0,0.5);
  color: #90771b; /* ✅ flèches couleur or */
  border: none;
  padding: 10px 15px;
  font-size: 24px;
  border-radius: 50%;
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  transition: background-color 0.3s ease;
  pointer-events: auto; /* ✅ réactive les clics sur les boutons */
}

.carousel-btn:hover {
  color: #ecdcb7; /* ✅ flèches couleur or */
}


/* Plein écran */
.carousel-fullscreen {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  cursor: url('./assets/CURSOR_default.webp') 8 8, auto;
  z-index: 9999;
}

#carousel-fullscreen-img {
  max-width: 90%;
  max-height: 90%;
  cursor: url('./assets/CURSOR_default.webp') 8 8, auto;
}

#carousel-close-fullscreen {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #ecdcb7; /* ✅ flèches couleur or */
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
}
#carousel-close-fullscreen:hover {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 40px;
  color: #90771b; /* ✅ flèches couleur or */
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
}

.carousel-fullscreen-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: #90771b; /* ✅ flèches couleur or */
  border: none;
  font-size: 60px;
  padding: 10px;
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  z-index: 10001;
}
.carousel-fullscreen-btn:hover {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  color: #ecdcb7; /* ✅ flèches couleur or */
  border: none;
  font-size: 60px;
  padding: 10px;
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  z-index: 10001;
}

#carousel-fullscreen-prev { left: 20px; }
#carousel-fullscreen-next { right: 20px; }











.fake-link {
  cursor: url('./assets/CURSOR_link.webp') 8 8, auto;
  text-decoration: none;
  font-weight: 400;
  text-align: center;
  display: block;
  padding: 0.5em 1em;
  color: #90771B;
  letter-spacing: 2.6px;
  transition: all 0.3s ease;
  display: inline;
  white-space: nowrap; /* pour éviter les retours à la ligne automatiques */
}

body.light-mode .fake-link:hover {
  color: #90771B;
  font-weight: 500;
  letter-spacing: 2.9px;
  text-decoration: underline;
  text-decoration-color: #90771B;
  text-shadow: 0px 0px 10px #FFDF6B;
}

body.light-mode .fake-link:active {
  color: white;
  font-weight: 550;
  text-decoration: underline;
  text-decoration-color: white;
  text-shadow: 0px 0px 10px #E1C53B;
  letter-spacing: 3px;
}

body.dark-mode .fake-link {
  color: #FFEFC9;
  font-weight: 200;
  letter-spacing: 3px;
}

body.dark-mode .fake-link:hover {
  color: #FFECB3;
  text-shadow: 0px 0px 10px #FFFFFF;
  font-weight: 300;
  text-decoration: underline;
  text-decoration-color: #FFEFC9;
  letter-spacing: 3px;
}

body.dark-mode .fake-link:active {
  color: #FFECB3;
  font-weight: normal;
  text-decoration: underline;
  text-decoration-color: white;
  text-shadow: 0px 0px 10px #FFEFC9;
  letter-spacing: 3px;
}
























/* VERSION MOBILE */



/* MOBILE ONLY NAVIGATION */
/* ---- MOBILE HEADER, NAVIGATION & MASQUAGE ---- */
@media (max-width: 900px) {

  /* 1. Le header mobile (logo + bouton) */
  .mobile-header { display: block !important; }

  /* 2. Bouton menu mobile uniquement (PAS le menu !) */
  .mobile-only { display: block !important; }

  /* 3. Masquer tous les éléments d’entête desktop et nav desktop en mobile */
  .moon-container,
  .languagechoice,
  .overlay-text,
  .tabbed-content .tabs,
  nav.tabs,
  .tabbed-content nav,
  .tusseau-header-logo-container .overlay-text,
  .header-image.landscape-image + .overlay-text,
  .tusseau-header-logo-container .overlay-text.transition {
    display: none !important;
  }

@media (max-width: 900px) {
  .tusseau-header-logo-container {
    width: 100% !important;
    text-align: center !important;
    max-width: 100vw !important;
  }
  .tusseau-header-logo-container .mobile-header-logo {
    width: 100vw !important;     /* Ou 100vw si tu veux vraiment max */
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    display: block !important;
    margin: 0 auto 16px auto !important;
  }
}


  /* 5. Le menu mobile : NE PAS le rendre visible ici ! 
        Il DOIT rester caché (display:none) tant que JS ne l’ouvre pas ! 
        Juste lui donner son style général quand il est visible. */
  #mobile-menu {
    /* display: block;   <-- surtout PAS !! */
    position: fixed;
    z-index: 10000;
    left: 0; right: 0; top: 0; bottom: 0;
    background: radial-gradient(circle at 50% 40%, #fffbe6 0%, #f5ebd5 100%);
    color: #90771B;
    text-align: center;
    padding-top: 3.5rem;
    font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    font-weight: 500;
    font-size: 1.18em;
    letter-spacing: 0.13em;
    overflow-y: auto;
  }

  /* --------- LIGHT MODE --------- */
body.dark-mode #mobile-menu {
    background: radial-gradient(circle at 50% 40%, #43423f 0%, #25231a 100%);
    color: #C0B370;
}

  /* --------- DARK MODE --------- */
body.light-mode #mobile-menu {
    background: radial-gradient(circle at 50% 40%, #fffbe6 0%, #f5ebd5 100%);
    color: #90771B;
}

  #mobile-menu ul { list-style: none; padding: 0 0 1em 0; margin: 0; }
  #mobile-menu ul li { margin: 0.7em 0; }  /* <-- adapte si tu veux régler la distance de l'espace entre chaque titre */

  #mobile-menu ul .separator {
    border-bottom: 2px solid #90771B;
    margin: 1em auto;
    width: 60%;
    height: 0;
    list-style: none;
  }
  body.dark-mode #mobile-menu ul .separator {
    border-bottom: 2px solid #C0B370;
  }
  body.light-mode #mobile-menu ul .separator {
    border-bottom: 2px solid #938021;  /* <-- adapte si tu veux une couleur différente en light mode */
  }

  body.dark-mode #mobile-menu ul li a {
    color: #ffecb3;
    text-decoration: none;
    font-size: 1em;
    font-weight: 400;
    letter-spacing: 0.11em;
    display: block;
    padding: 0.4em 0;
    margin-top: -3%;
    margin-bottom: -3%;
  }

  body.light-mode #mobile-menu ul li a {
    color: #90771B;
    text-decoration: none;
    font-size: 1em;
    font-weight: 400;
    letter-spacing: 0.11em;
    display: block;
    padding: 0.4em 0;
    margin-top: -3%;
    margin-bottom: -3%;
  }

  body.dark-mode #mobile-menu ul li a { color: #ffecb3; }
  body.light-mode #mobile-menu ul li a { color: #90771B; }  /* <-- Ajout explicite */
  body.dark-mode #mobile-menu ul li p { color: #90771b; }
  body.light-mode #mobile-menu ul li p { color: #90771B; }  /* <-- Ajout explicite */


  body.dark-mode #mobile-menu ul li p {
    color: #90771B;
    text-decoration: none;
    font-size: 1.7em;
    font-weight: 400;
    letter-spacing: 0.11em;
    display: block;
    padding: 0.4em 0;
    margin-top: -7%;
    margin-bottom: -7%;
  }

  body.light-mode #mobile-menu ul li p {
    color: #90771B;
    text-decoration: none;
    font-size: 1.7em;
    font-weight: 400;
    letter-spacing: 0.11em;
    display: block;
    padding: 0.4em 0;
    margin-top: -7%;
    margin-bottom: -7%;
  }




  body.dark-mode #mobile-menu ul .sub-menu li a {
    font-size: 1em;
    font-weight: 400;
    letter-spacing: 0.09em;
  }

  body.light-mode #mobile-menu ul .sub-menu li a {
    font-size: 1em;
    font-weight: 400;
    letter-spacing: 0.09em;
  }

  #mobile-menu .mode-btn { color: #90771B; }
  body.dark-mode #mobile-menu .mode-btn { color: #C0B370; }
  body.light-mode #mobile-menu .mode-btn { color: #90771B; } /* <-- Ajout explicite */

  #mobile-menu .menu-languages span { color: #90771B; }
  body.dark-mode #mobile-menu .menu-languages span { color: #C0B370; }
  body.light-mode #mobile-menu .menu-languages span { color: #90771B; } /* <-- Ajout explicite */
}


@media (max-width: 900px) {
  #close-mobile-menu {
    color: #90771B;
    font-family: 'Work Sans', Arial, Helvetica, sans-serif;
    font-size: 1.2em;
    font-weight: 200;
    letter-spacing: 0.08em;
    border: none;
    background: none;
    margin: 2rem auto 2rem auto;
    display: block;
    cursor: pointer;
    transition: color 0.18s;
  }

  body.dark-mode #close-mobile-menu {
    color: #C0B370;
  }

  body.light-mode #close-mobile-menu {
    color: #90771B;
  }
}


#mobile-menu .flags {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 3em;
    margin: 0 auto 1.2em auto;
}

#mobile-menu .flags img {
    height: 35px;
    width: auto;
    object-fit: contain;
    display: block;
    margin: 0;
    margin-top: -8%;
    /* border-radius: 0.45em;  <-- SUPPRIMÉ */
    /* PAS de border, PAS d'ombre, PAS de background */
}




















/* ---- Version desktop : cache tout ce qui est mobile ---- */
@media (min-width: 901px) {
  .mobile-header, .mobile-only { display: none !important; }
}
@media (max-width: 900px) {
  .desktop-header { display: none !important; }
}
@media (min-width: 901px) {
  .desktop-header { display: block !important; }
}

@media (max-width: 900px) {
  .mobile-header { display: block !important; }
}
@media (min-width: 901px) {
  .mobile-header { display: none !important; }
}



@media (max-width: 900px) {
  #mobile-menu-button {
    width: 100%;
    text-align: center; /* Pour les anciens navigateurs, mais normalement display:block;margin:auto suffit */
  }
  #sommaire-img {
    display: block;
    margin: 0 auto;
    width: 90vw;
    max-width: 600px;
  }
}


@media (max-width: 800px) {
  .mobile-header-logo {
    width: 80% !important;      /* Mets ici 10%, 20%, 50%, 80%... ce que tu veux */
    max-width: none !important; /* AUCUNE limite max imposée */
    min-width: 0 !important;    /* Optionnel : autorise la réduction maximale */
    height: auto !important;
    display: block;
    margin: 0 auto 16px auto;
  }
}












@media (max-width: 900px) {
  /* Cacher la scrollbar verticale dans le menu mobile */
  #mobile-menu {
    scrollbar-width: none;     /* Firefox */
    -ms-overflow-style: none;  /* IE & Edge */
  }
  #mobile-menu::-webkit-scrollbar {
    display: none;             /* Chrome, Safari, Opera */
    width: 0;
    background: transparent;
  }
}

@media (max-width: 900px) {
  html, body {
    overflow-y: scroll;
    scrollbar-width: none;     /* Firefox */
    -ms-overflow-style: none;  /* IE & Edge */
  }
  html::-webkit-scrollbar,
  body::-webkit-scrollbar {
    display: none;
    width: 0;
    background: transparent;
  }
}
