/* ============================================
   D.L.Dev — Pages légales — Style partagé
   ============================================ */

:root {
    --blue-900: #0c2340;
    --blue-700: #1a4f8a;
    --blue-600: #2068b0;
    --blue-500: #2b82d4;
    --blue-200: #b3d9f8;
    --blue-100: #deeefb;
    --blue-50: #f0f7fe;
    --orange-500: #e8912d;
    --text-dark: #0c2340;
    --text-mid: #3a5575;
    --text-light: #6b88a8;
    --white: #ffffff;
}

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

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.8;
    color: var(--text-dark);
    background: var(--blue-50);
}

/* --- Barre de navigation --- */
.topbar {
    background: var(--blue-900);
    padding: 14px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.topbar-logo {
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15em;
    letter-spacing: 0.02em;
}

.topbar-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.topbar-links a {
    color: var(--blue-200);
    text-decoration: none;
    font-size: 0.88em;
    padding: 5px 14px;
    border-radius: 6px;
    transition: all 0.2s;
}

.topbar-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.topbar-links a.active {
    color: var(--white);
    background: var(--blue-700);
    font-weight: 500;
}

/* --- Contenu principal --- */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 50px 28px 80px;
}

h1 {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--blue-900);
    margin-bottom: 8px;
}

.last-update {
    color: var(--text-light);
    font-size: 0.9em;
    margin-bottom: 40px;
}

section {
    margin-bottom: 36px;
}

h2 {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--blue-700);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--blue-100);
}

p {
    color: var(--text-mid);
    margin-bottom: 12px;
    font-size: 0.95em;
}

ul {
    margin: 10px 0 16px 24px;
    color: var(--text-mid);
    font-size: 0.95em;
}

li {
    margin-bottom: 8px;
}

a {
    color: var(--blue-600);
    text-decoration: underline;
    font-weight: 500;
}

a:hover {
    color: var(--blue-900);
    text-decoration: underline;
}

strong {
    color: var(--text-dark);
}

code {
    background: var(--blue-100);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.92em;
    color: var(--blue-900);
}

/* --- Footer --- */
footer {
    background: var(--blue-900);
    color: var(--blue-200);
    text-align: center;
    padding: 24px;
    font-size: 0.88em;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .container {
        padding: 30px 18px 60px;
    }

    h1 {
        font-size: 1.7em;
    }

    .topbar {
        padding: 12px 16px;
    }

    .topbar-links a {
        font-size: 0.8em;
        padding: 4px 10px;
    }
}
