:root {
    --legal-primary: #872D84;
    --legal-accent: #04C360;
    --legal-bg: #f7f9fb;
    --legal-card-bg: #ffffff;
    --legal-text: #2c3e50;
}

body {
    background-color: var(--legal-bg);
}

/* --- NOUVEAU : Classe pour remplacer le conteneur par défaut --- */
.legal-layout {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 20px !important;
    margin: 0 !important;
    display: flex;
    justify-content: center;
}

/* --- MODIFIÉ : Le wrapper prend maintenant beaucoup plus de place --- */
.privacy-wrapper {
    width: 95%;              /* Prend 95% de la largeur disponible */
    max-width: 1400px;       /* Bloque à 1400px sur les écrans géants */
    margin: 40px auto;
    padding: 60px;
    background-color: var(--legal-card-bg);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(135, 45, 132, 0.08);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--legal-text);
}

/* En-tête */
.privacy-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 25px;
}

.privacy-header::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--legal-primary), var(--legal-accent));
    margin: 25px auto 0;
    border-radius: 4px;
}

.privacy-header h2 {
    color: var(--legal-primary);
    font-size: 2.5rem;
    font-weight: 800;
}

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

.privacy-section h3 {
    display: flex;
    align-items: center;
    color: var(--legal-primary);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 25px;
    padding-left: 18px;
    border-left: 5px solid var(--legal-accent);
}

.privacy-section p {
    line-height: 1.8;
    margin-bottom: 18px;
    color: #4a5568;
    text-align: justify;
    font-size: 1.05rem;
}

/* Listes */
.privacy-list {
    list-style: none;
    padding: 20px;
    margin: 25px 0;
    background: #fafafc;
    border-radius: 12px;
    border: 1px solid #edf2f7;
}

.privacy-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

.privacy-list li:last-child { border-bottom: none; }

.privacy-list li::before {
    content: "✓";
    position: absolute;
    left: 5px;
    top: 12px;
    height: 22px;
    width: 22px;
    background: var(--legal-accent);
    color: white;
    border-radius: 50%;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Boutons */
.footer-actions {
    text-align: center;
    margin-top: 70px;
    padding-top: 40px;
    border-top: 2px solid #f7f9fb;
}

.btn-return {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--legal-primary), #6f256d);
    color: white !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s;
    box-shadow: 0 10px 25px rgba(135, 45, 132, 0.25);
}

.btn-return:hover { transform: translateY(-3px); }

/* Mobile */
@media (max-width: 768px) {
    .legal-layout { padding: 0 !important; }
    .privacy-wrapper { width: 100%; border-radius: 0; padding: 40px 20px; margin: 0; box-shadow: none; }
}