/* Header */
@media screen and (max-width: 1400px){
    header::before{
        width: 75%;
    }
}

@media screen and (max-width: 1220px){
    header::before{
        height: 75px;
    }

    .logoH img{
        max-width: 190px;
    }

    .itemTopH{
        margin-right: 40px;
    }

    #menu .dl-menu > li > a{
        padding: 12px 15px;
        font-size: 13px;
    }
    #menu .dl-menu > li > a.drop{
        padding: 12px 30px 12px 10px;
    }
    #menu .dl-menu li:hover .dl-subMenu{
        top: 40px;
    }

    .mgTop{
        margin-top: 140px;
    }
}

@media screen and (max-width: 1180px){
    header::before{
        width: 80%;
    }
}

@media screen and (max-width: 1100px){
    header{
        padding: 30px 20px;
    }

    header::before,
    .infoHeader{
        display: none;
    }

    .mgTop{
        margin-top: 112px;
    }
}

/* Header scroll */
@media screen and (max-width: 1100px){
    header.scroll{
        padding: 20px 20px;
    }
    header.scroll .logoH img{
        max-width: 190px;
    }

    body.scroll .mb-menu{
        position: fixed;
        top: 12px;
    }
}


/* Banner */
@media screen and (max-width: 1750px){
    .formB{
        right: 12%;
    }
}

@media screen and (max-width: 1480px){
    .formB{
        right: 6%;
    }
}

@media screen and (max-width: 1450px){
    .bannerDesk img{
        height: 380px;
    }
}

@media screen and (max-width: 1350px){
    .big-t {
        font-size: 40px;
        line-height: 50px;
    }
    .main-t {
        font-size: 35px;
        line-height: 40px;
    }
    .middle-t {
        font-size: 30px;
        line-height: 35px;
    }
    .sub-t {
        font-size: 25px;
        line-height: 30px;
    }
    .small-t {
        font-size: 20px;
        line-height: 25px;
    }

    .formB{
        right: 45px;
    }

    .textoBanner{
        width: 56%;
        padding-left: 45px;
    }
}

@media screen and (max-width: 1230px){
    .bannerDesk img{
        height: 100%;
        object-fit: unset;
    }

    .textoBanner{
        text-align: center;
        width: 100%;
        justify-content: center;
        align-items: center;
        padding: 0 45px;
    }
    .textoBanner p{
        text-align: center;
        font-size: 18px;
        line-height: 23px;
    }
    .textoBanner::before{
        width: 90%;
        left: 5%;
    }

    .formularioBanner{
        padding: 20px 20px;
    }

    .formB{
        top: 0;
        margin-top: 0;
        right: 0;
        width: 100%;
        position: relative;
    }
}

@media screen and (max-width: 900px){
    .big-t {
        font-size: 35px;
        line-height: 40px;
    }
    .main-t {
        font-size: 30px;
        line-height: 35px;
    }
    .middle-t {
        font-size: 25px;
        line-height: 30px;
    }
    .sub-t {
        font-size: 22px;
        line-height: 27px;
    }

    .textoBanner .big-t{
        line-height: 35px;
    }

    .bannerDesk{
        display: none;
    }
    .bannerMobile{
        display: flex;
    }
}

@media screen and (max-width: 550px){
    .big-t {
        font-size: 30px;
        line-height: 35px;
    }
    .main-t {
        font-size: 30px;
        line-height: 35px;
    }

    .textoBanner .big-t{
        line-height: 30px;
    }
}


/* Veículos em destaque */
@media screen and (max-width: 1100px){
    .formFilter{
        width: 100%;
    }

    .gridCarros{
        grid-template-columns: repeat(3,1fr);
    }
}

@media screen and (max-width: 990px){
    .formFilterHome #form_filter select,
    .formFilterHome #form_filter .button{
        width: 33%;
    }
}

