/* ═══════════════════════════════════════════════════════════════
   FOOTER.CSS — Footer principal
   ═══════════════════════════════════════════════════════════════ */

footer {
  position: relative; padding: 5rem 0 2rem;
  background: #161A27; backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06); overflow: hidden;
}
footer::before {
  content: ''; position: absolute; bottom: -50px; left: 50%; transform: translateX(-50%);
  width: 80%; height: 100%;
  background: radial-gradient(ellipse at bottom center, rgba(30,80,255,0.4) 0%, rgba(20,60,200,0.2) 35%, transparent 70%);
  pointer-events: none; z-index: 0;
  animation: footerPulse 4s ease-in-out infinite;
}
@keyframes footerPulse {
  0%   { transform: translateX(-50%) scale(1);    opacity: 0.85; filter: brightness(1); }
  50%  { transform: translateX(-50%) scale(1.08); opacity: 1;    filter: brightness(1.25); }
  100% { transform: translateX(-50%) scale(1);    opacity: 0.85; filter: brightness(1); }
}
footer > * { position: relative; z-index: 1; }

.footer-top {
  display: grid; grid-template-columns: 280px 1fr; gap: 4rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo { width: 140px; height: auto; margin-bottom: 1rem; }
.footer-tagline { font-size: var(--text-sm); color: rgba(255,255,255,0.45); line-height: 1.6; margin-bottom: 1.5rem; }
.footer-address { font-size: var(--text-xs); color: rgba(255,255,255,0.3); line-height: 1.5; margin-bottom: 1.5rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-social {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.5);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition-base);
}
.footer-social:hover { background: rgba(255,255,255,0.12); color: white; border-color: rgba(255,255,255,0.2); }

.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.footer-col-title {
  font-family: var(--font-display); font-size: var(--text-xs); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5); margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: var(--text-sm); color: rgba(255,255,255,0.45); transition: color var(--transition-fast); }
.footer-col a:hover { color: rgba(255,255,255,0.85); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 2rem; flex-wrap: wrap; gap: 1rem;
}
.footer-copy { font-size: var(--text-xs); color: rgba(255,255,255,0.25); }
.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-legal a { font-size: var(--text-xs); color: rgba(255,255,255,0.25); transition: color var(--transition-fast); }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: 1rem; }
}
