/* ========================================
   RODAPÉ ÚNICO - REDE ZANDONÁ
   Usado por TODAS as páginas (home incluída). O HTML do rodapé é gerado por
   tools/build_site.py; para mudar o visual, edite só este arquivo.
   Valores fixos de propósito: a home não carrega style.css/components.css.
   ======================================== */
footer.footer {
  background: #1a1d20;
  color: #ffffff;
  padding: 80px 0 0;
  margin-top: 50px;
  position: static;
  overflow: visible;
  text-align: left;
  border-top: 0;
  line-height: 1.6;
}

/* neutraliza regras globais do components.css (alvo de toque de 44px, hifenização) */
footer.footer a {
  min-height: 0;
  min-width: 0;
}

footer.footer p,
footer.footer li,
footer.footer span,
footer.footer h4 {
  hyphens: manual;
  -webkit-hyphens: manual;
}

footer.footer .container {
  display: block;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: left;
}

footer.footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
}

footer.footer .footer-col {
  display: block;
  text-align: left;
}

footer.footer .footer-col-brand {
  grid-column: auto;
  padding-right: 0;
}

footer.footer .footer-branding {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
}

footer.footer .footer-logo-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

footer.footer .footer-logo-container img {
  height: 45px;
  width: auto;
  display: block;
  object-fit: contain;
}

footer.footer .footer-logo-container span {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

footer.footer .footer-col-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: #ffffff;
  opacity: 0.7;
  margin: 0 0 25px;
  max-width: 320px;
}

footer.footer .footer-social {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 0;
}

footer.footer .social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

footer.footer .social-link:hover {
  background: #e31b23;
  border-color: #e31b23;
  color: #ffffff;
  transform: translateY(-4px);
}

footer.footer h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0 0 30px;
  padding: 0;
  color: #ffffff;
  line-height: 1.6;
  position: relative;
}

footer.footer h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 30px;
  height: 2px;
  background: #e31b23;
  transform: none;
}

footer.footer .footer-links {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.footer .footer-links li {
  margin-bottom: 14px;
}

footer.footer .footer-links a {
  display: block;
  justify-content: flex-start;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.68);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

footer.footer .footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
  transform: none;
}

footer.footer .footer-contact {
  display: block;
  list-style: none;
  margin: 0;
  padding: 0;
}

footer.footer .footer-contact li {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
  text-align: left;
}

footer.footer .footer-contact a {
  display: inline;
  color: inherit;
  transition: color 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

footer.footer .footer-contact a:hover {
  color: #ffffff;
}

footer.footer .icon-circle {
  width: 30px;
  height: 30px;
  min-width: 30px;
  background: rgba(227, 27, 35, 0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #e31b23;
  font-size: 0.8rem;
}

footer.footer .footer-bottom {
  background: rgba(0, 0, 0, 0.2);
  padding: 25px 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.62);
  text-align: left;
}

footer.footer .footer-bottom-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

footer.footer .footer-bottom-content p {
  margin: 0;
}

@media (max-width: 1100px) {
  footer.footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  /* components.css força 15px com !important nesta largura */
  footer.footer .container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

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

  footer.footer .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}
