.carrousel {
  position: relative;
  width: 90%;
  max-width: 1100px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 40px;
  overflow: hidden;
  text-align: center;
  margin: 0 auto;
}

.slide {
  display: none;
}

.slide.active {
  display: block;
}

.temoins {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  flex-wrap: wrap;
}

.temoin {
  flex: 1 1 30%;
  max-width: 320px;
  background: #f9fafc;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.message {
  font-style: italic;
  color: #555;
  margin-bottom: 10px;
  line-height: 1.5;
}

h3 {
  margin: 5px 0 2px;
}

span {
  color: #999;
  font-size: 0.9em;
}

.prev,
.next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--MAIN-TEXT-color);
  border: none;
  color: white;
  font-size: 22px;
  padding: 12px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s;
}

.prev:hover,
.next:hover {
  background: var(--MAIN-TEXT-color);
}

.prev {
  left: 20px;
}
.next {
  right: 20px;
}

@media (max-width: 768px) {
  .temoignage {
    flex: 1 1 100%;
  }
}
