/* Conteneur global */
.accueil-realisations-container {
  width: 100%;
  height: fit-content;
  background-color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
  flex-direction: column;
    overflow: hidden; /* ✅ empêche la barre de scroll due au scale ou débordement */

}

/* Swiper wrapper */
.swiper {
  width: 100%;
  height: 100%;
  padding: 0 2rem;
  box-sizing: border-box;
}

/* Slides générales */
.swiper-slide {
  width: 80%;
  min-width: 300px;
  max-width: 700px;
  flex-shrink: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.5;
  transform: scale(0.9);
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}


/* Slide active : bien visible et à taille normale */
.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* Optionnel : effet visuel sur les autres slides */
.swiper-slide:not(.swiper-slide-active) {
  filter: blur(1px);
}

/* Vidéos */
.swiper-slide video {
  width: 100%;
  height: auto;
  border-radius: 0;
  display: block;
}

/* Titre dans la slide */
.swiper-slide h3 {
  margin-top: 1rem;
  font-size: 1.2rem;
  text-align: center;
  color: #E0E0E0;
}

.swiper-wrapper a {
  text-decoration: none;
}

.swiper-button-prev,
.swiper-button-next {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);

  padding: 10px;
  color: #fff;
  width: 40px;
  height: 40px;
}
