/* Página de Notícias */
.noticias-page {
  padding-top: 80px;
  min-height: calc(100vh - 80px);
  background: #f5f5f5;
}

/* Hero */
.hero-noticias {
  background: var(--branco);
  padding: 30px 0 20px;
  text-align: center;
  opacity: 0;
  transform: translateY(50px);
  animation: scrollFloat 0.8s ease forwards;
}

.hero-noticias h1 {
  color: var(--azul-principal);
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 0;
}

@keyframes scrollFloat {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Container */
.noticias-container {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
}

#loadingNoticias {
  text-align: center;
  padding: 60px 20px;
  font-size: 18px;
  color: var(--texto);
}

/* Grid 3 colunas */
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

/* Card de notícia */
.noticia-card {
  background: var(--branco);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.noticia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Imagem */
.noticia-imagem {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.noticia-imagem-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--azul-principal), var(--amarelo-destaque));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--branco);
  font-size: 48px;
}

/* Conteúdo do card */
.noticia-conteudo {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.noticia-data {
  color: #999;
  font-size: 13px;
  margin-bottom: 10px;
}

.noticia-titulo {
  color: var(--texto);
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.3;
}

.noticia-resumo {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== PÁGINA INDIVIDUAL ========== */
.noticia-individual {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
  background: white;
  padding: 40px;
  border-radius: 12px;
}

/* Header da notícia */
.noticia-header {
  text-align: center;
  margin-bottom: 30px;
}

.noticia-header .data {
  color: #999;
  font-size: 13px;
  margin-bottom: 12px;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
}

.noticia-header h1 {
  color: var(--azul-principal);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.4;
  font-family: 'Outfit', sans-serif;
}

.noticia-header .subtitulo {
  color: #333;
  font-size: 15px;
  font-style: italic;
  line-height: 1.5;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  max-width: 700px;
  margin: 0 auto;
}

/* Imagem destaque */
.noticia-imagem-destaque {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin: 25px 0 8px 0;
}

.noticia-imagem-legenda {
  text-align: center;
  color: #999;
  font-size: 12px;
  margin-bottom: 30px;
  font-style: italic;
  font-family: 'Outfit', sans-serif;
}

/* Corpo da notícia */
.noticia-corpo {
  margin-bottom: 60px;
}

.noticia-secao {
  margin-bottom: 30px;
}

/* Títulos H2 das seções - APENAS ESSES EM AZUL */
.noticia-secao h2 {
  color: var(--azul-principal);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  margin-top: 25px;
  font-family: 'Outfit', sans-serif;
  text-align: center;
}

/* Parágrafos normais - COR PRETA/CINZA ESCURO */
.noticia-secao p {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
  text-align: justify;
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  margin-bottom: 12px;
}

/* Veja Também */
.veja-tambem {
  border-top: 2px solid #e9e9e9;
  padding-top: 40px;
  margin-top: 60px;
}

.veja-tambem h2 {
  text-align: center;
  color: var(--azul-principal);
  font-size: 32px;
  margin-bottom: 30px;
}

/* Responsivo */
@media (max-width: 992px) {
  .noticias-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .noticia-individual {
    padding: 30px 20px;
  }
}

@media (max-width: 768px) {
  .hero-noticias h1 {
    font-size: 36px;
  }

  .noticia-header h1 {
    font-size: 26px;
  }

  .noticia-secao p {
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .noticias-grid {
    grid-template-columns: 1fr;
  }

  .noticia-titulo {
    font-size: 18px;
  }

  .noticia-individual {
    padding: 20px 15px;
  }
}
