/* Styles pour les pages juridiques (CGV et Politique de confidentialité) */
.legal-hero {
    background: linear-gradient(135deg, #1E3A8A 0%, #0F1D45 100%);
    padding: 80px 0 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.legal-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 215, 0, 0.1), transparent);
    z-index: 1;
}

.legal-header {
    position: relative;
    z-index: 2;
}

.legal-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #FFD700;
    animation: pulse 2s infinite;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.legal-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.meta-item i {
    margin-right: 0.5rem;
    color: #FFD700;
}

.legal-content {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.legal-container {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    padding: 40px;
    position: relative;
    margin-top: -40px;
}

.legal-toc {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    border-left: 4px solid #1E3A8A;
}

.legal-toc h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1E3A8A;
}

.legal-toc ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.legal-toc ul li {
    margin-bottom: 8px;
}

.legal-toc ul li a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.legal-toc ul li a:hover {
    color: #1E3A8A;
    text-decoration: underline;
}

.legal-section {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}

.legal-section h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1E3A8A;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.legal-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.legal-section p, .legal-section li {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}

.legal-section ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-section ul li {
    margin-bottom: 8px;
}

.legal-section strong {
    font-weight: 600;
    color: #222;
}

.legal-update {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
    font-size: 0.9rem;
    color: #666;
}

.contact-details {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.contact-details p {
    margin-bottom: 10px;
}

.contact-details i {
    color: #1E3A8A;
    width: 20px;
    text-align: center;
    margin-right: 10px;
}

.legal-cta {
    background-color: #f0f4f8;
    padding: 60px 0;
}

.cta-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.cta-content h3 {
    color: #1E3A8A;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Animation */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Responsive */
@media (max-width: 768px) {
    .legal-container {
        padding: 25px;
    }
    
    .legal-header h1 {
        font-size: 2rem;
    }
    
    .legal-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .meta-item {
        margin-bottom: 10px;
    }
    
    .legal-section h2 {
        font-size: 1.5rem;
    }
    
    .legal-section h3 {
        font-size: 1.2rem;
    }
}

/* Amélioration de l'accessibilité et de l'UX */
.legal-section a:focus,
.legal-toc a:focus {
    outline: 2px solid #1E3A8A;
    outline-offset: 2px;
}
