/* Carrousel titres */
.custom-carousel-titles {
  font-family: inherit;
}
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  overflow: hidden;
  margin-bottom: 1rem;
}
.carousel-track {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  scroll-behavior: smooth;
}
.carousel-tab {
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  background: #f0f0f0;
  font-weight: 600;
  color: #666;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.3s ease;
}
.carousel-tab.active {
  background: #f7ebf9;
  color: #932c89;
}
.carousel-arrow {
  background: none;
  border: none;
  font-size: 2rem;
  color: #c1c8cd;
  cursor: pointer;
  transition: color 0.3s;
}
.carousel-arrow:hover {
  color: #932c89;
}
.carousel-content {
  position: relative;
  min-height: 100px; 
}
.carousel-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease;
}
.carousel-panel.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 2;
}

/* Carrousel Avis */
.custom-carousel-resumes {
  position: relative;
  width: 100%;
  overflow: hidden;
  font-family: inherit;
}

.carousel-inner {
  display: flex;
  transition: transform 0.6s ease;
  transform: translateX(0%);
}

.carousel-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 1rem;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.carousel-prev,
.carousel-next {
  background: none;
  border: none;
  font-size: 2rem;
  color: #ccc;
  cursor: pointer;
  transition: color 0.3s;
}
.carousel-prev:hover,
.carousel-next:hover {
  color: #932c89;
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.carousel-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #ccc;
  cursor: pointer;
  padding: 0;
}
.carousel-dots button.active {
  background: #932c89;
}