/* Variables CSS pour Budget Educ - Style Finance */
:root {
    /* Couleurs principales */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;

    /* Couleurs secondaires */
    --secondary: #64748b;
    --accent: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Couleurs de texte */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-light: #94a3b8;

    /* Couleurs de fond */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --bg-dark: #0f172a;

    /* Bordures */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* Espacements */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;

    /* Tailles de police */
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;

    /* Rayons de bordure */
    --radius-sm: 0.25rem;
    --radius: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;

    /* Ombres */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    font-size: var(--font-size-base);
}

.site-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Header */
.site-header {
    background: #fbbf24;
    /* Jaune plus foncé et visible */
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-3) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-4);
}

.site-branding {
    flex: 1;
}

.site-header-line {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.site-logo {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    white-space: nowrap;
}

.site-logo:hover {
    color: var(--primary-dark);
}

.site-separator {
    font-size: var(--font-size-2xl);
    color: var(--text-muted);
    font-weight: 300;
}

.site-tagline {
    font-size: var(--font-size-base);
    color: white;
    line-height: 1.5;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    font-style: italic;
    letter-spacing: 0.3px;
}

.site-tagline div {
    margin: 0;
    padding: 2px 0;
}

/* Navigation */
.site-nav {
    display: flex;
    gap: var(--space-3);
    align-items: center;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    border-radius: 6px;
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.nav-btn-home {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-color: var(--border-color);
}

.nav-btn-home:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-light);
    color: var(--primary);
}

.nav-btn-about {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.nav-btn-about:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.nav-btn-login {
    background: var(--primary);
    color: white;
}

.nav-btn-login:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* Main content */
.main-content {
    flex: 1;
    padding: var(--space-8) 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
}

@media (min-width: 1024px) {
    .content-layout {
        grid-template-columns: 2fr 1fr;
        gap: var(--space-12);
    }
}

/* Articles style blog */
.main-column {
    min-width: 0;
}

.intro-section {
    background: var(--bg-secondary);
    padding: var(--space-8);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-8);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.intro-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.intro-section h1,
.intro-section p {
    position: relative;
    z-index: 1;
}

.intro-section h1 {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.intro-section p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.blog-post {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.blog-post:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.post-header {
    margin-bottom: var(--space-3);
}

.post-title {
    margin-bottom: var(--space-4);
}

.post-title a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: var(--font-size-xl);
    font-weight: 600;
    line-height: 1.3;
}

.post-title a:hover {
    color: var(--primary);
}

.post-meta {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

.post-date {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.post-date span:first-child {
    font-size: var(--font-size-base);
}

.post-date span:last-child {
    color: var(--primary);
    font-weight: 600;
}

.post-content {
    margin-bottom: var(--space-3);
}

.post-excerpt {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-3);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.read-more:hover {
    background: var(--primary);
    color: white;
    transform: translateX(4px);
}

.post-categories {
    margin-top: var(--space-4);
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    align-items: center;
}

.post-category {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    transition: all 0.2s ease;
}

.post-category:hover {
    background: var(--primary);
    color: white;
}

/* Sidebar */
.sidebar {
    min-width: 0;
    position: sticky;
    top: var(--space-20);
    /* Ajusté pour le header sticky */
    height: fit-content;
}

.sidebar-widget {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.sidebar-widget:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.widget-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--border-light);
    position: relative;
}

.widget-title:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.widget-list {
    list-style: none;
}

.widget-list li {
    margin-bottom: var(--space-3);
    padding-left: var(--space-4);
    position: relative;
    border-bottom: 1px dashed var(--border-light);
    padding-bottom: var(--space-2);
}

.widget-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    top: 2px;
}

.widget-list a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-sm);
    line-height: 1.5;
    transition: all 0.2s ease;
    display: block;
}

.widget-list a:hover {
    color: var(--primary);
    padding-left: 4px;
}

/* Sidebar Bio Widget */
.sidebar-bio .widget-content {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: var(--text-secondary);
}

.sidebar-bio strong {
    color: var(--text-primary);
}

.sidebar-bio .btn {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: var(--space-2);
    width: 100%;
    text-align: center;
}

.sidebar-bio .btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

/* Table of Contents Widget */
.table-of-contents .toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents .toc-list li {
    margin: 0;
    border-bottom: 1px solid var(--border-light);
}

.table-of-contents .toc-list li:last-child {
    border-bottom: none;
}

.table-of-contents .toc-list a {
    text-decoration: none;
    color: var(--text-secondary);
    display: block;
    padding: var(--space-2) var(--space-3);
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    font-size: var(--font-size-sm);
}

.table-of-contents .toc-list a:hover {
    color: var(--primary);
    border-left-color: var(--primary);
    background: var(--bg-secondary);
}

.table-of-contents .toc-level-h2 {
    font-weight: 600;
}

.table-of-contents .toc-level-h3 {
    padding-left: var(--space-6) !important;
    font-size: 0.85rem;
}

/* Footer */
.site-footer {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-8) 0;
    margin-top: auto;
}

.footer-content {
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-4);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--font-size-base);
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-link-contact {
    font-weight: 600;
    color: var(--primary) !important;
}

.footer-link-contact:hover {
    color: var(--primary-dark) !important;
    text-decoration: underline !important;
}

.footer-content p {
    color: var(--text-muted);
    font-size: var(--font-size-base);
}

/* Formulaire de contact dans le footer */
.footer-contact-section {
    max-width: 500px;
    margin: 0 auto var(--space-6);
    background: var(--bg-primary);
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.footer-contact-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-align: center;
}

.footer-contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3);
}

.footer-form-input {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: var(--font-size-sm);
    transition: all 0.2s ease;
    font-family: inherit;
}

