/* =========================================================
   ESTILOS DA HOME (INSTITUCIONAL + NOTÍCIAS)
   ========================================================= */

.home-hero {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 32px;
  align-items: start;
}

.home-hero h1 {
  margin: 0 0 12px;
  font-size: 30px;
  color: var(--phi-text);
}

.home-hero-fotos {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.home-hero-fotos img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--phi-border);
  box-shadow: 0 10px 26px var(--phi-shadow);
}

@media (max-width: 820px) {
  .home-hero {
    grid-template-columns: 1fr;
  }

  .home-hero-fotos {
    flex-direction: row;
  }

  .home-hero-fotos img {
    height: 160px;
  }
}

@media (max-width: 480px) {
  .home-hero-fotos {
    flex-direction: column;
  }
}

.home-hero-lead {
  font-size: 17px;
  color: var(--phi-text);
  line-height: 1.6;
}

.home-hero p {
  line-height: 1.6;
  color: var(--phi-text-muted);
}

.home-oab-list {
  margin: 18px 0;
  padding-left: 20px;
  color: var(--phi-accent-strong, var(--phi-accent));
  font-size: 14px;
  line-height: 1.8;
}

.home-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.home-noticias {
  margin-top: 36px;
}

.home-noticias-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 10px;
}

.home-noticias-header h2 {
  margin: 0;
  color: var(--phi-text);
  font-size: 22px;
}

.link-ver-todas {
  color: var(--phi-accent);
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
}

.link-ver-todas:hover {
  text-decoration: underline;
}

.home-noticias-vazio {
  color: var(--phi-text-muted);
}

.home-noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.noticia-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.noticia-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px var(--phi-shadow);
}

.noticia-card .noticia-data {
  font-size: 12px;
  color: var(--phi-accent);
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.noticia-card h3 {
  margin: 0;
  font-size: 17px;
  color: var(--phi-text);
  line-height: 1.35;
}

.noticia-card p {
  margin: 0;
  font-size: 14px;
  color: var(--phi-text-muted);
  line-height: 1.5;
}

@media (max-width: 600px) {
  .home-hero h1 {
    font-size: 24px;
  }

  .home-hero-actions {
    flex-direction: column;
  }

  .home-hero-actions .btn {
    text-align: center;
  }
}
