/* Styles pour les pages légales */
.legal-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 120px 2rem 50px;
    color: #000000;
    line-height: 1.8;
    min-height: 100vh;
    animation: fadeIn 0.6s ease-out;
    background-color: #ffffff;
}

@keyframes fadeIn {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.legal-content h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #ff8800, #cc6d00);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
}

.legal-content h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff8800, #ffa640);
    margin: 1rem auto;
    border-radius: 2px;
}

.legal-content h2 {
    font-size: 1.8rem;
    color: #000000;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #ff8800;
    position: relative;
}

.legal-content h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ff8800;
}

.legal-content h3 {
    font-size: 1.4rem;
    color: #ff8800;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--color-text);
    opacity: 0.9;
}

.legal-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.2rem;
}

.legal-content li::before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    left: -1rem;
    top: 0;
}

.legal-content a {
    color: var(--color-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.legal-content a:hover {
    color: var(--color-primary-dark);
    border-bottom-color: var(--color-primary);
}

.legal-content strong {
    color: var(--color-text);
    font-weight: 600;
}

/* Animation au scroll */
.legal-content > * {
    opacity: 0;
    transform: translateY(20px);
    animation: contentFadeIn 0.6s ease-out forwards;
}

@keyframes contentFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Styles responsifs */
@media (max-width: 768px) {
    .legal-content {
        padding: 100px 1.5rem 40px;
    }

    .legal-content h1 {
        font-size: 2.2rem;
    }

    .legal-content h2 {
        font-size: 1.6rem;
    }

    .legal-content h3 {
        font-size: 1.3rem;
    }

    .legal-content p, .legal-content li {
        font-size: 1rem;
    }
}

/* Animation de mise en évidence */
.legal-content h2:hover::before {
    width: 100px;
    transition: width 0.3s ease;
}

/* Style de la date de mise à jour */
.legal-content .update-date {
    text-align: center;
    color: var(--color-primary);
    font-style: italic;
    margin-bottom: 3rem;
    opacity: 0.8;
}