.footer-form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.footer-form-submit {
    padding: var(--space-3) var(--space-6);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.footer-form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.footer-contact-form-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.footer-contact-form-inner .form-control {
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.footer-contact-form-inner .btn-primary {
    width: 100%;
    padding: 10px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.footer-contact-form-inner .btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .footer-form-row {
        grid-template-columns: 1fr;
    }

    .footer-contact-section {
        padding: var(--space-4);
    }
}

/* Utilitaires */
.text-muted {
    color: var(--text-muted);
}

.font-bold {
    font-weight: 700;
}

.mb-4 {
    margin-bottom: var(--space-4);
}

.mt-4 {
    margin-top: var(--space-4);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-3);
    }

    .header-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-4);
    }

    .site-header-line {
        flex-direction: column;
        gap: var(--space-2);
        text-align: center;
    }

    .site-separator {
        display: none;
    }

    .site-tagline {
        max-width: none;
        text-align: center;
    }

    .site-nav {
        justify-content: center;
        flex-wrap: wrap;
    }

    .nav-btn {
        padding: var(--space-3) var(--space-4);
        font-size: var(--font-size-base);
    }

    .intro-section {
        padding: var(--space-6);
    }

    .intro-section h1 {
        font-size: var(--font-size-2xl);
    }

    .blog-post {
        padding: var(--space-4);
    }

    .post-title a {
        font-size: var(--font-size-lg);
    }

    .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    .footer-links {
        flex-direction: column;
        gap: var(--space-3);
    }
}

