body{
    margin-top:80px;
}
/* Container principal pour centrer le contenu */
.legal-main-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(200, 200, 200, 0.2) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(200, 200, 200, 0.2) 1px, transparent 1px);
    background-size: 40px 40px; /* Quadrillage de la maquette */
}

.main-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 30px;
    text-align: center;
}

/* La boîte avec la bordure bleue de la maquette */
.legal-box {
    width: 90%;
    max-width: 600px;
    background: white;
    border: 3px solid #00A3FF; /* Bleu de la maquette */
    display: flex;
    flex-direction: column;
    max-height: 70vh; /* Pour activer le scroll si trop long */
}

.legal-header {
    padding: 15px;
    border-bottom: 2px dashed #00A3FF;
}

.legal-header h2 {
    font-size: 1.1rem;
    margin: 0;
    text-align: left;
    font-weight: bold;
}

/* Zone de texte défilable */
.legal-content {
    padding: 20px;
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: left;
}

.legal-content h3 {
    margin-top: 20px;
    font-size: 1rem;
    color: #333;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.legal-content li {
    margin-bottom: 5px;
}

/* Personnalisation du scrollbar pour rester dans le style */
.legal-content::-webkit-scrollbar {
    width: 6px;
}
.legal-content::-webkit-scrollbar-thumb {
    background: #00A3FF;
    border-radius: 10px;
}