/* Politique de retour (page-politique-de-retour.php, template-parts/returns/, assets/js/returns.js).
   The page sits on paper (light tokens); the hero, the stage and the help card carry gp-scheme-dark.
   Layout that depends on JavaScript reads html.gp-js (set in <head>, before the first paint), so nothing shifts when
   returns.js starts: without JavaScript the stage is not shown and the steps read as cards. returns.js adds
   .gp-rt-live (the stage follows the reader) and, when motion is allowed, .gp-rt-motion. Every animation sits under
   prefers-reduced-motion: no-preference; the resting style of a scene is its last frame, so with reduced motion each
   scene shows complete and still. Only transform, opacity, clip-path and colours animate. */

.gp-rt { --rt-r: 28px; --rt-card: #fff; --rt-kraft: #b8915e; --rt-kraft-lid: #caa473; --rt-kraft-in: #4a3720; }
.gp-rt-num { margin-bottom: .7rem; font-variant-numeric: tabular-nums; letter-spacing: .16em; }
.gp-rt-h2 { max-width: 13.2em; margin: 0; font-size: clamp(1.75rem, 1.1rem + 2.3vw, 3.2rem); }
.gp-rt-head { margin-bottom: clamp(20px, 2.8vw, 36px); }

/* ---------- Hero ---------- */
.gp-rt-hero { position: relative; display: flex; align-items: flex-end; min-height: min(92vh, 820px); min-height: min(92svh, 820px); padding: calc(var(--header-total) + clamp(36px, 5vw, 80px)) 0 var(--space-sheet); overflow: hidden; isolation: isolate; background: var(--bg); color: var(--ink); }
.gp-rt-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.gp-rt-hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; transform-origin: 64% 56%; }
.gp-rt-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 11, 13, .9), rgba(10, 11, 13, .58) 44%, rgba(10, 11, 13, .1) 78%), linear-gradient(0deg, rgba(10, 11, 13, .95) 4%, rgba(10, 11, 13, 0) 56%); }
.gp-rt-hero__inner { position: relative; display: grid; gap: clamp(22px, 3.2vw, 40px); }
.gp-rt-hero__title { max-width: 7.2em; margin: 0 0 .9rem; font-size: clamp(2.3rem, 1rem + 5vw, 5.2rem); }
.gp-rt-hero__lead { max-width: 46ch; margin: 0; }
.gp-rt-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(16px, 2.2vw, 26px); }
.gp-rt-jump a { display: inline-flex; align-items: center; gap: .6em; min-height: 44px; padding: .5em 1.05em; border: 1px solid rgba(255, 255, 255, .24); border-radius: 999px; background: rgba(255, 255, 255, .07); color: #f4f4f0; font-size: .88rem; font-weight: 600; text-decoration: none; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background-color .25s ease, border-color .25s ease; }
.gp-rt-jump a span { color: var(--accent-ink); font-size: .78em; font-weight: 800; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.gp-rt-jump a:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .15); }

