/* Variables par défaut (repli si aucun thème actif). Le thème actif les remplace via /theme/css/. */
:root{ --primary-lighter:#c4d2ff; --primary-darker:#2a3ab8; --secondary-light:#67e8f9; --success-light:#86efac; --success-darker:#166534; --danger-light:#fb7185; --danger-darker:#831843; --warning-light:#fbbf24; --warning-darker:#92400e; --info-light:#7dd3fc; --info-darker:#082f49; --pop-dark:#f43f5e; --text-secondary:#3d4556; --text-disabled:#8b93a8; --white-smoke:#f8f9fa; --gray-50:#f9fafb; --gray-100:#f3f4f6; --gray-200:#e5e7eb; --gray-300:#d1d5db; --gray-400:#9ca3af; --gray-500:#6b7280; --gray-600:#4b5563; --gray-700:#374151; --gray-800:#1f2937; --gray-900:#111827; --border-light:rgba(255, 255, 255, 0.35); --border-dark:rgba(0, 0, 0, 0.1); --bg-body:#ffffff; --bg-secondary:#f8f9fa; --bg-tertiary:#f3f4f6; --font-mono:'Fira Code', monospace; --font-size-4xl:2rem; --font-size-5xl:2.25rem; --font-size-6xl:2.75rem; --font-weight-light:300; --font-weight-normal:400; --font-weight-medium:500; --font-weight-semibold:600; --font-weight-bold:700; --font-weight-extrabold:800; --font-weight-black:900; --line-height-tight:1.2; --line-height-normal:1.5; --line-height-relaxed:1.75; --line-height-loose:2; --spacing-1:0.25rem; --spacing-2:0.5rem; --spacing-3:0.75rem; --spacing-4:1rem; --spacing-5:1.25rem; --spacing-6:1.5rem; --spacing-8:2rem; --spacing-10:2.5rem; --spacing-12:3rem; --spacing-16:4rem; --spacing-20:5rem; --spacing-24:6rem; --spacing-32:8rem; --radius-md:12px; --radius-xl:24px; --radius-2xl:32px; --shadow-xs:0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow-sm:0 1px 3px 0 rgba(0, 0, 0, 0.1); --shadow-md:0 4px 6px -1px rgba(0, 0, 0, 0.1); --shadow-xl:0 20px 25px -5px rgba(0, 0, 0, 0.1); --shadow-2xl:0 25px 50px -12px rgba(0, 0, 0, 0.25); --transition-fast:all 0.15s ease-in-out; --transition-normal:all 0.3s ease-in-out; --transition-slow:all 0.5s ease-in-out; --grad-brand-hover:linear-gradient(135deg, var(--primary-dark), var(--secondary-dark)); --grad-success:linear-gradient(135deg, var(--success), var(--info)); --grad-danger:linear-gradient(135deg, var(--danger), var(--pop)); --grad-warning:linear-gradient(135deg, var(--warning), var(--pop)); --mobile:320px; --mobile-sm:360px; --mobile-md:375px; --mobile-lg:390px; --mobile-xl:414px; --tablet:480px; --tablet-lg:600px; --tablet-xl:768px; --laptop:820px; --laptop-lg:912px; --desktop:1024px; --desktop-lg:1280px; --desktop-xl:1440px; --ultrawide:1920px; --z-dropdown:1000; --z-sticky:1020; --z-fixed:1030; --z-modal-backdrop:1040; --z-modal:1050; --z-popover:1060; --z-tooltip:1070; --z-notification:1080; }
[data-theme="dark"]{ --text:#e5e7eb; --text-secondary:#d1d5db; --text-muted:#9ca3af; --text-disabled:#6b7280; --white:#1a1f2e; --white-smoke:#16203a; --gray-50:#0f1419; --gray-100:#1a1f2e; --gray-200:#374151; --gray-300:#4b5563; --gray-400:#6b7280; --gray-500:#9ca3af; --gray-600:#d1d5db; --gray-700:#e5e7eb; --gray-800:#f3f4f6; --gray-900:#ffffff; --bg-body:#16203a; --bg-secondary:#1f2937; --bg-tertiary:#374151; --border:rgba(255, 255, 255, 0.1); --border-light:rgba(255, 255, 255, 0.05); --border-dark:rgba(0, 0, 0, 0.3); --glass:rgba(30, 41, 89, 0.5); --glass-2:rgba(30, 41, 89, 0.65); --glass-soft:rgba(30, 41, 89, 0.35); --glass-brd:rgba(255, 255, 255, 0.15); --glass-brd-soft:rgba(255, 255, 255, 0.1); }
*{ margin:0; padding:0; box-sizing:border-box; }
html{ font-size:16px; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
/* Fond du site : uniquement la couleur « Fond de page » du theme manager (--bg). */
body{ background:var(--bg, var(--bg-body)); transition:var(--transition-normal); }
*:focus-visible{ outline:2px solid var(--primary); outline-offset:2px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{ outline:2px solid var(--primary); outline-offset:2px; }
@media print{
*{ background:transparent !important; color:var(--text) !important; box-shadow:none !important; text-shadow:none !important; }
}
