@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@600;700;800&display=swap');
@import "tailwindcss";

/* ─── Thème (port de tailwind.config.ts) ─────────────────────────────────── */
@theme {
    --font-sans: "Inter", system-ui, sans-serif;
    --font-display: "Montserrat", system-ui, sans-serif;

    --color-navy-500: #2A4A80;
    --color-navy-700: #1A3460;
    --color-navy-800: #112550;
    --color-navy-900: #0D2144;
    --color-navy-950: #0A1628;

    /* Couleur de thème = bleu Emil Frey (le nom "red-brand" est conservé pour ne pas renommer
       toutes les classes ; seules les valeurs changent du rouge vers le bleu). */
    --color-red-brand: #21409A;
    --color-red-brand-dark: #182F73;
    --color-red-brand-light: #3B5BC0;

    --shadow-card: 0 2px 8px 0 rgba(10, 22, 40, 0.35);
    --shadow-card-hover: 0 8px 24px 0 rgba(10, 22, 40, 0.5);
    --shadow-red-glow: 0 0 16px rgba(33, 64, 154, 0.4);

    --animate-fade-in: fadeIn 0.3s ease-out;
    --animate-slide-up: slideUp 0.4s ease-out;
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(12px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ─── Base (port de globals.css) ─────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    color: #0f172a;
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

*:focus-visible {
    outline: 2px solid var(--color-red-brand);
    outline-offset: 2px;
}

::selection {
    background: rgba(33, 64, 154, 0.3);
    color: white;
}