@media screen and (max-width: 880px){
    #form_filter select{
        width: 49%;
    }
    #form_filter .button{
        width: 100%;
        margin-bottom: 0;
        margin-top: 10px;
    }

    .formFilterHome #form_filter .inputFirst{
        width: 100%;
    }
    .formFilterHome #form_filter select{
        width: 49%;
    }
    .formFilterHome #form_filter .button{
        width: 100%;
    }

    .gridCarros{
        grid-template-columns: repeat(2,1fr);
    }
}

@media screen and (max-width: 660px){
    .imgItemVeiculo img{
        height: 200px;
    }
}

@media screen and (max-width: 500px){
    .gridCarros{
        grid-template-columns: repeat(1,1fr);
    }
}


/* Banner informativo */
@media screen and (max-width: 1050px){
    .bannerInformativo{
        padding: 60px 20px;
    }

    .leftBannerInfo{
        width: 100%;
        text-align: center;
        margin-bottom: 120px;
    }
    .leftBannerInfo p{
        text-align: center;
    }
    .leftBannerInfo p br{
        display: none;
    }

    .rightBannerInfo{
        width: 100%;
    }
}

@media screen and (max-width: 550px){
    .leftBannerInfo{
        width: 100%;
        text-align: center;
        margin-bottom: 50px;
    }
    .leftBannerInfo::before{
        bottom: -30px;
    }

    .rightBannerInfo{
        grid-template-columns: repeat(1,1fr);
    }
}


/* Footer */
@media screen and (max-width: 1050px){
    footer{
        padding-top: 40px;
    }

    .logoF{
        margin: 0 auto;
    }

    .socialF{
        width: 45%;
        display: flex;
        justify-content: center;
    }

    .contatoF{
        width: 50%;
        margin-top: 30px;
    }

    .copyright{
        margin-top: 40px;
    }
}

@media screen and (max-width: 750px){
    .logoF{
        margin: 0 auto 30px auto;
    }

    .socialF{
        width: 100%;
    }

    .contatoF{
        width: 100%;
        justify-content: center;
    }
    .endF{
        width: 100%;
        flex-direction: column;
        justify-content: center;
    }
    .iconEndF{
        margin-right: 0;
        margin-bottom: 10px;
    }
    .iconEndF2{
        align-self: center;
    }
    .txtEndF,
    .txtEndF p,
    .txtEndF span{
        text-align: center;
    }

    .copyright p{
        width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }
    .copyright p:last-child{
        margin-bottom: 0;
    }
}


/* Sobre */
@media screen and (max-width: 950px){
    .textoSobre{
        width: 100%;
        margin-bottom: 30px;
        padding-bottom: 40px;
    }

    .imgSobre{
        width: 100%;
    }
}

@media screen and (max-width: 550px){
    .textoSobre h2{
        line-height: 30px;
    }
}


/* Veículos detalhes */
@media screen and (max-width: 1100px){
    .leftVeiculosDet{
        width: 100%;
    }

    .rightVeiculosDet{
        width: 100%;
        margin-top: 30px;
    }
}

@media screen and (max-width: 800px){
    .sliderVeiculo a img{
        height: 222px;
    }
    .sliderVeiculo a iframe{
        height: 222px;
    }

    .leftVeiculosDet ul{
        grid-template-columns: repeat(2,1fr);
    }
}

@media screen and (max-width: 650px){
    .gridCaracteristicas{
        grid-template-columns: repeat(2,1fr);
    }

    .leftVeiculosDet ul{
        grid-template-columns: repeat(1,1fr);
    }
}

@media screen and (max-width: 400px){
    .leftVeiculosDet{
        padding: 20px;
    }

    .gridCaracteristicas{
        grid-gap: 15px;
    }

    .formB{
        padding: 20px;
    }
}

@media screen and (max-width: 360px){
    .gridCaracteristicas{
        grid-template-columns: repeat(1,1fr);
    }
}


/* Oficina */
@media screen and (max-width: 950px){
    .gridOficina{
        grid-template-columns: repeat(2,1fr);
    }
}

@media screen and (max-width: 600px){
    .gridOficina{
        grid-template-columns: repeat(1,1fr);
    }
}

@media screen and (max-width: 400px){
    .sobreItemOficina{
        padding: 15px;
    }
}