/* ==========================================================================
   Guide des Gourdes — feuille principale
   Les couleurs viennent du preset actif (variables injectées dans :root).
   Les familles (.fam-sport, .fam-travail…) changent formes et typographie.
   ========================================================================== */

/* ---------- Jetons ---------- */
:root {
	--bg: #f2f7f7; --surface: #fff; --ink: #0c2a35; --muted: #4a6470;
	--accent: #0f6e7f; --accent-ink: #fff; --c2: #7fd1c6; --c3: #f2b544;
	--font-display: "Fraunces", Georgia, serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--cta: #ff9f1c; --cta-ink: #1b1204; --cta-hover: #ffb347;
	--radius: 20px; --radius-sm: 12px;
	--line: color-mix(in srgb, var(--ink) 13%, transparent);
	--soft: color-mix(in srgb, var(--ink) 5%, var(--surface));
	--hero: color-mix(in srgb, var(--c3) 32%, var(--bg));
	--alt: color-mix(in srgb, var(--accent) 6%, var(--bg));
	--shadow: 0 1px 2px color-mix(in srgb, var(--ink) 8%, transparent), 0 8px 30px -12px color-mix(in srgb, var(--ink) 25%, transparent);
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 32px);
}
.is-dark { --hero: color-mix(in srgb, var(--c3) 55%, var(--bg)); --alt: color-mix(in srgb, var(--surface) 55%, var(--bg)); --soft: color-mix(in srgb, var(--ink) 6%, var(--surface)); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--narrow { max-width: 780px; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; min-height: 44px; gap: .5em; padding: .8em 1.3em; border-radius: 999px; border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px -10px var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); border-color: color-mix(in srgb, var(--ink) 25%, transparent); }
.btn--ghost:hover { border-color: var(--ink); box-shadow: none; }
.btn-buy { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; gap: .45em; padding: .78em 1.2em; border-radius: 10px; background: var(--cta); color: var(--cta-ink); font-weight: 800; font-size: .95rem; text-decoration: none; white-space: nowrap; box-shadow: 0 2px 0 color-mix(in srgb, var(--cta) 60%, #000); transition: background .15s, transform .15s; font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-style: normal; }
.btn-buy svg { width: 14px; height: 14px; }
.btn-buy:hover { background: var(--cta-hover); transform: translateY(-1px); }
.btn-buy--sm { padding: .55em .85em; font-size: .85rem; border-radius: 8px; }
.link-arrow { font-weight: 700; text-decoration: none; display: inline-flex; gap: .4em; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

.eyebrow { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 .7em; font-family: var(--font-body); }
.is-dark .eyebrow { color: var(--accent); }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--hero) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px color-mix(in srgb, var(--ink) 50%, transparent); }
.site-header__in { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; flex-shrink: 0; }
.brand__mark { width: 26px; height: 32px; fill: var(--ink); }
.brand__mark .brand__wave { fill: var(--accent); }
.custom-logo-link img { max-height: 48px; width: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.site-nav .menu { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav .menu > li { position: relative; }
.site-nav .menu-row { display: flex; align-items: center; }
.site-nav .menu a { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); }
.site-nav .menu a:hover, .site-nav .current-menu-item > .menu-row > a, .site-nav .current-menu-ancestor > .menu-row > a, .site-nav .sub-menu .current-menu-item > a, .site-nav .current-cat > a { background: color-mix(in srgb, var(--ink) 8%, transparent); }
.site-nav .menu .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--bg) 80%, transparent); }
.submenu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--ink); font: inherit; font-size: 1.25rem; cursor: pointer; place-items: center; transition: transform .2s, background .2s; }
.site-nav .sub-menu { position: absolute; top: calc(100% + 8px); left: 0; z-index: 20; min-width: 250px; list-style: none; margin: 0; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.site-nav .sub-menu--wide { min-width: 500px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.site-nav .sub-menu a { width: 100%; border-radius: 9px; }
.site-nav .menu > li:nth-last-child(-n+2) > .sub-menu { right: 0; left: auto; }
.site-nav li:hover > .sub-menu, .site-nav li:focus-within > .sub-menu { display: grid; opacity: 1; visibility: visible; transform: none; }
.site-search { display: flex; align-items: center; background: color-mix(in srgb, var(--surface) 85%, transparent); border: 1px solid var(--line); border-radius: 999px; padding: 2px 4px 2px 14px; }
.site-search input { border: 0; background: transparent; color: var(--ink); font: inherit; font-size: .9rem; width: 180px; outline: none; padding: 6px 0; }
.site-search input::placeholder { color: var(--muted); }
.site-search button { border: 0; background: transparent; color: var(--ink); width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.site-search svg { width: 18px; height: 18px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: 10px; }
.nav-toggle__bars { display: grid; gap: 5px; width: 22px; margin: auto; }
.nav-toggle__bars i { height: 2.5px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1440px) and (min-width: 1261px) {
	.site-nav { gap: 10px; }
	.site-nav .menu a { padding: 8px 9px; font-size: .9rem; gap: 6px; }
	.site-search { padding-left: 4px; }
	.site-search input { width: 0; transition: width .2s; }
	.site-search:focus-within input { width: 150px; padding-left: 8px; }
	.site-header__in { gap: 14px; }
}
@media (max-width: 1260px) {
	.nav-toggle { display: block; }
	.site-nav { position: fixed; inset: 68px 0 auto 0; background: var(--bg); flex-direction: column; align-items: stretch; padding: 16px var(--gutter) 24px; gap: 14px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px color-mix(in srgb, var(--ink) 40%, transparent); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s; max-height: calc(100vh - 68px); overflow: auto; }
	.site-nav.is-open { transform: none; opacity: 1; visibility: visible; }
	.site-nav .menu { flex-direction: column; }
	.site-nav .menu-row { width: 100%; }
	.site-nav .menu-row > a { flex: 1; }
	.submenu-toggle { display: grid; flex: 0 0 44px; }
	.has-submenu.is-submenu-open > .menu-row .submenu-toggle { transform: rotate(180deg); background: color-mix(in srgb, var(--ink) 7%, transparent); }
	.site-nav .menu a { font-size: 1.1rem; padding: 12px 14px; border-radius: 12px; }
	.site-nav .sub-menu, .site-nav .sub-menu--wide { display: none; position: static; min-width: 0; margin: 0 0 4px 18px; padding: 2px 0 2px 12px; border: 0; border-left: 2px solid var(--line); border-radius: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; grid-template-columns: 1fr; }
	.site-nav .has-submenu.is-submenu-open > .sub-menu { display: grid; }
	.site-nav .sub-menu a { font-size: .98rem; padding: 9px 12px; }
	.site-search input { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--hero); overflow: hidden; padding: clamp(18px, 3vw, 36px) 0 clamp(120px, 19vw, 270px); isolation: isolate; }
.hero__glow { position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 22%, transparent), transparent); z-index: -1; pointer-events: none; }
.hero__inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.hero__title { font-size: clamp(2.1rem, 5.2vw, 4.1rem); margin: 0 0 .35em; }
.hero--article .hero__title, .hero--top .hero__title, .hero--product .hero__title { font-size: clamp(1.9rem, 4.2vw, 3.2rem); }
.hero__title .hl { color: var(--accent); display: inline; }
.is-dark .hero__title .hl { color: var(--accent); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 38em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.4em; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.2em; }
.meta-chip { display: inline-flex; align-items: center; gap: 7px; font-size: .84rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--surface) 75%, transparent); border: 1px solid var(--line); text-decoration: none; }
.meta-chip--live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 #22c55e80; animation: pulse 2s infinite; }
.meta-chip--rank { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px #22c55e00; } 100% { box-shadow: 0 0 0 0 #22c55e00; } }
.hero__media { position: relative; margin: 0; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); background: color-mix(in srgb, var(--c3) 60%, var(--bg)); }
.credit { position: absolute; right: 10px; bottom: 8px; font-size: .68rem; color: #fff; background: #0006; padding: 2px 7px; border-radius: 6px; }
.hero__decor { position: absolute; inset: auto 0 -1px 0; height: clamp(120px, 21vw, 300px); z-index: 1; pointer-events: none; }
.hero__decor .decor { width: 100%; height: 100%; }
@media (max-width: 860px) {
	.hero__inner { grid-template-columns: minmax(0, 1fr); }
	.hero--product .hero__inner { grid-template-columns: minmax(0, 1fr); }
	.hero__media { max-width: 560px; }
	.hero { padding-bottom: clamp(110px, 30vw, 200px); }
}

.crumbs ol { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .84rem; font-weight: 600; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .5; }
.crumbs a { text-decoration: none; color: var(--muted); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); max-width: 28ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero--pratique .hero__title, .hero--univers .hero__title, .hero--type .hero__title { font-size: clamp(2rem, 4.6vw, 3.6rem); }
.fam-sport :is(.hero--pratique, .hero--univers, .hero--type) .hero__title { font-size: clamp(2.3rem, 5.4vw, 4.3rem); }

/* Couleurs des décors SVG */
.decor .f-a, .f-a { fill: var(--accent); } .decor .f-2, .f-2 { fill: var(--c2); } .decor .f-3, .f-3 { fill: var(--c3); }
.decor .f-i, .f-i { fill: var(--ink); } .decor .f-b, .f-b { fill: var(--bg); } .decor .f-s, .f-s { fill: var(--surface); } .decor .f-m { fill: var(--muted); }
.decor .s-a { stroke: var(--accent); fill: none; } .decor .s-2 { stroke: var(--c2); fill: none; } .decor .s-3 { stroke: var(--c3); fill: none; }
.decor .s-i { stroke: var(--ink); fill: none; } .decor .s-b { stroke: var(--bg); fill: none; } .decor .s-s { stroke: var(--surface); fill: none; } .decor .s-m { stroke: var(--muted); fill: none; }
.o1 { opacity: .1; } .o2 { opacity: .2; } .o3 { opacity: .3; } .o4 { opacity: .4; } .o5 { opacity: .5; } .o6 { opacity: .6; } .o7 { opacity: .7; } .o8 { opacity: .8; } .o9 { opacity: .9; }
.decor text { font-family: var(--font-body); }

/* Accueil */
.hero--home { padding-top: clamp(28px, 5vw, 64px); }
.hero--home .hero__title { font-size: clamp(2.3rem, 5.6vw, 4.6rem); }
.hero-search { display: flex; gap: 6px; background: var(--surface); padding: 6px; border-radius: 999px; box-shadow: var(--shadow); max-width: 520px; width: 100%; border: 1px solid var(--line); }
.hero-search input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; color: var(--ink); padding: 0 16px; outline: none; }
.hero-search .btn { padding: .7em 1.3em; }
.home-media { position: relative; min-height: 360px; padding: 14px; }
.home-media__photo { margin: 0; position: relative; }
.home-media__photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: center; border-radius: 26px; box-shadow: var(--shadow); background: var(--c2); }
.home-media__bottles { position: absolute; left: -6%; bottom: -8%; display: flex; align-items: flex-end; gap: 4px; filter: drop-shadow(0 12px 18px color-mix(in srgb, var(--ink) 25%, transparent)); }
.home-media__bottles .bottle-svg { width: 74px; }
.home-media__bottles .bottle-svg:nth-child(2) { width: 58px; }
.home-media__bottles .bottle-svg:nth-child(3) { width: 64px; }
.home-media:not(:has(.home-media__photo)) .home-media__bottles { position: static; justify-content: center; }
.home-media:not(:has(.home-media__photo)) .home-media__bottles .bottle-svg { width: 120px; }
.stat { position: absolute; background: var(--surface); border-radius: 16px; padding: 10px 16px; box-shadow: var(--shadow); display: grid; line-height: 1.1; }
.stat b { font-family: var(--font-display); font-size: 1.7rem; color: var(--accent); }
.stat span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.stat--a { right: -2%; top: 7%; }
.stat--b { right: 5%; bottom: -2%; }