/* En-tête de l'article */
.article-header-modern {
    margin-bottom: var(--space-8);
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-title {
    font-size: var(--font-size-4xl);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
    margin-bottom: var(--space-6);
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    background: var(--bg-secondary);
    padding: var(--space-1) var(--space-3);
    border-radius: 20px;
}

.article-cover {
    margin: var(--space-8) 0;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.article-cover img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.article-cover:hover img {
    transform: scale(1.02);
}

/* Contenu de l'article */
.article-content-modern {
    font-size: 1.125rem;
    /* 18px */
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 100%;
}

.article-excerpt-box {
    background: linear-gradient(to right, var(--bg-secondary), white);
    border-left: 5px solid var(--primary);
    padding: var(--space-6);
    margin-bottom: var(--space-8);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.excerpt-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.excerpt-text {
    font-style: italic;
    color: var(--text-secondary);
    margin: 0;
}

.article-body-modern p {
    margin-bottom: var(--space-5);
}

.article-body-modern h2 {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-top: var(--space-10);
    margin-bottom: var(--space-5);
    color: var(--text-primary);
    position: relative;
    padding-bottom: var(--space-2);
}

.article-body-modern h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.article-body-modern h3 {
    font-size: var(--font-size-xl);
    font-weight: 600;
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.article-body-modern ul,
.article-body-modern ol {
    margin-bottom: var(--space-6);
    padding-left: var(--space-6);
}

.article-body-modern li {
    margin-bottom: var(--space-2);
    position: relative;
}

.article-body-modern blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-secondary);
    border-left: 4px solid var(--accent);
    padding: var(--space-4) var(--space-6);
    margin: var(--space-8) 0;
    background: var(--bg-secondary);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-body-modern img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    margin: var(--space-6) 0;
    box-shadow: var(--shadow-md);
}

/* Partage social */
.share-buttons-modern {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.share-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--space-6);
}

.share-buttons-grid {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    color: white;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-btn-twitter {
    background: #1DA1F2;
}

.share-btn-facebook {
    background: #4267B2;
}

.share-btn-linkedin {
    background: #0077B5;
}

.share-btn-copy {
    background: var(--text-secondary);
}

.share-btn-copy.copied {
    background: var(--accent);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-title {
        font-size: var(--font-size-2xl);
    }

    .article-content-modern {
        font-size: 1rem;
    }

    .article-body-modern h2 {
        font-size: 1.5rem;
    }
}

/* Résumé de l'article */
.article-content>div[style*="background: var(--bg-secondary)"] {
    background: var(--bg-secondary) !important;
    padding: var(--space-6) !important;
    border-radius: var(--radius-lg) !important;
    margin-bottom: var(--space-8) !important;
    border-left: 4px solid var(--primary) !important;
    box-shadow: var(--shadow-sm);
}

.article-content>div[style*="background: var(--bg-secondary)"] h2 {
    font-size: var(--font-size-xl) !important;
    font-weight: 700 !important;
    margin-bottom: var(--space-3) !important;
    color: var(--text-primary) !important;
}

.article-content>div[style*="background: var(--bg-secondary)"] p {
    margin: 0 !important;
    font-size: var(--font-size-lg) !important;
    line-height: 1.7 !important;
    color: var(--text-secondary) !important;
}

/* Articles - styles pour le contenu */
.article-content .article-body blockquote,
.article-content>div:first-child {
    background: #f8fafc !important;
    border-left: 4px solid var(--primary) !important;
    padding: var(--space-4) !important;
    margin: var(--space-4) 0 !important;
    border-radius: var(--radius) !important;
}

.article-content .article-body p {
    margin-bottom: var(--space-4);
    line-height: 1.7;
}

.article-content .article-body h2,
.article-content .article-body h3,
.article-content .article-body h4 {
    margin-top: var(--space-6);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.article-content .article-body ul,
.article-content .article-body ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.article-content .article-body li {
    margin-bottom: var(--space-2);
}

.article-content .article-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: var(--space-4) 0;
}

.article-content .article-body a {
    color: var(--primary);
    text-decoration: underline;
}

.article-content .article-body a:hover {
    color: var(--primary-dark);
}

.blog-post:nth-child(4n+3) .read-more,
.blog-post:nth-child(4n+4) .read-more {
    border-color: #7c3aed;
    color: #7c3aed;
}

.blog-post:nth-child(4n+3) .read-more:hover,
.blog-post:nth-child(4n+4) .read-more:hover {
    background: #7c3aed;
    color: white;
}

/* Ajustement des dates pour les cartes colorées */
.blog-post:nth-child(4n+1) .post-date span:last-child,
.blog-post:nth-child(4n+2) .post-date span:last-child {
    color: #475569;
}

.blog-post:nth-child(4n+3) .post-date span:last-child,
.blog-post:nth-child(4n+4) .post-date span:last-child {
    color: #7c3aed;
}

/* Ajustement des catégories pour les cartes colorées */
.blog-post:nth-child(4n+1) .post-category,
.blog-post:nth-child(4n+2) .post-category {
    background: rgba(71, 85, 105, 0.1);
    color: #475569;
}

.blog-post:nth-child(4n+1) .post-category:hover,
.blog-post:nth-child(4n+2) .post-category:hover {
    background: #475569;
    color: white;
}

.blog-post:nth-child(4n+3) .post-category,
.blog-post:nth-child(4n+4) .post-category {
    background: rgba(124, 58, 237, 0.1);
    color: #7c3aed;
}

.blog-post:nth-child(4n+3) .post-category:hover,
.blog-post:nth-child(4n+4) .post-category:hover {
    background: #7c3aed;
    color: white;
}

/* Couleurs alternées pour les cartes d'articles - Pairs et Impairs */

/* Articles impairs (1, 3, 5, 7, etc.) - Fond bleu clair */
.blog-post:nth-child(odd) {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
}

/* Articles pairs (2, 4, 6, 8, etc.) - Fond vert clair */
.blog-post:nth-child(even) {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #86efac;
}

/* Effets hover pour les articles impairs */
.blog-post:nth-child(odd):hover {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    box-shadow: var(--shadow-lg);
    border-color: #3b82f6;
    transform: translateY(-3px);
}

/* Effets hover pour les articles pairs */
.blog-post:nth-child(even):hover {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    box-shadow: var(--shadow-lg);
    border-color: #22c55e;
    transform: translateY(-3px);
}

/* Ajustement des titres pour les articles impairs */
.blog-post:nth-child(odd) .post-title a {
    color: #1e40af;
}

.blog-post:nth-child(odd) .post-title a:hover {
    color: #1d4ed8;
}

/* Ajustement des titres pour les articles pairs */
.blog-post:nth-child(even) .post-title a {
    color: #166534;
}

.blog-post:nth-child(even) .post-title a:hover {
    color: #15803d;
}

/* Ajustement des dates pour les articles impairs */
.blog-post:nth-child(odd) .post-date span:last-child {
    color: #2563eb;
    font-weight: 700;
}

/* Ajustement des dates pour les articles pairs */
.blog-post:nth-child(even) .post-date span:last-child {
    color: #16a34a;
    font-weight: 700;
}

/* Boutons "Lire la suite" pour les articles impairs */
.blog-post:nth-child(odd) .read-more {
    border-color: #3b82f6;
    color: #3b82f6;
    background: rgba(59, 130, 246, 0.05);
}

.blog-post:nth-child(odd) .read-more:hover {
    background: #3b82f6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Boutons "Lire la suite" pour les articles pairs */
.blog-post:nth-child(even) .read-more {
    border-color: #22c55e;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
}

.blog-post:nth-child(even) .read-more:hover {
    background: #22c55e;
    color: white;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Ajustement des catégories pour les articles impairs */
.blog-post:nth-child(odd) .post-category {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.blog-post:nth-child(odd) .post-category:hover {
    background: #3b82f6;
    color: white;
}

/* Ajustement des catégories pour les articles pairs */
.blog-post:nth-child(even) .post-category {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.blog-post:nth-child(even) .post-category:hover {
    background: #22c55e;
    color: white;
}

/* Amélioration des métadonnées pour les articles impairs */
.blog-post:nth-child(odd) .post-meta {
    color: #1e40af;
}

/* Amélioration des métadonnées pour les articles pairs */
.blog-post:nth-child(even) .post-meta {
    color: #166534;
}

.blog-post {
    position: relative;
}



/* STYLES MODERNES POUR LES ARTICLES */

.article-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-6);
}

@media (min-width: 1024px) {
    .article-layout {
        grid-template-columns: 2fr 1fr;
        gap: var(--space-12);
    }
}

/* Article principal */
.article-main {
    min-width: 0;
}

/* En-tête moderne */
.article-header-modern {
    margin-bottom: var(--space-8);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--text-secondary);
}

.article-title-modern {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-6);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.article-meta-modern {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding: var(--space-4);
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-sm);
}

.meta-icon {
    font-size: var(--font-size-base);
}

.meta-text {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Image de couverture */
.article-cover-image {
    margin: var(--space-8) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.cover-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.cover-img:hover {
    transform: scale(1.02);
}

/* Contenu de l'article */
.article-content-modern {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: var(--text-secondary);
}

/* Résumé */
.article-summary {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-8);
    position: relative;
    overflow: hidden;
}

.article-summary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.summary-header {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
}

.summary-icon {
    font-size: var(--font-size-xl);
}

.summary-title {
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--primary);
    margin: 0;
}

.summary-text {
    font-size: var(--font-size-lg);
    color: var(--text-primary);
    margin: 0;
    font-weight: 500;
}

/* Corps de l'article */
.article-body-modern {
    margin-bottom: var(--space-8);
}

.article-body-modern h1,
.article-body-modern h2,
.article-body-modern h3,
.article-body-modern h4 {
    color: var(--text-primary);
    font-weight: 700;
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
    line-height: 1.3;
}

.article-body-modern h1 {
    font-size: var(--font-size-3xl);
    border-bottom: 2px solid var(--primary);
    padding-bottom: var(--space-2);
}

.article-body-modern h2 {
    font-size: var(--font-size-2xl);
    color: var(--primary);
}

.article-body-modern h3 {
    font-size: var(--font-size-xl);
    color: var(--accent);
}

.article-body-modern p {
    margin-bottom: var(--space-4);
    line-height: 1.8;
}

.article-body-modern ul,
.article-body-modern ol {
    margin: var(--space-4) 0;
    padding-left: var(--space-6);
}

.article-body-modern li {
    margin-bottom: var(--space-2);
    line-height: 1.7;
}

.article-body-modern blockquote {
    background: var(--bg-secondary);
    border-left: 4px solid var(--accent);
    padding: var(--space-4) var(--space-6);
    margin: var(--space-6) 0;
    border-radius: var(--radius);
    font-style: italic;
    color: var(--text-primary);
}

.article-body-modern img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: var(--space-6) 0;
    box-shadow: var(--shadow);
    display: block;
}

.article-body-modern figure {
    margin: var(--space-6) 0;
    text-align: center;
}

.article-body-modern figure img {
    margin: 0;
}

.article-body-modern figcaption {
    margin-top: var(--space-2);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    font-style: italic;
}

.article-body-modern a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.2s ease;
    word-break: break-word;
}

