/* Bouton menu mobile */
.mobile-menu-btn {
  display: none; /* Caché sur desktop */
  position: relative;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1001;
  margin-left: 15px;
}

/* Barres internes du menu burger */
.mobile-menu-btn span {
  display: block;
  position: absolute;
  width: 25px;
  height: 3px;
  background-color: #ffffff; /* Visible sur header sombre */
  transition: all 0.3s ease;
  left: 0;
}

.mobile-menu-btn span:nth-child(1) { top: 0; }
.mobile-menu-btn span:nth-child(2) { top: 10px; }
.mobile-menu-btn span:nth-child(3) { top: 20px; }

/* Menu mobile */
.mobile-menu {
  display: none;
}

.mobile-menu.active {
  display: block;
  position: absolute;
  top: 60px;
  right: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: right;
  z-index: 1000;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu ul li {
  margin: 15px 0;
}

.mobile-menu ul li a {
  color: #0a1929;
  font-size: 18px;
  text-decoration: none;
  font-weight: bold;
}

/* Affichage mobile : breakpoint modernisé */
@media (max-width: 1024px) {

  /* Affichage du bouton */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  /* Assurer que le conteneur header est positionné correctement */
  .header-inner {
    position: relative;
    z-index: 1001;
  }

  /* Cacher le menu desktop sur mobile */
  .main-nav {
    display: none;
  }

  .main-nav.active {
    display: block;
  }

}