/* ---------- Sections ---------- */
.section { padding: clamp(44px, 7vw, 88px) 0; }
.section--alt { background: var(--alt); }
.section__head { margin-bottom: clamp(20px, 3vw, 34px); }
.section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.section__title { font-size: clamp(1.7rem, 3.4vw, 2.6rem); margin: 0; }
.section__title--sm { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-bottom: 18px; }
.updated { color: var(--muted); font-size: .9rem; margin: 0; }
.more { margin-top: 24px; text-align: center; }

/* ---------- Grilles ---------- */
.grid-univers { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 2vw, 22px); }
.grid-univers > * { grid-column: span 4; }
.grid-univers > :nth-child(-n+4) { grid-column: span 3; }
.grid-pratiques { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.grid-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.grid-gourdes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.grid-tops { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 20px; }
.grid-types { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
@media (max-width: 1000px) { .grid-univers > *, .grid-univers > :nth-child(-n+4) { grid-column: span 6; } .grid-univers > :last-child:nth-child(odd) { grid-column: span 12; } }
@media (max-width: 600px) { .grid-univers { grid-template-columns: 1fr; } .grid-univers > *, .grid-univers > :nth-child(-n+4), .grid-univers > :last-child:nth-child(odd) { grid-column: auto; } .grid-tops { grid-template-columns: 1fr; } }

/* ---------- Carte univers ---------- */
.card-u { position: relative; display: flex; flex-direction: column; min-height: 380px; border-radius: var(--radius); overflow: hidden; text-decoration: none; background: var(--bg); color: var(--ink); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; isolation: isolate; }
.card-u:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--ink) 55%, transparent); }
.card-u__media { position: relative; flex: 1; min-height: 200px; background: color-mix(in srgb, var(--c3) 45%, var(--bg)); overflow: hidden; }
.card-u__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card-u:hover .card-u__media img { transform: scale(1.05); }
.card-u__decor { position: absolute; inset: auto 0 -1px 0; height: 60%; z-index: 1; }
.card-u__decor .decor { width: 100%; height: 100%; }
.card-u__media img + .card-u__decor { height: 34%; }
.card-u__body { position: relative; z-index: 2; padding: 4px 22px 22px; display: grid; gap: 6px; background: var(--bg); }
.card-u__kicker { font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-family: var(--font-body); }
.card-u__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.05; color: var(--ink); }
.card-u__tag { color: var(--muted); font-size: .98rem; }
.card-u__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.card-u__chips span { font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, var(--bg)); color: var(--ink); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.card-u__go { position: absolute; right: 18px; top: -26px; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 1.3rem; font-weight: 800; box-shadow: 0 8px 20px -8px var(--accent); transition: transform .2s; }
.card-u:hover .card-u__go { transform: rotate(-45deg) scale(1.06); }

