/*
Auteur :
  - Louis AMEDRO (alias Osiris Sio)

© 2026 Osiris Sio - Tous droits réservés.
*/

footer {
  background: linear-gradient(
    180deg,
    var(--bleu-fonce) 0%,
    var(--bleu-clair) 100%
  );
  color: var(--blanc);
  margin-top: 2em;
  padding: 40px 20px 20px 20px;
}

.footer-container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 1200px;
}

/* Grille principale (3 colonnes) */
.footer-content {
  display: grid;
  gap: 2em;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  margin-bottom: 2em;
}

.footer-col {
  text-align: left;
}

.footer-col h3 {
  color: var(--jaune);
  font-size: 1.4em;
  margin-bottom: 1em;
  margin-top: 0;
  text-transform: uppercase;
}

.footer-col p {
  color: var(--blanc);
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
}

/* Liens Rapides */
.links-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.links-col li {
  margin-bottom: 0.8em;
}

.links-col a {
  color: var(--blanc);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* Réseaux Sociaux */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2em;
}

.social-icons a {
  display: inline-block;
  transition: transform var(--transition);
}

.social-icons a:hover {
  transform: scale(1.2);
}

.social-icons img {
  filter: invert(92%) sepia(0%) saturate(0%) hue-rotate(199deg) brightness(108%)
    contrast(101%); /* Filtre pour jaune */
  height: 32px;
  width: 32px;
}

.social-icons img.no-filter {
  filter: none;
}

/* Barre du bas (Copyright & Légal) */
.footer-bas {
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 1.5em;
}

.footer-bas p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9em;
  margin: 0;
}

.footer-legal a {
  color: var(--jaune);
  font-size: 0.9em;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

/* Responsive */
@media screen and (max-width: 880px) {
  footer {
    padding-bottom: 70px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .footer-col {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-bas {
    flex-direction: column;
    gap: 1em;
    text-align: center;
  }
}