/* The figures of the policy: glass tiles over the photo. */
.gp-rt-facts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gp-rt-fact { position: relative; display: flex; align-items: center; gap: 14px; min-width: 0; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 22px; background: rgba(10, 11, 13, .72); overflow: hidden; -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
.gp-rt-fact__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 15px; background: rgba(255, 255, 255, .08); color: var(--accent-ink); }
.gp-rt-fact__icon .gp-i { width: 23px; height: 23px; }
.gp-rt-fact__body { display: grid; gap: 3px; min-width: 0; }
.gp-rt-fact__label { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.gp-rt-fact__value { font-family: var(--font-display); font-size: clamp(1.08rem, .95rem + .55vw, 1.4rem); font-weight: 800; line-height: 1.08; letter-spacing: -.005em; text-transform: uppercase; }
.gp-rt-fact__note { color: var(--ink-2); font-size: .84rem; line-height: 1.35; }
/* The dial: one tick per day of the return window. */
.gp-rt-dial { position: relative; display: grid; place-items: center; flex: none; width: 86px; aspect-ratio: 1; }
.gp-rt-dial svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gp-rt-dial__tick { fill: var(--accent); }
.gp-rt-dial__num { padding-top: .12em; font-family: var(--font-display); font-size: 2.15rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
@media (min-width: 600px) {
	.gp-rt-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) {
	.gp-rt-facts { grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); }
	.gp-rt-fact { padding: 16px 18px; }
}
@media (max-width: 700px) { /* phones: a band of photo above the title, the text on the page colour below it */
	.gp-rt-hero { display: block; min-height: 0; padding: 0 0 var(--space-sheet); }
	.gp-rt-hero__media { position: relative; inset: auto; height: calc(var(--header-total) + 58vw); }
	.gp-rt-hero__img { object-position: 58% 50%; }
	.gp-rt-hero__shade { inset: 0 0 auto; height: calc(var(--header-total) + 58vw); background: linear-gradient(180deg, rgba(10, 11, 13, .5), rgba(10, 11, 13, 0) 40%, rgba(10, 11, 13, 0) 62%, var(--bg)); }
	.gp-rt-hero__inner { margin-top: -28px; }
}

/* ---------- 01 Le retour pas à pas ---------- */
.gp-rt-journey { padding-block: clamp(48px, 6vw, 96px) clamp(16px, 2.4vw, 36px); }
.gp-rt-journey__media { display: none; }
.gp-rt-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.gp-rt-step { position: relative; z-index: 1; display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: clamp(14px, 1.6vw, 22px); align-items: start; padding: clamp(16px, 2vw, 22px); border: 1px solid var(--line); border-radius: 22px; background: var(--rt-card); isolation: isolate; }
.gp-rt-step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding-top: .1em; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--ink); color: var(--ink); font-family: var(--font-display); font-size: 1.15rem; font-weight: 800; line-height: 1; isolation: isolate; }
.gp-rt-step__n::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent-rim); scale: 0; } /* the disc covers the ring below it: it carries the Pro olive edge itself (G1) */
.gp-rt-step__title { margin: 9px 0 .45rem; font-family: var(--font-display); font-size: clamp(1.2rem, 1.02rem + .7vw, 1.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -.01em; text-transform: uppercase; text-wrap: balance; }
.gp-rt-step__text, .gp-rt-step__after { max-width: 54ch; margin: 0; color: var(--ink-2); line-height: 1.6; }
.gp-rt-step__after { margin-top: .8rem; font-size: .95rem; }
.gp-rt-step a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent-ink); text-decoration-thickness: 2px; text-underline-offset: 3px; white-space: nowrap; }
.gp-rt-step__list { display: grid; gap: 7px; margin: .8rem 0 0; padding: 0; list-style: none; }
.gp-rt-step__list li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink); font-weight: 600; line-height: 1.45; }
.gp-rt-step__tick { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: -1px; border-radius: 8px; background: var(--paper-ink); color: var(--accent-on-dark); }
.gp-rt-step__tick svg, .gp-rt-checks__box svg, .gp-rt-pay__ok svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.gp-rt-addr { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: .9rem; padding: 14px 16px; border: 1.5px dashed var(--field-line); border-radius: 16px; background: var(--paper); }
.gp-rt-addr__lines { flex: 1 1 220px; margin: 0; color: var(--ink); line-height: 1.5; }
.gp-rt-copy { display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--field-line); border-radius: 12px; background: var(--rt-card); color: var(--ink); font-size: .9rem; font-weight: 700; transition: background-color .2s ease, border-color .2s ease; }
html.gp-js .gp-rt-copy { display: inline-flex; }
html.gp-js .gp-rt-copy[hidden] { display: none; }
.gp-rt-copy .gp-i { width: 18px; height: 18px; }
.gp-rt-copy:hover { border-color: var(--ink); }
.gp-rt-copy.is-done { border-color: var(--accent-edge); background: var(--accent); color: var(--on-accent); }
@media (min-width: 900px) {
	.gp-rt-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* With JavaScript: the steps on a timeline beside the stage held on screen. */
html.gp-js .gp-rt-journey__media { display: block; position: sticky; z-index: 3; }
html.gp-js .gp-rt-steps { --node: 44px; position: relative; grid-template-columns: minmax(0, 1fr); gap: 0; }
html.gp-js .gp-rt-steps::before, html.gp-js .gp-rt-steps::after { content: ""; position: absolute; top: calc(var(--node) / 2 + 20px); bottom: calc(var(--node) / 2 + 20px); left: calc(var(--node) / 2 + 17px); width: 2px; border-radius: 2px; background: var(--line); }
html.gp-js .gp-rt-steps::after { background: var(--accent-ink); transform: scaleY(var(--rt-p, 0)); transform-origin: 50% 0; }
html.gp-js .gp-rt-step { align-content: center; padding: 18px; border-color: transparent; background: transparent; }
html.gp-js .gp-rt-step::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--rt-card); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(18, 19, 22, .45); opacity: 0; }
.gp-rt-live .gp-rt-step { opacity: .8; } /* ink-2 on paper at .8 keeps 5.5:1 */
.gp-rt-live .gp-rt-step.is-on { opacity: 1; }
.gp-rt-live .gp-rt-step.is-on::before { opacity: 1; }
.gp-rt-live .gp-rt-step.is-on .gp-rt-step__n { box-shadow: inset 0 0 0 2px var(--accent-edge); color: var(--on-accent); }
.gp-rt-live .gp-rt-step.is-on .gp-rt-step__n::before { scale: 1; }
.gp-rt-live .gp-rt-step.is-done .gp-rt-step__n { background: var(--paper-ink); box-shadow: none; color: #fff; }
html.gp-js:not(:has(.gp-rt-live)) .gp-rt-step::before { opacity: 1; }
@media (min-width: 900px) {
	html.gp-js .gp-rt-journey__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(36px, 5vw, 88px); align-items: start; }
	html.gp-js .gp-rt-journey__media { top: calc(var(--header-total) + 24px); }
	html.gp-js .gp-rt-step { min-height: 30vh; }
	html.gp-js .gp-rt-step:first-child { min-height: 24vh; }
}
@media (max-width: 899.98px) { /* phones: the steps pass under the stage; a band of paper above it hides them between it and the header */
	html.gp-js .gp-rt-journey__media { top: var(--header-total); margin-inline: calc(-1 * var(--gutter)); padding: 8px var(--gutter) 12px; background: var(--paper); }
	html.gp-js .gp-rt-step { min-height: 42vh; }
	html.gp-js .gp-rt-step:last-child { min-height: 30vh; }
}
@media (max-width: 767.98px) and (min-height: 481px) { body:has(#gp-header.is-hidden) .gp-rt-journey__media { transform: translateY(calc(-1 * var(--header-h))); } }
@media (max-height: 480px) { html.gp-js .gp-rt-journey__media { position: relative; top: auto; } }
@media (prefers-reduced-motion: no-preference) {
	.gp-rt-journey__media { transition: transform var(--dur-header) var(--ease-out); }
	.gp-rt-live .gp-rt-step { transition: opacity .45s ease; }
	.gp-rt-live .gp-rt-step::before { transition: opacity .45s ease; }
	.gp-rt-live .gp-rt-step__n::before { transition: scale .5s cubic-bezier(.3, 1.4, .5, 1); }
}

/* The stage. */
.gp-rt-stage { position: relative; height: 252px; overflow: hidden; isolation: isolate; border-radius: 24px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 60%), linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 26px 26px, var(--bg); box-shadow: 0 34px 70px -44px rgba(18, 19, 22, .75); color: var(--ink); --rt-k: 0; }
@media (min-width: 900px) {
	.gp-rt-stage { height: min(calc(100vh - var(--header-total) - 48px), 620px); border-radius: var(--rt-r); }
}
.gp-rt-stage__chip { position: absolute; z-index: 3; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: .55em; margin: 0; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--ink-2); font-size: .72rem; font-weight: 700; letter-spacing: .1em; font-variant-numeric: tabular-nums; }
.gp-rt-stage__chip b { color: var(--accent-ink); text-transform: uppercase; }
.gp-rt-scenes { position: absolute; inset: 44px 16px 64px; }
.gp-rt-scene { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
html.gp-js .gp-rt-scene:not(.is-on) { visibility: hidden; opacity: 0; }
.gp-rt-scene__big { margin: 0; font-family: var(--font-display); font-size: clamp(1.05rem, .85rem + 1vw, 1.75rem); font-weight: 800; line-height: 1; letter-spacing: -.01em; text-transform: uppercase; }
.gp-rt-scene--track .gp-rt-scene__big { text-transform: none; letter-spacing: 0; }
.gp-rt-scene__note { margin: -4px 0 0; color: var(--ink-2); font-size: .85rem; font-weight: 600; }
@media (min-width: 900px) {
	.gp-rt-scenes { inset: 64px 28px 100px; }
	.gp-rt-scene { gap: clamp(14px, 2.4vh, 26px); }
}

/* Route: one stop per step; the parcel travels to the step being read. */
.gp-rt-route { position: absolute; right: 12px; bottom: 12px; left: 12px; height: 40px; container-type: inline-size; }
.gp-rt-route__stops { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(var(--rt-n), minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.gp-rt-route__stops li { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.gp-rt-route__dot { width: 12px; height: 12px; margin-top: 22px; border-radius: 50%; background: var(--bg-3); box-shadow: 0 0 0 2px rgba(255, 255, 255, .28); }
.gp-rt-route__stops li.is-done .gp-rt-route__dot { background: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.gp-rt-route__stops li.is-on .gp-rt-route__dot { background: var(--accent); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 30%, transparent); }
.gp-rt-route__label { display: none; color: var(--muted); font-size: .64rem; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap; } /* a long word may overrun its cell: its neighbours are short */
.gp-rt-route__stops li.is-on .gp-rt-route__label { color: var(--ink); }
@container (max-width: 500px) { .gp-rt-route__stops li:not(.is-on) .gp-rt-route__label { visibility: hidden; } } /* narrow stage: only the step being read is named (the chip names it too) */
.gp-rt-route__line { position: absolute; top: 27px; right: calc(50% / var(--rt-n)); left: calc(50% / var(--rt-n)); height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .18); }
.gp-rt-route__line i { display: block; height: 100%; border-radius: inherit; background: var(--accent); transform: scaleX(calc(var(--rt-k) / (var(--rt-n) - 1))); transform-origin: left; }
.gp-rt-parcel { position: absolute; top: -6px; left: 0; width: 30px; height: 30px; margin-left: -15px; translate: calc((var(--rt-k) + .5) / var(--rt-n) * 100cqw) 0; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .55)); }
.gp-rt-parcel svg { display: block; width: 100%; height: 100%; }
.gp-rt-parcel__front { fill: var(--rt-kraft); }
.gp-rt-parcel__side { fill: #94703f; }
.gp-rt-parcel__top { fill: var(--rt-kraft-lid); }
.gp-rt-parcel__tape { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; }
@media (min-width: 600px) {
	.gp-rt-route__label { display: block; }
	.gp-rt-route { height: 56px; }
}
@media (min-width: 900px) {
	.gp-rt-route { right: 20px; bottom: 18px; left: 20px; }
}

/* Scene: a call first. */
.gp-rt-call { position: relative; display: grid; place-items: center; width: min(34%, 170px); aspect-ratio: 1; }
.gp-rt-call__phone { position: relative; z-index: 2; display: grid; place-items: center; width: 62%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .8); }
.gp-rt-call__phone .gp-i { width: 44%; height: 44%; }
.gp-rt-call__ring { position: absolute; inset: 19%; border: 2px solid var(--accent); border-radius: 50%; opacity: 0; }
.gp-rt-call__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; }
.gp-rt-call__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .07); color: var(--ink); font-size: .78rem; font-weight: 700; white-space: nowrap; }
.gp-rt-call__chip .gp-i { width: 15px; height: 15px; color: var(--accent-ink); }

