/* ========================================
   STYLES SPÉCIFIQUES À L'ARTICLE DE BLOG
   À ajouter à votre fichier CSS principal
   ======================================== */

/* Progress bar de lecture */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 123, 255, 0.1);
    z-index: 9999;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #967E66, #EAE2D7);
    width: 0%;
    transition: width 0.1s ease;
}

/* Breadcrumb */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    margin-top: 70px;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb-nav a {
    color: #967E66;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-nav a:hover {
    color: #EAE2D7;
    text-decoration: underline;
}

.breadcrumb-separator {
    color: #666;
    font-weight: bold;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* Header de l'article */
.article-header {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 50px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.article-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #967E66, #EAE2D7);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 123, 255, 0.3);
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.2;
}

.article-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 400;
}

.article-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.author-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.author-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #967E66;
}

.author-name {
    font-size: 1rem;
    color: #333;
    margin-bottom: 3px;
}

.author-title {
    font-size: 0.9rem;
    color: #967E66;
    font-weight: 500;
}

.article-stats {
    display: flex;
    gap: 20px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: #666;
}

.stat-item i {
    color: #967E66;
}

/* Boutons de partage */
.article-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.share-label {
    font-weight: 600;
    color: #333;
    margin-right: 10px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.email { background: #34495e; }
.share-btn.copy { background: #28a745; }

/* Image principale */
.article-featured-image {
    padding: 30px 0;
    background: #f8f9fa;
}

.featured-image-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.image-caption p {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
    margin: 0;
}

/* Layout principal */
.article-content-section {
    padding: 60px 0;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Contenu principal */
.article-main {
    max-width: none;
}

/* Table des matières */
.table-of-contents {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 40px;
}

.table-of-contents h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.table-of-contents h3 i {
    color: #967E66;
}

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

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

.toc-list a {
    color: #967E66;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
    padding: 5px 0;
}

.toc-list a:hover {
    color: #EAE2D7;
    text-decoration: underline;
}

/* Contenu de l'article */
.article-content {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
}

.content-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

.content-section h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 3px solid #967E66;
    padding-bottom: 10px;
}

.content-section h3 {
    font-size: 1.4rem;
    color: #333;
    margin: 25px 0 15px 0;
    font-weight: 600;
}

.content-section h4 {
    font-size: 1.2rem;
    color: #333;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

.lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Boxes de mise en évidence */
.highlight-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    border-radius: 10px;
    margin: 25px 0;
    border-left: 4px solid;
}

.highlight-box.info {
    background: #e7f3ff;
    border-left-color: #967E66;
}

.highlight-box.warning {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.highlight-icon {
    font-size: 1.5rem;
    margin-top: 2px;
}

.highlight-box.info .highlight-icon {
    color: #967E66;
}

.highlight-box.warning .highlight-icon {
    color: #ffc107;
}

.highlight-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.highlight-content p {
    margin: 0;
    color: #555;
}

/* Liste de critères */
.criteria-list {
    margin: 30px 0;
}

.criterion-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #967E66;
}

.criterion-number {
    background: #967E66;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.criterion-content h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.criterion-content p {
    margin: 0;
    color: #555;
}

/* Images dans le contenu */
.image-content {
    margin: 40px 0;
    text-align: center;
}

.content-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.image-content .image-caption {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Grid de spécificités */
.specificities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.specificity-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specificity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.specificity-icon {
    font-size: 2.5rem;
    color: #967E66;
    margin-bottom: 15px;
}

.specificity-card h4 {
    color: #333;
    margin-bottom: 10px;
}

.specificity-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Box d'avertissement */
.warning-box {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 10px;
    margin: 25px 0;
}

.warning-icon {
    font-size: 1.5rem;
    color: #f39c12;
    margin-top: 2px;
}

.warning-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.warning-content p {
    margin: 0;
    color: #555;
}

/* Liste d'erreurs */
.errors-list {
    margin: 25px 0;
}

.error-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    margin-bottom: 15px;
    background: #fff5f5;
    border-radius: 8px;
    border-left: 3px solid #e74c3c;
}

.error-icon {
    font-size: 1.2rem;
    margin-top: 2px;
}

.error-content h4 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #333;
    font-size: 1rem;
}

.error-content p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Tableau de prix */
.price-table {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin: 25px 0;
}

.price-header {
    background: #967E66;
    color: white;
    padding: 20px;
    text-align: center;
}

.price-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.price-row:last-of-type {
    border-bottom: none;
}

.service-type {
    font-weight: 500;
    color: #333;
}

.price-range {
    font-weight: 600;
    color: #967E66;
    font-size: 1.1rem;
}

.price-note {
    padding: 15px 20px;
    background: #f8f9fa;
    text-align: center;
}

.price-note small {
    color: #666;
    font-style: italic;
}

/* Conseils d'experts */
.expert-tips {
    margin: 30px 0;
}

.tip-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: #e8f4fd;
    border-radius: 10px;
    border-left: 4px solid #967E66;
}

.tip-icon {
    font-size: 1.5rem;
    color: #967E66;
    margin-top: 2px;
}

.tip-content h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #333;
}

