/* ============================================
   CETEMOH - Design Tokens (fichier partagé)
   Importé par style.css et admin-style.css
   ============================================ */

:root {
    /* === Palette Skyline Arctique === */
    --sky-900: #0f172a;
    --blue-900: #1e3a8a;
    --blue-600: #2563eb;
    --blue-400: #60a5fa;
    --sky-100: #e0f2fe;

    /* === Couleurs sémantiques === */
    --primary: #0f3d5e;
    --primary-dark: #0a2c44;
    --primary-light: #2563eb;
    --accent: #d97706;
    --success: #059669;
    --danger: #dc2626;
    --warning: #d97706;
    --info: #0ea5e9;

    /* === Dégradés === */
    --grad-skyline: linear-gradient(135deg, #1e3a8a 0%, #2563eb 55%, #60a5fa 100%);
    --grad-skyline-deep: linear-gradient(135deg, #0f172a 0%, #1e3a8a 60%, #2563eb 100%);

    /* === Neutres === */
    --bg: #f6f7f9;
    --bg-white: #ffffff;
    --text: #1a2332;
    --text-muted: #5b6b7c;

    /* === Bordures & surfaces === */
    --border: #e2e8f0;
    --border-soft: #eef1f5;

    /* === Rayons === */
    --radius: 10px;
    --radius-lg: 18px;
    --radius-sm: 7px;

    /* === Ombres === */
    --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 1px 3px rgba(16, 24, 40, 0.06);
    --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
    --shadow-lg: 0 24px 48px rgba(16, 24, 40, 0.12);

    /* === Focus ring === */
    --ring: rgba(37, 99, 235, 0.28);

    /* === Typographie === */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, system-ui, sans-serif;

    /* === Transitions === */
    --transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    /* === Layout === */
    --header-height: 70px;
    --sidebar-width: 260px;
    --admin-header: 60px;

    /* === Sidebar === */
    --sidebar-bg: #0f172a;
    --sidebar-text: #9db0c3;
    --sidebar-active: #2563eb;
    --admin-bg: #f5f7fa;
}

/* === Dark mode tokens === */
[data-theme="dark"] {
    --bg: #0f1722;
    --bg-white: #1a2332;
    --text: #e2e8f0;
    --text-muted: #8494a7;
    --border: #293548;
    --border-soft: #1e2d3d;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.5);
    --ring: rgba(37, 99, 235, 0.4);
    --admin-bg: #0f1722;
    --sidebar-bg: #0a0f18;
    --sidebar-text: #6b7f94;
}
