/* ==========================================================================
   Footer — rodapé do site. Layout minimalista: marca grande, endereço,
   ícones sociais, linha divisória e barra legal, seguindo a paleta escura
   e a tipografia já usadas no resto do site.
   ========================================================================== */

.site-footer {
  --footer-teal: #37beb0;
  --footer-gold: #d7b975;

  color: #ffffff;
  padding: var(--space-md) 0 0;
  background-color: #100c09;
  background-image:
    linear-gradient(180deg, rgba(16, 12, 9, 1) 0%, rgba(16, 12, 9, 0.55) 20%, rgba(16, 12, 9, 0.85) 100%),
    url('../img/rodape.png');
  background-size: cover;
  background-position: center;
}

.site-footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-lg);
  padding-bottom: var(--space-md);
}

/* Marca */
.footer-mark__image {
  flex-shrink: 0;
  width: 240px;
  height: auto;
}

/* Coluna direita: ícones + endereço */
.footer-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-sm);
}

/* Endereço */
.footer-info {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Ícones sociais */
.footer-social {
  display: flex;
  gap: var(--space-xs);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: var(--footer-teal);
  color: #100c09;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.footer-social a:hover {
  background-color: #ffffff;
  transform: translateY(-2px);
}

.footer-social svg {
  width: 24px;
  height: 24px;
}

/* Divisória */
.site-footer__divider {
  display: block;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
}

/* Barra inferior */
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer__legal a {
  color: inherit;
}

@media (max-width: 640px) {
  .site-footer__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-side {
    align-items: flex-start;
  }

  .site-footer__bottom {
    justify-content: center;
    text-align: center;
  }
}
