/* ===== BLOG HERO ===== */
.blog-hero {
    padding: 180px 5% 100px;
    background: linear-gradient(135deg, rgba(44,123,229,0.85) 0%, rgba(63,207,142,0.75) 100%), 
                url('assets/images/hero/galerie marchande centre commercial.webp') center/cover no-repeat;
    text-align: center;
    color: white;
}
.blog-hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
}
.blog-hero p {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== CATEGORIES ===== */
.blog-categories {
    padding: 40px 5%;
    background: white;
    border-bottom: 1px solid var(--gris-soft);
    position: sticky;
    top: 70px;
    z-index: 100;
}
.categories-list {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}
.category-btn {
    padding: 10px 24px;
    border: 2px solid var(--gris-soft);
    background: white;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: #666;
    cursor: pointer;
    transition: 0.3s;
}
.category-btn:hover {
    border-color: var(--bleu-azur);
    color: var(--bleu-azur);
}
.category-btn.active {
    background: var(--bleu-azur);
    border-color: var(--bleu-azur);
    color: white;
}

/* ===== FEATURED ARTICLE ===== */
.featured-article {
    padding: 80px 5%;
    background: var(--blanc-neige);
}
.featured-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.featured-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}
.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--rouge-corail);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
}
.featured-content {
    padding: 40px 40px 40px 0;
}
.featured-content h2 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 20px;
}
.featured-content p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.8;
}

/* ===== ARTICLE META ===== */
.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}
.category-tag {
    background: var(--bleu-azur);
    color: white;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}
.date, .read-time {
    color: #888;
    font-size: 0.9rem;
}
.date i, .read-time i {
    margin-right: 5px;
}

/* ===== BLOG GRID ===== */
.blog-grid-section {
    padding: 80px 5%;
    background: white;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0,0,0,0.06);
    transition: 0.3s;
}
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.blog-card.hidden {
    display: none;
}
.card-image {
    height: 200px;
    overflow: hidden;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.4s;
}
.blog-card:hover .card-image img {
    transform: scale(1.1);
}
.card-content {
    padding: 25px;
}
.card-content h3 {
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--secondary);
}
.card-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 15px;
    line-height: 1.6;
}
.read-more {
    color: var(--bleu-azur);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
}
.read-more:hover {
    color: var(--vert-menthe);
    gap: 12px;
}

/* ===== LOAD MORE ===== */
.load-more {
    text-align: center;
    margin-top: 50px;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    padding: 80px 5%;
    background: var(--blanc-neige);
}
.newsletter-card {
    background: white;
    border-radius: 20px;
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}
.newsletter-content h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}
.newsletter-content p {
    color: #666;
}
.newsletter-form {
    display: flex;
    gap: 15px;
    flex: 1;
    max-width: 500px;
}
.newsletter-form input {
    flex: 1;
    margin-bottom: 0;
}
.newsletter-form .btn {
    white-space: nowrap;
}

/* ===== NAV ACTIVE STATE ===== */
.nav-links a.active {
    color: var(--jaune-soleil);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-card {
        grid-template-columns: 1fr;
    }
    .featured-content {
        padding: 40px;
    }
    .featured-image {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .newsletter-card {
        flex-direction: column;
        text-align: center;
        padding: 40px;
    }
    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }
    .categories-list {
        gap: 10px;
    }
    .category-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 600px) {
    .blog-hero {
        padding: 150px 5% 60px;
    }
    .blog-hero h1 {
        font-size: 2rem;
    }
    .featured-content h2 {
        font-size: 1.5rem;
    }
}
