.footer {
  background-color: #481b4b;
  color: #fff;
  padding: 2rem 1rem;
  position: relative;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo img {
  max-width: 200px;
  height: auto;
}

.footer-contact,
.footer-about,
.footer-social {
  flex: 1;
  margin: 0 1rem;
}

.footer-contact h3,
.footer-about h3,
.footer-social h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.footer-contact ul,
.footer-about ul {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.footer-about li {
  margin-bottom: 1rem;
}

.footer-social .social-icons {
  display: flex;
  gap: 0.5rem;
}

.footer-social .social-icons img {
  width: 30px;
  height: 30px;
}

.footer-copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
}

.footer-logo {
  margin-right: 1.5rem;
}

.contact-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
}

.contact-link:visited,
.contact-link:link,
.contact-link:hover,
.contact-link:active {
  color: inherit;
}

.footer-link {
  text-decoration: none;
  color: inherit;
}

.footer-link:visited,
.footer-link:link,
.footer-link:hover,
.footer-link:active {
  color: inherit;
}

.footer-contact,
.footer-about,
.footer-social {
  flex: 1;
  margin: 0 1rem;
}

.emoji-icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.social-icon {
  width: 30px; /* Ajuste la largeur de l'icône */
  height: 30px; /* Ajuste la hauteur de l'icône */
  fill: #fff; /* Couleur de l'icône, blanc par défaut */
}

/* ------ MOBILE ------ */
@media (max-width: 768px) {
  .footer {
    min-height: 20vh; /* Ajuste selon la taille du footer */
  }

  .footer-container {
    flex-direction: column; /* Aligne verticalement les sections sur mobile */
    align-items: center; /* Centre les sections sur mobile */
    gap: 1rem; /* Ajoute un espace entre les sections */
  }

  .footer-contact,
  .footer-about,
  .footer-social {
    text-align: center; /* Centre le texte sur mobile */
    margin: 0; /* Retire les marges latérales */
    max-width: 100%; /* Prend toute la largeur sur mobile */
  }

  .footer-contact {
    margin-top: -3rem; /* Marge négative pour faire remonter cette div */
  }

  .footer-social .social-icons {
    justify-content: center; /* Centre les icônes sociales */
  }

  .footer-copyright {
    padding-bottom: 1rem; /* Laisse de l'espace supplémentaire pour le texte de copyright */
  }
}
