/* HolyCloud — jetons de design (copie de templates/css/shared/hc-tokens.css, polices locales) */
@font-face { font-family: 'Cabinet Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/cabinet/cabinet-400.woff2') format('woff2'); }
@font-face { font-family: 'Cabinet Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/cabinet/cabinet-500.woff2') format('woff2'); }
@font-face { font-family: 'Cabinet Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/cabinet/cabinet-600.woff2') format('woff2'); }
@font-face { font-family: 'Cabinet Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/cabinet/cabinet-700.woff2') format('woff2'); }
@font-face { font-family: 'Cabinet Grotesk'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/cabinet/cabinet-800.woff2') format('woff2'); }

:root {
    /* Typographie */
    --hc-font: 'Cabinet Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --hc-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    /* Bleu de marque (barre du haut, menu, titres, bouton principal) */
    --hc-navy: #162e62;
    --hc-navy-600: #1d3b7a;
    --hc-navy-700: #12284c;
    --hc-navy-800: #0f1f45;

    /* Bleu d'action (liens, sélection, focus) */
    --hc-blue: #066fd1;
    --hc-blue-600: #0559b0;
    --hc-blue-100: #dbeafe;
    --hc-blue-50: #edf4fd;

    /* Gris */
    --hc-gray-25: #fbfcfe;
    --hc-gray-50: #f8fafc;
    --hc-gray-100: #f1f5f9;
    --hc-gray-200: #e2e8f0;
    --hc-gray-300: #cbd5e1;
    --hc-gray-400: #94a3b8;
    --hc-gray-500: #64748b;
    --hc-gray-600: #475569;
    --hc-gray-700: #334155;
    --hc-gray-800: #1e293b;
    --hc-gray-900: #0f172a;

    /* Rôles */
    --hc-bg: #f5f6f8;
    --hc-grey: #f3f4f7;          /* tuiles, champs, fond de la navigation */
    --hc-grey-2: #e9ebf0;
    --hc-surface: #ffffff;
    --hc-line: #e6e9ee;
    --hc-line-soft: #edf1f6;
    --hc-ink: var(--hc-navy);
    --hc-text: var(--hc-gray-700);
    --hc-muted: var(--hc-gray-500);

    /* États */
    --hc-success: #059669;
    --hc-success-bg: #ecfdf5;
    --hc-warning: #b45309;
    --hc-warning-bg: #fffbeb;
    --hc-danger: #dc2626;
    --hc-danger-600: #b91c1c;
    --hc-danger-bg: #fef2f2;

    /* Formes */
    --hc-radius-sm: 10px;
    --hc-radius: 14px;
    --hc-radius-lg: 24px;
    --hc-pill: 999px;
    --hc-shadow-xs: none;
    --hc-shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
    --hc-shadow-lg: 0 18px 44px rgba(15, 23, 42, 0.14);
    --hc-focus: 0 0 0 3px rgba(6, 111, 209, 0.16);
}
