/* ==========================================================================
   RODAPÉ (SITE FOOTER) - ESTILO FIGMA (DARK MODE ELEGANTE)
   ========================================================================== */

.site-footer {
  background-color: #121212;
  color: var(--color-neutral-200, #D9D4C7);
  padding-top: clamp(48px, 7vw, 80px);
  padding-bottom: clamp(24px, 4vw, 40px);
  font-family: 'Inter', sans-serif;
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 64px);
}

/* --------------------------------------------------------------------------
   Grelha de 3 Colunas (Marca | Navegação | Newsletter)
   -------------------------------------------------------------------------- */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 48px);
}

@media (min-width: 769px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1.5fr;
    align-items: start;
  }
}

/* --- COLUNA 1: MARCA & REDES --- */
.footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo img {
  height: clamp(36px, 4vw, 48px);
  width: auto;
  display: block;
  filter: brightness(0) invert(1); /* Garante que a logo fique branca sobre fundo escuro caso seja PNG/SVG preto */
}

.footer-brand-title {
  font-family: var(--font-family-title, 'Manrope', sans-serif);
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 700;
  color: var(--color-neutral-200, #D9D4C7);
  text-decoration: none;
  letter-spacing: -0.02em;
}

/* Tagline: Inter 400 | 16px | 150% | #B8B4AB */
.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5; /* 150% */
  letter-spacing: 0;
  color: var(--color-neutral-400, #B8B4AB);
  margin: 0;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neutral-200, #D9D4C7);
  opacity: 0.7;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  transition: opacity 0.2s ease;
}

.social-link:hover,
.social-link:focus {
  opacity: 1;
  color: var(--color-neutral-200, #D9D4C7);
  text-decoration: none;
}

/* --- COLUNA 2: NAVEGAÇÃO --- */
.footer-col-nav {
  display: flex;
  flex-direction: column;
}

.footer-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Item de menu: Inter 500 (Medium) | 16px | 140% | letter-spacing 0 | opacity: 0.7 */
.footer-menu-list a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4; /* 140% */
  letter-spacing: 0;
  color: var(--color-neutral-200, #D9D4C7);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

/* Hover / Focus: Apenas a opacidade altera para 1 (Sem sublinhado, sem mudar cor) */
.footer-menu-list a:hover,
.footer-menu-list a:focus {
  opacity: 1;
  color: var(--color-neutral-200, #D9D4C7);
  text-decoration: none;
}

/* Página Ativa: Opacidade 1 + Sublinhado (underline) idêntico ao menu do Header */
.footer-menu-list .current-menu-item > a,
.footer-menu-list .current_page_item > a,
.footer-menu-list .current-menu-ancestor > a,
.footer-menu-list .current-post-ancestor > a,
.footer-menu-list .current-post-type-ancestor > a,
.footer-menu-list .current-post-type-archive > a,
.footer-menu-list li[class*="current"] > a,
.footer-menu-list a.is-active {
  opacity: 1;
  color: var(--color-neutral-200, #D9D4C7);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

/* --- COLUNA 3: NEWSLETTER --- */
.footer-col-newsletter {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* NEWSLETTER (Eyebrow): Inter 600 (SemiBold) | 14px | 140% | letter-spacing 8% | uppercase | #D96A3D */
.newsletter-eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4; /* 140% */
  letter-spacing: 0.08em; /* 8% */
  text-transform: uppercase;
  color: var(--color-terracota-500, #D96A3D);
  display: block;
}

/* Descrição Newsletter: Inter 400 | 16px | 150% | letter-spacing 0 | #D9D4C7 */
.newsletter-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5; /* 150% */
  letter-spacing: 0;
  color: var(--color-neutral-200, #D9D4C7);
  margin: 0;
  max-width: 420px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}

@media (min-width: 480px) {
  .newsletter-form {
    flex-direction: row;
    align-items: center;
  }
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--color-neutral-200, #D9D4C7);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.newsletter-input::placeholder {
  color: rgba(217, 212, 199, 0.5);
}

.newsletter-input:focus {
  border-color: var(--color-terracota-500, #D96A3D);
  background: rgba(255, 255, 255, 0.12);
}

.newsletter-submit {
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  white-space: nowrap;
  cursor: pointer;
  border: none !important;
}

/* --------------------------------------------------------------------------
   Linha Inferior: Copyright (Mobile-First: Centralizado no mobile)
   -------------------------------------------------------------------------- */
.footer-bottom {
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Copyright: Inter 400 | 15px | 140% | letter-spacing 0.5% | #94918B */
.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4; /* 140% */
  letter-spacing: 0.005em; /* 0.5% */
  color: var(--color-neutral-500, #94918B);
  margin: 0;
  text-align: center;
  width: 100%;
}

@media (min-width: 769px) {
  .footer-bottom {
    justify-content: space-between;
    text-align: left;
  }

  .footer-copyright {
    text-align: left;
    width: auto;
  }
}

/* --------------------------------------------------------------------------
   Notificação Toast Elegante (Cópia para área de transferência)
   -------------------------------------------------------------------------- */
.nata-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background-color: #1A1A1A;
  color: var(--color-neutral-100, #FBFAF8);
  padding: 12px 20px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.nata-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
