/* Avis clients vérifiés: scroll story (templates/page-reviews.php, template-parts/reviews/, assets/js/reviews-story.js).
   Same language as Nos engagements (vision.css): photo hero, numbered chapters, words that light up, a photo that opens
   to full bleed. Motion runs only once reviews-story.js adds .gp-rv-motion to the root (JavaScript on, motion allowed),
   and only transform and opacity move, on --ease-out (the marquee alone runs linear); without it every figure, word and
   review shows plainly. Nothing moves on its own for more than five seconds except the band of excerpts, which has its
   pause button and stops off screen; the seal turns with the scroll. Colours come from the scheme and world tokens
   (lime or cream fills, --accent-ink for lime/olive or cream/olive ink, --accent-edge and --accent-rim where a fill
   meets a light surface), so both schemes of both worlds work; the hero and the closing band sit on photos and stay dark.
   Rhythm: one room between two chapters, the theme's section room (--space-section): each chapter keeps it above its
   content, and the closing photo keeps it above itself, so no content meets the next background closer than that. */

.gp-rv { --rv-room: var(--space-section, clamp(70px, 9vw, 130px)); }
.gp-rv [hidden] { display: none !important; }
.gp-rv-num { margin-bottom: .7rem; font-variant-numeric: tabular-nums; letter-spacing: .14em; }

/* ---------- Hero: the community photo and the public ratings ---------- */
.gp-rv-hero { min-height: 100vh; min-height: 100svh; background: var(--bg); isolation: isolate; }
.gp-rv-hero__media { position: absolute; inset: 0; overflow: hidden; }
.gp-rv-hero__img { object-position: 50% 40%; transform-origin: 62% 58%; }
.gp-rv-hero__shade { background:
	linear-gradient(180deg, rgba(10, 11, 13, .62), rgba(10, 11, 13, 0) 30%),
	linear-gradient(90deg, rgba(10, 11, 13, .86), rgba(10, 11, 13, .38) 48%, rgba(10, 11, 13, .06)),
	linear-gradient(0deg, rgba(10, 11, 13, .95) 4%, rgba(10, 11, 13, 0) 56%); }
.gp-rv-hero__inner { z-index: 2; display: grid; gap: 26px; }
.gp-rv-hero .gp-lead { max-width: 40ch; }
.gp-rv-hero__text .gp-h1 { margin-bottom: .9rem; }

