body {
	font-family: "GeosansLight";
}
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body, html {
  height: 100%;
  overflow-x: hidden; /* OK */
  overflow-y: auto;   /* indispensable */
}

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Masquer le contenu principal au départ */
.hidden {
  display: none;
}

/* Vidéo background */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
}
 /* Logo */
.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  opacity: 0;
  animation: logoFadeIn 1s ease-out 0.5s forwards;
}
.logo img {
 width: 148px;
  height: 58px;
  }
@keyframes logoFadeIn {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}



/* ICONES DROITES */
.header-right {
  display: flex;
  align-items: center;
  gap: 25px;
}
/* SON */
.sound-btn {
  background: none;
  border: none;
  cursor: pointer;
}

.sound-icon {
  width: 28px;
}
/* Audio boutons */
.audio-controls {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 30;
}
.audio-btn {
  width: 106px;
  height: 36px;
  cursor: pointer;
 transition: opacity 0.3s ease, transform 0.3s ease;
}
.audio-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

.hidden {
  display: none;
}
/* Footer */
footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3000; 
  border-top: 1px solid #e5e5e5;
}
/* séparateurs verticaux entre liens légaux */
/* Remplacer l'ancienne règle des ::after par ceci */
.footer-legals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.footer-legals a {
  color: #ffffff;
  text-decoration: none;
  padding: 0 14px; /* espace horizontal autour du texte */
  position: relative;
  white-space: nowrap;
  transition: opacity 0.25s ease, transform 0.18s ease;
}

/* placer un trait vertical à gauche de chaque lien sauf le premier */


/* hover / focus */
.footer-legals a:hover,
.footer-legals a:focus {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* mobile : réduire la hauteur du trait et augmenter l'espacement */
@media screen and (max-width: 480px) {
  .footer-legals a {
    padding: 6px 12px;
    font-size: 0.95rem;
  }
  .footer-legals a + a::before {
    height: 16px;
    left: 0;
  }
}


.footer-hidden {
  opacity: 0;
  transform: translateY(50px);
}

.footer-animate {
  animation: footerSlideUp 1.2s ease-out forwards;
}
.footer-overlay {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px 10px; 
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}
/* --- Footer : documents légaux alignés --- */
.footer-legals {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  opacity: 0;
  animation: fadeInText 1.2s ease-out 1.6s forwards;
  margin-top: -10px;
}

.footer-legals a {
  color: #ffffff;
  text-decoration: none;
  padding: 2px 6px;
  transition: opacity 0.25s ease, transform 0.18s ease;
  white-space: nowrap;
}

.footer-legals a:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

.footer-dot {
  color: rgba(255,255,255,0.6);
  margin: 0 4px;
  user-select: none;
}

/* Ajustements pour .footer-overlay : garder alignement centré en desktop */
.footer-overlay {
  padding: 12px 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  text-align: center;
}

/* Forcer les blocs à s'aligner verticalement en colonnes sur petits écrans */
@media screen and (max-width: 1080px) {
  .footer-overlay {
    flex-direction: column;
    gap: 10px;
    padding: 14px 12px;
  }
  .footer-block {
    white-space: normal;
    font-size: 0.95rem;
    opacity: 1; /* éviter délai d'apparition trop long sur mobile */
    animation: none;
  }
  .social-icons img {
    width: 28px;
    opacity: 1;
    transform: none;
    animation: none;
  }
  .footer-legals {
    justify-content: center;
    gap: 10px;
    font-size: 0.95rem;
    margin-top: 4px;
  }
  .footer-address-only {
    display: none; /* tu peux réactiver si tu veux l'afficher sur mobile */
  }
}
/* Accessibilité : focus visible pour les liens */
.footer-legals a:focus,
.footer-title a:focus,
.social-icons a:focus {
  outline: 2px solid rgba(255,255,255,0.18);
  outline-offset: 3px;
  border-radius: 2px;
}

.footer-animate {
  animation: footerSlideUp 0.5s ease-out forwards;
}
.footer-block {
  white-space: nowrap;
  color: white;
  font-size: 1rem;
  opacity: 0;
  animation: fadeInText 2s ease-out 1.5s forwards;
}
.footer-title a {
 color: white;
 text-decoration: none;
 transition: opacity 0.3s ease;
}
.footer-separator {
  width: 1px;
  height: 30px;
  background-color: white;
  opacity: 0.4;
}

.social-icons {
  display: flex;
  gap: 15px;
}
.social-icons img {
  width: 29px;
  opacity: 0;
  transform: translateX(50px);
  animation: iconSlideIn 1s ease-out forwards;
}
.social-icons img:nth-child(1) { animation-delay: 1s; }
.social-icons img:nth-child(2) { animation-delay: 1.5s; }
.social-icons img:nth-child(3) { animation-delay: 2.0s; }
.social-icons img:nth-child(4) { animation-delay: 2.5s; }
.social-icons img:nth-child(5) { animation-delay: 3.0s; }
.social-icons img:nth-child(6) { animation-delay: 3.5s; }

@keyframes fadeInText {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes iconSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@keyframes footerSlideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
  
}
  /* Responsive sous 1080px */
@media screen and (max-width: 1080px) {
  #loader {
  width: 100%;
  height: 100%;
  }
   .logo img {
    width: 100px;
    height: 39px;
  }
  .audio-btn {
  width: 86px;
  height: 29px;
 }
  .footer-overlay {
    flex-direction: column;
    gap: 10px;
  }
   .footer-separator {
    display: none;
  }
  .footer-block {
    font-size: 30px;
  }
  .social-icons {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
   .footer-address-only {
    display: none;
  }
}
