/* =========================
   REVIEWS – SAHP
========================= */

.reviews {
  position: relative;
  background: linear-gradient(90deg, #4080b7 0%, #5ed0c2 100%);
  padding-top: 40px;
  padding-right: 20px ;
  padding-bottom: 0;
}

/* =========================
   CONTAINER CENTRAL
========================= */

.reviews-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* =========================
   LABEL + TITRE
========================= */

.reviews-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
}

.reviews h2 {
  font-size: 34px;
  color: #ffffff;
  margin: 10px 0 40px;
}

/* =========================
   SCORE GOOGLE
========================= */

.reviews-score {
  max-width: 420px;
  margin: 0 auto 50px;
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.score-left strong {
  font-size: 35px;
  color: #ffffff;
}

.stars,
.stars-google {
  color: #f5c542;
}

.stars {
  font-size: 35px;
  margin-top: 5px;
}

.stars-google {
  font-size: 55px;
  margin-top: -15px;
}

.score-right img {
  width: 80px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.85))
    drop-shadow(0 0 12px rgba(255, 255, 255, 0.45));
}

.review-text,
.author-info {
  color: #ffffff;
}

/* =========================
   AVIS CLIENTS
========================= */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-bottom: 40px;
}

.review-card {
  padding: 25px;
  text-align: left;
}

.review-card p {
  font-size: 14px;
  color: #ffffff;
  line-height: 1.5;
  margin: 12px 0 18px;
}

/* Auteur */
.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-author img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.review-author strong {
  font-size: 14px;
  color: #ffffff;
}

.review-author span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================
   CTA AVIS
========================= */

.reviews-cta {
  display: inline-block;
  margin: 20px auto 60px;
  padding: 10px 26px;
  border-radius: 50px;
  border: 1px solid #ffffff;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  transition:0.3s ease,
    color 0.3s ease;
}

.reviews-cta:hover {
  background: #ffffff;
  color: #0f4c81;
}

/* =========================
   TITRES PARTENAIRES
========================= */

.partners-title {
  font-size: 50px;
  color: #ffffff;
  margin-bottom: 5px;
}

.partners-subtitle {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 25px;
}


/* =========================
   REVIEWS MASCOTTE
========================= */

.reviews-mascotte {
  margin: 40px;
}

.reviews-mascotte img {
  width: 250px;
}

/* =====================================================
   PARTENAIRES – SLIDER (DESKTOP + MOBILE)
===================================================== */

.partners-wrapper {
  width: 100%;
}

/* ✅ Bande full-width + glass – évite décalage (100vw provoque overflow horizontal) */
.partners-slider.card-glass-reviews-brand {
  display: block;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 0;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-top: 1px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

/* Contient l’overflow du slider full-bleed */
.reviews {
  overflow-x: hidden;
}



/* ✅ Track animé (infinite loop) */
.partners-track {
  display: flex;
  align-items: center;
  gap: 100px;
  width: max-content;

  flex-wrap: nowrap;
  white-space: nowrap;

  animation: partners-scroll 55s linear infinite;
  will-change: transform;
}

/* ✅ Logos desktop : */
.partners-track img {
  height: 180px;
  display: inline-block;
  object-fit: contain;

  opacity: 0.85;
  filter: grayscale(100%) brightness(1.1);
  transition:
    opacity 0.3s ease,
    filter 0.3s ease;
}

.partners-track img:hover {
  opacity: 1;
  filter: none;
}

/* =====================================================
   MOBILE / TABLETTE (sans overscroll)
===================================================== */

@media (max-width: 1024px) {
  .partners-slider.card-glass-reviews-brand {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
  }

  .partners-track {
    gap: 36px;
    animation-duration: 20s;
  }

  .partners-track img {
    height: 85px;
    opacity: 0.8;
    filter: grayscale(100%);
  }

  .partners-title {
    font-size: 28px;
  }

  .partners-subtitle {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .partners-track {
    gap: 28px;
    animation-duration: 30s;
  }

  .partners-track img {
    height: 150px;
  }

  .reviews h2 {
    font-size: 26px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   MASCOTTE
========================= */



/* Réduit l’espace sous la section et la mascotte sur mobile pour éviter la marge blanche sous le footer */
@media (max-width: 900px) {
  .reviews {
    padding-bottom: 50px;
  }
}

/* =========================
   ANIMATION SLIDER
========================= */

@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
