/* Polices auto-hébergées (SIL Open Font License) */
/* Bricolage Grotesque — latin-ext */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Bricolage Grotesque — latin */
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Figtree — latin-ext */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/figtree-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Figtree — latin */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(../fonts/figtree-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ==========================================================================
   Topily — feuille de style du site statique
   ========================================================================== */
:root {
	--ink: #0f2533;
	--ink-2: #163749;
	--ink-3: #24506a;
	--paper: #f2f5f6;
	--surface: #fff;
	--surface-2: #f6f8f9;
	--line: #dfe5e9;
	--line-strong: #c9d3da;
	--text: #1f2e38;
	--muted: #5a6b76;
	--accent: #e0483d;
	--accent-dark: #c23a30;
	--accent-soft: #fdecea;
	--good: #1f8a5b;

	--font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
	--font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

	--r-sm: 8px;
	--r-md: 14px;
	--r-lg: 22px;
	--shadow-sm: 0 1px 2px rgba(15, 37, 51, .06), 0 2px 8px rgba(15, 37, 51, .05);
	--shadow-md: 0 2px 4px rgba(15, 37, 51, .05), 0 14px 34px -10px rgba(15, 37, 51, .2);
	--ease: cubic-bezier(.22, .9, .3, 1);
	--nav-h: 72px;
	--z-nav: 50;
	--z-search: 80;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--paper);
	color: var(--text);
	font: 17px/1.65 var(--font-body);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink-3); transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--ink); color: #fff; }
