/* Avis-clients SEO landing + témoignages scaffold (1.12).
   Card-based layout on the site's grey body: each section is a white panel so
   the page reads as one cohesive surface. Brand accents are amber stars +
   orange links. The reused home partials (trust banner + carousel) are
   re-skinned here, scoped under .customer-reviews so the home page keeps its own
   (dark) treatment. */

/* --- Breadcrumb (core/breadcrumb.html) ---------------------------------- */
/* Kept light/airy — a heavy grey bar read as "moche" at the top of the page.
   The breadcrumb styling lives in product.css / account.css which this page
   doesn't load, so it's inlined here. */
.breadcrumb {
  padding: 4px 0 0;
  margin: 0 0 16px;
  list-style: none;
  background: none;
}
.breadcrumb .breadcrumb__content {
  display: flex;
  align-items: center;
}
.breadcrumb .breadcrumb__content > span {
  margin: 0 8px;
  color: #a8a29e;
}
.breadcrumb a {
  color: #78716c;
  text-decoration: none;
  font-size: 13px;
}
.breadcrumb a:hover {
  color: #c2410c;
  text-decoration: underline;
}

/* --- Page + shared card ------------------------------------------------- */
.customer-reviews,
.testimonials {
  max-width: none;
  margin: 16px 0 64px;
  padding: 0;
  color: #1c1917;
  line-height: 1.6;
  font-size: 16px;
}

/* Reusable white panel — one consistent treatment for every block. */
.customer-reviews__header,
.testimonials__header,
.customer-reviews__distribution,
.customer-reviews__delivery,
.customer-reviews__content,
.testimonials__section {
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  padding: 24px 28px;
  margin: 0 0 20px;
}

/* --- Header ------------------------------------------------------------- */
.customer-reviews__header,
.testimonials__header {
  padding: 28px;
}
.customer-reviews__header h1,
.testimonials__header h1 {
  color: #1c1917;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 12px;
}
.customer-reviews__intro,
.testimonials__intro {
  color: #44403c;
  margin: 0;
}
.customer-reviews__intro strong {
  color: #1c1917;
}

/* --- Trust banner (re-skin of review/_site_trust_banner.html) ----------- */
/* Home ships a dark band; here a warm, on-brand card fits the editorial page. */
.customer-reviews .site-trust-banner-wrapper {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  padding: 18px 24px;
  margin: 0 0 20px;
}
.customer-reviews .site-trust-banner,
.customer-reviews .site-trust-banner:hover,
.customer-reviews .site-trust-banner:focus {
  background: transparent;
  color: #1c1917;
  gap: 12px;
}
.customer-reviews .site-trust-banner__stars {
  font-size: 20px;
}
.customer-reviews .site-trust-banner__text {
  color: #44403c;
}
.customer-reviews .site-trust-banner__text strong {
  color: #1c1917;
  font-weight: 700;
}
.customer-reviews .site-trust-banner__cta {
  color: #c2410c;
  font-weight: 600;
}

/* --- Distribution bars -------------------------------------------------- */
.customer-reviews__distribution {
  margin: 0 0 20px;
}
.customer-reviews__distribution h2 {
  font-size: 20px;
  margin: 0 0 16px;
  color: #1c1917;
}
.customer-reviews__bars {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.customer-reviews__bar-row {
  display: grid;
  grid-template-columns: 44px 1fr 48px;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: #57534e;
}
.customer-reviews__bar-label {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.customer-reviews__bar-track {
  background: #f5f5f4;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
  display: block;
}
.customer-reviews__bar-fill {
  display: block;
  background: linear-gradient(90deg, #fb923c, #f59e0b);
  height: 100%;
  width: var(--w, 0%);
  border-radius: 5px;
}
.customer-reviews__bar-count {
  text-align: right;
  color: #a8a29e;
  font-variant-numeric: tabular-nums;
}

/* --- Reviews carousel (re-skin of review/_home_carousel.html) ----------- */
.customer-reviews .home-review-carousel {
  margin: 0 0 20px;
  padding: 0;
  max-width: none;
}
/* Header (title + subtitle) hidden on /avis-clients — the page already has its
   own H1, so the carousel's own heading was redundant. */
.customer-reviews .home-review-carousel__head {
  display: none;
}
.customer-reviews .home-review-carousel__title {
  font-size: 20px;
  color: #1c1917;
  margin: 0 0 4px;
}
.customer-reviews .home-review-carousel__subtitle {
  font-size: 14px;
  color: #78716c;
}
/* font-size sizes the shared SVG stars (review/_stars.html → .rev-stars is 5em). */
.customer-reviews .home-review-carousel__stars {
  font-size: 18px;
}

/* --- Delivery / service satisfaction (#542) ----------------------------- */
.customer-reviews__delivery > h2 {
  margin: 0 0 16px;
  font-size: 20px;
  color: #1c1917;
}
.customer-reviews__delivery-score {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  font-size: 16px;
}
.customer-reviews__delivery-count {
  color: #6b7280;
}
.customer-reviews__delivery-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.customer-reviews__delivery-card {
  border: 1px solid #f0efed;
  border-radius: 10px;
  padding: 16px;
  background: #fafaf9;
}
.customer-reviews__delivery-card-author {
  display: block;
  margin: 8px 0 4px;
  font-size: 14px;
  color: #1c1917;
}
.customer-reviews__delivery-card-body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #44403c;
}

/* --- Editorial content -------------------------------------------------- */
.customer-reviews__content h2 {
  font-size: 20px;
  margin: 24px 0 12px;
  color: #1c1917;
}
.customer-reviews__content h2:first-child {
  margin-top: 0;
}
.customer-reviews__content p {
  color: #44403c;
  margin: 0 0 16px;
}
.customer-reviews__content p:last-child {
  margin-bottom: 0;
}
.customer-reviews__methodology-cta {
  margin-top: 24px;
}

/* --- Témoignages scaffold ---------------------------------------------- */
.testimonials__section h2 {
  font-size: 20px;
  margin: 0 0 12px;
  color: #1c1917;
}
.testimonials__placeholder {
  color: #78716c;
  font-style: italic;
  background: #fafaf9;
  border: 1px dashed #d6d3d1;
  border-radius: 8px;
  padding: 24px;
  text-align: center;
}

@media (max-width: 480px) {
  .customer-reviews__header,
  .testimonials__header {
    padding: 20px;
  }
  .customer-reviews__header h1,
  .testimonials__header h1 {
    font-size: 24px;
  }
  .customer-reviews__distribution,
  .customer-reviews__delivery,
  .customer-reviews__content,
  .testimonials__section {
    padding: 20px;
  }
}
