/* ================================================================
   CORRECTIF SLIDER VIDÉO - À AJOUTER DANS LE <style> PRINCIPAL
   Résout le problème de décalage des vidéos vers la droite
   ================================================================ */

/* Reset complet du conteneur home */
.start-page .section-content.vcentered {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.home-fullscreen-wrapper {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Container du slider vidéo - position absolue par rapport au parent */
.home-slider-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
  background: #000 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Slider principal */
#video-slider {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* Chaque slide */
#video-slider .slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  z-index: 1;
}

#video-slider .slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Vidéo - couvre tout l'espace disponible */
#video-slider .slide video {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
  background-color: #000 !important;
}

/* Indicateurs centrés */
#video-slider .slider-indicators {
  position: absolute !important;
  bottom: 30px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  right: auto !important;
  display: flex !important;
  gap: 12px !important;
  z-index: 20 !important;
}

/* Contrôles du slider vidéo (différents des flèches de navigation de page) */
#video-slider .slider-controls {
  position: absolute !important;
  top: 50% !important;
  left: 20px !important;
  right: 20px !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  justify-content: space-between !important;
  z-index: 15 !important;
  pointer-events: none !important;
}

#video-slider .slider-controls .slider-btn {
  pointer-events: auto !important;
}

/* Barre de progression */
#video-slider .slider-progress {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  height: 3px !important;
  z-index: 20 !important;
}

/* ================================================================
   FIN DU CORRECTIF
   ================================================================ */
