body {
    font-family: Helvetica, serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #ffff;
}

.header {
    background-color: black;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.5% 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-section {
    margin: 0 13%;
}

.header-section a {
    text-decoration: none;
    color: #fff; /* Police noire */
    font-size: 0.8rem;
    font-weight: bold;
    position: relative; /* Pour positionner le soulignement */
}

.header-section a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #fff;
}

/* Lors du survol, le soulignement apparaît */
.header-section a:hover::after {
    width: 100%; /* Étendre le soulignement */
    transition: width 0.1s ease-in-out; /* Lors du survol, le soulignement apparaît rapidement */
}

/* Quand on quitte le survol, garder le soulignement pendant 1 seconde */
.header-section a::after {
    transition: width 0.2s ease-in-out, width 0.2s ease-out 0.2s; /* Maintenir pendant 1 seconde */
}



/* Conteneur principal pour diviser la page */
.container {
    display: flex;
    width: 100%;
    height: 96.5%; /* Prend toute la hauteur de la fenêtre */
}

/* Colonne de gauche (carte SVG) */
.left-column {
    width: 66.66%; /* 2/3 de la page */
    padding: 0;
    background-color: #f0f0f0; /* Une couleur de fond légère pour la colonne gauche */
    overflow: hidden; /* Assure que la carte ne déborde pas */
    border-right: 1px solid black; /* Trait noir à droite */
    display: flex;
    justify-content: center; /* Centre la carte horizontalement */
    align-items: center; /* Centre la carte verticalement */
}




/* Colonne de droite (pour tout le contenu textuel ou image) */
.right-column {
    width: 33.33%; /* 1/3 de la page */
    display: flex;
    justify-content: ; /* Centre le contenu horizontalement */
    align-items: flex-start; /* Aligne le contenu en haut de la colonne */
    background-color: #fff; /* Fond clair pour la colonne de droite */
    flex-direction: column; /* Permet un alignement vertical pour le texte */
    min-height: 70vh; /* Assurez-vous que la colonne de droite occupe toute la hauteur de la fenêtre */
}

#entreprise-details {
    flex: 1;
    overflow-y: auto;
    width: 100%;
    box-sizing: border-box;
    padding: 1rem;
}


#mode-emploi img {
    width: 87%; /* L'image occupe 80% de la largeur de la colonne */
    max-width: 90%; /* L'image ne dépasse pas la largeur de la colonne */
    height: auto; /* Garde le ratio de l'image */
    object-fit: contain; /* Préserve l'intégrité de l'image */
    margin-left: 3%;
    margin-top: 13%;
}


.vertical-menu {
    position: fixed;
    right: 0.6%;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 7vw;
    z-index: 1000; /* S'assurer que le menu reste au-dessus du contenu */
}

.vertical-menu a {
    writing-mode: vertical-rl;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    color: black;
    padding: 0;
    border-radius: 0;
    position: relative; /* Pour pouvoir positionner le soulignement */
}

/* Animation du soulignement pour le menu vertical */
.vertical-menu a::after {
    content: "";
    position: absolute;
    left: -17%; /* Décalage vers la gauche pour le soulignement */
    bottom: -2px; /* Déplacer le soulignement sous le texte */
    height: 0; /* Le soulignement commence avec une hauteur de 0 */
    width: 1.5px; /* Largeur du soulignement (très fin) */
    background-color: black;
    transition: height 0.1s ease-in-out; /* Transition de l'apparition et disparition du soulignement */
}

/* Lors du survol, le soulignement apparaît de bas en haut */
.vertical-menu a:hover::after {
    height: 100%; /* Étendre le soulignement sur toute la hauteur de l'élément */
    transition: height 0.2s ease-in-out; /* Transition qui prend 1 seconde */
}

/* Lors du départ de la souris, le soulignement disparaît */
.vertical-menu a::after {
    transition: height 0.2s ease-in-out; /* Le soulignement disparaît de bas en haut en 1 seconde */
}




.content {
    display: none;
}

.content.active {
    display: block;
}




.barre-droite {
    position: fixed;
    top: 0;
    right: 2.15%;
    width: 0.6px;
    height: 100vh;
    background-color: black;
    margin-top: 2%;
}







/* Style pour la bande inférieure */
.footer {
    display: flex;
    width: 100%;
    height: 3.5%;
    background-color: #fff;
    border-top: 1px solid black;
}

