/* ========== PROJETS PAGE ========== */
.titre-ligne h2 {
    font-family: 'Parisienne', cursive;
    font-size: 75px;
    margin: 60px;
    text-align: center;
    color: #470B24;
}

.row {
    margin-left: 40px;
    margin-right: 40px;
}
.card {
    width: 410px;
    height: 480px;
    cursor: pointer;
    transition: transform 0.15s ease;
    border: 3px solid #B1BAE1;
    border-radius: 8px;
}

.card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card:active {
    transform: scale(0.98);
}

.card:hover {
    transform: scale(1.05);
}

/* TITRE */
@media screen and (max-width: 992px) {
    .titre-ligne h2 {
        font-size: 60px;
        margin: 40px 20px;
    }
}

/* ROW / CARTES */
@media screen and (max-width: 992px) {
    .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 0 20px;
        gap: 20px;
    }

    .card {
        width: 100%;
        height: auto;
    }

    .card img {
        height: auto;
    }
}

/* MOBILE */
@media screen and (max-width: 768px) {
    .titre-ligne h2 {
        font-size: 60px;
        margin: 30px 10px;
    }

    .card {
        width: 100%; /* 1 carte par ligne */
        height: auto;
    }

    .card img {
        height: auto;
        object-fit: cover;
    }

    .row {
        margin: 0 10px;
        gap: 15px;
    }
}