/* ══════════════════════════════════════════════════════
   RNA — BOTTOM NAV BAR (mobile only)
   Cole no final do style.css
   Visível apenas até 768px
══════════════════════════════════════════════════════ */

/* Espaço no fundo do body para a barra não tapar conteúdo */
@media (max-width: 768px) {
  body { padding-bottom: 62px; }
}

/* ─── OVERLAY (fundo escuro quando painel abre) ─── */
.bnav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 1100;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.bnav-overlay.open { display: block; }

/* ─── BARRA FIXA INFERIOR ─── */
.bottom-nav {
  display: none; /* desktop: oculto */
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1200;
}

@media (max-width: 768px) {
  .bottom-nav { display: block; }
}

/* ─── BARRA PRINCIPAL ─── */
.bnav-bar {
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  background: var(--azul);
  border-top: 1px solid rgba(201,150,12,.35);
  height: 62px;
  padding: 0 4px;
  padding-bottom: env(safe-area-inset-bottom); /* iPhone notch */
}

/* ─── BOTÕES DA BARRA ─── */
.bnav-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color .2s;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}
.bnav-icon-btn i { font-size: 18px; }
.bnav-icon-btn:hover,
.bnav-icon-btn.active { color: var(--ouro-claro); }

/* Botão Ao Vivo */
.bnav-live { position: relative; }
.bnav-live-dot {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: rgba(200,30,30,.2);
  border: 1.5px solid rgba(200,30,30,.6);
  display: flex; align-items: center; justify-content: center;
}
.bnav-live-dot::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #e03030;
  animation: blink 1.2s ease-in-out infinite;
}

/* Hamburger dentro da barra */
.bnav-hbr {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 4px; width: 20px; height: 20px;
}
.bnav-hbr span {
  display: block; width: 18px; height: 2px;
  background: rgba(255,255,255,.45);
  border-radius: 2px;
  transition: all .25s ease;
  transform-origin: center;
}
.bnav-hamburger.open .bnav-hbr span:nth-child(1) { transform: translateY(6px) rotate(45deg); background: var(--ouro-claro); }
.bnav-hamburger.open .bnav-hbr span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.bnav-hamburger.open .bnav-hbr span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); background: var(--ouro-claro); }
.bnav-hamburger.open { color: var(--ouro-claro); }

/* ─── PAINEL QUE SOBE ─── */
.bnav-panel {
  position: fixed;
  bottom: 62px; left: 0; right: 0;
  z-index: 1150;
  transform: translateY(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
}
.bnav-panel.open {
  transform: translateY(0);
  pointer-events: auto;
}

.bnav-panel-inner {
  background: #0d1f5c;
  border-top: 1px solid rgba(201,150,12,.3);
  border-radius: 16px 16px 0 0;
  padding: 20px 0 12px;
  max-height: 70vh;
  overflow-y: auto;
}

/* Título do painel */
.bnav-panel-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--ouro);
  padding: 0 24px 12px;
  border-bottom: 0.5px solid rgba(201,150,12,.2);
  margin-bottom: 4px;
}

/* Links do painel */
.bnav-links {
  display: flex;
  flex-direction: column;
}

.bnav-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 24px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  border-bottom: 0.5px solid rgba(255,255,255,.05);
  transition: all .15s;
}
.bnav-link i {
  width: 20px;
  text-align: center;
  font-size: 15px;
  color: rgba(201,150,12,.5);
  transition: color .15s;
}
.bnav-link:hover,
.bnav-link.active {
  color: var(--ouro-claro);
  background: rgba(201,150,12,.08);
  padding-left: 30px;
}
.bnav-link:hover i,
.bnav-link.active i { color: var(--ouro); }

/* Redes sociais no painel */
.bnav-panel-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 16px 24px 4px;
  border-top: 0.5px solid rgba(255,255,255,.06);
  margin-top: 4px;
}
.bnav-panel-social a {
  color: rgba(255,255,255,.3);
  font-size: 18px;
  text-decoration: none;
  transition: color .2s;
}
.bnav-panel-social a:hover { color: var(--ouro-claro); }
