/* ============================= */
/* SEÇÃO NOTÍCIAS */
/* ============================= */

.news-section {
  position: relative;
  padding: 140px 40px;
  text-align: center;
  font-family: 'Cinzel', serif;
  color: #fff;

  background-image: url("../img/noticias-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  background-attachment: fixed;
  overflow: hidden;
}

/* CAMADA ESCURA */
.news-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 0; /* 🔴 CORREÇÃO IMPORTANTE */
}

/* CONTEÚDO ACIMA DO FUNDO */
.news-section > * {
  position: relative;
  z-index: 1; /* 🔴 CORREÇÃO IMPORTANTE */
}

/* TÍTULO */
.news-title {
  font-size: 48px;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

/* SUBTÍTULO */
.news-subtitle {
  color: #b0b8c5;
  max-width: 700px;
  margin: 0 auto 90px;
  font-size: 18px;
}

/* CONTAINER DOS CARDS */
.news-cards {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

/* ============================= */
/* CARDS */
/* ============================= */

.news-card {
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1s ease, transform 1s ease;
  max-width: 300px;
}

/* QUANDO ATIVO */
.news-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* TEXTO NEON */
.neon-text {
  display: block;
  margin-bottom: 22px;
  font-size: 18px;
  color: #00f6ff;
  text-shadow:
    0 0 6px rgba(0, 246, 255, 0.8),
    0 0 18px rgba(0, 246, 255, 0.6),
    0 0 35px rgba(0, 153, 255, 0.5);
}

/* IMAGEM REDONDA */
.card-image {
  width: 260px;
  height: 260px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;

  border: 3px solid rgba(0, 246, 255, 0.45);
  box-shadow: 0 0 35px rgba(0, 246, 255, 0.45);

  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* HOVER */
.news-card:hover .card-image {
  transform: scale(1.08);
  box-shadow: 0 0 70px rgba(0, 246, 255, 0.85);
}

/* TEXTO ABAIXO DOS CARDS */
.card-title {
  margin-top: 30px;
  font-size: 22px;
  letter-spacing: 1px;
}

.card-text {
  margin-top: 12px;
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
  color: #c0c8d4;
  line-height: 1.7;
}

/* ============================= */
/* RESPONSIVO */
/* ============================= */

@media (max-width: 900px) {
  .news-cards {
    gap: 50px;
  }

  .card-image {
    width: 220px;
    height: 220px;
  }
}