button { font: inherit; color: inherit; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--ink); color: #fff; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav {
	position: sticky;
	top: 0;
	z-index: var(--z-nav);
	background: rgba(255, 255, 255, .86);
	-webkit-backdrop-filter: saturate(1.6) blur(14px);
	backdrop-filter: saturate(1.6) blur(14px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.is-scrolled .nav { border-bottom-color: var(--line); box-shadow: 0 6px 24px -14px rgba(15, 37, 51, .3); }
.nav__in { display: flex; align-items: center; gap: 12px; height: var(--nav-h); }
.nav__logo { display: block; margin-right: auto; }
.nav__logo img { display: block; height: 44px; width: auto; }
.nav__menu ul { list-style: none; margin: 0; padding: 0; }
.nav__menu > ul { display: flex; align-items: center; gap: 2px; }
.nav__menu li { position: relative; }
.nav__menu > ul > li { display: flex; align-items: center; }
.nav__menu > ul > li > a {
	position: relative;
	display: block;
	padding: 10px 12px;
	color: var(--ink);
	font-size: 15.5px;
	font-weight: 550;
	text-decoration: none;
}
.nav__menu > ul > li > a::after {
	content: "";
	position: absolute;
	left: 12px; right: 12px; bottom: 4px;
	height: 2px;
	border-radius: 2px;
	background: var(--accent);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .3s var(--ease);
}
.nav__menu > ul > li:hover > a::after,
.nav__menu > ul > li > a[aria-current]::after { transform: scaleX(1); }
.sub-toggle {
	display: grid; place-items: center;
	width: 28px; height: 28px;
	margin-left: -8px;
	padding: 0;
	border: 0; border-radius: 8px;
	background: none;
	cursor: pointer;
}
.sub-toggle svg { width: 12px; height: 12px; transition: transform .25s var(--ease); }
.has-sub:hover .sub-toggle svg, .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub {
	position: absolute;
	top: calc(100% + 6px); left: 0;
	min-width: 240px;
	padding: 8px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s var(--ease), transform .25s var(--ease), visibility .25s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .sub-toggle[aria-expanded="true"] + .sub { opacity: 1; visibility: visible; transform: none; }
.sub a {
	display: block;
	padding: 9px 12px;
	border-radius: var(--r-sm);
	color: var(--text);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	transition: background-color .2s var(--ease), color .2s var(--ease), padding .2s var(--ease);
}
.sub a:hover, .sub a[aria-current] { background: var(--accent-soft); color: var(--accent-dark); padding-left: 16px; }
.nav__search, .nav__burger {
	display: grid; place-items: center;
	width: 44px; height: 44px;
	padding: 0;
	border: 1px solid var(--line);
	border-radius: 12px;
	background: var(--surface);
	cursor: pointer;
	transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.nav__search:hover, .nav__burger:hover { border-color: var(--line-strong); }
.nav__search svg { width: 19px; height: 19px; }
.nav__burger { display: none; }
.nav__burger span:first-child, .nav__burger span:first-child::before, .nav__burger span:first-child::after {
	display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--ink);
	transition: transform .3s var(--ease), background-color .2s;
}
.nav__burger span:first-child { position: relative; }
.nav__burger span:first-child::before, .nav__burger span:first-child::after { content: ""; position: absolute; left: 0; }
.nav__burger span:first-child::before { top: -6px; }
.nav__burger span:first-child::after { top: 6px; }
.nav__burger[aria-expanded="true"] span:first-child { background: transparent; }
.nav__burger[aria-expanded="true"] span:first-child::before { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:first-child::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(36px, 6vw, 76px) 0 clamp(92px, 11vw, 132px);
	color: #fff;
	background:
		radial-gradient(70% 140% at 100% 0%, rgba(224, 72, 61, .3) 0%, rgba(224, 72, 61, 0) 50%),
		radial-gradient(60% 120% at 0% 100%, rgba(52, 110, 140, .5) 0%, rgba(52, 110, 140, 0) 60%),
		var(--ink);
}
.hero::before {
	content: "";
	position: absolute; inset: 0;
	z-index: -1;
	opacity: .2;
	mix-blend-mode: overlay;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero::after {
	content: "";
	position: absolute;
	right: -60px; bottom: -40px;
	width: min(560px, 70vw); height: 320px;
	z-index: -1;
	opacity: .13;
	background: repeating-radial-gradient(ellipse at 100% 100%, transparent 0 16px, #fff 16px 17px);
	-webkit-mask-image: linear-gradient(to left, #000 20%, transparent);
	mask-image: linear-gradient(to left, #000 20%, transparent);
}
.hero .wrap { max-width: 900px; }
.hero--home .wrap { max-width: 1180px; }
.hero h1 {
	max-width: 22ch;
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(32px, 5vw, 58px);
	font-weight: 750;
	line-height: 1.04;
	letter-spacing: -0.032em;
	text-wrap: balance;
}
.hero__kicker {
	display: inline-flex; align-items: center; gap: 10px;
	margin: 0 0 16px;
	font-size: 14px; font-weight: 600; letter-spacing: .01em;
	color: rgba(255, 255, 255, .8);
}
.hero__kicker::before {
	content: "";
	width: 8px; height: 8px; border-radius: 50%;
	background: var(--accent);
	animation: pulse 2.4s var(--ease) infinite;
}
@keyframes pulse {
	0%, 100% { box-shadow: 0 0 0 4px rgba(224, 72, 61, .28); }
	50% { box-shadow: 0 0 0 8px rgba(224, 72, 61, .04); }
}
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 22px; padding: 0; list-style: none; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .5; }
.crumbs a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* ==========================================================================
   Mise en page
   ========================================================================== */
.layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	max-width: 900px;
	align-items: start;
	margin-top: clamp(-96px, -8vw, -60px);
	position: relative;
}
.article {
	min-width: 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-md);
	padding: clamp(22px, 4vw, 52px);
	padding-bottom: clamp(30px, 4.6vw, 60px);
}

/* ==========================================================================
   Contenu
   ========================================================================== */
.prose > :first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.1em; }
.prose > p, .prose > ul, .prose > ol { max-width: 70ch; }
.prose p, .prose li { text-wrap: pretty; }
.prose h2, .prose h3, .prose h4 { font-family: var(--font-display); color: var(--ink); text-wrap: balance; }
.prose h2 { font-size: clamp(25px, 2.7vw, 33px); font-weight: 700; line-height: 1.15; letter-spacing: -0.022em; margin: 2em 0 .55em; }
.prose h3 { font-size: clamp(19px, 1.8vw, 22px); font-weight: 650; line-height: 1.25; letter-spacing: -0.012em; margin: 1.6em 0 .4em; }
.prose h4 { font-size: 18px; margin: 1.4em 0 .3em; }
.prose strong, .prose b { font-weight: 650; color: var(--ink); }
.prose a:not(.btn) {
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 3px;
}
.prose a:not(.btn):hover { text-decoration-color: currentColor; }
.prose a:has(> img) { text-decoration: none; }
.prose img { border-radius: var(--r-sm); }
.prose .alignright { float: right; margin: 4px 0 16px 24px; max-width: 45%; }
.prose .alignleft { float: left; margin: 4px 24px 16px 0; max-width: 45%; }
.prose .aligncenter { display: block; margin-inline: auto; }
.prose ul:not([class]) { padding-left: 0; list-style: none; }
.prose ul:not([class]) > li { position: relative; padding-left: 1.4em; margin-bottom: .35em; }
.prose ul:not([class]) > li::before { content: ""; position: absolute; left: .2em; top: .68em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.prose ol:not([class]) { padding-left: 1.3em; }
.prose ol:not([class]) > li { margin-bottom: .35em; padding-left: .2em; }
.prose ol:not([class]) > li::marker { color: var(--accent); font-weight: 700; }
.prose hr { clear: both; height: 1px; border: 0; background: var(--line); margin: 44px 0; }
.prose blockquote { margin: 32px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 21px; line-height: 1.4; color: var(--ink); }

/* Sommaire compact : barre collante (mobile/tablette), rail latéral (grand écran) */
.toc {
	position: sticky;
	top: calc(var(--nav-h) + 10px);
	z-index: 40;
	margin-bottom: 16px;
}
.toc__bar {
	display: flex; align-items: center; gap: 10px;
	width: 100%;
	padding: 11px 16px;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow-md);
	cursor: pointer;
	text-align: left;
}
.toc__label { flex-shrink: 0; font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.toc__current { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 15px; font-weight: 600; color: var(--ink); }
.toc__bar svg { width: 12px; height: 12px; flex-shrink: 0; transition: transform .25s var(--ease); }
.toc__bar[aria-expanded="true"] svg { transform: rotate(180deg); }
.toc__list {
	display: none;
	position: absolute; left: 0; right: 0; top: calc(100% + 6px);
	max-height: min(60vh, 460px);
	overflow-y: auto;
	margin: 0; padding: 8px;
	list-style: none;
	counter-reset: toc;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	box-shadow: var(--shadow-md);
}
.toc__bar[aria-expanded="true"] + .toc__list { display: block; }
.toc__list li { counter-increment: toc; }
.toc__list a { display: flex; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--text); font-size: 15px; line-height: 1.35; text-decoration: none; transition: background-color .2s var(--ease), color .2s var(--ease); }
.toc__list a::before { content: counter(toc); min-width: 1.4em; color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 600; }
.toc__list a:hover, .toc__list a.is-active { background: var(--accent-soft); color: var(--accent-dark); }

@media (min-width: 1340px) {
	.layout.has-toc { grid-template-columns: 220px minmax(0, 900px); max-width: 1152px; gap: 32px; }
	.layout.has-toc .toc { grid-column: 1; top: calc(var(--nav-h) + 24px); margin: 0; }
	.layout.has-toc .article { grid-column: 2; grid-row: 1; }
	.toc__bar { pointer-events: none; padding: 0 0 10px; background: none; border: 0; border-radius: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
	.toc__bar svg, .toc__current { display: none; }
	.toc__label { color: rgba(255, 255, 255, .7); }
	.is-scrolled .toc__label { color: var(--accent); }
	.toc__list { display: block; position: static; max-height: calc(100vh - var(--nav-h) - 90px); padding: 6px; }
	.toc__list a { padding: 7px 8px; font-size: 13.5px; }
}

/* Bloc auteur */
.byline { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.byline__avatar { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 18px; }
.byline p { display: flex; flex-direction: column; margin: 0; font-size: 14px; line-height: 1.45; color: var(--muted); }
.byline p span:first-child { color: var(--ink); font-weight: 600; }
.byline a { color: inherit; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.byline a:hover { color: var(--accent); }

/* Accueil */
.hero__lead { max-width: 56ch; margin: 18px 0 0; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: rgba(255, 255, 255, .8); }
.hero__search {
	display: flex; align-items: center; gap: 12px;
	width: min(520px, 100%);
	margin-top: 26px;
	padding: 15px 18px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 14px;
	background: rgba(255, 255, 255, .1);
	color: rgba(255, 255, 255, .85);
	font-size: 16px;
	text-align: left;
	cursor: pointer;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: background-color .2s var(--ease), border-color .2s var(--ease);
}
.hero__search:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }
.hero__search svg { width: 20px; height: 20px; flex-shrink: 0; }
.hero__search span { flex: 1; }
.hero__search kbd { padding: 2px 8px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 6px; font: 600 12px var(--font-body); }
.home { position: relative; margin-top: clamp(-96px, -8vw, -60px); display: grid; gap: 20px; max-width: 1180px; }
.home__h { margin: 0; font-family: var(--font-display); font-size: 21px; font-weight: 750; letter-spacing: -0.02em; color: var(--ink); }
.home__tiles { padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.tiles a { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); color: var(--muted); font-size: 14px; line-height: 1.45; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease); }
.tiles a:hover { transform: translateY(-2px); background: var(--surface); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.tiles strong { font-family: var(--font-display); font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.tiles a:hover strong { color: var(--accent-dark); }
.tiles__n { font-size: 12px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.home__row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; }
.home__card { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.home__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.home__head a { font-size: 14px; font-weight: 600; text-decoration: none; }
.toprated, .recent { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.toprated a { display: grid; grid-template-columns: 22px 92px 1fr auto; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--ink); font-weight: 600; text-decoration: none; transition: background-color .2s var(--ease); }
.toprated a:hover { background: var(--accent-soft); }
.toprated__rank { font-family: var(--font-display); font-weight: 800; color: var(--muted); text-align: center; }
.toprated li:first-child .toprated__rank { color: var(--accent); }
.toprated img { width: 92px; height: 36px; object-fit: contain; padding: 4px 8px; background: var(--ink); border-radius: 8px; }
.toprated b { font-family: var(--font-display); color: var(--accent); font-variant-numeric: tabular-nums; }
.recent a { display: flex; justify-content: space-between; gap: 12px; padding: 10px; border-radius: 12px; color: var(--ink); font-weight: 600; text-decoration: none; transition: background-color .2s var(--ease); }
.recent a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.recent time { flex-shrink: 0; font-size: 13px; font-weight: 500; color: var(--muted); }
.layout--home { margin-top: 20px; }

/* Filtres de la grille des anmeldelser */
.rg-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 18px 0 6px; }
.rg-tools[hidden] { display: none; }
.rg-tools input, .rg-tools select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); font: 500 15px var(--font-body); color: var(--ink); }
.rg-tools input { flex: 1 1 200px; min-width: 0; }
.rg-tools input:focus, .rg-tools select:focus { outline: none; border-color: var(--ink-3); box-shadow: 0 0 0 3px rgba(36, 80, 106, .14); }
.rg-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.rg-chips button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.rg-chips button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.prose .rg-count { margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.reviewgrid li[hidden] { display: none; }

/* Boutons */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 11px 20px;
	border-radius: 10px;
	background: var(--accent);
	color: #fff !important;
	font-size: 14.5px; font-weight: 700; letter-spacing: .02em;
	text-decoration: none !important;
	white-space: nowrap;
	box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 16px -6px rgba(224, 72, 61, .7);
	transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn::after { content: "→"; transition: transform .25s var(--ease); }
.btn:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 10px 22px -8px rgba(224, 72, 61, .8); }
.btn:hover::after { transform: translateX(4px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--sm { padding: 8px 13px; font-size: 13px; }
.btn--sm::after { display: none; }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.cta { text-align: center; margin: 24px 0 28px !important; }

/* Toplist */
.toplist { display: grid; gap: 12px; margin: 26px 0 36px; padding: 0; list-style: none; }
.toplist__item {
	position: relative;
	display: grid;
	grid-template-columns: 44px minmax(140px, 180px) 1fr auto;
	align-items: center;
	gap: 10px 22px;
	padding: 16px 22px 16px 16px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	box-shadow: var(--shadow-sm);
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.toplist__item:hover { transform: translateY(-2px); border-color: var(--line-strong); box-shadow: var(--shadow-md); }
.toplist__item:first-child { margin-top: 10px; border: 1.5px solid var(--accent); background: linear-gradient(100deg, var(--accent-soft) 0%, var(--surface) 40%); }
.toplist__item:first-child::before {
	content: "Topp valg";
	position: absolute; top: -11px; left: 16px;
	padding: 2px 10px;
	border-radius: 4px;
	background: var(--accent);
	color: #fff;
	font-size: 12px; font-weight: 700; letter-spacing: .03em;
}
.toplist__rank { font-family: var(--font-display); font-size: 34px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--line-strong); text-align: center; font-variant-numeric: tabular-nums; }
.toplist__item:first-child .toplist__rank { color: var(--accent); }
.toplist__logo { display: block; }
.toplist__logo img { display: block; width: 100%; max-width: 180px; border-radius: 12px !important; transition: transform .3s var(--ease); }
.toplist__item:hover .toplist__logo img { transform: scale(1.03); }
.toplist__bonus span { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 600; color: var(--muted); }
.toplist__bonus strong { display: block; font-family: var(--font-display); font-size: 19px; font-weight: 650; line-height: 1.25; letter-spacing: -0.01em; color: var(--ink); }
.prose .toplist__terms { display: inline-block; margin-top: 4px; font-size: 12px; color: var(--muted); text-decoration: none; }
.toplist__cta .btn { padding: 12px 20px; }

/* Cartes bonus (3 colonnes) */
.cols { display: grid; gap: 16px; margin: 26px 0 32px; }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bonuscard {
	display: flex; flex-direction: column; align-items: center; gap: 10px;
	height: 100%;
	padding: 20px 18px 18px;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	text-align: center;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.bonuscard:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); background: var(--surface); }
.bonuscard p { margin: 0 !important; }
.bonuscard__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--accent); }
.bonuscard__logo img { display: block; max-width: 160px; border-radius: 12px !important; }
.bonuscard__stars { color: #e3a008; letter-spacing: 2px; }
.bonuscard__bonus { flex: 1; font-family: var(--font-display); font-size: 18px; font-weight: 650; color: var(--ink); }
.prose .bonuscard__review { font-size: 14px; text-decoration: none; }

/* Tableaux de données */
.table-wrap { margin: 24px 0 32px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); }
.datatable, .prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.datatable th, .prose table th { padding: 12px 16px; background: var(--ink); color: #fff; font-weight: 650; text-align: left; white-space: nowrap; }
.datatable td, .prose table td { padding: 12px 16px; border-top: 1px solid var(--line); vertical-align: middle; }
.datatable tbody tr:nth-child(even) td { background: var(--surface-2); }
.datatable td:last-child:has(.btn) { text-align: right; }
.prose table:not(.datatable) { margin: 24px 0; border: 1px solid var(--line); }

/* Galerie */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin: 24px 0 32px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--r-md); aspect-ratio: 4 / 3; background: var(--surface-2); }
.gallery img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 0; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }

