/* Mise en page : style épuré inspiré d'Apple — page blanche, tuiles grises arrondies, police système, un seul accent vert.
   Outils en deux colonnes (paramètres à gauche, résultat à droite), une colonne sur téléphone. */
:root {
  --bg: #FFFFFF;
  --surface: #DFEFE5;
  --raised: #FFFFFF;
  --ink: #1D1D1F;
  --muted: #56635C;
  --line: #CDE0D4;
  --track: #CAE2D3;
  --seg-on: #FFFFFF;
  --on-pine: #FFFFFF;
  --snow: rgba(26, 122, 87, .16);
  --key-light: #F1CF8E;
  --pine: #1A7A57;
  --pine-soft: #CCE8D8;
  --key: #C98516;
  --key-soft: #FCF3E3;
  --nav-bg: rgba(255, 255, 255, .8);
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-num: var(--font-body);
  --radius: 20px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #000000; --surface: #1C1C1E; --raised: #2C2C2E; --ink: #F5F5F7; --muted: #98989D; --line: #2C2C2E; --track: #2C2C2E; --seg-on: #636366; --on-pine: #04170E; --snow: rgba(76, 195, 138, .16); --key-light: #7A5A22;
    --pine: #4CC38A; --pine-soft: #11291F; --key: #F0A43A; --key-soft: #2A2010; --nav-bg: rgba(0, 0, 0, .72);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #000000; --surface: #1C1C1E; --raised: #2C2C2E; --ink: #F5F5F7; --muted: #98989D; --line: #2C2C2E; --track: #2C2C2E; --seg-on: #636366; --on-pine: #04170E; --snow: rgba(76, 195, 138, .16); --key-light: #7A5A22;
  --pine: #4CC38A; --pine-soft: #11291F; --key: #F0A43A; --key-soft: #2A2010; --nav-bg: rgba(0, 0, 0, .72);
  color-scheme: dark;
}

/* Pages secondaires (sans le squelette de publication) */
html.sub { padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
[hidden] { display: none !important; }
img { max-width: 100%; }

* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.47; letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-block: 0 56px;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
.wrap { max-width: 1080px; margin: 0 auto; display: grid; gap: 56px; }
a { color: var(--pine); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 2px; border-radius: 6px; }

/* Navigation translucide */
.topnav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px;
  padding: 14px 0; margin-bottom: -24px;
  background: var(--nav-bg); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--ink); letter-spacing: -0.02em; }
.brand span { color: var(--pine); }
.brand:hover { text-decoration: none; }
.navlinks { display: flex; flex-wrap: wrap; gap: 2px 18px; }
.navlinks a { font-size: 14px; color: var(--muted); padding: 4px 0; }
.navlinks a:hover { color: var(--ink); text-decoration: none; }
.navlinks a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.chip { display: none; }

header { display: grid; gap: 12px; max-width: 760px; padding-top: 32px; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--pine); }
h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.035em; margin: 0; text-wrap: balance; }
.h1-lead { color: var(--pine); }
.lede { color: var(--muted); margin: 0; font-size: clamp(19px, 2.4vw, 21px); line-height: 1.4; letter-spacing: -0.015em; }
h2 { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.025em; margin: 0; }

.grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 860px) { .grid { grid-template-columns: minmax(0, 1fr); } }

.panel { background: var(--surface); border-radius: var(--radius); padding: 28px; display: grid; gap: 26px; }
@media (max-width: 480px) { .panel { padding: 22px 18px; } }

/* Champs */
.field { display: grid; gap: 10px; }
.field-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.field label, .field-label { font-weight: 600; font-size: 15px; }
.pane label { font-weight: 400; }
.field .hint { font-size: 13px; color: var(--muted); line-height: 1.4; }
.num-in {
  width: 124px; flex-shrink: 0; text-align: right; font: 500 16px var(--font-num); font-variant-numeric: tabular-nums;
  padding: 8px 12px; border: 0; border-radius: 10px; background: var(--raised); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}
.num-in:focus-visible { outline: 2px solid var(--pine); outline-offset: 1px; }
select.num-in { text-align: left; width: 150px; }
input[type=range] { width: 100%; accent-color: var(--pine); margin: 0; }

