
/**
 * Variables de thème Formacore.
 * Surcharger --brand-* depuis le HEADER (couleurs CORE_parametre).
 * Les ajustements projet vont dans style.css.
 */

:root {
    /* Typo */
    --font-body: 'Inter', system-ui, sans-serif;
    --font-title: 'Inter', system-ui, sans-serif;
    --font-title-weight: 800;
    --font-size: 14px;
    --check-size: 20px;

    /* Couleurs de base — charte FORMA FACT */
    --bg: #f6f7fb;
    --dark: #151922;
    --light: #FFFFFF;
    --text: #151922;
    --muted: #697386;
    --ligne: #e8ebf1;
    --ombre: 0 24px 70px rgba(16, 24, 40, 0.08);
    --radius: 18px;

    --fond: var(--bg);
    --blanc: var(--light);
    --texte: var(--text);
    --texte-soft: var(--muted);

    /* Accents (badges, états) */
    --rose: #f5e4e4;
    --rose-text: #ba8f90;
    --rose-solid: #d7b1b2;
    --vert: #e4efe6;
    --sauge: #7ca47d;
    --sauge-dark: #477b51;
    --or: #f6e6cd;
    --or-text: #c69346;
    --or-solid: #c7a16a;
    --bleu: #e5f1f5;
    --bleu-text: #528fa8;
    --danger-bg: #fff2f2;
    --danger-text: #d84a4a;
    --danger-border: #d7b1b2;

    /* Navigation — sidebar claire maquette */
    --topbar-bg: rgba(246, 247, 251, 0.74);
    --topbar-h: 84px;
    --sidebar-bg: rgba(255, 255, 255, 0.82);
    --sidebar-text: #151922;
    --sidebar-muted: #697386;
    --sidebar-ligne: rgba(232, 235, 241, 0.85);
    --sidebar-w: 284px;

    /* Marque (surchargée par le HEADER PHP si couleurs paramétrées) */
    --brand-primary: #173f6f;
    --brand-primary-rgb: 23, 63, 111;
    --brand-primary-hover: #2367a8;
    --brand-secondary: #2f7dd1;
    --brand-secondary-rgb: 47, 125, 209;
    --brand-secondary-hover: #2367a8;
    --bs-primary: var(--brand-primary);
    --bs-primary-rgb: var(--brand-primary-rgb);
    --bs-secondary: var(--brand-secondary);
    --bs-secondary-rgb: var(--brand-secondary-rgb);
    --bs-link-color: var(--brand-primary);
    --bs-link-hover-color: var(--brand-primary-hover);
}
