/* ============================================
   BETANO BRASIL — Footer CSS
   Dark footer with links, legal, disclaimer
   ============================================ */

.site-footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: var(--space-2xl) 0 0;
  margin-top: var(--space-3xl);
}

.footer-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

/* --- Footer Top: Columns --- */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-column h4 {
  color: var(--color-white);
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: var(--space-sm);
}

.footer-column a {
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: color var(--transition);
  text-decoration: none;
}

.footer-column a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

/* --- Footer Legal Links --- */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  align-items: center;
  justify-content: center;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-legal a {
  color: rgba(255,255,255,0.55);
  font-size: 0.8125rem;
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--color-white);
  text-decoration: underline;
}

.footer-legal .sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
}

/* --- Footer Bottom --- */
.footer-bottom {
  padding: var(--space-lg) 0;
  text-align: center;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: var(--space-md);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.footer-responsible {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  margin-bottom: var(--space-md);
}

.footer-responsible .age-badge {
  width: 40px;
  height: 40px;
  font-size: 0.9375rem;
}

.footer-responsible p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0;
  max-width: 500px;
}

.footer-copyright {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-top: var(--space-sm);
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.footer-logo .wordmark {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-white);
}

/* --- Footer Affiliate Disclosure --- */
.footer-affiliate {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.footer-affiliate strong {
  color: rgba(255,255,255,0.7);
}

/* --- Responsive --- */
@media (min-width: 601px) and (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .site-footer {
    padding: var(--space-xl) 0 0;
    padding-bottom: calc(var(--bottom-bar-height) + 8px);
  }
  
  .footer-container {
    padding: 0 var(--space-md);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .footer-column h4 {
    font-size: 0.875rem;
  }
  
  .footer-column a {
    font-size: 0.8125rem;
  }
  
  .footer-legal {
    gap: var(--space-sm);
  }
  
  .footer-legal a {
    font-size: 0.75rem;
  }
  
  .footer-responsible {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .footer-affiliate { flex-direction: column; }
  .footer-legal { justify-content: flex-start; text-align: left; }
  .footer-legal .sep { display: none; }
  .footer-legal a { width: 100%; padding: 3px 0; }
}
