/* ===== Structure principale ===== */
.clients-section {
  padding: 160px 50px 0 50px;
  background-color: #fff;
}

.boxcar-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Contenu en 2 colonnes ===== */
.clients-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  flex-wrap: wrap;
}

/* ===== Colonne gauche (titre) ===== */
.clients-left {
  flex: 1;
  min-width: 300px;
}

.clients-left h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0a111e;
  line-height: 1.3;
}

/* ===== Colonne droite (texte) ===== */
.clients-right {
  flex: 1.3;
  min-width: 300px;
  color: #333;
}

.clients-right p {
  margin-bottom: 20px;
  line-height: 1.8;
  font-size: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .clients-content {
    flex-direction: column;
    gap: 40px;
  }

  .clients-left h2 {
    font-size: 2rem;
    text-align: center;
  }

  .clients-right {
    text-align: center;
  }
}


/* ===== Section principale ===== */
.testimonials {
  background-color: #f9fbfd;
  padding: 100px 20px;
  font-family: "Poppins", sans-serif;
}

.boxcar-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== Header ===== */
.testimonials-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.testimonials-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0a111e;
}

.testimonials-header .rating-text {
  font-size: 15px;
  color: #555;
}

.testimonials-header strong {
  color: #0a111e;
}

/* ===== Cartes ===== */
.testimonials-grid {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  flex: 1;
  min-width: 300px;
  max-width: 360px;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card h4 {
  font-size: 18px;
  font-weight: 600;
  color: #0a111e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.testimonial-card h4 span {
  font-size: 28px;
  color: #0a111e;
}

.testimonial-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* ===== Info utilisateur ===== */
.user-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-info img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.user-info h5 {
  font-size: 15px;
  font-weight: 600;
  color: #0a111e;
  margin: 0;
}

.user-info span {
  font-size: 13px;
  color: #777;
}

/* ===== Flèches ===== */
.arrows {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.arrow-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #0a111e;
  background: none;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s ease;
}

.arrow-btn:hover {
  background: #0a111e;
  color: #fff;
}

/* ===== Responsive =====
@media (max-width: 768px) {
  .testimonials-header {
    text-align: center;
    flex-direction: column;
    gap: 10px;
  }
} */


@media (max-width: 768px) {

  .pd{
    padding: 0 20px 0 20px;
  }
    /* SECTION GLOBALE */
    .clients-section {
        padding: 200px 20px 0 20px;  /* padding mobile */
        width: 100%;
        /* border: 2px dashed red;     DEBUG */
    }

    /* BOXCAR CONTAINER */
    .boxcar-container {
        width: 100%;
        padding: 0;
        /* border: 2px dashed blue;    DEBUG */
    }

    /* TITRE "ABOUT US" */
    .boxcar-title-three h2 {
        text-align: center;
        font-size: 26px;
        margin-bottom: 30px;
        /* border: 2px dashed green;   DEBUG */
    }

    /* BLOC GLOBAL CLIENTS */
    .clients-content {
        display: flex;
        flex-direction: column;    /* deviens vertical */
        align-items: center;       /* centre tout */
        justify-content: center;
        gap: 25px;
        text-align: center;
        width: 100%;
        /* border: 2px dashed purple; DEBUG */
    }

    /* COLONNE GAUCHE */
    .clients-left {
        width: 100%;
        /* border: 2px dashed orange; DEBUG */
    }

    .clients-left h2 {
        font-size: 22px;
        line-height: 1.4;
        font-weight: 700;
        text-align: center;
        width: 100%;
    }

    /* COLONNE DROITE */
    .clients-right {
        width: 100%;
        /* border: 2px dashed brown;  DEBUG */
    }

    .clients-right p {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 15px;
        width: 100%;
        text-align: center;
    }
}
