

#homepage .home-carousel .item{
    display: flex;
    align-items: stretch;
    align-content: stretch;
    width: 100%;
}
#homepage .home-carousel .item img{
    max-width: 62.4%;
    width: 100%;
    height: 557px;
    object-fit: cover;
}
#homepage .home-carousel .info{
    width: 37.6%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    align-content: flex-start;
    flex-direction: column;
    padding: 20px 50px;
}

#homepage .home-carousel .info h2{
    font-family: "NissanBrand-Regular";
    font-size: 62px;
    line-height: 100%;
    text-align: left;
    color: var(--textButton);
    margin-bottom: 27px;

}

#homepage .home-carousel .info h2 b{
    color: var(--yellow);
}
#homepage .home-carousel .info .subtitle{
    font-family: "NissanBrand-Regular";
    font-size: 22px;
    text-align: left;
    color: var(--textButton);


}
#homepage .home-carousel .info a.btn{
    font-family: "NissanBrand-Bold";
    margin-top: 20px;
    width: 254px;
    height: 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
}


#homepage .home-carousel  .owl-nav{
    display: none;
}
#homepage .home-carousel .carousel-nav{
    position: absolute;
    cursor: pointer;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
    border-radius: 6px;
    background-color: var(--textButton);
}

#homepage .home-carousel .carousel-nav.carousel-nav-prev{
    left: 10px;
}

#homepage .home-carousel  .carousel-nav.carousel-nav-next{
    right: 10px;
}

#homepage .home-description{
    padding: 40px 15px;
    margin: 0 auto;
    margin-top: 32px;
}
#homepage .home-description h2{
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}


#homepage .home-description .btgrid .row{
    align-items: stretch;
    align-content: stretch;
}
#homepage .home-description .btgrid .row .col-content{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;

    font-size: 16px;
    line-height: 23px;
    color: #000;
}
#homepage .home-description .btgrid .row .col-content img{
    max-width: 100%;
    height: auto !important;
}

#homepage .home-content{
    max-width: var(--max-width-sub);
    margin: 0 auto;
}

#homepage .home-offres{
    position: relative;
    display: grid;
    gap: 25px 47px;
    grid-template-columns: 1fr 1fr 1fr;
}

#homepage .home-offres .car{
    padding: 15px;
    position: relative;
    border-radius: 14px;
}

/* mise en avant */
#homepage .home-offres .car:hover{
    background-color: var(--grey2);
}

#homepage .home-offres .car .car-title{
    font-family: "NissanBrand-Bold";
    font-size: 20px;
    line-height: 100%;
    text-align: left;
    color: var(--noir);
    margin-top: 15px;
}

#homepage .home-offres .car .car-price{
    margin-top: 20px;
    font-family: "NissanBrand-Regular";
    font-size: 20px;
    text-align: left;
    color: var(--grey3);

}

#homepage .home-offres .car .car-links{
    display: flex;
    justify-content: space-between;
    margin-top: 13px;
}


#homepage .home-offres .car .car-links a:last-of-type{
    padding-left: 20px;
}

#homepage .home-offres .car .car-badge{
    position: absolute;
    top: 20px;
    right: 18px;
    background-color: var(--noir);
    border-radius: 5px;
    font-size: 12px;
    line-height: 100%;
    color: var(--textButton);
    padding: 3px 14px;
    display: none;
}
#homepage .home-offres .car:hover .car-badge{
    display: block;
}

#homepage .home-offres .car .car-img{
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    height: 228px;
    overflow: hidden;
}
#homepage .home-offres .car .car-img img{
    width: 100%;
    height: auto;
    transition: all 0.2s;
}
#homepage .home-offres .car:hover .car-img img{
    transform: scale(1.01);
}

#homepage .home-banner{
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
}
#homepage .home-banner img{
    width: 100%;
    height: auto;
}


#homepage .home-description img{
    max-width: 100% !important;
    height: auto !important;
}


@media (max-width: 1600px) {
    #homepage .home-offres{
        gap: 20px;
        margin: 0 auto;
        grid-template-columns: 1fr 1fr;
    }
    #homepage .home-offres .car .car-links a:last-of-type{
        padding-left: 10px;
    }
    #homepage .home-carousel .info h2{
        padding: 0;
    }
}


@media (max-width: 1350px) {
    #homepage .home-carousel .info{
        position: absolute;
        height: 100%;
        top:0;
        right:0;
        width: 400px;
    }
    #homepage .home-carousel .item img{
        max-width: 100%;
    }
}
@media (max-width: 670px) {

    #homepage .home-offres{
        grid-template-columns: 1fr;
    }
}
@media (max-width: 500px) {

    #homepage .home-offres .car .car-links{
        flex-direction: column;
    }
    #homepage .home-offres .car .car-links a:last-of-type{
        padding-left: 0;
    }

    .link span{
        width: 100%;
    }

    #homepage .home-carousel .item{
        flex-direction: column;
    }
    #homepage .home-carousel .item img{
        max-width: 100%;
        height: auto;
    }
    #homepage .home-carousel .info{
        position: relative;
        height: auto;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    #homepage .home-description{
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    #homepage .home-description .btgrid .row-1{
        flex-direction: column;
    }
    #homepage .home-description .btgrid .row-2{
        flex-direction: column;
    }
    #homepage .home-offres .car{
        border-radius: 0;
    }
    #homepage .home-offres .car .car-price,
    #homepage .home-offres .car .car-title{
        font-size: 18px;
    }


}
