/* ── INDEX PAGE — Reviews marquee & cards ───────────────────────────────────── */
/* Utilisé par : index.html                                                    */

.reviews-trust-section {
  padding: var(--space-xl) 0 var(--space-xxl);
  background: var(--bg-light);
  border-top: 1px solid #e4e7ec;
}
.reviews-trust-head {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-sm) var(--space-md);
  text-align: center;
}
.reviews-trust-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: var(--space-xs);
}
.reviews-trust-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.reviews-trust-sub {
  margin-top: var(--space-xs);
  font-size: 1rem;
  color: var(--gray);
  font-weight: 500;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
.reviews-marquee-outer {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.reviews-marquee-track {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: max-content;
  gap: 1.25rem;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}
.review-card {
  flex: 0 0 auto;
  width: min(100vw - 2.5rem, 22.5rem);
  max-width: 22.5rem;
  background: var(--white);
  border: 1px solid #eef2f6;
  border-radius: 18px;
  padding: 1.2rem 1.35rem;
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.review-card:hover {
  border-color: #e4e7ec;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.09);
}
.review-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.review-stars {
  display: flex;
  gap: 2px;
  color: #e3a008;
  font-size: 0.95rem;
  line-height: 1;
  letter-spacing: 0;
}
.review-star--off { color: #e4e7ec; }
.review-status-text {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #98a2b3;
  flex-shrink: 0;
}
.review-status-text--verified  { color: #98a2b3; }
.review-status-text--unverified { color: #98a2b3; }
.review-status-text--pending    { color: #b54708; }
.review-card-comment {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #475467;
  font-style: italic;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  margin-top: 0.125rem;
}
.review-avatar {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: linear-gradient(165deg, #2563eb 0%, #7c3aed 100%);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
.review-identity {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  justify-content: center;
}
.review-card-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #101828;
  line-height: 1.25;
}
.review-occupation {
  font-size: 0.75rem;
  font-weight: 500;
  color: #98a2b3;
  line-height: 1.3;
}
.review-company {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  flex-shrink: 0;
  text-align: end;
  max-width: 42%;
  line-height: 1.25;
}
@media (prefers-reduced-motion: reduce) {
  .reviews-marquee-outer {
    mask-image: none;
    -webkit-mask-image: none;
  }
  [data-reviews-marquee] .reviews-marquee-track {
    transform: none !important;
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--space-sm);
    flex-wrap: wrap;
    justify-content: center;
  }
  [data-reviews-marquee] .review-card {
    width: min(100%, 22.5rem);
    max-width: 22.5rem;
  }
}
