.personnages-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    max-width: calc(6 * 200px + 5 * 15px);
    margin: 0 auto;
}

.personnages-grid figure {
    flex: 0 0 200px;
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    margin: 0;
    text-align: center;
}

.personnages-grid figure figcaption {
    font-weight: bold;
}

/* ============================================================
   RESPONSIVE — liste des personnages sous 980px
   ============================================================ */
@media (max-width: 979px) {
    .personnages-grid {
        max-width: 100%;
        gap: 10px;
        padding: 0 6px;
    }

    .personnages-grid figure {
        /* 2 colonnes : chaque carte ≈ 50% - gaps */
        flex: 0 0 calc(50% - 8px);
        width: calc(50% - 8px);
        min-width: calc(50% - 8px);
        max-width: calc(50% - 8px);
    }

    .personnages-grid figure img {
        max-width: 100%;
        height: auto;
    }
}