.tip-content p {
    margin: 0;
    color: #555;
}

/* CTA de conclusion */
.conclusion-cta {
    background: linear-gradient(135deg, #967E66, #EAE2D7);
    color: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3);
}

.conclusion-cta h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: white;
}

.conclusion-cta p {
    margin-bottom: 25px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 12px 25px;
    font-weight: 600;
}

.cta-buttons .btn i {
    margin-right: 8px;
}

/* Tags de l'article */
.article-tags-section {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
}

.article-tags-section h3 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.1rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.article-tags .tag {
    background: linear-gradient(135deg, #EAE2D7, #e6f3ff);
    color: #967E66;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.article-tags .tag:hover {
    background: #967E66;
    color: white;
    transform: translateY(-2px);
}

/* Navigation article précédent/suivant */
.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 50px 0;
    padding: 30px 0;
    border-top: 1px solid #e9ecef;
}

.nav-item {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.nav-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.nav-item a {
    display: block;
    padding: 25px;
    text-decoration: none;
    color: #333;
}

.nav-direction {
    font-size: 0.85rem;
    color: #967E66;
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.3;
    color: #333;
}

.nav-previous {
    text-align: left;
}

.nav-next {
    text-align: right;
}

/* ========================================
   SIDEBAR STYLES
   ======================================== */

.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
    color: #333;
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 2px solid #967E66;
}

/* Widget auteur */
.author-card {
    text-align: center;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #967E66;
    margin-bottom: 20px;
}

.author-info h3 {
    margin-bottom: 5px;
    border: none;
    padding: 0;
    font-size: 1.3rem;
}

.author-role {
    color: #967E66;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-experience {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.author-bio {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.author-contact .btn {
    font-size: 0.9rem;
    padding: 10px 20px;
}

