/* ================================
   RESET BÁSICO
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b0b0f;
  color: #f5f5f5;
  line-height: 1.5;
}

a,
a:visited {
  color: #f5f5f5 !important;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ================================
   HEADER / MENU MODERNO
================================ */
header {
  background: rgba(5, 5, 9, 0.92);
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

/* LOGO + TÍTULO (AGORA CLICÁVEL) */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, #ffd54f, #f57c00);
}

.brand-title {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: #fff;
}

/* MENU DESKTOP */
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1.25rem;
}

.nav-link {
  position: relative;
  font-size: 0.95rem;
  padding: 0.3rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #f59e0b;
  border-radius: 999px;
  transition: width 0.18s ease-out;
}

.nav-link:hover::after {
  width: 100%;
}

/* MOBILE MENU ICON */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #f5f5f5;
}

/* MOBILE MENU */
.nav-menu {
  display: flex;
}

.nav-menu.open {
  display: block;
}

@media (max-width: 700px) {
  .nav-menu {
    display: none;
    width: 100%;
  }
  .nav-menu.open ul {
    flex-direction: column;
    margin-top: 0.75rem;
    gap: 0.5rem;
  }
  .nav-toggle {
    display: flex;
  }
}

/* ================================
   HERO / BANNERS
================================ */
.hero {
  padding: 3rem 0 2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
}

.hero-main-card {
  background: radial-gradient(circle at top left, #1f2933, #050509);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid #222;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ff5252;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #ff5252;
}

.hero-title {
  font-size: 1.8rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: #cbd5f5;
  margin-bottom: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ================================
   BUTTONS
================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  border: none;
  font-size: 0.9rem;
  cursor: pointer;
}

.btn-primary {
  background: #f57c00;
  color: #050509;
}

.btn-secondary {
  background: transparent;
  color: #f5f5f5;
  border: 1px solid #555;
}

/* ================================
   CARDS / SEÇÕES
================================ */
.section {
  padding: 1.5rem 0 2.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 1.2rem;
}

.section-subtitle {
  font-size: 0.85rem;
  color: #9ca3af;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

/* CARD BASE */
.card {
  background: #111827;
  border-radius: 12px;
  padding: 0.75rem;
  border: 1px solid #1f2933;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #f59e0b; /* borda laranja no hover */
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.35);
}


.card-thumb {
  background: #0b0b0f;
  border-radius: 8px;
  aspect-ratio: 16/9;
  margin-bottom: 0.6rem;
}

.card-title {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: #fff !important;
}

.card-meta {
  font-size: 0.75rem;
  color: #9ca3af !important;
}

.subscribe-highlight {
  font-weight: 700;
  color: #f59e0b !important;
  padding: 2px 6px;
  border-radius: 6px;
}
/* ================================
   PROGRAMA PAGE
================================ */
.page-header {
  padding: 2rem 0 1rem;
}

.page-title {
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.page-description {
  font-size: 0.95rem;
  color: #cbd5f5;
}

.program-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 2rem;
}

.program-hero {
  background: #111827;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid #1f2933;
}

.program-meta {
  font-size: 0.8rem;
  color: #9ca3af;
  margin-top: 0.5rem;
  margin-bottom: 0.75rem;
}

.program-episodes {
  margin-top: 1.5rem;
}

.episode-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #1f2933;
}

.episode-thumb {
  width: 120px;
  border-radius: 8px;
  background: #050509;
  aspect-ratio: 16/9;
}

/* ================================
   PROGRAM THUMBS (HOME)
================================ */

.program-thumb {
  background: #050509;
  border-radius: 8px;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
}

