:root {
    color-scheme: dark;
    --bg: #08090a;
    --surface: #111419;
    --surface-soft: #15191f;
    --line: rgba(255, 255, 255, .11);
    --text: #f7f8fa;
    --muted: #aab1bc;
    /* Palette bleue du dashboard zaalis. */
    --accent: #0078d4;
    --accent-hover: #106ebe;
    --accent-bright: #569cd6;
    --success: #6ee7b7;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    background: radial-gradient(circle at 76% 0%, rgba(0, 120, 212, .15), transparent 30rem), var(--bg);
    color: var(--text);
    font-family: Outfit, Inter, Arial, sans-serif;
    line-height: 1.6;
}

a { color: inherit; }

.site-header, .site-footer, main { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; letter-spacing: -.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.site-nav { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: .92rem; }
.site-nav a { text-decoration: none; }
.site-nav a:hover, .footer-links a:hover { color: var(--accent-bright); }

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 43px;
    padding: 0 19px;
    border: 1px solid rgba(0, 120, 212, .65);
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff;
    font: inherit;
    font-weight: 650;
    text-decoration: none;
    box-shadow: 0 9px 24px rgba(0, 120, 212, .28);
}
.button:hover { filter: brightness(1.1); }
.button--secondary { background: transparent; border-color: var(--line); box-shadow: none; }

.hero { padding: 102px 0 70px; max-width: 830px; }
.eyebrow { margin: 0 0 14px; color: var(--accent-bright); font-size: .77rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; }
h1 { max-width: 790px; margin: 0; font-size: clamp(2.35rem, 6vw, 4.6rem); }
h2 { margin: 0 0 14px; font-size: clamp(1.65rem, 3.5vw, 2.55rem); }
h3 { margin: 0 0 9px; font-size: 1.15rem; }
.lead { max-width: 720px; margin: 25px 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.section { padding: 68px 0; border-top: 1px solid var(--line); }
.section-intro { max-width: 690px; margin-bottom: 32px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 26px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); }
.step { color: var(--accent-bright); font-weight: 750; font-size: .8rem; letter-spacing: .09em; }
.card p, .notice p { margin: 0; color: var(--muted); }

.notice { padding: 30px; border: 1px solid rgba(110, 231, 183, .27); border-radius: 18px; background: rgba(45, 112, 85, .14); }
.notice h2 { color: var(--success); }
.notice ul { margin: 16px 0 0; padding-left: 20px; color: var(--muted); }
.notice li + li { margin-top: 8px; }

.legal { max-width: 800px; padding: 76px 0 30px; }
.legal h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.legal-meta { margin: 15px 0 44px; color: var(--muted); }
.legal section { margin: 32px 0; }
.legal h2 { font-size: 1.42rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 22px; }

.site-footer { padding: 32px 0 42px; margin-top: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { text-decoration: none; }

@media (max-width: 680px) {
    .site-header, .site-footer, main { width: min(100% - 32px, 1120px); }
    .site-header { min-height: 68px; }
    .site-nav a:not(.button) { display: none; }
    .grid { grid-template-columns: 1fr; }
    .hero { padding: 72px 0 52px; }
    .section { padding: 50px 0; }
}