/* TOC sticky */
.sticky-toc {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

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

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

.toc-link {
    display: block;
    color: #666;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.toc-link:hover,
.toc-link.active {
    color: #967E66;
    background: #EAE2D7;
    border-left-color: #967E66;
}

/* CTA Contact Widget */
.contact-cta {
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 25px;
    border: 2px solid #967E66;
}

.cta-icon {
    font-size: 2.5rem;
    color: #967E66;
    margin-bottom: 15px;
}

.contact-cta h3 {
    color: #333;
    margin-bottom: 10px;
    border: none;
    padding: 0;
}

.contact-cta p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.cta-features {
    margin-bottom: 20px;
}

.feature {
    color: #28a745;
    font-size: 0.9rem;
    margin-bottom: 5px;
    font-weight: 500;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-block {
    width: 100%;
    text-align: center;
    padding: 12px 15px;
    font-size: 0.9rem;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 0.85rem;
}

/* Articles similaires */
.related-article {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.related-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-article img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.related-content h4 {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

.related-content h4 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content h4 a:hover {
    color: #967E66;
}

.related-date {
    font-size: 0.8rem;
    color: #888;
}

/* ========================================
   SECTION COMMENTAIRES
   ======================================== */

.comments-section {
    background: #f8f9fa;
    padding: 60px 0;
    border-top: 1px solid #e9ecef;
}

.comments-container {
    max-width: 800px;
    margin: 0 auto;
}

.comments-section h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.comments-info p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1rem;
}

/* ========================================
   NEWSLETTER CTA
   ======================================== */

.article-newsletter-cta {
    background: linear-gradient(135deg, #967E66, #EAE2D7);
    color: white;
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.article-newsletter-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/assets/images/newsletter-pattern.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.article-newsletter-cta h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.city-name {
    font-weight: 700;
}

.article-newsletter-cta p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 400px;
    margin: 0 auto 15px;
    gap: 10px;
    background: white;
    padding: 5px;
    border-radius: 30px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
}

.newsletter-form .btn {
    padding: 12px 20px;
    border-radius: 25px;
    white-space: nowrap;
    font-weight: 600;
}

.article-newsletter-cta small {
    opacity: 0.8;
    font-size: 0.85rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .article-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-sidebar {
        order: -1;
    }

    .sticky-toc {
        position: static;
        max-height: none;
        overflow: visible;
    }
}

@media (max-width: 768px) {
    /* Header */
    .article-header {
        padding: 40px 0;
    }

    .article-title {
        font-size: 2rem;
    }

    .article-subtitle {
        font-size: 1.1rem;
    }

    .article-meta-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .article-stats {
        flex-wrap: wrap;
        gap: 15px;
    }

    .article-share {
        flex-direction: column;
        gap: 10px;
    }

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

    /* Contenu */
    .article-content-section {
        padding: 40px 20px;
    }

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

    .content-section h2 {
        font-size: 1.5rem;
    }

    .lead {
        font-size: 1.1rem;
    }

    /* Critères */
    .criterion-item {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .criterion-number {
        align-self: center;
    }

    /* Spécificités */
    .specificities-grid {
        grid-template-columns: 1fr;
    }

    /* Prix */
    .price-row {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    /* Navigation */
    .article-navigation {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    /* Sidebar */
    .sidebar-widget {
        padding: 20px;
    }

    .expert-info {
        flex-direction: column;
        text-align: center;
    }

    /* Newsletter */
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        border-radius: 15px;
    }

    .newsletter-form input {
        border-radius: 10px;
    }

    .newsletter-form .btn {
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    /* Breadcrumb */
    .breadcrumb-nav {
        flex-wrap: wrap;
        gap: 5px;
    }

    /* Header */
    .article-title {
        font-size: 1.7rem;
    }

    .author-photo {
        width: 50px;
        height: 50px;
    }

    .author-info {
        gap: 10px;
    }

    /* Stats */
    .stat-item {
        font-size: 0.8rem;
    }

    /* Partage */
    .share-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    /* Image principale */
    .article-featured-image {
        padding: 20px 15px;
    }

    /* Contenu */
    .content-section h2 {
        font-size: 1.3rem;
    }

    .table-of-contents {
        padding: 20px 15px;
    }

    /* Boxes */
    .highlight-box,
    .warning-box,
    .tip-item,
    .criterion-item {
        padding: 15px;
        gap: 10px;
    }

    /* Sidebar */
    .sidebar-widget {
        padding: 15px;
    }

    .author-avatar {
        width: 80px;
        height: 80px;
    }

    /* Tags */
    .article-tags .tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    /* Newsletter CTA */
    .article-newsletter-cta {
        padding: 40px 20px;
    }

    .article-newsletter-cta h2 {
        font-size: 1.6rem;
    }
}

/* ========================================
   ANIMATIONS ET INTERACTIONS
   ======================================== */

/* Animation de fade-in pour le contenu */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-section {
    animation: fadeInUp 0.6s ease forwards;
}

.content-section:nth-child(1) { animation-delay: 0.1s; }
.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.3s; }
.content-section:nth-child(4) { animation-delay: 0.4s; }
.content-section:nth-child(5) { animation-delay: 0.5s; }

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Animation pour les éléments interactifs */
.criterion-item,
.tip-item,
.specificity-card,
.nav-item {
    transition: all 0.3s ease;
}

/* States de focus pour l'accessibilité */
.share-btn:focus-visible,
.toc-link:focus-visible,
.btn:focus-visible {
    outline: 2px solid #967E66;
    outline-offset: 2px;
}

/* Loading states */
.article-content.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Print styles */
@media print {
    .article-share,
    .article-navigation,
    .article-sidebar,
    .article-newsletter-cta,
    .reading-progress,
    .breadcrumb {
        display: none !important;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-title {
        color: #000 !important;
    }

    .content-section h2 {
        color: #000 !important;
        border-bottom: 2px solid #000 !important;
    }

    .highlight-box,
    .warning-box,
    .tip-item {
        border: 1px solid #ccc !important;
        background: #EAE2D7 !important;
    }
}