/* --- STYLE BLOG (Cartes) --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    padding: 40px 0;
}

.blog-card {
    background: #fff;
    border-radius: 20px;
    /* Coins très arrondis comme sur la photo */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: 0.3s;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card-header {
    position: relative;
    height: 200px;
}

.blog-card-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e0e7ff;
    color: #63a71c;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.blog-card-body {
    padding: 20px;
}

.blog-card-title {
    font-size: 18px;
    line-height: 1.4;
    color: #1a1a1a;
    font-weight: 700;
}



/* Section globale du blog */
.blog-section {
    padding: 60px 0;
    background-color: #ffffff;
    /* Fond blanc pur comme sur la capture */
    text-align: center;
}

/* Style du Titre Principal (H1) */
.blog-title {
    font-size: 42px;
    /* Taille imposante */
    font-weight: 800;
    /* Très gras pour le contraste */
    color: #1a1a1a;
    /* Presque noir */
    margin-bottom: 15px;
    letter-spacing: -1px;
    /* Resserre légèrement les lettres pour un look moderne */
}

/* Style du Sous-titre (P) */
.blog-subtitle {
    font-size: 18px;
    color: #666666;
    /* Gris moyen pour la hiérarchie visuelle */
    max-width: 600px;
    /* Limite la largeur pour une meilleure lecture */
    margin: 0 auto 50px auto;
    /* Centre le bloc et ajoute de l'espace avec les cartes */
    line-height: 1.6;
    font-weight: 400;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .blog-title {
        font-size: 32px;
    }

    .blog-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }
}