@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

:root {
    --lx-violet: #6B4FE0;
    --lx-violet-soft: #f7f4ff;
    --lx-violet-hover: #5a3fcf;
    --lx-violet-border: #dcd3ff;
    --lx-border: #e8e8e8;
    --lx-border-dark: #d7d7d7;
    --lx-text: #1a1a1a;
    --lx-text-soft: #4f4f4f;
    --lx-muted: #7f7f7f;
    --lx-faint: #aaa;
    --lx-light: #fafafa;
    --lx-off: #fcfcfc;
    --lx-warn: #b0782a;
    --lx-warn-bg: #fffaf2;
    --lx-warn-border: #f3e2bd;
    --lx-danger: #af4f4f;
    --lx-success: #2f8f61;

    /* ── Refonte v2 : dégradés, sombre, échelle (additif, ne modifie rien ci-dessus) ── */
    --lx-indigo: #4F3FD0;
    --lx-magenta: #B14FE0;
    --lx-grad: linear-gradient(120deg, #6B4FE0 0%, #7A44E4 45%, #B14FE0 100%);
    --lx-grad-strong: linear-gradient(135deg, #4F3FD0 0%, #6B4FE0 42%, #B14FE0 100%);
    --lx-grad-text: linear-gradient(100deg, #6B4FE0 0%, #B14FE0 100%);
    --lx-ivory: #faf9fc;
    --lx-ivory-2: #f6f4fb;
    --lx-line: #f0eef6;
    --lx-dark: #151221;
    --lx-dark-2: #1e1834;
    --lx-dark-line: rgba(255, 255, 255, 0.12);

    /* Domaines (repris du chat) */
    --dom-travail: #3b82f6;
    --dom-civil: #ec4899;
    --dom-assurances: #10b981;
    --dom-famille: #f59e0b;
    --dom-successions: #8b5cf6;
    --dom-poursuites: #ef4444;
    --dom-general: #9ca3af;

    /* Rayons / ombres / easing */
    --lx-r-sm: 8px;
    --lx-r-md: 12px;
    --lx-r-lg: 18px;
    --lx-r-xl: 26px;
    --lx-sh-sm: 0 2px 8px rgba(23, 20, 31, 0.05);
    --lx-sh-md: 0 12px 30px rgba(23, 20, 31, 0.07);
    --lx-sh-lg: 0 30px 70px rgba(23, 20, 31, 0.10);
    --lx-glow: 0 20px 60px rgba(107, 79, 224, 0.28);
    --lx-ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    font-family: 'DM Sans', sans-serif;
    color: var(--lx-text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    color: inherit;
}

textarea, input { font-family: inherit; }
