﻿/*
 * Charte Graphique — Administration Burkinabè
 * Variables CSS officielles — République du Burkina Faso
 * 
 * Version: 1.0.0
 * Date: Avril 2026
 */

/* ─────────────────────────────────────────────
   COULEURS PANAFRICAINES (Drapeau national)
   ───────────────────────────────────────────── */
:root {
  /* Rouge — Révolution & Courage */
  --rouge-panaf: #E30613;      /* Rouge officiel du drapeau */
  --rouge-fonce: #BA0510;       /* Rouge sombre pour accents */
  --rouge-clair: #F04E5A;       /* Rouge clair pour icônes */
  --rouge-pale: #FDE0E2;       /* Rouge pâle pour backgrounds */

  /* Jaune — Lumière & Sagesse */
  --jaune-panaf: #FFED00;       /* Jaune officiel (étoile) */
  --jaune-fonce: #E0C900;      /* Jaune foncé */
  --jaune-clair: #FFF24D;       /* Jaune clair */
  --jaune-pale: #FFFDE0;       /* Jaune pâle pour backgrounds */

  /* Vert — Espoir & Richesses */
  --vert-panaf: #00843B;        /* Vert officiel du drapeau */
  --vert-fonce: #006A2F;        /* Vert foncé */
  --vert-clair: #33A35E;       /* Vert clair pour icônes */
  --vert-pale: #E0F2E6;        /* Vert pâle pour backgrounds */

  /* ─────────────────────────────────────────────
     BLEU GOUVERNEMENT — Confiance & Souveraineté
     ───────────────────────────────────────────── */
  --bleu-gouvernement: #1A3A5C;  /* Bleu institutionnel principal */
  --bleu-clair-gouv: #2C5282;    /* Bleu clair pour liens */
  --bleu-information: #E8F0F8;    /* Bleu pâle pour informations */

  /* ─────────────────────────────────────────────
     COULEURS DE TEXTE
     ───────────────────────────────────────────── */
  --texte-sombre: #1A2A3A;       /* Titres, paragraphes principaux */
  --texte-moyen: #4A5B6C;        /* Sous-titres, labels */
  --texte-clair: #7A8B9C;        /* Texte secondaire, captions */
  --texte-inverse: #FFFFFF;       /* Texte sur fond sombre */

  /* ─────────────────────────────────────────────
     COULEURS DE FOND
     ───────────────────────────────────────────── */
  --fond-blanc: #FFFFFF;         /* Fond principal */
  --fond-creme: #FAFBFC;         /* Fond alternatif léger */
  --fond-gris: #EEF1F5;          /* Fond gris clair */
  --fond-alt: #F4F6F8;           /* Fond alternatif */

  /* ─────────────────────────────────────────────
     BORDURES & SÉPARATEURS
     ───────────────────────────────────────────── */
  --bordure: #D8DEE6;            /* Bordures légères */
  --bordure-fonce: #C4CDD6;      /* Bordures sombres */

  /* ─────────────────────────────────────────────
     COULEURS SÉMANTIQUES
     ───────────────────────────────────────────── */
  --succes: #00843B;             /* Actions réussies, validations */
  --succes-bg: #E0F2E6;          /* Fond succès */
  
  --warning: #F0A030;            /* Avertissements */
  --warning-bg: #FEF3E0;          /* Fond avertissement */
  
  --danger: #E04545;             /* Erreurs, suppressions */
  --danger-bg: #FDE0E2;           /* Fond erreur */
  
  --info: #1A3A5C;               /* Informations */
  --info-bg: #E8F0F8;            /* Fond information */

  /* ─────────────────────────────────────────────
     RAYONS DE BORDURE
     ───────────────────────────────────────────── */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* ─────────────────────────────────────────────
     OMBRES
     ───────────────────────────────────────────── */
  --shadow-xs: 0 1px 2px rgba(26,42,58,0.04);
  --shadow-sm: 0 2px 8px rgba(26,42,58,0.06);
  --shadow-md: 0 4px 16px rgba(26,42,58,0.08);
  --shadow-lg: 0 8px 32px rgba(26,42,58,0.12);
  --shadow-xl: 0 16px 48px rgba(26,42,58,0.16);

  /* Ombres colorées (glow effects) */
  --shadow-glow-rouge: 0 4px 20px rgba(227,6,19,0.25);
  --shadow-glow-jaune: 0 4px 20px rgba(255,237,0,0.3);
  --shadow-glow-vert: 0 4px 20px rgba(0,132,59,0.25);
  --shadow-glow-bleu: 0 4px 20px rgba(26,58,92,0.25);

  /* ─────────────────────────────────────────────
     TYPOGRAPHIE
     ───────────────────────────────────────────── */
  --font-titres: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-corps: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* ─────────────────────────────────────────────
     TAILLES TYPOGRAPHIQUES
     ───────────────────────────────────────────── */
  --text-xs: 11px;
  --text-sm: 13px;
  --text-base: 15px;
  --text-lg: 18px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 32px;
  --text-4xl: 42px;

  /* ─────────────────────────────────────────────
     POIDS DE POLICES
     ───────────────────────────────────────────── */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extrabold: 800;

  /* ─────────────────────────────────────────────
     ESPACEMENTS
     ───────────────────────────────────────────── */
  --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;

  /* ─────────────────────────────────────────────
     DURÉES D'ANIMATION
     ───────────────────────────────────────────── */
  --transition-fast: 150ms ease;
  --transition-normal: 250ms ease;
  --transition-slow: 400ms ease;

  /* Accessibilite & confiance numerique */
  --focus-ring: 0 0 0 4px rgba(0,132,59,0.18);
  --focus-ring-bleu: 0 0 0 4px rgba(26,58,92,0.18);
  --hauteur-cible-min: 44px;
  --largeur-contenu: 1200px;
  --largeur-lecture: 760px;
  --z-sticky-nav: 100;
  --z-modal: 1000;
}