.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 2px; background: var(--track); border-radius: 10px; }
.seg button { font: 500 14px var(--font-body); color: var(--ink); background: transparent; border: 0; border-radius: 8px; padding: 8px 8px; cursor: pointer; }
.seg button[aria-selected="true"] { background: var(--seg-on); font-weight: 600; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.pane { display: grid; gap: 12px; padding-top: 2px; }
.hourly-out { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--raised); font-size: 15px; color: var(--muted); }
.hourly-out strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.check { display: flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; font-size: 15px; }
.check input { width: 20px; height: 20px; accent-color: var(--pine); margin: 0; }
.duo-body { display: grid; gap: 10px; padding-top: 4px; }

/* Résultats */
.results { display: grid; gap: 24px; }
.hero-num { background: var(--surface); border-radius: var(--radius); padding: 32px 28px; display: grid; gap: 6px; }
.hero-num .lbl { font-size: 15px; font-weight: 600; color: var(--pine); }
.hero-num .big { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 8vw, 72px); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.hero-num .sub { color: var(--muted); font-size: 15px; line-height: 1.45; }

.breakdown { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0 4px; }
@media (max-width: 640px) { .breakdown { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { display: grid; gap: 4px; align-content: start; }
.stat .k { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.stat.c .k::before, .stat.g .k::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.stat.c .k::before { background: var(--pine); }
.stat.g .k::before { background: var(--key); }
.stat .v { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.chart-box { display: grid; gap: 14px; }
.chart-box h2 { font-size: 17px; }
.legend { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; color: var(--muted); }
.legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }
.legend .lc::before { background: var(--pine); }
.legend .lg::before { background: var(--key); }
.chart-scroll { overflow-x: auto; }
svg text { fill: var(--muted); font-family: var(--font-body); font-size: 11px; }
svg .grid-line { stroke: var(--line); stroke-width: 1; }
svg .bar-c { fill: var(--pine); }
svg .bar-g { fill: var(--key); }

.taxline { font-size: 15px; color: var(--muted); margin: 0; padding: 0 4px; line-height: 1.5; }
.taxline strong { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.warn { font-size: 14px; background: var(--key-soft); border-radius: 14px; padding: 12px 16px; margin: 0; }

/* Emplacement partenaire */
.cta { background: var(--surface); border-radius: var(--radius); padding: 20px 24px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; font-size: 15px; }
.cta p { margin: 0; min-width: 0; flex: 1 1 240px; color: var(--muted); }
.cta p strong { color: var(--ink); }
.cta .tag { display: inline-block; font-size: 12px; color: var(--muted); margin-bottom: 2px; }
.btn { font: 600 15px var(--font-body); background: var(--pine); color: var(--on-pine); border: 0; border-radius: 980px; padding: 10px 20px; cursor: not-allowed; opacity: .55; }
a.btn { cursor: pointer; opacity: 1; display: inline-block; }

/* Renvoi vers le CELIAPP */
.promo { background: var(--surface); border-radius: var(--radius); padding: 32px 28px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; }
.promo p { margin: 0; flex: 1 1 300px; min-width: 0; color: var(--muted); }
.promo strong { font-family: var(--font-display); font-size: 24px; letter-spacing: -0.025em; display: block; margin-bottom: 6px; color: var(--ink); }
.promo a { background: var(--pine); color: var(--on-pine); font-weight: 600; padding: 11px 22px; border-radius: 980px; font-size: 15px; }
.promo a:hover { text-decoration: none; filter: brightness(1.08); }

.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 860px) { .rules { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.rule { display: grid; gap: 6px; align-content: start; }
.rule .r-num { font-family: var(--font-display); font-weight: 700; font-size: 30px; letter-spacing: -0.03em; color: var(--pine); }
.rule p { margin: 0; color: var(--muted); font-size: 15px; }

.subhead { display: grid; gap: 18px; }
.subhead > p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pied de page commun */
footer { font-size: 13px; color: var(--muted); max-width: 760px; display: grid; gap: 8px; line-height: 1.5; }
footer p { margin: 0; }
.site-footer { border-top: 1px solid var(--line); padding-top: 24px; max-width: none; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer nav a { color: var(--muted); }
.site-footer nav a:hover { color: var(--ink); }

/* ---------- Cartes d'outils ---------- */
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.tool { display: flex; align-items: center; gap: 16px; padding: 20px; background: var(--surface); border-radius: var(--radius); color: var(--ink); transition: transform .2s ease; }
.tool:hover { text-decoration: none; transform: scale(1.015); }
.tool-ico { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--raised); color: var(--pine); }
.tool-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tool.t-reer .tool-ico { color: var(--key); }
.tool.t-celiapp .tool-ico { background: var(--pine); color: var(--on-pine); }
.tool-txt { display: grid; gap: 2px; min-width: 0; flex: 1; }
.tool-txt strong { font-weight: 600; font-size: 17px; letter-spacing: -0.02em; line-height: 1.25; }
.tool-txt span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.tool-go { flex: none; font-size: 18px; color: var(--muted); transition: transform .2s ease; }
.tool:hover .tool-go { transform: translateX(3px); color: var(--pine); }
.aside .tools { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.aside .tool { padding: 14px; gap: 12px; }
.aside .tool-ico { width: 40px; height: 40px; border-radius: 10px; }
.aside .tool-ico svg { width: 22px; height: 22px; }
.aside .tool-txt strong { font-size: 15px; }
.aside .tool-txt span { font-size: 13px; }
.aside-title { font-size: 13px; font-weight: 600; color: var(--muted); margin: 0; }
@media (prefers-reduced-motion: reduce) { .tool, .tool-go { transition: none; } .tool:hover { transform: none; } }

/* ---------- Section Articles ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { font: 500 14px var(--font-body); color: var(--ink); background: var(--surface); border: 0; border-radius: 980px; padding: 8px 16px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; color: var(--ink); transition: transform .2s ease; }
a.card:hover { text-decoration: none; transform: scale(1.01); }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 1.2; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.45; }
.card .meta { font-size: 13px; color: var(--muted); }
.cat { justify-self: start; font-size: 12px; font-weight: 600; color: var(--pine); }
.card.featured h3 { font-size: 22px; }
.empty { color: var(--muted); }
.pinned-label { font-size: 12px; font-weight: 600; color: var(--key); }
#cards .card.featured { grid-column: 1 / -1; padding: 32px; }
#cards .card.featured h3 { font-size: clamp(24px, 3.4vw, 32px); letter-spacing: -0.03em; }
@media (prefers-reduced-motion: reduce) { .card { transition: none; } a.card:hover { transform: none; } }

/* Gabarit d'article */
.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--muted); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
@media (max-width: 980px) { .article-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; } }
.article-head { display: grid; gap: 14px; max-width: 760px; padding-top: 32px; }
.byline { font-size: 14px; color: var(--muted); margin: 0; }
.prose { max-width: 680px; font-size: 19px; line-height: 1.6; letter-spacing: -0.012em; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(26px, 3.4vw, 32px); font-weight: 700; letter-spacing: -0.03em; margin-top: 1.9em; line-height: 1.12; text-wrap: balance; scroll-margin-top: 80px; }
.prose h3 { font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-top: 1.4em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose strong { font-weight: 600; }
.toc { background: var(--surface); border-radius: var(--radius); padding: 22px 24px; font-size: 16px; }
.toc strong { display: block; font-size: 13px; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.toc ol { margin: 0; padding-left: 1.2em; display: grid; gap: 4px; }
.toc a { color: var(--ink); }
.toc a:hover { color: var(--pine); }
.callout { background: var(--key-soft); border-radius: 16px; padding: 18px 20px; font-size: 17px; line-height: 1.5; }
.callout.tip { background: var(--pine-soft); }
.callout strong:first-child { display: block; margin-bottom: 4px; }
.table-wrap { overflow-x: auto; }
.prose table { border-collapse: collapse; width: 100%; font-size: 16px; }
.prose th, .prose td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); }
.prose th { font-size: 13px; font-weight: 600; color: var(--muted); }
.prose td.n { font-variant-numeric: tabular-nums; text-align: right; }
.prose th.n { text-align: right; }
.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: var(--surface); border-radius: var(--radius); padding: 22px 24px; font-size: 16px; }
.inline-cta p { margin: 0; flex: 1 1 260px; color: var(--muted); }
.inline-cta p strong { color: var(--ink); }
.inline-cta a { background: var(--pine); color: var(--on-pine); font-weight: 600; padding: 10px 20px; border-radius: 980px; font-size: 15px; }
.inline-cta a:hover { text-decoration: none; filter: brightness(1.08); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 10px 0 0; color: var(--muted); }
.sources { font-size: 15px; color: var(--muted); }
.sources ul { margin: 8px 0 0; padding-left: 1.2em; display: grid; gap: 4px; }
.sources a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.sources a:hover { color: var(--ink); }
.related { margin-top: 3em; display: grid; gap: 16px; }
.related h2 { margin-top: 0; font-size: 22px; }
.related .cards { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.related .card { padding: 18px; }
.related .card h3 { font-size: 16px; }
.related .card p { display: none; }
.aside { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 84px); display: grid; gap: 14px; }
@media (max-width: 980px) { .aside { position: static; } }
.aside .panel { gap: 12px; padding: 22px; }
.aside .panel h2 { font-size: 19px; }
.aside .panel p { margin: 0; color: var(--muted); font-size: 15px; }
.aside .big-cta { display: block; text-align: center; background: var(--pine); color: var(--on-pine); font-weight: 600; padding: 11px 14px; border-radius: 980px; font-size: 15px; }
.aside .big-cta:hover { text-decoration: none; filter: brightness(1.08); }
.disclosure { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; }

/* ---------- Contenu SEO des pages d'outils ---------- */
.content-block { display: grid; gap: 14px; max-width: 760px; }
.content-block h2 { font-size: clamp(26px, 3.6vw, 34px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.content-block p, .content-block li { font-size: 17px; line-height: 1.55; }
.content-block p { margin: 0; }
.content-block ul, .content-block ol { margin: 0; padding-left: 1.3em; display: grid; gap: 8px; }
.content-block .note { font-size: 15px; color: var(--muted); }
table.data { border-collapse: collapse; width: 100%; font-size: 16px; }
table.data th, table.data td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.data th { font-size: 13px; font-weight: 600; color: var(--muted); }
table.data .n { text-align: right; font-variant-numeric: tabular-nums; }
table.data td:first-child { font-weight: 500; }
.steps li::marker { font-weight: 600; color: var(--pine); }
.content-block .faq summary { font-size: 17px; }
.sources.content-block ul { font-size: 15px; }
header .byline a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.quicklink { font-size: 15px; font-weight: 500; }

/* Bouton clair / sombre */
.navlinks { align-items: center; }
.theme-btn { display: inline-grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--muted); cursor: pointer; }
.theme-btn:hover { color: var(--ink); background: var(--surface); }
.theme-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Vulgarisation : encadré « En bref » et termes du lexique */
.en-bref { background: var(--surface); border-radius: var(--radius); padding: 22px 24px; }
.en-bref strong { display: block; font-size: 13px; color: var(--pine); margin-bottom: 8px; font-weight: 600; }
.en-bref ul { margin: 0; padding-left: 1.2em; display: grid; gap: 6px; }
.prose .en-bref li + li { margin-top: 0; }
a.term { color: inherit; text-decoration: underline dotted; text-decoration-color: var(--muted); text-underline-offset: 3px; }
a.term:hover { color: var(--pine); text-decoration-color: var(--pine); }
.lexique { display: grid; gap: 0; max-width: 760px; }
.lexique dt { font-weight: 600; font-size: 19px; letter-spacing: -0.02em; padding-top: 22px; scroll-margin-top: 90px; }
.lexique dd { margin: 6px 0 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 17px; line-height: 1.55; }
.lexique dd a { font-size: 15px; }
.faq-group { display: grid; gap: 4px; }
.faq-group h2 { margin-bottom: 4px; }
.author-card { display: flex; gap: 18px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 22px 24px; max-width: 760px; }
.author-ava { flex: none; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--pine); color: var(--on-pine); font-weight: 700; font-size: 26px; }
.author-card p { margin: 0; color: var(--muted); font-size: 15px; }
.author-card strong { display: block; color: var(--ink); font-size: 19px; letter-spacing: -0.02em; }
.byline a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }

/* ---------- Page FAQ : bandes par thème, cartes de questions ---------- */
.faq-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: -24px; }
.faq-jump a { background: var(--surface); color: var(--ink); font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 980px; }
.faq-jump a:hover { text-decoration: none; background: var(--pine); color: var(--on-pine); }
.faq-theme { background: var(--surface); border-radius: 28px; padding: 32px; display: grid; gap: 22px; scroll-margin-top: 90px; }
@media (max-width: 560px) { .faq-theme { padding: 22px 14px; border-radius: 22px; } }
.faq-theme-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 0 4px; }
.faq-theme-head h2 { font-size: clamp(24px, 3.4vw, 30px); letter-spacing: -0.03em; }
.faq-theme-head span { font-size: 14px; color: var(--muted); white-space: nowrap; }
.qa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.qa { background: var(--raised); border-radius: 18px; padding: 22px; display: grid; gap: 10px; align-content: start; }
.qa-q { display: flex; gap: 12px; align-items: flex-start; }
.qa-mark { flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--pine-soft); color: var(--pine); font-weight: 700; font-size: 14px; margin-top: 1px; }
.qa h3 { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; text-wrap: balance; }
.qa p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.qa-more { font-size: 14px; font-weight: 600; justify-self: start; }