.article-body-modern a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Tableaux */
.article-body-modern table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-6) 0;
    overflow-x: auto;
    display: block;
    box-shadow: var(--shadow);
    border-radius: var(--radius);
}

.article-body-modern table thead {
    background: var(--bg-secondary);
}

.article-body-modern table th {
    padding: var(--space-3) var(--space-4);
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
}

.article-body-modern table td {
    padding: var(--space-3) var(--space-4);
    border-bottom: 1px solid var(--border-light);
    color: var(--text-secondary);
}

.article-body-modern table tbody tr:hover {
    background: var(--bg-secondary);
}

.article-body-modern table tbody tr:last-child td {
    border-bottom: none;
}

/* Listes imbriquées */
.article-body-modern ul ul,
.article-body-modern ol ol,
.article-body-modern ul ol,
.article-body-modern ol ul {
    margin-top: var(--space-2);
    margin-bottom: var(--space-2);
    padding-left: var(--space-6);
}

/* Code et pre */
.article-body-modern code {
    background: var(--bg-secondary);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    color: var(--text-primary);
}

.article-body-modern pre {
    background: var(--bg-secondary);
    padding: var(--space-4);
    border-radius: var(--radius);
    overflow-x: auto;
    margin: var(--space-6) 0;
    border-left: 4px solid var(--primary);
}

.article-body-modern pre code {
    background: none;
    padding: 0;
}

/* Strong et em */
.article-body-modern strong {
    font-weight: 700;
    color: var(--text-primary);
}

.article-body-modern em {
    font-style: italic;
}

/* Espacement des paragraphes */
.article-body-modern p+p {
    margin-top: var(--space-4);
}

.article-body-modern p+h2,
.article-body-modern p+h3,
.article-body-modern p+h4 {
    margin-top: var(--space-8);
}

/* Divs et sections dans le contenu */
.article-body-modern>div {
    margin-bottom: var(--space-4);
}

.article-body-modern>div:last-child {
    margin-bottom: 0;
}

/* Boutons dans le contenu */
.article-body-modern .btn,
.article-body-modern a[class*="button"],
.article-body-modern a[style*="background"] {
    display: inline-block;
    padding: var(--space-3) var(--space-6);
    background: var(--primary);
    color: white;
    text-decoration: none !important;
    border-radius: var(--radius);
    font-weight: 600;
    transition: all 0.2s ease;
    margin: var(--space-2) 0;
}

.article-body-modern .btn:hover,
.article-body-modern a[class*="button"]:hover,
.article-body-modern a[style*="background"]:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none !important;
}

/* Encadrés et alertes */
.article-body-modern .alert,
.article-body-modern .notice,
.article-body-modern .info-box {
    padding: var(--space-4) var(--space-6);
    border-radius: var(--radius);
    margin: var(--space-6) 0;
    border-left: 4px solid var(--primary);
    background: var(--bg-secondary);
}

.article-body-modern .alert-success,
.article-body-modern .notice-success {
    border-left-color: var(--accent);
    background: rgba(16, 185, 129, 0.1);
}

.article-body-modern .alert-warning,
.article-body-modern .notice-warning {
    border-left-color: var(--warning);
    background: rgba(245, 158, 11, 0.1);
}

.article-body-modern .alert-error,
.article-body-modern .notice-error {
    border-left-color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

/* Pros/Cons boxes */
.article-body-modern .i2-pros-cons-wrapper,
.article-body-modern .pros-cons {
    margin: var(--space-8) 0;
    display: flex;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.article-body-modern .i2-pros,
.article-body-modern .pros {
    flex: 1;
    min-width: 250px;
    padding: var(--space-4);
    background: rgba(16, 185, 129, 0.1);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
}

.article-body-modern .i2-cons,
.article-body-modern .cons {
    flex: 1;
    min-width: 250px;
    padding: var(--space-4);
    background: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius);
    border-left: 4px solid var(--danger);
}

/* Vidéos et iframes */
.article-body-modern iframe,
.article-body-modern video,
.article-body-modern embed {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius);
    margin: var(--space-6) 0;
}