/* ---------- Carte pratique ---------- */
.card-p { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--bg); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.card-p:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -22px color-mix(in srgb, var(--ink) 55%, transparent); }
.card-p__media { position: relative; aspect-ratio: 16 / 10; background: color-mix(in srgb, var(--c3) 45%, var(--bg)); overflow: hidden; }
.card-p__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.card-p__decor { position: absolute; inset: 0; }
.card-p__decor .decor { width: 100%; height: 100%; }
.card-p__media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 6px; background: var(--accent); z-index: 2; }
.card-p__body { padding: 16px 18px 18px; display: grid; gap: 4px; }
.card-p__title { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; line-height: 1.1; }
.card-p__tag { color: var(--muted); font-size: .93rem; }
.card-p__status { margin-top: 8px; }
.pill { display: inline-block; font-size: .76rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 8%, transparent); }
.pill--ok { background: var(--accent); color: var(--accent-ink); }
.pill--soon { opacity: .7; }

/* ---------- Carte article ---------- */
.card-a { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); border: 1px solid color-mix(in srgb, var(--ink) 6%, transparent); color: var(--ink); }
.card-a__media { position: relative; aspect-ratio: 16 / 9; display: block; background: color-mix(in srgb, var(--c3) 45%, var(--bg)); overflow: hidden; }
.card-a__media img, .card-a__media .decor { width: 100%; height: 100%; object-fit: cover; }
.card-a__flag { position: absolute; left: 12px; top: 12px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 4px 10px; border-radius: 6px; }
.card-a__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-a__cat { font-size: .75rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; color: var(--accent); }
.is-dark .card-a__cat { color: var(--accent); }
.card-a__title { font-family: var(--font-body); font-size: 1.15rem; line-height: 1.3; font-weight: 750; letter-spacing: -.01em; margin: 0; text-transform: none; font-style: normal; }
.card-a__title a { text-decoration: none; }
.card-a__title a:hover { text-decoration: underline; }
.card-a__excerpt { color: var(--muted); font-size: .94rem; margin: 0; }
.card-a__meta { margin: auto 0 0; padding-top: 8px; font-size: .82rem; color: var(--muted); }