.gp-rv-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.gp-rv-score { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; min-width: 0; padding: 16px 16px 6px; border: 1px solid rgba(255, 255, 255, .17); border-radius: 22px; background: rgba(10, 11, 13, .55); overflow: hidden; -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
@media (prefers-reduced-motion: no-preference) { /* a light sweep on hover, as on the Nos engagements cards */
	.gp-rv-score::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, color-mix(in srgb, var(--ink) 9%, transparent) 50%, transparent 70%); translate: -101% 0; pointer-events: none; }
	.gp-rv-score:hover::before { translate: 101% 0; transition: translate .9s var(--ease-out); }
}
.gp-rv-score__src { display: flex; align-items: center; gap: 8px; margin: 0; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gp-rv-score__src svg { flex: none; width: 20px; height: 20px; }
.gp-rv-score__value { margin: 4px 0 0; font-family: var(--font-display); font-weight: 800; line-height: .86; white-space: nowrap; }
.gp-rv-score__num { font-size: clamp(2.7rem, 1.7rem + 3.2vw, 4.6rem); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.gp-rv-score__max { margin-left: 4px; font-size: 1.05rem; color: var(--muted); letter-spacing: 0; }
.gp-rv-score .gp-stars { width: 108px; height: 19px; }
.gp-rv-score__meta { display: grid; margin: 0; font-size: .82rem; line-height: 1.4; color: var(--ink-2); }
.gp-rv-score__count { color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.gp-rv-score__link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: .86rem; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gp-rv-score__link .gp-i { width: 15px; height: 15px; }
.gp-rv-hero__fine { margin: 10px 0 0; font-size: .78rem; color: var(--ink-2); }
.gp-rv-score__what { margin: 0; font-size: .9rem; font-weight: 700; }
.gp-rv-score--facebook .gp-rv-score__value { margin-bottom: 2px; }
/* Three ratings: three columns from 680 px. Below, Facebook takes the row under the other two, its figure on the left
   and its count, date and link on the right, in line with the card above (column gap = the grid gap + two paddings):
   no card left half empty. */
@media (min-width: 680px) and (max-width: 899.98px) { .gp-rv-scores--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 679.98px) {
	.gp-rv-scores--3 .gp-rv-score--facebook { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "src src" "value meta" "what link"; align-items: last baseline; gap: 7px calc(10px + 2 * 16px); }
	.gp-rv-score--facebook .gp-rv-score__src { grid-area: src; }
	.gp-rv-score--facebook .gp-rv-score__value { grid-area: value; }
	.gp-rv-score--facebook .gp-rv-score__what { grid-area: what; }
	.gp-rv-score--facebook .gp-rv-score__meta { grid-area: meta; }
	.gp-rv-score--facebook .gp-rv-score__link { grid-area: link; }
}

.gp-rv-cue { display: none; }

/* Phones and tablets: the photo is a band under the header, the title and the ratings follow on the dark page. The
   bottom room is the edge room of a band that ends on the light page in the light scheme. */
@media (max-width: 899.98px) {
	.gp-rv-hero { display: block; min-height: 0; padding: 0 0 clamp(32px, 6vw, 44px); }
	.gp-rv-hero__media, .gp-rv-hero__shade { position: relative; height: clamp(330px, 56vw + 140px, 560px); }
	.gp-rv-hero__media { inset: auto; }
	.gp-rv-hero__shade { position: absolute; inset: 0 0 auto; background: linear-gradient(180deg, rgba(10, 11, 13, .66), rgba(10, 11, 13, 0) 36%, rgba(10, 11, 13, 0) 62%, var(--bg)); }
	.gp-rv-hero__img { object-position: 50% 52%; }
	.gp-rv-hero__inner { margin-top: -54px; }
	/* In the dark scheme the hero's ground is the page's, so the band of excerpts under it is the next background: the
	   section room above it. In the light scheme the hero is a dark band of its own and keeps its edge room. */
	.gp-rv-hero:has(+ .gp-rv-ticker) { padding-bottom: var(--rv-room); }
	@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) .gp-rv-hero:has(+ .gp-rv-ticker) { padding-bottom: clamp(32px, 6vw, 44px); } }
	:root[data-theme="light"] .gp-rv-hero:has(+ .gp-rv-ticker) { padding-bottom: clamp(32px, 6vw, 44px); }
}
/* From 900 px: the photo fills the screen and the text sits on it; from 1100 px the ratings take the right column. */
@media (min-width: 900px) {
	.gp-rv-hero__inner { padding-top: 6vh; }
	.gp-rv-scores { grid-template-columns: repeat(2, minmax(0, 250px)); gap: 14px; }
	.gp-rv-scores--3 { grid-template-columns: repeat(3, minmax(0, 204px)); }
	.gp-rv-score { padding: 20px 20px 8px; }
}
@media (min-width: 1100px) {
	.gp-rv-hero__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px clamp(40px, 5vw, 90px); }
	.gp-rv-hero__side { padding-bottom: 6px; }
}
@media (min-width: 1100px) and (min-height: 760px) {
	/* The mouse (8 px inside its 44 x 58 target) keeps a band's padding above the end of the photo (--space-sheet, main.css).
	   The hero's foot makes room for it, its box and the edge room above: the cue is centred, so up to about 1400 px it
	   stands under the ratings column, and their fine print must end above it. From 760 px tall only: the hero is then
	   at least as tall as its content with that room, so the mouse is always on the first screen. */
	.gp-rv-hero { padding-bottom: calc(var(--space-sheet, clamp(30px, 4vw, 56px)) - 8px + 58px + var(--space-edge, 20px)); }
	.gp-rv-cue { position: absolute; z-index: 3; bottom: calc(var(--space-sheet, clamp(30px, 4vw, 56px)) - 8px); left: 50%; display: grid; place-items: center; width: 44px; height: 58px; margin-left: -22px; }
	.gp-rv-cue span { position: relative; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 14px; }
	.gp-rv-cue span::after { content: ""; position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; }
}

/* Motion: the photo settles as the page opens (4.5 s, then still) and the mouse shows the way three times (4.8 s, it ends
   where it rests); leaving the hero, the text rises and fades while the photo sinks, with the scroll. */