/* Amélioration de la lisibilité */
.article-body-modern {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.article-body-modern * {
    max-width: 100%;
}

/* Correction des couleurs de texte sombres */
.article-body-modern [style*="color: rgb(17, 24, 39)"],
.article-body-modern [style*="color: rgb(31, 41, 55)"],
.article-body-modern [style*="color: rgb(55, 65, 81)"] {
    color: var(--text-primary) !important;
}

.article-body-modern [style*="background: rgb(17, 24, 39)"],
.article-body-modern [style*="background: rgb(31, 41, 55)"],
.article-body-modern [style*="background: rgb(55, 65, 81)"] {
    background: var(--bg-secondary) !important;
}

/* Responsive pour les tableaux */
@media (max-width: 768px) {
    .article-body-modern table {
        font-size: var(--font-size-sm);
    }

    .article-body-modern table th,
    .article-body-modern table td {
        padding: var(--space-2) var(--space-3);
    }

    .article-body-modern .i2-pros-cons-wrapper,
    .article-body-modern .pros-cons {
        flex-direction: column;
    }

    .article-body-modern .i2-pros,
    .article-body-modern .pros,
    .article-body-modern .i2-cons,
    .article-body-modern .cons {
        min-width: 100%;
    }
}

/* Section de partage */
.article-sharing {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-top: var(--space-8);
    border-top: 3px solid var(--primary);
}

.sharing-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    text-align: center;
}

.sharing-buttons {
    display: flex;
    gap: var(--space-3);
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border: 2px solid transparent;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
    background: white;
    color: var(--text-secondary);
}

.share-twitter {
    border-color: #1da1f2;
    color: #1da1f2;
}

.share-twitter:hover {
    background: #1da1f2;
    color: white;
}

.share-facebook {
    border-color: #4267b2;
    color: #4267b2;
}

.share-facebook:hover {
    background: #4267b2;
    color: white;
}

.share-linkedin {
    border-color: #0077b5;
    color: #0077b5;
}

.share-linkedin:hover {
    background: #0077b5;
    color: white;
}

.share-copy {
    border-color: var(--accent);
    color: var(--accent);
}

.share-copy:hover {
    background: var(--accent);
    color: white;
}

.share-copy.copied {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

/* Sidebar */
.article-sidebar {
    min-width: 0;
}

.sidebar-widget {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-2);
    border-bottom: 2px solid var(--primary);
}

.widget-icon {
    font-size: var(--font-size-xl);
}

/* Table des matières */
.toc-content {
    max-height: 300px;
    overflow-y: auto;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    margin-bottom: var(--space-2);
}

.toc-link {
    display: block;
    padding: var(--space-2) var(--space-3);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.2s ease;
    font-size: var(--font-size-sm);
}

.toc-link:hover {
    background: var(--bg-secondary);
    color: var(--primary);
}

.toc-h1 .toc-link {
    font-weight: 700;
    color: var(--text-primary);
}

.toc-h2 .toc-link {
    padding-left: var(--space-4);
}

.toc-h3 .toc-link {
    padding-left: var(--space-6);
    font-size: var(--font-size-xs);
}

.toc-empty {
    color: var(--text-muted);
    font-style: italic;
    text-align: center;
    margin: 0;
}

