/* Maquette — générateur de sites d'affiliation (P-UNE-11).
   Un seul fichier, aucune dépendance : le générateur compilera l'équivalent en Tailwind partagé.
   Les couleurs et polices d'un site viennent des variables de themes.css (une palette par thématique). */

/* Polices variables auto-hébergées (sous-ensemble latin, accents français compris). Une page ne charge que les deux de son habillage. */
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("../fonts/fraunces.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dmsans.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/spacegrotesk.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/jakarta.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; font-optical-sizing: auto; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; color: var(--ink); background: var(--bg); }
img, svg { display: block; max-width: 100%; }
a { color: var(--brand-ink); text-underline-offset: 3px; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-variant-numeric: lining-nums; font-family: var(--font-head); font-weight: var(--head-weight); line-height: 1.15; letter-spacing: var(--head-tracking); margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2rem, 4.2vw, var(--h1-max, 3rem)); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.15rem); margin-top: 1.6em; }
h3 { font-size: 1.25rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 1.25em; height: 1.25em; flex: none; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; }
.brand-mark svg { width: 22px; height: 22px; }
.brand small { display: block; font-size: .72rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: -2px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav summary { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; cursor: pointer; list-style: none; }
.nav summary::-webkit-details-marker { display: none; }
.nav > a:hover, .nav summary:hover, .nav details[open] summary { background: var(--surface-2); color: var(--ink); }
.nav .nav-star { background: var(--brand); color: var(--on-brand); }
.nav .nav-star:hover { background: var(--brand-ink); color: var(--on-brand); }
.nav details { position: relative; }
.mega { position: absolute; right: 0; top: calc(100% + 10px); width: min(640px, 92vw); background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.mega h4 { font-family: var(--font-body); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 6px; grid-column: span 1; }
.mega a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.mega a:hover { background: var(--surface-2); }
.mega a span { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
.mega .ico { color: var(--brand); width: 22px; height: 22px; }
.menu-btn { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--bg); border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 600; }
@media (max-width: 900px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}

/* ---------- Fil d'Ariane ---------- */
.crumbs { font-size: .85rem; color: var(--muted); padding: 16px 0 0; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; opacity: .6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand-ink); text-decoration: underline; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 22px; border-radius: var(--radius-btn); font-weight: 700; font-size: 1rem; text-decoration: none; border: 0; cursor: pointer; line-height: 1.2; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-buy { background: var(--cta); color: var(--on-cta); box-shadow: 0 6px 18px -8px var(--cta); }
.btn-buy:hover { background: var(--cta-hover); color: var(--on-cta); box-shadow: 0 10px 24px -10px var(--cta); }
.btn-buy .ico { width: 18px; height: 18px; }
.btn-ghost { background: var(--surface-2); color: var(--ink); }
.btn-ghost:hover { background: var(--line); color: var(--ink); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 16px; font-size: .9rem; }
.btn-note { display: block; margin-top: 8px; font-size: .78rem; color: var(--muted); text-align: center; }

/* ---------- Badges, pastilles, note ---------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .02em; background: var(--brand-soft); color: var(--brand-ink); }
.badge-gold { background: var(--gold-soft); color: var(--gold-ink); }
.badge-dark { background: var(--ink); color: var(--bg); }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-weight: 600; font-size: .9rem; text-decoration: none; white-space: nowrap; }
.chip:hover { border-color: var(--brand); color: var(--brand-ink); }
.chip[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .ico { width: 18px; height: 18px; color: var(--brand); }
.chip[aria-current="page"] .ico { color: var(--bg); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 8px; scrollbar-width: none; }
.score { --v: 8; display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: conic-gradient(var(--brand) calc(var(--v) * 10%), var(--surface-2) 0); position: relative; flex: none; }
.score::before { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--bg); }
.score b { position: relative; font-size: 1.2rem; font-weight: 800; letter-spacing: -.02em; }
.score b small { font-size: .65rem; font-weight: 600; color: var(--muted); }
.score-lg { width: 86px; height: 86px; }
.score-lg b { font-size: 1.6rem; }

/* ---------- Visuel produit (phase 1 : illustration ; phase 2 : image Creators API en hotlink) ---------- */
.ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); background: radial-gradient(120% 90% at 30% 20%, color-mix(in srgb, var(--tint, var(--brand)) 22%, white) 0%, color-mix(in srgb, var(--tint, var(--brand)) 8%, var(--surface)) 70%); display: grid; place-items: center; overflow: hidden; color: var(--tint, var(--brand)); }
.ph svg { width: 72%; height: auto; filter: drop-shadow(0 18px 18px rgba(0,0,0,.14)); }
.ph-tag { position: absolute; left: 10px; bottom: 10px; font-size: .68rem; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: rgba(255,255,255,.85); color: #555; }
.ph-sq { aspect-ratio: 1; }
.compare .price-s small { display: none; }
.mini .ph-tag, .recap .ph-tag, .face .ph-tag, .duel-tile .ph-tag, .sticky-buy .ph-tag, .gallery .ph:not(:first-child) .ph-tag { display: none; }

/* ---------- Accueil ---------- */
.home-hero { padding: 56px 0 28px; display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: center; }
.home-hero .eyebrow { font-weight: 700; color: var(--brand-ink); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.home-hero h1 em { font-style: normal; color: var(--brand); }
.home-hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34em; }
.finder { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 10px; align-items: end; }
.finder label { font-size: .75rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; display: grid; gap: 6px; }
.finder .btn { white-space: nowrap; }
.finder select { min-width: 0; width: 100%; font: inherit; font-size: .95rem; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.hero-top3 { display: grid; gap: 12px; }
.mini { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); }
.mini:hover { border-color: var(--brand); color: var(--ink); }
.mini .ph { aspect-ratio: 1; border-radius: 12px; }
.mini b { display: block; line-height: 1.25; }
.mini span { font-size: .85rem; color: var(--muted); }
.mini .rank { position: absolute; }
.shortcuts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin: 8px 0 0; }
.shortcut { display: grid; justify-items: center; gap: 10px; padding: 18px 10px; border-radius: 18px; background: var(--surface); text-decoration: none; color: var(--ink); font-weight: 700; font-size: .92rem; text-align: center; border: 1px solid transparent; }
.shortcut:hover { border-color: var(--brand); background: var(--bg); color: var(--ink); }
.shortcut .ico { width: 34px; height: 34px; color: var(--brand); }
.shortcut small { display: block; font-weight: 500; color: var(--muted); font-size: .78rem; }
.section { padding: 56px 0 8px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card h3 { margin: 0; font-size: 1.12rem; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--brand-ink); }
.card .ph { border-radius: 0; }
.card .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.card .why { font-size: .93rem; color: var(--muted); margin: 0; }
.card .facts { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--muted); padding: 0; margin: 0; list-style: none; }
.card .facts li { display: flex; align-items: center; gap: 5px; }
.card .facts .ico { width: 15px; height: 15px; color: var(--brand); }
.card .actions { margin-top: auto; display: grid; gap: 8px; }
.card .actions .link { text-align: center; font-weight: 600; font-size: .9rem; }
.card-pos { position: relative; }
.card-pos .badge { position: absolute; left: 12px; top: 12px; z-index: 1; }
.duel-tile { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 16px; border-radius: 20px; background: var(--surface); text-decoration: none; color: var(--ink); border: 1px solid transparent; }
.duel-tile:hover { border-color: var(--brand); color: var(--ink); }
.duel-tile .ph { aspect-ratio: 1; border-radius: 14px; }
.duel-tile .vs { font-family: var(--font-head); font-size: 1.4rem; color: var(--brand); }
.duel-tile p { grid-column: 1 / -1; margin: 4px 0 0; font-weight: 700; text-align: center; line-height: 1.3; }
.guide-card { display: grid; gap: 10px; padding: 22px; border-radius: 20px; background: var(--surface); text-decoration: none; color: var(--ink); }
.guide-card:hover { background: var(--surface-2); color: var(--ink); }
.guide-card .ico { width: 30px; height: 30px; color: var(--brand); }
.guide-card b { font-size: 1.05rem; line-height: 1.3; }
.guide-card span { font-size: .88rem; color: var(--muted); }
.trust { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center; background: var(--ink); color: var(--bg); border-radius: 28px; padding: 40px; margin: 56px 0 0; }
.trust h2 { color: var(--bg); margin-top: 0; }
.trust p { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.trust a { color: var(--bg); }
.trust ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.trust li { display: flex; gap: 12px; align-items: flex-start; background: color-mix(in srgb, var(--bg) 8%, transparent); padding: 14px 16px; border-radius: 14px; }
.trust li .ico { color: var(--brand-on-dark); margin-top: 2px; }
.fresh { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fresh div { padding: 18px; border-radius: 16px; border: 1px solid var(--line); }
.fresh b { display: block; font-size: 1.6rem; letter-spacing: -.02em; }
.fresh span { color: var(--muted); font-size: .9rem; }

/* ---------- Page « meilleurs » (pilier et facettes) ---------- */
.list-hero { padding: 26px 0 10px; display: grid; grid-template-columns: 1.4fr .6fr; gap: 36px; align-items: end; }
.list-hero .lead { font-size: 1.12rem; color: var(--muted); }
.byline { display: flex; align-items: center; gap: 12px; font-size: .88rem; color: var(--muted); margin: 14px 0 0; flex-wrap: wrap; }
.byline .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.byline b { color: var(--ink); }
.method-box { border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; font-size: .9rem; background: var(--surface); }
.method-box b { display: block; margin-bottom: 4px; }
.recap { width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; font-size: .95rem; }
.recap th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 12px 14px; background: var(--surface); }
.recap td { padding: 14px; border-top: 1px solid var(--line); vertical-align: middle; }
.recap tr.first td { background: color-mix(in srgb, var(--brand-soft) 45%, var(--bg)); }
.recap .prod { display: flex; align-items: center; gap: 12px; }
.recap .prod .ph { width: 64px; flex: none; aspect-ratio: 1; border-radius: 12px; }
.recap .prod a { font-weight: 700; color: var(--ink); text-decoration: none; }
.recap .prod a:hover { color: var(--brand-ink); }
.recap .num { font-family: var(--font-head); font-size: 1.6rem; color: var(--brand); width: 40px; }
.recap .note { font-weight: 800; font-size: 1.1rem; }
.recap .note small { color: var(--muted); font-weight: 600; }
.pick { display: grid; grid-template-columns: 340px 1fr; gap: 32px; padding: 34px 0; border-top: 1px solid var(--line); }
.pick:first-of-type { border-top: 0; }
.pick-media { position: sticky; top: 90px; align-self: start; display: grid; gap: 12px; }
.pick-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pick-num { font-family: var(--font-head); font-size: 3rem; line-height: 1; color: var(--brand); }
.pick h2 { margin: 0; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.pick .verdict-line { font-size: 1.08rem; font-weight: 600; margin: 12px 0; }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.proscons div { border-radius: 16px; padding: 14px 16px; }
.proscons .pros { background: var(--ok-soft); }
.proscons .cons { background: var(--ko-soft); }
.proscons h4 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 8px; }
.proscons ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .95rem; }
.proscons li { display: flex; gap: 8px; }
.proscons .pros .ico { color: var(--ok); margin-top: 3px; width: 16px; height: 16px; }
.proscons .cons .ico { color: var(--ko); margin-top: 3px; width: 16px; height: 16px; }
.specline { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.specline li { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 10px; background: var(--surface); font-size: .88rem; }
.specline .ico { width: 16px; height: 16px; color: var(--brand); }
.pick-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* ---------- Fiche avis ---------- */
.review-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 22px 0 8px; align-items: start; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 10px; }
.gallery .ph:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.gallery .ph { aspect-ratio: 4 / 3; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.fact { display: grid; gap: 4px; padding: 12px; border-radius: 14px; background: var(--surface); font-size: .82rem; color: var(--muted); }
.fact .ico { width: 22px; height: 22px; color: var(--brand); }
.fact b { color: var(--ink); font-size: .98rem; }
.buybox { position: sticky; top: 90px; border: 1px solid var(--line); border-radius: 24px; padding: 26px; background: var(--bg); box-shadow: var(--shadow-lg); }
.buybox .over { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.buybox h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: 8px 0 12px; }
.buybox .btn-buy { width: 100%; }
.buybox .verdict { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-block: 1px solid var(--line); margin-bottom: 14px; }
.buybox .verdict p { margin: 0; font-weight: 600; line-height: 1.4; }
.buybox ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; font-size: .97rem; }
.buybox li { display: flex; gap: 10px; }
.buybox li .ico { width: 18px; height: 18px; margin-top: 3px; }
.buybox li.plus .ico { color: var(--ok); }
.buybox li.minus .ico { color: var(--ko); }
.api-slot { border: 1.5px dashed var(--line); border-radius: 14px; padding: 10px 12px; font-size: .78rem; color: var(--muted); margin: 0 0 14px; display: flex; gap: 8px; align-items: center; }
.api-slot .ico { color: var(--muted); }
.disclosure { font-size: .78rem; color: var(--muted); margin: 12px 0 0; line-height: 1.45; }
.alt-link { display: block; text-align: center; margin-top: 10px; font-weight: 600; font-size: .92rem; }
.article { display: grid; grid-template-columns: 230px 1fr; gap: 48px; padding: 28px 0 40px; }
.toc { position: sticky; top: 90px; align-self: start; font-size: .9rem; }
.toc b { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 12px; margin-left: -2px; border-left: 2px solid transparent; text-decoration: none; color: var(--muted); }
.toc a:hover, .toc a.on { color: var(--ink); border-left-color: var(--brand); }
.prose { min-width: 0; max-width: 760px; }
.prose > h2:first-child { margin-top: 0; }
.express { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.express div { border-radius: 18px; padding: 18px; }
.express .for { background: var(--ok-soft); }
.express .notfor { background: var(--ko-soft); }
.express h3 { display: flex; gap: 8px; align-items: center; font-size: 1rem; margin-bottom: 8px; }
.express ul { margin: 0; padding-left: 1.1em; font-size: .97rem; }
.bars { display: grid; gap: 16px; margin: 6px 0; }
.bar { display: grid; grid-template-columns: 180px 1fr 56px; gap: 14px; align-items: center; }
.bar b { font-size: .95rem; }
.bar .track { height: 10px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar .fill { height: 100%; border-radius: inherit; background: var(--brand); width: calc(var(--v) * 10%); }
.bar .val { font-weight: 800; text-align: right; }
.bar .rule { grid-column: 1 / -1; font-size: .82rem; color: var(--muted); margin-top: -8px; }
.bar .rule::before { content: "La règle : "; font-weight: 700; color: var(--ink); }
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 8px 0 6px; }
.specs th, .specs td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 42%; color: var(--muted); font-weight: 600; }
.source { font-size: .8rem; color: var(--muted); }
.callout { border-radius: 18px; padding: 18px 20px; background: var(--warn-soft); border: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); }
.callout h3 { display: flex; gap: 8px; align-items: center; color: var(--warn-ink); }
.callout ul { margin: 0; padding-left: 1.1em; }
.inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border-radius: 18px; background: var(--surface); margin: 22px 0; flex-wrap: wrap; }
.inline-cta p { margin: 0; font-weight: 600; }
.ranks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ranks a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.ranks a:hover { border-color: var(--brand); }
.ranks .pos { font-family: var(--font-head); font-size: 1.4rem; color: var(--brand); width: 40px; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 12px 28px 12px 0; position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 8px; font-size: 1.4rem; color: var(--brand); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }
.final { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; padding: 24px; border-radius: 24px; background: var(--brand-soft); margin: 30px 0 0; }
.final h2 { margin: 0 0 6px; font-size: 1.5rem; }
.final p { margin: 0; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(0,0,0,.35); transform: translateY(110%); transition: transform .25s ease; }
.sticky-buy.on { transform: none; }
.sticky-buy .wrap { display: flex; align-items: center; gap: 14px; height: 74px; }
.sticky-buy .ph { width: 52px; aspect-ratio: 1; border-radius: 10px; }
.sticky-buy b { display: block; line-height: 1.2; }
.sticky-buy span { font-size: .82rem; color: var(--muted); }
.sticky-buy .btn { margin-left: auto; }

