html {
  scroll-behavior: smooth;
}

#avis-clients {
  scroll-margin-top: 110px;
}

/* Bloc avis sous le prix - version plus visible */
.nuluya-trustpilot-mini {
  margin: 2px 0 22px;
}

.nuluya-trustpilot-mini__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #171717;
  text-decoration: none !important;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 600;
}

.nuluya-trustpilot-mini__link:hover,
.nuluya-trustpilot-mini__link:focus {
  color: #171717;
  text-decoration: none !important;
}

.nuluya-tp-stars {
  display: inline-flex;
  gap: 3px;
  flex-shrink: 0;
}

.nuluya-tp-star {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #00b67a;
  color: #ffffff;
  font-size: 15px;
  line-height: 1;
  border-radius: 3px;
}

.nuluya-tp-star--half {
  background: linear-gradient(
    90deg,
    #00b67a 0%,
    #00b67a 50%,
    #dcdce6 50%,
    #dcdce6 100%
  );
}

.nuluya-tp-star--empty {
  background: #dcdce6;
}

.nuluya-tp-copy {
  color: #171717;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: 0.01em;
}

/* Section testimonials */
.nuluya-testimonials {
  padding: 70px 0 50px;
}

.nuluya-testimonials__header {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.nuluya-testimonials__header h2 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.15;
  color: #171717;
}

.nuluya-testimonials__header p {
  margin: 0;
  color: #666666;
  font-size: 15px;
}

.nuluya-testimonials--no-header {
  padding-top: 0;
}

/* Carousel avis */
.nuluya-reviews-carousel {
  position: relative;
  width: 100%;
  padding: 0 54px;
}

.nuluya-reviews-viewport {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nuluya-reviews-viewport::-webkit-scrollbar {
  display: none;
}

.nuluya-testimonials__grid {
  display: flex;
  gap: 18px;
  align-items: stretch;
}

.nuluya-review-card {
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #e8e3dc;
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.nuluya-review-card__stars {
  margin-bottom: 12px;
  color: #00b67a;
  letter-spacing: 1px;
  font-size: 15px;
  line-height: 1;
  text-align: center;
}

.nuluya-review-card p {
  width: 100%;
  max-width: 92%;
  margin: 0 auto 16px;
  color: #333333;
  font-size: 14px;
  line-height: 1.65;
  text-align: center;
}

.nuluya-review-card strong {
  display: block;
  margin-bottom: 10px;
  color: #171717;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.nuluya-verified-badge {
  display: table;
  margin: 0 auto;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(0, 182, 122, 0.12);
  color: #00b67a;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

/* Flèches du carousel */
.nuluya-reviews-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 44px;
  height: 44px;
  border: 1px solid #171717;
  border-radius: 999px;
  background: #171717;
  color: #ffffff;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nuluya-reviews-arrow--prev {
  left: 0;
}

.nuluya-reviews-arrow--next {
  right: 0;
}

.nuluya-reviews-arrow:hover {
  opacity: 0.88;
  transform: translateY(-50%) scale(1.04);
}

.nuluya-reviews-arrow:disabled {
  opacity: 0.25;
  cursor: default;
  transform: translateY(-50%);
}

/* Ancienne logique Voir plus neutralisée si elle reste encore dans le HTML */
.nuluya-testimonials__more,
.nuluya-see-more-reviews {
  display: none !important;
}

/* Tablette */
@media (max-width: 1024px) {
  .nuluya-reviews-carousel {
    padding: 0 46px;
  }

  .nuluya-review-card {
    flex-basis: calc((100% - 18px) / 2);
  }

  .nuluya-reviews-arrow {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nuluya-trustpilot-mini {
    margin: 4px 0 20px;
  }

  .nuluya-trustpilot-mini__link {
    gap: 10px;
    font-size: 14px;
  }

  .nuluya-tp-star {
    width: 21px;
    height: 21px;
    font-size: 13px;
    border-radius: 3px;
  }

  .nuluya-tp-copy {
    font-size: 14px;
    font-weight: 700;
  }

  .nuluya-testimonials {
    padding: 45px 0 35px;
  }

  .nuluya-testimonials__header {
    margin-bottom: 26px;
  }

  .nuluya-testimonials__header h2 {
    font-size: 24px;
  }

  .nuluya-testimonials__header p {
    font-size: 14px;
  }

  .nuluya-reviews-carousel {
    padding: 0 42px;
  }

  .nuluya-review-card {
    flex-basis: 100%;
  }

  .nuluya-reviews-arrow {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .nuluya-reviews-arrow--prev {
    left: 0;
  }

  .nuluya-reviews-arrow--next {
    right: 0;
  }
}