/* Styles pour l'alignement du footer */

/* Conteneur principal du footer */
.footer {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

/* Section newsletter */
.footer .row:first-child {
  align-items: center;
  min-height: 120px;
}

.footer h2 {
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 0.75rem;
  font-family: 'Titillium Web', sans-serif;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Formulaire newsletter */
.footer form {
  align-items: stretch;
  gap: 0.75rem;
}

.footer .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  color: #ffffff;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.footer .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.footer .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(33, 92, 92, 0.25);
  color: #ffffff;
}

.footer .btn-primary {
  background: var(--bs-primary);
  border: 2px solid var(--bs-primary);
  border-radius: 0.75rem;
  padding: 0.875rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.footer .btn-primary:hover {
  background: #1a5a5a;
  border-color: #1a5a5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(33, 92, 92, 0.3);
}

/* Sections du footer */
.footer .row.justify-content-between {
  align-items: flex-start;
}

.footer h3 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-family: 'Titillium Web', sans-serif;
  position: relative;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--bs-primary);
  border-radius: 1px;
}

/* Section À propos */
.footer .col-md-4 p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Liens du footer */
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer ul li:last-child {
  margin-bottom: 0;
}

.footer ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer ul li a:hover {
  color: var(--bs-primary);
  transform: translateX(5px);
  text-decoration: none;
}

.footer ul li a::before {
  content: '→';
  position: absolute;
  left: -1.5rem;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--bs-primary);
}

.footer ul li a:hover::before {
  opacity: 1;
  left: -1rem;
}

/* Informations de contact */
.footer .contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer .contact-info .d-flex {
  align-items: flex-start;
  gap: 1rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer .contact-info .d-flex:hover {
  color: var(--bs-primary);
  text-decoration: none;
}

.footer .contact-info i {
  color: var(--bs-primary);
  font-size: 1.1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.footer .contact-info span {
  line-height: 1.5;
}

/* Section copyright */
.footer .credits {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  margin-top: 2rem;
  align-items: center;
}

.footer .credits .col-xl-8 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer .credits .col-xl-8 strong {
  color: var(--bs-primary);
  font-weight: 600;
}

.footer .quick-links {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-style: italic;
  font-weight: 500;
}

/* Responsive design */
@media (max-width: 1199.98px) {
  .footer .row.justify-content-between {
    flex-direction: column;
  }
  
  .footer .col-md-7 {
    margin-top: 2rem;
  }
}

@media (max-width: 991.98px) {
  .footer .row:first-child {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .footer form {
    flex-direction: column;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .footer .btn-primary {
    width: 100%;
  }
  
  .footer .col-md-4,
  .footer .col-md-7 {
    margin-bottom: 2rem;
  }
  
  .footer .credits {
    text-align: center;
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer .quick-links {
    order: -1;
  }
}

@media (max-width: 767.98px) {
  .footer {
    padding: 3rem 0;
  }
  
  .footer h2 {
    font-size: 1.5rem;
  }
  
  .footer h3 {
    font-size: 1.1rem;
  }
  
  .footer .form-control,
  .footer .btn-primary {
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }
  
  .footer ul li {
    margin-bottom: 0.5rem;
  }
  
  .footer .contact-info .d-flex {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* Animation d'entrée */
.footer .row {
  animation: fadeInUp 0.6s ease-out;
}

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

/* Effet de survol pour les sections */
.footer .col-md-4,
.footer .col-md-7 {
  transition: transform 0.3s ease;
}

.footer .col-md-4:hover,
.footer .col-md-7:hover {
  transform: translateY(-2px);
}