/* ---------- Carte gourde ---------- */
.card-g { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); border: 1px solid color-mix(in srgb, var(--ink) 6%, transparent); overflow: hidden; }
.card-g.is-hidden { display: none; }
.rank { position: absolute; left: 12px; top: 12px; z-index: 2; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; background: var(--ink); color: var(--bg); min-width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; padding: 0 8px; }
.card-g__media { display: grid; place-items: center; aspect-ratio: 1 / 1; background: radial-gradient(circle at 50% 70%, color-mix(in srgb, var(--accent) 14%, var(--soft)), var(--soft) 70%); padding: 18px; }
.card-g__body { padding: 14px 16px 8px; display: grid; gap: 3px; }
.card-g__brand { margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card-g__title { font-family: var(--font-body); font-size: 1.08rem; line-height: 1.3; margin: 0; font-weight: 750; letter-spacing: -.01em; text-transform: none; font-style: normal; }
.card-g__title a { text-decoration: none; }
.card-g__spec { margin: 0; font-size: .84rem; color: var(--muted); }
.card-g__ideal { margin: 6px 0 0; font-size: .9rem; }
.card-g__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px 16px; }

.g-img { display: grid; place-items: center; width: 100%; }
.g-img img { width: 100%; height: auto; max-height: 260px; object-fit: contain; }
.g-img--svg .bottle-svg { height: 200px; width: auto; }
.g-img--xs { width: 48px; height: 48px; flex-shrink: 0; border-radius: 10px; background: var(--soft); overflow: hidden; }
.g-img--xs img { width: 48px; height: 48px; object-fit: contain; }
.g-img--xs .bottle-svg { height: 40px; }
.g-img--sm { width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; background: color-mix(in srgb, var(--surface) 80%, transparent); }
.g-img--sm img { width: 64px; height: 64px; object-fit: contain; }
.g-img--sm .bottle-svg { height: 54px; }
.g-img--hero .bottle-svg { height: clamp(220px, 32vw, 340px); }
.g-img--hero img { max-height: 420px; border-radius: var(--radius); }

/* ---------- Note ---------- */
.score { --p: 0; --size: 56px; position: relative; display: inline-grid; place-items: center; width: var(--size); height: var(--size); border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), color-mix(in srgb, var(--ink) 12%, transparent) 0); flex-shrink: 0; font-family: var(--font-body); }
.score::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--surface); }
.score b, .score small { position: relative; line-height: 1; }
.score b { font-size: calc(var(--size) * .3); font-weight: 800; color: var(--ink); margin-top: 4px; }
.score small { font-size: calc(var(--size) * .16); color: var(--muted); margin-top: -12px; }
.score--sm { --size: 46px; }
.score--lg { --size: 76px; }
.score--xl { --size: 110px; }
.score--none { background: color-mix(in srgb, var(--ink) 10%, transparent); color: var(--muted); font-weight: 800; }
.score--none::before { display: none; }
.hero__notice .disclosure { margin: 14px 0 0; max-width: 62ch; }

