/* Qsarco — feuille de style unique
   Concept : une colonne centrale bornée par des filets verticaux continus (comme une grille de console),
   des sections séparées par des filets pleine largeur et des bandes hachurées comme ponctuation. */
/* Polices auto-hébergées (pas d'appel à Google Fonts) */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/geist-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/geist-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --bg: #111216;
  --bg-2: #15171d;
  --panel: #181a20;
  --field: #1b1d23;
  --line: #24272f;
  --line-2: #30333c;
  --fg: #eeeeee;
  --muted: #9a9da6;
  --dim: #62656e;
  --ink: #0f1013;      /* texte sur bouton clair */
  --paper: #f1f1f1;    /* bouton plein */
  --ok: #7fd49b;       /* statut « payé » */
  --warn: #e3c07a;     /* statut « en attente » */
  --info: #8fb4e8;     /* statut « envoyé » */

  --f-display: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --pad: clamp(20px, 3.2vw, 44px);
  --gut-l: max(16px, env(safe-area-inset-left, 0px));
  --gut-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(1200px 700px at 85% 110%, #191c25 0%, transparent 60%), radial-gradient(900px 600px at 0% 0%, #121318 0%, transparent 70%);
  background-attachment: fixed;
  color: var(--fg);
  font: 400 16px/1.6 var(--f-body); font-feature-settings: "cv11", "ss01";
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, svg { max-width: 100%; }
a { color: inherit; }
::selection { background: var(--paper); color: var(--ink); }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }

/* ---------- Grille ---------- */
.band { border-bottom: 1px solid var(--line); padding-left: var(--gut-l); padding-right: var(--gut-r); }
.wrap { max-width: var(--wrap); margin: 0 auto; border-left: 1px solid var(--line); border-right: 1px solid var(--line); position: relative; }
.wrap > .in { padding: var(--pad); }
.cells { display: grid; }
.cells > * { min-width: 0; }
.cells.c2 { grid-template-columns: repeat(2, 1fr); }
.cells.c3 { grid-template-columns: repeat(3, 1fr); }
.cells.c4 { grid-template-columns: repeat(4, 1fr); }
.cells > .cell { padding: var(--pad); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cells.c2 > .cell:nth-child(2n), .cells.c3 > .cell:nth-child(3n), .cells.c4 > .cell:nth-child(4n) { border-right: 0; }
.cells.flush > .cell { border-bottom: 0; }
@media (max-width: 960px) {
  .cells.c3, .cells.c4 { grid-template-columns: repeat(2, 1fr); }
  .cells.c3 > .cell, .cells.c4 > .cell { border-right: 1px solid var(--line) !important; border-bottom: 1px solid var(--line) !important; }
  .cells.c3 > .cell:nth-child(2n), .cells.c4 > .cell:nth-child(2n) { border-right: 0 !important; }
}
@media (max-width: 680px) {
  .cells.c2, .cells.c3, .cells.c4 { grid-template-columns: 1fr; }
  .cells > .cell { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .cells > .cell:last-child { border-bottom: 0 !important; }
}

/* Bande hachurée : les côtés sont rayés, la colonne centrale reste pleine */
.hatch { border-bottom: 1px solid var(--line); padding-left: var(--gut-l); padding-right: var(--gut-r);
  background-image: repeating-linear-gradient(-45deg, transparent 0 13px, var(--line) 13px 14px); }
.hatch .wrap { background: var(--bg); min-height: 56px; display: flex; align-items: center; }
.hatch.tall .wrap { min-height: 84px; }
.hatch.open .wrap { background: transparent; }

/* ---------- Typo ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 500; letter-spacing: -0.03em; line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); letter-spacing: -0.042em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.02em; line-height: 1.2; }
p { margin: 0; }
.lede { font-size: clamp(1.06rem, 1.4vw, 1.22rem); color: var(--muted); max-width: 60ch; line-height: 1.55; }
.label, .eyebrow { font-family: var(--f-mono); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--dim); font-weight: 400; }
.eyebrow { color: var(--muted); display: inline-flex; gap: 10px; align-items: center; }
.eyebrow::before { content: ""; width: 7px; height: 7px; background: var(--fg); display: inline-block; }
.mono { font-family: var(--f-mono); }
.muted { color: var(--muted); }
.stack { display: grid; gap: 18px; align-content: start; }
.stack.tight { gap: 10px; }
.stack.loose { gap: 28px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.sec-head { display: grid; gap: 14px; max-width: 760px; }

/* ---------- Boutons ---------- */
.btn { --h: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--h); padding: 0 22px; border: 1px solid var(--paper); background: var(--paper); color: var(--ink);
  font: 500 0.86rem/1 var(--f-mono); letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s; text-align: center; padding-block: 12px; line-height: 1.3; }
.btn:hover { background: #fff; }
.btn .arr { transition: transform .2s; }
.btn:hover .arr { transform: translateX(3px); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--fg); }
.btn.sm { --h: 38px; padding: 0 14px; font-size: 0.76rem; }
.btn.block { width: 100%; }
.link { font-family: var(--f-mono); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; text-decoration: none; color: var(--fg); border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.link:hover { border-color: var(--fg); }

/* ---------- En-tête ---------- */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(17,18,22,.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; padding: 0 var(--pad); }
.brand { display: inline-flex; align-items: center; color: var(--fg); text-decoration: none; }
.brand svg { height: 21px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { font-family: var(--f-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); text-decoration: none; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--fg); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--fg); height: 38px; padding: 0 12px; font: 0.76rem var(--f-mono); text-transform: uppercase; letter-spacing: .07em; cursor: pointer; }
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .nav { display: none; position: absolute; left: -1px; right: -1px; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border: 1px solid var(--line); border-top: 0; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 16px var(--pad); border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 16px var(--pad); }
}

