/*
==================================================
RotaBras Framework CSS
Arquivo: footer.css
Versão: 1.0
Descrição: Estilos do rodapé
==================================================
*/

.footer {
  background: var(--rb-surface);
  color: var(--rb-text-light);
  padding: var(--rb-space-xl) var(--rb-space-md);
}

.footer-content {
  width: min(92%, var(--rb-container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--rb-space-lg);
}

.footer-column h4 {
  font-size: var(--font-lg);
  font-weight: var(--fw-semibold);
  color: var(--rb-white);
  margin-bottom: var(--rb-space-sm);
}

.footer-column ul li {
  margin-bottom: var(--rb-space-xs);
}

.footer-column a {
  color: var(--rb-text-light);
  transition: var(--rb-transition);
}

.footer-column a:hover {
  color: var(--rb-primary);
}

/* Linha inferior */
.footer-bottom {
  border-top: 1px solid var(--rb-border);
  margin-top: var(--rb-space-lg);
  padding-top: var(--rb-space-md);
  text-align: center;
  font-size: var(--font-sm);
  color: var(--rb-text-muted);
}

/* Ícones sociais */
.footer-social {
  display: flex;
  gap: var(--rb-space-sm);
  margin-top: var(--rb-space-md);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--rb-radius-full);
  background: var(--bg-card);
  color: var(--rb-white);
  transition: var(--rb-transition);
}

.footer-social a:hover {
  background: var(--rb-primary);
  color: var(--rb-bg);
}

/* Responsividade */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
}
