/* Tokens CENJA — Paper Ledger UI (design-system-cenja.md)
   Tokens Mes Quittances — Mobile Premium (design-system-quittance-app.pdf)
   Aucune couleur hors de ces deux documents. */

@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/instrument-serif-400.woff2") format("woff2");
}

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

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

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

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

@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-500.woff2") format("woff2");
}

:root {
  --font-display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --font-ui: "Inter", "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* CENJA */
  --cenja-ink: #11132e;
  --cenja-ink-secondary: #454660;
  --cenja-coral: #e8322b;
  --cenja-coral-dark: #c92722;
  --cenja-coral-soft: #fff0ef;
  --cenja-violet: #6b5cc7;
  --cenja-violet-text: #6f68a4;
  --cenja-violet-soft: #f2f0ff;
  --cenja-orange: #f3a17c;
  --cenja-orange-soft: #fff3ec;
  --cenja-canvas: #fdfdfe;
  --cenja-paper: #ffffff;
  --cenja-paper-warm: #faf7f9;
  --cenja-tab-idle: #faf8f8;
  --cenja-line: #e1dfe9;
  --cenja-line-strong: #dedce8;
  --cenja-card-edge: #eceaf1;
  --cenja-muted: #a29dbb;
  --cenja-success: #3f7d67;
  --cenja-success-soft: #edf6f2;
  --cenja-warning: #d98b32;
  --cenja-warning-soft: #fff5e7;
  --cenja-info: #6259c7;
  --cenja-info-soft: #f2f0ff;

  --cenja-shadow-paper: 0 12px 28px rgba(17, 19, 46, 0.07);
  --cenja-shadow-float: 0 18px 40px rgba(17, 19, 46, 0.1);
  --cenja-shadow-small: 0 6px 14px rgba(17, 19, 46, 0.05);
  --cenja-halo-coral: 0 0 28px rgba(232, 50, 43, 0.1);
  --cenja-halo-violet: 0 0 28px rgba(107, 92, 199, 0.1);

  --space-2: 2px;
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-field: 18px;
  --radius-button: 22px;
  --radius-lg: 24px;
  --radius-card: 28px;
  --radius-hero: 32px;
  --radius-pill: 999px;

  --display-l-size: 40px;
  --display-l-leading: 44px;
  --display-xl-size: 48px;
  --display-xl-leading: 50px;
  --title-serif-size: 26px;
  --title-serif-leading: 30px;
  --title-size: 20px;
  --title-leading: 26px;
  --body-lg-size: 17px;
  --body-lg-leading: 24px;
  --body-size: 15px;
  --body-leading: 22px;
  --body-sm-size: 13px;
  --body-sm-leading: 19px;
  --label-size: 13px;
  --label-leading: 16px;
  --caption-size: 12px;
  --caption-leading: 16px;

  --motion-press: 160ms;
  --motion-release: 200ms;
  --motion-card: 260ms;
  --ease-out: cubic-bezier(0.33, 1, 0.68, 1);

  --page: 1080px;
  --reading: 68ch;

  /* Mes Quittances — réservé à la présentation produit */
  --qa-paper: #faf7f2;
  --qa-sand: #efe8dc;
  --qa-card: #ffffff;
  --qa-border: #e5dfd3;
  --qa-ink: #1f1b16;
  --qa-ink-soft: #3d362e;
  --qa-muted: #7a736b;
  --qa-disabled: #b8b0a5;
  --qa-sage: #9db5a0;
  --qa-sage-deep: #5c7a60;
  --qa-sage-soft: #e4ece4;
  --qa-sage-ink: #2e3d30;
  --qa-success: #5c7a60;
  --qa-warning: #b98a2e;
  --qa-warning-soft: #fbf2de;
  --qa-warning-ink: #6b4f1a;
  --qa-danger: #b4452e;
  --qa-danger-soft: #f4dbd3;
  --qa-danger-ink: #6b2a1a;
  --qa-info: #5c7a8a;
  --qa-radius-xs: 6px;
  --qa-radius-sm: 10px;
  --qa-radius-md: 14px;
  --qa-radius-lg: 20px;
  --qa-radius-xl: 28px;
  --qa-shadow-e1: 0 1px 1px rgba(31, 27, 22, 0.04), 0 2px 0 rgba(31, 27, 22, 0.03);
  --qa-shadow-e2: 0 10px 0 rgba(31, 27, 22, 0.1), 0 2px 0 rgba(31, 27, 22, 0.04);
}
