/*
 * Robot Tondeuse Sans Fil — feuille principale.
 * Mise en page bento : des tuiles de tailles différentes sur une grille.
 * Les couleurs, polices et arrondis viennent du design actif (inc/designs.php) via les variables ci-dessous.
 */

:root {
	--bg: #f5f4ee; --surface: #fff; --surface2: #ecefe4; --ink: #18231b; --muted: #56615a; --line: #dcdfd2;
	--primary: #1f5130; --primary-ink: #fff; --accent: #c99a1a; --cta: #15803d; --cta-hover: #116a32; --cta-ink: #fff;
	--hero: #1f5130; --hero-ink: #f5f4ee; --hero-cta: var(--cta); --hero-cta-ink: var(--cta-ink);
	--footer: #14261a; --footer-ink: #e4eadf;
	--amz: #f6b823; --amz-hover: #e0a000; --amz-ink: #1a1300;
	--star: #f5a623; --star-off: color-mix(in srgb, var(--muted) 28%, transparent);
	--good: #15803d; --bad: #c0392b;
	--f-title: Georgia, serif; --f-body: system-ui, sans-serif; --f-mono: ui-monospace, monospace;
	--title-weight: 700; --radius: 18px; --radius-sm: calc(var(--radius) * .6);
	--gap: 14px; --wrap: 1240px; --header-h: 64px;
	--shadow: 0 1px 2px rgb(0 0 0 / .05), 0 8px 24px -10px rgb(0 0 0 / .14);
}
body.is-dark { --good: #4ade80; --bad: #f87171; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16.5px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 99; background: var(--surface); padding: 8px 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.rt-i { flex: none; vertical-align: -3px; }
h1, h2, h3, .rt-h1, .rt-h2 { font-family: var(--f-title); font-weight: var(--title-weight); line-height: 1.15; text-wrap: balance; color: var(--ink); letter-spacing: -.01em; }

/* ---------- Tuiles (4 styles selon le design) ---------- */
.tile { background: var(--surface); border-radius: var(--radius); padding: 18px; min-width: 0; position: relative; }
.cards-border .tile, .cards-border .rt-card { border: 1px solid var(--line); }
.cards-shadow .tile, .cards-shadow .rt-card { box-shadow: var(--shadow); }
.cards-flat .tile, .cards-flat .rt-card { background: var(--surface2); }
.cards-flat .rt-htext { background: var(--hero); }
.cards-brut .tile, .cards-brut .rt-card { border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); }

/* ---------- En-tête ---------- */
.rt-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.rt-header__in { height: var(--header-h); display: flex; align-items: center; gap: 18px; }
.rt-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.rt-brand__img { height: 44px; width: auto; }
.rt-brand__txt { display: flex; flex-direction: column; line-height: 1.05; }
.rt-brand__l1 { font: var(--title-weight) 18px/1.05 var(--f-title); letter-spacing: -.01em; }
.rt-brand__l2 { font-size: 11.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rt-nav { margin-left: auto; }
.rt-menu { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.rt-menu a { display: block; padding: 8px 11px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.rt-menu a:hover, .rt-menu .current-menu-item > a { background: var(--surface2); }
.rt-menu .sub-menu { display: none; position: absolute; list-style: none; margin: 0; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); min-width: 220px; }
.rt-menu li { position: relative; }
.rt-menu li:hover > .sub-menu, .rt-menu li:focus-within > .sub-menu { display: block; }
.rt-header__cta { flex: none; }
.rt-burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 10px; width: 44px; height: 40px; align-items: center; justify-content: center; cursor: pointer; }

/* ---------- Boutons ---------- */
.rt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: min(var(--radius), 999px); border: 2px solid transparent; font: 700 15px/1.2 var(--f-body); text-decoration: none; text-align: center; white-space: normal; cursor: pointer; transition: background .15s, transform .15s; }
a.rt-btn--brand, .rt-btn--brand { background: var(--cta); color: var(--cta-ink); }
a.rt-btn--brand:hover { background: var(--cta-hover); }
a.rt-btn--amz { background: var(--amz); color: var(--amz-ink); }
a.rt-btn--amz:hover { background: var(--amz-hover); }
a.rt-btn--ghost { background: transparent; color: inherit; border-color: currentColor; }
.rt-btn--lg { min-height: 50px; font-size: 16px; padding-inline: 22px; }
.rt-btn:active { transform: translateY(1px); }
.cards-brut .rt-btn { border-radius: 0; border-color: var(--ink); }
.rt-btns { display: grid; gap: 8px; }
.rt-btns--sm .rt-btn { min-height: 44px; font-size: 14px; padding: 8px 12px; }
.rt-promo { margin: -2px 0 2px; font-size: 13px; display: flex; align-items: center; gap: 6px; color: var(--good); font-weight: 600; }
.rt-promo code { background: color-mix(in srgb, var(--good) 12%, transparent); padding: 1px 6px; border-radius: 5px; font-family: var(--f-mono); }
.rt-link { font-size: 14px; font-weight: 600; }
.rt-more { margin: 12px 0 0; font-weight: 700; }
.rt-more a { display: inline-flex; gap: 6px; align-items: center; }