/* ---------- Duel ---------- */
.duel-hero { padding: 26px 0 10px; text-align: center; }
.duel-hero .lead { color: var(--muted); font-size: 1.1rem; max-width: 40em; margin: 0 auto; }
.face { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; margin: 28px 0 0; }
.face .vs { align-self: center; font-family: var(--font-head); font-size: 2.6rem; color: var(--brand); }
.contender { border: 1px solid var(--line); border-radius: 24px; padding: 18px; display: grid; gap: 12px; background: var(--bg); box-shadow: var(--shadow); }
.contender.win { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft), var(--shadow); }
.contender h2 { margin: 0; font-size: 1.35rem; }
.contender .ph { aspect-ratio: 16 / 10; }
.contender .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 30px 0 0; }
.choose div { border-radius: 20px; padding: 20px; background: var(--surface); }
.choose h3 { margin: 0 0 8px; }
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; font-size: .95rem; }
.compare th, .compare td { padding: 13px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare thead th { border-top: 0; background: var(--surface); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.compare tbody th { color: var(--muted); font-weight: 600; width: 30%; }
.compare td.w { background: color-mix(in srgb, var(--brand-soft) 55%, var(--bg)); font-weight: 700; }
.compare td.w::after { content: " ✓"; color: var(--brand); }
.compare tfoot td { border-top: 1px solid var(--line); }
.compare .group th { background: var(--surface); color: var(--ink); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }


/* ---------- Prix (phase 2 : Creators API, horodaté) et offres des marchands ---------- */
.price { display: grid; gap: 2px; margin: 0 0 14px; }
.price b { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.price span { font-size: .8rem; color: var(--muted); }
.price-info summary { cursor: pointer; font-size: .78rem; color: var(--muted); text-decoration: underline; list-style: none; width: max-content; }
.price-info summary::-webkit-details-marker { display: none; }
.price-info p { font-size: .76rem; color: var(--muted); margin: 6px 0 0; line-height: 1.45; }
.price-s { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.price-s small { font-size: .72rem; font-weight: 500; color: var(--muted); }
.card-price { display: flex; align-items: baseline; justify-content: space-between; }
.offers { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; margin: 8px 0 6px; }
.offers th, .offers td { padding: 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: middle; }
.offers tr:first-child th, .offers tr:first-child td { border-top: 0; }
.offers th { font-weight: 700; }
.offers th small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }
.offers th .badge { margin-left: 8px; }
.offers .v { font-weight: 800; font-size: 1.15rem; white-space: nowrap; }
.offers td:last-child { text-align: right; }
.offers tr.best { background: color-mix(in srgb, var(--brand-soft) 45%, var(--bg)); }
.word-note { font-size: .8rem; color: var(--muted); border-left: 3px solid var(--brand); padding: 4px 10px; margin: 0 0 18px; }


/* ---------- Guide (article) ---------- */
.guide-hero { margin: 18px auto 0; background: var(--ink); color: var(--bg); border-radius: 28px; padding: 46px 40px; text-align: center; }
.guide-hero .cat { display: inline-block; font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--brand-on-dark); margin-bottom: 12px; }
.guide-hero h1 { color: var(--bg); max-width: 18em; margin: 0 auto 14px; }
.guide-hero p { color: color-mix(in srgb, var(--bg) 75%, transparent); max-width: 40em; margin: 0 auto 18px; font-size: 1.08rem; }
.guide-hero .byline { justify-content: center; color: color-mix(in srgb, var(--bg) 70%, transparent); }
.guide-hero .byline b { color: var(--bg); }
.tldr { border-radius: 20px; padding: 20px 22px; background: var(--brand-soft); margin: 0 0 8px; }
.tldr h2 { font-family: var(--font-body); font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 10px; color: var(--brand-ink); }
.tldr ul { margin: 0; padding-left: 1.1em; display: grid; gap: 6px; }
.steps { list-style: none; padding: 0; margin: 10px 0; display: grid; gap: 14px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; }
.steps li::before { content: counter(step); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); font-weight: 800; font-size: 1.1rem; }
.steps b { display: block; margin-bottom: 2px; }
.steps p { margin: 0; color: var(--muted); }
.figure { margin: 18px 0; border-radius: 20px; background: var(--surface); padding: 22px; }
.figure svg { width: 100%; height: auto; color: var(--brand); }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 10px; text-align: center; }
.table-simple { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 8px 0 14px; }
.table-simple th, .table-simple td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.table-simple thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface); }
.reco { display: grid; gap: 10px; margin: 14px 0; }
.author-box { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; padding: 20px; border-radius: 20px; background: var(--surface); margin: 30px 0 0; }
.author-box .avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); color: var(--on-brand); display: grid; place-items: center; font-weight: 800; font-size: 1.2rem; }
.author-box b { display: block; font-size: 1.05rem; }
.author-box p { margin: 4px 0 0; color: var(--muted); font-size: .93rem; }

