@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/newsreader-500.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/newsreader-700.woff2") format("woff2"); }

/* testexamencivique.com · components
   The same component set as citizo.co, driven by tokens.css (--color-*, --radius-*, --font-*).
   Logical properties throughout; breakpoints are container queries on .site (768, 1024). */

:root {
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px; --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;
  --gutter: 20px; --container: 1200px; --reading: 680px; --header-h: 64px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--color-background); }
body.site { margin: 0; }
.site { container: site / inline-size; margin: 0; background: var(--color-background); color: var(--color-text-primary); font-family: var(--font-body);
  font-size: 17px; line-height: 27px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.site :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset, blockquote) { margin: 0; }
.site :where(ul, ol) { padding: 0; }
.site ul[role="list"], .site ol[role="list"] { list-style: none; }
.site fieldset { border: 0; padding: 0; min-width: 0; }
.site legend { padding: 0; }
.site img { display: block; max-width: 100%; height: auto; }
.site :where(a) { color: var(--color-primary-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site :where(a):hover { color: var(--color-primary-ink-hover); }
.site :where(button) { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; text-align: inherit; }
.site :focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; border-radius: 4px; }
.site sup { font-size: 0.62em; line-height: 0; vertical-align: 0.6em; }
.site .i { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.site [hidden] { display: none !important; }
.site .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.site .skip { position: absolute; inset-inline-start: 12px; top: -48px; z-index: 30; padding: 10px 16px; border-radius: var(--radius-button); background: var(--color-surface-raised); color: var(--color-primary-ink); font-weight: 600; }
.site .skip:focus { top: 8px; }
[dir="rtl"] .flip { transform: scaleX(-1); }

.page { display: flex; flex-direction: column; min-height: 100vh; }
.page .page { min-height: 0; }
.page > .ftr { flex-grow: 1; }
.wrap { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--reading { max-width: calc(var(--reading) + 2 * var(--gutter)); }

/* type: headings in the heading face, body on the system stack */
.t-display, .t-h2, .t-h3, .h-serif { font-family: var(--font-heading); }
.t-display { font-size: 36px; line-height: 40px; font-weight: var(--heading-weight); letter-spacing: -0.015em; }
.t-display--long { font-size: 32px; line-height: 37px; }
.t-h2 { font-size: 28px; line-height: 34px; font-weight: var(--heading-weight); letter-spacing: -0.01em; }
.t-h3 { font-size: 21px; line-height: 27px; font-weight: 700; }
.t-lead { font-size: 18px; line-height: 28px; color: var(--color-text-secondary); }
.t-small { font-size: 15px; line-height: 22px; }
.t-caption { font-size: 13px; line-height: 19px; color: var(--color-text-secondary); }
.t-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-ink); }
.t-kicker::before { content: ""; width: 20px; height: 2px; background: var(--color-accent); }
.t-2 { color: var(--color-text-secondary); }
.t-num { font-variant-numeric: tabular-nums; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: 0; z-index: 20; height: var(--header-h); background: var(--color-header); border-block-end: 1px solid var(--color-border); }
.hdr__in { height: 100%; display: flex; align-items: center; gap: var(--s-6); }
.wm { display: inline-flex; align-items: center; min-height: 44px; flex: none; text-decoration: none; }
.site .wm__img { height: 26px; width: auto; max-width: none; }
.hdr__nav { flex: 1; display: none; }
.hdr__nav ul { list-style: none; display: flex; gap: var(--s-1); }
.hdr__nav a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 12px; border-radius: var(--radius-button); color: var(--color-text-primary); font-size: 16px; font-weight: 600; text-decoration: none; }
.site .hdr__nav a:hover { color: var(--color-text-primary); background: var(--color-surface-sunken); }
.site .hdr__nav a[aria-current="page"] { color: var(--color-primary-ink); box-shadow: inset 0 -2px 0 var(--color-accent); border-radius: 0; }
.site .hdr__dl { display: none; }
.hdr__menu { margin-inline-start: auto; }
.menu-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; min-width: 44px; padding-inline: 10px; border-radius: var(--radius-button); font-size: 15px; font-weight: 600; color: var(--color-text-primary); cursor: pointer; }
.menu-btn:hover { background: var(--color-surface-sunken); }
.menu summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu__panel { position: absolute; inset-inline: 0; top: var(--header-h); background: var(--color-header); border-block-end: 1px solid var(--color-border); padding: var(--s-2) var(--gutter) var(--s-6); display: flex; flex-direction: column; gap: var(--s-5); }
.menu__panel ul { list-style: none; display: flex; flex-direction: column; }
.menu__panel li + li { border-block-start: 1px solid var(--color-border); }
.menu__panel li a { display: flex; align-items: center; justify-content: space-between; min-height: 56px; color: var(--color-text-primary); font-family: var(--font-heading); font-size: 21px; font-weight: 500; text-decoration: none; }
.site .menu__panel li a:hover { color: var(--color-primary-ink); }
.menu__panel .i { color: var(--color-text-secondary); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 8px 22px; border-radius: var(--radius-button);
  font-size: 17px; line-height: 22px; font-weight: 600; text-align: center; text-decoration: none; border: 1px solid transparent; }