/* ---------- Héros ---------- */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
.hero .copy { padding: clamp(40px, 7vw, 92px) var(--pad); display: grid; gap: 28px; align-content: center; border-right: 1px solid var(--line); }
.hero .side { padding: clamp(28px, 4vw, 52px) var(--pad); display: grid; align-content: center; background: linear-gradient(180deg, rgba(255,255,255,.012), transparent); }
.proof { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 6px; }
.proof span { font-family: var(--f-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.proof span::before { content: "✓"; color: var(--ok); }
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .copy { border-right: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Console paiements (démo) ---------- */
.console { border: 1px solid var(--line-2); background: var(--panel); font-family: var(--f-mono); font-size: 0.78rem; box-shadow: 0 30px 80px -40px rgba(0,0,0,.8); }
.console-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line-2); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; }
.console-top .live { display: inline-flex; align-items: center; gap: 7px; color: var(--fg); }
.console-top .live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(127,212,155,.15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.console-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line-2); }
.console-stats div { padding: 12px 14px; border-right: 1px solid var(--line-2); display: grid; gap: 4px; min-width: 0; }
.console-stats div:last-child { border-right: 0; }
.console-stats b { font-family: var(--f-display); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--fg); font-variant-numeric: tabular-nums; }
.console-stats small { color: var(--dim); font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; }
.log { list-style: none; margin: 0; padding: 0; height: 268px; overflow: hidden; }
.log li { display: grid; grid-template-columns: 62px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 14px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.log li.new { animation: slidein .5s ease-out; }
@keyframes slidein { from { background: rgba(255,255,255,.05); transform: translateY(-6px); } to { background: transparent; transform: none; } }
.log .t { color: var(--dim); }
.log .ev { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--fg); }
.log .ev em { font-style: normal; color: var(--dim); }
.pill { font-size: .64rem; letter-spacing: .06em; text-transform: uppercase; padding: 3px 7px; border: 1px solid currentColor; white-space: nowrap; }
.pill.ok { color: var(--ok); } .pill.warn { color: var(--warn); } .pill.info { color: var(--info); } .pill.neutral { color: var(--muted); }
.console-foot { padding: 10px 14px; color: var(--dim); font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
@media (max-width: 480px) { .log li { grid-template-columns: 54px minmax(0,1fr); } .log li .pill { grid-column: 2; justify-self: start; } .log { height: 330px; } }

/* ---------- Défilant moyens de paiement ---------- */
.ticker { overflow: hidden; width: 100%; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ticker-track { display: flex; gap: 38px; width: max-content; padding: 0 var(--pad); animation: tick 38s linear infinite; }
.ticker-track span { font-family: var(--f-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); white-space: nowrap; }
.ticker-track span::before { content: "/"; margin-right: 38px; color: var(--dim); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Blocs ---------- */
.kicker-cell { display: grid; gap: 14px; align-content: start; }
.num { font-family: var(--f-mono); font-size: .76rem; color: var(--dim); letter-spacing: .06em; }
.cell h3 + p, .cell p + p { color: var(--muted); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 20px; color: var(--muted); font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 9px; height: 1px; background: var(--fg); }
.tag { display: inline-flex; align-items: center; font-family: var(--f-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); border: 1px solid var(--line-2); padding: 4px 8px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-card { display: grid; gap: 18px; align-content: start; transition: background .2s; }
.service-card:hover { background: rgba(255,255,255,.018); }
.service-card .foot { margin-top: auto; padding-top: 6px; }
.pain { display: grid; gap: 10px; align-content: start; }
.pain .label { color: var(--warn); }
.pain p { color: var(--muted); }

.step { display: grid; gap: 12px; align-content: start; }
.step .n { font-family: var(--f-display); font-size: 2.6rem; font-weight: 500; letter-spacing: -.04em; color: var(--dim); line-height: 1; }

.quote-panel { background: var(--panel); }
.big-statement { font-family: var(--f-display); font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 500; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
.big-statement .dim { color: var(--dim); }
.facts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.facts dt, .facts .k { font-family: var(--f-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--dim); }
.facts .v { text-align: right; color: var(--fg); }

/* Articles en liste */
.post-card { display: grid; gap: 14px; text-decoration: none; color: inherit; align-content: start; transition: background .2s; }
.post-card:hover { background: rgba(255,255,255,.018); }
.post-card:hover h3 { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.post-card .meta { display: flex; gap: 14px; flex-wrap: wrap; }
.post-card p { color: var(--muted); font-size: .97rem; }
.post-card .go { font-family: var(--f-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; color: var(--fg); margin-top: 4px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { list-style: none; cursor: pointer; padding: 22px var(--pad); display: flex; justify-content: space-between; gap: 20px; font-family: var(--f-display); font-weight: 500; font-size: 1.08rem; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); color: var(--muted); font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { padding: 0 var(--pad) 24px; color: var(--muted); max-width: 72ch; }

/* Appel à l'action final */
.cta-box { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; }
.cta-box > div { padding: clamp(36px, 6vw, 72px) var(--pad); }
.cta-box > div + div { border-left: 1px solid var(--line); display: grid; gap: 14px; }
@media (max-width: 860px) { .cta-box { grid-template-columns: 1fr; } .cta-box > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- Pied de page ---------- */
.site-foot .cells > .cell { display: grid; gap: 12px; align-content: start; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--fg); }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: .94rem; }
.site-foot .brand svg { height: 24px; }
.site-foot .legal { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--dim); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; width: 100%; padding: 0 var(--pad); }

/* ---------- Pages intérieures ---------- */
.page-hero .wrap > .in { padding-block: clamp(44px, 7vw, 88px); display: grid; gap: 22px; }
.breadcrumb { font-family: var(--f-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .07em; color: var(--dim); display: flex; gap: 8px; flex-wrap: wrap; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--fg); }

/* Détail des services (page contact) */
.svc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); scroll-margin-top: 80px; }
.svc + .svc { border-top: 1px solid var(--line); }
.svc > div { padding: clamp(28px, 4vw, 52px) var(--pad); min-width: 0; }
.svc > div:first-child { border-right: 1px solid var(--line); display: grid; gap: 16px; align-content: start; }
.svc .detail { display: grid; gap: 26px; align-content: start; }
.svc dl { margin: 0; }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); } }

/* Formulaire */
.form-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); scroll-margin-top: 66px; }
.form-grid > div { padding: clamp(28px, 4vw, 52px) var(--pad); min-width: 0; }
.form-grid > div + div { border-left: 1px solid var(--line); background: var(--bg-2); }
@media (max-width: 900px) { .form-grid { grid-template-columns: 1fr; } .form-grid > div + div { border-left: 0; border-top: 1px solid var(--line); } }
form { display: grid; gap: 22px; }
.f2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 560px) { .f2 { grid-template-columns: 1fr; } }
.field { display: grid; gap: 9px; min-width: 0; }
.field label, .field .label { font-family: var(--f-mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); }
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--dim); opacity: .7; }
input, select, textarea { width: 100%; background: var(--field); border: 1px solid var(--line-2); color: var(--fg); font: 0.98rem/1.4 var(--f-body); padding: 14px 16px; border-radius: 0; transition: border-color .15s; -webkit-appearance: none; appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
input::placeholder, textarea::placeholder { font-family: var(--f-mono); text-transform: uppercase; font-size: .82rem; letter-spacing: .05em; color: var(--dim); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--muted); }
textarea { min-height: 150px; resize: vertical; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; padding: 9px 13px; border: 1px solid var(--line-2); font: .76rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); cursor: pointer; transition: all .15s; }
.chip input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chip input:focus-visible + span { outline: 1px solid var(--fg); outline-offset: 2px; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { width: 18px; height: 18px; padding: 0; flex: none; margin-top: 2px; appearance: auto; -webkit-appearance: checkbox; accent-color: var(--fg); }
.err { color: #f0a3a3; font-size: .86rem; font-family: var(--f-mono); }
.result { border: 1px solid var(--line-2); background: var(--panel); padding: 22px; display: grid; gap: 14px; }
.result pre { white-space: pre-wrap; word-break: break-word; margin: 0; font: .82rem/1.55 var(--f-mono); color: var(--muted); max-height: 220px; overflow: auto; border-top: 1px solid var(--line); padding-top: 14px; }
.copyline { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--f-mono); }
.copyline code { user-select: all; font-size: .95rem; color: var(--fg); }
.next-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: s; }
.next-steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.next-steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--f-mono); font-size: .76rem; color: var(--dim); padding-top: 3px; }
.next-steps b { color: var(--fg); font-weight: 500; }

