/* Factu iA, site vitrine : jetons de la charte (03_Charte, 04/11/2026) et règles communes.
   Polices hébergées sur le site : Schibsted Grotesk (le nom du logo) pour les mots, IBM Plex Mono pour les chiffres. */
@font-face { font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/schibsted-normal-400-900-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: "Schibsted Grotesk"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url(/assets/fonts/schibsted-normal-400-900-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/plexmono-normal-400-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/plexmono-normal-500-latin.woff2) format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 600; font-display: swap;
  src: url(/assets/fonts/plexmono-normal-600-latin.woff2) format("woff2"); }

:root {
  --bureau: #eceef3;
  --papier: #fbfbf8;
  --papier-creux: #f4f5f8;
  --carbone: #1d2340;
  --carbone-doux: #4a5070;
  --filet: #d6dae4;
  --filet-fort: #8a90a8;
  --filet-carnet: #c9d3ef;
  --bic: #1f3fb0;
  --bic-fonce: #17308a;
  --on-bic: #ffffff;
  --bic-voile: #e6ebfa;
  --encre-emise: #3d3a9c;
  --encre-payee: #1d7349;
  --encre-retard: #8f5400;
  --encre-cachet: #24399b;
  --sous-main: #1d2340;
  --on-sous-main: #e9ecf6;
  --on-sous-main-doux: #a9b0c9;
  --focus: #1f3fb0;
  --ombre-papier: 0 1px 0 rgba(29, 35, 64, .06), 0 8px 24px -12px rgba(29, 35, 64, .28);
  --ombre-soulevee: 0 2px 0 rgba(29, 35, 64, .06), 0 28px 56px -18px rgba(29, 35, 64, .40);

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px; --space-5: 20px; --space-6: 24px;
  --space-8: 32px; --space-10: 40px; --space-12: 48px; --space-16: 64px; --space-20: 80px; --space-24: 96px;
  --radius-papier: 6px;
  --radius-feuille: 10px;
  --font-sans: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --largeur: 1320px;
  --gouttiere: 40px;
  --entete: 72px;
}
@media (max-width: 760px) { :root { --gouttiere: 16px; --entete: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--entete) + 16px); }
body { margin: 0; background: var(--papier); color: var(--carbone); font: 400 17px/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: var(--bic); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
[hidden] { display: none !important; }
.cadre { width: 100%; max-width: calc(var(--largeur) + 2 * var(--gouttiere)); margin-inline: auto; padding-inline: var(--gouttiere); }
.chiffre { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.insecable { white-space: nowrap; }

.visuellement-cache { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.evitement { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--bic); color: var(--on-bic);
  font-weight: 600; text-decoration: none; border-radius: var(--radius-papier); }
.evitement:focus { top: 12px; }

/* Boutons : un aplat d'encre bleue, coins de papier (pas de pilule). */
.bouton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border: 2px solid var(--bic); border-radius: var(--radius-papier); background: var(--bic); color: var(--on-bic);
  font: 700 16px/1 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .15s ease; }
.bouton:hover { background: var(--bic-fonce); border-color: var(--bic-fonce); text-decoration: none; }
.bouton:active { transform: translateY(1px); }
.bouton--trait { background: transparent; color: var(--carbone); border-color: var(--filet-fort); }
.bouton--trait:hover { background: var(--papier); border-color: var(--carbone); color: var(--carbone); }
.bouton svg { width: 20px; height: 20px; flex: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