/* FAQ / accordéons */
.faq { margin: 10px 0; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.faq summary { padding: 14px 18px; font-weight: 650; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; transition: transform .25s var(--ease); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq > div { padding: 0 18px 8px; }

/* Boîte d'avis */
.review {
	margin: 0 0 32px;
	overflow: hidden;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	box-shadow: var(--shadow-sm);
}
.review__head { display: flex; align-items: center; gap: 18px; padding: 20px 24px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.review__brand img { display: block; width: 132px; border-radius: 12px !important; }
.review__head > div:not(.score) { flex: 1; min-width: 0; }
.prose .review__eyebrow { margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.prose .review__name { margin: 2px 0 0; font-family: var(--font-display); font-size: 24px; font-weight: 750; letter-spacing: -0.02em; line-height: 1.15; color: var(--ink); }
.score {
	--s: 0;
	position: relative;
	display: grid; place-items: center; place-content: center;
	width: 84px; height: 84px; flex-shrink: 0;
	border-radius: 50%;
	background: conic-gradient(var(--accent) calc(var(--s) * 1%), var(--line) 0);
}
.score::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: var(--surface); }
.score span, .score small { position: relative; line-height: 1; }
.score span { font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); }
.score small { font-size: 11px; color: var(--muted); margin-top: 2px; }
.review__body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; padding: 22px 24px; }
.prose .bars { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px; font-size: 14.5px; }
.bars li::before { display: none; }
.bars b { font-variant-numeric: tabular-nums; color: var(--ink); }
.bars i { grid-column: 1 / -1; height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; position: relative; }
.bars i::after { content: ""; position: absolute; inset: 0; width: var(--v); border-radius: inherit; background: var(--ink-3); transform-origin: left; transition: transform 1s var(--ease); }
.js .review:not(.is-in) .bars i::after { transform: scaleX(0); }
.proscons p { margin: 0 0 8px !important; font-size: 13px; font-weight: 750; letter-spacing: .05em; text-transform: uppercase; }
.pros p { color: var(--good); }
.cons p { color: var(--accent); }
.prose .proscons ul { margin: 0 0 18px; padding: 0; list-style: none; }
.prose .proscons ul > li { position: relative; padding-left: 26px; margin-bottom: 6px; font-size: 15px; line-height: 1.45; }
.prose .proscons ul > li::before { position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.prose .pros ul > li::before { content: "+"; background: #e3f4ec; color: var(--good); }
.prose .cons ul > li::before { content: "–"; background: var(--accent-soft); color: var(--accent); }
.review__foot { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px 24px 22px; }
.review__note { font-size: 12px; color: var(--muted); }

/* ==========================================================================
   Sidebar
   ========================================================================== */
.sidebar { position: sticky; top: calc(var(--nav-h) + 20px); display: grid; gap: 16px; }
.widget { padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); font-size: 15px; }
.widget__title { margin: 0 0 14px; font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.widget__note { margin: 12px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.mini { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.mini li { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 10px; padding: 8px 8px 8px 10px; border-radius: 12px; background: var(--surface-2); border: 1px solid transparent; transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.mini li:hover { background: #fff; border-color: var(--line); transform: translateX(2px); }
.mini__rank { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--muted); }
.mini li:first-child .mini__rank { color: var(--accent); }
.mini__logo img { display: block; width: 112px; height: auto; border-radius: 8px; }
.widget--help p { margin: 0 0 8px; color: var(--muted); line-height: 1.5; }
.widget--help a { font-weight: 650; text-decoration: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.foot {
	margin-top: 72px;
	padding: 56px 0 40px;
	color: rgba(255, 255, 255, .72);
	font-size: 14.5px;
	background: radial-gradient(70% 140% at 100% 100%, rgba(224, 72, 61, .16) 0%, rgba(224, 72, 61, 0) 50%), var(--ink);
}
.foot a { color: rgba(255, 255, 255, .86); text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot__grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.foot__grid p { margin: 14px 0 0; max-width: 34ch; line-height: 1.6; }
.foot__brand { margin: 0 !important; font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -0.03em; color: #fff; }
.foot__h { margin: 0 0 12px !important; font-family: var(--font-display); font-size: 16px; font-weight: 700; color: #fff; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.foot__legal { padding-top: 28px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, .55); }
.foot__legal p { margin: 6px 0; }
.foot__badges { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 14px; }
.foot__badges img { height: 40px; width: auto; filter: grayscale(1) brightness(1.7); opacity: .85; }
.foot__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin: 12px 0 !important; }
.foot__help { display: inline-block; margin-right: 6px; padding: 2px 10px; border-radius: 6px; background: rgba(224, 72, 61, .2); color: #ffb3ad !important; font-weight: 650; }

/* ==========================================================================
   Recherche
   ========================================================================== */
.search { position: fixed; inset: 0; z-index: var(--z-search); display: grid; align-items: start; justify-items: center; padding: 12vh 16px 16px; background: rgba(15, 37, 51, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.search[hidden] { display: none; }
.search__box { position: relative; width: min(620px, 100%); background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 30px 80px -20px rgba(15, 37, 51, .5); overflow: hidden; animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.search input { width: 100%; padding: 20px 80px 20px 22px; border: 0; border-bottom: 1px solid var(--line); font: 500 18px var(--font-body); color: var(--ink); outline: none; }
.search__close { position: absolute; right: 14px; top: 16px; padding: 4px 8px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); font-size: 12px; color: var(--muted); cursor: pointer; }
.search__results { max-height: 50vh; overflow-y: auto; margin: 0; padding: 8px; list-style: none; }
.search__results a { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 10px; color: var(--text); text-decoration: none; }
.search__results a:hover, .search__results a.is-sel { background: var(--accent-soft); color: var(--accent-dark); }
.search__results small { color: var(--muted); font-size: 12px; font-weight: 600; }
.search__empty { padding: 14px; color: var(--muted); }

/* ==========================================================================
   Progression, retour en haut, apparition
   ========================================================================== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }
.to-top {
	position: fixed; right: 20px; bottom: 20px; z-index: var(--z-nav);
	display: grid; place-items: center;
	width: 46px; height: 46px;
	border: 0; border-radius: 14px;
	background: var(--ink); color: #fff;
	font-size: 20px;
	cursor: pointer;
	box-shadow: var(--shadow-md);
	opacity: 0; transform: translateY(12px); pointer-events: none;
	transition: opacity .3s var(--ease), transform .3s var(--ease), background-color .2s var(--ease);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--accent); }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.home__row { grid-template-columns: minmax(0, 1fr); }
	.layout { grid-template-columns: minmax(0, 1fr); }
	.sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
	.foot__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	:root { --nav-h: 64px; }
	.nav__logo img { height: 38px; }
	.nav__burger { display: grid; order: 3; }
	.nav__menu {
		position: absolute; top: 100%; left: 0; right: 0;
		max-height: calc(100dvh - var(--nav-h));
		overflow-y: auto;
		padding: 8px 20px 20px;
		background: var(--surface);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 20px 40px -20px rgba(15, 37, 51, .35);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .3s;
	}
	.nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; }
	.nav__menu > ul { flex-direction: column; align-items: stretch; gap: 0; }
	.nav__menu > ul > li { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav__menu > ul > li > a { flex: 1; padding: 14px 0; font-size: 17px; }
	.nav__menu > ul > li > a::after { display: none; }
	.nav__menu > ul > li > a[aria-current] { color: var(--accent); }
	.sub-toggle { width: 44px; height: 44px; margin: 0; }
	.has-sub:hover .sub-toggle svg { transform: none; }
	.sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
	.sub, .has-sub:hover > .sub, .has-sub:focus-within > .sub {
		position: static; flex-basis: 100%;
		display: none; min-width: 0;
		margin: 0 0 12px; padding: 0 0 0 12px;
		border: 0; border-left: 2px solid var(--line); border-radius: 0;
		box-shadow: none; opacity: 1; visibility: visible; transform: none;
	}
	.sub-toggle[aria-expanded="true"] + .sub { display: block; }
	.sub::before { display: none; }
}

@media (max-width: 720px) {
	body { font-size: 16.5px; }
	.wrap { width: calc(100% - 24px); }
	.hero { padding-bottom: 84px; }
	.hero .wrap { width: calc(100% - 40px); }
	.layout { margin-top: -60px; gap: 20px; }
	.article { padding: 22px 18px 30px; border-radius: 18px; }
	.prose .alignright, .prose .alignleft { float: none; margin: 16px auto; max-width: 100%; display: block; }

	.toplist__item {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "logo rank" "bonus bonus" "cta cta";
		gap: 12px;
		padding: 18px 16px 16px;
	}
	.toplist__rank { grid-area: rank; align-self: start; font-size: 30px; }
	.toplist__logo { grid-area: logo; }
	.toplist__logo img { max-width: 140px; }
	.toplist__bonus { grid-area: bonus; }
	.toplist__cta { grid-area: cta; }
	.toplist__cta .btn { width: 100%; }

	.cols--2, .cols--3, .cols--4 { grid-template-columns: minmax(0, 1fr); }

	.table-wrap { border: 0; overflow: visible; }
	.datatable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.datatable, .datatable tbody, .datatable tr, .datatable td { display: block; width: 100%; }
	.datatable tr { margin-bottom: 10px; padding: 6px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
	.datatable tbody tr:nth-child(even) td { background: none; }
	.datatable td { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-top: 1px solid var(--line); text-align: right; }
	.datatable td:first-child { border-top: 0; font-weight: 650; color: var(--ink); }
	.datatable td[data-label]::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; }
	.datatable td:not([data-label]) { justify-content: center; }
	.datatable td:not([data-label]) .btn { width: 100%; }

	.review__head { flex-wrap: wrap; padding: 18px; gap: 14px; }
	.review__brand img { width: 108px; }
	.score { width: 72px; height: 72px; }
	.score span { font-size: 22px; }
	.review__body { grid-template-columns: minmax(0, 1fr); gap: 22px; padding: 18px; }
	.review__foot .btn { width: 100%; }

	.home { margin-top: -60px; gap: 14px; }
	.home__tiles, .home__card { padding: 18px 16px; }
	.tiles { gap: 8px; }
	.tiles a { padding: 12px; }
	.tiles a > span:last-child { display: none; }
	.tiles strong { font-size: 15.5px; }
	.toprated a { grid-template-columns: 18px 76px 1fr auto; gap: 10px; padding: 8px 6px; }
	.toprated img { width: 76px; height: 32px; }
	.recent a { flex-direction: column; gap: 0; }
	.hero__search kbd { display: none; }
	.byline { margin-bottom: 20px; padding-bottom: 16px; }
	.toc { top: calc(var(--nav-h) + 8px); margin-bottom: 12px; }
	.rg-chips { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
	.prose .reviewgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
	.prose .reviewgrid a { padding: 8px; font-size: 14px; }
	.prose .reviewgrid b { font-size: 13px; }
	.foot { padding-top: 44px; }
	.foot__grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
	.foot__grid > div:first-child { grid-column: 1 / -1; }
	.to-top { right: 14px; bottom: 14px; }
}

/* Liens de la sidebar (version sans affiliation) */
.links { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px; }
.links a { display: block; padding: 8px 10px; border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 500; transition: background-color .2s var(--ease), color .2s var(--ease), padding .2s var(--ease); }
.links a:hover, .links a[aria-current] { background: var(--accent-soft); color: var(--accent-dark); padding-left: 14px; }
.prose hr + h2, .prose hr + h3 { margin-top: 0; }

/* Grille des fiches (/nettcasino/) */
.prose .reviewgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 20px 0 8px; padding: 0; list-style: none; }
.prose .reviewgrid li { margin: 0; padding: 0; }
.prose .reviewgrid li::before { display: none; }
.prose .reviewgrid a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 10px; height: 100%; padding: 12px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); color: var(--ink); font-weight: 600; text-decoration: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s var(--ease); }
.prose .reviewgrid a:hover { transform: translateY(-2px); background: var(--surface); box-shadow: var(--shadow-md); color: var(--accent-dark); }
.prose .reviewgrid img { grid-column: 1 / -1; width: 100%; aspect-ratio: 5 / 2; object-fit: contain; padding: 6px 10px; background: var(--ink); border-radius: 10px; }
.prose .reviewgrid b { font-family: var(--font-display); font-size: 15px; color: var(--accent); font-variant-numeric: tabular-nums; }