/* ---------- Étoiles, prix, puces ---------- */
.rt-stars { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; flex-wrap: wrap; }
.rt-stars.is-empty { color: var(--muted); font-size: 13px; }
.rt-stars__bar { position: relative; display: inline-block; width: 86px; height: 16px; background: var(--star-off); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86 16'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M8 .6l2.3 4.8 5.2.7-3.8 3.6.9 5.2L8 12.4l-4.6 2.5.9-5.2L.5 6.1l5.2-.7z'/%3E%3Cuse href='%23s' x='17.5'/%3E%3Cuse href='%23s' x='35'/%3E%3Cuse href='%23s' x='52.5'/%3E%3Cuse href='%23s' x='70'/%3E%3C/g%3E%3C/svg%3E") 0 0/86px 16px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 86 16'%3E%3Cg fill='%23000'%3E%3Cpath id='s' d='M8 .6l2.3 4.8 5.2.7-3.8 3.6.9 5.2L8 12.4l-4.6 2.5.9-5.2L.5 6.1l5.2-.7z'/%3E%3Cuse href='%23s' x='17.5'/%3E%3Cuse href='%23s' x='35'/%3E%3Cuse href='%23s' x='52.5'/%3E%3Cuse href='%23s' x='70'/%3E%3C/g%3E%3C/svg%3E") 0 0/86px 16px no-repeat; }
.rt-stars__bar > span { position: absolute; inset: 0 auto 0 0; background: var(--star); }
.rt-stars__num b { font-weight: 800; }
.rt-stars__base { display: block; width: 100%; font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.rt-price { display: inline-flex; align-items: baseline; gap: 8px; font-size: 15px; }
.rt-price b { font: 800 22px/1 var(--f-body); color: var(--ink); font-variant-numeric: tabular-nums; }
.rt-price s { color: var(--muted); font-size: 14px; }
.rt-price__note { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.rt-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 8px 0 0; padding: 0; }
.rt-chips li { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; background: var(--surface2); color: var(--ink); }
.cards-flat .rt-card .rt-chips li, .cards-flat .tile .rt-chips li { background: var(--surface); }
.rt-verdict { margin: 8px 0 0; font-size: 15px; line-height: 1.5; }
.rt-pc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.rt-pc__t { margin: 0 0 4px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rt-pc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: 14.5px; line-height: 1.4; }
.rt-pc li { display: flex; gap: 7px; }
.rt-pc__pros .rt-i { color: var(--good); margin-top: 2px; }
.rt-pc__cons .rt-i { color: var(--bad); margin-top: 2px; }

/* ---------- Rubans, badges, rangs ---------- */
.rt-ribbon { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #1b1606; font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.rt-ribbon.is-soft { background: var(--surface2); color: var(--ink); }
.cards-flat .rt-ribbon.is-soft { background: var(--surface); }
.rt-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: var(--surface2); color: var(--ink); width: fit-content; }
.rt-badge.is-gold { background: var(--accent); color: #1b1606; }
.rt-rank { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--bg); font: 800 15px/1 var(--f-body); flex: none; }
.rt-rank.is-gold { background: var(--accent); color: #1b1606; }
.rt-rank.is-inline { width: 22px; height: 22px; font-size: 12px; }
.cards-brut .rt-rank, .cards-brut .rt-ribbon, .cards-brut .rt-badge { border-radius: 0; }

/* ---------- Images produit ---------- */
.rt-img { display: block; width: 100%; height: 100%; object-fit: contain; }
.rt-img--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.rt-illus { width: 78%; max-height: 72%; }
.rt-img__soon { font-size: 11px; font-weight: 600; color: var(--muted); text-align: center; line-height: 1.2; }

/* ---------- Héros bento ---------- */
.rt-hero { padding-block: 16px 10px; }
.bento { display: grid; gap: var(--gap); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.rt-htext { background: var(--hero); color: var(--hero-ink); padding: 24px 26px; display: flex; flex-direction: column; justify-content: center; }
.rt-htext .rt-h1 { color: var(--hero-ink); }
.rt-htext .rt-btn--brand { background: var(--hero-cta); color: var(--hero-cta-ink); }
.rt-htext .rt-btn--brand:hover { filter: brightness(.95); }
.rt-eyebrow { margin: 0 0 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; opacity: .85; }
.rt-h1 { margin: 0; font-size: clamp(25px, 1.4vw + 16px, 36px); }
.rt-sub { margin: 10px 0 0; font-size: 16.5px; line-height: 1.5; opacity: .92; max-width: 60ch; }
.rt-hero-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.rt-trust { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; margin: 14px 0 0; padding: 0; font-size: 13.5px; font-weight: 600; opacity: .95; }
.rt-trust li { display: inline-flex; align-items: center; gap: 6px; }

.rt-hpick { display: flex; flex-direction: column; gap: 10px; }
.rt-hpick .rt-ribbon { margin: 0; width: fit-content; }
.rt-hpick__row { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 14px; align-items: center; }
.rt-hpick__media { display: block; aspect-ratio: 1; background: var(--surface2); border-radius: var(--radius-sm); padding: 6px; }
.cards-flat .rt-hpick__media { background: var(--surface); }
.rt-hpick__t { margin: 0 0 4px; font: var(--title-weight) 21px/1.2 var(--f-title); }
.rt-hpick__t a, .rt-mini__t a, .rt-card__t a, .rt-pick__t a, .rt-case__t a, .rt-rk__t a, .rt-pod__t a, .rt-top1__name a { color: var(--ink); text-decoration: none; }
.rt-hpick .rt-verdict { font-size: 14px; }
.rt-hpick .rt-price { margin-top: 8px; }
.rt-hpick .rt-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rt-hpick.is-big .rt-hpick__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.rt-hpick.is-big .rt-hpick__media { aspect-ratio: 4/3.2; }

.rt-mini { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.rt-mini__k { margin: 0; display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.rt-mini__row { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; }
.rt-mini__media { display: block; aspect-ratio: 1; background: var(--surface2); border-radius: var(--radius-sm); padding: 4px; }
.cards-flat .rt-mini__media { background: var(--surface); }
.rt-mini__t { margin: 0 0 2px; font-weight: 800; font-size: 15px; line-height: 1.25; }
.rt-mini .rt-price { display: flex; margin-top: 2px; }
.rt-mini .rt-price b { font-size: 18px; }
.rt-mini .rt-img__soon, .rt-case .rt-img__soon, .rt-pick .rt-img__soon { display: none; }
.rt-mini__media, .rt-case__media, .rt-pick__media, .rt-hpick__media, .rt-card__media, .rt-rk__media { text-decoration: none; }
.rt-mini .rt-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: auto; }
.rt-mini .rt-btns .rt-promo { grid-column: 1 / -1; }

/* split : texte 7 colonnes + n°1 5 colonnes, puis 3 tuiles */
.bento--split .rt-htext { grid-column: span 7; }
.bento--split .rt-hpick { grid-column: span 5; }
.bento--split .rt-mini { grid-column: span 4; }
/* mosaic : texte 2×2 à gauche, n°1 en haut à droite, n°2 et n°3 dessous */
.bento--mosaic .rt-htext { grid-column: 1 / span 6; grid-row: span 2; }
.bento--mosaic .rt-hpick { grid-column: 7 / span 6; }
.bento--mosaic .rt-mini { grid-column: span 3; }
/* feature : grande tuile n°1 à gauche, texte à droite */
.bento--feature .rt-hpick { grid-column: 1 / span 7; }
.bento--feature .rt-htext { grid-column: 8 / span 5; }
.bento--feature .rt-mini { grid-column: span 6; }
/* band : bandeau titre pleine largeur puis 4 cartes */
.bento--band .rt-htext { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); column-gap: 28px; align-items: center; padding-block: 20px; }
.bento--band .rt-htext > * { grid-column: 1; }
.bento--band .rt-htext .rt-hero-btns, .bento--band .rt-htext .rt-trust { grid-column: 2; grid-row: span 2; margin: 0; }
.bento--band .rt-htext .rt-hero-btns { grid-row: 1 / span 2; align-self: end; }
.bento--band .rt-htext .rt-trust { grid-row: 3; }
.bento--band .rt-hband-cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }

/* ---------- Sections ---------- */
.rt-sec { padding-block: 34px; }
.rt-sec--alt { background: color-mix(in srgb, var(--surface2) 55%, var(--bg)); }
.rt-h2 { font-size: clamp(22px, 1vw + 16px, 30px); margin: 0 0 6px; }
.rt-lead { margin: 0 0 18px; color: var(--muted); max-width: 70ch; }
.rt-block-t { font: var(--title-weight) 22px/1.2 var(--f-title); margin: 0 0 14px; }
.rt-disclosure { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 14px 0 0; line-height: 1.5; }
.rt-disclosure .rt-i { margin-top: 2px; }
.rt-aff-note { font-size: 12px; color: var(--muted); margin: 8px 0 0; }

/* ---------- Cartes courtes ---------- */
.rt-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rt-card { background: var(--surface); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 8px; position: relative; min-width: 0; }
.rt-card.is-top { outline: 2px solid var(--accent); outline-offset: -2px; }
.cards-brut .rt-card.is-top { outline: 0; box-shadow: 4px 4px 0 var(--accent); }
.rt-card__media { display: block; height: 180px; background: var(--surface2); border-radius: var(--radius-sm); padding: 10px; }
.cards-flat .rt-card__media { background: var(--surface); }
.rt-card > .rt-rank { position: absolute; top: 22px; left: 22px; }
.rt-card__t { margin: 0; font-size: 17px; line-height: 1.25; }
.rt-card__pros { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; line-height: 1.35; }
.rt-card__pros li { display: flex; gap: 6px; }
.rt-card__pros .rt-i { color: var(--good); margin-top: 1px; }
.rt-card__foot { margin-top: auto; display: grid; gap: 8px; padding-top: 4px; }

/* ---------- Le meilleur pour… ---------- */
.rt-cases { display: grid; gap: var(--gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rt-case { display: flex; flex-direction: column; gap: 8px; }
.rt-case__k { margin: 0; display: flex; gap: 7px; align-items: center; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rt-case__row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: center; }
.rt-case__media { display: block; aspect-ratio: 1; background: var(--surface2); border-radius: var(--radius-sm); padding: 5px; }
.cards-flat .rt-case__media { background: var(--surface); }
.rt-case__t { margin: 0 0 2px; font-weight: 800; }
.rt-case__why { margin: 0; font-size: 14px; color: var(--muted); }
.rt-case .rt-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: auto; }
.rt-case .rt-btns .rt-promo { grid-column: 1 / -1; }

/* ---------- Classement détaillé ---------- */
.rt-ranking { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.rt-rk { display: grid; grid-template-columns: 40px 170px minmax(0, 1fr) 250px; gap: 18px; align-items: start; }
.rt-rk.is-top { outline: 2px solid var(--accent); outline-offset: -2px; }
.rt-rk__media { display: block; aspect-ratio: 1; background: var(--surface2); border-radius: var(--radius-sm); padding: 8px; }
.cards-flat .rt-rk__media { background: var(--surface); }
.rt-rk__role { margin: 0 0 2px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--primary); }
.rt-rk__t { margin: 0 0 4px; font-size: 21px; }
.rt-rk__buy { display: grid; gap: 8px; align-content: start; }

/* ---------- Tableau ---------- */
.rt-table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.cards-brut .rt-table-wrap { border: 2px solid var(--ink); }
.rt-table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.rt-table th, .rt-table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.rt-table thead th { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); background: var(--surface2); }
.rt-table tbody th a { color: var(--ink); font-weight: 800; text-decoration: none; }
.rt-table small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
.rt-table tr.is-top { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.rt-table .rt-btns { min-width: 190px; }

/* ---------- Encarts dans les textes ---------- */
.rt-pick { margin: 22px 0; }
.rt-pick__row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 210px; gap: 16px; align-items: center; }
.rt-pick__media { display: block; aspect-ratio: 1; background: var(--surface2); border-radius: var(--radius-sm); padding: 6px; }
.rt-pick__t { margin: 0 0 3px; font-weight: 800; font-size: 18px; }
.rt-pick__buy { display: grid; gap: 8px; }
.rt-top3 { margin: 28px 0; }
.rt-top3__grid { display: grid; gap: var(--gap); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rt-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; margin: 26px 0; border-radius: var(--radius); background: color-mix(in srgb, var(--good) 10%, var(--surface)); border: 1px solid color-mix(in srgb, var(--good) 30%, transparent); }
.rt-banner p { margin: 0; }
.rt-banner .rt-btn { flex: none; }

/* ---------- Texte (prose) ---------- */
.rt-prose { max-width: 820px; }
.rt-prose > * { margin-block: 0 1rem; }
.rt-prose h2 { font-size: clamp(22px, 1vw + 16px, 29px); margin: 1.6em 0 .45em; }
.rt-prose h3 { font-size: 20px; margin: 1.2em 0 .4em; }
.rt-prose ul, .rt-prose ol { padding-left: 1.2em; }
.rt-prose li { margin-bottom: .3em; }
.rt-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.rt-prose td, .rt-prose th { border: 1px solid var(--line); padding: 8px 10px; }
.rt-prose .rt-pick, .rt-prose .rt-top3, .rt-prose .rt-banner { max-width: none; }
.rt-prose .en-resume, .rt-resume { background: color-mix(in srgb, var(--good) 9%, var(--surface)); border-left: 4px solid var(--good); padding: 14px 18px; border-radius: var(--radius-sm); }
.rt-prose .en-resume > :last-child { margin-bottom: 0; }
.rt-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 12px 0 0; padding: 0; font-size: 13px; color: var(--muted); }
.rt-crumbs li + li::before { content: "›"; margin-right: 8px; }
.rt-crumbs a { color: var(--muted); }
.rt-phead { padding-block: 18px 16px; }
.rt-h1--page { font-size: clamp(25px, 1.3vw + 17px, 36px); }
.rt-phead .rt-hero-btns { margin-top: 14px; }
.rt-phead__img { margin: 0 0 18px; }
.rt-phead__img img { width: 100%; height: 300px; object-fit: cover; border-radius: var(--radius); }
.rt-meta { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

/* ---------- Fiche produit ---------- */
.bento--product { margin-top: 12px; }
.rt-prod__media { grid-column: span 5; grid-row: span 2; display: grid; place-items: center; min-height: 320px; }
.rt-prod__media .rt-img { max-height: 420px; }
.rt-prod__buy { grid-column: span 7; display: flex; flex-direction: column; gap: 6px; }
.rt-prod__buy .rt-ribbon { width: fit-content; }
.rt-h1--prod { font-size: clamp(25px, 1.2vw + 18px, 34px); margin-bottom: 4px; }
.rt-prod__buy .rt-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
.rt-prod__buy .rt-btns .rt-promo { grid-column: 1 / -1; }
.rt-prod__pc { grid-column: span 7; }
.rt-prod__pc .rt-pc { margin: 0; }
.rt-fold { margin-top: 26px; }
.rt-fold.is-folded .rt-fold__rest { max-height: 150px; overflow: hidden; position: relative; }
.rt-fold.is-folded .rt-fold__rest::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(transparent, var(--bg)); }
.rt-fold__btn { margin-top: 6px; background: none; border: 2px solid var(--primary); color: var(--primary); border-radius: 999px; padding: 9px 18px; font: 700 15px var(--f-body); cursor: pointer; }
.rt-specs { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; }
.rt-specs dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; }
.rt-specs dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.rt-specs dt { color: var(--muted); }
.rt-specs dd { margin: 0; font-weight: 700; text-align: right; font-family: var(--f-mono); }
.rt-specs__buy { display: grid; gap: 10px; align-content: start; }
.rt-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.rt-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.rt-post__t { font-size: 19px; margin: 10px 0 6px; }
.rt-post__t a { color: var(--ink); text-decoration: none; }
.rt-post__media img { width: 100%; height: 180px; object-fit: cover; border-radius: var(--radius-sm); }

