/* ================================================
   HOME — ajustes específicos deste site
   Depende das variáveis e componentes de style.css.
   ================================================ */

/* ---- Header simplificado: logo + hambúrguer numa faixa só ---- */
.nav {
  justify-content: space-between;
}

.nav .logo {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--branco);
}

.nav .logo img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

@media (min-width: 768px) {
  .nav .logo img {
    height: 44px;
  }
}

@media (min-width: 1024px) {
  .menu {
    gap: 12px;
  }

  .menu a.destaque {
    margin-left: 0;
  }
}

/* ---- Rodapé / Contato: botão de WhatsApp ---- */
.rodape-whatsapp .btn svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
}

/* ---- Bandeiras: aviso legal obrigatório onde o tema aparece ---- */
.bandeiras-aviso {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.bandeiras-aviso p {
  color: var(--azul-medio);
  font-size: 12px;
  font-weight: 700;
}

.bandeiras-aviso-btn {
  padding: 10px 18px;
  font-size: 13px;
  min-height: auto;
}

.bandeiras-aviso-btn svg {
  margin-right: 8px;
}

/* ================================================
   HERO EM VÍDEO — full-bleed (edge a edge), texto sobre o vídeo
   ================================================ */
.hero-full {
  position: relative;
  height: 78vh;
  min-height: 460px;
  max-height: 760px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--azul-marinho);
}

.hero-full-video {
  position: absolute;
  inset: 0;
}

.hero-full-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-full-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(14, 36, 64, 0.92) 0%,
    rgba(14, 36, 64, 0.6) 38%,
    rgba(14, 36, 64, 0.18) 68%,
    rgba(14, 36, 64, 0.05) 100%
  );
}

.hero-full-conteudo {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: 40px;
  color: var(--branco);
}

.hero-boasvindas {
  margin-bottom: 10px;
  color: var(--dourado);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.hero-full-conteudo h1 {
  font-size: clamp(30px, 9vw, 56px);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-full-conteudo h1 span {
  display: block;
  color: var(--dourado);
}

.hero-full-acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.hero-numero {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--branco);
  color: var(--azul-marinho);
  font-family: var(--font-heading);
  font-size: 20px;
  letter-spacing: 0.5px;
}

@media (min-width: 1024px) {
  .hero-full {
    height: 85vh;
  }
}

/* ---- Bandeiras: foto de fundo com overlay, em vez do retângulo sólido ---- */
.departamento-card {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: none;
}

.departamento-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(180deg, rgba(14, 36, 64, 0.5) 0%, rgba(14, 36, 64, 0.88) 100%);
}

.departamento-card > * {
  position: relative;
  z-index: 1;
}

.departamento-card .departamento-indice {
  color: rgba(255, 255, 255, 0.16);
}

.departamento-card h3,
.departamento-card p {
  color: var(--branco);
  margin-bottom: 0;
}

.departamento-card h3 {
  margin-bottom: 18px;
  line-height: 1.3;
}

.departamento-card p {
  line-height: 1.65;
}

.departamento-card a {
  color: var(--dourado);
}

.departamento-card.card-protecao-animal {
  background-image: url("../img/fotos/card-protecao-animal.jpg");
}

.departamento-card.card-seguranca {
  background-image: url("../img/fotos/card-seguranca.jpg");
}

.departamento-card.card-norte-pioneiro {
  background-image: url("../img/fotos/card-norte-pioneiro.jpg");
}

.departamento-card.card-vulneraveis {
  background-image: url("../img/fotos/card-vulneraveis.jpg");
}

/* ---- Quem é: foto inteira, sem o retângulo azul cortado ---- */
.home-sobre-visual {
  height: auto;
  background: none;
  box-shadow: 0 20px 50px rgba(22, 57, 96, 0.16);
}

.home-sobre-visual img {
  position: static;
  width: 100%;
  height: auto;
  object-fit: unset;
}

.home-sobre-circulo {
  display: none;
}

/* ---- Faixa de números do impacto: 4 itens, não 3 ---- */
@media (min-width: 640px) {
  .numeros-impacto {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .numeros-impacto {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---- Números do impacto: card com foto + texto lado a lado ---- */
.numeros-impacto .numero-item {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}

.numeros-impacto .numero-texto {
  min-width: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
}

.numero-foto {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  aspect-ratio: 1 / 1;
  border-radius: 13px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .numero-foto {
    width: 80px;
    height: 80px;
  }
}

@media (min-width: 1024px) {
  .numero-foto {
    width: 96px;
    height: 96px;
  }
}

/* ---- Página de erro 404 ---- */
.erro-404 {
  display: flex;
  align-items: center;
  min-height: 60vh;
}

.erro-404-conteudo {
  max-width: 640px;
  text-align: center;
}

.erro-404-conteudo .erro-404-numero {
  margin: 4px 0 8px;
  font-family: var(--font-heading);
  font-size: clamp(80px, 22vw, 160px);
  line-height: 1;
  color: var(--dourado);
}

.erro-404-conteudo h1 {
  margin-bottom: 14px;
}

.erro-404-texto {
  color: var(--areia);
}

.erro-404-acoes {
  justify-content: center;
  margin-top: 26px;
}

@media (min-width: 640px) {
  .erro-404-acoes {
    flex-direction: row;
  }
}
