/* ==========================================================================
   BILLET223 V2 — DESIGN TOKENS OFFICIELS (THÈME CLAIR EXCLUSIF)
   Section 2 du Cahier des Charges Design Complet
   ========================================================================== */
:root {
    /* Palette Officielle Thème Clair */
    --b223-navy-900: #0A2540;      /* Bleu profond : Confiance & Professionnalisme */
    --b223-navy-800: #0F3460;      /* Bleu profond secondaire */
    --b223-blue-600: #1D4ED8;      /* Bleu vif : Boutons principaux & éléments interactifs */
    --b223-blue-700: #1E40AF;      /* Bleu vif hover */
    --b223-blue-50:  #EFF6FF;      /* Fond bleu très léger */
    --b223-amber-500: #F59E0B;     /* Jaune : Accents & mises en évidence */
    --b223-amber-100: #FEF3C7;     /* Fond badge jaune */
    --b223-amber-900: #92400E;     /* Texte sur badge jaune */
    --b223-white: #FFFFFF;         /* Blanc : Arrière-plan principal & Cartes */
    --b223-gray-50: #F8FAFC;       /* Gris très clair : Arrière-plans secondaires */
    --b223-gray-100: #F1F5F9;      /* Gris clair entêtes tableaux */
    --b223-border: #E2E8F0;        /* Bordures sobres 1px */
    --b223-text-main: #0F172A;     /* Gris foncé : Textes principaux */
    --b223-text-muted: #475569;    /* Gris moyen : Sous-titres & labels */
    --b223-green-600: #10B981;     /* Vert : Confirmations & Billet Valide */
    --b223-green-50: #ECFDF5;
    --b223-green-900: #065F46;
    --b223-orange-500: #F97316;    /* Orange : Vérification Contrôleur / En attente */
    --b223-orange-50: #FFF7ED;
    --b223-orange-900: #9A3412;
    --b223-red-600: #EF4444;       /* Rouge : Erreurs, Alertes & Billet Invalide */
    --b223-red-50: #FEF2F2;
    --b223-red-900: #991B1B;

    /* Typographie Moderne & Lisible */
    --b223-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --b223-font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Rayons & Ombres Sobres (Aucun effet 3D inutile, pas de cartes trop arrondies) */
    --b223-radius-sm: 6px;
    --b223-radius-md: 8px;
    --b223-radius-lg: 10px;
    --b223-shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --b223-shadow-md: 0 4px 12px rgba(15, 23, 42, 0.06);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background-color: var(--b223-white);
    color: var(--b223-text-main);
    font-family: var(--b223-font-sans);
    font-size: 15px;
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--b223-blue-600);
    text-decoration: none;
}
a:hover {
    color: var(--b223-blue-700);
}

.mono-num {
    font-family: var(--b223-font-mono);
    font-variant-numeric: tabular-nums;
}