.program-thumb-static {
  background: radial-gradient(circle at top left, #1f2937, #020617);
}

/* Destaque automático (programa do vídeo mais novo) */
.program-card-featured {
  border: 1px solid #f59e0b;
  box-shadow: 0 0 0 1px rgba(245, 158, 11, 0.35),
              0 10px 30px rgba(0, 0, 0, 0.55);
  position: relative;
}

.program-card-featured::before {
  content: "Mais recente";
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  border: 1px solid #f59e0b;
}

/* ================================
   SIDEBAR
================================ */
.sidebar-card {
  background: #111827;
  border-radius: 16px;
  padding: 1rem;
  border: 1px solid #1f2933;
}

/* ================================
   SOCIAL LINKS (IG / X / Facebook)
================================ */
.social-links {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.social-links-label {
  font-size: 0.85rem;
  color: #9ca3af;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid #4b5563;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  text-decoration: none;
  color: #fff;
}

.social-link:hover {
  border-color: #f57c00;
}


/* ================================
   FOOTER
================================ */
footer {
  border-top: 1px solid #111827;
  padding: 1.5rem 0 1.8rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

/* ================================
   RESPONSIVIDADE
================================ */
@media (max-width: 900px) {
  .hero-grid,
  .program-layout {
    grid-template-columns: 1fr;
  }
  .grid-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .grid-cards {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CARD MAIS RECENTE – EFEITO PREMIUM
   ========================================================= */

/* Classe que você já usa via JS:
   .program-card-featured  → permanece igual
   Agora vamos estilizar melhor aqui. */

.program-card-featured {
  position: relative;
  border: 2px solid #f59e0b !important;
  box-shadow:
    0 0 10px rgba(245, 158, 11, 0.4),
    0 0 20px rgba(245, 158, 11, 0.25),
    0 10px 28px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
  transition: all 0.25s ease-in-out;
  border-radius: 14px;
}

/* Brilho pulsante suave ao redor do card */
@keyframes pulseGlow {
  0%   { box-shadow: 0 0 14px rgba(245, 158, 11, 0.6); }
  50%  { box-shadow: 0 0 26px rgba(255, 193, 101, 0.85); }
  100% { box-shadow: 0 0 14px rgba(245, 158, 11, 0.6); }
}

.program-card-featured {
  animation: pulseGlow 2.6s infinite;
}

/* Hover ainda mais destacado */
.program-card-featured:hover {
  transform: translateY(-6px) scale(1.03);
  border-color: #ffb84c !important;
  box-shadow:
    0 0 20px rgba(255, 184, 76, 0.9),
    0 0 30px rgba(255, 184, 76, 0.45);
}

.program-thumb-observatorio {
  background-image: url("../img/observatorio-thumb.jpg");
  background-size: cover;
  background-position: center;
}

/* =========================================================
   SELO “NOVO” ANIMADO
   ========================================================= */
.program-card-featured::before {
  content: "NOVO!";
  position: absolute;
  top: 10px;
  left: -6px;
  padding: 3px 10px;
  background: linear-gradient(45deg, #f59e0b, #ffcc7a);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.55);
  font-size: 0.7rem;
  font-weight: 800;
  color: #050509;
  letter-spacing: 1px;
  border-radius: 6px;
  z-index: 10;
  transform: rotate(-6deg);
  animation: bounceTag 1.6s ease-in-out infinite;
}

/* Animação do selo */
@keyframes bounceTag {
  0%   { transform: rotate(-6deg) translateY(0px); }
  50%  { transform: rotate(-6deg) translateY(-4px); }
  100% { transform: rotate(-6deg) translateY(0px); }
}

/* =========================================================
   CARD AFO MAIS RECENTE – destaque em branco
   ========================================================= */

.afo-card-featured {
  position: relative;
  border: 2px solid #f9fafb !important; /* borda branca */
  box-shadow:
    0 0 14px rgba(249, 250, 251, 0.4),
    0 12px 30px rgba(15, 23, 42, 0.9);
  transform: translateY(-2px);
  transition: all 0.25s ease-in-out;
}

/* Hover ainda mais ressaltado */
.afo-card-featured:hover {
  transform: translateY(-5px);
  box-shadow:
    0 0 20px rgba(249, 250, 251, 0.7),
    0 18px 36px rgba(15, 23, 42, 0.95);
}

/* Selo "Mais recente!" */
.afo-card-featured::before {
  content: "Mais recente!";
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(15, 23, 42, 0.9);
  color: #f9fafb;
  border-radius: 999px;
  border: 1px solid #f9fafb;
}






