/* ══════════════════════════════════════════════════════════════════
   Mobile hamburger nav — menu plein écran soigné (sombre + or)
   ══════════════════════════════════════════════════════════════════ */

/* ── Bouton hamburger ── */
.nb-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 6px;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 1001;
}
.nb-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(244,241,232,0.9);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nb-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nb-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nb-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 680px) {
  .nb-burger { display: flex; }
}

/* ── Overlay plein écran ── */
.nb-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.nb-overlay.nb-open { display: block; }

/* ── Panneau : plein écran, colonne flex ── */
.nb-panel {
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(226,206,22,0.10) 0%, transparent 55%),
    linear-gradient(180deg, #0c0b08 0%, #080706 100%);
  animation: nbSlide 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
@keyframes nbSlide {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* En-tête */
.nb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  height: 66px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(226,206,22,0.12);
}
.nb-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  color: #f4f1e8;
  text-decoration: none;
  letter-spacing: 1.5px;
}
.nb-logo em { color: #E2CE16; font-style: normal; }

.nb-close {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: #c9c4ba;
  cursor: pointer;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.15s;
}
.nb-close:hover, .nb-close:active {
  color: #fff; background: rgba(226,206,22,0.08); border-color: rgba(226,206,22,0.3);
  transform: rotate(90deg);
}

/* ── Liens de navigation ── */
.nb-links {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 6px;
  gap: 2px;
}
.nb-link {
  position: relative;
  color: #f4f1e8 !important;
  text-decoration: none !important;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.4px;
  padding: 15px 16px 15px 18px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  transition: color 0.15s, background 0.15s, padding-left 0.18s;
}
/* Chevron à droite */
.nb-link::after {
  content: '›';
  margin-left: auto;
  font-size: 22px;
  color: rgba(244,241,232,0.25);
  transition: color 0.15s, transform 0.18s;
}
/* Barre d'accent à gauche */
.nb-link::before {
  content: '';
  position: absolute;
  left: 6px; top: 50%;
  width: 3px; height: 0;
  background: #E2CE16;
  border-radius: 2px;
  transform: translateY(-50%);
  transition: height 0.18s ease;
}
.nb-link:hover, .nb-link:active {
  color: #E2CE16 !important;
  background: rgba(226,206,22,0.06);
  padding-left: 22px;
}
.nb-link:hover::after, .nb-link:active::after { color: #E2CE16; transform: translateX(2px); }
.nb-link:hover::before { height: 60%; }
.nb-link.nb-active {
  color: #E2CE16 !important;
  background: rgba(226,206,22,0.05);
}
.nb-link.nb-active::before { height: 60%; }

/* ── Bas : langues + réseaux (collé en bas, centré) ── */
.nb-extra {
  margin-top: auto;
  padding: 22px 22px calc(24px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.nb-section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6f6a63;
  margin-bottom: 8px;
  text-align: center;
}
.nb-langs { display: flex; gap: 7px; flex-wrap: wrap; justify-content: center; }
.nb-lang-link, .nb-lang-cur {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 13px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.nb-lang-link {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  color: #b8b3aa !important;
}
.nb-lang-link:hover, .nb-lang-link:active {
  color: #E2CE16 !important; background: rgba(226,206,22,0.07); border-color: rgba(226,206,22,0.3);
}
.nb-lang-cur {
  background: rgba(226,206,22,0.10);
  border: 1px solid rgba(226,206,22,0.35);
  color: #E2CE16;
}

.nb-socials { display: flex; gap: 9px; flex-wrap: wrap; justify-content: center; }
.nb-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  color: #b8b3aa !important;
  text-decoration: none !important;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color 0.15s, background 0.15s, border-color 0.15s, transform 0.15s;
}
.nb-social:hover, .nb-social:active { color: #f4f1e8 !important; background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.16); transform: translateY(-1px); }
.nb-social--discord:hover, .nb-social--discord:active { color: #5865F2 !important; border-color: rgba(88,101,242,0.45); background: rgba(88,101,242,0.10); }

/* Sur mobile : cache les socials + lang-selector de la nav (ils sont dans le hamburger) */
@media (max-width: 680px) {
  .nav-right > a,
  .lang-selector { display: none !important; }
}
