/* Politiques de confidentialité (politique-confidentialite.html, privacy-policy.html).
   Feuille externe : la CSP à nonce du proxy bloque tout <style> en ligne sur ces
   pages statiques (revue de sécurité du 2026-09-14). */

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    color: #c8cdd3;
    background-color: #0B1120;
}

a {
    color: #60a5fa;
    text-decoration: none;
}

a:hover {
    color: #93c5fd;
    text-decoration: underline;
}

/* Header bar */
.top-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 0;
}

.top-bar-inner {
    max-width: 780px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.back-link:hover {
    color: #e2e8f0;
    text-decoration: none;
}

.back-link svg {
    width: 16px;
    height: 16px;
}

.lang-switch {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 3px;
}

.lang-btn {
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 0.02em;
}

.lang-btn.active {
    background: #3b82f6;
    color: #fff;
}

.lang-btn:not(.active) {
    color: #94a3b8;
}

.lang-btn:not(.active):hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
    text-decoration: none;
}

/* Main content */
.container {
    max-width: 780px;
    margin: 0 auto;
    padding: 48px 24px 64px;
}

.page-title {
    font-size: 2.25rem;
    font-weight: 800;
    color: #f1f5f9;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.meta-info {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 4px;
}

.divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: 32px 0;
}

/* Sections */
.section {
    margin-bottom: 36px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #60a5fa;
    margin-bottom: 12px;
}

.section p {
    margin-bottom: 12px;
    color: #94a3b8;
}

.section ul {
    padding-left: 24px;
    margin-bottom: 12px;
}

.section li {
    margin-bottom: 8px;
    color: #94a3b8;
}

.section li strong {
    color: #cbd5e1;
}

/* Contact box */
.contact-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 20px;
    margin: 16px 0;
}

.contact-box p {
    color: #94a3b8;
    margin-bottom: 0;
}

.contact-box strong {
    color: #e2e8f0;
}

/* Data table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
}

.data-table th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #60a5fa;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.data-table td {
    padding: 10px 16px;
    font-size: 0.9rem;
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table td:first-child {
    font-weight: 500;
    color: #cbd5e1;
}

/* Footer */
.footer-text {
    text-align: center;
    font-size: 0.85rem;
    color: #475569;
}

/* Responsive */
@media (max-width: 640px) {
    .container {
        padding: 32px 16px 48px;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.1rem;
    }

    .data-table {
        font-size: 0.8rem;
    }

    .data-table th,
    .data-table td {
        padding: 8px 10px;
    }
}