/* ---------- Classement (tableau) ---------- */
.toptable { background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); overflow: hidden; border: 1px solid color-mix(in srgb, var(--ink) 6%, transparent); }
.toptable table { width: 100%; border-collapse: collapse; }
.toptable thead th { text-align: left; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line); font-weight: 800; }
.toptable td { padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.toptable tr:last-child td { border-bottom: 0; }
.toptable tbody tr:first-child { background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }
.toptable__rank span { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: var(--bg); font-weight: 800; font-family: var(--font-display); font-size: 1.05rem; }
.toptable tbody tr:first-child .toptable__rank span { background: var(--accent); color: var(--accent-ink); }
.toptable__name a { display: flex; gap: 12px; align-items: center; text-decoration: none; }
.toptable__name span { display: grid; line-height: 1.25; }
.toptable__name small { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.toptable__name strong { font-size: 1.02rem; }
.toptable__name em { font-style: normal; font-size: .82rem; color: var(--muted); }
.toptable__ideal { font-size: .92rem; max-width: 26ch; }
.toptable__cta { text-align: right; }
@media (max-width: 760px) {
	.toptable thead { display: none; }
	.toptable tr { display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "rank name score" "rank ideal ideal" "rank cta cta"; gap: 6px 12px; padding: 14px; border-bottom: 1px solid var(--line); }
	.toptable td { padding: 0; border: 0; }
	.toptable__rank { grid-area: rank; } .toptable__name { grid-area: name; } .toptable__score { grid-area: score; } .toptable__ideal { grid-area: ideal; max-width: none; } .toptable__cta { grid-area: cta; text-align: left; }
	.toptable__cta .btn-buy { width: 100%; }
}
.progress { background: var(--surface); border: 1px dashed color-mix(in srgb, var(--accent) 50%, transparent); border-radius: var(--radius-sm); padding: 14px 18px; margin-bottom: 16px; }
.progress p { margin: 0 0 10px; font-size: .95rem; }
.progress__bar { display: block; height: 8px; border-radius: 8px; background: color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: calc(var(--p) * 1%); background: var(--accent); border-radius: 8px; }
.top-empty { display: flex; gap: 22px; align-items: center; background: var(--surface); border-radius: var(--radius-sm); padding: 22px; border: 1px dashed var(--line); }
.top-empty .bottle-svg { width: 64px; flex-shrink: 0; }
.top-empty__h { font-weight: 800; font-size: 1.1rem; margin: 0 0 4px; }
.top-empty p:last-child { margin: 0; color: var(--muted); }

/* Détail produit par produit */
.topitem { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(18px, 3vw, 30px); margin: 0 0 24px; border: 1px solid color-mix(in srgb, var(--ink) 6%, transparent); scroll-margin-top: 90px; }
.topitem__head { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-bottom: 18px; }
.topitem__rank { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; }
.topitem__brand { margin: 0; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.topitem__title { margin: 0; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.topitem__ideal { margin: 4px 0 0; color: var(--muted); }
.topitem__grid { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: start; }
.topitem__media { background: var(--soft); border-radius: var(--radius-sm); padding: 18px; }
.topitem__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
@media (max-width: 680px) { .topitem__grid { grid-template-columns: 1fr; } .topitem__media { max-width: 260px; } .topitem__head { grid-template-columns: auto 1fr; } .topitem__head .score { grid-column: 1 / -1; } }

.bars { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.bars li { display: grid; grid-template-columns: minmax(150px, 1.1fr) 2fr 36px; gap: 12px; align-items: center; font-size: .92rem; }
.bars__l small { color: var(--muted); }
.bars__t { height: 9px; border-radius: 9px; background: color-mix(in srgb, var(--ink) 10%, transparent); overflow: hidden; }
.bars__t i { display: block; height: 100%; background: var(--accent); border-radius: 9px; }
.bars b { text-align: right; }
@media (max-width: 480px) { .bars li { grid-template-columns: 1fr 36px; } .bars__t { grid-column: 1 / -1; grid-row: 2; } }

.pc { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.pc__col { border-radius: var(--radius-sm); padding: 14px 16px; background: var(--soft); }
.pc__h { font-weight: 800; margin: 0 0 6px; font-size: .95rem; }
.pc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: .95rem; }
.pc li { padding-left: 26px; position: relative; }
.pc li::before { position: absolute; left: 0; top: .1em; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 900; }
.pc__col--plus li::before { content: "+"; background: #16a34a; color: #fff; }
.pc__col--moins li::before { content: "−"; background: #dc2626; color: #fff; }
@media (max-width: 600px) { .pc { grid-template-columns: 1fr; } }

.verdict { border-left: 5px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 20px; margin: 16px 0; }
.verdict__h { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin: 0 0 6px; }
.verdict p:last-of-type { margin-bottom: 0; }
.verdict--big { padding: 22px 26px; }
.verdict--big .btn-buy { margin-top: 14px; }

/* ---------- Cartes « top » (accueil) ---------- */
.topcard { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg); color: var(--ink); padding: 22px 22px 18px; box-shadow: var(--shadow); isolation: isolate; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); }
.topcard__decor { position: absolute; inset: 0 0 auto 0; height: 120px; z-index: -1; opacity: .9; background: color-mix(in srgb, var(--c3) 45%, var(--bg)); }
.topcard__decor .decor { width: 100%; height: 100%; }
.topcard__kicker { margin: 0 0 2px; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: color-mix(in srgb, var(--bg) 80%, transparent); display: inline-block; padding: 3px 8px; border-radius: 6px; }
.topcard__title { font-size: 1.7rem; margin: 6px 0 64px; }
.topcard__title a { text-decoration: none; }
.topcard__title a::after { content: ""; position: absolute; inset: 0; }
.topcard__first { display: flex; gap: 12px; align-items: center; background: var(--surface); border-radius: var(--radius-sm); padding: 10px 12px; box-shadow: var(--shadow); }
.topcard__first div { flex: 1; display: grid; line-height: 1.25; }
.topcard__n1 { font-size: .72rem; font-weight: 800; color: var(--accent); letter-spacing: .08em; }
.is-dark .topcard__n1 { color: var(--accent); }
.topcard__list { margin: 12px 0 0; padding-left: 1.5em; display: grid; gap: 4px; font-size: .93rem; }
.topcard__list li { display: flex; justify-content: space-between; gap: 10px; }
.topcard__list li span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topcard__upd { margin: 12px 0 0; font-size: .8rem; color: var(--muted); }
.topcard__empty { display: flex; align-items: center; gap: 14px; min-height: 92px; padding: 14px; border-radius: var(--radius-sm); background: var(--surface); box-shadow: var(--shadow); }
.topcard__empty .bottle-svg { width: 44px; height: 72px; flex-shrink: 0; }
.topcard__empty p { display: grid; gap: 2px; margin: 0; line-height: 1.35; }
.topcard__empty span { color: var(--muted); font-size: .86rem; }

/* ---------- Types ---------- */
.typecard { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 20px 14px; border-radius: var(--radius-sm); background: var(--surface); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; }
.typecard:hover { transform: translateY(-3px); }
.typecard .bottle-svg { height: 90px; width: auto; }
.typecard__name { font-weight: 800; }
.typecard__desc { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.type-hero { display: grid; place-items: center; }
.type-hero .bottle-svg { height: clamp(220px, 30vw, 320px); }

/* ---------- Méthode ---------- */
.section--method { background: var(--ink); color: var(--bg); }
.section--method .eyebrow { color: var(--c2); }
.section--method .btn--ghost { color: var(--bg); border-color: color-mix(in srgb, var(--bg) 40%, transparent); }
.method { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.method__text p { color: color-mix(in srgb, var(--bg) 80%, transparent); }
.method__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.method__grid li { position: relative; padding: 14px 16px 18px; border-radius: 14px; background: color-mix(in srgb, var(--bg) 8%, transparent); display: grid; gap: 2px; overflow: hidden; }
.method__grid strong { font-size: .98rem; }
.method__grid small { color: color-mix(in srgb, var(--bg) 70%, transparent); font-size: .82rem; line-height: 1.4; }
.method__w { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--c2); }
.method__grid i { position: absolute; left: 0; bottom: 0; height: 4px; width: calc(var(--w) * 4%); background: var(--c2); }
@media (max-width: 820px) { .method { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .method__grid { grid-template-columns: 1fr; } }

/* ---------- Page pratique ---------- */
.subnav { position: sticky; top: 68px; z-index: 40; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.subnav__in { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.subnav a { white-space: nowrap; text-decoration: none; font-weight: 700; font-size: .92rem; padding: 7px 14px; border-radius: 999px; }
.subnav a:hover, .subnav a.is-active { background: var(--accent); color: var(--accent-ink); }
.crit__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; counter-reset: c; }
.crit__list li { display: flex; gap: 14px; align-items: center; background: var(--surface); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow); font-weight: 600; }
.crit__n { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip { border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: inherit; font-size: .88rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer; }
.chip small { color: var(--muted); margin-left: 3px; }
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip.is-on small { color: inherit; opacity: .7; }
.sib { display: flex; flex-wrap: wrap; gap: 10px; }
.sib__item { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--bg); color: var(--ink); text-decoration: none; font-weight: 700; border: 1px solid color-mix(in srgb, var(--ink) 14%, transparent); }
.sib__item i { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.sib__item:hover { box-shadow: var(--shadow); }
.section--siblings { padding-top: 36px; }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(24px, 4vw, 56px); padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(40px, 6vw, 72px); align-items: start; }
.article { min-width: 0; max-width: 760px; }
.article-aside { position: sticky; top: 90px; display: grid; gap: 18px; }
.toc-inline { display: none; }
@media (max-width: 1000px) { .article-layout { grid-template-columns: 1fr; } .article-aside { position: static; } .article-aside .sticky { display: none; } .toc-inline { display: block; } }
.disclosure { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); background: var(--soft); border-radius: 10px; padding: 10px 14px; margin-bottom: 20px; }
.disclosure svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.essentiel { background: var(--surface); border: 2px solid var(--accent); border-radius: var(--radius-sm); padding: 18px 20px 14px; margin: 0 0 26px; box-shadow: var(--shadow); }
.essentiel__h { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; margin: 0 0 10px; color: var(--ink); display: flex; align-items: center; gap: 10px; }
.essentiel__h::before { content: ""; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); transform: rotate(45deg); }
.essentiel dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0 18px; }
.essentiel dl > div { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.essentiel dl > div.full { grid-template-columns: 1fr; grid-column: 1 / -1; }
.essentiel dt { font-weight: 700; color: var(--muted); font-size: .9rem; }
.essentiel dd { margin: 0; font-weight: 700; text-align: right; }
.essentiel .full dd { text-align: left; font-weight: 600; }
.toc { background: var(--surface); border-radius: var(--radius-sm); padding: 16px 18px; border: 1px solid var(--line); margin-bottom: 24px; }
.toc__h { font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; font-size: .94rem; }
.toc a { text-decoration: none; }
.toc a:hover, .toc a.is-active { color: var(--accent); text-decoration: underline; }
.is-dark .toc a.is-active { color: var(--accent); }
.aside-top { background: var(--surface); border-radius: var(--radius-sm); padding: 16px 18px; box-shadow: var(--shadow); }
.aside-top__h { font-family: var(--font-display); font-weight: 800; margin: 0 0 8px; }
.aside-top ol { margin: 0 0 10px; padding-left: 1.3em; display: grid; gap: 6px; font-size: .93rem; }
.aside-top li a { text-decoration: none; }
.aside-top li { display: flex; justify-content: space-between; gap: 8px; }
.article__h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 1.6em 0 .7em; scroll-margin-top: 90px; }
.note-soft { color: var(--muted); }
.method-note { font-size: .92rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; margin-top: 10px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tags a { font-size: .84rem; padding: 4px 12px; border-radius: 999px; background: var(--soft); text-decoration: none; }

.prose { font-size: 1.08rem; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 1.7em 0 .6em; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.25rem; margin: 1.4em 0 .5em; font-family: var(--font-body); font-weight: 750; text-transform: none; font-style: normal; }
.prose a { color: var(--accent); font-weight: 600; }
.is-dark .prose a { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--accent); font-size: 1.1em; }
.prose img { border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; background: var(--surface); border-radius: var(--radius-sm); }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); margin-top: 6px; }
.prose .wp-block-table { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; touch-action: pan-x; border-radius: var(--radius-sm); }
.prose .wp-block-table table { display: table; min-width: 680px; }
.page-prose { padding: clamp(28px, 4vw, 48px) 0 clamp(40px, 6vw, 72px); }

.compare { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; touch-action: pan-x; background: var(--surface); border-radius: var(--radius-sm); box-shadow: var(--shadow); margin: 0 0 24px; }
.compare table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .93rem; }
.compare th, .compare td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.compare thead th a { display: grid; gap: 6px; text-decoration: none; font-weight: 800; }
.compare tbody th { color: var(--muted); font-weight: 700; white-space: nowrap; position: sticky; left: 0; background: var(--surface); }

/* AffiliateX : défilement horizontal contenu dans l'article sur mobile. */
.prose :is(.affx-versus-table-wrap, .affx-product-comparison, .affiliatex-product-comparison, [class*="product-comparison"]) { width: 100%; max-width: 100%; overflow-x: auto !important; -webkit-overflow-scrolling: touch; touch-action: pan-x; overscroll-behavior-inline: contain; }
.prose :is(.affx-product-versus-table, .affx-versus-table-wrap table, [class*="product-comparison"] table) { width: max-content; min-width: 760px; max-width: none; }
.table-scroll-hint { display: none; margin: -10px 0 14px; color: var(--muted); font-size: .82rem; align-items: center; gap: 6px; }
.table-scroll-hint::before { content: "↔"; font-size: 1.05rem; color: var(--accent); }
.is-scrollable + .table-scroll-hint { display: flex; }

/* Pages de confiance (À propos, méthodologie, contact). */
.gg-page-intro { padding: clamp(20px, 4vw, 34px); margin: 0 0 26px; border-radius: var(--radius); background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 13%, var(--surface)), var(--surface)); border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--line)); }
.gg-page-intro > :last-child { margin-bottom: 0; }
.gg-page-lead { font-size: clamp(1.12rem, 2.2vw, 1.35rem); line-height: 1.5; color: var(--ink); }
.gg-trust-grid, .gg-contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 26px 0 34px; }
.gg-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gg-trust-card { padding: 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 10px 30px -24px color-mix(in srgb, var(--ink) 60%, transparent); }
.gg-trust-card h2 { font-family: var(--font-body); font-size: 1.08rem; margin: 0 0 8px; }
.gg-trust-card p:last-child { margin-bottom: 0; }
.gg-about-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(22px, 4vw, 36px); margin: 34px 0; border-radius: var(--radius); background: var(--ink); color: var(--bg); }
.gg-about-band > div { max-width: 48ch; }
.gg-about-band p:last-child { margin-bottom: 0; }
.gg-about-band .btn { flex-shrink: 0; background: var(--cta); border-color: var(--cta); color: var(--cta-ink); }
.gg-steps { list-style: none; counter-reset: gg-step; padding: 0 !important; display: grid; gap: 12px; }
.gg-steps li { counter-increment: gg-step; display: grid; grid-template-columns: 44px 1fr; padding: 14px 16px; margin: 0; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.gg-steps li::before { content: counter(gg-step); grid-row: 1 / 3; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 800; }
.gg-steps span { color: var(--muted); }
.gg-contact-form { margin-top: 30px; padding: clamp(20px, 4vw, 30px); background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); }