/* ---------- Pied de page ---------- */
.rt-footer { background: var(--footer); color: var(--footer-ink); margin-top: 40px; padding-top: 38px; font-size: 14.5px; }
.rt-footer a { color: var(--footer-ink); }
.rt-footer__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.rt-footer__brand { display: flex; align-items: center; gap: 10px; font: var(--title-weight) 18px var(--f-title); margin: 0 0 10px; }
.rt-footer__brand .rt-logo-mark { flex: none; }
.rt-footer__k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; opacity: .8; }
.rt-footer__amz { border: 1px solid color-mix(in srgb, var(--footer-ink) 25%, transparent); border-radius: var(--radius-sm); padding: 12px 14px; margin-top: 14px; }
.rt-footer__amz p { margin: 0 0 6px; }
.rt-footer__menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.rt-footer__menu a { text-decoration: none; }
.rt-footer__menu a::before { content: "→ "; opacity: .6; }
.rt-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--footer-ink) 18%, transparent); margin-top: 28px; padding-block: 14px; font-size: 13px; opacity: .85; }
.rt-footer__bottom p { margin: 0; }

/* ---------- Barre d'achat mobile + retour en haut ---------- */
.rt-sticky { display: none; }
.rt-totop { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px)); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--bg); opacity: 0; pointer-events: none; transition: opacity .2s, bottom .2s; z-index: 40; }
.rt-totop.is-on { opacity: .85; pointer-events: auto; }

