
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    padding: 0;
    box-sizing: border-box;
    margin: 0;
    text-decoration: none;
    font-family: 'poppins', sans-serif;
}
/* Tailles fluides spécifiques au footer */
.footer .footer-contact h2,
.footer .footer-link h2,
.footer-sponsors h1 {
  font-size: clamp(1rem, 2vw, 1.5rem); /* environ 22px */
}

.footer .footer-contact p,
.footer .footer-link a,
.footer .footer-copyright p {
  font-size: clamp(12.5px, 1.2vw, 14px) !important; /* environ 14px */
}

.footer .footer-social a i {
  font-size: clamp(1rem, 1.2vw, 1.2rem); /* 16-18px */
}

.footer {
    position: relative;
    width: 100%;
    padding-top: 40px;
    background: #092a49;
}
.box-footer{
  width: 75%;
  margin: 0 auto;
}
.footer-wrapper {
     width: 100%;
     display: flex;
     gap:30px;
     justify-content: space-between;
  
}
.footer-col {
    flex: 1;
    /* min-width: 0;  */
    width: 35.333%;
    /* max-width: 33.333%; */
}
/* Pour s'assurer que le contenu ne déborde pas */
.footer-col > div {
    width: 100%;
    overflow: hidden;
}
.footer .footer-contact,
.footer .footer-link {
    position: relative;
    margin-bottom: 45px;
    color: #ffffff;
 
}

.footer .footer-contact h2,
.footer .footer-link h2{
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #ffffff;
}

.footer .footer-contact h2::after,
.footer .footer-link h2::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #0796fe;
} 


.footer .footer-contact p {
    margin-bottom: 15px;
    word-wrap: break-word; /* Coupe les mots longs */
    display: flex;
    align-items: center;
    gap: 10px;
}


.footer .footer-link a {
    display: block;
    margin-bottom: 10px;
    color: #ffffff;
    transition: .3s;
    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    font-size: 16px;
}

.footer .footer-link a::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .footer-link a:hover {
    color: #0796fe;

}

.footer .footer-contact p i {
    width: 25px;
}

.footer .footer-social {
    position: relative;
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.footer .footer-social a {
    display: inline-block;
}


.footer .footer-social a i {
    color: #0796fe;
    font-size: 16px;
    margin: 0;
}

.footer .footer-social a:hover i {
    color: #ffffff;
}

.footer .footer-social a:last-child i {
    margin: 0;
}

.footer .footer-social a:hover i {
    color: #999999;
}


/* footer_compagnies */
.footer-sponsors {
   width: 100%;
  overflow: hidden;
  position: relative;
}
.footer-sponsors h1{
    width: fit-content;
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
    font-weight: 400;
    letter-spacing: 1px;
    color: #ffffff;
    
}


.footer .footer-sponsors h1::after
{
    position: absolute;
    content: "";
    width: 100px;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #0796fe;
} 

.sponsor-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-bottom: 15px;
}

.sponsor-track {
  display: flex;
  width: max-content;
  transition: 0.33s ease-in;
  animation: scrollSponsors 30s linear infinite;
  gap:30px;
  -webkit-animation: scrollSponsors 30s linear infinite;
  -webkit-transition: 0.33s ease-in;
  -moz-transition: 0.33s ease-in;
  -ms-transition: 0.33s ease-in;
  -o-transition: 0.33s ease-in;
}
.sponsor-track a {
    display: block;
    flex-shrink: 0;
}
.sponsor-track a img {
  height: 120px;
  width: 120px;
  border-radius: 5px;
  object-fit: cover;
  transition: transform 0.3s;
  -webkit-transition: transform 0.3s;
  -moz-transition: transform 0.3s;
  -ms-transition: transform 0.3s;
  -o-transition: transform 0.3s;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
}

.sponsor-track a:hover img {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}
.footer-airlines-text {
    margin-top: 15px;
    color: #ffffff;
    text-align: justify;
     line-height: 1.6;
    opacity: 0.9;
}


/* Animation de défilement vers la gauche */
/* Animation infinie et fluide - SANS AUCUN TEMPS MORT */
@keyframes scrollInfinity {
    0% {
        transform: translateX(0);
    }
    100% {
        /* La valeur doit être exactement la largeur d'un jeu complet d'images */
        transform: translateX(calc(-50% - 12.5px)); /* Ajusté pour tenir compte du gap */
    }
}

/* Version avec performance améliorée pour les navigateurs */
@keyframes scrollInfinityOptimized {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

/* Appliquer l'animation optimisée si supportée */
@supports (transform: translate3d(0, 0, 0)) {
    .sponsor-track {
        animation-name: scrollInfinityOptimized;
    }
}


/* Copyright */
.footer .footer-copyright {
    width: 75%;
    margin: 0 auto;
    margin-top: 30px;
}

.footer .footer-copyright .footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer .footer-copyright p {
    margin: 0;
    color: #999999;
}

.footer .footer-copyright p a {
    color: #ffffff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer .footer-copyright p a:hover {
    color: #0796fe;
} 

@media (max-width: 999px) {
  
  .sponsor-track a img {
    width: 90px;
    height: 90px;
    margin-right:40px;
  }
 
  .footer-sponsors {
 padding:0 !important;
 
}


  .footer-airlines-text {
    margin-bottom: 10px;
  }
}

@media (max-width: 768px) {
  .footer-wrapper {
    flex-direction: column;
  }

   .footer-col {
        width: 100%;
        max-width: 100%;
        flex: none;
    }


  .sponsor-track a img {
    width: 80px;
    height: 80px;
    
  }

  .footer .footer-copyright .footer-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer .footer-copyright p {
    margin: 5px 0;
    text-align: center !important;
  }

  /* Mettre la colonne sponsor en premier */
  .footer-wrapper .footer-col:nth-child(3) {
    order: -1;
  }
}



/* Responsive */
@media (max-width: 768px) {
    .footer .footer-copyright .footer-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer .footer-copyright p {
        margin: 5px 0;
        text-align: center !important;
    }
}

@media (max-width: 1599px) and (min-width: 1200px) {
    .box-footer , .footer .footer-copyright{
        width: 90%;
    }
/*  
.footer .footer-link a{
  font-size: 14.5px;
}
    
.footer .footer-contact p {
   
    font-size: 14.5px;
} */
}

@media (max-width: 1199px) {
 .box-footer , .footer .footer-copyright{
        width: 90%;
    }
}


.footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}