/* Première partie : Cases à cocher */
.checkboxes {
    width: 66.66%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    color: black;
    border-right: 1px solid black;
    margin-bottom: 0%;
}




/* Deuxième partie : Titres cliquables */
.links {
    width: 33.33%; /* 1/3 de la bande */
    display: flex;
    justify-content: center; /* Centre les éléments */
    gap: 10vw; /* Espace précis entre les titres */
    align-items: center;
    font-size: 0.7rem;
    color: black;
    margin-bottom: 0%;
}

.links a {
    text-decoration: none;
    color: black !important;
    position: relative;
    z-index: 1; /*  S’assure que le lien (et son ::after) est au-dessus */
    line-height: 1.2; /*  Garde de l’espace vertical sous le texte */
}

.links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px; /*  Léger espace pour qu’il ne touche pas le texte */
    width: 0;
    height: 1px;
    background-color: black;
    z-index: 2; /*  Met le soulignement devant tout */
    transition: width 0.2s ease-in-out;
}

.links a:hover::after {
    width: 100%;
    transition: width 0.1s ease-in-out;
}


/* Quand on quitte le survol, garder le soulignement pendant 1 seconde */
.links a::after {
    transition: width 0.2s ease-in-out, width 0.2s ease-out 0.2s; /* Maintenir pendant 1 seconde */
}





/* Conteneur modale */
.contact-container {
  display: none; /* Cacher par défaut */
  position: fixed;
  top: 7%; /* Place à 10% du haut de l'écran */
  right: 3%; /* Marge de 2% à droite */
  width: 26.8%; /* Largeur égale à celle de la colonne droite */
  background-color: white; /* Fond blanc */
  border: 1px solid black; /* Bordure noire */
  z-index: 1001; /* Au-dessus du contenu */
  padding: 20px; /* Espacement interne */
  overflow: hidden;
  height: 79%;
  justify-content: center;
  align-items: center;
}

/* Bouton de fermeture */
.close-btn {
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  background: transparent;
  border: none;
  color: #DDDCDA;
  cursor: pointer;
}

.close-btn:hover {
  transition: color 0.3s ease;
  color: black;
}

.contact-content {
  text-align: center; /* Centre le texte */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px; /* Ajoute de l'espace sous le bouton */
}

/* Contenu de la section contact */
.contact-content h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: ;
}

.contact-content p {
  margin-top: 10px;
  font-size: 1rem;
  color: #333;
}





.search-container {
    position: absolute;
    bottom: 9%;
    left: 1%;
    height: 13px; /* Augmenté pour un meilleur rendu */
    background: white;
    padding: 5px;
    border-radius: 0px;
    border: 1px solid black;
    display: flex;
    align-items: center; /* Centre verticalement */
}

.search-container input {
    border: none;
    padding: 3px;
    width: 230px;
    text-align: center;
    height: 100%; /* Prend toute la hauteur du conteneur */
    font-size: 13px; /* Ajuste la taille du texte */
    outline: none; /* Supprime le contour bleu */
}

.search-container button {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px; /* Taille du bouton */
}





/* Style de la légende des icônes dans le footer */
.legend {
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.65rem;
  overflow-x: auto;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}

.legend-item img {
  width: 13px;
  height: 13px;
}








/* Bouton fixe en bas à gauche */
#mentionsBtn {
  position: fixed;
  right: 0%;
  width: 2.1vw;
  height: auto;
  padding: 0.2vw;
  background: white;
  border: 0px solid black;
  font-size: 0.5rem;
  cursor: pointer;
  z-index: 999;
  line-height: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Conteneur popup */
#mentionsPopup {
  display: none;
  position: fixed;
  top: 7%;
  right: 3%;
  width: 26.8%;
  height: 79%;
  background: white;
  border: 1px solid black;
  padding: 20px;
  z-index: 1001;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}

/* Bouton de fermeture */
#closeMentions {
  position: absolute;
  top: 5px;
  left: 50%;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #DDDCDA;
  transform: translateX(-50%);
}

#closeMentions:hover {
  transition: color 0.3s ease;
  color: black;
}


/* Rendre le contenu scrollable */
.mentions-content {
  margin-top: 20px;
  font-size: 0.75rem;
  color: #333;
  overflow-y: auto;
  height: 100%;
  width: 100%;
  padding-right: 7%; /* pour que le texte ne soit pas caché par la scrollbar */
  box-sizing: border-box;
}