/* ---------- Identité « Effet boule de neige » ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; }
.logo { width: 34px; height: auto; flex: none; }
.logo circle { fill: var(--pine); }
.logo .l1 { opacity: .3; }
.logo .l2 { opacity: .6; }
.logo .lh { fill: #FFFFFF; opacity: .5; }

/* Flocons discrets, éparpillés en haut à droite de chaque page */
.wrap { position: relative; isolation: isolate; }
.wrap::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 70px; right: -20px; width: 420px; height: 340px;
  background-image:
    radial-gradient(circle, var(--snow) 3px, transparent 3.5px),
    radial-gradient(circle, var(--snow) 2px, transparent 2.5px),
    radial-gradient(circle, var(--snow) 1.5px, transparent 2px);
  background-size: 74px 74px, 47px 47px, 29px 29px;
  background-position: 12px 8px, 30px 22px, 5px 14px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 80% 30%, #000 25%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 80% 30%, #000 25%, transparent 75%);
}
@media (max-width: 700px) { .wrap::after { width: 220px; height: 200px; right: -16px; top: 90px; } }
.snowlink { margin: 0; padding: 0 4px; font-size: 15px; font-weight: 500; }
.brand > span { color: var(--ink); }
.logo { width: 38px; }

/* Logo final : symbole « Roulé » + Plus Jakarta Sans */
.brand { gap: 9px; }
.logo { width: 40px; }
.brand > span { font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -0.035em; }
h1, .hero-num .big, .rule .r-num { letter-spacing: -0.04em; }