/* Articles similaires */
.related-articles {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.related-article {
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.related-article:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.related-link {
    display: block;
    padding: var(--space-4);
    text-decoration: none;
    color: inherit;
}

.related-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    line-height: 1.4;
}

.related-meta {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

.related-date {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

/* Widget À propos */
.about-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.about-link:hover {
    color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .article-layout {
        padding: var(--space-4);
    }

    .article-title-modern {
        font-size: var(--font-size-2xl);
    }

    .article-meta-modern {
        flex-direction: column;
        gap: var(--space-2);
    }

    .sharing-buttons {
        flex-direction: column;
    }

    .share-btn {
        justify-content: center;
    }
}

/* CORRECTION DES STYLES DE LIENS - SUPPRESSION SOULIGNEMENT */

/* Liens généraux - suppression du soulignement */
a {
    text-decoration: none !important;
    transition: all 0.2s ease;
}

a:hover {
    text-decoration: none !important;
}

/* Liens dans le contenu des articles */
.article-body-modern a {
    color: var(--primary);
    text-decoration: none !important;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
    font-weight: 500;
}

.article-body-modern a:hover {
    color: var(--primary-dark);
    text-decoration: none !important;
    border-bottom: 1px solid var(--primary);
}

/* Liens dans les listes */
.article-body-modern ul a,
.article-body-modern ol a,
.article-body-modern li a {
    color: var(--primary);
    text-decoration: none !important;
    font-weight: 500;
}

.article-body-modern ul a:hover,
.article-body-modern ol a:hover,
.article-body-modern li a:hover {
    color: var(--primary-dark);
    text-decoration: none !important;
}

/* Liens dans les titres */
.article-body-modern h1 a,
.article-body-modern h2 a,
.article-body-modern h3 a,
.article-body-modern h4 a {
    color: inherit;
    text-decoration: none !important;
}

.article-body-modern h1 a:hover,
.article-body-modern h2 a:hover,
.article-body-modern h3 a:hover,
.article-body-modern h4 a:hover {
    color: var(--primary);
    text-decoration: none !important;
}

/* Liens dans le sommaire/table des matières */
.toc-link {
    text-decoration: none !important;
}

.toc-link:hover {
    text-decoration: none !important;
}

/* Liens de navigation */
.breadcrumb a {
    text-decoration: none !important;
}

.breadcrumb a:hover {
    text-decoration: none !important;
}

/* Liens dans la sidebar */
.sidebar-widget a {
    text-decoration: none !important;
}

.sidebar-widget a:hover {
    text-decoration: none !important;
}

/* Liens dans les cartes d'articles (page d'accueil) */
.blog-post a,
.post-title a {
    text-decoration: none !important;
}

.blog-post a:hover,
.post-title a:hover {
    text-decoration: none !important;
}

/* Liens de partage */
.share-btn {
    text-decoration: none !important;
}

.share-btn:hover {
    text-decoration: none !important;
}

/* Liens dans le footer */
.footer-links a {
    text-decoration: none !important;
}

.footer-links a:hover {
    text-decoration: none !important;
}

/* Correction pour les liens ignorés - style plus visible */
.article-body-modern a[href] {
    color: var(--primary) !important;
    font-weight: 500 !important;
    position: relative;
}

.article-body-modern a[href]:hover {
    color: var(--primary-dark) !important;
}

/* Liens externes - style différent */
.article-body-modern a[href^="http"]:not([href*="localhost"]):not([href*="innovtech.online"]) {
    color: var(--accent) !important;
}

.article-body-modern a[href^="http"]:not([href*="localhost"]):not([href*="innovtech.online"]):hover {
    color: #059669 !important;
}

/* Liens internes - style spécifique */
.article-body-modern a[href^="/"]:not([href^="//"]) {
    color: var(--primary) !important;
}

.article-body-modern a[href^="/"]:not([href^="//"]):hover {
    color: var(--primary-dark) !important;
}

/* Correction pour les liens dans les paragraphes */
.article-body-modern p a {
    display: inline !important;
    color: var(--primary) !important;
    font-weight: 500 !important;
}

.article-body-modern p a:hover {
    color: var(--primary-dark) !important;
}

/* STYLES POUR LES BOUTONS DE PARTAGE */
.share-buttons {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 2px solid var(--border);
}

.share-buttons h3 {
    width: 100%;
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.share-buttons h3:before {
    content: "📤";
    font-size: 1.2em;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    text-decoration: none !important;
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-height: 44px;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none !important;
}

.btn-twitter {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.btn-twitter:hover {
    background: #0d8bd9;
    color: white;
}

.btn-facebook {
    background: #4267b2;
    color: white;
    border-color: #4267b2;
}

.btn-facebook:hover {
    background: #365899;
    color: white;
}

.btn-linkedin {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.btn-linkedin:hover {
    background: #005885;
    color: white;
}

.btn-copy {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-copy:hover {
    background: #059669;
    color: white;
}

.btn-copy.copied {
    background: var(--accent);
    color: white;
}

.btn-outline {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Boutons spécifiques par plateforme */
.btn-twitter {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.btn-twitter:hover {
    background: #0d8bd9;
    border-color: #0d8bd9;
    color: white;
}

.btn-facebook {
    background: #4267B2;
    color: white;
    border-color: #4267B2;
}

.btn-facebook:hover {
    background: #365899;
    border-color: #365899;
    color: white;
}

.btn-linkedin {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.btn-linkedin:hover {
    background: #005885;
    border-color: #005885;
    color: white;
}

.btn-copy {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-copy:hover {
    background: #059669;
    border-color: #059669;
    color: white;
}

.btn-copy.copied {
    background: #10b981;
    border-color: #10b981;
}

/* STYLES POUR LA SIDEBAR */
.sidebar {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.sidebar-widget {
    margin-bottom: var(--space-8);
    padding: var(--space-6);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--primary);
}

/* Table des matières */
.table-of-contents .widget-title:before {
    content: "📋";
    font-size: 1.2em;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: var(--space-2);
}

.toc-list a {
    display: block;
    padding: var(--space-2) var(--space-3);
    color: var(--text-secondary);
    text-decoration: none !important;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.toc-list a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    border-left-color: var(--primary);
    text-decoration: none !important;
    transform: translateX(4px);
}

.toc-level-h2 {
    font-weight: 600;
    font-size: var(--font-size-base);
}

.toc-level-h3 {
    font-size: var(--font-size-sm);
    padding-left: var(--space-4) !important;
}

.toc-level-h4 {
    font-size: var(--font-size-sm);
    padding-left: var(--space-6) !important;
    color: var(--text-muted);
}

/* Widget À propos */
.about-widget .widget-title:before {
    content: "ℹ️";
    font-size: 1.2em;
}

.widget-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

.widget-content p {
    margin-bottom: var(--space-4);
}

.widget-content p:last-child {
    margin-bottom: 0;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-sm {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
    min-height: 36px;
}

/* Articles dans la sidebar (si présents) */
.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    margin-bottom: var(--space-3);
    padding: var(--space-3);
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
    transition: all 0.2s ease;
}

.widget-list li:hover {
    background: var(--bg-tertiary);
    transform: translateX(2px);
    box-shadow: var(--shadow-sm);
}

.widget-list li:last-child {
    margin-bottom: 0;
}

.widget-list a {
    color: var(--text-secondary);
    text-decoration: none !important;
    font-size: var(--font-size-sm);
    line-height: 1.4;
    display: block;
}

.widget-list a:hover {
    color: var(--primary);
    text-decoration: none !important;
}

.widget-list .article-meta {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: var(--space-1);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* Responsive pour la sidebar */
@media (max-width: 768px) {
    .sidebar {
        margin-top: var(--space-8);
        padding: var(--space-4);
    }

    .sidebar-widget {
        padding: var(--space-4);
        margin-bottom: var(--space-6);
    }

    .share-buttons {
        flex-direction: column;
        gap: var(--space-2);
    }

    .btn {
        justify-content: center;
        width: 100%;
    }
}

/* Animation pour les éléments interactifs */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar-widget {
    animation: slideIn 0.3s ease-out;
}

.btn {
    animation: slideIn 0.2s ease-out;
}

/* États de focus pour l'accessibilité */
.btn:focus,
.toc-list a:focus,
.widget-list a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Masquer les badges de vue et breadcrumb */
.breadcrumb,
nav[aria-label="breadcrumb"],
.article-meta .view-count,
.view-badge,
[class*="view"][class*="count"],
*:contains("👁️"),
*:contains("vues") {
    display: none !important;
}

/* Masquer spécifiquement les métadonnées avec vues */
.article-header div[style*="display: flex"] span:contains("👁️"),
.article-header div[style*="display: flex"] span:contains("vues") {
    display: none !important;
}

/* ============================================
   STYLES PAGE DE CONTACT
   ============================================ */

/* Hero Section Contact */
.contact-hero {
    text-align: center;
    padding: var(--space-12) 0;
    margin-bottom: var(--space-8);
}

.contact-hero .hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-hero .hero-title {
    font-size: var(--font-size-4xl);
    font-weight: 900;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

.contact-hero .hero-icon {
    font-size: 3rem;
}

.contact-hero .hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Section Title */
.section-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin-bottom: var(--space-6);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.title-icon {
    font-size: 1.5rem;
}

/* Contact Form Container */
.contact-form-container {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    margin-bottom: var(--space-8);
    box-shadow: var(--shadow-sm);
}

/* Form Styles */
.contact-form {
    margin-top: var(--space-6);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-4);
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
    font-size: var(--font-size-base);
}

.form-control {
    width: 100%;
    padding: var(--space-4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: var(--font-size-base);
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

select.form-control {
    cursor: pointer;
}

/* Checkbox */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    cursor: pointer;
}

.checkbox-input {
    margin-top: 4px;
    cursor: pointer;
}

.checkbox-text {
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Form Actions */
.form-actions {
    margin-top: var(--space-8);
    text-align: center;
}

.btn-large {
    padding: var(--space-4) var(--space-8);
    font-size: var(--font-size-lg);
    font-weight: 600;
    min-height: 50px;
}

.form-note {
    margin-top: var(--space-4);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

/* Alerts */
.alert {
    padding: var(--space-4);
    border-radius: var(--radius);
    margin-bottom: var(--space-6);
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Contact Info Section */
.contact-info-section {
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-color);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-top: var(--space-6);
}

@media (min-width: 768px) {
    .info-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    text-align: center;
    transition: all 0.2s ease;
}

.info-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-3);
}

.info-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.info-description {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

/* Contact Widget (Sidebar) */
.contact-widget {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
}

.widget-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-4);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius);
    transition: all 0.2s ease;
}

.contact-method:hover {
    background: var(--bg-secondary);
}

.method-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.method-info {
    flex: 1;
}

.method-title {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-1);
}

.method-value {
    font-size: var(--font-size-base);
    color: var(--text-primary);
    font-weight: 500;
}

.method-value a {
    color: var(--primary);
    text-decoration: none;
}

.method-value a:hover {
    text-decoration: underline;
}

/* Social Widget */
.social-widget {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.social-link {
    display: flex;
    align-items: center;
    padding: var(--space-3);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--bg-secondary);
    transform: translateX(4px);
    border-color: var(--primary);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    color: white;
}

.widget-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-sm);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.newsletter-input {
    padding: var(--space-3);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    font-size: var(--font-size-base);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-primary);
}

.newsletter-input:focus {
    outline: none;
    border-color: white;
    background: white;
}

.newsletter-btn {
    padding: var(--space-3) var(--space-6);
    background: #fbbf24;
    color: #78350f;
    border: none;
    border-radius: var(--radius);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-btn:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

.newsletter-privacy {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    margin-top: var(--space-2);
}

/* Responsive Contact Page */
@media (max-width: 768px) {
    .contact-hero {
        padding: var(--space-8) 0;
    }

    .contact-hero .hero-title {
        font-size: var(--font-size-3xl);
        flex-direction: column;
    }

    .contact-form-container {
        padding: var(--space-6);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .form-actions {
        text-align: center;
    }

    .btn-large {
        width: 100%;
    }
}

/* Pagination */
.pagination {
    margin-top: var(--space-8);
    margin-bottom: var(--space-8);
}

.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    flex-wrap: wrap;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3) var(--space-5);
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: var(--bg-primary);
    transition: all 0.2s ease;
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.pagination-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--bg-secondary);
    transform: translateY(-1px);
}

.pagination-prev,
.pagination-next {
    min-width: auto;
}

.pagination-info {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
    font-weight: 500;
}

.pagination-current {
    color: var(--text-primary);
    font-weight: 600;
}

/* Responsive pagination */
@media (max-width: 768px) {
    .pagination-container {
        gap: var(--space-3);
    }

    .pagination-link {
        padding: var(--space-2) var(--space-4);
        font-size: var(--font-size-xs);
    }

    .pagination-info {
        font-size: var(--font-size-xs);
    }
}

/* Biographie en tête du sidebar */
.sidebar-bio {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
    margin-bottom: var(--space-6);
}

.sidebar-bio .widget-title {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    padding-bottom: var(--space-3);
    margin-bottom: var(--space-4);
    font-size: var(--font-size-lg);
    font-weight: 700;
}

.sidebar-bio .widget-content {
    color: var(--text-secondary);
    line-height: 1.8;
    padding: 0;
}

.sidebar-bio .widget-content p {
    margin-bottom: var(--space-3);
}

.sidebar-bio .widget-content p:last-of-type {
    margin-bottom: var(--space-4);
}

.sidebar-bio .btn-primary {
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.sidebar-bio .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
}

/* Liens dans la sidebar */
.sidebar-widget a {
    text-decoration: none !important;
}

.sidebar-widget a:hover {
    text-decoration: none !important;
}

/* Liens dans les cartes d'articles (page d'accueil) */
.blog-post a,
.post-title a {
    text-decoration: none !important;
}

.blog-post a:hover,
.post-title a:hover {
    text-decoration: none !important;
}

/* Liens de partage */
.share-btn {
    text-decoration: none !important;
}

.share-btn:hover {
    text-decoration: none !important;
}

/* Liens dans le footer */
.footer-links a {
    text-decoration: none !important;
}

.footer-links a:hover {
    text-decoration: none !important;
}

/* Correction pour les liens ignorés - style plus visible */
.article-body-modern a[href] {
    color: var(--primary) !important;
    font-weight: 500 !important;
    position: relative;
}

.article-body-modern a[href]:hover {
    color: var(--primary-dark) !important;
}

/* Liens externes - style différent */
.article-body-modern a[href^="http"]:not([href*="localhost"]):not([href*="innovtech.online"]) {
    color: var(--accent) !important;
}

.article-body-modern a[href^="http"]:not([href*="localhost"]):not([href*="innovtech.online"]):hover {
    color: #059669 !important;
}

/* Liens internes - style spécifique */
.article-body-modern a[href^="/"]:not([href^="//"]) {
    color: var(--primary) !important;
}

.article-body-modern a[href^="/"]:not([href^="//"]):hover {
    color: var(--primary-dark) !important;
}

/* Correction pour les liens dans les paragraphes */
.article-body-modern p a {
    display: inline !important;
    color: var(--primary) !important;
    font-weight: 500 !important;
}

.article-body-modern p a:hover {
    color: var(--primary-dark) !important;
}

/* STYLES POUR LES BOUTONS DE PARTAGE */
.share-buttons {
    display: flex;
    gap: var(--space-3);
    flex-wrap: wrap;
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 2px solid var(--border);
}

.share-buttons h3 {
    width: 100%;
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.share-buttons h3:before {
    content: "📤";
    font-size: 1.2em;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    text-decoration: none !important;
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
    min-height: 44px;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    text-decoration: none !important;
}

.btn-twitter {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.btn-twitter:hover {
    background: #0d8bd9;
    color: white;
}

.btn-facebook {
    background: #4267b2;
    color: white;
    border-color: #4267b2;
}

.btn-facebook:hover {
    background: #365899;
    color: white;
}

.btn-linkedin {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.btn-linkedin:hover {
    background: #005885;
    color: white;
}

.btn-copy {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-copy:hover {
    background: #059669;
    color: white;
}

.btn-copy.copied {
    background: var(--accent);
    color: white;
}

.btn-outline {
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Boutons spécifiques par plateforme */
.btn-twitter {
    background: #1da1f2;
    color: white;
    border-color: #1da1f2;
}

.btn-twitter:hover {
    background: #0d8bd9;
    border-color: #0d8bd9;
    color: white;
}

.btn-facebook {
    background: #4267B2;
    color: white;
    border-color: #4267B2;
}

.btn-facebook:hover {
    background: #365899;
    border-color: #365899;
    color: white;
}

.btn-linkedin {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

.btn-linkedin:hover {
    background: #005885;
    border-color: #005885;
    color: white;
}

.btn-copy {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.btn-copy:hover {
    background: #059669;
    border-color: #059669;
    color: white;
}

.btn-copy.copied {
    background: #10b981;
    border-color: #10b981;
}

/* STYLES POUR LA SIDEBAR */
.sidebar {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}

.sidebar-widget {
    margin-bottom: var(--space-8);
    padding: var(--space-6);
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.widget-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding-bottom: var(--space-3);
    border-bottom: 2px solid var(--primary);
}

/* Table des matières */
.table-of-contents .widget-title:before {
    content: "📋";
    font-size: 1.2em;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: var(--space-2);
}

.toc-list a {
    display: block;
    padding: var(--space-2) var(--space-3);
    color: var(--text-secondary);
    text-decoration: none !important;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.toc-list a:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    border-left-color: var(--primary);
    text-decoration: none !important;
    transform: translateX(4px);
}

.toc-level-h2 {
    font-weight: 600;
    font-size: var(--font-size-base);
}

.toc-level-h3 {
    font-size: var(--font-size-sm);
    padding-left: var(--space-4) !important;
}

.toc-level-h4 {
    font-size: var(--font-size-sm);
    padding-left: var(--space-6) !important;
    color: var(--text-muted);
}

/* Widget À propos */
.about-widget .widget-title:before {
    content: "ℹ️";
    font-size: 1.2em;
}

.widget-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

.widget-content p {
    margin-bottom: var(--space-4);
}

.widget-content p:last-child {
    margin-bottom: 0;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
}

.btn-sm {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-sm);
    min-height: 36px;
}

/* Articles dans la sidebar (si présents) */
.widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget-list li {
    margin-bottom: var(--space-3);
    padding: var(--space-3);
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
    transition: all 0.2s ease;
}

.widget-list li:hover {
    background: var(--bg-tertiary);
    transform: translateX(2px);
    box-shadow: var(--shadow-sm);
}

.widget-list li:last-child {
    margin-bottom: 0;
}

.widget-list a {
    color: var(--text-secondary);
    text-decoration: none !important;
    font-size: var(--font-size-sm);
    line-height: 1.4;
    display: block;
}

.widget-list a:hover {
    color: var(--primary);
    text-decoration: none !important;
}

.widget-list .article-meta {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-top: var(--space-1);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

/* Responsive pour la sidebar */
@media (max-width: 768px) {
    .sidebar {
        margin-top: var(--space-8);
        padding: var(--space-4);
    }

    .sidebar-widget {
        padding: var(--space-4);
        margin-bottom: var(--space-6);
    }

    .share-buttons {
        flex-direction: column;
        gap: var(--space-2);
    }

    .btn {
        justify-content: center;
        width: 100%;
    }
}

/* Animation pour les éléments interactifs */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sidebar-widget {
    animation: slideIn 0.3s ease-out;
}

.btn {
    animation: slideIn 0.2s ease-out;
}

/* États de focus pour l'accessibilité */
.btn:focus,
.toc-list a:focus,
.widget-list a:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Masquer les badges de vue et breadcrumb */
.breadcrumb,
nav[aria-label="breadcrumb"],
.article-meta .view-count,
.view-badge,
[class*="view"][class*="count"],
*:contains("👁️"),
*:contains("vues") {
    display: none !important;
}

/* Masquer spécifiquement les métadonnées avec vues */
.article-header div[style*="display: flex"] span:contains("👁️"),
.article-header div[style*="display: flex"] span:contains("vues") {
    display: none !important;
}