	/* ******* Defilement logos sponsors ******** */
.slider {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.slide-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

/* Pause au survol par la souris */
.slide-track:hover {
  animation-play-state: paused !important;
}

.slidelogo {
  flex: 0 0 auto;
  width: 150px;
  margin-right: 40px;
  margin-top: 0rem;
  margin-bottom: 0rem;
}

.slidelogo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

@keyframes logo-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--loop-width, 1000px)));
  }
}

/* Curseur sur les images du carrousel */
.slidelogo img {
  cursor: pointer;
}

/* Arrière-plan de la modale (Bleu nuit profond) */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 50px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(11, 19, 30, 0.88); /* Bleu nuit pétrole profond */
  backdrop-filter: blur(8px); /* Effet de flou légèrement accentué */
  -webkit-backdrop-filter: blur(8px);
}

/* Image agrandie avec cadre blanc, ombre et animation progressive */
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  object-fit: contain;
  background-color: #ffffff;
  border: 6px solid #ffffff;
  border-radius: 8px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  
  /* Animation ralentie à 0.6s avec courbe progressive */
  animation-name: zoomIn;
  animation-duration: 0.6s;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animation Zoom-In progressive */
@keyframes zoomIn {
  from {
    transform: scale(0.4); /* Part d'un peu plus petit pour mieux voir l'agrandissement */
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Bouton de fermeture (croix) */
.modal-close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #ffffff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

/* Effet au survol du bouton de fermeture */
.modal-close:hover {
  color: #f05a24; /* Orange des titres */
  transform: scale(1.15);
}

/* Tablette */
@media (max-width: 768px) {
  .slidelogo {
    width: 200px;
    margin-right: 40px;
    margin-top: -3rem;
    margin-bottom: 0;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .slidelogo {
    flex: 0 0 auto;
    width: 125px;
    margin-right: 40px;
    margin-top: 0rem;
    margin-bottom: 0rem;
  }
}