.reviews-section { background: #101014; border-top: 1px solid #302c36; }
.reviews-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: clamp(18px,2.3vw,32px); }
.reviews-heading h2 { margin: 0; }
.reviews-demo { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px; color: #d6b4fa; font-size: .82rem; font-weight: 650; }
.reviews-demo::before { content: ""; width: 17px; height: 2px; background: #ae67ff; }
.review-action-wrap { display: grid; justify-items: end; gap: 5px; }
.review-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 8px 15px; border: 1px solid #906bb3; border-radius: 999px; background: #1b1522; color: #f3eafa; font-size: .92rem; font-weight: 610; }
.review-action .ico { width: 15px; height: 15px; }
.review-action:disabled { border-color: #48404f; background: transparent; color: #bbb4c4; cursor: default; }
a.review-action:is(:hover,:focus-visible) { background: #2a1e36; border-color: #c99af5; }
.review-action-note { color: #aaa4b3; font-size: .78rem; }
.reviews-layout { display: grid; grid-template-columns: minmax(150px,.67fr) minmax(0,3fr); gap: 12px; }
.review-summary { margin: 0; display: grid; justify-items: center; align-content: center; gap: 9px; }
.review-shield { --shield-width: 112px; position: relative; width: var(--shield-width); aspect-ratio: 112 / 162; font-size: var(--shield-width); color: #202124; filter: drop-shadow(0 3px 8px #0003); }
.review-shield-outline { display: block; width: 100%; height: 100%; }
.review-shield > .review-score,.review-shield > .review-stars,.review-shield-label,.review-shield-logo { position: absolute; left: 50%; transform: translateX(-50%); }
.review-shield > .review-score { top: 10.5%; display: flex; align-items: baseline; gap: .02em; font-size: .31em; font-weight: 760; line-height: 1; letter-spacing: -.06em; white-space: nowrap; }
.review-shield .review-score small { font-size: .42em; letter-spacing: 0; color: #57595d; }
.review-shield > .review-stars { top: 33.5%; width: 76%; line-height: 0; }
.review-shield > .review-stars::before,.review-shield > .review-stars::after { content: none; }
.review-shield-stars { display: block; width: 100%; height: auto; }
.review-shield-stars .filled-stars { fill: #ffb400; clip-path: inset(0 calc(100% - var(--star-fill,100%)) 0 0); }
.review-shield-label { top: 47%; width: 85%; text-align: center; font-size: .111em; font-weight: 720; letter-spacing: -.018em; line-height: 1.12; }
.review-shield-logo { top: 66.5%; width: 23%; height: auto; }
.review-summary figcaption { font-size: .78rem; line-height: 1.35; color: #c5bfcd; text-align: center; }
.review-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.review-entry { display: flex; flex-direction: column; align-items: start; gap: 14px; padding: clamp(16px,1.7vw,25px); border-radius: 15px; border: 1px solid #3a343f; background: #19171c; }
.review-stars { display: inline-block; position: relative; font-family: Arial,sans-serif; font-size: 1rem; font-weight: 700; line-height: 1; white-space: nowrap; letter-spacing: 1px; color: #706a75; }
.review-stars::before { content: "★★★★★"; }
.review-stars::after { content: "★★★★★"; position: absolute; overflow: hidden; top: 0; left: 0; width: var(--star-fill,100%); color: #ffce67; }
.review-entry blockquote { margin: 0; color: #ece9ef; font-size: clamp(.95rem,1.06vw,1.05rem); line-height: 1.55; overflow-wrap: anywhere; }
.review-byline { display: flex; align-items: center; gap: 9px; width: 100%; margin-top: auto; padding-top: 13px; border-top: 1px solid #37313c; }
.review-avatar { display: grid; place-items: center; flex: none; width: 33px; height: 33px; border-radius: 50%; background: #302439; color: #e2c0fd; font-weight: 650; font-size: .88rem; }
.review-author,.review-service { display: block; line-height: 1.35; overflow-wrap: anywhere; }
.review-author { color: #f4f0f7; font-size: .92rem; }
.review-service { margin-top: 2px; color: #bcb5c4; font-size: .8rem; }
@media(max-width:1000px) {
  .reviews-layout { grid-template-columns: minmax(0,1fr); }
  .review-summary { grid-auto-flow: column; align-items: center; justify-content: start; gap: 14px; }
  .review-shield { --shield-width: 104px; }
  .review-summary figcaption { max-width: 14ch; }
}
@media(max-width:700px) {
  .reviews-heading { display: contents; }
  .reviews-section .shell { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px 10px; align-items: center; }
  .reviews-layout { display: contents; }
  .reviews-heading > div:first-child { grid-area: 1 / 1; }
  .review-summary { grid-area: 1 / 2; grid-auto-flow: row; justify-content: center; gap: 5px; }
  .review-shield { --shield-width: 92px; }
  .review-summary figcaption { max-width: 14ch; font-size: .7rem; }
  .review-grid { grid-area: 2 / 1 / 3 / -1; }
  .review-action-wrap { grid-area: 3 / 1 / 4 / -1; justify-items: start; }
  .reviews-demo { margin-bottom: 7px; }
  .review-grid { grid-template-columns: minmax(0,1fr); gap: 9px; }
  .review-entry { gap: 10px; padding: 15px 17px; }
  .review-byline { padding-top: 9px; }
}

/* Badge de la bannière d’accueil */
.hero-inner { position: relative; }
.hero-rating {
  position: absolute; inset-inline-end: 0; inset-block-end: clamp(18px,2.3vw,34px);
  display: inline-flex; align-items: center; gap: 12px; max-width: 100%;
  min-height: 56px; padding: 9px 14px 9px 12px; border-radius: 13px;
  border: 1px solid #655b70; background: linear-gradient(140deg,#353438,#252428 80%);
  color: #fbf9fd; box-shadow: 0 6px 20px #0005, inset 0 1px #ffffff0c;
  text-decoration: none; line-height: 1.2;
}
.hero-rating:hover { border-color: #b68ed2; }
.hero-rating:focus-visible { outline: 2px solid #d0a4ff; outline-offset: 4px; }
.hero-rating-brand { display: grid; justify-items: center; align-content: center; gap: 5px; align-self: stretch; padding-inline-end: 12px; border-inline-end: 1px solid #59555f; }
.hero-rating-mark { width: 72px; height: auto; filter: brightness(1.18); }
.hero-rating-word { width: 112px; height: auto; filter: brightness(1.2); }
.hero-rating-copy { display: grid; gap: 3px; }
.hero-rating-top { display: flex; align-items: center; gap: 7px; }
.hero-rating-score { white-space: nowrap; font-weight: 760; font-size: 1.16rem; line-height: 1.1; letter-spacing: -.04em; }
.hero-rating .review-stars { font-size: .94rem; letter-spacing: .4px; }
.hero-rating-label { font-size: .76rem; font-weight: 550; color: #ded9e2; }
@media (max-width: 760px) {
  .hero { overflow: visible; z-index: 1; }
  .hero-rating {
    inset-inline: 50% auto;
    inset-block-end: 0;
    transform: translate(-50%, 50%);
    width: max-content;
    min-height: 48px;
    gap: 9px;
    padding: 6px 11px 6px 9px;
    border-radius: 11px;
  }
  .hero-rating-brand { gap: 2px; padding-inline-end: 8px; }
  .hero-rating-mark { width: 33px; }
  .hero-rating-word { width: 49px; }
  .hero-rating-copy { gap: 2px; }
  .hero-rating-top { gap: 5px; }
  .hero-rating-score { font-size: 1rem; }
  .hero-rating .review-stars { font-size: .78rem; }
  .hero-rating-label { font-size: .7rem; }
  .workshop { padding-block-start: max(53px, 7vw); }
}


/* Le camion se pose sur la route, au-dessus du badge d’avis. */
.hero-road-stop {
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: clamp(18px, 2.3vw, 34px);
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}
.hero-road-van {
  display: block;
  width: clamp(230px, 26vw, 405px);
  height: auto;
  filter: drop-shadow(0 4px 3px rgb(0 0 0 / .55));
}
.hero-road-stop .hero-rating {
  position: static;
  transform: none;
  pointer-events: auto;
}
@media (max-width: 760px) {
  .hero-road-stop {
    inset-inline: 0;
    inset-block-end: -24px;
    gap: 8px;
    justify-items: center;
  }
  .hero-road-van {
    width: clamp(154px, 46vw, 282px);
    margin-inline-start: 23%;
  }
}

