/* ========== FOOTER PRINCIPAL ========== */

.footer-main {
  width: 100%;
  background: linear-gradient(to bottom, #FFECE0 0%, #FFFFFF 50%, #FFFFFF 100%);
  padding: 3rem 0 0 0;
  position: relative;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  background: none;
}

/* Grille 3 colonnes */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  background: none;
  gap: 2.5rem;
  background: none;
  margin-bottom: 2rem;
}

.footer-column {
  display: flex;
  flex-direction: column;
  background: none;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.footer-column.animate {
  opacity: 1;
  transform: translateY(0);
}

.footer-column:nth-child(1).animate {
  transition-delay: 0.1s;
}

.footer-column:nth-child(2).animate {
  transition-delay: 0.3s;
}

.footer-column:nth-child(3).animate {
  transition-delay: 0.5s;
}

/* ========== COLONNE 1 - LOGO ET TEXTE ========== */

.footer-logo {
  margin-bottom: 1rem;
  background: none;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.5s ease-out;
}

.footer-logo.animate {
  opacity: 1;
  transform: scale(1);
}

.footer-logo img {
  max-width: 180px;
  background: none;
  height: auto;
}

.footer-text {
  color: #4b5563;
  line-height: 1.7;
  background: none;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  text-align: justify;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease-out 0.2s;
}

.footer-text.animate {
  opacity: 1;
  transform: translateX(0);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: none;
  align-items: center;
}

.footer-badges img {
  height: 40px;
  width: auto;
  background: none;
  object-fit: contain;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease-out;
}

.footer-badges img.animate {
  opacity: 1;
  transform: translateY(0);
}

.footer-badges img:nth-child(1).animate {
  transition-delay: 0.1s;
}

.footer-badges img:nth-child(2).animate {
  transition-delay: 0.2s;
}

.footer-badges img:nth-child(3).animate {
  transition-delay: 0.3s;
}

.footer-badges img:nth-child(4).animate {
  transition-delay: 0.4s;
}

.footer-badges img:nth-child(5).animate {
  transition-delay: 0.5s;
}

/* ========== COLONNE 2 - LIENS ========== */

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  background: none;
  color: #111827;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: translateX(-15px);
  transition: all 0.5s ease-out;
}

.footer-heading.animate {
  opacity: 1;
  transform: translateX(0);
}

.footer-links {
  list-style: none;
  padding: 0;
  background: none;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.85rem;
  font-weight: 550;
  background: none;
  display: block;
  opacity: 0;
  transform: translateX(-15px);
  transition: all 0.4s ease-out;
}

.footer-links li.animate {
  opacity: 1;
  transform: translateX(0);
}

.footer-links li:nth-child(1).animate {
  transition-delay: 0.1s;
}

.footer-links li:nth-child(2).animate {
  transition-delay: 0.2s;
}

.footer-links li:nth-child(3).animate {
  transition-delay: 0.3s;
}

.footer-links li:nth-child(4).animate {
  transition-delay: 0.4s;
}

.footer-links li:nth-child(5).animate {
  transition-delay: 0.5s;
}

.footer-links li:hover {
  border: none;
}

.footer-links a {
  color: #6b7280;
  background: none;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #f97316;
  transform: translateX(5px);
}

/* ========== COLONNE 3 - CONTACT ========== */

.footer-contact {
  margin-bottom: 1.5rem;
  background: none;
}

.contact-item {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  background: none;
  line-height: 1.6;
  color: #4b5563;
  opacity: 0;
  transform: translateX(15px);
  transition: all 0.5s ease-out;
}

.contact-item.animate {
  opacity: 1;
  transform: translateX(0);
}

.contact-item:nth-child(1).animate {
  transition-delay: 0.1s;
}

.contact-item:nth-child(2).animate {
  transition-delay: 0.2s;
}

.contact-item:nth-child(3).animate {
  transition-delay: 0.3s;
}

.contact-item:nth-child(4).animate {
  transition-delay: 0.4s;
}

.contact-label {
  font-weight: 600;
  background: none;
  color: #111827;
}

.contact-label-span {
  background: none;
}

/* IcÃ´nes sociales */
/* ========== ICÃ”NES SOCIALES - VERSION CORRIGÃ‰E ========== */

.footer-social {
  display: flex;
  gap: 1.5rem; /* Espacement uniforme entre les icÃ´nes */
  background: none;
  align-items: center;
  justify-content: center;
}

.social-icon {
  width: 50px; /* Largeur fixe */
  height: 50px; /* Hauteur fixe */
  min-width: 50px; /* â¬…ï¸ IMPORTANT: empÃªche la rÃ©duction */
  min-height: 50px; /* â¬…ï¸ IMPORTANT: empÃªche la rÃ©duction */
  border-radius: 50%;
  display: flex;
  align-items: center;
  background-color: #FF802B;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.5);
  flex-shrink: 0; /* EmpÃªche le rÃ©trÃ©cissement */
  box-shadow: 0 2px 8px rgba(255, 128, 43, 0.2); /* Ombre lÃ©gÃ¨re par dÃ©faut */
}