.site a.btn { text-decoration: none; }
.site .btn--primary { background: var(--color-primary); color: var(--color-on-primary); }
.site .btn--primary:hover, .site .btn--primary.is-hover { background: var(--color-primary-hover); color: var(--color-on-primary); }
.site .btn--secondary { background: var(--color-surface-raised); border-color: var(--color-border-strong); color: var(--color-primary-ink); }
.site .btn--secondary:hover, .site .btn--secondary.is-hover { background: var(--color-surface-sunken); color: var(--color-primary-ink); }
.site .btn--text { min-height: 44px; padding-inline: 10px; color: var(--color-primary-ink); font-weight: 600; }
.site .btn--text:hover, .site .btn--text.is-hover { background: var(--color-primary-soft); }
.site .btn--sm { min-height: 44px; padding: 6px 16px; font-size: 15px; }
.site .btn[disabled], .site .btn[aria-disabled="true"] { background: var(--color-fill-disabled); border-color: transparent; color: var(--color-text-disabled); cursor: default; }
.site .is-focus { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.btn .i { width: 20px; height: 20px; stroke-width: 2; }
.btn--block { width: 100%; }
.btnrow { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

/* store badges: Apple's and Google's official artwork, unmodified */
.stores { display: flex; flex-wrap: wrap; align-items: flex-start; gap: var(--s-3); }
.store { display: inline-flex; align-items: center; min-height: 44px; border-radius: 8px; text-decoration: none; }
.site .store__badge { display: block; height: 44px; width: auto; max-width: none; }
.store--soon { flex-direction: column; align-items: center; gap: 4px; cursor: default; }
.store__soon { font-size: 12px; line-height: 14px; font-weight: 700; color: var(--color-text-secondary); }

/* ---------- Chips, cards ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 3px 12px; border-radius: var(--radius-chip); background: var(--color-surface-sunken); color: var(--color-text-primary); font-size: 14px; line-height: 18px; font-weight: 600; }
.chip .i { width: 16px; height: 16px; }
.lvl { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 28px; padding-inline: 8px; border-radius: var(--radius-badge); border: 1px solid var(--color-accent); color: var(--color-accent-ink); font-size: 14px; font-weight: 700; letter-spacing: 0.02em; }
.card { background: var(--color-surface-raised); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
.sec { padding-block: var(--s-12); border-block-start: 1px solid var(--color-border); }
.sec--tint { background: var(--color-surface); }
.sec__head { display: flex; flex-direction: column; gap: var(--s-2); margin-block-end: var(--s-8); max-width: 720px; }

/* ---------- Home hero ---------- */
.hero { padding-block: var(--s-10) var(--s-12); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-10); align-items: start; }
.hero__text { display: flex; flex-direction: column; gap: var(--s-5); }
.hero__pub { display: flex; flex-direction: column; gap: 4px; padding-block-start: var(--s-4); border-block-start: 1px solid var(--color-border); font-size: 15px; line-height: 22px; color: var(--color-text-secondary); max-width: 560px; }
.hero__pub strong { color: var(--color-text-primary); font-weight: 600; }
.sample { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-5); background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius-card); }
/* the home hero: a deep ground with two soft glows; seven grounds to choose from (.hero--bg-*), petrol by default */
.hero--dark { position: relative; overflow: hidden;
  --hero-ink: #FFFFFF; --hero-lead: #C5D3D6; --hero-accent: #E9B65E; --hero-line: rgba(255, 255, 255, 0.16); --hero-chip: rgba(255, 255, 255, 0.06); --hero-chip-line: rgba(255, 255, 255, 0.22); --hero-ghost: rgba(255, 255, 255, 0.55); --hero-focus: #FFFFFF;
  --hero-bg: radial-gradient(42% 70% at 0% 100%, rgba(224, 166, 66, 0.20) 0%, transparent 70%), radial-gradient(45% 70% at 100% 0%, rgba(108, 196, 211, 0.16) 0%, transparent 70%), linear-gradient(180deg, #0B3039 0%, #08232A 100%);
  color: var(--hero-ink); background: var(--hero-bg); }
[data-theme="dark"] .hero--dark { --hero-bg: radial-gradient(42% 70% at 0% 100%, rgba(224, 166, 66, 0.14) 0%, transparent 70%), radial-gradient(45% 70% at 100% 0%, rgba(108, 196, 211, 0.12) 0%, transparent 70%), linear-gradient(180deg, #0A252C 0%, #071A1F 100%); }
/* pétrole vif: the action colour itself; lighter text tints keep AA */
.hero--dark.hero--bg-petrole-vif { --hero-lead: #DCE8EA; --hero-accent: #F6D28E;
  --hero-bg: radial-gradient(42% 70% at 0% 100%, rgba(224, 166, 66, 0.16) 0%, transparent 70%), radial-gradient(45% 70% at 100% 0%, rgba(255, 255, 255, 0.06) 0%, transparent 70%), linear-gradient(180deg, #0B5C6B 0%, #08495A 100%); }
/* encre: near-black, neutral */
.hero--dark.hero--bg-encre { --hero-lead: #C9C6C0;
  --hero-bg: radial-gradient(42% 70% at 0% 100%, rgba(224, 166, 66, 0.16) 0%, transparent 70%), radial-gradient(45% 70% at 100% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 70%), linear-gradient(180deg, #1A1C1F 0%, #101113 100%); }
/* vert sapin */
.hero--dark.hero--bg-vert { --hero-lead: #CAD8D2;
  --hero-bg: radial-gradient(42% 70% at 0% 100%, rgba(224, 166, 66, 0.18) 0%, transparent 70%), radial-gradient(45% 70% at 100% 0%, rgba(140, 200, 170, 0.12) 0%, transparent 70%), linear-gradient(180deg, #173A31 0%, #0F2721 100%); }
/* aubergine */
.hero--dark.hero--bg-aubergine { --hero-lead: #D8CFE0;
  --hero-bg: radial-gradient(42% 70% at 0% 100%, rgba(224, 166, 66, 0.18) 0%, transparent 70%), radial-gradient(45% 70% at 100% 0%, rgba(190, 150, 210, 0.14) 0%, transparent 70%), linear-gradient(180deg, #2E1A33 0%, #1E1022 100%); }
/* tabac: warm brown */
.hero--dark.hero--bg-tabac { --hero-lead: #DDD2C4;
  --hero-bg: radial-gradient(42% 70% at 0% 100%, rgba(224, 166, 66, 0.22) 0%, transparent 70%), radial-gradient(45% 70% at 100% 0%, rgba(255, 220, 170, 0.07) 0%, transparent 70%), linear-gradient(180deg, #2E241A 0%, #1D1610 100%); }
/* papier: light, the page's paper; in the dark theme it follows the page surface */
.hero--dark.hero--bg-papier { --hero-ink: #1B1A17; --hero-lead: #5B564D; --hero-accent: #85570A; --hero-line: rgba(27, 26, 23, 0.14); --hero-chip: rgba(27, 26, 23, 0.04); --hero-chip-line: rgba(27, 26, 23, 0.20); --hero-ghost: #7A7366; --hero-focus: var(--color-focus);
  --hero-bg: radial-gradient(42% 70% at 0% 100%, rgba(224, 166, 66, 0.16) 0%, transparent 70%), radial-gradient(45% 70% at 100% 0%, rgba(11, 92, 107, 0.07) 0%, transparent 70%), linear-gradient(180deg, #F4EFE4 0%, #EFE8DA 100%); }
[data-theme="dark"] .hero--dark.hero--bg-papier { --hero-ink: #EDE9E2; --hero-lead: #ABA59B; --hero-accent: #E9B65E; --hero-line: rgba(255, 255, 255, 0.14); --hero-chip: rgba(255, 255, 255, 0.05); --hero-chip-line: rgba(255, 255, 255, 0.20); --hero-ghost: rgba(255, 255, 255, 0.5); --hero-focus: #FFFFFF;
  --hero-bg: radial-gradient(42% 70% at 0% 100%, rgba(224, 166, 66, 0.10) 0%, transparent 70%), linear-gradient(180deg, #1C1F22 0%, #17191C 100%); }
.hero--dark .t-lead { color: var(--hero-lead); }
.hero__badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 6px 16px 6px 12px; border-radius: var(--radius-chip);
  border: 1px solid var(--hero-chip-line); background: var(--hero-chip); color: var(--hero-accent); font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__badge .i { width: 22px; height: 22px; color: var(--hero-accent); stroke-width: 1.6; }
.hero__h1 { color: var(--hero-ink); }
.hero__h1 em { font-style: normal; color: var(--hero-accent); }
.hero__hl { display: flex; flex-direction: column; gap: 4px; padding-inline-start: 16px; border-inline-start: 3px solid #E0A642; }
.hero__hl-t { font-size: 18px; line-height: 25px; font-weight: 700; color: var(--hero-ink); }
.hero__hl-s { font-size: 15px; line-height: 22px; color: var(--hero-lead); }
.site .btn--hero { background: #E0A642; color: #1B1A17; }
.site .btn--hero:hover { background: #EBB85E; color: #1B1A17; }
.site .btn--ghost { background: transparent; border-color: var(--hero-ghost, rgba(255, 255, 255, 0.55)); color: var(--hero-ink, #FFFFFF); }
.site .btn--ghost:hover { background: var(--hero-chip, rgba(255, 255, 255, 0.08)); color: var(--hero-ink, #FFFFFF); }
.site .hero--dark :focus-visible { outline-color: var(--hero-focus); }
.hero--dark .hero__pub { border-block-start-color: var(--hero-line); color: var(--hero-lead); }
.hero--dark .hero__pub strong { color: var(--hero-ink); }
.hero--dark .sample { background: var(--color-surface-raised); color: var(--color-text-primary); border-color: transparent; box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28); }
.hero--dark.hero--bg-papier .sample { border-color: var(--color-border); box-shadow: 0 18px 40px rgba(27, 26, 23, 0.10); }
.sample__head { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }
.sample__q { font-family: var(--font-heading); font-size: 22px; line-height: 29px; font-weight: 500; }
.sample .opts { gap: var(--s-2); }
.sample__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; }

/* ---------- Exam in brief ---------- */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-block-start: 1px solid var(--color-border); }
.fact { display: flex; flex-direction: column; gap: 2px; padding: var(--s-4) var(--s-4) var(--s-4) 0; border-block-end: 1px solid var(--color-border); }
.fact__n { font-family: var(--font-heading); font-size: 44px; line-height: 48px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.fact__l { font-size: 15px; line-height: 21px; color: var(--color-text-secondary); }
.fact--wide { grid-column: 1 / -1; }
.themes-nl { list-style: none; display: flex; flex-direction: column; border-block-start: 1px solid var(--color-border); }
.themes-nl li { border-block-end: 1px solid var(--color-border); }
.themes-nl a { display: flex; align-items: center; gap: var(--s-4); min-height: 60px; padding-block: 12px; color: var(--color-text-primary); text-decoration: none; }
.site .themes-nl a:hover { color: var(--color-primary-ink); }
.themes-nl__n { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--color-accent-ink); width: 32px; flex: none; font-variant-numeric: lining-nums tabular-nums; }
.themes-nl__t { flex: 1; font-size: 18px; line-height: 25px; font-weight: 600; }
.themes-nl .i { color: var(--color-text-secondary); }
.brief { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-10); }

/* who must take it */
.who { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); }
.who > li { display: flex; }
.who__card { flex: 1; }
.who__card { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); text-decoration: none; color: var(--color-text-primary); }
.site a.who__card { color: var(--color-text-primary); text-decoration: none; }
.site a.who__card:hover { border-color: var(--color-border-strong); }
.who__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
.who__title { font-family: var(--font-heading); font-size: 22px; line-height: 28px; font-weight: 700; }
.who__more { display: inline-flex; align-items: center; gap: 6px; margin-block-start: auto; color: var(--color-primary-ink); font-size: 16px; font-weight: 600; }
.who__more .i { width: 20px; height: 20px; }

/* ---------- «Notre application : Citizo»: written like the guide (disclosure, answers, fact sheet, text links) ---------- */
.disclose { max-width: 720px; padding: 12px 16px; border-inline-start: 3px solid var(--color-border-strong); background: var(--color-surface); font-size: 15px; line-height: 23px; color: var(--color-text-secondary); }
.appnote { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.appnote__main { display: flex; flex-direction: column; gap: var(--s-6); max-width: var(--reading); }
.qa { display: flex; flex-direction: column; gap: var(--s-2); }
.qa__q { font-family: var(--font-heading); font-size: 22px; line-height: 28px; font-weight: 700; }
.qa p { font-size: 17px; line-height: 28px; }
.ticks { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; }
.ticks .i { width: 22px; height: 22px; color: var(--color-success); stroke-width: 2.25; margin-block-start: 2px; }
.fiche { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border: 1px solid var(--color-border); border-radius: var(--radius-card); background: var(--color-surface); }
.fiche__head { display: flex; align-items: center; gap: 10px; padding-block-end: var(--s-3); border-block-end: 1px solid var(--color-border); }
.site .fiche__stamp { width: 36px; height: 36px; flex: none; }
.fiche__t { font-family: var(--font-heading); font-size: 20px; line-height: 26px; font-weight: 700; }
.fiche__dl { display: flex; flex-direction: column; margin: 0; }
.fiche__dl > div { display: flex; flex-direction: column; gap: 2px; padding-block: 10px; border-block-end: 1px solid var(--color-border); }
.fiche__dl > div:last-child { border-block-end: 0; padding-block-end: 0; }
.fiche__dl dt { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-text-secondary); }
.fiche__dl dd { margin: 0; font-size: 16px; line-height: 23px; }
.tlinks { display: flex; flex-wrap: wrap; gap: 4px var(--s-6); }
.tlinks a { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 600; }
.morelink { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--color-primary-ink); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; border-block-start: 1px solid var(--color-border); }
.faq details { border-block-end: 1px solid var(--color-border); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); min-height: 64px; padding-block: 14px; cursor: pointer;
  font-family: var(--font-heading); font-size: 20px; line-height: 27px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--color-text-secondary); transition: transform 0.2s ease-out; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq summary:hover, .faq summary.is-hover { color: var(--color-primary-ink); }
.faq__a { padding-block-end: var(--s-5); max-width: 680px; display: flex; flex-direction: column; gap: var(--s-2); }

/* ---------- Source note ---------- */
.src { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; line-height: 19px; color: var(--color-text-secondary); }
.src .i { width: 16px; height: 16px; margin-block-start: 1px; color: var(--color-accent-ink); }
.site .src a { color: var(--color-text-secondary); }
.src--rule { padding-block-start: var(--s-3); border-block-start: 1px dashed var(--color-border); }

/* test box (guide, home) */
.tbox { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-4); align-items: center; padding: var(--s-6) var(--s-5); border-radius: var(--radius-card); background: var(--color-primary-soft); border-inline-start: 4px solid var(--color-primary); }
.tbox__text { display: flex; flex-direction: column; gap: 6px; }
.tbox__title { font-family: var(--font-heading); font-size: 23px; line-height: 29px; font-weight: 700; }
.tbox__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 15px; color: var(--color-text-secondary); }

/* ---------- Footer ---------- */
.ftr { padding-block: var(--s-10) var(--s-8); background: var(--color-surface); border-block-start: 1px solid var(--color-border); }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-8); }
.ftr__brand { display: flex; flex-direction: column; gap: var(--s-3); max-width: 420px; }
.ftr__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-6); }
.ftr h2 { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-secondary); margin-block-end: var(--s-2); }
.ftr ul { list-style: none; display: flex; flex-direction: column; }
.ftr li a { display: inline-block; min-height: 44px; padding-block: 10px; color: var(--color-text-primary); font-size: 16px; line-height: 24px; text-decoration: none; }
.site .ftr li a:hover { color: var(--color-primary-ink); text-decoration: underline; }
.ftr li a .i { width: 16px; height: 16px; color: var(--color-text-secondary); margin-inline-start: 6px; vertical-align: -2px; }
.ftr__legal { margin-block-start: var(--s-8); padding-block-start: var(--s-6); border-block-start: 1px solid var(--color-border); display: flex; flex-direction: column; gap: var(--s-2); font-size: 14px; line-height: 21px; color: var(--color-text-secondary); }
.ftr__legal strong { color: var(--color-text-primary); font-weight: 600; }
.ftr__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-6); }
.ftr__links { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.ftr__links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Free test ---------- */
.test { padding-block: var(--s-6) var(--s-12); }
.test__in, .test__in > [data-screen] { display: flex; flex-direction: column; gap: var(--s-5); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 14px; line-height: 20px; color: var(--color-text-secondary); }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: var(--color-text-secondary); }
.crumbs .i { width: 14px; height: 14px; }

.opts { display: flex; flex-direction: column; gap: var(--s-3); }
.opt { position: relative; display: flex; align-items: flex-start; gap: 14px; min-height: 56px; padding: 12px 14px; border-radius: var(--radius-option);
  background: var(--color-surface-raised); border: 1px solid var(--color-border-strong); cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.opt__key { width: 30px; height: 30px; border-radius: var(--radius-badge); border: 1px solid var(--color-border-strong); font-family: var(--font-heading); font-size: 16px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex: none; }
.opt__body { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; padding-block-start: 3px; }
.opt__txt { font-size: 17px; line-height: 24px; }
.opt__state { display: flex; align-items: center; gap: 4px; font-size: 13px; line-height: 18px; font-weight: 700; }
.opt__state .i { width: 16px; height: 16px; stroke-width: 2.5; }
.opt:hover, .opt.is-hover { background: var(--color-surface-sunken); }
.opt:has(input:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.opt.is-selected, .opts:not(.is-done) .opt:has(input:checked), .pick .opt:has(input:checked) { background: var(--color-primary-soft); border-color: var(--color-primary); box-shadow: inset 0 0 0 1px var(--color-primary); }
.opt.is-selected .opt__key, .opts:not(.is-done) .opt:has(input:checked) .opt__key { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-on-primary); }
.opts.is-done .opt { cursor: default; }
.opts.is-done .opt:hover { background: var(--color-surface-raised); }
.opt.is-right { background: var(--color-success-soft); border-color: var(--color-success); }
.opt.is-right .opt__key { background: var(--color-success); border-color: var(--color-success); color: var(--color-background); }
.opt.is-right .opt__state { color: var(--color-success); }
.opt.is-missed { border-color: var(--color-success); border-style: dashed; }
.opt.is-missed .opt__key { border-color: var(--color-success); color: var(--color-success); }
.opt.is-missed .opt__state { color: var(--color-success); }
.opt.is-wrong { background: var(--color-error-soft); border-color: var(--color-error); }
.opt.is-wrong .opt__key { background: var(--color-error); border-color: var(--color-error); color: var(--color-background); }
.opt.is-wrong .opt__state { color: var(--color-error); }
.opt.is-dim { background: transparent; border-color: var(--color-border); color: var(--color-text-secondary); }
.opt.is-dim .opt__key { border-color: var(--color-border); }
.opts.is-done .opt.is-right:hover { background: var(--color-success-soft); }
.opts.is-done .opt.is-wrong:hover { background: var(--color-error-soft); }
.opts.is-done .opt.is-dim:hover { background: transparent; }

.qhead { display: flex; flex-direction: column; gap: var(--s-3); }
.qbar { display: flex; align-items: center; gap: var(--s-3); }
.qbar__count { font-family: var(--font-heading); font-size: 20px; line-height: 24px; font-weight: 700; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.bar { position: relative; flex: 1; height: 6px; border-radius: 3px; background: var(--color-surface-sunken); overflow: hidden; }
.bar > span { position: absolute; inset-block: 0; inset-inline-start: 0; border-radius: 3px; background: var(--color-primary); }
.stem { padding: var(--s-5); }
.stem__q { font-family: var(--font-heading); font-size: 23px; line-height: 30px; font-weight: 500; }
.qactions { display: flex; flex-direction: column; gap: var(--s-3); }
.fb { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); border-radius: var(--radius-card); background: var(--color-surface-raised); border: 1px solid var(--color-border); }
.fb__title { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 23px; line-height: 29px; font-weight: 700; }
.fb__title .i { width: 26px; height: 26px; stroke-width: 2; }
.fb--wrong { border-inline-start: 4px solid var(--color-error); }
.fb--right { border-inline-start: 4px solid var(--color-success); }
.fb--wrong .fb__title { color: var(--color-error); }
.fb--right .fb__title { color: var(--color-success); }
.fb__good { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-option); background: var(--color-success-soft); }
.fb__good .opt__key { width: 28px; height: 28px; background: var(--color-success); border-color: var(--color-success); color: var(--color-background); font-size: 15px; }
.fb__goodlbl { font-size: 13px; line-height: 18px; font-weight: 700; color: var(--color-success); }
.fb__why { display: flex; flex-direction: column; gap: 4px; }
.fb__why h3 { font-size: 16px; line-height: 22px; font-weight: 700; }
.credits { display: flex; flex-wrap: wrap; gap: 6px; }
.credit { display: inline-flex; align-items: center; min-height: 26px; padding: 2px 10px; border-radius: var(--radius-chip); background: var(--color-surface-sunken); font-size: 13px; line-height: 18px; color: var(--color-text-secondary); }

.pick { display: flex; flex-direction: column; gap: var(--s-3); }
.pick .opt { align-items: center; }
.pick .opt__body { padding-block-start: 0; }
.pick__dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--color-border-strong); flex: none; display: flex; align-items: center; justify-content: center; background: var(--color-surface-raised); }
.opt:has(input:checked) .pick__dot, .opt.is-selected .pick__dot { border-color: var(--color-primary); }
.opt:has(input:checked) .pick__dot::after, .opt.is-selected .pick__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--color-primary); }
.pick__name { font-size: 17px; line-height: 23px; font-weight: 600; }
.pick__lvl { font-size: 14px; line-height: 20px; color: var(--color-text-secondary); }
.meta { display: flex; flex-wrap: wrap; gap: var(--s-2); }

/* result */
.score { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); }
.score__top { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.score__num { font-family: var(--font-heading); font-size: 64px; line-height: 64px; font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.score__num span { font-size: 30px; color: var(--color-text-secondary); }
.score__verdict { font-family: var(--font-heading); font-size: 22px; line-height: 28px; font-weight: 700; }
.score__line { max-width: 540px; }
.score__body { display: flex; flex-direction: column; gap: var(--s-2); }
/* «Réussi»: a typographic label in this site's style (no seal, no laurels) */
.passed { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding-inline: 14px 18px; border: 2px solid var(--color-success); border-radius: var(--radius-badge); color: var(--color-success); background: var(--color-success-soft);
  font-family: var(--font-heading); font-size: 20px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.passed .i { width: 22px; height: 22px; stroke-width: 2.5; }
.marks { list-style: none; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.marks li { height: 8px; border-radius: 4px; background: var(--color-success); }
.marks li.is-wrong { background: var(--color-error); }
.rlist { list-style: none; display: flex; flex-direction: column; }
.rlist > li { border-block-end: 1px solid var(--color-border); }
.rlist > li:last-child { border-block-end: 0; }
.rlist details > summary { list-style: none; display: flex; align-items: flex-start; gap: 12px; min-height: 56px; padding: 14px var(--s-5); cursor: pointer; }
.rlist details > summary::-webkit-details-marker { display: none; }
.rlist details > summary:hover { background: var(--color-surface); }
.rlist__n { width: 26px; flex: none; font-family: var(--font-heading); font-size: 17px; line-height: 24px; font-weight: 700; color: var(--color-accent-ink); font-variant-numeric: lining-nums tabular-nums; }
.rlist__q { flex: 1; min-width: 0; font-size: 16px; line-height: 24px; }
.rlist__mark { display: inline-flex; align-items: center; gap: 4px; flex: none; height: 26px; padding-inline: 8px; border-radius: var(--radius-chip); font-size: 13px; font-weight: 700; }
.rlist__mark .i { width: 14px; height: 14px; stroke-width: 2.75; }
.rlist__mark--ok { background: var(--color-success-soft); color: var(--color-success); }
.rlist__mark--ko { background: var(--color-error-soft); color: var(--color-error); }
.rlist__chev { width: 20px; height: 20px; color: var(--color-text-secondary); margin-block-start: 2px; }
.rlist details[open] .rlist__chev { transform: rotate(180deg); }
.rlist__x { padding-block: 0 var(--s-5); padding-inline: calc(var(--s-5) + 38px) var(--s-5); display: flex; flex-direction: column; gap: var(--s-2); font-size: 16px; line-height: 24px; }
.cont { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-6) var(--s-5); }

/* ---------- Questions ---------- */
.tcards { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s-3); }
.tcard { display: flex; align-items: flex-start; gap: var(--s-4); padding: var(--s-5); height: 100%; text-decoration: none; color: var(--color-text-primary); }
.site a.tcard { color: var(--color-text-primary); text-decoration: none; }
.site a.tcard:hover { border-color: var(--color-border-strong); background: var(--color-surface-raised); }
.tcard__n { font-family: var(--font-heading); font-size: 34px; line-height: 36px; font-weight: 500; color: var(--color-accent-ink); width: 44px; flex: none; font-variant-numeric: lining-nums tabular-nums; }
.tcard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.tcard__t { font-family: var(--font-heading); font-size: 22px; line-height: 28px; font-weight: 700; }
.tcard__counts { display: flex; flex-wrap: wrap; gap: 6px; }
.tcard .i { color: var(--color-primary-ink); margin-block-start: 6px; }

.seg { display: flex; flex-direction: column; gap: var(--s-2); }
.seg__lbl { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--color-text-secondary); }
.seg__opts { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.seg__opt { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding-inline: 16px; border-radius: var(--radius-chip); border: 1px solid var(--color-border-strong); background: var(--color-surface-raised); font-size: 15px; font-weight: 600; cursor: pointer; }
.seg__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg__opt:has(input:checked), .seg__opt.is-on { background: var(--color-text-primary); border-color: var(--color-text-primary); color: var(--color-background); }
.seg__opt:has(input:focus-visible) { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.qwrap .qlist[data-d] { display: none; }
.qwrap:has(#d-csp:checked) .qlist[data-d="csp"], .qwrap:has(#d-cr:checked) .qlist[data-d="cr"], .qwrap:has(#d-nat:checked) .qlist[data-d="nat"], .qwrap .qlist.is-shown { display: flex; }

.qlist { list-style: none; display: flex; flex-direction: column; border-block-start: 1px solid var(--color-border); }
.qitem { display: flex; gap: var(--s-3); padding-block: var(--s-4); border-block-end: 1px solid var(--color-border); }
.qitem__n { width: 30px; flex: none; font-family: var(--font-heading); font-size: 18px; line-height: 27px; font-weight: 700; color: var(--color-accent-ink); font-variant-numeric: lining-nums tabular-nums; }
.qitem__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--s-2); }
.qitem__q { font-size: 18px; line-height: 27px; font-weight: 500; }
.qitem details > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--color-primary-ink); font-weight: 600; cursor: pointer; }
.qitem details > summary::-webkit-details-marker { display: none; }
.qitem details > summary .i { width: 18px; height: 18px; transition: transform 0.2s ease-out; }
.qitem details[open] > summary .i { transform: rotate(180deg); }
.qitem details[open] > summary .when-closed, .qitem details:not([open]) > summary .when-open { display: none; }
.qans { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-4); margin-block-start: var(--s-1); border-radius: var(--radius-option); background: var(--color-surface); border: 1px solid var(--color-border); }
.qans__a { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.qans__a .opt__key { width: 28px; height: 28px; background: var(--color-success); border-color: var(--color-success); color: var(--color-background); font-size: 15px; }
.qans p { font-size: 16px; line-height: 25px; }
.qitem--locked .qitem__q { color: var(--color-text-primary); }
.lockbtn { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; min-height: 44px; padding-inline: 2px 4px; color: var(--color-text-secondary); font-size: 15px; font-weight: 600; cursor: pointer; }
.lockbtn .i { width: 18px; height: 18px; }
.site .lockbtn:hover, .lockbtn.is-hover { color: var(--color-primary-ink); }
.qband { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); flex-wrap: wrap; margin-block: var(--s-4); padding: 12px var(--s-4); border-radius: var(--radius-option); background: var(--color-accent-soft); color: var(--color-text-primary); text-decoration: none; }
.site a.qband { color: var(--color-text-primary); text-decoration: none; }
.qband__t { font-weight: 600; }
.qband__go { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--color-accent-ink); font-weight: 700; }
.qband__go .i { width: 20px; height: 20px; }
.qnav { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; margin-block-start: var(--s-6); }

