/* ===== MENTIONS LÉGALES PAGE STYLES ===== */

/* Legal Content Section */
.legal-content-section {
    padding: 80px 0;
    background: #f8f9ff;
}

/* Navigation rapide */
.legal-nav {
    background: white;
    border-radius: 20px;
    padding: 35px;
    margin-bottom: 50px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.legal-nav h3 {
    font-size: 1.5rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 25px;
}

.nav-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.nav-links a {
    padding: 12px 20px;
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.05) 0%, rgba(124, 147, 237, 0.05) 100%);
    border-left: 4px solid #5b7ce6;
    border-radius: 8px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.1) 0%, rgba(124, 147, 237, 0.1) 100%);
    transform: translateX(5px);
    color: #5b7ce6;
}

/* Legal Sections */
.legal-section {
    background: white;
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.section-number {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(91, 124, 230, 0.3);
}

.legal-section h2 {
    font-size: 2rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 3px solid #e2e8f0;
}

.legal-section h4 {
    font-size: 1.2rem;
    color: #1e293b;
    font-weight: 700;
    margin-bottom: 15px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section h4 i {
    color: #5b7ce6;
    font-size: 1.3rem;
}

.legal-section p {
    color: #475569;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 15px;
}

.legal-intro {
    font-size: 1.05rem;
    color: #64748b;
    font-style: italic;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
}

.legal-section a {
    color: #5b7ce6;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.legal-section a:hover {
    color: #4c6fd9;
    text-decoration: underline;
}

/* Legal Cards */
.legal-card {
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.03) 0%, rgba(124, 147, 237, 0.03) 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.legal-card:hover {
    border-color: #5b7ce6;
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(91, 124, 230, 0.1);
}

.legal-card h4 {
    margin-top: 0;
}

.legal-card p {
    margin-bottom: 8px;
}

.legal-card p:last-child {
    margin-bottom: 0;
}

/* Info List */
.info-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.info-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list strong {
    color: #1e293b;
    font-weight: 700;
}

/* Legal Alert */
.legal-alert {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, rgba(220, 38, 38, 0.05) 100%);
    border-left: 4px solid #ef4444;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.legal-alert i {
    color: #ef4444;
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.legal-alert p {
    margin: 0;
    color: #475569;
}

/* Legal Highlight */
.legal-highlight {
    background: linear-gradient(135deg, rgba(91, 124, 230, 0.08) 0%, rgba(124, 147, 237, 0.08) 100%);
    border-left: 4px solid #5b7ce6;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.legal-highlight h4 {
    color: #5b7ce6;
    margin-top: 0;
}

.legal-highlight p {
    margin-bottom: 10px;
}

.legal-highlight p:last-child {
    margin-bottom: 0;
}

/* Legal Footer */
.legal-footer {
    background: linear-gradient(135deg, #5b7ce6 0%, #7c93ed 100%);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: white;
    margin-top: 50px;
}

.legal-footer p {
    color: white;
    margin-bottom: 10px;
}

.legal-footer p:last-child {
    margin-bottom: 0;
}

.legal-footer a {
    color: white;
    font-weight: 700;
    text-decoration: underline;
}

.legal-footer a:hover {
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-links {
        grid-template-columns: 1fr;
    }
    
    .legal-section {
        padding: 35px 25px;
    }
    
    .section-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        left: 25px;
    }
    
    .legal-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .legal-content-section {
        padding: 50px 0;
    }
    
    .legal-nav {
        padding: 25px 20px;
    }
    
    .legal-section {
        padding: 30px 20px;
    }
    
    .section-number {
        top: -15px;
        left: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .legal-section h2 {
        font-size: 1.4rem;
    }
    
    .legal-card {
        padding: 20px;
    }
    
    .legal-alert,
    .legal-highlight {
        padding: 20px;
    }
    
    .legal-footer {
        padding: 30px 20px;
    }
}