/* Scene: the conditions tick one by one. */
.gp-rt-checks { display: grid; gap: 9px; width: min(100%, 320px); margin: 0; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 20px; background: rgba(255, 255, 255, .06); list-style: none; text-align: left; }
.gp-rt-checks li { display: flex; align-items: center; gap: 12px; font-size: .95rem; font-weight: 700; line-height: 1.2; }
.gp-rt-checks__box { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 9px; background: var(--accent); color: var(--on-accent); }
.gp-rt-checks__box svg path { stroke-dasharray: 24; }

/* Scene: the order number goes in, the lid closes, the tape and the label go on. */
.gp-rt-box { display: block; width: min(80%, 340px); height: auto; overflow: visible; }
.gp-rt-box__slip rect { fill: #fff; }
.gp-rt-box__slip text { fill: #121316; font-family: var(--font-display); font-size: 20px; font-weight: 800; text-anchor: middle; }
.gp-rt-box__slip path, .gp-rt-box__sticker path { fill: none; stroke: #b9bbc1; stroke-width: 4; stroke-linecap: round; }
.gp-rt-box__inside { fill: var(--rt-kraft-in); }
.gp-rt-box__body { fill: var(--rt-kraft); }
.gp-rt-box__edge { fill: none; stroke: rgba(0, 0, 0, .16); stroke-width: 2; }
.gp-rt-box__lid rect:first-child { fill: var(--rt-kraft-lid); }
.gp-rt-box__tape { fill: var(--accent); }
.gp-rt-box__sticker rect { fill: #fff; }
.gp-rt-box__slip { translate: 0 80px; }
.gp-rt-box__lid, .gp-rt-box__sticker, .gp-rt-box__tape--down { transform-box: fill-box; }
.gp-rt-box__tape--down { transform-origin: 50% 0; }
.gp-rt-box__sticker { transform-origin: 50% 50%; }

/* Scene: the label prints, the van leaves. */
.gp-rt-ship { display: grid; gap: 14px; width: min(100%, 330px); }
.gp-rt-label { position: relative; padding: 12px 16px 14px; border-radius: 14px; background: #fff; color: #121316; text-align: left; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .8); rotate: -2deg; }
.gp-rt-label__head { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; padding-bottom: 8px; border-bottom: 2px dashed #d6d7db; color: #3a3d44; font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.gp-rt-label__head .gp-i { width: 15px; height: 15px; }
.gp-rt-label__lines { display: grid; gap: 1px; margin: 0; font-size: .92rem; font-weight: 600; line-height: 1.35; }
.gp-rt-label__lines span { display: block; white-space: nowrap; }
.gp-rt-label__lines span:first-child { font-weight: 800; }
.gp-rt-label__code { display: block; height: 22px; margin-top: 10px; background: repeating-linear-gradient(90deg, #121316 0 2px, transparent 2px 4px, #121316 4px 7px, transparent 7px 9px, #121316 9px 10px, transparent 10px 13px); opacity: .85; }
.gp-rt-road { position: relative; height: 34px; border-bottom: 2px dashed rgba(255, 255, 255, .28); container-type: inline-size; }
.gp-rt-road__van { position: absolute; bottom: 3px; left: 0; display: grid; place-items: center; width: 40px; height: 30px; color: var(--accent-ink); translate: calc(100cqw - 40px) 0; }
.gp-rt-road__van .gp-i { width: 34px; height: 34px; }

/* Scene: the tracking number goes by e-mail. */
.gp-rt-mail { display: block; width: min(76%, 320px); height: auto; overflow: visible; }
.gp-rt-mail__back { fill: #c9ccd3; }
.gp-rt-mail__paper rect { fill: #fff; }
.gp-rt-mail__paper text { fill: #121316; font-family: var(--font-display); font-size: 15px; font-weight: 800; text-anchor: middle; text-transform: uppercase; }
.gp-rt-mail__paper path { fill: none; stroke: #b9bbc1; stroke-width: 4; stroke-linecap: round; }
.gp-rt-mail__front { fill: #eceef1; }
.gp-rt-mail__flap { fill: #dfe1e6; stroke: #c3c6cd; stroke-width: 1; transform-box: fill-box; transform-origin: 50% 0; }
.gp-rt-mail__paper { translate: 0 44px; }
.gp-rt-mail__fly { transform-box: fill-box; transform-origin: 50% 50%; }
.gp-rt-mail__sent circle { fill: var(--accent); }
.gp-rt-mail__sent path { fill: none; stroke: var(--on-accent); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; }
.gp-rt-mail__sent { transform-box: fill-box; transform-origin: 50% 50%; }

/* Scene: the refund lands on the card. */
.gp-rt-refund { display: grid; justify-items: center; gap: 14px; width: min(100%, 330px); }
.gp-rt-pay { position: relative; display: grid; align-content: space-between; gap: 6px; width: min(72%, 230px); aspect-ratio: 1.586; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 16px; background: linear-gradient(135deg, #313641, #15171c 62%); box-shadow: 0 24px 48px -26px rgba(0, 0, 0, .9); text-align: left; }
.gp-rt-pay__chip { width: 32px; height: 24px; border-radius: 6px; background: linear-gradient(135deg, #e7d38c, #b39645); }
.gp-rt-pay__line { width: 72%; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .22); }
.gp-rt-pay__line--short { width: 42%; }
.gp-rt-pay__text { color: var(--ink-2); font-size: .66rem; font-weight: 700; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
.gp-rt-pay__ok { position: absolute; top: -13px; right: -13px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 5px var(--bg); }
.gp-rt-pay__ok svg { width: 20px; height: 20px; }
.gp-rt-days { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px; width: 100%; margin: 0; padding: 0; list-style: none; }
.gp-rt-days li { display: grid; place-items: center; height: 26px; border-radius: 7px; background: rgba(255, 255, 255, .07); color: var(--muted); font-size: .7rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.gp-rt-days li.is-range { background: color-mix(in srgb, var(--accent) 24%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 60%, transparent); color: var(--ink); }
@media (max-width: 599.98px) { /* phones: the stage is a band; each scene keeps its picture and its line */
	.gp-rt-call { width: 76px; }
	.gp-rt-call__chips { gap: 6px; }
	.gp-rt-call__chip { padding: 4px 9px; font-size: .7rem; }
	.gp-rt-checks { gap: 6px; padding: 10px 12px; }
	.gp-rt-checks li { font-size: .84rem; }
	.gp-rt-checks__box { width: 24px; height: 24px; }
	.gp-rt-box { width: 132px; }
	.gp-rt-mail { width: 128px; }
	.gp-rt-ship { gap: 8px; width: min(100%, 290px); }
	.gp-rt-label { padding: 8px 12px 10px; }
	.gp-rt-label__lines { font-size: .8rem; }
	.gp-rt-label__head { margin-bottom: 5px; padding-bottom: 5px; }
	.gp-rt-label__code { display: none; }
	.gp-rt-road { height: 26px; }
	.gp-rt-road__van .gp-i { width: 26px; height: 26px; }
	.gp-rt-refund { gap: 10px; }
	.gp-rt-pay { width: 150px; padding: 10px 12px; }
	.gp-rt-pay__ok { width: 32px; height: 32px; }
	.gp-rt-days li { height: 22px; }
	.gp-rt-scene { gap: 8px; }
	.gp-rt-scene__note { display: none; }
}

/* ---------- 02 La politique complète ---------- */
.gp-rt-policy { padding-block: clamp(36px, 5vw, 80px) clamp(16px, 2.4vw, 36px); }
.gp-rt-policy__grid { display: grid; gap: 14px clamp(28px, 4vw, 64px); }
.gp-rt-toc { min-width: 0; }
.gp-rt-toc .gp-rt-num { margin: 0; }
.gp-rt-toc__nav { display: none; }
.gp-rt-doc { min-width: 0; padding: clamp(22px, 4vw, 60px); border: 1px solid var(--line); border-radius: var(--rt-r); background: var(--rt-card); box-shadow: 0 40px 80px -64px rgba(18, 19, 22, .5); }
.gp-rt-doc__body { max-width: 70ch; padding-block: 0; color: var(--ink-2); font-size: clamp(1rem, .97rem + .2vw, 1.08rem); line-height: 1.7; counter-reset: gp-rt-h; }
.gp-rt-doc__body h2 { display: flex; align-items: baseline; gap: .6em; margin: 2.1em 0 .6em; color: var(--ink); font-size: clamp(1.3rem, 1.04rem + 1vw, 1.9rem); text-wrap: pretty; counter-increment: gp-rt-h; }
.gp-rt-doc__body h2::before { content: counter(gp-rt-h, decimal-leading-zero); flex: none; color: var(--accent-ink); font-size: .56em; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
.gp-rt-doc__body > h2:first-child { margin-top: 0; }
.gp-rt-doc__body h3 { margin: 1.6em 0 .5em; color: var(--ink); font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); }
.gp-rt-doc__body a { color: var(--ink); font-weight: 600; text-decoration-color: var(--accent-ink); text-decoration-thickness: 2px; }
.gp-rt-doc__body ul.wp-block-list, .gp-rt-doc__body > ul { display: grid; gap: 8px; margin: 1em 0; padding: 0; list-style: none; }
.gp-rt-doc__body ul.wp-block-list > li, .gp-rt-doc__body > ul > li { position: relative; margin: 0; padding-left: 36px; color: var(--ink); }
.gp-rt-doc__body ul.wp-block-list > li::before, .gp-rt-doc__body > ul > li::before { content: ""; position: absolute; top: .22em; left: 0; width: 24px; height: 24px; border-radius: 8px; background: var(--paper-ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4ff3a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E") center / 16px no-repeat; }
:root[data-gp-world="b2b"] .gp-rt-doc__body ul.wp-block-list > li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fefee2' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 13 4 4L19 7'/%3E%3C/svg%3E"); } /* the Pro cream #fefee2 (a data URI cannot read --gp-pro): 18.12:1 on the dark --paper-ink square */
.gp-rt-doc__body .gp-rt-address { position: relative; max-width: 36ch; padding: 16px 18px 16px 70px; border: 1.5px dashed var(--field-line); border-radius: 18px; background: var(--paper); color: var(--ink); line-height: 1.5; }
.gp-rt-doc__body .gp-rt-address::before { content: ""; position: absolute; top: 16px; left: 16px; width: 40px; height: 40px; border-radius: 12px; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230a0b0d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s7-6.5 7-12a7 7 0 0 0-14 0c0 5.5 7 12 7 12Z'/%3E%3Ccircle cx='12' cy='9' r='2.5'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: inset 0 0 0 1.5px var(--light-accent-rim); } /* on --paper in both schemes: the Pro cream takes its olive rim (G1) */
.gp-rt-doc__body blockquote { margin: 1.1em 0 1.4em; padding: 18px 20px 18px 22px; border: 0; border-left: 4px solid var(--accent-ink); border-radius: 6px 18px 18px 6px; background: var(--bg-2); }
.gp-rt-doc__body blockquote p { color: var(--ink); font-weight: 700; }
.gp-rt-doc__body blockquote cite { color: var(--muted); }
.gp-rt-doc__body cite a { display: inline-block; padding-block: 12px; margin-block: -12px; } /* a 44 px tall tap area, same line height */
.gp-rt-doc__body .wp-block-buttons { gap: 10px; }
.gp-rt-doc__body .wp-block-button__link { gap: .55em; min-height: 50px; padding-inline: 1.25em; }
.gp-rt-doc__body .wp-block-button__link::before { content: ""; flex: none; width: 1.15em; height: 1.15em; background: currentColor; -webkit-mask: var(--rt-ico, none) center / contain no-repeat; mask: var(--rt-ico, none) center / contain no-repeat; }
.gp-rt-doc__body .wp-block-button__link[href^="tel:"] { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 3h4l2 5-3 2a12 12 0 0 0 6 6l2-3 5 2v4a2 2 0 0 1-2 2A17 17 0 0 1 3 5a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E"); }
.gp-rt-doc__body .wp-block-button__link[href^="sms:"] { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16v11H9l-5 4V5Z'/%3E%3Cpath d='M8 10h.01M12 10h.01M16 10h.01'/%3E%3C/svg%3E"); }
.gp-rt-doc__body .wp-block-button__link[href*="wa.me"], .gp-rt-doc__body .wp-block-button__link[href*="whatsapp"] { --rt-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20l1.3-4A8 8 0 1 1 8 19.2L4 20Z'/%3E%3Cpath d='M9 9c0 3 3 6 6 6l1-1.5-2-1-1 1c-1-.5-2-1.5-2.5-2.5l1-1-1-2L9 9Z'/%3E%3C/svg%3E"); }
.gp-rt-doc__body h2, .gp-rt-doc__body h3 { scroll-margin-top: calc(var(--header-total) + 24px); }
@media (min-width: 1000px) {
	.gp-rt-policy__grid { grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); align-items: start; }
	.gp-rt-toc { position: sticky; top: calc(var(--header-total) + 28px); }
	.gp-rt-toc .gp-rt-num { margin-bottom: 14px; }
	.gp-rt-toc__nav { position: relative; display: block; }
	.gp-rt-toc__nav ol { display: grid; gap: 2px; margin: 0; padding: 0 0 0 16px; list-style: none; }
	.gp-rt-toc__nav a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; border-radius: 14px; color: var(--ink-2); font-size: .9rem; font-weight: 600; line-height: 1.3; text-decoration: none; text-wrap: pretty; transition: background-color .25s ease, color .25s ease, box-shadow .25s ease; }
	.gp-rt-toc__nav a:hover { background: var(--surface-2); color: var(--ink); }
	.gp-rt-toc__nav a[aria-current="true"] { background: var(--rt-card); box-shadow: 0 0 0 1px var(--line), 0 14px 30px -22px rgba(18, 19, 22, .5); color: var(--ink); }
	.gp-rt-toc__n { flex: none; color: var(--accent-ink); font-size: .74rem; font-weight: 800; letter-spacing: .12em; font-variant-numeric: tabular-nums; }
	.gp-rt-toc__bar { position: absolute; top: 6px; bottom: 6px; left: 0; width: 3px; overflow: hidden; border-radius: 3px; background: var(--line); }
	.gp-rt-toc__bar i { display: block; height: 100%; background: var(--accent-ink); transform: scaleY(var(--rt-read, 0)); transform-origin: 50% 0; }
}

/* ---------- Help ---------- */
.gp-rt-help { padding-block: clamp(20px, 3vw, 44px) var(--space-section); } /* the section room before the footer or the Pro band, whose background starts there (main.css) */
.gp-rt-help__card { display: grid; gap: clamp(20px, 3vw, 40px); padding: clamp(24px, 4.2vw, 60px); overflow: hidden; isolation: isolate; border-radius: calc(var(--rt-r) + 6px); background: radial-gradient(circle at 96% 4%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 46%), var(--bg); color: var(--ink); }
.gp-rt-help__card .gp-rt-h2 { max-width: 9.6em; }
.gp-rt-help__links { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.gp-rt-tile { display: flex; align-items: center; gap: 16px; min-height: 76px; padding: 14px 18px 14px 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface-1); color: var(--ink); text-decoration: none; transition: background-color .25s ease, border-color .25s ease; }
.gp-rt-tile:hover { border-color: var(--accent-line); background: var(--surface-2); }
.gp-rt-tile__icon { display: grid; place-items: center; flex: none; width: 50px; height: 50px; border-radius: 15px; background: var(--accent); color: var(--on-accent); }
.gp-rt-tile__icon .gp-i { width: 24px; height: 24px; }
.gp-rt-tile__text { flex: 1; min-width: 0; }
.gp-rt-tile__label { display: block; font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .6vw, 1.45rem); font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.gp-rt-tile__value { display: block; margin-top: 3px; color: var(--ink-2); font-size: .9rem; }
.gp-rt-tile > .gp-i { flex: none; width: 20px; height: 20px; opacity: .7; }
@media (min-width: 1000px) {
	.gp-rt-help__card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
	/* Hero: slow push-in from the first paint; the text rises and fades as you leave (--rt-h from returns.js). */
	html.gp-js .gp-rt-hero__img { animation: gp-rt-push 22s cubic-bezier(.2, .6, .2, 1) both; }
	@media (min-width: 701px) { /* phones: the hero is taller than the screen, its figures stay put */
		.gp-rt-motion .gp-rt-hero__inner { opacity: calc(1 - var(--rt-h, 0) * 1.25); translate: 0 calc(var(--rt-h, 0) * -60px); }
		.gp-rt-motion .gp-rt-hero__media { translate: 0 calc(var(--rt-h, 0) * 12%); }
	}
	html.gp-js .gp-rt-dial__tick { fill: rgba(255, 255, 255, .16); }
	html.gp-js .gp-rt-fact--days.is-in .gp-rt-dial__tick { animation: gp-rt-tick .3s calc(.25s + var(--i) * 95ms) both; }
	.gp-rt-tile > .gp-i { transition: transform .35s var(--ease-out), opacity .2s ease; }
	.gp-rt-tile:hover > .gp-i, .gp-rt-tile:focus-visible > .gp-i { opacity: 1; transform: translateX(4px); }
	.gp-rt-tile__icon { transition: transform .4s var(--ease-out); }
	.gp-rt-tile:hover .gp-rt-tile__icon { transform: rotate(-8deg) scale(1.06); }

	/* Stage: scenes cross-fade, the parcel hops along the route. */
	.gp-rt-live .gp-rt-scene { transition: opacity .4s ease, visibility 0s linear .4s; }
	.gp-rt-live .gp-rt-scene.is-on { transition: opacity .4s ease .1s, visibility 0s; }
	.gp-rt-route__line i { transition: transform .9s var(--ease-out); }
	.gp-rt-parcel { transition: translate .9s var(--ease-out); }
	.gp-rt-parcel.is-hop svg { animation: gp-rt-hop .9s var(--ease-out); }
	.gp-rt-route__dot { transition: background-color .3s ease, box-shadow .3s ease; }

	/* Call: the phone rings, the three ways to reach us appear. */
	.gp-rt-live .is-on .gp-rt-call__phone { animation: gp-rt-ring 1.1s ease-in-out .3s 2; }
	.gp-rt-live .is-on .gp-rt-call__ring { animation: gp-rt-wave 1.6s ease-out .3s 2; }
	.gp-rt-live .is-on .gp-rt-call__ring + .gp-rt-call__ring { animation-delay: .9s; }
	.gp-rt-live .is-on .gp-rt-call__chip { animation: gp-rt-pop .5s cubic-bezier(.3, 1.5, .5, 1) calc(.5s + var(--k) * .22s) both; }
	.gp-rt-live .is-on .gp-rt-scene__big, .gp-rt-live .is-on .gp-rt-scene__note { animation: gp-rt-rise .6s var(--ease-out) .15s both; }

	/* Checks: each box fills and its tick draws. */
	.gp-rt-live .is-on .gp-rt-checks li { animation: gp-rt-rise .5s var(--ease-out) calc(var(--k) * .12s) both; }
	.gp-rt-live .is-on .gp-rt-checks__box { animation: gp-rt-box .35s ease calc(.45s + var(--k) * .38s) both; }
	.gp-rt-live .is-on .gp-rt-checks__box svg path { animation: gp-rt-draw .35s ease calc(.6s + var(--k) * .38s) both; }

	/* Parcel: the slip drops in, the lid comes down, the tape runs, the label sticks. */
	.gp-rt-live .is-on .gp-rt-box__slip { animation: gp-rt-slip .9s cubic-bezier(.5, 0, .3, 1) .2s both; }
	.gp-rt-live .is-on .gp-rt-box__lid { animation: gp-rt-lid .6s cubic-bezier(.3, 1.3, .5, 1) 1s both; }
	.gp-rt-live .is-on .gp-rt-box__tape--down { animation: gp-rt-tape .4s ease-out 1.55s both; }
	.gp-rt-live .is-on .gp-rt-box__sticker { animation: gp-rt-stick .5s cubic-bezier(.3, 1.5, .5, 1) 1.9s both; }

	/* Label: the address prints line by line, then the van drives off. */
	.gp-rt-live .is-on .gp-rt-label { animation: gp-rt-rise .55s var(--ease-out) both; }
	.gp-rt-live .is-on .gp-rt-label__lines span { animation: gp-rt-type .7s steps(22, end) calc(.35s + var(--k) * .6s) both; }
	.gp-rt-live .is-on .gp-rt-label__code { animation: gp-rt-type .5s steps(12, end) 2.2s both; }
	.gp-rt-live .is-on .gp-rt-road__van { animation: gp-rt-drive 1.6s cubic-bezier(.55, 0, .3, 1) 2.3s both; }

	/* E-mail: the slip goes in, the flap closes, the envelope leaves with a check. */
	.gp-rt-live .is-on .gp-rt-mail__paper { animation: gp-rt-paper .8s cubic-bezier(.5, 0, .3, 1) .2s both; }
	.gp-rt-live .is-on .gp-rt-mail__flap { animation: gp-rt-flap .45s ease-in 1s both; }
	.gp-rt-live .is-on .gp-rt-mail__fly { animation: gp-rt-whoosh .7s cubic-bezier(.5, 0, .3, 1) 1.5s both; }
	.gp-rt-live .is-on .gp-rt-mail__sent { animation: gp-rt-stick .5s cubic-bezier(.3, 1.5, .5, 1) 2.05s both; }

	/* Refund: the card rises, the days fill, the check lands. */
	.gp-rt-live .is-on .gp-rt-pay { animation: gp-rt-rise .6s var(--ease-out) both; }
	.gp-rt-live .is-on .gp-rt-days li { animation: gp-rt-day .3s ease calc(.4s + var(--k) * .09s) both; }
	.gp-rt-live .is-on .gp-rt-pay__ok { animation: gp-rt-stick .5s cubic-bezier(.3, 1.5, .5, 1) 1.5s both; }
}
@keyframes gp-rt-push { from { scale: 1.12; } to { scale: 1; } }
@keyframes gp-rt-tick { from { fill: rgba(255, 255, 255, .16); } to { fill: var(--accent); } }
@keyframes gp-rt-hop { 0% { translate: 0 0; } 40% { translate: 0 -10px; rotate: -8deg; } 70% { translate: 0 0; rotate: 4deg; } 100% { translate: 0 0; rotate: 0deg; } }
@keyframes gp-rt-ring { 0%, 100% { rotate: 0deg; } 10%, 30%, 50% { rotate: -12deg; } 20%, 40% { rotate: 12deg; } 60% { rotate: 0deg; } }
@keyframes gp-rt-wave { from { opacity: .8; scale: 1; } to { opacity: 0; scale: 2.3; } }
@keyframes gp-rt-pop { from { opacity: 0; scale: .5; } to { opacity: 1; scale: 1; } }
@keyframes gp-rt-rise { from { opacity: 0; translate: 0 14px; } to { opacity: 1; translate: none; } }
@keyframes gp-rt-box { from { background: transparent; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .35); } to { background: var(--accent); box-shadow: inset 0 0 0 2px transparent; } }
@keyframes gp-rt-draw { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes gp-rt-slip { from { translate: 0 -10px; opacity: 0; } 25% { opacity: 1; } to { translate: 0 80px; opacity: 1; } }
@keyframes gp-rt-lid { from { translate: 0 -70px; rotate: -10deg; opacity: 0; } 30% { opacity: 1; } to { translate: none; rotate: 0deg; opacity: 1; } }
@keyframes gp-rt-tape { from { scale: 1 0; } to { scale: 1 1; } }
@keyframes gp-rt-stick { from { opacity: 0; scale: .3; } to { opacity: 1; scale: 1; } }
@keyframes gp-rt-type { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes gp-rt-drive { from { translate: 0 0; } 85% { translate: calc(100cqw - 34px) 0; } to { translate: calc(100cqw - 40px) 0; } }
@keyframes gp-rt-paper { from { translate: 0 -12px; opacity: 0; } 25% { opacity: 1; } to { translate: 0 44px; opacity: 1; } }
@keyframes gp-rt-flap { from { scale: 1 0; } to { scale: 1 1; } }
@keyframes gp-rt-whoosh { 0% { translate: 0 0; rotate: 0deg; } 45% { translate: 18px -10px; rotate: -6deg; } 100% { translate: 0 0; rotate: 0deg; } }
@keyframes gp-rt-day { from { opacity: .25; scale: .7; } to { opacity: 1; scale: 1; } }
