/**
 * FICHE-PAIE.FR - Générateur de bulletins de paie
 *
 * @copyright 2025-2026 Purple Telecom EURL
 * @license   Proprietary - All Rights Reserved
 * @author    Fabien HIRIART <contact@polygonlab.ai>
 *
 * This software is the property of Purple Telecom EURL.
 * Unauthorized use is strictly prohibited.
 */

/* =====================================================
   LEGAL PAGES STYLES (CGV, Confidentialité, Mentions)
   ===================================================== */

/* Section principale */
section.legal-section {
    padding: 60px 20px !important;
    background-color: #f8f9fa !important;
    margin: 0 !important;
}

/* Conteneur */
.legal-section .legal-container {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Articles */
.legal-section .legal-article {
    background: white !important;
    border-radius: 12px !important;
    padding: 30px 35px !important;
    margin-bottom: 25px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    border: none !important;
}

.legal-section .legal-article:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12) !important;
}

/* Titres */
.legal-section .legal-article h2 {
    color: #1a3a5c !important;
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    margin: 0 0 20px 0 !important;
    padding: 0 0 12px 0 !important;
    border-bottom: 2px solid #e9ecef !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

/* Paragraphes */
.legal-section .legal-article p {
    color: #555 !important;
    line-height: 1.8 !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    font-size: 1rem !important;
}

.legal-section .legal-article p:last-child {
    margin-bottom: 0 !important;
}

.legal-section .legal-article strong {
    color: #1a3a5c !important;
    font-weight: 600 !important;
}

/* Liens */
.legal-section .legal-article a {
    color: #2563eb !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.legal-section .legal-article a:hover {
    color: #1d4ed8 !important;
    text-decoration: underline !important;
}

/* Listes */
.legal-section .legal-article ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 15px 0 0 0 !important;
}

.legal-section .legal-article ul li {
    padding: 10px 15px !important;
    margin: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    list-style: none !important;
}

.legal-section .legal-article ul li:last-child {
    border-bottom: none !important;
}

.legal-section .legal-article ul li:nth-child(odd) {
    background-color: #fafbfc !important;
}

.legal-section .legal-article ul li:nth-child(even) {
    background-color: white !important;
}

/* Section PolygonLab (Mentions légales) */
.polygonlab-article {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8f4fd 100%) !important;
    border-left: 4px solid #2563eb !important;
}

.badge-internal {
    background: #2563eb;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    section.legal-section {
        padding: 40px 15px !important;
    }

    .legal-section .legal-article {
        padding: 25px 20px !important;
    }

    .legal-section .legal-article h2 {
        font-size: 1.2rem !important;
    }

    .legal-section .legal-article ul li {
        flex-direction: column !important;
        gap: 2px !important;
    }
}
