/* On hérite du body de styles.css, pas besoin de le remettre */

/* --- MENU & HEADER --- */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 999;
}
.overlay.active { opacity: 1; visibility: visible; }

.menu-toggle {
    position: fixed;
    top: 2rem;
    left: 2rem;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}
.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: #1a1a1a;
    transition: all 0.3s ease;
    border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(8px, 8px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(8px, -8px); }

.sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background: transparent;
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 5rem 2rem 2rem;

}
.sidebar.active { left: 0; }
.sidebar ul { list-style: none; padding: 0; margin: 0; }
.sidebar li { margin-bottom: 2.5rem; }
.sidebar a {
    text-decoration: none;
    color: #1a1a1a;
    font-size: 1.2rem;
    font-weight: 400;
    transition: color 0.2s ease;
    display: block;
}
.sidebar a:hover { color: #666; }

.header {
    position: fixed;
    top: -1rem;
    left: 0;
    width: 100%;
    padding: 1rem;
    z-index: 100;
    display: flex;
    justify-content: center;
}

/* --- CONTENU SPÉCIFIQUE MENTIONS LÉGALES --- */

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    /* J'ai augmenté ici : 14rem au lieu de 8rem */
    padding: 14rem 2rem 4rem; 
    color: #1a1a1a;
}

.legal-container h1 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    /* On met 'none' pour respecter tes majuscules, ou 'uppercase' pour tout mettre en MAJUSCULE */
    text-transform: none; 
    letter-spacing: -0.5px;
}

.legal-section {
    margin-bottom: 2.5rem;
    background-color: rgba(255, 255, 255, 0.4); 
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(26, 26, 26, 0.05);
}

.legal-section h2 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(26, 26, 26, 0.2);
    padding-bottom: 0.5rem;
}

.legal-section p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 300;
}

.legal-section strong {
    font-weight: 500;
}

/* Version Mobile */
@media (max-width: 768px) {
    .legal-container {
        /* J'ai augmenté ici aussi : 11rem au lieu de 7rem */
        padding: 11rem 1.5rem 2rem;
    }
    
    .legal-container h1 {
        font-size: 1.5rem;
    }
    
    .legal-section {
        padding: 1.5rem;
    }
}