/* ─── SITE FOOTER ─── */
.site-footer {
  width: min(calc(100% - 48px), var(--container-max));
  margin: 0 auto;
  padding: 64px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  background: transparent;
  box-sizing: border-box;
}

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

/* Coluna da Marca (Esquerda) */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Adjusted to match Figma spacing (30px) */
  max-width: 286px;
  width: 100%;
}

.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-description {
  font-family: 'Google Sans Flex', 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  color: #3A3A3A;
  margin: 0;
}

.footer-bacen {
  font-family: 'Google Sans Flex', 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--azul);
}

/* Grid de Links (Direita) */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
  width: 100%;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 30px; /* Adjusted to match Figma title-links spacing */
}

.footer-col--empty {
  display: none;
}

.footer-col__title {
  font-family: 'Google Sans Flex', 'Geist', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--azul);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col__links {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Adjusted to match Figma baseline vertical spacing (approx 39px baseline-to-baseline) */
}

.footer-col__links a {
  font-family: 'Google Sans Flex', 'Geist', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.4;
  color: #3A3A3A;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
  width: fit-content;
}

.footer-col__links a:hover {
  color: #b49b78; /* Gold/Beige hover color */
  transform: translateX(3px);
}

/* Rodapé: Linha e Copyright */
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Adjusted to match Figma spacing (16px) */
  width: 100%;
}

.footer-divider {
  border: none;
  height: 1px;
  background: #d9dee8;
  margin: 0;
  width: 100%;
}

.footer-copy {
  font-family: 'Google Sans Flex', 'Geist', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #777777;
  margin: 0;
  text-align: center;
}

/* ─── RESPONSIVIDADE (DESKTOP) ─── */
@media (min-width: 1024px) {
  .site-footer {
    width: min(calc(100% - 160px), var(--container-max));
    padding: 96px 0 48px;
    gap: 120px; /* Matched Figma offset of 127px between menu and divider */
  }

  .footer-top {
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
  }

  .footer-brand {
    margin-right: 116px; /* Matched Figma offset (402px - 286px) */
    gap: 30px;
  }

  .footer-nav {
    grid-template-columns: 172px 172px 180px 1fr 180px;
    column-gap: 32px; /* Adjusted to accommodate the 5th column */
    flex: 1;
  }

  .footer-col--empty {
    display: block;
  }

  .footer-copy {
    text-align: left;
  }
}

/* Min-width container lock for larger devices */
@media (min-width: 452px) {
  .nav,
  .hero-card,
  .site-footer {
    min-width: var(--container-min);
  }
}

/* Small mobile column wrap */
@media (max-width: 480px) {
  .footer-nav {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-col__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-info-text {
  font-family: 'Google Sans Flex', 'Geist', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #3A3A3A;
  margin: 0;
}

.footer-info-text a {
  color: var(--azul);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.footer-info-text a:hover {
  color: #b49b78;
}

.footer-bottom__row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  width: 100%;
}

.footer-bottom__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.footer-bottom__links a {
  font-family: 'Google Sans Flex', 'Geist', sans-serif;
  font-size: 14px;
  color: #777777;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom__links a:hover {
  color: var(--azul);
}

@media (min-width: 1024px) {
  .footer-bottom__row {
    flex-direction: row;
    justify-content: space-between;
  }
}
