.module-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.module-carousel .slide {
  width: 100%;
}

.module-carousel .slide img {
  width: 100%;
  object-fit: cover; /* garde le ratio et couvre tout l’espace */
}

.module-carousel .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: white;
  cursor: pointer;
  padding: 0 15px;
  user-select: none;
  transition: opacity 0.3s;
  z-index: 10;
}

.module-carousel .nav.prev {
  left: 10px;
}

.module-carousel .nav.next {
  right: 10px;
}

.module-carousel .nav:hover {
  opacity: 0.7;
}

/* Optionnel : points de navigation en bas */
.module-carousel .dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.module-carousel .dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

.module-carousel .dots span.active {
  background: white;
}
