/* =============================================
   Blog Page - Modern Design
   ============================================= */

/* Hero Section */
.blog-hero-modern {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.blog-hero-modern::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='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.blog-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.blog-hero-modern .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(184, 150, 46, 0.1);
    color: #B8962E;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(184, 150, 46, 0.25);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.blog-hero-modern h1 {
    font-size: clamp(2.25rem, 5vw, 3.25rem);
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
    line-height: 1.15;
}

.blog-hero-modern h1 span {
    background: linear-gradient(135deg, #B8962E, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-hero-modern p {
    font-size: 1.15rem;
    color: #64748b;
    max-width: 650px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* Hero Stats */
.blog-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.blog-stat {
    text-align: center;
}

.blog-stat-number {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #B8962E, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    line-height: 1;
    margin-bottom: 6px;
}

.blog-stat-label {
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CTA Banner */
.blog-cta-banner {
    padding: 16px 0;
    background: linear-gradient(135deg, #B8962E 0%, #D4AF37 100%);
}

.blog-cta-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.blog-cta-banner-text {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
}

.blog-cta-banner .btn-banner {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #fff;
    color: #1a1a1a;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.blog-cta-banner .btn-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Filter Tabs */
.blog-filters {
    padding: 24px 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 70px;
    z-index: 100;
}

.filter-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 10px 20px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tab:hover {
    background: #f1f5f9;
    color: #1a1a1a;
}

.filter-tab.active {
    background: linear-gradient(135deg, #B8962E, #D4AF37);
    color: #fff;
    border-color: transparent;
}

/* Blog Section */
.blog-section-modern {
    padding: 60px 0 80px;
    background: #f8fafc;
}

/* Featured Article */
.featured-article {
    margin-bottom: 50px;
}

.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.featured-image {
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #B8962E, #D4AF37);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.featured-content {
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-category {
    display: inline-block;
    background: rgba(184, 150, 46, 0.1);
    color: #B8962E;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 16px;
    width: fit-content;
}

.featured-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
    line-height: 1.3;
}

.featured-excerpt {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.featured-meta i {
    margin-right: 6px;
    color: #B8962E;
}

.featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: #B8962E;
    font-weight: 600;
    font-size: 0.95rem;
}

.featured-cta i {
    transition: transform 0.3s ease;
}

.featured-card:hover .featured-cta i {
    transform: translateX(5px);
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Article Card */
.article-card-modern {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid #e5e7eb;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.article-card-modern:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.article-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card-modern:hover .article-image img {
    transform: scale(1.08);
}

.article-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #fff;
    color: #1a1a1a;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.article-category.sites-vitrines { background: #dbeafe; color: #1d4ed8; }
.article-category.seo { background: #dcfce7; color: #15803d; }
.article-category.strategie { background: #fef3c7; color: #b45309; }
.article-category.design { background: #fce7f3; color: #be185d; }
.article-category.ecommerce { background: #e0e7ff; color: #4338ca; }
.article-category.reseaux { background: #ffe4e6; color: #be123c; }

.article-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.article-date {
    color: #94a3b8;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-date i {
    color: #B8962E;
}

.article-read-more {
    color: #B8962E;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.article-read-more i {
    transition: transform 0.3s ease;
}

.article-card-modern:hover .article-read-more i {
    transform: translateX(4px);
}

/* Load More */
.load-more-wrapper {
    text-align: center;
    margin-top: 50px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: #fff;
    color: #1a1a1a;
    font-weight: 600;
    border: 2px solid #e5e7eb;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-load-more:hover {
    border-color: #B8962E;
    color: #B8962E;
}

/* Newsletter Section */
.newsletter-modern {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    text-align: center;
}

.newsletter-modern h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.newsletter-modern p {
    color: rgba(255,255,255,0.8);
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form-modern {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form-modern input {
    flex: 1;
    min-width: 250px;
    padding: 14px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
}

.newsletter-form-modern input::placeholder {
    color: rgba(255,255,255,0.6);
}

.newsletter-form-modern input:focus {
    outline: none;
    border-color: #D4AF37;
    background: rgba(255,255,255,0.15);
}

.newsletter-form-modern button {
    padding: 14px 28px;
    background: linear-gradient(135deg, #B8962E, #D4AF37);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.newsletter-form-modern button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.newsletter-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.newsletter-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}

.newsletter-trust i {
    color: #10b981;
}

/* Responsive */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-card {
        grid-template-columns: 1fr;
    }
    
    .featured-content {
        padding: 30px;
    }
    
    .featured-image {
        min-height: 280px;
    }
}

@media (max-width: 768px) {
    .blog-hero-modern {
        padding: 110px 0 60px;
    }
    
    .blog-stats {
        gap: 24px;
    }
    
    .blog-stat-number {
        font-size: 1.75rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
    }
    
    .filter-tab {
        white-space: nowrap;
    }
    
    .blog-cta-banner .container {
        flex-direction: column;
        text-align: center;
    }
    
    .featured-title {
        font-size: 1.4rem;
    }
    
    .newsletter-form-modern {
        flex-direction: column;
    }
    
    .newsletter-form-modern input {
        min-width: 100%;
    }
}