@media (max-width: 720px) {
	.gg-trust-grid, .gg-contact-grid { grid-template-columns: 1fr; }
	.gg-about-band { align-items: flex-start; flex-direction: column; }
	.gg-about-band .btn { width: 100%; justify-content: center; }
}

.ad { margin: 26px 0; text-align: center; min-height: 0; }
.ad .widget-title { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------- Fiche gourde ---------- */
.hero--product .hero__inner { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); }
.product-media { position: relative; display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, color-mix(in srgb, var(--surface) 90%, transparent), transparent 70%); border-radius: var(--radius); padding: 20px; }
.product-media__score { position: absolute; right: 4%; top: 4%; filter: drop-shadow(0 10px 20px color-mix(in srgb, var(--ink) 25%, transparent)); }
.product { padding-top: clamp(24px, 4vw, 40px); padding-bottom: clamp(40px, 6vw, 72px); }
.product__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 820px) { .product__grid { grid-template-columns: 1fr; } }
.card-box { background: var(--surface); border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow); }
.card-box__h { font-size: 1.25rem; }
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 600; width: 44%; padding-right: 12px; }
.specs td small { display: block; color: var(--muted); }
.ranks { margin-top: 32px; }
.ranks__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ranks__list a { display: inline-flex; gap: 10px; align-items: center; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--bg); color: var(--ink); border: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.ranks__list b { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 4px 10px; font-size: .85rem; }
.sources { margin-top: 24px; font-size: .9rem; }
.sources summary { cursor: pointer; font-weight: 700; }