/* Blog */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button { background: transparent; border: 1px solid var(--line-2); color: var(--muted); font: .76rem var(--f-mono); text-transform: uppercase; letter-spacing: .07em; padding: 9px 13px; cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.featured { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); text-decoration: none; color: inherit; }
.featured > div { padding: clamp(28px, 4vw, 52px) var(--pad); min-width: 0; }
.featured > div + div { border-left: 1px solid var(--line); background: var(--bg-2); display: grid; gap: 10px; align-content: center; }
.featured h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.featured:hover h2 { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }
@media (max-width: 860px) { .featured { grid-template-columns: 1fr; } .featured > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Article */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 2px; width: 0; background: var(--fg); z-index: 70; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; }
.article-layout > * { min-width: 0; }
.article-layout > aside { border-left: 1px solid var(--line); padding: clamp(28px, 4vw, 52px) var(--pad); }
.article-layout > aside .sticky { position: sticky; top: 96px; display: grid; gap: 28px; }
@media (max-width: 980px) { .article-layout { grid-template-columns: 1fr; } .article-layout > aside { border-left: 0; border-top: 1px solid var(--line); } }
.toc { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .9rem; }
.toc a { color: var(--muted); text-decoration: none; display: block; }
.toc a:hover, .toc a.on { color: var(--fg); }
.prose { padding: clamp(32px, 5vw, 64px) var(--pad); max-width: calc(68ch + 2 * var(--pad)); font-size: 1.06rem; line-height: 1.72; color: #d6d7db; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin-top: 2.2em; color: var(--fg); scroll-margin-top: 84px; }
.prose h3 { margin-top: 1.8em; color: var(--fg); }
.prose a { color: var(--fg); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: .45em; }
.prose strong { color: var(--fg); font-weight: 500; }
.prose .callout { border: 1px solid var(--line-2); background: var(--panel); padding: 20px 22px; font-size: .98rem; }
.prose .callout .label { display: block; margin-bottom: 8px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); }
.prose table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .92rem; }
.prose th, .prose td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font: .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .07em; color: var(--dim); background: var(--bg-2); }
.prose tr:last-child td { border-bottom: 0; }
.article-cta { border: 1px solid var(--line-2); background: var(--panel); padding: 26px; display: grid; gap: 14px; margin-top: 2.4em !important; }
.article-cta h3 { margin: 0; }
.byline { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.sources { font-size: .9rem; color: var(--muted); }
.sources li { word-break: break-word; }

/* Utilitaires */
.center { text-align: center; }
[hidden] { display: none !important; }
.send-progress { display: grid; gap: 10px; }
.send-progress .track { height: 3px; background: var(--line-2); overflow: hidden; }
.send-progress .fill { display: block; height: 100%; width: 0; background: var(--fg); transition: width .25s ease-out, background .2s; }
.send-progress.is-done .fill { background: var(--ok); }
.send-progress.is-done .label { color: var(--ok); }
.send-progress.is-error .fill { background: #f0a3a3; }
.send-progress.is-error .label { color: #f0a3a3; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.author-box { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 2em !important; }
.author-box .av { width: 44px; height: 44px; display: grid; place-items: center; background: var(--paper); color: var(--ink); font: 500 .9rem var(--f-mono); }
.author-box p { margin: 4px 0 0; font-size: .95rem; color: var(--muted); }
.zone-list { display: flex; flex-wrap: wrap; gap: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hide-sm { }
@media (max-width: 680px) { .hide-sm { display: none !important; } }
