#footer {
  background: #FFFFFF;
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem 0;
  margin-top: 0;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 1.2rem;
}

.footer-brand p {
  color: var(--texte-muted);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 380px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--vert-foncé);
  margin-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a {
  color: var(--texte);
  font-weight: 600;
  font-size: 0.98rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--vert-moyen);
  transform: translateX(4px);
}

.footer-contact p {
  color: var(--texte);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.footer-contact a {
  color: var(--vert-moyen);
  font-weight: 700;
}

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding: 2rem 2rem 0 2rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--texte-muted);
}

.footer-legal-link {
  color: var(--texte-muted);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-legal-link:hover {
  color: var(--vert-moyen);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  #footer {
    padding: 3rem 0 1.75rem 0;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.25rem;
    margin-bottom: 2rem;
  }
  .footer-brand p {
    max-width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem 1.25rem 0 1.25rem;
    gap: 0.75rem;
  }
  .footer-legal-link {
    padding: 0.4rem 0.6rem;
    display: inline-block;
  }
}

@media (max-width: 480px) {
  #footer {
    padding: 2.5rem 0 1.5rem 0;
  }
  .footer-container {
    padding: 0 1rem;
    gap: 1.75rem;
  }
}
