/* Footer principal */
.footer-container {
  background-color: var(--color-gray-light);
  color: var(--color-primary);
  padding: 40px 20px 0;
  width: 100%;
  box-sizing: border-box;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

/* Sections du footer */
.footer-section {
  flex: 1;
  min-width: 0;
}

/* Section logo alignée à gauche */
.footer-section.footer-logo-section {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  margin-right: auto;
  max-width: 280px;
}

.footer-logo {
  margin-bottom: 15px;
}

.footer-logo img {
  max-width: 250px;
  height: auto;
  display: block;
}

.footer-logo-desc {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-primary);
  line-height: 1.4;
  font-family: 'MomoTrustSans', sans-serif;
  margin: 0 0 20px 0;
  text-align: left;
  max-width: 100%;
}

/* Section siège social avec espacement */
.footer-section.footer-address-section {
  flex: 0 0 auto;
  min-width: 120px;
}

.address-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-primary);
  font-family: 'MomoTrustSans', sans-serif;
}

.address-info p {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-primary);
  font-family: 'MomoTrustSans', sans-serif;
  margin: 0;
}

/* Sections standard */
.footer-section h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--color-primary);
  font-family: 'MomoTrustSans', sans-serif;
  text-align: left;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  font-family: 'MomoTrustSans', sans-serif;
  transition: 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

.contact-info {
  text-align: left;
}

.contact-info .contact-item {
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
}

.contact-info .contact-label {
  font-weight: 600;
  color: var(--color-primary);
  font-family: 'MomoTrustSans', sans-serif;
  font-size: 14px;
}

.contact-info .contact-value {
  color: var(--color-primary);
  font-family: 'MomoTrustSans', sans-serif;
  font-weight: 400;
  font-size: 14px;
}

.legal-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.legal-links a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 400;
  font-family: 'MomoTrustSans', sans-serif;
}

.legal-links a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}

/* --- Bottom footer --- */
.footer-bottom {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 20px 40px;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0;
  font-family: 'MomoTrustSans', sans-serif;
}

/* Horaires alignés à gauche */
.footer-bottom-left {
  flex: 1;
  text-align: left;
}

.footer-bottom-left .horaires,
.footer-bottom-left .horaires-details {
  font-size: 14px;
  font-weight: 300;
  color: var(--color-white);
  margin: 0;
}

.footer-bottom-left .horaires {
  font-weight: 600;
  margin-bottom: 4px;
}

/* Copyright centré sur son texte uniquement */
.footer-bottom-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-bottom-center .copyright,
.footer-bottom-center .rights-reserved {
  font-size: 12px;
  font-weight: 300;
  color: var(--color-gray-light);
  margin: 0;
}

.footer-bottom-center .rights-reserved {
  font-weight: 400;
  margin-top: 2px;
}

/* Social links alignés à droite */
.footer-bottom-right {
  flex: 1;
  text-align: right;
}

.footer-bottom-right .social-links {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.social-link {
  display: inline-block;
  width: 24px;
  height: 24px;
  transition: opacity 0.3s ease;
}

.social-link:hover {
  opacity: 0.8;
}

.social-link svg {
  width: 100%;
  height: 100%;
  fill: var(--color-gray-light);
}

.social-link:hover svg {
  fill: var(--color-white);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-content {
    gap: 30px;
    flex-wrap: wrap;
  }
  
  .footer-section.footer-logo-section {
    flex: 0 0 100%;
    margin-bottom: 20px;
    max-width: 100%;
  }
  
  .footer-section.footer-address-section {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 30px 15px 0;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  
  .footer-section {
    width: 100%;
    text-align: center;
  }
  
  .footer-section.footer-logo-section {
    align-items: center;
    text-align: center;
  }
  
  .footer-logo-desc {
    text-align: center;
  }
  
  .footer-section h3,
  .footer-section ul,
  .contact-info,
  .legal-links {
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 15px 20px;
  }
  
  .footer-bottom-left,
  .footer-bottom-center,
  .footer-bottom-right {
    flex: none;
    text-align: center;
    width: 100%;
  }
  
  .footer-bottom-right .social-links {
    justify-content: center;
  }
}