/* ---------- Contact Form 7 ---------- */
.wpcf7 input:not([type="submit"]), .wpcf7 textarea { width: 100%; max-width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font: inherit; }
.wpcf7 input[type="submit"] { background: var(--cta); color: var(--cta-ink); border: 0; border-radius: var(--radius-sm); padding: 12px 22px; font: 700 16px var(--f-body); cursor: pointer; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.rt-grid, .rt-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rt-rk { grid-template-columns: 32px 130px minmax(0, 1fr); }
	.rt-rk__buy { grid-column: 2 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
	.rt-rk__buy .rt-price, .rt-rk__buy .rt-price__note { grid-column: 1 / -1; }
	.rt-cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bento--band .rt-hband-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
	:root { --header-h: 58px; }
	.rt-brand__img { height: 40px; }
	.rt-burger { display: inline-flex; }
	.rt-header__cta { margin-left: auto; }
	.rt-burger { margin-left: 0; }
	.rt-nav { display: none; position: absolute; inset: var(--header-h) 0 auto; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px 20px 16px; margin: 0; }
	.rt-nav.is-open { display: block; }
	.rt-menu { flex-direction: column; }
	.rt-menu .sub-menu { position: static; display: block; box-shadow: none; border: 0; padding-left: 12px; }
	.bento--split .rt-htext, .bento--split .rt-hpick, .bento--mosaic .rt-htext, .bento--mosaic .rt-hpick, .bento--feature .rt-htext, .bento--feature .rt-hpick { grid-column: 1 / -1; grid-row: auto; }
	.bento--split .rt-mini, .bento--mosaic .rt-mini, .bento--feature .rt-mini { grid-column: span 6; }
	.bento--feature .rt-htext { order: -1; }
	.bento--band .rt-htext { grid-template-columns: 1fr; }
	.bento--band .rt-htext .rt-hero-btns, .bento--band .rt-htext .rt-trust { grid-column: 1; grid-row: auto; margin-top: 14px; }
	.bento--split .rt-mini:nth-of-type(3) { display: none; }
	.rt-prod__media, .rt-prod__buy, .rt-prod__pc { grid-column: 1 / -1; grid-row: auto; }
	.rt-prod__media { min-height: 0; }
	.rt-prod__media .rt-img { max-height: 300px; }
	.rt-pick__row { grid-template-columns: 90px minmax(0, 1fr); }
	.rt-pick__buy { grid-column: 1 / -1; grid-template-columns: auto 1fr; align-items: center; }
	.rt-top3__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rt-specs { grid-template-columns: 1fr; }
	.rt-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rt-footer__about { grid-column: 1 / -1; }
	.rt-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	:root { --header-h: 56px; --gap: 12px; }
	body { font-size: 16px; }
	.wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
	.rt-brand .rt-logo-mark { width: 38px; height: 38px; }
	.rt-brand__l1 { font-size: 16px; }
	.rt-brand__l2 { font-size: 10px; }
	.rt-header__cta { display: none; }
	.rt-burger { margin-left: auto; }
	.rt-hero { padding-block: 10px 6px; }
	.tile { padding: 14px; }
	.rt-htext { padding: 18px 16px; }
	.rt-h1 { font-size: 25px; }
	.rt-sub { font-size: 15px; margin-top: 8px; }
	.rt-eyebrow { font-size: 11px; }
	.rt-hero-btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
	.rt-hero-btns .rt-btn { min-height: 46px; padding: 8px 10px; font-size: 14.5px; }
	.rt-hero-btns .rt-i { display: none; }
	.rt-trust { font-size: 12.5px; gap: 4px 12px; margin-top: 10px; }
	.rt-trust li:nth-child(3) { display: none; }
	.rt-hpick__row { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
	.rt-hpick.is-big .rt-hpick__row { grid-template-columns: 104px minmax(0, 1fr); }
	.rt-hpick.is-big .rt-hpick__media { aspect-ratio: 1; }
	.rt-hpick__t { font-size: 18px; }
	.rt-hpick .rt-verdict { display: none; }
	.rt-hpick .rt-price__note { display: none; }
	.rt-hpick .rt-btns .rt-btn { min-height: 46px; font-size: 14px; padding: 8px 10px; }
	.bento--split .rt-mini, .bento--mosaic .rt-mini, .bento--feature .rt-mini { grid-column: 1 / -1; }
	.bento--split .rt-mini:nth-of-type(n+2) { display: none; }
	.rt-grid, .rt-grid--4, .bento--band .rt-hband-cards { grid-template-columns: 1fr; }
	.bento--band .rt-hband-cards .rt-card { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 12px; }
	.bento--band .rt-hband-cards .rt-card > * { grid-column: 2; }
	.bento--band .rt-hband-cards .rt-card__media { grid-column: 1; grid-row: 1 / span 4; height: 96px; padding: 4px; }
	.bento--band .rt-hband-cards .rt-card > .rt-rank { grid-column: 1; grid-row: 1; top: 6px; left: 6px; width: 24px; height: 24px; font-size: 12px; }
	.bento--band .rt-hband-cards .rt-card__foot { grid-column: 1 / -1; }
	.bento--band .rt-hband-cards .rt-chips { display: none; }
	.rt-card__media { height: 170px; }
	.rt-cases, .rt-top3__grid { grid-template-columns: 1fr; }
	.rt-pc { grid-template-columns: 1fr; gap: 10px; }
	.rt-rk { grid-template-columns: 90px minmax(0, 1fr); gap: 12px; }
	.rt-rk > .rt-rank { position: absolute; top: 10px; left: 10px; z-index: 1; }
	.rt-rk__media { grid-column: 1; }
	.rt-rk__body { grid-column: 2; }
	.rt-rk__body .rt-pc, .rt-rk__body .rt-chips { grid-column: 1 / -1; }
	.rt-rk__buy { grid-column: 1 / -1; grid-template-columns: 1fr; }
	.rt-rk__t { font-size: 18px; }
	/* Tableau → cartes */
	.rt-table-wrap { border: 0; background: none; overflow: visible; }
	.rt-table, .rt-table tbody, .rt-table tr, .rt-table td, .rt-table th { display: block; width: 100%; }
	.rt-table thead { display: none; }
	.rt-table tr { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 6px 14px 14px; }
	.rt-table tr.is-top { border-color: var(--accent); }
	.rt-table td, .rt-table tbody th { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; text-align: right; }
	.rt-table td::before, .rt-table tbody th::before { content: attr(data-l); font-weight: 700; color: var(--muted); text-align: left; }
	.rt-table td[data-l="Acheter"] { display: block; border-bottom: 0; }
	.rt-table td[data-l="Acheter"]::before { display: none; }
	.rt-table .rt-btns { min-width: 0; }
	.rt-banner { flex-direction: column; align-items: stretch; }
	.rt-pick .rt-verdict { display: none; }
	.rt-pick__row { align-items: start; }
	.rt-specs dl { grid-template-columns: 1fr; }
	.rt-footer__grid { grid-template-columns: 1fr; }
	.rt-posts { grid-template-columns: 1fr; }
	.rt-phead__img img { height: 190px; }
	.rt-prod__buy .rt-btns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rt-prod__media { padding: 8px; }
	.rt-prod__media .rt-img { max-height: 170px; }
	.rt-prod__buy .rt-chips { display: none; }
	.rt-prod__buy .rt-stars__base { display: none; }
	/* Barre d'achat fixe */
	.rt-sticky { display: flex; align-items: center; gap: 12px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(0 0 0 / .12); padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); transition: transform .25s; }
	.rt-sticky.is-hidden { transform: translateY(110%); }
	.rt-sticky__in { min-width: 0; flex: 1; }
	.rt-sticky__l { margin: 0; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); display: flex; gap: 5px; align-items: center; }
	.rt-sticky__n { margin: 0; font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
	.rt-sticky .rt-btn { flex: none; min-height: 44px; padding: 8px 16px; }
	body:has(.rt-sticky) { padding-bottom: 72px; }
	body:has(.rt-sticky:not(.is-hidden)) .rt-totop { bottom: calc(84px + env(safe-area-inset-bottom, 0px)); }
}

/* Variantes fines par design */
.design-signal .rt-htext { background-image: linear-gradient(color-mix(in srgb, var(--hero-ink) 7%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--hero-ink) 7%, transparent) 1px, transparent 1px); background-size: 28px 28px; }
.design-gazon .rt-htext, .design-choix .rt-htext, .design-arrosage .rt-htext, .design-menthe .rt-htext { background-image: repeating-linear-gradient(90deg, transparent 0 46px, color-mix(in srgb, var(--hero-ink) 5%, transparent) 46px 92px); }
.design-ardoise .rt-price b, .design-ardoise .rt-table td { font-family: var(--f-mono); }
.design-ardoise .rt-h1, .design-ardoise .rt-h2 { letter-spacing: -.02em; }
.design-graphite .rt-h1, .design-graphite .rt-h2, .design-graphite .rt-brand__l1 { text-transform: uppercase; letter-spacing: 0; }
.design-graphite .rt-ribbon, .design-graphite .rt-badge.is-gold, .design-graphite .rt-rank.is-gold { background: var(--accent); color: #111; }
.design-sauge .rt-h1, .design-sauge .rt-h2 { font-size: clamp(29px, 1.8vw + 18px, 42px); line-height: 1.05; }
.design-sauge .rt-h1 { font-style: italic; }
.design-citronnelle .rt-htext { border-radius: var(--radius) var(--radius) var(--radius) 4px; }
.design-sousbois .rt-h1, .design-sousbois .rt-h2 { font-size: clamp(28px, 1.8vw + 18px, 42px); }
.design-sousbois .rt-ribbon, .design-sousbois .rt-badge.is-gold, .design-sousbois .rt-rank.is-gold { background: var(--accent); color: #14231b; }
.design-menthe .rt-btn { border-radius: 999px; }
.design-lavande .rt-htext { background-image: radial-gradient(circle at 92% 12%, color-mix(in srgb, var(--accent) 40%, transparent) 0 70px, transparent 71px); }
.design-corail .rt-htext { background-image: radial-gradient(circle at 100% 100%, color-mix(in srgb, var(--primary) 16%, transparent) 0 120px, transparent 121px); }
.design-minuit .rt-htext { background-image: radial-gradient(1.5px 1.5px at 20% 30%, #fff8 50%, transparent 51%), radial-gradient(1.5px 1.5px at 70% 18%, #fff6 50%, transparent 51%), radial-gradient(1px 1px at 85% 60%, #fff7 50%, transparent 51%), radial-gradient(1px 1px at 40% 75%, #fff5 50%, transparent 51%); }

.rt-btns .rt-btn:only-child { grid-column: 1 / -1; }
.rt-menu .current-menu-item > a[href*="#"] { background: none; }

/* Prix toujours sous la note (évite « 4,7/51 699 € ») */
.rt-stars + .rt-price { display: flex; margin-top: 4px; }
