.noticias-container {
  padding: 4rem 2rem;
  max-width: 1100px;
  margin: auto;
}

.titulo-pagina {
  text-align: center;
  color: #1E725A; 
  font-size: 2.4rem;
  font-weight: 700;
}

.subtitulo-pagina {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.2rem;
  color: #1E725A; 
}

.grade-noticias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card-noticia {
  background: #FFFFFF; 
  border-radius: 10px;
  padding-bottom: 1rem;
  cursor: pointer;
  transition: transform .3s, box-shadow .3s;
  box-shadow: 0 3px 10px rgba(30,114,90,0.12); 
}

.card-noticia img {
  width: 100%;
  height: 200px;
  border-radius: 10px 10px 0 0;
  object-fit: cover;
}

.card-noticia h3 {
  padding: 0 1rem;
  margin-top: 1rem;
  color: #1E725A; 
}

.card-noticia p {
  padding: 0 1rem;
  color: #1E725A; 
}

.card-noticia:hover {
  transform: translateY(-6px);
  box-shadow: 0 5px 18px rgba(30,114,90,0.18); 
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  z-index: 9999;
}

.modal-conteudo {
  background: #FFFFFF; 
  max-width: 600px;
  width: 100%;
  padding: 1.5rem;
  border-radius: 10px;
  position: relative;
  animation: aparecer .3s ease;
}

@keyframes aparecer {
  from { transform: scale(0.8); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.modal img {
  width: 100%;
  border-radius: 10px;
}

.modal h2 {
  margin-top: 1rem;
  color: #1E725A; 
}

.btn-instagram {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.7rem 1.4rem;
  background: #FF9E00; 
  color: #FFFFFF; 
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.btn-instagram:hover {
  background: #1E725A; 
}

.fechar-modal {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #1E725A; 
}

.fechar-modal:hover {
  color: #FF9E00; 
}

