/* ============================================
   Costela e Cia — Rodapé
   ============================================ */

.site-footer {
  position: relative;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vh, 96px) clamp(20px, 4vw, 64px) clamp(28px, 4vh, 40px);
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: clamp(32px, 5vw, 72px);
}

/* ---- marca ---- */
.footer-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--accent-2);
  background: var(--panel);
  box-shadow: 0 0 20px -6px rgba(255, 106, 26, 0.6);
}

.footer-brand-mark svg { width: 21px; height: 21px; }

.footer-brand-name {
  margin-top: 18px;
  font-family: var(--f-display);
  font-size: clamp(21px, 2vw, 26px);
  letter-spacing: 0.02em;
  color: var(--ink);
}

.footer-brand-name em { font-style: italic; color: var(--accent-2); }

.footer-tagline {
  margin-top: 12px;
  max-width: 34ch;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---- colunas ---- */
.footer-col-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-nav a {
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}

.footer-nav a:hover { color: var(--accent-2); }

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

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-soft);
  transition: color 0.3s var(--ease);
}

.footer-link svg {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  color: var(--accent-2);
}

.footer-link:hover { color: var(--ink); }

.footer-region {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-soft);
}

.footer-region strong { color: var(--ink); font-weight: 600; }

/* ---- base ---- */
.footer-bottom {
  max-width: 1180px;
  margin: clamp(40px, 6vh, 68px) auto 0;
  padding-top: clamp(20px, 3vh, 28px);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  font-size: 12px;
  color: var(--ink-mute);
}

.footer-bottom a { color: var(--ink-soft); }
.footer-bottom a:hover { color: var(--accent-2); }

/* ---- reveal ---- */
.site-footer .footer-inner > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.site-footer.is-revealed .footer-inner > * {
  opacity: 1;
  transform: translateY(0);
}
.site-footer.is-revealed .footer-inner > *:nth-child(1) { transition-delay: 0.08s; }
.site-footer.is-revealed .footer-inner > *:nth-child(2) { transition-delay: 0.18s; }
.site-footer.is-revealed .footer-inner > *:nth-child(3) { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-inner > * { opacity: 1; transform: none; transition: none; }
}

/* ---- responsivo ---- */
@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr; gap: 38px; }
}
