.art-slider {
  position: relative;
  height: 80vh;
  width: 90%;
  margin: 60px auto;
  overflow: hidden;
  background: #000;
  display: flex;
  align-items: center;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 60%;
  height: 100%;
  object-fit: contain; /* ou cover si tu préfères */
}

.caption {
  width: 40%;
  padding: 60px;
  color: white;
  text-align: left;
  transform: translateY(30px);
  opacity: 0;
  transition: all 1s ease;
}

.slide.active .caption {
  transform: translateY(0);
  opacity: 1;
}

.caption h2 {
  font-size: 28px;
  font-weight: 300;
  margin-bottom: 15px;
}

.caption p {
  font-size: 16px;
  color: #ccc;
}

/* Boutons */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  color: White;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.3s;
  z-index: 10;
}

.nav:hover { opacity: 1; }

.prev { left: 20px; }
.next { right: 20px; }

/* Dots */
.dots {
  align-self: flex-end;   /* pousse à droite */
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: gray;
  cursor: pointer;
}

.dot.active {
  background: white
}
