.div-principal {
    width: 100%;
    max-width: 1284px;
    margin: 65px auto;
    padding: 20px;
    box-sizing: border-box;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.titre-section {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
    padding-top: 32px;
    padding-left: 20px;
    padding-bottom: 32px;
    border-bottom: 1px solid grey;
    font-size: 16px;
    font-weight: bold;
    color: #383732;
    font-family: Montserrat, sans-serif; /* optionnel pour harmoniser avec le reste */
}

.stat-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom:32px;
}

.stat-block {
    flex: 1 1 calc(33.333% - 16px); /* ← 3 colonnes avec espace */
    min-width: 280px;
}

.stat-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-family: Montserrat, sans-serif;
    color: #333;
    text-align: center;
}

.player-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #ccc;
    background-color: #fff;
    margin-bottom: 8px;
    font-family: Montserrat, sans-serif;
}

.player-name {
    flex: 1;
    padding-left: 12px;
    text-align: left;
}

.player-name a {
    font-weight: bold;
    color: #2a2a2a;
    text-decoration: none;
    display: block;
    text-align: left;
}

.player-team img {
    width: 40px;
    height: 40px;
}

.player-points {
    font-weight: bold;
    font: 20px 'Montserrat', sans-serif;
}

/* Sur petit écran : empile les blocs */
@media (max-width: 900px) {
    .stat-block {
        flex: 1 1 100%;
    }
    .div-principal {
        min-width: auto;
        padding: 12px;
    }
    .player-points {
        font: 14px 'Montserrat', sans-serif;
    }
}