/* ---------- Marque ---------- */
.brand-hero { display: grid; grid-template-columns: 1.5fr .8fr; gap: 36px; align-items: center; padding: 26px 0 8px; }
.brand-hero h1 { font-size: clamp(2rem, 3.6vw, 2.7rem); }
.brand-logo { width: 72px; height: 72px; border-radius: 20px; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-family: var(--font-head); font-weight: var(--head-weight); font-size: 2rem; margin-bottom: 16px; }
.brand-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.brand-facts div { padding: 16px; border-radius: 16px; background: var(--surface); }
.brand-facts span { display: block; font-size: .8rem; color: var(--muted); }
.brand-facts b { font-size: 1.15rem; }
.verdict-brand { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Méthode ---------- */
.rules { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; font-size: .95rem; margin: 10px 0; }
.rules th, .rules td { padding: 13px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.rules thead th { border-top: 0; background: var(--surface); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.rules td:first-child { font-weight: 700; white-space: nowrap; }
.dodont { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 10px 0; }
.dodont div { border-radius: 18px; padding: 18px; }
.dodont .do { background: var(--ok-soft); }
.dodont .dont { background: var(--ko-soft); }
.dodont h3 { margin: 0 0 8px; font-size: 1rem; }
.dodont ul { margin: 0; padding-left: 1.1em; }
@media (max-width: 760px) {
  .guide-hero { padding: 30px 20px; border-radius: 20px; }
  .brand-hero, .verdict-brand, .dodont { grid-template-columns: 1fr; }
  .rules td:first-child { white-space: normal; }
  .rules { font-size: .86rem; }
  .rules th, .rules td { padding: 10px; }
}


/* ---------- Format univers (site multi-rubriques, façon capillairo) ---------- */
.univers-hero { padding: 54px 0 18px; text-align: center; }
.univers-hero .eyebrow { font-weight: 700; color: var(--brand-ink); font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; }
.univers-hero h1 { max-width: 16em; margin: 10px auto 14px; }
.univers-hero h1 em { font-style: normal; color: var(--brand); }
.univers-hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 38em; margin: 0 auto; }
.u-search { display: flex; align-items: center; gap: 10px; max-width: 640px; margin: 26px auto 0; padding: 8px 8px 8px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg); box-shadow: var(--shadow); }
.u-search .ico { color: var(--muted); }
.u-search input { flex: 1; min-width: 0; border: 0; font: inherit; font-size: 1rem; background: transparent; color: var(--ink); outline: none; }
.u-search .btn { border-radius: 999px; padding: 11px 20px; }
.u-stats { list-style: none; padding: 0; margin: 18px 0 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; color: var(--muted); font-size: .92rem; }
.u-stats b { color: var(--ink); font-size: 1.05rem; }
.rubriques { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rubrique { display: grid; gap: 8px; align-content: start; padding: 22px; border-radius: var(--radius-lg); background: var(--surface); text-decoration: none; color: var(--ink); border: 1px solid transparent; transition: border-color .15s, background .15s; }
.rubrique:hover { border-color: var(--brand); background: var(--bg); color: var(--ink); }
.r-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand); color: var(--on-brand); }
.r-ico .ico { width: 26px; height: 26px; }
.r-ico-lg { width: 72px; height: 72px; border-radius: 20px; flex: none; }
.r-ico-lg .ico { width: 38px; height: 38px; }
.rubrique b { font-family: var(--font-head); font-weight: var(--head-weight); letter-spacing: var(--head-tracking); font-size: 1.45rem; margin-top: 6px; }
.rubrique .r-desc { color: var(--muted); font-size: .92rem; }
.rubrique ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 4px; font-size: .9rem; }
.rubrique li::before { content: "→ "; color: var(--brand); }
.r-count { font-weight: 700; color: var(--brand-ink); font-size: .9rem; margin-top: 4px; }
.top-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.top-list a { display: flex; gap: 14px; align-items: center; padding: 12px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.top-list a:hover b { color: var(--brand-ink); }
.top-list .tl-n { font-family: var(--font-head); font-weight: var(--head-weight); font-size: 1.6rem; color: var(--brand); width: 34px; text-align: center; flex: none; }
.top-list small { display: block; color: var(--muted); font-size: .82rem; }
.rubrique-hero { display: flex; gap: 22px; align-items: flex-start; padding: 22px 0 6px; }
.rubrique-hero h1 { margin-bottom: 10px; }
.rubrique-hero .lead { color: var(--muted); font-size: 1.1rem; max-width: 46em; }
.rubrique-hero .u-stats { justify-content: flex-start; }
.subcats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0 0; }
.subcat { display: grid; gap: 4px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--bg); box-shadow: var(--shadow); }
.subcat:hover { border-color: var(--brand); color: var(--ink); }
.subcat b { font-size: 1.05rem; }
.subcat span { font-size: .85rem; color: var(--muted); }
.link-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.link-cols h3 { font-size: 1rem; margin: 0 0 8px; }
.link-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .93rem; }
.link-cols a { color: var(--ink); text-decoration: none; }
.link-cols a:hover { color: var(--brand-ink); text-decoration: underline; }
.two-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.cards-4 .card h3 { font-size: 1rem; }
@media (max-width: 1020px) {
  .rubriques { grid-template-columns: 1fr 1fr; }
  .subcats, .link-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .rubriques, .top-list, .two-cols { grid-template-columns: 1fr; }
  .rubrique-hero { flex-direction: column; gap: 12px; }
  .r-ico-lg { width: 56px; height: 56px; }
  .u-search .btn { padding: 10px 14px; }
}