/* ---------- Pagination ---------- */
.pagination { margin-top: 32px; }
.nav-links { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.page-numbers { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; text-decoration: none; font-weight: 700; background: var(--surface); border: 1px solid var(--line); padding: 0 10px; }
.page-numbers.current { background: var(--ink); color: var(--bg); }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; background: var(--ink); color: var(--bg); margin-top: 40px; padding: 30px 0 24px; }
.site-footer__wave { position: absolute; left: 0; right: 0; top: -39px; width: 100%; height: 40px; fill: var(--ink); }
.site-footer a { color: inherit; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 28px; }
.site-footer__about p { color: color-mix(in srgb, var(--bg) 72%, transparent); max-width: 34ch; }
.brand--footer { color: var(--bg); font-size: 1.4rem; margin-bottom: 10px; }
.site-footer__h { font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c2); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .95rem; }
.site-footer ul a { text-decoration: none; opacity: .85; }
.site-footer ul a:hover { opacity: 1; text-decoration: underline; }
.footer-menu { margin-top: 12px !important; }
.site-footer__legal { border-top: 1px solid color-mix(in srgb, var(--bg) 18%, transparent); padding-top: 18px; font-size: .84rem; color: color-mix(in srgb, var(--bg) 65%, transparent); }
.site-footer__legal p { margin: 0 0 4px; }
@media (max-width: 820px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .site-footer__grid { grid-template-columns: 1fr; } .site-footer__about { grid-column: auto; } }

/* ==========================================================================
   FAMILLES — la personnalité de chaque univers
   ========================================================================== */

/* ---- Sport : condensé, italique, diagonales ---- */
.fam-sport { --radius: 6px; --radius-sm: 6px; }
.fam-sport :is(.hero__title, .section__title, .card-u__title, .card-p__title, .topcard__title, .topitem__title, .article__h2, .essentiel__h, .verdict__h, .aside-top__h, .crit__n, .rank, .toptable__rank span, .topitem__rank, .prose h2, .card-box__h) { font-style: italic; text-transform: uppercase; letter-spacing: -.005em; }
.fam-sport .hero__title { font-size: clamp(2.5rem, 6.6vw, 5.4rem); line-height: .95; }
.fam-sport :is(.hero--article, .hero--top, .hero--product) .hero__title { font-size: clamp(2.1rem, 5vw, 3.8rem); }
.fam-sport .hero__title .hl { display: inline; background: var(--accent); color: var(--accent-ink); padding: 0 .18em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.fam-sport .hero__media img { clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); border-radius: 0; }
.fam-sport .hero__media::before { content: ""; position: absolute; inset: 6% -3% -4% 10%; background: repeating-linear-gradient(-60deg, var(--accent) 0 10px, transparent 10px 22px); clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%); z-index: -1; opacity: .9; }
.fam-sport .btn { border-radius: 4px; transform: skewX(-8deg); text-transform: uppercase; letter-spacing: .04em; font-style: italic; }
.fam-sport .btn:hover { transform: skewX(-8deg) translateY(-1px); }
.fam-sport .section__title::before { content: "//"; color: var(--accent); margin-right: .25em; font-style: normal; }
.fam-sport .eyebrow { letter-spacing: .2em; }
.fam-sport .card-p__media { clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%); }
.fam-sport .card-p__media::after { display: none; }
.fam-sport .card-u__go { border-radius: 4px; transform: skewX(-10deg); }
.fam-sport .meta-chip { border-radius: 4px; }
.fam-sport .hero::after { content: ""; position: absolute; right: -10%; top: 0; bottom: 0; width: 50%; background: repeating-linear-gradient(-60deg, color-mix(in srgb, var(--ink) 4%, transparent) 0 2px, transparent 2px 26px); z-index: -1; }