@media (prefers-reduced-motion: no-preference) {
	.gp-rv-motion .gp-rv-hero__img { animation: gp-rv-push 4.5s var(--ease-out) both; }
	.gp-rv-motion .gp-rv-cue span::after { animation: gp-rv-cue 1.6s var(--ease-out) 3; }
}
.gp-rv-motion .gp-rv-hero__media { translate: 0 calc(var(--rv-h, 0) * 14%); }
@media (min-width: 900px) {
	.gp-rv-motion .gp-rv-hero__inner { opacity: calc(1 - var(--rv-h, 0) * 1.25); translate: 0 calc(var(--rv-h, 0) * -70px); }
}
/* Ratings: the score counts up (reviews-story.js) while the stars fill from the left: the fill scales from its left edge
   inside the stars' mask. */
.gp-rv-motion [data-rv-on] .gp-stars__fill { transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.6s var(--ease-out) .12s; }
.gp-rv-motion [data-rv-on].is-on .gp-stars__fill { transform: none; }
@keyframes gp-rv-push { from { scale: 1.08; } to { scale: 1; } }
@keyframes gp-rv-cue { 0% { opacity: 1; translate: 0 0; } 55% { opacity: 0; translate: 0 14px; } 56% { opacity: 0; translate: 0 0; } 100% { opacity: 1; translate: 0 0; } }

