/* Style spécifique pour les pages légales */
main {
    padding-top: 80px; /* Compensation pour le header fixe */
}

.hero-section {
    background: var(--primary-color);
    padding: 80px 0;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.hero-section h1 {
    color: white;
    font-size: 2.5em;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.content-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.content-block {
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    padding: 30px;
    transition: transform 0.3s ease;
}

.content-block:hover {
    transform: translateY(-5px);
}

.content-block h2 {
    color: var(--primary-color);
    font-size: 1.8em;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    position: relative;
}

.content-block h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.content-block p {
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.content-block ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.content-block ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.6;
}

.content-block ul li::before {
    content: "•";
    color: var(--primary-color);
    font-size: 1.5em;
    position: absolute;
    left: 0;
    top: -2px;
}

/* Style pour les liens dans le contenu */
.content-block a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px dotted var(--primary-color);
    transition: all 0.3s ease;
}

.content-block a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-section h1 {
        font-size: 2em;
    }

    .content-block {
        padding: 20px;
        margin-bottom: 20px;
    }

    .content-block h2 {
        font-size: 1.5em;
    }

    .content-block p {
        font-size: 1em;
    }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-block {
    animation: fadeIn 0.5s ease-out forwards;
}