/* ---- Travail : grille fine, sobre ---- */
.fam-travail { --radius: 8px; --radius-sm: 8px; }
.fam-travail :is(.hero__title, .section__title, .card-u__title, .card-p__title, .topcard__title) { font-weight: 700; letter-spacing: -.035em; }
.fam-travail .hero { background-image: linear-gradient(color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--ink) 6%, transparent) 1px, transparent 1px); background-size: 40px 40px; }
.fam-travail .hero__glow { display: none; }
.fam-travail .eyebrow { display: inline-flex; align-items: center; gap: 10px; letter-spacing: .16em; }
.fam-travail .eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.fam-travail .hero__media img { border-radius: 4px; box-shadow: 18px 18px 0 -2px color-mix(in srgb, var(--c2) 70%, transparent); }
.fam-travail .hero__title .hl { color: var(--accent); border-bottom: 3px solid var(--c2); }
.fam-travail .btn { border-radius: 6px; }

/* ---- Quotidien : arrondi, organique ---- */
.fam-quotidien { --radius: 30px; --radius-sm: 22px; }
.fam-quotidien :is(.hero__title, .section__title, .card-u__title, .card-p__title, .topcard__title) { font-weight: 900; letter-spacing: -.02em; }
.fam-quotidien .hero__media img { border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; aspect-ratio: 1 / 1; }
.fam-quotidien .hero__media::after { content: ""; position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: var(--c2); right: -4%; bottom: -6%; z-index: -1; }
.fam-quotidien .hero__title .hl { background: linear-gradient(transparent 62%, color-mix(in srgb, var(--c2) 80%, transparent) 62%); color: inherit; }
.fam-quotidien .card-p__media::after { display: none; }

/* ---- Enfants : joyeux, bords épais, ombres décalées ---- */
.fam-enfants { --radius: 26px; --radius-sm: 20px; --shadow: 5px 5px 0 var(--ink); }
.fam-enfants :is(.hero__title, .section__title, .card-u__title, .card-p__title, .topcard__title) { letter-spacing: 0; }
.fam-enfants :is(.card-p, .card-a, .card-g, .toptable, .essentiel, .crit__list li, .topitem, .card-box, .aside-top, .typecard) { border: 3px solid var(--ink); }
.card-u.fam-enfants, .fam-enfants .card-u { border: 3px solid var(--ink); }
.fam-enfants .hero__media img { border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--c2); transform: rotate(-2deg); }
.fam-enfants .hero__media::after { content: "★"; position: absolute; top: -18px; right: 6%; font-size: 3rem; color: var(--c3); transform: rotate(12deg); text-shadow: 3px 3px 0 var(--ink); }
.fam-enfants .hero__title .hl { color: var(--accent); text-decoration: underline wavy var(--c2) 3px; text-underline-offset: 8px; text-decoration-skip-ink: none; }
.fam-enfants .btn { border: 3px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); }
.fam-enfants .btn:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink); }
.fam-enfants .hero { background-image: radial-gradient(color-mix(in srgb, var(--c2) 35%, transparent) 2px, transparent 2.5px), radial-gradient(color-mix(in srgb, var(--accent) 28%, transparent) 2px, transparent 2.5px); background-size: 46px 46px, 46px 46px; background-position: 0 0, 23px 23px; }
.fam-enfants .card-p__media::after { height: 10px; background: repeating-linear-gradient(90deg, var(--accent) 0 20px, var(--c2) 20px 40px, var(--c3) 40px 60px); }

/* ---- Voyage : carte postale, timbre, pointillés ---- */
.fam-voyage { --radius: 14px; --radius-sm: 12px; }
.fam-voyage :is(.hero__title, .section__title, .card-u__title, .card-p__title, .topcard__title) { letter-spacing: -.03em; }
.fam-voyage .hero__media { background: var(--surface); padding: 12px 12px 44px; border-radius: 4px; transform: rotate(2deg); box-shadow: var(--shadow); }
.fam-voyage .hero__media img { border-radius: 2px; box-shadow: none; }
.fam-voyage .hero__media::after { content: "✈"; position: absolute; right: -16px; top: -16px; width: 74px; height: 74px; display: grid; place-items: center; border-radius: 50%; border: 2px dashed var(--c2); color: var(--c2); font-size: 1.9rem; background: color-mix(in srgb, var(--surface) 85%, transparent); transform: rotate(-14deg); }
.fam-voyage .hero__media .credit { bottom: 14px; right: 16px; color: var(--muted); background: none; }
.fam-voyage .eyebrow { display: inline-block; border: 1.5px dashed var(--accent); padding: 4px 10px; border-radius: 4px; }
.fam-voyage .hero__title .hl { color: var(--accent); }
.fam-voyage .card-p__media::after { height: 3px; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px); }
.fam-voyage .essentiel { border-style: dashed; }

/* ---- Accueil : eau ---- */
.fam-accueil .hero__title .hl { color: var(--accent); font-style: italic; }

/* Fond sombre : quelques ajustements */
.is-dark .btn--ghost { color: var(--ink); }
.is-dark .rank, .is-dark .toptable__rank span { background: var(--ink); color: var(--bg); }

@media print {
	.site-header, .site-footer, .hero__decor, .subnav, .ad, .article-aside { display: none !important; }
}

/* Mobile : visuels du bandeau plus compacts */
@media (max-width: 860px) {
	.hero--product .hero__inner { grid-template-columns: minmax(0, 1fr); }
	.product-media { max-width: 340px; margin: 0 auto; }
	.hero__media img { aspect-ratio: 16 / 10; }
	.fam-quotidien .hero__media img { aspect-ratio: 4 / 3; }
	.home-media { min-height: 0; }
	.hero { padding-top: 18px; }
	.prose { font-size: 1rem; }
}
