.def-slider-carousel {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.def-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.def-slide {
  position: relative;
  width: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: none;
}

.def-slide.active {
  opacity: 1;
  display: block;
}

.def-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.def-slide a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Indicateurs (dots) */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 10;
}

.carousel-indicators li {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  will-change: background-color, transform;
}

.carousel-indicators li:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.carousel-indicators li.active {
  background-color: #fff;
}

/* Flèches de navigation */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.carousel-control:hover {
  background-color: rgba(0, 0, 0, 0.7);
  text-decoration: none;
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
  display: block;
  position: relative;
}

.carousel-control-prev-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%) rotate(45deg);
  width: 10px;
  height: 10px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.carousel-control-next-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-70%, -50%) rotate(-45deg);
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
