.profile-section {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 40px 0px 40px 0px;
}

.profile-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 300px;
    height: fit-content;
    padding: 12px;
    border-radius: 17px;
    overflow: hidden;
    text-align: center;
    background-color: #008cdb;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform-origin: center;
}

.profile-card:hover {
    transform: rotateY(-5deg) rotateZ(-1.5deg) translateY(-3px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.15);
}

.profile-card img {
    width: 100%;
    height: 300px;
    border-radius: 5px;
    object-fit: cover;
}

.profile-card__caption {
    color: white;
    font-weight: 600;
    font-size: 18px;
    padding: 10px;
}

.profile-card__caption span {
    font-size: 14px;
    font-weight: 400;
}

/* Modificateur pour carte du milieu */
.profile-card--alt {
    background-color: #005b9e;
}

@media (max-width: 768px) {
    .profile-section {
        flex-direction: column;
        align-items: center;
    }

    .profile-card {
        width: 80%;
        max-width: 300px;
    }
}
