/* ===========================
   Perdeu Achou — Footer
   =========================== */

.footer {
  background: var(--text-dark);
  color: #D1D5DB;
  padding: 3rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Coluna da marca */
.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
}

.footer-brand .footer-logo .logo-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  color: white;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #9CA3AF;
  max-width: 280px;
}

/* Colunas de links */
.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #9CA3AF;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul li a {
  color: #D1D5DB;
  font-size: 0.9rem;
  transition: color 0.15s;
}

.footer-col ul li a:hover {
  color: white;
}

/* Rodapé inferior */
.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #9CA3AF;
}

.footer-bottom .footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom .footer-legal a {
  color: #9CA3AF;
  transition: color 0.15s;
}

.footer-bottom .footer-legal a:hover {
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
