/* ===== FOOTER MODERNE & ÉPURÉ ===== */
.footer {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #e2e8f0;
  padding: var(--spacing-4xl) 0 var(--spacing-lg);
  position: relative;
  overflow: hidden;
}

/* Effet de profondeur subtil */
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.5), transparent);
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-2xl);
  margin-bottom: var(--spacing-2xl);
}

.footer__section {
  margin: 0 50px;
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: all var(--transition-base);
}

.footer__section:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-2px);
}

.footer__section h3 {
  color: #ffffff;
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer__section h3::before {
  content: '';
  width: 4px;
  height: 20px;
  background: var(--gradient-primary);
  border-radius: var(--border-radius-full);
}

.footer__section p {
  color: #cbd5e1;
  font-size: var(--font-size-sm);
  line-height: 1.6;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.footer__section p i {
  color: var(--primary-color);
  width: 16px;
  flex-shrink: 0;
}

.footer__section ul {
  list-style: none;
}

.footer__section ul li {
  color: #cbd5e1;
  font-size: var(--font-size-sm);
  margin-bottom: var(--spacing-xs);
  padding: var(--spacing-xs) 0;
  transition: all var(--transition-fast);
  position: relative;
  padding-left: var(--spacing-md);
}

.footer__section ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.footer__section ul li:hover {
  color: #ffffff;
  padding-left: var(--spacing-lg);
}

.footer__section a {
  color: #cbd5e1;
  text-decoration: none;
  transition: all var(--transition-fast);
  position: relative;
}

.footer__section a:hover {
  color: #ffffff;
}

/* Social Media avec style moderne */
.footer__social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--border-radius-lg);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.footer__social a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.footer__social a:hover::before {
  transform: translateY(0);
}

.footer__social a:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.footer__social a i {
  font-size: var(--font-size-lg);
  color: #ffffff;
  position: relative;
  z-index: 1;
  transition: transform var(--transition-base);
}

.footer__social a:hover i {
  transform: scale(1.1);
}

/* Bottom section épurée */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--spacing-lg);
  text-align: center;
  position: relative;
}

.footer__bottom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 1px;
  background: var(--gradient-primary);
}

.footer__bottom p {
  color: #94a3b8;
  font-size: var(--font-size-xs);
  margin-bottom: var(--spacing-xs);
  opacity: 0.8;
}

.footer__bottom a {
  color: var(--primary-light);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
}

.footer__bottom a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary-color);
  transition: width var(--transition-base);
}

.footer__bottom a:hover {
  color: #ffffff;
}

.footer__bottom a:hover::after {
  width: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .footer {
    padding: var(--spacing-3xl) 0 var(--spacing-md);
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
  
  .footer__section {
    text-align: center;
    padding: var(--spacing-md);
  }
  
  .footer__section h3 {
    justify-content: center;
  }
  
  .footer__section p {
    justify-content: center;
  }
  
  .footer__section ul li {
    padding-left: 0;
  }
  
  .footer__section ul li::before {
    display: none;
  }
  
  .footer__social {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: var(--spacing-2xl) 0 var(--spacing-sm);
  }
  
  .footer__content {
    gap: var(--spacing-md);
  }
  
  .footer__section {
    padding: var(--spacing-sm);
  }
  
  .footer__section h3 {
    font-size: var(--font-size-base);
  }
  
  .footer__section p,
  .footer__section ul li {
    font-size: var(--font-size-xs);
  }
  
  .footer__social a {
    width: 36px;
    height: 36px;
  }
  
  .footer__social a i {
    font-size: var(--font-size-base);
  }
}

/* Animation subtile au scroll */
@media (prefers-reduced-motion: no-preference) {
  .footer__section {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
  }
  
  .footer__section:nth-child(1) { animation-delay: 0.1s; }
  .footer__section:nth-child(2) { animation-delay: 0.2s; }
  .footer__section:nth-child(3) { animation-delay: 0.3s; }
  .footer__section:nth-child(4) { animation-delay: 0.4s; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}