/* Méthode de calcul : présente mais discrète */
.method-note { background: var(--surface); border-radius: var(--radius); padding: 22px 24px; gap: 10px; max-width: 760px; }
.method-note h2 { font-size: 17px; letter-spacing: -0.02em; }
.method-note p, .method-note li { font-size: 14px; line-height: 1.5; color: var(--muted); }
.method-note ul { gap: 4px; }
.method-note strong { color: var(--ink); font-weight: 600; }
/* Sources en petit, en bas de page */
.sources-small { gap: 6px; }
.sources-small h2 { font-size: 14px !important; font-weight: 600; letter-spacing: 0; color: var(--muted); }
.sources-small ul { font-size: 13px !important; gap: 2px; }

/* À propos : la boule de neige en image */
.snow-fig { margin: 8px 0 4px; background: var(--surface); border-radius: var(--radius); padding: 28px 24px 22px; display: grid; gap: 16px; }
.snowballs { width: 100%; height: auto; max-width: 540px; justify-self: center; }
.sb-ball { fill: var(--pine); }
.sb-hi { fill: #FFFFFF; opacity: .45; }
.sb-trail { fill: var(--pine); opacity: .25; }
.sb-trail2 { fill: var(--pine); opacity: .45; }
.sb-ground { stroke: var(--line); stroke-width: 2; }
.sb-val { fill: var(--on-pine); font-family: var(--font-display); font-weight: 800; letter-spacing: -0.02em; }
.sb-lbl { fill: var(--muted); font-size: 15px; font-family: var(--font-body); }
.snow-split { display: flex; height: 14px; border-radius: 999px; overflow: hidden; gap: 2px; }
.sp-a { background: var(--pine); }
.sp-b { background: var(--key); }
.sp-c { background: var(--key-light); }
.snow-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.snow-legend li { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.snow-legend .dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.snow-fig figcaption { font-size: 14px; color: var(--muted); line-height: 1.5; }
.pill-cta { display: inline-block; background: var(--pine); color: var(--on-pine); font-weight: 600; padding: 11px 22px; border-radius: 980px; font-size: 15px; }
.pill-cta:hover { text-decoration: none; filter: brightness(1.08); }