/* the small sheet behind a locked item: a popover (no script) */
.sheet { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; border: 0; padding: 0; background: transparent; color: var(--color-text-primary); }
.sheet::backdrop { background: rgba(10, 12, 14, 0.40); }
.sheet__in { display: flex; flex-direction: column; gap: var(--s-4); padding: var(--s-3) var(--s-5) var(--s-8); background: var(--color-surface-raised); border-radius: var(--radius-panel) var(--radius-panel) 0 0; border: 1px solid var(--color-border); border-block-end: 0; }
.sheet__grab { align-self: center; width: 40px; height: 4px; border-radius: 2px; background: var(--color-border-strong); }
.sheet__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s-3); }
.sheet__t { font-family: var(--font-heading); font-size: 23px; line-height: 29px; font-weight: 700; }
.sheet__x { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: -8px -10px 0 0; border-radius: 50%; color: var(--color-text-secondary); cursor: pointer; }
.sheet__x:hover { background: var(--color-surface-sunken); }
/* drawn open on the canvas: in the flow, at the bottom of the frame */
.sheet--drawn { position: fixed; inset: auto 0 0 0; z-index: 25; }
.scrim { position: fixed; inset: 0; z-index: 24; background: rgba(10, 12, 14, 0.40); }

/* ---------- Guide ---------- */
.art { padding-block: var(--s-6) var(--s-12); }
.art__in { display: flex; flex-direction: column; gap: var(--s-6); }
.art__head { display: flex; flex-direction: column; gap: var(--s-3); }
.art__answer { font-family: var(--font-heading); font-size: 21px; line-height: 31px; font-weight: 500; padding-block: var(--s-5); border-block: 2px solid var(--color-text-primary); }
.art h2 { font-family: var(--font-heading); font-size: 28px; line-height: 34px; font-weight: 500; letter-spacing: -0.01em; margin-block-start: var(--s-6); }
.art__in > p:not([class]), .art__in > ul > li { font-size: 18px; line-height: 29px; }
.art ul.list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.art ul.list li { position: relative; padding-inline-start: 22px; }
.art ul.list li::before { content: ""; position: absolute; inset-inline-start: 2px; top: 12px; width: 7px; height: 7px; background: var(--color-accent); }
.toc { display: flex; flex-direction: column; gap: 4px; padding: var(--s-4) var(--s-5); border-radius: var(--radius-option); background: var(--color-surface); border: 1px solid var(--color-border); }
.toc ol { display: flex; flex-direction: column; padding-inline-start: 20px; }
.toc li::marker { color: var(--color-accent-ink); font-weight: 700; }
.toc a { display: inline-flex; min-height: 40px; align-items: center; font-size: 16px; }
.tbl-wrap { overflow-x: auto; border-radius: var(--radius-option); border: 1px solid var(--color-border); background: var(--color-surface-raised); }
.tbl { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 22px; min-width: 520px; }
.tbl caption { text-align: start; padding: 12px 16px; font-size: 13px; line-height: 19px; color: var(--color-text-secondary); caption-side: bottom; }
.tbl th, .tbl td { text-align: start; padding: 13px 16px; border-block-end: 1px solid var(--color-border); vertical-align: top; }
.tbl thead th { font-size: 13px; line-height: 18px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-secondary); background: var(--color-surface); }
.tbl tbody th { font-weight: 600; }
.updated { font-size: 14px; line-height: 20px; color: var(--color-text-secondary); }