.social-icon.animate {
  opacity: 1;
  transform: scale(1);
}

.social-icon:nth-child(1).animate {
  transition-delay: 0.1s;
}

.social-icon:nth-child(2).animate {
  transition-delay: 0.2s;
}

.social-icon:nth-child(3).animate {
  transition-delay: 0.3s;
}

/* â¬…ï¸ EFFET HOVER AMÃ‰LIORÃ‰ AVEC OMBRE */
.social-icon:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 20px rgba(255, 128, 43, 0.5); /* Ombre prononcÃ©e au survol */
  background-color: #e6721f; /* LÃ©gÃ¨re variation de couleur */
}

.social-icon:active {
  transform: scale(1.05); /* Effet de clic */
  box-shadow: 0 4px 12px rgba(255, 128, 43, 0.4);
}

.social-icon img {
  width: 60px; /* â¬…ï¸ AUGMENTÃ‰ de 24px Ã  32px */
  height: 60px; /* â¬…ï¸ AUGMENTÃ‰ de 24px Ã  32px */
  object-fit: contain;
  pointer-events: none;
  filter: brightness(0) invert(1); /* â¬…ï¸ OPTIONNEL: Rend les icÃ´nes blanches */
}

/* ========== COPYRIGHT ========== */

.footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding: 1.5rem 0;
  text-align: center;
  background: none;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.footer-bottom.animate {
  opacity: 1;
  transform: translateY(0);
}

.copyright-text {
  color: #6b7280;
  background: none;
  font-size: 0.9rem;
  margin: 0;
}

/* Illustration en bas */
.footer-illustration {
  width: 100%;
  margin-top: 0;
  background: none;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.footer-illustration.animate {
  opacity: 1;
  transform: translateY(0);
}

.footer-illustration img {
  width: 100%;
  height: auto;
  max-height: 300px;
  display: block;
}

/* ========== RESPONSIVE - TABLETTE ========== */
@media (min-width: 768px) {
  .banner-promo {
    padding: 2.5rem 1rem;
    min-height: 140px;
  }

  .banner-image-left,
  .banner-image-right {
    width: 130px;
    height: 130px;
  }

  .banner-content {
    padding: 0 150px;
  }

  .banner-subtitle {
    font-size: 0.875rem;
  }

  .banner-title {
    font-size: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
  }

  .footer-logo img {
    max-width: 150px;
  }

  .footer-badges img {
    height: 45px;
  }
   #badge4{
    height: 40px;
    max-width: 100px;
   }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .footer-badges {
    order: 1;
  }

  .copyright-text {
    order: 2;
  }

  .footer-social {
    order: 3;
  }
}

/* ========== RESPONSIVE - DESKTOP ========== */
@media (min-width: 1024px) {
  .banner-promo {
    padding: 3rem 1rem;
    min-height: 160px;
  }

  .banner-image-left,
  .banner-image-right {
    width: 160px;
    height: 160px;
  }

  .banner-content {
    padding: 0 180px;
  }

  .banner-subtitle {
    font-size: 1rem;
  }

  .banner-title {
    font-size: 3rem;
  }

  .footer-main {
    padding: 4rem 0 0 0;
  }

  .footer-grid {
    gap: 4rem;
  }
}

/* ========== RESPONSIVE - GRAND Ã‰CRAN ========== */
@media (min-width: 1280px) {
  .banner-title {
    font-size: 3.5rem;
  }

  .footer-container {
    padding: 0 3rem;
  }
}

/* ========== RESPONSIVE - MOBILE ========== */
@media (max-width: 767px) {
  .banner-image-left,
  .banner-image-right {
    width: 70px;
    height: 120px;
  }

  .banner-content {
    padding: 0 80px;
  }

  .banner-subtitle {
    font-size: 0.65rem;
  }

  .banner-title {
    font-size: 1.5rem;
  }

  .footer-main {
    padding: 2rem 0 0 0;
  }

  .footer-container {
    padding: 0 1rem;
  }

  .footer-grid {
    gap: 2rem;
  }

  .footer-logo img {
    max-width: 150px;
  }

  .footer-badges {
    gap: 0.5rem;
  }

  .footer-badges img {
    height: 35px;
  }
  #badge4{
    height: 30px;
    max-width: 75px;
  }
  .footer-heading {
    font-size: 1rem;
  }

  .social-icon {
    width: 40px;
    height: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
  }

  .footer-badges {
    justify-content: center;
  }

  .copyright-text {
    text-align: center;
    font-size: 0.85rem;
  }

  .footer-social {
    justify-content: center;
  }
}