/* ---------- Band of excerpts ---------- */
.gp-rv-ticker { position: relative; display: flex; align-items: center; gap: 10px; padding-block: 4px; border-block: 1px solid var(--line); background: var(--bg-2); }
.gp-rv-ticker__viewport { flex: 1; min-width: 0; padding-block: 6px; overflow-x: auto; /* the block padding keeps focus rings inside the clipped band */ overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; padding-inline: calc(var(--gutter) - 20px); }
.gp-rv-ticker__viewport::-webkit-scrollbar { display: none; }
.gp-rv-ticker__track { display: flex; width: max-content; }
.gp-rv-ticker__list { display: flex; margin: 0; padding: 0; list-style: none; }
.gp-rv-quote { display: flex; align-items: center; gap: 12px; padding-inline: 20px 0; white-space: nowrap; scroll-snap-align: start; }
.gp-rv-quote::after { content: ""; flex: none; width: 6px; height: 6px; margin-left: 8px; border-radius: 50%; background: var(--accent-ink); }
.gp-rv-quote .gp-stars { flex: none; width: 74px; height: 13px; }
.gp-rv-quote__text { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-size: 1.02rem; text-decoration: none; }
.gp-rv-quote__text:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.gp-rv-quote__by { color: var(--muted); font-size: .88rem; font-weight: 600; }
.gp-rv-ticker__pause { position: relative; z-index: 2; flex: none; display: grid; place-items: center; width: 44px; height: 44px; margin-right: var(--gutter); padding: 0; border: 1px solid var(--field-line); border-radius: 50%; background: var(--bg); color: var(--ink); }
.gp-rv-ticker__pause:hover { background: var(--hover); }
.gp-rv-ticker__icon { display: grid; place-items: center; }
.gp-rv-ticker__icon .gp-i { width: 18px; height: 18px; }
.gp-rv-ticker__pause[aria-pressed="true"] .gp-rv-ticker__icon--pause, .gp-rv-ticker__pause[aria-pressed="false"] .gp-rv-ticker__icon--play { display: none; }
.gp-rv-motion .gp-rv-ticker__viewport { overflow: hidden; padding-inline: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.gp-rv-motion .gp-rv-ticker.is-manual .gp-rv-ticker__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
@media (prefers-reduced-motion: no-preference) {
	.gp-rv-motion .gp-rv-ticker__track { animation: gp-rv-marquee var(--rv-dur, 160s) linear infinite; }
	.gp-rv-ticker:hover .gp-rv-ticker__track, .gp-rv-ticker:focus-within .gp-rv-ticker__track, .gp-rv-ticker.is-paused .gp-rv-ticker__track, .gp-rv-ticker.is-off .gp-rv-ticker__track { animation-play-state: paused; }
	.gp-rv-motion .gp-rv-ticker.is-manual .gp-rv-ticker__track { animation: none; }
}
@keyframes gp-rv-marquee { to { transform: translateX(-50%); } }

/* ---------- 01 How reviews are published: the owner's words light up as you read ---------- */
.gp-rv-pledge { padding-block: var(--rv-room) 0; }
.gp-rv-pledge__grid { display: grid; gap: 22px 18px; align-items: center; }
.gp-rv-pledge__title { margin: 0 0 1.1rem; color: var(--ink-2); font-size: 1rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.gp-rv-statement { max-width: 33ch; margin: 0; font-family: var(--font-display); font-size: clamp(1.4rem, 1rem + 1.8vw, 2.55rem); font-weight: 800; line-height: 1.12; letter-spacing: -.012em; text-wrap: pretty; }
.gp-rv-statement a { color: var(--accent-ink); text-underline-offset: .18em; }
.gp-rv-w { transition: opacity .35s var(--ease-out); }
.gp-rv-motion .gp-rv-w { opacity: .2; }
.gp-rv-motion .gp-rv-w.is-lit { opacity: 1; }
.gp-rv-pledge__more { max-width: 62ch; margin-top: 1.4rem; padding: 0; color: var(--ink-2); }
.gp-rv-seal { justify-self: center; width: clamp(150px, 19vw, 270px); color: var(--ink); }
.gp-rv-seal svg { display: block; width: 100%; height: auto; overflow: visible; }
.gp-rv-seal__rim { fill: none; stroke: var(--line); stroke-width: 1.5; }
.gp-rv-seal__ring { transform-box: fill-box; transform-origin: center; }
.gp-rv-seal__ring text { fill: currentColor; font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: .06em; }
/* The disc is the world's fill; on a light page the Pro cream (1.02:1 there) takes the olive rim of every cream fill
   (--accent-rim, none on dark and for lime), so the seal never fades into the paper. */
.gp-rv-seal__disc { fill: var(--accent); stroke: var(--accent-rim); stroke-width: 1.5px; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; }
.gp-rv-seal__check { fill: none; stroke: var(--on-accent); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; }
.gp-rv-motion .gp-rv-seal__disc, .gp-rv-motion .gp-rv-seal__check { scale: .4; opacity: 0; transition: scale .7s var(--ease-out) .35s, opacity .3s var(--ease-out) .35s; }
.gp-rv-motion .gp-rv-seal__check { transition-delay: .55s; }
.gp-rv-motion .gp-rv-seal.is-in .gp-rv-seal__disc, .gp-rv-motion .gp-rv-seal.is-in .gp-rv-seal__check { scale: 1; opacity: 1; }
/* The ring turns with the scroll, not on its own: reviews-story.js sets --rv-t from 0 to 1 while the seal crosses the
   screen, and the short transition smooths the steps of a wheel. */
.gp-rv-motion .gp-rv-seal__ring { rotate: calc(var(--rv-t, 0) * 200deg); transition: rotate .8s var(--ease-out); }
@media (max-width: 899.98px) {
	/* The seal sits beside the number and the title, the statement runs below them. The seal's extra height goes above
	   the number (1fr row), so the number keeps the .7rem above its title of the other chapters; the room before the
	   statement is a margin, and the further text takes a row only when there is one (no empty row, no gap under the
	   statement). */
	.gp-rv-pledge__grid { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto auto; grid-template-areas: "num seal" "title seal" "text text"; row-gap: 0; align-items: end; }
	.gp-rv-pledge__text { display: contents; }
	.gp-rv-pledge .gp-rv-num { grid-area: num; margin: 0 0 .7rem; }
	.gp-rv-pledge__title { grid-area: title; margin: 0; }
	.gp-rv-statement { grid-area: text; margin-top: 22px; }
	.gp-rv-pledge__more { grid-column: 1 / -1; margin: 22px 0 0; }
	.gp-rv-seal { grid-area: seal; width: clamp(92px, 24vw, 150px); }
}
@media (min-width: 900px) {
	.gp-rv-pledge__grid { grid-template-columns: minmax(0, 1fr) auto; gap: clamp(40px, 6vw, 110px); }
}

/* ---------- 02 The wall ---------- */
.gp-rv-wall { padding-block: var(--rv-room) 0; }
.gp-rv-wall__head { margin-bottom: clamp(20px, 3vw, 34px); }
.gp-rv-wall__head .gp-h2 { margin: 0; }
.gp-rv-wall__rule { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; color: var(--ink-2); font-size: .92rem; line-height: 1.45; }
.gp-rv-wall__rule .gp-i { width: 18px; height: 18px; margin-top: 1px; color: var(--accent-ink); }
.gp-rv-wall__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; align-items: start; } /* minmax(0, …): the rows of chips scroll inside, never widen the page */
@media (min-width: 1100px) {
	.gp-rv-wall__grid { grid-template-columns: 320px minmax(0, 1fr); gap: clamp(28px, 3vw, 48px); }
	/* Cards shorter than the summary grow to end on its line. The column stretches to the aside; its last flex item, a
	   spacer as tall as the count under the summary (16 px and one line of .86rem at 1.6), takes that room first, then
	   the cards take the rest; cards taller than the summary keep their height and the spacer shrinks to nothing (its
	   basis is 0, so it never adds room). Not beside the filters: there the cards keep their own height, so a filter that
	   leaves one review never draws a tall empty card. The summary stays at its height, so it can stay in view beside a
	   long wall (sticky, below). */
	.gp-rv-wall__main { display: flex; flex-direction: column; align-self: stretch; }
	.gp-rv-wall__main > .gp-rv-grid { flex: 1 0 auto; }
	.gp-rv-wall__main::after { content: ""; flex: 1000 0 0; max-height: calc(16px + .86rem * 1.6); }
	.gp-rv-wall__grid:has(.gp-rv-filters:not([hidden])) > .gp-rv-wall__main { align-self: start; }
}
@media (min-width: 1100px) and (min-height: 760px) {
	.gp-rv-wall__aside { position: sticky; top: calc(var(--header-total) + 20px); }
}

/* Average and split by stars */
.gp-rv-board { padding: 20px 20px 18px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-2); }
.gp-rv-board__avg { margin: 0; font-family: var(--font-display); font-weight: 800; line-height: .86; }
.gp-rv-board__num { font-size: clamp(3rem, 2.2rem + 2.6vw, 4.4rem); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.gp-rv-board__max { margin-left: 4px; color: var(--muted); font-size: 1.1rem; letter-spacing: 0; }
.gp-rv-board .gp-stars { width: 116px; height: 20px; margin-top: 10px; }
.gp-rv-board__count { margin: 8px 0 16px; color: var(--ink-2); font-size: .9rem; }
.gp-rv-board__note { margin: 14px 0 0; color: var(--muted); font-size: .82rem; }
.gp-rv-bars { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.gp-rv-bars li { display: grid; grid-template-columns: 30px minmax(0, 1fr) 34px; align-items: center; gap: 10px; color: var(--ink-2); font-size: .86rem; font-variant-numeric: tabular-nums; }
.gp-rv-bars__star { display: inline-flex; align-items: center; gap: 3px; color: var(--ink); font-weight: 700; }
.gp-rv-star { flex: none; width: 13px; height: 13px; color: var(--accent-ink); }
.gp-rv-bars__track { position: relative; height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.gp-rv-bars__track i { position: absolute; inset: 0; border-radius: inherit; background: var(--accent-ink); transform: scaleX(var(--p, 0)); transform-origin: left; } /* same colour as the stars: lime on dark, olive on light */
.gp-rv-bars__n { text-align: right; }
.gp-rv-motion .gp-rv-bars__track i { transform: scaleX(0); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--k, 0) * 110ms + 250ms); }
.gp-rv-motion .is-on .gp-rv-bars__track i { transform: scaleX(var(--p, 0)); }

/* Filters */
.gp-rv-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 18px; }
.gp-rv-filters__label { margin: 0 0 6px; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.gp-rv-chips { display: flex; flex-wrap: wrap; gap: 8px; }
/* position: relative: the chip is the containing block of its visually hidden count, so the sideways row clips it
   (absolute and unpositioned up to body, it widened the page on phones). */
.gp-rv-chip { position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 8px 0 15px; border: 1px solid var(--field-line); border-radius: 999px; background: transparent; color: var(--ink); font-size: .9rem; font-weight: 600; line-height: 1.1; white-space: nowrap; }
.gp-rv-chip:hover { background: var(--hover); }
@media (prefers-reduced-motion: no-preference) {
	.gp-rv-chip { transition: transform .2s var(--ease-out); }
	.gp-rv-chip:active { transform: scale(.96); }
}
/* Pressed: the world's fill, bordered with its edge colour (deep lime or cream on dark, olive on light), so the chosen
   chip stands out on a light page too, where lime and cream fills alone are 1.06:1 and 1.02:1 against it; filled
   against outlined is the shape cue (G1). The rim (olive, Pro on light only; transparent elsewhere) doubles that edge
   where the fill is cream on a light page, as on the buttons. */
.gp-rv-chip[aria-pressed="true"] { border-color: var(--accent-edge); background: var(--accent); color: var(--on-accent); box-shadow: inset 0 0 0 1px var(--accent-rim); }
.gp-rv-chip__label { display: inline-flex; align-items: center; gap: 3px; }
.gp-rv-chip .gp-rv-star { color: inherit; }
.gp-rv-chip__n { min-width: 26px; padding: 3px 7px; border-radius: 999px; background: var(--surface-2); font-size: .76rem; font-weight: 700; font-variant-numeric: tabular-nums; text-align: center; }
.gp-rv-chip[aria-pressed="true"] .gp-rv-chip__n { background: rgba(0, 0, 0, .16); }
.gp-rv-status { margin: 16px 0 0; color: var(--muted); font-size: .86rem; }
@media (max-width: 1099.98px) {
	/* One row per group that scrolls sideways, edge to edge. */
	.gp-rv-filters { margin-top: 16px; }
	.gp-rv-chips { flex-wrap: nowrap; margin: -6px calc(-1 * var(--gutter)); padding: 6px var(--gutter); overflow-x: auto; scroll-padding-inline: var(--gutter); scrollbar-width: none; } /* the padding keeps focus rings inside */
	.gp-rv-chips::-webkit-scrollbar { display: none; }
	.gp-rv-status { margin-top: 10px; }
}
@media (min-width: 700px) and (max-width: 1099.98px) {
	.gp-rv-board { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 34px; align-items: center; }
	.gp-rv-board__avg, .gp-rv-board .gp-stars, .gp-rv-board__count { grid-column: 1; }
	.gp-rv-board .gp-rv-bars { grid-column: 2; grid-row: 1 / span 4; }
	.gp-rv-board__count { margin-bottom: 0; }
}

/* Review cards: rows of cards 300 px wide or more that share their row out, so a row that is not full (a single review,
   the fourth of four, the end of a filtered list) never leaves a blank beside it: its cards widen, and a card alone on a
   wide row reads as a larger quote (container query below). */
.gp-rv-grid { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; padding: 0; list-style: none; }
.gp-rv-item { display: flex; flex: 1 1 300px; min-width: 0; container-type: inline-size; scroll-margin-top: calc(var(--header-total) + 20px); }
.gp-rv-card { position: relative; display: flex; flex-direction: column; gap: 14px; width: 100%; padding: 20px 20px 8px; border: 1px solid var(--line); border-radius: 22px; background: var(--bg-2); }
.gp-rv-card:hover { border-color: color-mix(in srgb, var(--ink) 26%, transparent); }
.gp-rv-card::before { content: "\201C" / ""; position: absolute; top: 10px; right: 18px; height: .5em; color: var(--accent-ink); font-family: Georgia, "Times New Roman", serif; font-size: 4.6rem; line-height: 1; opacity: .34; pointer-events: none; }
.gp-rv-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding-right: 44px; }
.gp-rv-card__badge { display: inline-flex; align-items: center; gap: 5px; color: var(--ink-2); font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.gp-rv-card__badge .gp-i { width: 15px; height: 15px; color: var(--accent-ink); }
.gp-rv-card__text { margin: 0; color: var(--ink); font-size: 1rem; line-height: 1.6; overflow-wrap: anywhere; }
.gp-rv-card__text p { margin: 0 0 .7em; }
.gp-rv-card__text p:last-child { margin-bottom: 0; }
.gp-rv-card__text.is-clamped { max-height: calc(1.6em * 7); overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 58%, transparent); mask-image: linear-gradient(180deg, #000 58%, transparent); }
.gp-rv-card__more { align-self: flex-start; min-height: 44px; margin: -12px 0 -6px; padding: 0; border: 0; background: none; color: var(--ink); font-size: .92rem; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gp-rv-card__meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2px 16px; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); }
.gp-rv-card__who { margin: 0; color: var(--muted); font-size: .86rem; }
.gp-rv-card__who strong { margin-right: 6px; color: var(--ink); font-weight: 700; }
.gp-rv-card__product { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--ink); font-size: .88rem; font-weight: 700; text-decoration: none; }
.gp-rv-card__product span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.gp-rv-card__product:hover span { text-decoration-thickness: 2px; }
.gp-rv-card__thumb { flex: none; width: 36px; height: 36px; border-radius: 9px; background: var(--tile); object-fit: contain; }
/* A card alone on a wide row (one review, or the last of a row): the words get room and size, the line stays readable. */
@container (min-width: 560px) {
	.gp-rv-card { gap: 16px; padding: 26px 30px 10px; }
	.gp-rv-card::before { top: 14px; right: 26px; font-size: 6.2rem; }
	.gp-rv-card__top { padding-right: 64px; }
	.gp-rv-card__text { max-width: 60ch; font-size: clamp(1.1rem, .9rem + .55vw, 1.32rem); }
}
.gp-rv-none { display: grid; justify-items: start; gap: 14px; padding: 26px; border: 1px dashed var(--field-line); border-radius: 22px; }
.gp-rv-none p { margin: 0; color: var(--ink-2); }
/* Motion: cards rise in turn as they come into view; filtering slides the others to their new place. */
.gp-rv-motion .gp-rv-card { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.gp-rv-motion .gp-rv-item.is-in .gp-rv-card { opacity: 1; transform: none; }
.gp-rv-motion .gp-rv-item { transition: transform .6s var(--ease-out), opacity .45s var(--ease-out); }
.gp-rv-motion .gp-rv-item.is-entering { opacity: 0; transform: scale(.95); }

/* No review yet */
.gp-rv-empty { position: relative; display: grid; gap: 18px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line); border-radius: 24px; background: var(--bg-2); }
.gp-rv-empty__icon { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: inset 0 0 0 1.5px var(--accent-rim); } /* the olive rim of a cream fill on a light page */
.gp-rv-empty__icon .gp-i { width: 28px; height: 28px; stroke-width: 2.2; }
.gp-rv-empty__icon::after { content: ""; position: absolute; inset: 0; border: 2px solid var(--accent-ink); border-radius: 50%; opacity: 0; }
.gp-rv-empty__title { margin: 0 0 8px; font: 800 clamp(1.25rem, 1rem + 1vw, 1.7rem)/1.1 var(--font-display); letter-spacing: -.01em; text-transform: uppercase; }
.gp-rv-empty__text { max-width: 62ch; margin: 0; color: var(--ink-2); }
.gp-rv-empty__links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 18px 0 0; color: var(--ink-2); font-size: .92rem; }
.gp-rv-empty__links > span { flex-basis: 100%; }
.gp-rv-pill { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 16px; border: 1px solid var(--field-line); border-radius: 999px; color: var(--ink); font-weight: 700; text-decoration: none; }
.gp-rv-pill:hover { background: var(--hover); }
.gp-rv-pill .gp-i { width: 15px; height: 15px; }
@media (min-width: 640px) {
	.gp-rv-empty { grid-template-columns: auto minmax(0, 1fr); gap: 24px; }
}
@media (min-width: 1100px) {
	.gp-rv-empty { align-items: center; }
	.gp-rv-empty__body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: clamp(30px, 5vw, 90px); }
	.gp-rv-empty__title, .gp-rv-empty__text { grid-column: 1; }
	.gp-rv-empty__links { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
}
@media (prefers-reduced-motion: no-preference) { /* two rings as the block comes into view (4.8 s), then still */
	.gp-rv-motion .gp-rv-empty.is-in .gp-rv-empty__icon::after { animation: gp-rv-halo 2.4s var(--ease-out) 2; }
}
@keyframes gp-rv-halo { from { scale: .9; opacity: .9; } to { scale: 1.9; opacity: 0; } }

