@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #526071;
  --line: #e3e8ef;
  --surface: #f6f8fb;
  --bg: #ffffff;
  --accent: #2448d8;
  --accent-dark: #1b37a8;
  --accent-ink: #ffffff;
  --accent-soft: #eef2ff;
  --teal: #0f766e;
  --teal-soft: #e6f6f3;
  --error: #b42318;
  --error-soft: #fdecea;
  --warn: #8a5300;
  --warn-soft: #fff4dc;
  --info: #1d4ed8;
  --info-soft: #e8efff;
  --ok: #0b6b3a;
  --ok-soft: #e4f6ec;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 18px 40px -18px rgba(15, 23, 42, 0.28);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 1.0625rem/1.72 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
.wrap { width: 100%; max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 0.6rem 1rem; z-index: 10; }
.skip:focus { left: 0; }

/* En-tête */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, 0.92); backdrop-filter: saturate(1.5) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1.5rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 750; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand-mark { fill: var(--accent); }
.main-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.main-nav a { display: inline-block; padding: 0.45rem 0.8rem; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 550; font-size: 0.95rem; }
.main-nav a:hover { color: var(--ink); background: var(--surface); }
.main-nav a[aria-current="page"], .main-nav a.active { color: var(--ink); background: var(--surface); }
.main-nav a.nav-cta { margin-left: 0.4rem; background: var(--ink); color: #fff; padding: 0.5rem 1rem; }
.main-nav a.nav-cta:hover, .main-nav a.nav-cta[aria-current="page"] { background: var(--accent); color: #fff; }

/* Mise en page */
main { padding-top: 1.5rem; padding-bottom: 4.5rem; }
.layout-article > *, .layout-tool > *, .layout-trust > * { max-width: 46rem; margin-left: auto; margin-right: auto; }
.layout-tool > * { max-width: 52rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; list-style: none; margin: 0 0 1.25rem; padding: 0; font-size: 0.86rem; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin: 0 0.55rem; color: #a3adbb; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); text-decoration: underline; }

h1, h2, h3 { color: var(--ink); font-weight: 720; }
h1 { text-wrap: balance; font-size: clamp(1.9rem, 4.2vw, 2.6rem); line-height: 1.15; letter-spacing: -0.025em; margin: 0.25rem 0 0.75rem; }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.55rem); line-height: 1.3; letter-spacing: -0.015em; margin: 2.75rem 0 0.75rem; }
h3 { font-size: 1.1rem; line-height: 1.4; letter-spacing: -0.005em; margin: 1.75rem 0 0.4rem; }
h2[id], h3[id] { scroll-margin-top: 5.5rem; }
p, ul, ol, dl { margin: 0 0 1.1rem; }
li { margin-bottom: 0.35rem; }
li::marker { color: #94a3b8; }
strong { color: var(--ink); font-weight: 650; }
.meta, .small { color: var(--muted); font-size: 0.9rem; }
.lead { font-size: 1.18rem; line-height: 1.65; color: #334155; }

.page-head { margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line); }
.kicker, .section-kicker { margin: 0 0 0.4rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }
.page-head .meta { margin: 0; }

.answer { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 1.1rem 1.3rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 0 0 2rem; }
.answer p:last-child { margin-bottom: 0; }
.note { background: var(--warn-soft); border-left: 4px solid var(--warn); padding: 0.9rem 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.25rem 0; }
.note p:last-child { margin-bottom: 0; }
code, pre, kbd { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; }
code { background: #eef1f6; color: #1e293b; padding: 0.12em 0.4em; border-radius: 5px; }
pre { background: #0f172a; color: #e2e8f0; padding: 1.1rem 1.25rem; border-radius: var(--radius); overflow-x: auto; line-height: 1.6; margin: 0 0 1.5rem; }
pre code { background: none; padding: 0; color: inherit; }
.todo { background: #fff3a3; padding: 0 0.3em; border-radius: 3px; }
dl dt { font-weight: 650; color: var(--ink); margin-top: 0.8rem; }
dl dd { margin: 0.15rem 0 0; }

/* Sommaire */
.toc { margin: -0.5rem 0 2rem; padding: 0 0 1.1rem; border-bottom: 1px solid var(--line); }
.toc summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--ink); padding: 0.2rem 0; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary::after { content: ""; width: 0.45rem; height: 0.45rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin-top: -0.2rem; }
.toc[open] summary::after { transform: rotate(-135deg); margin-top: 0.2rem; }
.toc-count { font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); font-size: 0.85rem; }
.toc ol { margin: 0.7rem 0 0; padding-left: 1.3rem; columns: 2 16rem; column-gap: 2.5rem; font-size: 0.94rem; }
.toc li { break-inside: avoid; margin-bottom: 0.3rem; line-height: 1.45; }
.toc li::marker { color: #94a3b8; font-variant-numeric: tabular-nums; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--accent); text-decoration: underline; }

/* Tableaux */
.table-wrap { overflow-x: auto; margin: 1.25rem 0 1.75rem; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 24rem; font-size: 0.94rem; }
article > table { border: 1px solid var(--line); margin: 1.25rem 0 1.75rem; }
caption { text-align: left; font-weight: 600; font-size: 0.85rem; color: var(--muted); padding: 0.75rem 1rem 0.5rem; }
th, td { padding: 0.65rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--surface); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); font-weight: 650; }
tbody th { font-weight: 600; color: var(--ink); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Boutons */
button, .button {
  font: inherit; font-weight: 600; font-size: 0.98rem; cursor: pointer; text-decoration: none; display: inline-block;
  padding: 0.72rem 1.25rem; border-radius: 10px; border: 1px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); line-height: 1.3;
}
.button:hover, button:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; }
.button.ghost, button.secondary { background: #fff; color: var(--ink); border-color: #cfd6e0; }
.button.ghost:hover, button.secondary:hover { background: var(--surface); color: var(--ink); border-color: #b8c1cd; }
button[disabled] { opacity: 0.55; cursor: not-allowed; }

/* Accueil */
.layout-home .page-head, .layout-hub .page-head { border: 0; padding: 0; }
.layout-home > article > .page-head { position: relative; margin: 0 0 1rem; padding: 3rem 2.5rem; border-radius: 22px; background: radial-gradient(1200px 400px at 0% 0%, #e8eeff 0%, rgba(232, 238, 255, 0) 60%), linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%); border: 1px solid #e4e9f7; }
.layout-home h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); max-width: 20ch; text-wrap: balance; letter-spacing: -0.035em; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 2.5rem; align-items: center; }
.hero-text .lead { margin-bottom: 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 0 0 1.25rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.chips li { margin: 0; font-size: 0.84rem; color: #334155; padding-left: 1.25rem; position: relative; }
.chips li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 0.7rem; height: 0.4rem; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }
.chips li + li { margin-left: 0.9rem; }
.mock { background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar { display: flex; align-items: center; gap: 0.35rem; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--line); background: var(--surface); }
.mock-bar span { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: #d4dae3; }
.mock-bar em { margin-left: 0.5rem; font-style: normal; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.mock-body { padding: 1.1rem 1.2rem 1rem; }
.wave { display: block; width: 100%; height: auto; color: #b9c7f5; margin-bottom: 0.9rem; }
.mock-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin: 0; }
.mock-stats div { background: var(--surface); border-radius: 10px; padding: 0.55rem 0.75rem; }
.mock-stats dt { margin: 0; font-size: 0.74rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.mock-stats dd { margin: 0; font-size: 1.05rem; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.mock-stats .total { grid-column: 1 / -1; background: var(--accent); }
.mock-stats .total dt { color: #c7d2fe; }
.mock-stats .total dd { color: #fff; font-size: 1.4rem; }
.mock-note { margin: 0.75rem 0 0; font-size: 0.78rem; color: var(--muted); }

.home-section { padding: 3.25rem 0 0.5rem; }
.home-section + .home-section { border-top: 1px solid var(--line); margin-top: 2.5rem; }
.home-section > h2 { margin-top: 0; font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.025em; }
.section-intro { color: var(--muted); max-width: 44rem; }
.more-link { margin-top: 1rem; font-weight: 600; }
.more-link a { text-decoration: none; }

.tool-cards { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.tool-cards li { margin: 0; }
.tool-cards a { display: block; height: 100%; padding: 1.3rem 1.3rem 1.2rem; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; color: var(--ink-2); box-shadow: var(--shadow); }
.tool-cards a:hover { border-color: #b9c6f4; box-shadow: var(--shadow-lg); transform: translateY(-2px); color: var(--ink-2); }
.tool-icon { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 10px; background: var(--accent-soft); color: var(--accent); margin-bottom: 0.85rem; }
.tool-cards .card-title { display: block; font-weight: 700; color: var(--ink); font-size: 1.04rem; margin-bottom: 0.25rem; }
.tool-cards .card-text { display: block; font-size: 0.93rem; color: var(--muted); line-height: 1.55; }

.silo-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); margin: 1.5rem 0 1rem; }
.silo-card { border: 1px solid var(--line); border-radius: 16px; padding: 1.6rem 1.6rem 0.8rem; background: #fff; box-shadow: var(--shadow); }
.silo-card h3 { margin: 0 0 0.5rem; font-size: 1.3rem; }
.silo-card h3 a { color: var(--ink); text-decoration: none; }
.silo-card h3 a:hover { color: var(--accent); }
.silo-card h3 a::after { content: " →"; color: var(--accent); }
.silo-card > p { color: var(--muted); }
.link-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.link-list li { margin: 0; padding: 0.55rem 0; border-top: 1px solid var(--line); }
.link-list a { text-decoration: none; font-weight: 550; }
.link-list a:hover { text-decoration: underline; }

.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 3rem; margin-top: 1rem; }
.faq { padding: 1.2rem 0 0.4rem; border-top: 1px solid var(--line); }
.faq h3 { margin: 0 0 0.4rem; font-size: 1.04rem; }
.faq p { font-size: 0.97rem; color: #334155; }

.features { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.features li { margin: 0; padding: 1.25rem; border-radius: 14px; background: var(--surface); }
.features strong { display: block; margin-bottom: 0.35rem; font-size: 1rem; }
.features span { display: block; font-size: 0.94rem; color: var(--muted); line-height: 1.55; }

/* Pages pilier */
.layout-hub > article > .page-head { padding: 2.25rem 2rem; border-radius: 20px; background: linear-gradient(180deg, #f5f7fd 0%, #ffffff 100%); border: 1px solid #e6eaf4; }
.layout-hub .page-head .lead { max-width: 48rem; margin-bottom: 0; }
.layout-hub article > h2 { margin-top: 3rem; }
.layout-hub article > p, .layout-hub article > ol, .layout-hub article > ul:not([class]) { max-width: 48rem; }
.layout-hub .answer { max-width: 48rem; }
.start-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.start-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.25rem 1.5rem; margin: 0; padding: 0.95rem 1.2rem; background: #fff; }
.start-list li + li { border-top: 1px solid var(--line); }
.start-q { color: var(--ink-2); }
.start-a a { font-weight: 600; text-decoration: none; white-space: normal; }
.start-a a::after { content: " →"; }
.cards { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.cards li { margin: 0; }
.cards a { display: block; height: 100%; padding: 1.05rem 1.15rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink-2); background: #fff; }
.cards a:hover { border-color: #b9c6f4; box-shadow: var(--shadow-lg); color: var(--ink-2); }
.cards .card-title { display: block; margin: 0 0 0.3rem; font-size: 1rem; font-weight: 650; line-height: 1.4; color: var(--ink); }
.cards a:hover .card-title { color: var(--accent); }
.cards .card-text { display: block; font-size: 0.9rem; color: var(--muted); line-height: 1.5; }
.silo-intro { margin-bottom: 2rem; }
.silo-intro .link-list { columns: 2 18rem; column-gap: 2.5rem; }
.silo-intro .link-list li { break-inside: avoid; }

/* Fin d'article */
.silo-box { margin: 3rem 0 0; border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: 1.3rem 1.5rem 0.9rem; }
.silo-box h2 { margin: 0.15rem 0 0.75rem; font-size: 1.1rem; }
.silo-kicker { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.silo-box ul { list-style: none; margin: 0 0 0.75rem; padding: 0; }
.silo-box li { margin: 0; padding: 0.35rem 0; border-top: 1px solid var(--line); }
.silo-box li a { text-decoration: none; }
.silo-box li a:hover { text-decoration: underline; }
.silo-up { font-weight: 600; margin-bottom: 0.4rem; }
.silo-up a { text-decoration: none; }
.related { margin-top: 2.5rem; }
.related h2 { font-size: 1.1rem; margin: 0 0 0.75rem; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.related li { margin: 0; }
.related a { display: block; height: 100%; padding: 0.9rem 1rem; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; background: #fff; }
.related a:hover { border-color: #b9c6f4; box-shadow: var(--shadow); }
.rel-kind { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); margin-bottom: 0.2rem; }
.rel-title { display: block; font-weight: 600; color: var(--ink); line-height: 1.4; }
.sources { margin-top: 2.5rem; font-size: 0.92rem; color: var(--muted); }
.sources h2 { font-size: 1rem; }
.sources ul { padding-left: 1.2rem; }
.affiliate { border: 1px solid var(--line); border-radius: var(--radius); padding: 0.9rem 1rem; margin: 1.5rem 0; background: var(--surface); }

/* Pied de page */
.site-footer { background: #0b1220; color: #9aa6b8; padding: 3.5rem 0 2rem; font-size: 0.93rem; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2rem 3rem; padding-bottom: 2.25rem; border-bottom: 1px solid #1e293b; }
.brand-footer { color: #fff; margin-bottom: 0.75rem; }
.brand-footer:hover { color: #fff; }
.brand-footer .brand-mark { fill: #8fa6ff; }
.footer-brand p { max-width: 22rem; margin: 0; }
.footer-h { color: #fff; font-weight: 650; margin: 0 0 0.8rem; font-size: 0.92rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.5rem; }
.site-footer a { color: #c4cddb; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { padding-top: 1.5rem; font-size: 0.85rem; }
.footer-bottom p { margin: 0 0 0.4rem; }

/* Outils */
.tool { border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem; background: var(--surface); margin: 0 0 2.5rem; }
.tool label, .tool legend { display: block; font-weight: 600; margin-bottom: 0.3rem; }
.tool fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
.field { margin-bottom: 1rem; }
.field .hint { display: block; font-size: 0.88rem; color: var(--muted); margin-top: 0.25rem; }
.row { display: grid; gap: 0.75rem 1rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
textarea, input[type="text"], input[type="number"], select {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #b6c0cd; border-radius: 10px; padding: 0.6rem 0.7rem;
}
textarea { min-height: 11rem; resize: vertical; line-height: 1.5; }
textarea.output { background: #f0f3f7; }
input[type="file"] { font: inherit; max-width: 100%; }
.radio-row { display: flex; flex-wrap: wrap; gap: 0.4rem 1.2rem; }
.radio-row label { font-weight: 500; margin: 0; display: inline-flex; gap: 0.4rem; align-items: center; }
.buttons { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.5rem 0; }

details { margin: 0.5rem 0 1rem; }
summary { cursor: pointer; font-weight: 600; padding: 0.3rem 0; }

.results { display: grid; gap: 0.6rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); margin: 1rem 0; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 0.6rem 0.8rem; }
.stat dt { font-size: 0.85rem; color: var(--muted); }
.stat dd { margin: 0; font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.stat dd small { font-size: 0.8rem; font-weight: 500; color: var(--muted); }
.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; padding: 0.05rem 0.4rem; border-radius: 4px; background: var(--ok-soft); color: var(--ok); vertical-align: middle; }
.badge.est { background: var(--warn-soft); color: var(--warn); }

.status { margin: 0.75rem 0; padding: 0.7rem 0.9rem; border-radius: 8px; border: 1px solid var(--line); background: #fff; }
.status.ok { background: var(--ok-soft); border-color: #9ad7b6; color: #0a4f2b; }
.status.err { background: var(--error-soft); border-color: #f1a7a0; color: #7a1a12; }
.status.info { background: var(--info-soft); border-color: #a9c0fb; color: #173a98; }

.issues { list-style: none; padding: 0; margin: 0.5rem 0 1rem; }
.issues li { display: grid; grid-template-columns: auto 1fr; gap: 0.2rem 0.7rem; padding: 0.55rem 0.7rem; border-radius: 8px; margin-bottom: 0.4rem; border: 1px solid var(--line); background: #fff; }
.issues .sev { font-weight: 700; font-size: 0.8rem; text-transform: uppercase; padding: 0.1rem 0.45rem; border-radius: 4px; align-self: start; white-space: nowrap; }
.issues .sev.error { background: var(--error-soft); color: var(--error); }
.issues .sev.warning { background: var(--warn-soft); color: var(--warn); }
.issues .sev.advice { background: var(--info-soft); color: var(--info); }
.issues .where { color: var(--muted); font-size: 0.85rem; grid-column: 2; }


.sr-copy { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; opacity: 0; }
[hidden] { display: none !important; }
noscript .status { margin-top: 1rem; }

@media (max-width: 56rem) {
  .hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-visual { max-width: 26rem; }
  .faq-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 40rem) {
  body { font-size: 1.02rem; }
  .wrap { padding: 0 1rem; }
  .site-header { position: static; }
  .header-inner { padding: 0.6rem 0; }
  .main-nav { width: 100%; overflow-x: auto; }
  .main-nav ul { flex-wrap: nowrap; }
  .nav-secondary, .nav-extra { display: none; }
  .main-nav a { padding: 0.4rem 0.6rem; }
  .main-nav a { white-space: nowrap; }
  .layout-home > article > .page-head { padding: 1.75rem 1.25rem; border-radius: 16px; }
  .layout-hub > article > .page-head { padding: 1.5rem 1.15rem; border-radius: 16px; }
  .hero-actions .button { width: 100%; text-align: center; }
  .chips { flex-direction: column; gap: 0.35rem; }
  .chips li + li { margin-left: 0; }
  .home-section { padding-top: 2.25rem; }
  .footer-top { grid-template-columns: 1fr; }
  .tool { padding: 0.9rem; }
  .stat dd { font-size: 1.3rem; }
  .buttons button { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  a, button, .button { transition: background-color 0.15s, border-color 0.15s, box-shadow 0.2s, transform 0.2s, color 0.15s; }
}
@media print {
  .site-header, .site-footer, .tool .buttons, .skip, .related, .silo-box { display: none; }
  body { font-size: 11pt; }
}

/* Accueil : titre et texte dans la colonne gauche, aperçu à droite */
@media (min-width: 56.01rem) {
  .layout-home > article > .page-head { display: grid; grid-template-columns: 1.2fr 0.8fr; column-gap: 3rem; align-items: center; }
  .layout-home > article > .page-head > h1 { grid-column: 1; grid-row: 1; align-self: end; }
  .layout-home .hero-grid { display: contents; }
  .layout-home .hero-text { grid-column: 1; grid-row: 2; }
  .layout-home .hero-visual { grid-column: 2; grid-row: 1 / span 2; }
  .tool-cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 40rem) {
  .tool-cards a { display: grid; grid-template-columns: auto 1fr; column-gap: 0.9rem; padding: 1rem; }
  .tool-cards .tool-icon { grid-row: 1 / span 2; margin: 0; }
  .main-nav a.nav-cta { margin-left: 0.2rem; }
  .hero-visual { display: none; }
}
