@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

* {
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    /* Même fond que la page d'accueil */
    background: linear-gradient(rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4)), 
                url('https://images.unsplash.com/photo-1518605348400-43ded6040069?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80') no-repeat center center fixed;
    background-size: cover;
    background-color: #a2c2e4;
    color: #333;
    line-height: 1.6;
}

/* Conteneur principal style Glassmorphism */
.legal-container, .policy-container {
    max-width: 900px;
    margin: 40px auto;
    background-color: rgba(255, 255, 255, 0.9); /* Un peu plus opaque pour la lecture */
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: none;
    border-bottom: 2px solid #3498db; /* Soulignement bleu moderne */
    padding-bottom: 15px;
    display: inline-block;
    /* Hack pour centrer le border-bottom sur le texte uniquement */
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

h2 {
    color: #3498db; /* Bleu du thème */
    margin-top: 30px;
    font-size: 1.5em;
    border-left: 4px solid #3498db;
    padding-left: 15px;
}

p, li {
    font-size: 1.05rem;
    color: #444;
}

ul {
    list-style-type: none; /* Puces personnalisées */
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

/* Puces personnalisées */
ul li::before {
    content: "\f054"; /* Flèche FontAwesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #3498db;
    position: absolute;
    left: 0;
    font-size: 0.8em;
    top: 3px;
}

strong {
    color: #2c3e50;
    font-weight: 600;
}

.highlight {
    background-color: #e8f4fc;
    padding: 2px 6px;
    border-radius: 4px;
    color: #2980b9;
}

/* Bouton Retour */
.retour-btn, .back-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    margin-bottom: 20px;
    background: linear-gradient(to right, #3498db, #2980b9);
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.retour-btn i, .back-link i {
    margin-right: 8px;
}

.retour-btn:hover, .back-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.2);
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-container, .policy-container {
        padding: 25px;
        margin: 20px auto;
        width: 95%;
    }

    h1 {
        font-size: 1.8em;
        width: 100%;
        border-bottom: 1px solid #3498db;
    }
    
    h2 {
        font-size: 1.3em;
    }
}