/* « Partagez votre expérience »: where to leave a review, one card per place */
.gp-rv-share { padding-block: var(--rv-room) 0; }
.gp-rv-share__head { margin-bottom: clamp(20px, 3vw, 34px); }
.gp-rv-share__head .gp-h2 { margin: 0; }
.gp-rv-share__lead { max-width: 52ch; margin: 14px 0 0; color: var(--ink-2); font-size: clamp(1.02rem, .97rem + .3vw, 1.2rem); line-height: 1.5; }
.gp-rv-share__list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.gp-rv-share__card { display: grid; grid-template-rows: auto 1fr auto; gap: 10px; height: 100%; padding: clamp(20px, 2.4vw, 28px); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: translate .35s var(--ease-out); } /* the border colour swaps at once */
.gp-rv-share__card:hover { border-color: var(--accent-ink); translate: 0 -3px; }
.gp-rv-share__card--shop { background: var(--surface-2); }
.gp-rv-share__where { font: 800 clamp(1.25rem, 1.1rem + .6vw, 1.6rem)/1.1 var(--font-display); letter-spacing: -.01em; }
.gp-rv-share__what { color: var(--ink-2); line-height: 1.5; }
.gp-rv-share__cta { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.gp-rv-share__cta .gp-i { flex: none; width: 16px; height: 16px; }
.gp-rv-share__photos { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; margin: clamp(18px, 2.4vw, 28px) 0 0; color: var(--ink-2); } /* on a phone the link wraps to the left edge, not 6 px in */
.gp-rv-share__photos .gp-link { min-height: 44px; }
@media (min-width: 640px) { .gp-rv-share__list { grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (min-width: 1100px) { .gp-rv-share__list { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) { .gp-rv-share__card { transition: none; } .gp-rv-share__card:hover { translate: none; } }

/* ---------- Closing band: the photo opens to full bleed ----------
   The photo layer runs 6 % past the band on each side, with rounded corners: at full size the corners lie outside the
   band (full bleed); scaled to .8 it shows whole, a rounded card inset about 5 % and 10 %. reviews-story.js sets --rv-o
   from 0 to 1 as the band comes up the screen (a scale on the compositor); without it, or with reduced motion, --rv-o
   stays 1. The band keeps the chapter room above it, whichever chapter ends before it. The side shade's stops sit at the
   band's own edges (5.4 % and 94.6 % of the wider layer). */
.gp-rv-end { position: relative; display: flex; align-items: flex-end; min-height: clamp(460px, 74vh, 720px); margin-top: var(--rv-room); overflow: hidden; color: var(--ink); --rv-o: 1; }
.gp-rv-motion .gp-rv-end { --rv-o: 0; }
.gp-rv-end__media { position: absolute; inset: 0 -6%; overflow: hidden; border-radius: min(36px, 5.5vw); scale: calc(.8 + .2 * var(--rv-o)); }
.gp-rv-end__media picture, .gp-rv-end__img { display: block; width: 100%; height: 100%; }
.gp-rv-end__img { object-fit: cover; object-position: 78% 45%; scale: calc(1.2 - .2 * var(--rv-o)); }
.gp-rv-motion :is(.gp-rv-end__media, .gp-rv-end__img) { will-change: scale; }
.gp-rv-end__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 11, 13, .84) 5.4%, rgba(10, 11, 13, .35) 54.5%, rgba(10, 11, 13, .05) 94.6%), linear-gradient(0deg, rgba(10, 11, 13, .9), rgba(10, 11, 13, 0) 58%); }
/* « Image d’illustration » (end.php): the label of an AI image, drawn as on Nos engagements (.gp-vs-tag, vision.css).
   Top right of the photo, inside its visible part (the bleed is 6 % of 112 %), a band's padding below its top edge
   (--space-sheet, main.css); it opens with the photo, above its shade. */
.gp-rv-end__tag { position: absolute; z-index: 1; top: var(--space-sheet, clamp(30px, 4vw, 56px)); right: calc(100% * 6 / 112 + var(--space-edge, 20px)); padding: 4px 10px; border-radius: 999px; background: rgba(10, 11, 13, .6); color: #f4f4f0; font-size: .7rem; font-weight: 600; letter-spacing: .02em; line-height: 1.4; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.gp-rv-end__inner { position: relative; z-index: 2; padding-block: clamp(70px, 10vw, 130px) clamp(40px, 6vw, 84px); }
.gp-rv-end .gp-h2 { max-width: 12ch; margin: .2rem 0 1.5rem; }
@media (max-width: 700px) {
	.gp-rv-end { min-height: clamp(480px, 128vw, 620px); }
	.gp-rv-end__img { object-position: 84% 40%; }
	/* The text spans 26 to 60 % from the foot (360 to 699 px): the shade holds .6 up to 62 % (the lime eyebrow keeps
	   4.5:1 over the bright haze), then clears to the sky. */
	.gp-rv-end__media::after { background: linear-gradient(0deg, rgba(10, 11, 13, .95) 12%, rgba(10, 11, 13, .6) 62%, rgba(10, 11, 13, 0)); }
}
