/* ---------------------------------------------- */
/* ATÉ 1366PX */
/* ---------------------------------------------- */

@media (max-width:1366px) {

    .topo h1{
      margin: 10px 0px 10px 0px;
    }

    .produtos .card-produtos {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-left: 0;
        
    }

    .card-flip {
        width: min(480px, 100%);
    }

    .cardDepo .slick-prev {
        left: 5px;
        z-index: 1;
    }

    .cardDepo .slick-next {
        right: 15px;
    }

}


/*------------------------------------------------- */
/* ATÉ 1200px (NOTEBOOK) */
/* ------------------------------------------------ */

@media (max-width:1200px) {

    .menu ul li a {
        font-size: 20px;
        margin: 0 20px;

    }

    .topo h1 {
        width: 200px;
        height: 129px;
        margin-left: 30px;
        background-size: cover;


    }

    /* TESTE DE BARRA HORIZONTAL */

    .banner {
        display: none;
    }

    .depoimentos .cardDepo h5 {

        font-size: 15px;

    }






    /* --------------------------------- */

    .historia-jho p {
        font-size: 25px;
        margin-left: 15px;
    }

    .historia-jho img {
        box-shadow: none;
        margin-right: 15px;
    }

    .mais {
        text-align: center;
    }



    /* Setas do slide depoimentos */
    .cardDepo .slick-prev {
        left: 30px;
        z-index: 1;
    }

    .cardDepo .slick-next {

        right: 60px;
    }

    .depoimentos .cardDepo p {
        font-size: 15px;

    }

    .depoimentos .cardDepo h5 {
        font-size: 15px;
    }

    .linha-dupla.linha-topo {
        gap: 260px;
    }





}









/* FIM DO MEDIA 1200PX */


/* ----------------------------- */
/* ATÉ 768px (TABLET) */
/* ----------------------------- */
@media not all and (max-width: 768px) {

    .abrir-menu,
    .fechar-menu {
        display: none;
    }
}

