/* BOUTON BURGER */
.burger {
  width: 20px;
  height: 20px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  z-index: 501;
  position: relative;
}

.burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform-origin: center;
  border-radius: 20px;
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.35s cubic-bezier(0.77, 0, 0.175, 1), width 0.35s cubic-bezier(0.77, 0, 0.175, 1);
}


/* État actif du burger */
.burger.is-active .burger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.burger.is-active .burger__line:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}

/* OVERLAY */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: #0a090550;
  backdrop-filter: blur(3px);
  z-index: 499;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s cubic-bezier(0.77, 0, 0.175, 1);
}

.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

    /* MENU — MODE DROPDOWN (défaut) */
.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: fixed;
  top: 60px;
  right: 0;
  width: 100%;
  background: #0a090550;
  z-index: 499;
  padding: 1.5rem 0;
  transform: translateY(-120%);
  transition: transform 1s cubic-bezier(0.77, 0, 0.175, 1);
  backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav-menu.is-open {
  transform: translateX(0);
}

/* LIENS DE NAVIGATION */
.nav-menu__list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.nav-menu__item a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 38px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: color 0.2s;
  position: relative;
}

.nav-menu__item a:hover {
  color: var(--white);
  padding-left: 2.5rem;
}

/* Tag optionnel */
.nav-menu__tag {
  margin-left: auto;
  font-size: 0.65rem;
  font-family: 'DM Mono', monospace;
  background: var(--link-accent);
  color: #0d0d0d;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Section / séparateur */
.nav-menu__section {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #555;
  padding: 1rem 2rem 0.4rem;
  font-family: 'DM Mono', monospace;
}