/* ---------------------------------------------------------------------------------------------------------- */
/* FOOTER BASE */
/* ---------------------------------------------------------------------------------------------------------- */
* {
  --branco-soft: #EFEDFD78;
}

footer {
  background-color: var(--destaque-escuro);
  color: var(--branco-soft);
  padding-top: 70px;
  padding-bottom: 24px;
  line-height: 1.5;
  text-align: left;
  margin-top: auto;
}

/* Links e listas */
footer a, footer p {
  color: var(--branco-soft);
  font-family: 'Red Hat Display', system-ui, sans-serif;
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

footer a:hover {
  color: var(--destaque-contraste);
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer li {
  margin-bottom: 5px;
  font-size: 16px;
}

footer h4, footer span.titulo, footer h3 {
  font-size: 18px;
  display: block;
  margin: 0 0 10px;
  color: var(--branco);
}

/* ---------------------------------------------------------------------------------------------------------- */
/* FOOTER TOPO */
/* ---------------------------------------------------------------------------------------------------------- */
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 70px;
  align-items: start;
  padding-bottom: 40px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

img.footer-logo {
  max-width: 230px;
  height: auto;
}

.redes {
  display: flex;
  gap: 12px;
}

.redes a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--branco);
}

.redes a:hover {
  background: var(--destaque-contraste);
  color: var(--destaque-escuro);
  transform: translateY(-2px);
}

.redes a svg {
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------------------------------------------------------------- */
/* FOOTER LINKS / SEÇÕES */
/* ---------------------------------------------------------------------------------------------------------- */
.footer-links {
  display: contents;
}

.footer-section {
  min-width: 0;
}

.footer-section-title {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  position: relative;
}

.footer-list-item a {
  font-weight: 500;
  display: inline-block;
  padding: 5px 0;
}

.footer-list-item a:hover {
  transform: translateX(4px);
}

/* ---------------------------------------------------------------------------------------------------------- */
/* CONTATO */
/* ---------------------------------------------------------------------------------------------------------- */
.footer-social .filiais {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.footer-social .filial {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 320px;
}

.filial p {
  margin: 0;
  font-size: 15px;
}

.filial a {
  color: var(--branco-soft);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.filial a:hover {
  color: var(--destaque-contraste);
}

.filial-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--destaque-contraste);
}

/* ---------------------------------------------------------------------------------------------------------- */
/* DISCLAIMER INSTITUCIONAL */
/* ---------------------------------------------------------------------------------------------------------- */
.footer-disclaimer {
  border-top: 1px solid rgba(143, 157, 186, 0.35);
  padding: 28px 0 0;
}

.footer-disclaimer-line {
  display: none;
}

.footer-disclaimer-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--branco-soft);
}

/* ---------------------------------------------------------------------------------------------------------- */
/* RODAPÉ BOTTOM */
/* ---------------------------------------------------------------------------------------------------------- */
.rodape-bottom {
  border-top: 1px solid rgba(143, 157, 186, 0.35);
  margin-top: 28px;
  padding-top: 24px;
  font-size: 13px;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.rodape-bottom .rodape-privacidade {
  flex: 1 1 0;
  text-align: left;
  margin: 0;
}

.rodape-bottom .rodape-empresa {
  flex: 1 1 0;
  text-align: center;
  line-height: 1.6;
}

.rodape-bottom .rodape-direitos {
  flex: 1 1 0;
  text-align: right;
  margin: 0;
}

.rodape-bottom a {
  color: var(--branco-soft);
}

.rodape-bottom a:hover {
  color: var(--destaque-contraste);
}

footer small {
  font-size: 12px;
}

footer .footer-bottom {
  color: rgba(255, 255, 255, 0.7) !important;
}

/* ---------------------------------------------------------------------------------------------------------- */
/* RESPONSIVO */
/* ---------------------------------------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px 50px;
  }

  .footer-social {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  footer {
    text-align: center;
    padding-top: 50px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    justify-items: center;
    padding-bottom: 36px;
  }

  .footer-social {
    align-items: center;
    text-align: center;
  }

  .footer-social .filiais,
  .footer-social .filial {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }

  .filial a {
    align-items: center;
    justify-content: center;
  }

  .footer-disclaimer-text {
    font-size: 13px;
    padding: 0 10px;
  }

  .rodape-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .rodape-bottom .rodape-privacidade,
  .rodape-bottom .rodape-empresa,
  .rodape-bottom .rodape-direitos {
    flex: 1 1 100%;
    text-align: center;
  }
}
