/*NE PAS TOUCHER*/
/*NE PAS TOUCHER*/
/*NE PAS TOUCHER*/
/*NE PAS TOUCHER*/
/*NE PAS TOUCHER*/
/*NE PAS TOUCHER*/
/*NE PAS TOUCHER*/
/*NE PAS TOUCHER*/
/*NE PAS TOUCHER*/

/* --- Base Header --- */
.header-landing {
  background: transparent;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  padding: 20px;
  z-index: 1000;
}

.header-inner {
  max-width: 100em;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  height: 100%;
  display: flex;
  align-items: center;
}

.logo {
  height: 100%;
  width: auto;
  display: block;
}

/* --- Desktop nav --- */
.nav-desktop {
  display: flex;
  gap: 20px;
}

.nav-desktop a,
.nav-desktop a:visited {
  display: inline-block;
  font-family: inherit;
  font-size: 13px;
  text-decoration: none;
  color: rgb(0, 0, 0);
  position: relative;
  padding: 7px 12px 6px 12px;
  transition: color 0.15s ease;
}

.nav-desktop a:not(.lang-switch)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.nav-desktop a:not(.lang-switch):hover::after {
  opacity: 1;
}

.nav-desktop a.lang-switch {
  color: rgb(0, 0, 0);
  border: 1px solid rgb(0, 0, 0);
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-desktop a.lang-switch:hover {
  background-color: rgb(0, 0, 0);
  color: white;
}

/* --- Hamburger button --- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  /*FAIRE EN SORTE QUE CE SOIT BLANC LORSQUE OUVERT MAIS NOIR LORSQUE FERMÉ*/
  /*FAIRE EN SORTE QUE CE SOIT BLANC LORSQUE OUVERT MAIS NOIR LORSQUE FERMÉ*/
  /*FAIRE EN SORTE QUE CE SOIT BLANC LORSQUE OUVERT MAIS NOIR LORSQUE FERMÉ*/
  background: rgb(0, 0, 0); 
  /*FAIRE EN SORTE QUE CE SOIT BLANC LORSQUE OUVERT MAIS NOIR LORSQUE FERMÉ*/
  /*FAIRE EN SORTE QUE CE SOIT BLANC LORSQUE OUVERT MAIS NOIR LORSQUE FERMÉ*/
  /*FAIRE EN SORTE QUE CE SOIT BLANC LORSQUE OUVERT MAIS NOIR LORSQUE FERMÉ*/
  
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* --- Mobile nav (always exists, offscreen) --- */
.nav-mobile {
  position: fixed;
  top: -100vh; /* hidden above viewport */
  left: 0;
  width: 100%;
  height: 100vh;
  background: #ff1e69;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  transition: transform 0.45s ease;
  z-index: 1000;
}

.nav-mobile a {
  font-family: inherit;
  font-size: 13px;
  color: rgb(255, 255, 255);
  text-decoration: none;
  padding: 7px 12px 6px 12px;
  position: relative;
}

.nav-mobile a:not(.lang-switch)::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.15s ease;
}

.nav-mobile a:not(.lang-switch):hover::after {
  opacity: 1;
}

.nav-mobile a.lang-switch {
  color: rgb(255, 255, 255);
  border: 1px solid rgb(255, 255, 255);
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-mobile a.lang-switch:hover {
  background-color: white;
  color: #131f1d;
}

/* --- Media Queries --- */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* --- Hamburger active state --- */
.menu-open .nav-mobile {
  transform: translateY(100vh); /* slides down into viewport */
}

.menu-open .menu-toggle span {
  background: rgb(255, 255, 255);
  transition: 300ms;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
