/* ===================================
   TÉMOIGNAGES - SECTION PREMIUM
   Carrousel de témoignages clients
   =================================== */

/* ========== SECTION ========== */
.temoignages {
  background: #FFFFFF;
  padding: 48px 8% 48px !important;
  width: 100%;
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0;
}

/* ========== TITRE SECTION ========== */
.temoignages .section-title {
  font-family: 'Playfair Display', serif;
  color: #333333;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 12px;
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Séparateur décoratif */
.temoignages .separator {
  width: 70px;
  height: 4px;
  background: #B89051;
  margin: 0 auto 16px;
  border-radius: 4px;
}

/* Sous-titre */
.temoignages .section-subtitle {
  color: #333333;
  font-size: 1rem;
  max-width: 680px;
  margin: 0 auto 40px;
  z-index: 2;
  position: relative;
  text-align: center;
  line-height: 1.5;
}

/* ========== CAROUSEL AUTOMATIQUE ========== */
.carousel-container {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin-bottom: 50px;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  gap: 40px;
  padding-bottom: 20px;
  will-change: transform;
  transition: transform 0.5s linear;
}

/* ========== CARTE TÉMOIGNAGE ========== */
.testimonial-card {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 24px 32px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.6s ease;
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  width: 650px;
  max-width: 650px;
  opacity: 0;
  transform: translateY(30px);
}

.testimonial-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Guillemets décoratif en haut à gauche */
.testimonial-card::before {
  content: '❝';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 3rem;
  color: #B89051;
  opacity: 0.2;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 30px;
}

/* Étoiles dorées */
.testimonial-card .stars {
  color: #B89051;
  font-size: 1.25rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
  position: relative;
  z-index: 1;
}

/* Citation - TAILLE AUGMENTÉE */
.testimonial-card .quote {
  font-size: 1.1rem;
  color: #333333;
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex-grow: 1;
}

/* Auteur */
.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.testimonial-card .author h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #333333;
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

/* Source Google */
.testimonial-card .author .source {
  font-size: 0.75rem;
  color: #B89051;
  margin-top: 4px;
  font-weight: 500;
  display: block;
}

/* Avatar - CERCLE DORÉ avec initiales ou photo */
.testimonial-card .avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #B89051;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  border: 3px solid #B89051;
}

.testimonial-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ========== BOUTON CTA "Voir plus" ========== */
.testimonials-cta {
  text-align: center;
  margin-top: 50px;
}

.testimonials-btn {
  display: inline-block;
  padding: 20px 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, #B89051 0%, #A67E44 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow:
    0 8px 30px rgba(184, 144, 81, 0.45),
    0 4px 15px rgba(184, 144, 81, 0.35);
  letter-spacing: 0.02em;
  border: none;
}

.testimonials-btn:hover {
  background: linear-gradient(135deg, #A67E44 0%, #9a7644 100%);
  box-shadow:
    0 12px 40px rgba(184, 144, 81, 0.55),
    0 6px 20px rgba(184, 144, 81, 0.4);
  transform: translateY(-2px);
}

.testimonials-btn:active {
  transform: translateY(0);
  box-shadow:
    0 6px 25px rgba(184, 144, 81, 0.45),
    0 3px 12px rgba(184, 144, 81, 0.35);
}

/* ========== NAVIGATION DOTS (MOBILE ONLY) ========== */
.carousel-dots {
  display: none;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(184, 144, 81, 0.3);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.carousel-dot.active {
  width: 24px;
  border-radius: 5px;
  background: #B89051;
}

.carousel-dot:hover {
  background: rgba(184, 144, 81, 0.6);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.carousel-container {
  animation: fadeIn 0.8s ease-out both;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .temoignages {
    padding: 40px 6% 40px !important;
  }

  .carousel-track {
    gap: 30px;
  }

  .testimonial-card {
    width: 550px;
    max-width: 550px;
    min-height: 200px;
  }
}

@media (max-width: 768px) {
  .temoignages {
    padding: 32px 5% 32px !important;
  }

  .temoignages .section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }

  .temoignages .section-subtitle {
    margin-bottom: 35px;
    font-size: 1.05rem;
    line-height: 1.6;
  }

  /* MOBILE CAROUSEL - 1 CARD */
  .carousel-container {
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .carousel-track {
    gap: 30px;
    padding-bottom: 15px;
  }

  .testimonial-card {
    width: calc(100vw - 40px);
    max-width: 100%;
    padding: 20px 24px;
    min-height: 180px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 6px 24px;
    border-radius: 8px;
  }

  .testimonial-card::before {
    font-size: 2.5rem;
    top: 15px;
    left: 15px;
    opacity: 0.12;
  }

  /* Large readable text (min 18px) */
  .testimonial-card .stars {
    font-size: 1.2rem;
    margin-bottom: 14px;
  }

  .testimonial-card .quote {
    font-size: 0.95rem;
    line-height: 1.5;
    max-height: none;
    overflow: visible;
  }

  .testimonial-card .author h4 {
    font-size: 0.95rem;
  }

  .testimonial-card .avatar {
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }

  /* Hide navigation dots on mobile as requested */
  .carousel-dots {
    display: none;
  }

  /* CTA Button - Larger & Centered */
  .testimonials-cta {
    margin-top: 60px;
  }

  .testimonials-btn {
    font-size: 1.125rem; /* 18px */
    padding: 18px 40px;
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 6px 20px rgba(184, 144, 81, 0.35);
  }

  .testimonials-btn:active {
    transform: scale(0.96);
    transition: transform 0.1s ease;
  }
}
