/* --- legales.css --- */

/* HEADER (Gris neutre pour le légal) */
.page-header {
    height: 30vh; /* Un peu plus petit que les autres pages */
    background: linear-gradient(135deg, rgba(80,80,80,0.15) 0%, rgba(26,26,26,0) 100%), linear-gradient(rgba(0,0,0,0.9), rgba(0,0,0,0.9)); 
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid #555;
}

.page-header h1 { 
    font-size: 2.5rem; 
    text-transform: uppercase; 
    margin-bottom: 5px; 
}

.page-header span { color: #ccc; }

/* CONTENU */
.legal-section {
    padding: 60px 20px;
    background-color: var(--dark);
    max-width: 800px;
    margin: 0 auto;
    color: #ddd;
    line-height: 1.6;
}

.legal-block {
    margin-bottom: 40px;
    border-bottom: 1px solid #333;
    padding-bottom: 30px;
}

.legal-block:last-child {
    border-bottom: none;
}

.legal-block h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.legal-block h3 {
    color: var(--primary); /* Rose pour les sous-titres */
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-block p {
    margin-bottom: 15px;
}

.legal-block a {
    color: var(--secondary);
    text-decoration: none;
}

.legal-block a:hover {
    text-decoration: underline;
}
/* Effet grille subtile sur le page-header */
.page-header {
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(#88888815 1px, transparent 1px),
        linear-gradient(90deg, #88888815 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
}

.page-header h1,
.page-header p {
    position: relative;
    z-index: 1;
}