/* ========== STRUCTURE PRINCIPALE ========== */
.home_objet {
    display: flex;
    width: 100%;
    justify-content: center;
}

.home_objet_sz {
    display: flex;
    width: calc(100% - 80px);
    max-width: 1280px;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 50px 0 200px;
}

@media (max-width: 1440px) {
    .home_objet_sz {
        margin: 40px 0 160px;
    }
}

@media (max-width: 1280px) {
    .home_objet_sz {
        margin: 40px 0 150px;
    }
}

@media (max-width: 900px) {
    .home_objet_sz {
        margin: 30px 0 100px;
    }
}

@media (max-width: 768px) {
    .home_objet_sz {
        margin: 30px 0px;
    }
}

/* ========== CARTE OBJET ========== */
.home_objet_i {
    display: flex;
    flex-direction: column;
    width: calc((100% / 3) - 20px);
    max-width: 400px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 13px 10px rgba(0, 0, 0, 0.08);
    /*! border: 2px solid #22B4B3; */
    /*! border: 2px solid #f00; */
    border-radius: 0 0 0 40px;
    transition: all 345ms ease;
    position: relative;
    text-decoration: none;
}

.home_objet_i:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 12px rgba(0, 0, 0, 0.125);
}

/* ========== EN-TÊTE CARTE ========== */
.home_objet_i_type {
    display: flex;
    width: calc(100% - 48px);
    height: 40px;
    margin-bottom: -40px;
    position: relative;
    z-index: 10;
    justify-content: flex-start;
    align-items: flex-end;
}

.home_objet_i_type_sz {
    background: #E61B46;
    border-radius: 40px 0;
    color: #FFFFFF;
    font-family: "Montserrat", serif;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    padding: 2px 28px;
    line-height: 1;
}

/* ========== IMAGE ========== */
.home_objet_i_img {
    display: block;
    width: 100%;
    aspect-ratio: 400/475;
    overflow: hidden;
}

.home_objet_i_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 345ms ease;
}


/* ========== CONTENU TEXTE ========== */
.home_objet_i_txt {
    display: flex;
    width: calc(100% - 4px);
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    background: #FFFFFF;
    border-radius: 0 0 0 40px;
    border: 2px solid #22B4B3;
}

.home_objet_i_txt > span {
    display: flex;
    width: calc(100% - 20px);
    max-width: 340px;
}

/* Titre */
.home_objet_i_txt_ttl {
    color: #024343;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.16);
    font-family: "Montserrat", serif;
    font-weight: 500;
    font-size: 22px;
    line-height: 1.3;
    height: 57.2px; /* 2 * 1.3 * 22px */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
    padding: 0px 20px;
    width: calc(100% - 40px);
}

/* Bouton */
.home_objet_i_txt_btn {
    display: flex;
    background: #024343;
    border-radius: 29px;
    margin-top: 30px;
    padding: 21px 0;
    transition: all 345ms ease;
}

.home_objet_i:hover .home_objet_i_txt_btn {
    background: #17B3B3;
}

.home_objet_i_txt_btn_label {
    display: flex;
    width: calc(100% - 75px);
    margin-left: 25px;
    color: #FFFFFF;
    font-family: "Montserrat", serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1;
    text-decoration: none;

    line-height: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    text-decoration: none;
}

.home_objet_i_txt_btn_arrow {
    display: flex;
    width: 25px;
    justify-content: flex-end;
    align-items: center;
}

.home_objet_i_txt_btn_arrow img {
    height: 12px;
    width: auto;
}




/* ========== RESPONSIVE ========== */

@media (max-width: 1024px) {
    .home_objet_i {
        width: calc(50% - 20px);
    }

    .home_objet_i_txt_ttl {
        font-size: 20px;
        height: 52px; /* 2 * 1.3 * 20px */
    }

    .home_objet_i_type {
        height: 70px;
        margin-bottom: -70px;
    }
}

@media (max-width: 768px) {
    .home_objet_i {
        width: 100%;
        margin-bottom: 40px;
    }

    .home_objet_i_txt_ttl {
        height: auto;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
    }

    .home_objet_i_type {
        height: 70px;
        margin-bottom: -70px;
    }

    .home_objet_i_type_sz {
        margin-left: 10px;
        line-height: 1.3;
    }

}
