@media screen and (max-width: 1353px) {

    .slides {
        width: 100%; 
        height: 600px;
        overflow: hidden;
      }
.quem-sou figure

    .principal .texto-principal h1 {
        font-size: 28px;
    }
    
    .principal .texto-principal span {
        font-size: 22px;
    }

    #prevBtn, #nextBtn {
        top: 550px;
        position: absolute;
        
      }
    
}



@media screen and (max-width: 1040px) {
    .hamburger {
        display: block;
        z-index: 3;
        position: absolute;
        right: 20px;
    }

    .nav-list {
        position: fixed;
        padding: 30px;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: black;
        clip-path: circle(0px at 90% 0%);
        backdrop-filter: blur(30px);
        transition: 1s ease-out;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        gap: 0;
        pointer-events: none;
        z-index: 2;
    }

    

    .nav-list a {
        font-size: 24px;
        opacity: 0;
    }

    .nav-list a:hover {
        color: none;
        background-color: transparent;
    }

    .nav-list li:nth-child(1) a {
        transition: 0.5s 0.2s;
    }

    .nav-list li:nth-child(2) a {
        transition: 0.5s 0.4s;
    }

    .nav-list li:nth-child(3) a {
        transition: 0.5s 0.6s;
    }

    .nav.active .nav-list {
        clip-path: circle(1500px at 90% -15%);
        pointer-events: all;
    }

    nav.active .nav-list a {
        opacity: 1;
    }

    .nav.active .hamburger {
        position: fixed;
        top: 26px;
        right: 16px;
        border-top-color: transparent;
    }

    .nav.active .hamburger::before {
        transform: rotate(135deg);
    }

    .nav.active .hamburger::after {
        transform: rotate(-135deg);
        top: -7px;
    }
    
    .social i {
        padding-left: 35px;
    }



    .slides {
        width: 100%; 
        height: 400px;
        overflow: hidden;
      }


    .slides img {
        width: 100%;
        height: 400px;
      }

      .principal .texto-principal {
        position: absolute;
        top: 25%;    
        
    }


    .principal .texto-principal h1 {
        font-size: 22px;
    }
    
    .principal .texto-principal span {
        font-size: 22px;
    }

    #prevBtn, #nextBtn {
        top: 350px;
        position: absolute;
      }


    
    .especialidades-esquerda {
        width: 40%;      
    }

    .especialidades-direita {
        width: 40%;
    }
    

    .contatos-formulario {
        display: flex;
        flex-direction: column;
        padding: 0;
    }


    .contatos-formulario form input, .contatos-formulario form textarea {
        width: 100%;
    }


    .endereco-mapa {
        margin-top: 30px;
    }


    .endereco-mapa map iframe {
        width: 100%;
    }

    .endereco {
        display: flex;
        justify-content: space-between;
    }

    .endereco img {
        width: 200px;
    }

    .endereco-texto h2 {
        font-size: 18px;
    }

    .endereco-texto h3 {
        font-size: 16px;
    }
    
}



@media screen and (max-width: 949px) {    
    
/* *************** MENU *************** */


    .navegacao a img {
        height: 50px;
    }

    .navegacao figure figcaption {
        font-size: 12px;
        letter-spacing: 2px;
        margin-top: 5px;
    }


    /* FOTO ZOOM */
    
    .lightbox img {
        width: 100%;
        height: 500px;
        position: relative;
        top: -50px;
    }
    
    .close-button {
        position: absolute;
        top: -12px;
        font-size: 60px;
    }

    .prev-button, .next-button {
        position: absolute;
        top: 650px;
        color: white;
        font-size: 40px;
    }



    /* FIM FOTO ZOOM */


}




@media screen and (max-width: 892px) {

    /* .quem-sou figure {
        width: 0%;       
    } */
    
    
    .quem-sou figure img {
        width: 100%;
        height: 300px;
        position: relative;
    }

    .quem-sou figure figcaption {
        position: relative;
        background-color: #d29054;
        padding: 20px 180px;
        margin-top: -7px;
        /* z-index: 2; */
        color: white;
        font-size: 20px;
        font-family: "Lugrasimo", cursive;
        font-weight: 500;
        font-style: normal;
    
        transition: ease-in-out;
    }

    .advogado-informacao h1 {
        position: relative;
        top: 25px;
    }

    .advogado-informacao-conteudo {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
    }

    .advogado-fotos {
        text-align: center;
        padding-bottom: 30px;
    }

    .advogado-texto {
        width: 100%;
    }


    .video-geral {
        gap: 30px;
    }

    .videos-info video {
        width: 90%;
    }

    .advogado-informacao { 
        padding: 0;
    }

    .advogado-texto {
        width: 100%;
    }


}


@media screen and (max-width: 852px) {
    

    .principal .texto-principal {
        top: 160px;
        width: 95%;
    }

    .principal .texto-principal h1 {
        font-size: 23px;
    }
    
    .principal .texto-principal p {
        font-size: 16px;
    }


    #prevBtn {
        left: 40%;
      }
    
    
      #nextBtn {
        right: 40%;
      }


    .quem-sou {
        flex-direction: column;
        padding: 120px 0 40px;
    }


    .quem-sou-texto {
        max-width: 80%;
        padding: 0;
    }

    .quem-sou-texto h1 {
        text-align: center;    
    }

    .quem-sou figure {
        text-align: center;
    }


    .quem-sou figure img {
        border: 1px solid #ccc;
        padding: 10px;
        width: 70%;
    }


    .quem-sou figure figcaption {
        font-size: 16px;
        padding: 12px;
    }

    .quem-sou-texto {
        width: 85%;
        padding: 12px;
    }


    .quem-sou-texto h1 {
        font-size: 24px;
    }


    .advocacia-criminal {
        display: flex;
        flex-direction: column;
    }


    .parecer-juridico-geral {
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        gap: 30px;
    }

    .parecer-juridico-texto {
        width: 90%;
    }

    .endereco {
        flex-direction: column;  
        gap: 20px;   
        padding: 60px;  
    }
    

    .endereco img {
        width: 200px;
    }


    .endereco-texto h2 {
        font-size: 14px;
        letter-spacing: 4px;
    }

    
    .endereco-texto h3 {
        font-size: 12px;
        letter-spacing: 3px;
    }

    
    .endereco-texto span {
        font-size: 12px;
    }



    .rodape {
        padding: 35px;
    }

    .rodape p {
        font-size: 12px;        
    }
    

}


@media screen and (max-width: 696px) {
    .fotos-informacao figure {
        width: 120px;
    }


    .fotos-informacao figure img {
        width: 90%;
    }
}




@media screen and (max-width: 550px) {

    .especialidades-texto {
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .especialidades-esquerda, .especialidades-direita {
        width: 100%;
    }

    .especialidades-esquerda {
        padding-bottom: 40px;
    }

    .advogado-fotos img {
        width: 250px;
        height: 250px;
    }

}