/* Sora (licence SIL OFL 1.1, voir /fonts/OFL-Sora.txt) : signature Boutik237.
   Le texte courant garde la police du téléphone (rien à télécharger pour lire). */
@font-face { font-family: "Sora"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(/fonts/sora-latin.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: "Sora"; font-style: normal; font-weight: 600 700; font-display: swap;
  src: url(/fonts/sora-latin-ext.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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  --ui-font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --brand-font: "Sora", ui-rounded, system-ui, -apple-system, "Segoe UI", sans-serif;
  --bg: #f6f3ec;
  --card: #ffffff;
  --ink: #1b221e;
  --muted: #5f6b64;
  --line: #e7e1d5;
  /* Bordure des champs et boutons secondaires : contraste ≥ 3:1 sur blanc (WCAG). */
  --field: #8c8474;
  --green: #0e6b47;
  --green-2: #0a5538;
  --green-soft: #e3f1ea;
  --gold: #f2b705;
  --wa: #0f7a40;
  --warn: #8a4700;
  --warn-soft: #fff1dc;
  --bad: #b4321f;
  --ok: #157347;
  --momo: #ffcc00;
  --om: #ff7900;
  --r: 16px;
  --shadow: 0 1px 2px rgba(27, 34, 30, .05), 0 6px 18px rgba(27, 34, 30, .06);
  --radius: var(--r);
  --danger: var(--bad);
  --green-ink: #fff;
  --brand-red: #ce1126;
  --brand-cream: #fff7dd;
  --field-radius: 12px;
  color-scheme: only light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
:where(a, button, input, textarea, select, summary):focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.btn {
  border: 0; border-radius: 999px; min-height: 48px; padding: 8px 16px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 16px/1.25 var(--ui-font); text-align: center; text-decoration: none; cursor: pointer;
}
.btn.primary, .btn-green, .btn-pay { background: var(--green); color: #fff; }
.btn.wa, .btn-wa { background: var(--wa); color: #fff; }
.btn.ghost, .btn-ghost { background: var(--card); color: var(--ink); border: 1px solid var(--field); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.sm { min-height: 44px; padding: 6px 14px; font-size: 14px; }
.total, .kpis strong, .stat strong, .line-total, .pay-amount { font-variant-numeric: tabular-nums; }
.ui-icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -.18em; flex: none; pointer-events: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.document-brand { display: inline-flex; align-items: center; gap: 8px; vertical-align: middle; white-space: nowrap; font: 700 22px/1 var(--brand-font); letter-spacing: -.03em; color: var(--green); }
.document-brand img { display: block; flex: none; }
.document-brand sup { color: var(--brand-red); font-size: .59em; vertical-align: super; line-height: 0; margin-left: .03em; letter-spacing: 0; }
a.document-brand-link { display: inline-flex; vertical-align: middle; text-decoration: none; }
@media print {
  .document-brand { break-inside: avoid; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.foot .document-brand { font-size: 17px; }
.foot .document-brand img { width: 26px; height: 26px; }
