/* Estilos específicos do footer */
.br-footer {
  font-family: 'Inter', sans-serif !important;
  padding-top: 0 !important;
  margin-top: 60px !important;
}

/* Remove margin on homepage */
body.homepage .br-footer,
body.orgao-prefeito .br-footer {
  margin-top: 0 !important;
}

.footer-title {
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 34px;
  color: #24498E;
  padding: 0;

}

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-weight: 500;
  font-size: 16px;
  line-height: 34px;
  letter-spacing: 0.07em;
  color: #686868;
  text-decoration: none;
}

.footer-link:hover {
  color: #24498E;
  text-decoration: none;
}

.footer-contact p {
  margin-bottom: 8px;
  letter-spacing: 0.07em;
}

.contact-phone {
  font-weight: 700;
  font-size: 18px;
  line-height: 34px;
  color: #585858;
}

.contact-email {
  font-weight: 700;
  font-size: 16px;
  line-height: 34px;
  color: #585858;
}

.contact-hours {
  font-weight: 500;
  font-size: 16px;
  line-height: 34px;
  color: #686868;
}

.contact-address {
  font-weight: 700;
  font-size: 16px;
  line-height: 34px;
  color: #585858;
}

/* Container de ícones sociais */
.footer-social-container .social-icons-container {
  gap: 24px; /* Espaçamento horizontal entre os ícones */
  justify-content: flex-start;
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center; /* Alinha os ícones verticalmente */
}

/* Footer: ícones pretos, grandes e com hover similar ao topo */
.br-footer .footer-social-container .social-btn {
  height: 48px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 !important; /* remove espaçamento duplicado, usamos gap */
  overflow: visible !important;
  color: #000 !important;
}
.br-footer .footer-social-container .social-btn:hover {
  transform: scale(1.1) !important;
  background: none !important;
  background-image: none !important;
}
.br-footer .footer-social-container .social-btn .fab {
  font-size: 48px !important;
  line-height: 48px !important;
  width: auto !important;
  height: auto !important;
  color: #000 !important;
}

/* Fallback para qualquer link/ícone dentro do bloco de redes do rodapé */
.br-footer .footer-social-container a {
  height: 48px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important; /* garantir consistência com gap */
}
.br-footer .footer-social-container a:hover {
  transform: scale(1.1) !important;
  background: none !important;
  background-image: none !important;
}
.br-footer .footer-social-container a i.fab {
  font-size: 48px !important;
  line-height: 48px !important;
  color: #000 !important;
}

.br-footer .footer-social-container a,
.br-footer .footer-social-container .social-btn,
.br-footer .footer-social-container a:hover,
.br-footer .footer-social-container a:focus,
.br-footer .footer-social-container a:active,
.br-footer .footer-social-container a:visited {
  text-decoration: none !important;
  background-image: none !important; /* neutraliza efeito do GovBR */
  outline: 0;
}

/* Responsividade */
@media (max-width: 768px) {
  .footer-title {
    font-size: 24px;
    text-align: center;
  }

  .col-md-3, .col-md-2, .col-md-4 {
    text-align: center;
    margin-bottom: 30px;
  }

  .footer-menu {
    align-items: center;
  }

  .footer-social-container .social-icons-container {
    justify-content: center;
    gap: 20px; /* Ajuste de espaçamento para telas menores */
  }

  .footer-contact {
    text-align: center;
  }

  .br-footer .footer-social-container .fab,
  .br-footer .footer-social-container a i.fab {
    font-size: 32px !important;
  }
}

@media (max-width: 480px) {
  .footer-social-container .social-icons-container {
    gap: 16px; /* Ajuste de espaçamento para telas mobile */
    justify-content: center !important;
  }

  .br-footer .footer-social-container .social-btn,
  .br-footer .footer-social-container a {
    width: 44px !important;
    height: 44px !important;
  }

  .br-footer .footer-social-container .fab,
  .br-footer .footer-social-container a i.fab {
    font-size: 28px !important;
  }
}

a.link-footer {
    text-decoration: none !important;
    outline: 0;
}

.logo-size-footer{
    max-height: 70px;
    width: auto;
}