/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(180deg, #1e1e1e 0%, #0f0f0f 100%);
  color: #fff;
  padding: 40px 20px 20px;
  font-family: Arial, sans-serif;
  position: relative;
  overflow: hidden;
}

/* Décoration du footer */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    #f39c12 25%,
    #e67e22 50%,
    #d35400 75%,
    transparent 100%);
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Container */
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

/* Logo / Titre colonne */
.footer-col h2.logo {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #f39c12;
}

/* Titres des colonnes */
.footer-col h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: #f39c12;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Paragraphes et adresses */
.footer-col p,
.footer-col address {
  color: #ddd;
  line-height: 1.8;
  font-style: normal;
}

.footer-col address a {
  position: relative;
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 4px 0;
}

.footer-col address a:hover {
  color: #f39c12;
  padding-left: 5px;
}

.footer-col address a:focus {
  outline: 2px solid #f39c12;
  outline-offset: 4px;
  border-radius: 4px;
}

/* Listes */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin: 8px 0;
}

/* Liens listes - hover avec soulignement animé */
.footer-col ul li a {
  position: relative;
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  padding: 4px 0;
}

.footer-col ul li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 2px;
  left: 0;
  background: linear-gradient(90deg, #f39c12, #e67e22);
  transition: width 0.3s ease-in-out;
}

.footer-col ul li a:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-col ul li a:hover::after {
  width: 100%;
}

.footer-col ul li a:focus {
  outline: 2px solid #f39c12;
  outline-offset: 4px;
  border-radius: 4px;
  color: #fff;
}

/* Réseaux sociaux - hover couleur uniquement */
.socials a {
  display: inline-block;
  margin: 8px 0;
  padding: 6px 12px;
  color: #bbb;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 6px;
  background: transparent;
  border: 1px solid transparent;
}

.socials a:hover {
  color: #f39c12;
  font-weight: bold;
  background: rgba(243, 156, 18, 0.1);
  border-color: #f39c12;
  transform: translateX(5px);
}

.socials a:focus {
  outline: 2px solid #f39c12;
  outline-offset: 2px;
  color: #f39c12;
}

/* Footer bas */
.footer-bottom {
  border-top: 1px solid #444;
  margin-top: 20px;
  padding-top: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #aaa;
}

/* Responsive */
@media (max-width: 1024px) {
  .footer {
    padding: 35px 20px 18px;
  }

  .footer-container {
    gap: 25px;
  }

  .footer-col h2.logo {
    font-size: 1.6rem;
  }

  .footer-col h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 30px 20px 15px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-col {
    text-align: center;
  }

  .footer-col h2.logo {
    font-size: 1.5rem;
  }

  .footer-col h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .footer-col p,
  .footer-col address {
    font-size: 0.95rem;
  }

  .footer-col ul li {
    margin: 10px 0;
  }

  .socials {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
  }

  .socials a {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }

  .socials a:hover {
    transform: translateX(0) scale(1.05);
  }

  .footer-bottom {
    font-size: 0.85rem;
    margin-top: 25px;
  }
}

@media (max-width: 480px) {
  .footer {
    padding: 25px 15px 12px;
  }

  .footer-container {
    gap: 25px;
  }

  .footer-col h2.logo {
    font-size: 1.3rem;
  }

  .footer-col h3 {
    font-size: 1rem;
  }

  .footer-col p,
  .footer-col address {
    font-size: 0.9rem;
  }

  .socials a {
    font-size: 0.9rem;
    padding: 8px 10px;
  }

  .footer-bottom {
    font-size: 0.8rem;
    padding-top: 15px;
  }
}
