/* =========================================================
   Rodapé compartilhado — idêntico em todas as páginas.

   Autossuficiente de propósito: privacidade.html e termos.html
   carregam styles.css em vez de advisora.css, então este arquivo
   não pode depender das variáveis nem das classes de nenhum dos dois.
   Carregue-o SEMPRE como a última folha de estilo da página.
   ========================================================= */

.site-footer {
  margin: 0 24px 24px;
  padding: 80px max(24px, calc((100vw - 1240px) / 2)) 32px;
  border-radius: 32px;
  color: white;
  background: #083630;
  font-family: "Inter", sans-serif;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ---- chamada ---- */
.site-footer .footer-cta {
  padding-bottom: 75px;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 80px;
  border-bottom: 1px solid rgba(250, 250, 250, 0.16);
}

.site-footer .footer-cta h2 {
  margin: 0;
  color: white;
  font-size: 44px !important;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.045em;
}

.site-footer .footer-cta > div:first-child > p:last-child {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer .footer-eyebrow {
  margin: 0 0 25px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(250, 250, 250, 0.62);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer .footer-eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #a7fd96;
}

.site-footer .footer-actions {
  display: grid;
  justify-items: start;
  gap: 12px;
}

.site-footer .footer-button {
  min-height: 52px;
  padding: 6px 7px 6px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.site-footer .footer-button:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.site-footer .footer-button-primary {
  color: #111111;
  background: #a7fd96;
}

.site-footer .footer-button-ghost {
  padding-right: 22px;
  border-color: rgba(255, 255, 255, 0.22);
  color: white;
}

.site-footer .footer-button i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  font-size: 17px;
  font-style: normal;
}

/* ---- bloco inferior ---- */
.site-footer .footer-bottom {
  padding-top: 55px;
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1fr;
  gap: 70px;
}

.site-footer .footer-logo {
  width: 210px;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.site-footer .footer-bottom > div:first-child p {
  max-width: 360px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.6;
}

.site-footer .footer-bottom nav,
.site-footer .footer-meta {
  display: grid;
  align-content: start;
  gap: 14px;
  font-size: 12px;
}

.site-footer .footer-meta {
  color: rgba(255, 255, 255, 0.55);
}

.site-footer .footer-meta span {
  text-wrap: pretty;
}

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

@media (max-width: 820px) {
  .site-footer {
    margin-right: 10px;
    margin-left: 10px;
    border-radius: 24px;
    padding-top: 60px;
  }

  .site-footer .footer-cta {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .site-footer .footer-cta h2 {
    font-size: 34px !important;
  }
}

@media (max-width: 560px) {
  .site-footer .footer-cta {
    padding-bottom: 55px;
  }

  .site-footer .footer-bottom {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .site-footer .footer-actions,
  .site-footer .footer-button {
    width: 100%;
  }

  .site-footer .footer-button {
    justify-content: space-between;
  }
}

/* ---- redes sociais ---- */
.site-footer .footer-social {
  margin: 26px 0 0;
  padding: 0;
  display: flex;
  gap: 10px;
  list-style: none;
}

.site-footer .footer-social a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.72);
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-social a:hover,
.site-footer .footer-social a:focus-visible {
  border-color: #a7fd96;
  color: #083630;
  background: #a7fd96;
  transform: translateY(-2px);
  text-decoration: none;
}

.site-footer .footer-social svg {
  width: 19px;
  height: 19px;
  display: block;
  fill: currentColor;
}