/* ---------- 404 ---------- */
.lost { padding-block: var(--s-12) var(--s-16); }
.lost__in { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-5); max-width: 640px; }
.lost__code { font-family: var(--font-heading); font-size: 120px; line-height: 110px; font-weight: 500; letter-spacing: -0.04em; color: var(--color-text-primary); }
.lost__code span { color: var(--color-accent); }
.lost__links { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
.lost__links a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Breakpoints ---------- */
@container site (min-width: 768px) {
  .page { --gutter: 32px; }
  .t-display { font-size: 48px; line-height: 52px; }
  .t-h2 { font-size: 34px; line-height: 40px; }
  .t-display--long { font-size: 40px; line-height: 46px; }
  .t-lead { font-size: 20px; line-height: 31px; }
  .sec { padding-block: var(--s-16); }
  .hero { padding-block: var(--s-12) var(--s-16); }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact--wide { grid-column: auto; }
  .who { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tbox { grid-template-columns: minmax(0, 1fr) auto; padding: var(--s-6); }
  .ftr__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .test__in { max-width: 680px; margin-inline: auto; }
  .qactions { flex-direction: row; justify-content: flex-end; }
  .score, .cont { padding: var(--s-6); }
  .score__num { font-size: 76px; line-height: 76px; }
  .tcards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .art h2 { font-size: 32px; line-height: 38px; }
  .sheet { inset: 0; margin: auto; width: min(440px, calc(100% - 64px)); height: max-content; }
  .sheet__in { border-radius: var(--radius-panel); border-block-end: 1px solid var(--color-border); padding: var(--s-6); }
  .sheet__grab { display: none; }
  .sheet--drawn { inset: 50% auto auto 50%; transform: translate(-50%, -50%); width: 440px; }
}
@container site (min-width: 1024px) {
  .page { --gutter: 40px; }
  .t-display { font-size: 62px; line-height: 64px; }
  .t-display--long { font-size: 46px; line-height: 52px; }
  .t-h2 { font-size: 40px; line-height: 46px; }
  .hdr__nav { display: flex; justify-content: center; }
  .site .hdr__dl { display: inline-flex; }
  .hdr__menu { display: none; }
  .hero { padding-block: var(--s-20) var(--s-24); }
  .hero__grid { align-items: center; }
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--s-16); }
  .brief { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-16); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact--wide { grid-column: 1 / -1; }
  .fact__n { font-size: 56px; line-height: 60px; }
  .sec { padding-block: var(--s-20); }
  .ftr__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .appnote { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--s-16); }
  .fiche { position: sticky; top: calc(var(--header-h) + 24px); }
  .tcards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .qpage { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: var(--s-16); align-items: start; }
  .qaside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.qaside { display: flex; flex-direction: column; gap: var(--s-4); }
