/* ========================================
   PAGES LÉGALES - Design Moderne & Professionnel
   Catégorie: Informations légales
   ======================================== */

/* Masquer les breadcrumbs */
body[class*="informations-legales"] .breadcrumbs-wrapper,
body.view-article.catid-10 .breadcrumbs-wrapper,
body.view-category.catid-10 .breadcrumbs-wrapper {
    display: none;
}

/* Container principal avec fond subtil */
body[class*="informations-legales"] .site-main,
body.view-article.catid-10 .site-main {
    background: linear-gradient(to bottom, #f8fafc 0%, #ffffff 100%);
    padding: 0;
}

body[class*="informations-legales"] .com-content-article,
body.view-article.catid-10 .com-content-article {
    max-width: 900px;
    margin: 0 auto;
    padding: 0;
}

/* En-tête avec design moderne */
body[class*="informations-legales"] .page-header,
body.view-article.catid-10 .page-header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 4rem 2rem 3rem 2rem;
    margin: 0 0 3rem 0;
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Titre principal en blanc sur fond sombre */
body[class*="informations-legales"] h1,
body[class*="informations-legales"] .page-header h1,
body.view-article.catid-10 h1,
body.view-article.catid-10 .page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Badge catégorie */
body[class*="informations-legales"] .article-info,
body.view-article.catid-10 .article-info {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2rem;
    font-size: 0.875rem;
    color: #e5e7eb;
    margin-top: 1rem;
}

body[class*="informations-legales"] .article-info::before,
body.view-article.catid-10 .article-info::before {
    content: "📄";
    font-size: 1rem;
}

/* Contenu de l'article avec padding */
body[class*="informations-legales"] .item-page,
body.view-article.catid-10 .item-page {
    padding: 0 2rem 3rem 2rem;
}

/* Typographie améliorée */
body[class*="informations-legales"] p,
body.view-article.catid-10 p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 1.5rem;
}

/* Sous-titres H2 avec style moderne */
body[class*="informations-legales"] h2,
body.view-article.catid-10 h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    color: #0f172a;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid #e2e8f0;
    position: relative;
}

body[class*="informations-legales"] h2::after,
body.view-article.catid-10 h2::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
}

/* Sous-titres H3 */
body[class*="informations-legales"] h3,
body.view-article.catid-10 h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* H4 */
body[class*="informations-legales"] h4,
body.view-article.catid-10 h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #334155;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

/* Listes améliorées */
body[class*="informations-legales"] ul,
body[class*="informations-legales"] ol,
body.view-article.catid-10 ul,
body.view-article.catid-10 ol {
    margin: 1.5rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
}

body[class*="informations-legales"] ul li,
body.view-article.catid-10 ul li {
    list-style-type: none;
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

body[class*="informations-legales"] ul li::before,
body.view-article.catid-10 ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
    font-size: 1.1rem;
}

body[class*="informations-legales"] ol li,
body.view-article.catid-10 ol li {
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

body[class*="informations-legales"] ol li::marker,
body.view-article.catid-10 ol li::marker {
    color: #3b82f6;
    font-weight: 700;
}

/* Liens avec style cohérent */
body[class*="informations-legales"] a,
body.view-article.catid-10 a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

body[class*="informations-legales"] a:hover,
body.view-article.catid-10 a:hover {
    color: #2563eb;
    border-bottom-color: #3b82f6;
}

/* Boîtes d'information */
body[class*="informations-legales"] .alert,
body[class*="informations-legales"] blockquote,
body.view-article.catid-10 .alert,
body.view-article.catid-10 blockquote {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid #3b82f6;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.1);
    font-style: normal;
}

/* Strong/Bold */
body[class*="informations-legales"] strong,
body[class*="informations-legales"] b,
body.view-article.catid-10 strong,
body.view-article.catid-10 b {
    color: #0f172a;
    font-weight: 700;
}

/* Em/Italic */
body[class*="informations-legales"] em,
body[class*="informations-legales"] i,
body.view-article.catid-10 em,
body.view-article.catid-10 i {
    color: #475569;
}

/* Tables */
body[class*="informations-legales"] table,
body.view-article.catid-10 table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: #ffffff;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body[class*="informations-legales"] table th,
body.view-article.catid-10 table th {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

body[class*="informations-legales"] table td,
body.view-article.catid-10 table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
}

body[class*="informations-legales"] table tr:last-child td,
body.view-article.catid-10 table tr:last-child td {
    border-bottom: none;
}

body[class*="informations-legales"] table tr:hover,
body.view-article.catid-10 table tr:hover {
    background: #f8fafc;
}

/* Card pour sections importantes */
body[class*="informations-legales"] .legal-card,
body.view-article.catid-10 .legal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* Footer de la page légale - Séparateur décoratif */
body[class*="informations-legales"] .item-page::after,
body.view-article.catid-10 .item-page::after {
    content: "";
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 100%);
    margin: 3rem auto 0 auto;
    border-radius: 2px;
}

/* Dernière mise à jour */
body[class*="informations-legales"] .article-modified,
body.view-article.catid-10 .article-modified {
    font-size: 0.875rem;
    color: #64748b;
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
}

/* Responsive */
@media (max-width: 768px) {
    body[class*="informations-legales"] .page-header,
    body.view-article.catid-10 .page-header {
        padding: 2.5rem 1.5rem 2rem 1.5rem;
    }
    
    body[class*="informations-legales"] h1,
    body.view-article.catid-10 h1 {
        font-size: 1.75rem;
    }
    
    body[class*="informations-legales"] .item-page,
    body.view-article.catid-10 .item-page {
        padding: 0 1.5rem 2rem 1.5rem;
    }
    
    body[class*="informations-legales"] h2,
    body.view-article.catid-10 h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }
    
    body[class*="informations-legales"] p,
    body.view-article.catid-10 p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body[class*="informations-legales"] h1,
    body.view-article.catid-10 h1 {
        font-size: 1.5rem;
    }
    
    body[class*="informations-legales"] h2,
    body.view-article.catid-10 h2 {
        font-size: 1.25rem;
    }
}
