/* === PÁGINA NOTÍCIAS === */

/* FILTROS */
.np-filtros-wrap {
  background: var(--bg);
  padding: 0;
}

.np-filtros-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px 20px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.np-filtro {
  background: none;
  border: 1px solid var(--borda-forte);
  color: var(--texto-muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-texto);
}

.np-filtro:hover {
  color: var(--texto);
  border-color: var(--texto);
}
.np-filtro.ativo {
  background: var(--verde-neon);
  color: var(--bg);
  border-color: var(--verde-neon);
  font-weight: 800;
}

/* CONTEÚDO */
.np-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px;
}

/* HERO NOTÍCIA */
.np-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
  transition: opacity 0.2s;
}

.np-hero:hover {
  opacity: 0.92;
}

.np-hero-img {
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.np-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.np-thumb-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  background: var(--verde-profundo);
  display: flex;
  align-items: center;
  justify-content: center;
}

.np-thumb-placeholder span {
  font-size: 11px;
  color: var(--texto-muted);
  letter-spacing: 0.1em;
  font-family: var(--font-mono);
}

.np-hero-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.np-hero-titulo {
  font-family: var(--font-titulo);
  font-size: 34px;
  color: var(--texto);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.np-hero-excerpt {
  font-size: 14px;
  color: var(--texto-muted);
  line-height: 1.6;
}

/* TAGS */
.np-tags {
  display: flex;
  align-items: center;
  gap: 6px;
}
.np-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--texto-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.np-badge {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 2px 8px;
  border-radius: 3px;
}
.np-meta {
  font-size: 11px;
  color: var(--texto-faint);
  font-weight: 600;
}

/* GRID 3 COLUNAS */
.np-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.np-card {
  background: var(--card);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.2s ease;
  cursor: pointer;
}

.np-card:hover {
  transform: translateY(-4px);
}

.np-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.np-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.np-card-thumb .np-thumb-placeholder {
  min-height: 140px;
}

.np-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.np-card-titulo {
  font-family: var(--font-texto);
  font-size: 18px;
  color: var(--texto);
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: 0.04em;
}

.np-card-excerpt {
  font-size: 12px;
  color: var(--texto-muted);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* MAIS LIDAS */
.np-mais-lidas {
  margin-top: 8px;
}

.np-mais-titulo {
  font-family: var(--font-titulo);
  font-size: 14px;
  color: var(--texto-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.np-mais-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.np-mais-item {
  background: var(--card);
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: background 0.2s;
}

.np-mais-item:hover {
  background: var(--verde-profundo);
}

.np-mais-num {
  font-family: var(--font-titulo);
  font-size: 28px;
  color: var(--verde-neon);
  line-height: 1;
  flex-shrink: 0;
  min-width: 40px;
}

.np-mais-info {
  flex: 1;
}

.np-mais-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.np-mais-cat {
  font-size: 10px;
  font-weight: 700;
  color: var(--texto-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.np-mais-tempo {
  font-size: 10px;
  color: var(--texto-faint);
}

.np-mais-titulo-item {
  font-size: 14px;
  font-weight: 700;
  color: var(--texto);
  line-height: 1.35;
  letter-spacing: 0.01em;
}

/* ═══════════════════════════════════════════════════════════
   ARTIGO INLINE (na-*)
═══════════════════════════════════════════════════════════ */

.na-page {
  max-width: 780px;
  margin: 0 auto;
}

/* VOLTAR */
.na-voltar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  font-size: 11px;
  font-weight: 700;
  color: var(--texto-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  padding: 0;
  margin-bottom: 24px;
  transition: color 0.2s;
  font-family: var(--font-texto);
}
.na-voltar:hover {
  color: var(--verde-neon);
}

/* TAGS DO ARTIGO */
.na-tags {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.na-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--texto-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.na-badge {
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
}

/* TÍTULO */
.na-titulo {
  font-family: var(--font-título);
  font-size: 40px;
  color: var(--texto);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
}

.na-excerpt {
  font-size: 16px;
  color: var(--texto-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  border-left: 3px solid var(--verde);
  padding-left: 16px;
}

/* BYLINE */
.na-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--borda-sutil);
  margin-bottom: 0;
}

.na-autor-ico {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--verde);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  color: var(--bg);
  flex-shrink: 0;
}

.na-autor {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--texto);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.na-data {
  display: block;
  font-size: 11px;
  color: var(--texto-faint);
  margin-top: 2px;
}

/* CAPA */
.na-capa {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
  margin: 28px 0;
}

.na-capa-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--verde-profundo);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 28px 0;
}

.na-capa-placeholder span {
  font-size: 12px;
  color: var(--texto-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

/* CORPO */
.na-corpo {
  padding-bottom: 32px;
}

.na-p {
  font-size: 17px;
  color: var(--texto-muted);
  line-height: 1.85;
  margin-bottom: 20px;
}

.na-h2 {
  font-family: var(--font-titulo);
  font-size: 22px;
  color: var(--texto);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 36px 0 16px;
}

.na-destaque {
  border-left: 3px solid var(--verde-neon);
  padding: 16px 20px;
  margin: 28px 0;
  background: var(--card);
  border-radius: 0 8px 8px 0;
  font-size: 17px;
  font-style: italic;
  color: var(--texto);
  line-height: 1.6;
}

/* COMPARTILHAR */
.na-share {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 20px 0 32px;
  border-top: 1px solid var(--borda-sutil);
}

.na-share-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--texto-faint);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-right: 4px;
}

.na-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--borda-forte);
  color: var(--texto-muted);
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-texto);
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}
.na-share-btn:hover {
  border-color: var(--verde-neon);
  color: var(--texto);
}