/* ---------- Images à la une ---------- */
.collage { margin: 8px 0 26px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; border-radius: var(--radius-lg); overflow: hidden; }
.collage .ph { border-radius: 0; aspect-ratio: 4 / 3; }
.collage figcaption { grid-column: 1 / -1; font-size: .8rem; color: var(--muted); padding: 6px 12px 0; }
.featured { margin: 18px auto 0; border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, #cfe8f5 0%, #eaf6ee 55%, #bfe0b5 56%, #8fc88a 100%); aspect-ratio: 21 / 8; position: relative; }
.featured svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.featured span { position: absolute; left: 14px; bottom: 12px; font-size: .75rem; font-weight: 600; background: rgba(255,255,255,.85); color: #444; padding: 4px 10px; border-radius: 8px; }
@media (max-width: 760px) { .collage { grid-template-columns: 1fr 1fr; } .featured { aspect-ratio: 16 / 9; } }

/* ---------- Pied de page ---------- */
.site-footer { margin-top: 72px; background: var(--surface); border-top: 1px solid var(--line); padding: 44px 0 110px; font-size: .92rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.site-footer h4 { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--brand-ink); text-decoration: underline; }
.affil { margin: 30px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-size: .88rem; }
.legal-line { margin-top: 18px; color: var(--muted); font-size: .82rem; }

/* ---------- Barre « Maquette » (n'existe pas en production) ---------- */

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .home-hero, .list-hero, .review-hero { grid-template-columns: 1fr; gap: 28px; }
  .shortcuts { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .article { grid-template-columns: 1fr; }
  .toc { position: static; }
  .buybox { position: static; order: -1; }
  .site-footer .cols { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr; padding: 28px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .finder { grid-template-columns: 1fr 1fr; }
  .finder .btn { grid-column: 1 / -1; }
  .grid-3, .fresh, .choose, .proscons, .express { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 1fr; gap: 18px; }
  .pick-media { position: static; }
  .recap .hide-sm { display: none; }
  .face { grid-template-columns: 1fr; }
  .face .vs { justify-self: center; font-size: 2rem; }
  .facts-row { grid-template-columns: 1fr 1fr; }
  .bar { grid-template-columns: 1fr 48px; }
  .bar .track { grid-column: 1 / -1; grid-row: 2; }
  .bar .rule { grid-row: 3; margin-top: -6px; }
  .final { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .compare { font-size: .86rem; }
  .compare th, .compare td { padding: 10px; }
  .sticky-buy span { display: none; }

  /* Tableau récapitulatif en cartes empilées */
  .recap, .recap tbody, .recap tr, .recap td { display: block; width: 100%; }
  .recap thead { display: none; }
  .recap { border: 0; border-radius: 0; overflow: visible; }
  .recap tr { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 18px; margin-bottom: 10px; }
  .recap td { padding: 0; border: 0; }
  .recap tr.first td { background: none; }
  .recap tr.first { background: color-mix(in srgb, var(--brand-soft) 45%, var(--bg)); }
  .recap .num { grid-row: 1; width: auto; }
  .recap td:nth-child(2) { grid-column: 2; }
  .recap .note { grid-column: 3; grid-row: 1; text-align: right; }
  .recap td.td-price { grid-column: 2 / 4; }
  .recap td:last-child { grid-column: 1 / -1; }
  .recap td:last-child .btn { width: 100%; }
  .recap .prod .ph { width: 52px; }
  /* Pages meilleurs : visuel compact au-dessus du texte */
  .pick-media .ph { aspect-ratio: 16 / 9; }
  .pick-media .btn-ghost { display: none; }
  .pick-num { font-size: 2.2rem; }
  /* Duel : les deux produits côte à côte */
  .face { grid-template-columns: 1fr 1fr; gap: 10px; }
  .face .vs { display: none; }
  .contender { padding: 10px; gap: 8px; border-radius: 18px; }
  .contender .badge { font-size: .64rem; padding: 3px 7px; }
  .contender .ph { aspect-ratio: 1; }
  .contender h2 { font-size: 1rem; }
  .contender .row { flex-direction: column; align-items: flex-start; }
  .contender .score { width: 48px; height: 48px; }
  .contender .score b { font-size: .95rem; }
  .contender p.muted { display: none; }
  .contender .btn { padding: 10px; font-size: .82rem; }
  .compare { table-layout: fixed; font-size: .82rem; }
  .compare tbody th { width: 34%; }
  .compare th, .compare td { padding: 9px 8px; word-wrap: break-word; }
  .compare tfoot .btn { padding: 9px 6px; font-size: .78rem; width: 100%; }
  .offers th, .offers td { padding: 10px; }
  .offers td:last-child .btn { padding: 9px 10px; font-size: .8rem; }
  .price b { font-size: 1.7rem; }
  .toc { display: none; }
  .gallery .ph:not(:first-child) { display: none; }
  .gallery .ph:first-child { aspect-ratio: 16 / 9; }
    }

/* Générateur : visuel générique (pas de photo marchand sans API), menu mobile */
.ph-mono { position: absolute; right: 12px; top: 10px; font: 700 .8rem/1 var(--font-head); letter-spacing: .04em; color: color-mix(in srgb, var(--tint, var(--brand)) 70%, black); opacity: .75; }
.ph svg { width: 46%; }
.brand-logo-img { height: 40px; width: auto; display: block; }
@media (max-width: 900px) {
  .site-header .wrap { position: relative; }
  .nav.open { display: flex; position: absolute; top: 100%; left: 0; right: 0; z-index: 40; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 10px 16px; box-shadow: var(--shadow); }
  .nav.open .mega { position: static; box-shadow: none; display: grid; }
}

/* Photos, prix et note Amazon (relevé daté) */
.ph-photo { background: #fff; }
.ph-photo img { width: 100%; height: 100%; object-fit: contain; padding: 6%; box-sizing: border-box; }
.amz { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 10px 0 14px; }
.amz-prix { font: 700 1.4rem/1.1 var(--font-head); color: var(--ink); }
.amz-note { display: inline-flex; align-items: center; gap: 6px; font-size: .88rem; color: var(--muted); }
.stars::before { content: "★★★★★"; letter-spacing: 1px; background: linear-gradient(90deg, #f5a623 calc(var(--r) / 5 * 100%), #d6d6d6 0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.amz small { flex-basis: 100%; font-size: .72rem; color: var(--muted); }
.amz-sm { margin: 6px 0 10px; }
.amz-sm .amz-prix { font-size: 1.05rem; }
.amz-mini { font-weight: 700; color: var(--ink); }
