/* ===== FOOTER ===== */

.footer {
  background: linear-gradient(135deg, var(--preto-profundo) 0%, #2A2F2E 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="footer-grad" cx="50%" cy="50%"><stop offset="0%" stop-color="%23538BE1" stop-opacity="0.1"/><stop offset="100%" stop-color="%23538BE1" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23footer-grad)"/><circle cx="800" cy="300" r="80" fill="url(%23footer-grad)"/><circle cx="300" cy="700" r="90" fill="url(%23footer-grad)"/><circle cx="700" cy="800" r="70" fill="url(%23footer-grad)"/></svg>');
  background-size: 600px 600px;
  animation: float 30s ease-in-out infinite reverse;
  z-index: 1;
}

.footer .container {
  position: relative;
  z-index: 2;
}

.footer-brand {
  margin-bottom: var(--spacing-lg);
}

.footer-brand .logo-text {
  font-size: var(--font-3xl);
  font-weight: var(--font-extrabold);
  background: var(--gradiente-azul);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--spacing-md);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-base);
  line-height: 1.6;
  margin-bottom: var(--spacing-lg);
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: var(--spacing-md);
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(83, 139, 225, 0.2);
  border: 2px solid rgba(83, 139, 225, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: var(--transition-normal);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.social-link:hover {
  background: var(--azul-principal);
  border-color: var(--azul-principal);
  color: white;
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.social-link i {
  font-size: var(--font-xl);
}

.footer-links h5 {
  font-size: var(--font-lg);
  font-weight: var(--font-bold);
  color: white;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.footer-links h5::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--azul-principal);
  border-radius: var(--border-radius-full);
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: var(--font-base);
  transition: var(--transition-fast);
  display: inline-block;
  position: relative;
}

.footer-links a::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--azul-principal);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  width: 100%;
}

.footer-contact h5 {
  font-size: var(--font-lg);
  font-weight: var(--font-bold);
  color: white;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.footer-contact h5::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--azul-principal);
  border-radius: var(--border-radius-full);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-md);
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-base);
  transition: var(--transition-fast);
}

.footer-contact-item:hover {
  color: white;
  transform: translateX(3px);
}

.footer-contact-item:last-child {
  margin-bottom: 0;
}

.footer-contact-item i {
  color: var(--azul-principal);
  margin-right: var(--spacing-md);
  font-size: var(--font-lg);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: var(--spacing-2xl) 0 var(--spacing-xl);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--font-sm);
  margin-bottom: 0;
  text-align: center;
}

/* Efeitos decorativos do footer */
.footer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradiente-azul);
  z-index: 3;
}

/* Responsividade do Footer */
@media (max-width: 992px) {
  .footer-brand {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
  }
  
  .footer-brand p {
    max-width: 100%;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-links,
  .footer-contact {
    text-align: center;
    margin-bottom: var(--spacing-xl);
  }
  
  .footer-links h5::after,
  .footer-contact h5::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
  }
  
  .footer-brand .logo-text {
    font-size: var(--font-2xl);
  }
  
  .footer-brand p {
    font-size: var(--font-sm);
  }
  
  .social-link {
    width: 45px;
    height: 45px;
  }
  
  .social-link i {
    font-size: var(--font-lg);
  }
  
  .footer-links h5,
  .footer-contact h5 {
    font-size: var(--font-base);
  }
  
  .footer-links a,
  .footer-contact-item {
    font-size: var(--font-sm);
  }
  
  .footer-contact-item {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-brand .logo-text {
    font-size: var(--font-xl);
  }
  
  .social-link {
    width: 40px;
    height: 40px;
    margin: 0 var(--spacing-xs);
  }
  
  .social-link i {
    font-size: var(--font-base);
  }
  
  .footer-contact-item {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-xs);
  }
  
  .footer-contact-item i {
    margin-right: 0;
  }
  
  .footer-copyright {
    font-size: var(--font-xs);
    padding: 0 var(--spacing-md);
  }
}

