/*
 * As variáveis usadas neste ficheiro (--font-body, --ink, --border-mid,
 * --c-clay, --ink-soft) vêm agora de assets/css/variables.css,
 * carregado globalmente antes deste ficheiro.
 */

/* ── Footer ── */
.site-footer {
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  overflow: hidden;
  margin-top: 3rem;
}

/* gradiente de fundo com as 4 cores nos cantos */
.footer-gradient {
  position: absolute;
  inset: 0;
  background-image: url('../images/footer.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.footer-corner {
  position: absolute;
  width: 520px;
  height: 220px;
  border-radius: 100%;
  filter: blur(60px);
  opacity: .55;
}

/* conteúdo por cima do gradiente */
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 2.5rem clamp(1.25rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-top {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-mid);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  justify-content: center;
}

.footer-nav a {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-nav a:hover { color: var(--c-clay); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  align-items: center;
}

.footer-social a {
  color: var(--ink);
  display: flex;
  align-items: center;
  transition: color .2s ease;
}

.footer-social a:hover { color: var(--c-clay); }

.footer-copy {
  font-family: var(--font-body);
  font-size: .65rem;
  font-weight: 300;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .footer-nav { align-items: center; }
  .footer-social { flex-direction: row; align-items: center; }
}
