/* ═══════════════════════════════════════
   NAVIGATION — Bauvin Les Lions
   Modifier ici : nav, hamburger, mobile menu
════════════════════════════════════════ */

nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--nav-bg); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(233,30,140,0.18);
  padding: .6rem 1.4rem; transition: background .3s;
}
.nav-in {
  max-width: 980px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem;
}

/* ── Logo ── */
.nav-logo { display: flex; align-items: center; gap: .7rem; cursor: pointer; }
.nav-logo-img {
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: 2px solid var(--rose);
  overflow: hidden; flex-shrink: 0;
}
.nav-logo-img img { width: 100%; height: 100%; object-fit: contain; }
.nav-brand { font-family: var(--fd); font-size: 1.25rem; letter-spacing: 3px; color: var(--rose); }

/* ── Boutons nav ── */
.nav-right { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; }
.nb {
  background: none; border: none; color: var(--txt3);
  font-family: var(--fc); font-size: .78rem; letter-spacing: 2px;
  text-transform: uppercase; cursor: pointer;
  padding: 5px 10px; border-radius: 4px;
  transition: color .2s, background .2s; white-space: nowrap;
}
.nb:hover, .nb.on { color: var(--txt); background: rgba(233,30,140,0.14); }
.nb.adm { color: var(--cyan); border: 1px solid rgba(0,200,232,0.3); }
.nb.adm:hover { background: rgba(0,200,232,0.10); }

/* ── Toggle thème ── */
.theme-btn {
  background: none; border: 1px solid var(--border); color: var(--txt3);
  cursor: pointer; padding: 5px 9px; border-radius: 4px;
  font-size: .85rem; transition: all .2s; flex-shrink: 0;
}
.theme-btn:hover { border-color: var(--rose); color: var(--rose); }

/* ── Hamburger (mobile) ── */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--txt); border-radius: 2px; transition: all .3s;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── Menu mobile ── */
.mobile-menu {
  display: none; position: fixed; top: 58px; left: 0; right: 0;
  z-index: 201; background: var(--nav-bg); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(233,30,140,0.18);
  padding: .8rem 1.4rem; flex-direction: column; gap: .3rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu .nb {
  text-align: left; padding: 12px 16px;
  font-size: .88rem; border-radius: 8px;
  display: flex; align-items: center; gap: 10px;
}
.mobile-menu .nb:hover { background: rgba(233,30,140,.12); }
.mob-icon { font-size: 1.1rem; width: 20px; text-align: center; }

/* ── Bannière prochain match ── */
.next-match-bar {
  background: linear-gradient(90deg, rgba(233,30,140,.1), rgba(0,200,232,.07));
  border-bottom: 1px solid rgba(233,30,140,0.12);
  padding: .36rem 1.4rem;
  font-family: var(--fc); font-size: .7rem; letter-spacing: 1.5px; color: var(--txt3);
  display: none; align-items: center; justify-content: center;
  gap: 8px; flex-wrap: wrap; text-align: center;
}
.next-match-bar strong { color: var(--rose); }
.nmcyan { color: var(--cyan); }

/* ── Bannière live sticky ── */
.live-sticky {
  position: sticky; top: 58px; z-index: 150;
  background: linear-gradient(90deg, rgba(245,158,11,.18), rgba(239,68,68,.14));
  border-bottom: 2px solid rgba(245,158,11,.5);
  padding: .55rem 1.4rem;
  display: none; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--fc); font-size: .78rem; letter-spacing: 1.5px;
  animation: pulseBg 2s ease infinite;
}
.live-sticky.active { display: flex; }
@keyframes pulseBg {
  0%,100% { background: linear-gradient(90deg, rgba(245,158,11,.18), rgba(239,68,68,.14)); }
  50%      { background: linear-gradient(90deg, rgba(245,158,11,.28), rgba(239,68,68,.22)); }
}
.live-score-big { font-family: var(--fd); font-size: 1.2rem; color: var(--rose); letter-spacing: 3px; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .hamburger { display: flex; }
  .nav-right  { display: none; }
}
