/* Police Lexend (Google Fonts, licence SIL OFL 1.1) — un seul fichier variable, caractères latins (D51) */
@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/lexend-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;
}

/* GESTIA — jetons de conception (T11 v0.2 validé D47, affinés par la refonte R2 : D61, D66).
   SEUL fichier autorisé à contenir des codes couleur (contrôle build.py). Changer une couleur = changer ce fichier. */
:root {
  /* Couleurs de marque */
  --g-navy-900: #0B1F3A;
  --g-navy-800: #0F2A4D;
  --g-navy-700: #16407A;
  --g-navy-200: #B9C9E4;
  --g-navy-50: #F2F6FC;
  --g-sky: #0CB1F6;          /* décor, icônes, texte sur fond navy uniquement */
  --g-sky-ink: #0369A1;      /* texte « ciel » sur fond clair (5,9:1) */
  --g-sky-50: #E6F6FE;
  --g-cta: #C2410C;          /* UNIQUE couleur d'action */
  --g-cta-hover: #9A3412;
  --g-wa: #25D366;           /* WhatsApp : texte navy obligatoire */

  /* Neutres et états */
  --g-white: #FFFFFF;
  --g-ink: #0B1F3A;
  --g-ink-muted: #4B5768;     /* texte secondaire (7,4:1 sur blanc) */
  --g-ink-soft: #E2E8F0;
  --g-border: #E4E8EE;
  --g-border-hover: #C9D1DC;
  --g-border-strong: #64748B;
  --g-bg: #FFFFFF;
  --g-bg-alt: #F7F8FA;
  --g-header: rgba(255, 255, 255, .86);
  --g-cta-50: #FFF1E6;
  --g-success: #15803D;
  --g-success-50: #F0FDF4;
  --g-error: #B91C1C;
  --g-error-50: #FEF2F2;
  --g-paper: #FFFDF8;        /* papier du ticket de caisse */
  --g-overlay: rgba(11, 31, 58, .88);
  --g-overlay-soft: rgba(11, 31, 58, .55);
  --g-overlay-light: rgba(11, 31, 58, .2);
  --g-line-dark: rgba(185, 201, 228, .22);
  --g-sky-glow: rgba(12, 177, 246, .16);

  /* Typographie (D51 : Lexend, 2 fichiers max : 400 et 600) */
  --g-font-title: "Lexend", "Segoe UI", Roboto, system-ui, sans-serif;
  --g-font-text: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --g-fw-display: 300;       /* grands titres fins (R2) */
  --g-fw-medium: 500;
  --g-fw-strong: 600;
  --g-font-ticket: ui-monospace, "Cascadia Mono", "Roboto Mono", Consolas, monospace;
  --g-fs-xs: .8125rem;
  --g-fs-sm: .9375rem;
  --g-fs-base: 1rem;
  --g-fs-lg: clamp(1.125rem, 1rem + .5vw, 1.3125rem);
  --g-fs-h3: clamp(1.1875rem, 1.1rem + .3vw, 1.375rem);
  --g-fs-h2: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  --g-fs-h1: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem);
  --g-fs-display: clamp(2.25rem, 1.4rem + 3.6vw, 4rem);

  /* Espacements (base 4 px) */
  --g-space-1: 4px; --g-space-2: 8px; --g-space-3: 12px; --g-space-4: 16px; --g-space-5: 24px;
  --g-space-6: 32px; --g-space-7: 48px; --g-space-8: 64px; --g-space-9: 96px; --g-space-10: 128px;
  --g-container: 1200px;

  /* Formes */
  --g-radius-sm: 6px;
  --g-radius: 8px;
  --g-radius-lg: 14px;
  --g-radius-xl: 18px;
  --g-radius-full: 999px;
  --g-shadow-sm: 0 1px 2px rgba(11, 31, 58, .05);
  --g-shadow-device: 0 2px 4px rgba(11, 31, 58, .04), 0 12px 24px rgba(11, 31, 58, .08), 0 40px 80px rgba(11, 31, 58, .12);
  --g-shadow-md: 0 10px 30px rgba(11, 31, 58, .10);
  --g-shadow-lg: 0 24px 60px rgba(11, 31, 58, .28);

  /* Mouvement */
  --g-fast: 160ms;
  --g-slow: 240ms;
  --g-ease: cubic-bezier(.2, .7, .2, 1);
}
