/* Slider horizontal */
.experience-slider {
  position: relative;
  padding: 1rem;
  overflow: hidden;
}

.slider-container {
  display: flex;
  flex-direction: column;
  height: 100%; /* prend toute la hauteur du bento */
}

.slider-wrapper-horizontal {
  display: flex;
  flex: 1; /* prend tout l'espace vertical */
  transition: transform 0.5s ease-in-out;
}

/* Slide */
.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Contenu texte */
.slide-content {
  flex: 1;
  padding-right: 1rem;
}

/* Logo entreprise */
.company-logo {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  object-fit: contain;
}

/* Flèches et dots */
.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 10px;
  padding-bottom: 1rem;
  gap: 10px;
}

/* Flèches */
.arrow {
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}

.arrow:hover {
  background: rgba(0, 0, 0, 0.6);
}

/* Dots */
.dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: black;
}
