/* NexavoTools — feuille de style (design system C « Pop »).
   Copyright (C) 2026 NexavoTools contributors — GNU AGPL-3.0-or-later. */

@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-400-normal.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; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext-400-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-500-normal.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; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext-500-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-700-normal.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; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext-700-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-800-normal.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; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 800; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext-800-normal.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-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }

:root {
  --ink: #16142b; --ink-muted: #4a4766; --surface: #fff; --surface-soft: #f6f5ff;
  --line: #ecebf3; --field-border: #8f8ca8; --brand: #4c47d6; --brand-soft: #e6e5ff;
  --activite: #ff7a59; --activite-soft: #ffe3da; --argent: #6ed3c5; --argent-soft: #d5f3ee;
  --pourcentages: #b9b6ff; --pourcentages-soft: #e6e5ff;
  --night: #16142b; --night-raised: #2a2745; --on-night-muted: #c9c7dd;
  --u: var(--brand); --u-soft: var(--brand-soft);
  --r-field: 16px; --r-card: 28px; --r-hero: 40px; --r-pill: 999px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1280px; --gutter: 24px;
  color-scheme: light;
}
.u-activite { --u: var(--activite); --u-soft: var(--activite-soft); }
.u-argent { --u: var(--argent); --u-soft: var(--argent-soft); }
.u-pourcentages { --u: var(--pourcentages); --u-soft: var(--pourcentages-soft); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--ink); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--brand); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; line-height: 1.08; font-weight: 800; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-pill); font-weight: 700; }
.skip:focus { top: 12px; color: #fff; }

/* ---------- En-tête ---------- */
.hdr { position: relative; z-index: 20; }
.hdr__in { display: flex; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.logo { display: inline-flex; flex: 0 0 auto; margin-right: auto; }
.logo img { display: block; height: 36px; width: auto; }
.nav { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); font-weight: 700; font-size: 15px; text-decoration: none; color: var(--ink); background: var(--u-soft); border: 2px solid transparent; }
.pill:hover { color: var(--ink); border-color: var(--ink); }
.pill[aria-current="page"] { background: var(--u); }
.search { position: relative; }
.search input { font: inherit; font-size: 15px; width: 230px; min-height: 44px; padding: 0 18px 0 42px; border: 2px solid var(--ink); border-radius: var(--r-pill); background: var(--surface); color: var(--ink); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.search__list { position: absolute; right: 0; top: calc(100% + 8px); width: min(380px, calc(100vw - 32px)); margin: 0; padding: 8px; list-style: none; background: var(--surface); border: 2px solid var(--ink); border-radius: 22px; box-shadow: 0 16px 40px rgba(22,20,43,.16); max-height: 60vh; overflow: auto; }
.search__list[hidden] { display: none; }
.search__list a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; text-decoration: none; font-weight: 700; }
.search__list a:hover, .search__list a[aria-selected="true"] { background: var(--surface-soft); color: var(--ink); }
.search__list .dot { flex: 0 0 12px; height: 12px; border-radius: 50%; background: var(--u); }
.search__empty { padding: 12px; color: var(--ink-muted); font-size: 15px; }
.lang { position: relative; }
.lang summary { list-style: none; cursor: pointer; min-height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 16px; border: 2px solid var(--ink); border-radius: var(--r-pill); font-weight: 700; font-size: 15px; }
.lang summary::-webkit-details-marker { display: none; }
.lang ul { position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; background: var(--surface); border: 2px solid var(--ink); border-radius: 18px; min-width: 170px; box-shadow: 0 16px 40px rgba(22,20,43,.16); }
.lang a { display: block; padding: 9px 12px; border-radius: 12px; text-decoration: none; font-weight: 600; }
.lang a:hover { background: var(--surface-soft); }

/* ---------- Héros ---------- */
.hero { position: relative; overflow: hidden; border-radius: var(--r-hero); background: var(--u); padding: 56px; display: flex; flex-wrap: wrap; gap: 40px; align-items: center; isolation: isolate; }
.hero--brand { background: var(--brand); color: #fff; }
.hero--brand a { color: #fff; }
.hero__bands { position: absolute; right: -120px; top: -170px; width: 520px; height: 520px; opacity: .28; z-index: -1; pointer-events: none; }
.hero__txt { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 72px); line-height: 1; letter-spacing: -0.035em; }
.hero--tool h1 { font-size: clamp(34px, 4.4vw, 58px); }
.hero__lead { font-size: 20px; line-height: 1.5; font-weight: 500; max-width: 640px; }
.hero--brand .hero__lead { color: #e9e8ff; }
.badge { align-self: flex-start; display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: var(--r-pill); background: #fff; color: var(--ink); font-size: 14px; font-weight: 800; }
.hero--brand .badge { color: var(--brand); }
.crumbs { font-size: 14px; font-weight: 700; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.crumbs li + li::before { content: '/'; margin-right: 6px; }
.crumbs a { color: inherit; }
.hero__side { flex: 1 1 380px; min-width: 0; }

/* ---------- Sections ---------- */
.section { padding-top: 56px; padding-bottom: 8px; }
.section--soft { background: var(--surface-soft); padding-top: 64px; padding-bottom: 64px; margin-top: 56px; }
.section h2 { font-size: clamp(28px, 3.2vw, 40px); letter-spacing: -0.03em; }
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 22px; }
.section__head p { color: var(--ink-muted); max-width: 640px; }

/* ---------- Cartes ---------- */
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.grid--tools { grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.ucard { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 260px; padding: 32px; border-radius: var(--r-card); background: var(--u); text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.ucard:hover { color: var(--ink); transform: translateY(-3px); }
.ucard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ucard__name { font-size: 36px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; display: block; }
.ucard__who { display: block; margin-top: 8px; font-size: 15px; font-weight: 700; }
.ucard__count { flex: 0 0 auto; padding: 6px 12px; border-radius: var(--r-pill); background: #fff; font-size: 15px; font-weight: 800; }
.ucard__list { font-size: 16px; font-weight: 500; line-height: 1.5; }
.tcard { display: flex; gap: 14px; align-items: center; padding: 18px; border: 2px solid var(--line); border-radius: 22px; text-decoration: none; color: var(--ink); background: var(--surface); }
.tcard:hover { border-color: var(--ink); color: var(--ink); }
.tile { flex: 0 0 54px; height: 54px; border-radius: 16px; background: var(--u); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; letter-spacing: -0.01em; text-align: center; line-height: 1.05; padding: 2px; }
.tcard__name { display: block; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.2; }
.tcard__desc { display: block; margin-top: 3px; font-size: 14px; color: var(--ink-muted); line-height: 1.4; }
.group + .group { margin-top: 36px; }
.group h3 { font-size: 24px; margin-bottom: 14px; }

/* ---------- Calculateur ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.calc + .calc { margin-top: 32px; }
.calc__title { grid-column: 1 / -1; font-size: 24px; }
.form { border: 2px solid var(--line); border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 18px; background: var(--surface); }
.field { display: flex; flex-direction: column; gap: 7px; }
.field[hidden] { display: none; }
.field > label, .field__label { font-size: 14px; font-weight: 800; }
.field__box { position: relative; display: flex; align-items: center; }
.field input[type="text"], .field select { font: inherit; font-size: 20px; font-weight: 800; width: 100%; min-height: 56px; padding: 0 18px; border: 2px solid var(--field-border); border-radius: var(--r-field); background: var(--surface); color: var(--ink); appearance: none; -webkit-appearance: none; }
.field input[type="text"]:focus, .field select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px var(--brand-soft); }
.field input[aria-invalid="true"] { border-color: #c2410c; }
.field__unit { position: absolute; right: 18px; font-size: 17px; font-weight: 800; color: var(--ink-muted); pointer-events: none; }
.field__box--unit input { padding-right: 64px; }
.field select { font-size: 17px; padding-right: 46px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2316142b' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; }
.field__help { font-size: 13px; color: var(--ink-muted); line-height: 1.45; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 24px; background: var(--surface-soft); }
.seg button { flex: 1 1 0; min-width: max-content; font: inherit; font-size: 15px; font-weight: 700; min-height: 46px; padding: 0 14px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; font-weight: 800; }
.seg button:hover:not([aria-pressed="true"]) { background: #fff; }
.out { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.result { background: var(--night); color: #fff; border-radius: var(--r-card); padding: 30px; display: flex; flex-direction: column; gap: 14px; }
.result__label { font-size: 15px; font-weight: 800; color: var(--u); }
.u-pourcentages .result__label, .u-brand .result__label { color: #c9c6ff; }
.result__value { font-size: clamp(40px, 5vw, 60px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; overflow-wrap: anywhere; }
.result__unit { font-size: .4em; letter-spacing: 0; color: var(--on-night-muted); }
.result__sub { font-size: 15px; color: var(--on-night-muted); }
.result__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 4px 0 0; }
.result__item { background: var(--night-raised); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.result__item dt { font-size: 13px; color: var(--on-night-muted); line-height: 1.3; }
.result__item dd { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.result__verdict { font-size: 15px; line-height: 1.5; padding: 14px 16px; border-radius: 18px; background: var(--night-raised); }
.result--error .result__label { color: #ffb4a0; }
.result__msg { font-size: 18px; font-weight: 700; }
.bar { display: flex; height: 16px; border-radius: var(--r-pill); overflow: hidden; background: var(--night-raised); }
.bar span:first-child { background: #fff; }
.bar span:last-child { background: var(--u); }
.u-pourcentages .bar span:last-child { background: #c9c6ff; }
.bar__legend { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; font-weight: 700; }
.bar__accent { color: var(--u); }
.u-pourcentages .bar__accent { color: #c9c6ff; }
.formula { border-radius: 22px; background: var(--u-soft); padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.6; }
.formula__title { font-size: 14px; font-weight: 800; }
.formula__expr { font-weight: 800; }
.formula__vals { overflow-wrap: anywhere; }
.scope { font-size: 13px; color: var(--ink-muted); line-height: 1.5; }
.tablebox { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; }
.tablebox__head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; }
.tablebox__head h3 { font-size: 22px; }
.table-wrap { overflow-x: auto; border: 2px solid var(--line); border-radius: 22px; }
table.data { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
table.data th, table.data td { padding: 12px 16px; text-align: right; white-space: nowrap; }
table.data thead th { background: var(--surface-soft); font-weight: 800; position: sticky; top: 0; }
table.data th:first-child { text-align: left; }
table.data tbody tr + tr > * { border-top: 2px solid var(--line); }
table.data tbody th { font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--r-pill); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; text-decoration: none; border: 2px solid var(--ink); background: var(--surface); color: var(--ink); }
.btn:hover { background: var(--ink); color: #fff; }
.btn--brand { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--brand:hover { background: var(--ink); border-color: var(--ink); }

/* ---------- Article ---------- */
.article { display: grid; grid-template-columns: minmax(0, 760px) minmax(0, 1fr); gap: 48px; align-items: start; }
.prose { display: flex; flex-direction: column; gap: 16px; font-size: 17px; line-height: 1.7; }
.prose h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 28px; line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin-top: 12px; }
.prose ul, .prose ol { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose strong { font-weight: 800; }
.prose .table-wrap { margin: 6px 0; }
.prose table.data { font-size: 15px; }
.steps { counter-reset: step; list-style: none; padding: 0 !important; display: grid !important; gap: 12px !important; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 66px; border-radius: 20px; background: var(--surface-soft); }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 16px; width: 34px; height: 34px; border-radius: 50%; background: var(--u); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 15px; }
.steps strong { display: block; font-size: 17px; margin-bottom: 2px; }
.callout { padding: 18px 20px; border-radius: 20px; background: var(--u-soft); }
.aside { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 16px; }
.aside__box { border: 2px solid var(--line); border-radius: 24px; padding: 22px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.aside__box h2 { font-size: 18px; letter-spacing: -0.01em; }
.aside__box ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.aside__box a { font-weight: 700; }
.meta { font-size: 14px; color: var(--ink-muted); }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details { border: 2px solid var(--line); border-radius: 22px; padding: 0 24px; background: var(--surface); }
.faq details[open] { border-color: var(--ink); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; position: relative; font-size: 18px; font-weight: 800; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 16px; font-size: 26px; font-weight: 700; }
.faq details[open] summary::after { content: '−'; }
.faq__a { padding: 0 0 20px; font-size: 16px; line-height: 1.65; color: var(--ink-muted); }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.related a { display: flex; align-items: flex-end; min-height: 110px; padding: 18px; border-radius: 22px; background: var(--u-soft); text-decoration: none; font-weight: 800; font-size: 17px; line-height: 1.2; color: var(--ink); }
.related a:hover { background: var(--u); color: var(--ink); }
.trust { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.trust__item { background: #fff; border-radius: var(--r-card); padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.trust__icon { width: 52px; height: 52px; border-radius: 50%; background: var(--u); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800; }
.trust__item strong { font-size: 21px; }
.trust__item p { color: var(--ink-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chips span { padding: 14px 20px; border-radius: var(--r-pill); background: var(--u-soft); font-weight: 700; font-size: 17px; }
.paths { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; }
.path { background: #fff; border-radius: var(--r-card); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.path h3 { font-size: 21px; }
.path ol { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.path a { display: flex; gap: 12px; align-items: center; padding: 11px 14px; border-radius: 16px; background: var(--u-soft); text-decoration: none; font-weight: 700; font-size: 15px; }
.path a span { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }

/* ---------- Pied de page ---------- */
.ftr { margin-top: 72px; background: var(--night); color: #fff; border-radius: var(--r-hero) var(--r-hero) 0 0; }
.ftr__in { padding-top: 52px; padding-bottom: 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.ftr img { height: 36px; width: auto; display: block; }
.ftr p { color: var(--on-night-muted); font-size: 15px; margin-top: 14px; max-width: 360px; }
.ftr h2 { font-size: 15px; letter-spacing: 0; margin-bottom: 12px; color: var(--on-night-muted); font-weight: 700; }
.ftr ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.ftr a, .ftr button.link { color: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.ftr a:hover, .ftr button.link:hover { text-decoration: underline; color: #fff; }
button.link { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; text-align: left; }
.ftr__bottom { border-top: 1px solid var(--night-raised); padding-top: 20px; padding-bottom: 28px; font-size: 13px; color: var(--on-night-muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* ---------- Bandeau cookies et publicités ---------- */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 200; max-width: 700px; margin: 0 auto; background: #fff; border: 2px solid var(--ink); border-radius: 26px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 20px 50px rgba(22,20,43,.25); }
.consent p { font-size: 14px; line-height: 1.6; }
.consent details { font-size: 14px; color: var(--ink-muted); line-height: 1.6; }
.consent summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 4px 0; }
.consent__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.consent .btn { min-height: 44px; font-size: 14px; padding: 0 18px; }
.ad-slot { margin: 28px 0; }
.ad-slot__label { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 4px; }
.ad-slot ins { background: var(--surface-soft); border-radius: 14px; overflow: hidden; }
.ad-anchor { position: fixed; left: 0; right: 0; bottom: 0; z-index: 150; background: #fff; border-top: 2px solid var(--line); padding: 6px 60px 6px 12px; }
.ad-anchor__close { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: #fff; cursor: pointer; font-size: 16px; }

/* ---------- Pages simples ---------- */
.page { max-width: 820px; }
.page .prose { margin-top: 32px; }
.notfound { text-align: left; }

/* ---------- Réactif ---------- */
@media (max-width: 1024px) {
  .article { grid-template-columns: minmax(0, 1fr); }
  .aside { position: static; }
  .ftr__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .out { position: static; }
  .hero { padding: 36px 28px; border-radius: 32px; }
  .hero__bands { width: 340px; height: 340px; right: -110px; top: -120px; }
  .search { order: 3; flex: 1 1 100%; }
  .search input { width: 100%; }
  .nav { order: 4; flex: 1 1 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .pill { flex: 0 0 auto; }
}
@media (max-width: 560px) {
  :root { --gutter: 14px; }
  body { font-size: 15.5px; }
  .hdr__in { gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .logo img { height: 30px; }
  .hero { padding: 26px 20px; border-radius: 28px; gap: 24px; }
  .hero__lead { font-size: 17px; }
  .form, .result { padding: 20px; border-radius: 24px; }
  .ucard { padding: 24px; min-height: 0; }
  .ucard__name { font-size: 30px; }
  .section { padding-top: 40px; }
  .section--soft { padding-top: 44px; padding-bottom: 44px; margin-top: 40px; }
  .prose { font-size: 16px; }
  .steps li { padding: 16px 16px 16px 58px; }
  .steps li::before { left: 14px; }
  .faq details { padding: 0 18px; }
  .faq summary { font-size: 16.5px; }
  .ftr { border-radius: 28px 28px 0 0; }
  .ftr__in { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  table.data th, table.data td { padding: 10px 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print {
  .hdr, .ftr, .consent, .ad-slot, .ad-anchor, .related, .search { display: none !important; }
  .hero { background: none !important; padding: 0; color: var(--ink) !important; }
  .result { background: none; color: var(--ink); border: 2px solid var(--ink); }
}
.calc--express { grid-template-columns: minmax(0, 1fr); }
.calc--express .form { border: 0; gap: 14px; }
.calc--express .formula__title { font-size: 15px; color: var(--brand); }
.calc--express .result { padding: 22px; }
.calc--express .result__value { font-size: 44px; }
.calc--express .btn { align-self: flex-start; }
.hero--brand .calc--express .form { color: var(--ink); }
.hero--brand .calc--express a.btn { color: var(--ink); }
.hero--brand .calc--express a.btn:hover { color: #fff; }
details.tablebox > summary { list-style: none; align-self: flex-start; }
details.tablebox > summary::-webkit-details-marker { display: none; }
details.tablebox[open] > summary { background: var(--ink); color: #fff; }
.group[hidden] { display: none; }