/* ── FEED INFINITO ─────────────────────────────────────── */

.na-feed {
  margin-top: 8px;
}

.na-feed-separador {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.na-feed-separador::before,
.na-feed-separador::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--borda-forte);
}

.na-feed-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--texto-faint);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

/* Artigo completo no feed */
.na-feed-artigo {
  border-top: 2px solid var(--borda-forte);
  padding-top: 48px;
  margin-bottom: 0;
}

/* Card simples no feed */
.na-feed-card {
  border-top: 1px solid var(--borda-sutil);
  padding: 20px 0;
}

.na-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  align-items: start;
  transition: opacity 0.2s;
}

.na-card:hover {
  opacity: 0.8;
}

.na-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
}

.na-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.na-card-placeholder {
  width: 100%;
  height: 100%;
  min-height: 90px;
  background: var(--verde-profundo);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}

.na-card-placeholder span {
  font-size: 10px;
  color: var(--texto-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
}

.na-card-body {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.na-card-titulo {
  font-family: var(--font-titulo);
  font-size: 20px;
  color: var(--texto);
  text-transform: uppercase;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.na-card-excerpt {
  font-size: 13px;
  color: var(--texto-muted);
  line-height: 1.55;
}
.na-card-meta {
  font-size: 11px;
  color: var(--texto-faint);
  font-weight: 600;
}

/* LOADER */
.na-loader {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 32px 0;
}

.na-loader-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verde);
  animation: naPulse 1.2s ease-in-out infinite;
}
.na-loader-dot:nth-child(2) {
  animation-delay: 0.2s;
}
.na-loader-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes naPulse {
  0%,
  80%,
  100% {
    opacity: 0.2;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1);
  }
}

.na-sentinel {
  height: 1px;
}

.na-feed-fim {
  text-align: center;
  padding: 48px 0;
  font-size: 13px;
  color: var(--texto-faint);
  font-style: italic;
  border-top: 1px solid var(--borda-sutil);
}

/* ── RESPONSIVO ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .np-hero {
    grid-template-columns: 1fr;
  }
  .np-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .na-titulo {
    font-size: 28px;
  }
  .na-p {
    font-size: 16px;
  }
  .na-card {
    grid-template-columns: 120px 1fr;
    gap: 14px;
  }
  .na-card-titulo {
    font-size: 16px;
  }
}

@media (max-width: 600px) {
  .np-grid {
    grid-template-columns: 1fr;
  }
  .np-mais-grid {
    grid-template-columns: 1fr;
  }
  .na-card {
    grid-template-columns: 1fr;
  }
  .na-card-img {
    aspect-ratio: 16/7;
  }
}