@media (max-width:768px) {

    /* INICIO MENU */

     .topo .site {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        justify-content: space-between;
        gap: 0;
        padding-right: 12px;
    }

    .topo h1 {
        width: 180px;
        height: 116px;
        margin-left: 12px;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: left center;
        flex-shrink: 0;
    }

    .abrir-menu {
        display: block;
        background-image: url(../assets/botao_fechado.png);
        background-size: cover;
        background-color: transparent;
        padding: 18px;
        border: 0;
        margin-right: 20px;
        cursor: pointer;
    }

    .fechar-menu {
        display: block;
        background-image: url(../assets/botao_aberto.png);
        background-size: cover;
        background-color: transparent;
        padding: 18px;
        border: 0;
        margin: 10px;
        position: absolute;
        top: 0;
        left: 0;
        cursor: pointer;
    }

    .menu {
        background-color: rgba(20, 20, 20, 0.9);
        height: 100%;
        position: fixed;
        top: 0;
        right: 0;
        width: 60%;
        min-width: 200px;
        max-width: 300px;
        box-sizing: border-box;
        z-index: 10;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: stretch;
        transform: translateX(100%);
        transition: transform 0.4s ease;
    }

    .menu-aberto .menu {
        transform: translateX(0);
    }

    .menu ul {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        gap: 20px;
        margin-top: 100px;
        padding: 0;
        text-align: center;
    }

    .menu ul li a {
        font-size: 18px;
        margin: 0;
    }

    .menu ul li a:hover {
        color: var(--cor-texto);
    }

    .topo .site > .rede-social {
        display: flex !important;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 12px;
        width: 60%;
        min-width: 200px;
        max-width: 300px;
        box-sizing: border-box;
        margin: 0;
        margin-top: 30px;
        padding: 50px 0 10px;
        position: fixed;
        right: 0;
        top: 280px;
        z-index: 11;
        transform: translateX(100%);
        transition: transform 0.4s ease;
    }

    .menu-aberto .topo .site > .rede-social {
        transform: translateX(0);
    }

    .topo .site > .rede-social li,
    .topo .site > .rede-social a {
        width: 40px;
        height: 40px;
    }

    .topo .site > .rede-social li {
        border-radius: 50%;
        overflow: hidden;
    }

    .parallax-padrao {
        width: 100%;
        max-width: 100%;
        background-attachment: scroll;
    }

    .banner {
        display: none;

    }

     .historia-jho > div {
        flex-direction: column-reverse;   /* o p vem primeiro no HTML, então inverte */
        align-items: center;
        padding: 0 16px;
        box-sizing: border-box;
        overflow-x: hidden;
    }

    .historia-jho img {
        width: 100%;
        max-width: 380px;
        margin: 0;
    }

    .historia-jho p {
        width: 100%;
        max-width: 100%;
        margin-top: 30px;
        margin-bottom: 0;
        
    }

    

    .tabela-servicos {
        max-width: 100%;
        width: calc(100% - 32px);
        margin: 30px auto 0;
        box-sizing: border-box;
    }

    .slideGaleria .slick-slide {
    padding: 0 12.5px;
    width: 200px !important;
    height: 200px;
    box-sizing: border-box;
    }

    .slideGaleria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    }

   
    .contato-form {
        width: 100%;
        max-width: 100%;
        margin: 40px auto 0;
        padding: 0 12px 48px;
        box-sizing: border-box;
    }

    .contato-badge {
        min-width: 0;
        width: min(100%, 480px);
        margin: 30px auto 24px;
        padding: 16px 20px;
        box-sizing: border-box;
    }

    .campos-dupla {
        width: 95%;
        max-width: 100%;
        gap: 21px;
        flex-direction: inherit;
    }

    .campos-dupla .linha-dupla div {
        width: 360px;
    }

    .linha-dupla {
        display: grid;
        grid-template-columns: 1fr;
        column-gap: 0;
        row-gap: 12px;
        justify-content: stretch;
    }

    .linha-dupla.linha-topo {
        gap: 12px;
    }



    .linha-dupla>input,
    .linha-dupla>select {
        flex: initial;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .form-contato input,
    .form-contato select {
        font-size: 18px;
        height: 52px;
        padding: 14px 16px;
    }

    .form-contato select {
        padding-right: 44px;
    }

    .botoes-form {
        align-items: center;
    }

    .botoes-form {
        gap: 100px;
    }

    .contato-blocos {
        grid-template-columns: 1fr;
        gap: 26px;
    }



}


/* FIM DO MEDIA 768PX */

/* ---------------------------------- */
/* ATÉ 380px (CELULAR) */
/* ----------------------------------- */




@media (max-width: 380px) {
    .home-page .historia-jho {
        display: none;
    }

    .historia-jho img {
        width: 100%;
        max-width: 230px;
        margin: 0;
    }

    .produtos .flip1 h4 {
        display: none;
    }

    .img-produto {
    border-radius: 10px;
    width: 220px;
    }


    .grade-servicos{
     grid-template-columns: none; 
    }

    .card-flip {
    width: min(360px, 100%);
    
    }



    

   


    .servicos .menu-categorias {
        margin-top: 10px;
    }



     .galeria .cards-galeria {
        padding-top: 30px;
        padding-left: 15px;
        padding-right: 15px;
        gap: 25px;
    }

    .galeria .cards-galeria article {
        width: 100%;
        max-width: 350px;
    }

    .galeria .cards-galeria article img {
        width: 100%;
        height: auto;
        display: block;
        border-radius: 10px;
    }







    .slideGaleria .slick-slide {
    padding: 0 12.5px;
    width: 180px !important;
    height: 200px;
    box-sizing: border-box;
    }

    .slideGaleria img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
    }

    .localizacao .imagem-mapa{
        width: 300px;
    }

     .campos-dupla {
        width: 95%;
        max-width: 100%;
        gap: 21px;
        flex-direction: column;
    }

    

    .contato-form .botoes-form {
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        padding: 0;
        box-sizing: border-box;
    }

    .contato-form .botoes-form button {
        min-width: 0;
        flex: 0 1 calc(50% - 6px);
        max-width: calc(50% - 6px);
        height: 52px;
        padding: 0 8px;
        font-size: 16px;
        white-space: nowrap;
    }


}



