/* =========================
   TESTIMONIALS – PREMIUM SECTION
   ========================= */
.testimonials {
  position: relative;
  padding: 7rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;

  background: linear-gradient(
    to bottom,
    #faf7f8,
    #ffffff
  );
}

/* =========================
   SECTION HEADER (CENTER)
   ========================= */
.testimonials .section-header {
  max-width: 860px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

/* =========================
   TESTIMONIAL SLIDER
   ========================= */
.testimonial-slider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

/* =========================
   TESTIMONIAL TRACK
   ========================= */
.testimonial-track {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* =========================
   TESTIMONIAL CARD
   ========================= */
.testimonial-card {
  position: relative;
  max-width: 620px;
  width: 100%;
  padding: 3.2rem 2.8rem 2.6rem;

  display: flex;
  flex-direction: column;
  gap: 1.8rem;

  background: rgba(255,255,255,0.88);

  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.08);

  transition:
    transform .4s var(--ease-premium),
    box-shadow .4s var(--ease-premium),
    border-color .4s var(--ease-premium);
}

.testimonial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(231,161,176,0.4);

  box-shadow:
    0 22px 55px rgba(0,0,0,0.08),
    0 8px 22px var(--rose-glow);
}

/* =========================
   QUOTE ICON
   ========================= */
.testimonial-quote-icon {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);

  width: 56px;
  height: 56px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(231,161,176,0.14);
  color: var(--rose-primary);
  font-size: 1.2rem;
}

/* =========================
   RATING
   ========================= */
.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 0.3rem;

  color: var(--rose-primary);
  font-size: 0.85rem;
}

/* =========================
   TESTIMONIAL TEXT
   ========================= */
.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
  color: rgba(0,0,0,0.7);
}

/* =========================
   AUTHOR
   ========================= */
.testimonial-author {
  margin-top: 0.8rem;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* =========================
   AUTHOR PHOTO
   ========================= */
.author-photo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   AUTHOR INFO
   ========================= */
.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(0,0,0,0.8);
}

.author-role {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 768px) {
  .testimonials {
    padding: 5rem 2rem;
  }

  .testimonial-card {
    padding: 2.6rem 2rem 2.2rem;
  }
}

/* =========================
   TESTIMONIALS – RESPONSIVE IMPROVEMENTS
   À AJOUTER À LA FIN
   ========================= */

/* ===== TABLETTE (≤ 1024px) ===== */
@media (max-width: 1024px) {
  .testimonials {
    padding: 6rem 3rem;
  }

  .testimonial-card {
    max-width: 560px;
  }
}

/* ===== MOBILE LARGE (≤ 768px) ===== */
@media (max-width: 768px) {
  .testimonials {
    padding: 5rem 2rem;
    gap: 3rem;
  }

  .testimonial-card {
    max-width: 100%;
    padding: 2.4rem 1.8rem 2rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .testimonial-quote-icon {
    width: 48px;
    height: 48px;
    font-size: 1.05rem;
    top: -24px;
  }

  .testimonial-dots .dot {
    width: 12px;
    height: 12px;
  }
}

/* ===== PETITS MOBILES (≤ 480px) ===== */
@media (max-width: 480px) {
  .testimonials {
    padding: 4rem 1.4rem;
  }

  .section-title {
    font-size: 1.6rem;
    line-height: 1.25;
  }

  .testimonial-card {
    padding: 2.2rem 1.4rem 1.8rem;
    border-radius: 16px;
  }

  .testimonial-text {
    font-size: 0.92rem;
  }

  .author-photo {
    width: 40px;
    height: 40px;
  }

  .author-name {
    font-size: 0.85rem;
  }

  .author-role {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
  }
}