.site .qaside .tbox { grid-template-columns: minmax(0, 1fr); padding: var(--s-5); }
.qaside .tbox .btn { width: 100%; }
.site .themes-nl a[aria-current="page"] .themes-nl__t { color: var(--color-primary-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }

@media (prefers-reduced-motion: reduce) {
  .site *, .site *::before, .site *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Phase 1 build (not in the export) ---------- */
.qlist > .qlist__band { list-style: none; }
.chip--free { background: var(--color-success-soft); color: var(--color-success); }
.qsrc { display: flex; flex-direction: column; gap: 6px; }
/* The footer wordmark is a bare <img> (no dark <picture>): keep it at its own width, not stretched by the column. */
.ftr__brand .wm__img { align-self: flex-start; }
/* A list item that is only a link (the guide's five themes) gets a 44 px target (brief #159 §6). */
.art .list li > a:only-child { display: inline-flex; align-items: center; min-height: 44px; }
.art ul.list li:has(> a:only-child)::before { top: 19px; }
/* An anchor (#qui, the guide's table of contents) lands below the sticky 64 px header, not under it. */
html { scroll-padding-block-start: 80px; }
/* While the explanation shows, «Question suivante» stays at the bottom of the screen, as the app's panel does:
   on a phone the stem and four options already fill it (gaureac/citizo#161). */
.qactions--pinned { position: sticky; bottom: 0; z-index: 10; margin-inline: calc(-1 * var(--gutter)); padding: var(--s-3) var(--gutter) max(var(--s-3), env(safe-area-inset-bottom)); background: var(--color-background); border-block-start: 1px solid var(--color-border); }
/* … and the focused «Bonne réponse» title scrolls clear of that bar instead of under it. */
html:has(.qactions--pinned) { scroll-padding-block-end: 96px; }
/* «Une relation à connaître», the home's last block: who publishes the site, linked to /transparence/.
   The disclosure's own surface and the kicker's ocre rule; the icon is the source notes' document. */
.relnote { display: flex; align-items: flex-start; gap: var(--s-3); margin-block-start: var(--s-10); padding: var(--s-5); border-radius: var(--radius-card); background: var(--color-surface); border-inline-start: 4px solid var(--color-accent); }
.relnote > .i { color: var(--color-accent-ink); margin-block-start: 2px; }
.relnote__body { display: flex; flex-direction: column; gap: var(--s-2); }
.relnote__t { font-family: var(--font-heading); font-size: 21px; line-height: 27px; font-weight: 700; }
.relnote p { font-size: 16px; line-height: 25px; }
.relnote .morelink { align-self: flex-start; }
