/* *** CAPA DA PÁGINA *** */

.capa {
    height: calc(100vh - 80px);
    background-color: lightslategray;
    display: flex;
    align-items: center;
    color: white;
    background: url('../images/capa3.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
}
.capa #div {
    flex: 1;
}
.sub-capa {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: linear-gradient(to right, rgb(0, 0, 0, 0.7) 30%, rgb(0, 0, 0, 0.5) 60%, rgb(0, 0, 0, 0.3) 90%, transparent);
    flex: 1;
    height: 100%;
    justify-content: center;
}
#capa-titulo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 90px;
}
#capa-titulo #titulo {
    font-size: 60px;
}
#capa-titulo #subtitulo {
    font-size: 40px;
}
.sub-capa p {
    font-size: 20px;
    text-align: center;
}
.margem {
    text-indent: 20px;
    padding: 20px 30px;
}
.texto {
    font-family: "Maven Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    text-indent: 20px;
}

/* *** TÍTULOS E SUBTÍTULOS *** */
.subprincipal {
    font-size: 20px;
    color: #b1931a;
}
.titulo-principal {
    font-size: 30px;
    color: rgb(6, 6, 72);
    width: 60%;
    text-align: center;
}
.logo-titulo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-titulo div {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.logo-borda {
    border-top: 1px solid #CBAD37;
    width: 50px;
    margin: 0 15px;
}
.logo-balanca {
    background: url('../images/torre.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
    width: 40px;
    height: 40px;
}



/* *** BOAS VINDAS *** */
.boas-vindas {
    height: 95vh;
    padding: 0 15vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10vh;
}
.boas-vindas #descricao1 {
    font-size: 20px;
    color: rgb(178, 131, 12);
    text-indent: 25px;
}
.boas-vindas #descricao2 {
    font-size: 20px;
    text-indent: 25px;
}


/* *** ESTATÍSTICAS *** */
.estatisticas {
    display: flex;
    height: 30vh;
    background-color: #F1EFEF;
    margin: 10vh 0;
    padding: 5vh 0;
}
.estatisticas div {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.estatisticas div .logo {
    width: 80px;
    height: 80px;
    background-position: center;
    background-repeat: no-repeat !important;
    background-size: contain;
    margin-left: 15px;
}
.estatisticas div .numero {
    font-size: 50px;
    font-weight: bolder;
    color: #b1931a;
}
.estatisticas div .descricao {
    font-size: 18px;
    font-weight: bolder;
    color: lightslategray;
    margin-top: -20px;
}
#happy-clients {
    background: url('../images/happy-clients.png');
}
#caso-fechado {
    background: url('../images/caso-fechado.png');
}
#caso-sucesso {
    background: url('../images/caso-sucesso.png');
}
#experiencia {
    background: url('../images/experiencia.png');
}

/* *** AREAS E SERVIÇOS *** */
.servicos {
    height: max-content;
    padding: 0 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 10vh;
}
.especialidades-area {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.especialidade {
    width: 300px;
    height: 300px;
    border: 1px solid #F1EFEF;
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}
.especialidade:hover {
    background-color: rgb(6, 6, 72);
    transition: 0.4s all ease-in;
    color: white;
}
.especialidade-logo {
    width: 100px;
    height: 100px;
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
}
.especialidade-titulo {
    font-size: 20px;
}
.especialidade-descricao {
    font-size: 17px;
    color: #9a9292;
}

#trabalhista {
    background: url('../images/trabalhadores.png');
}
#previdenciario {
    background: url('../images/aposentadoria.png');
}
#alimentos {
    background: url('../images/alimentos.png');
}
#inventario {
    background: url('../images/inventario.png');
}
#transito {
    background: url('../images/transito.png');
}
#defesa {
    background: url('../images/defesa.png');
}

/* *** DEPOIMENTOS *** */

.depoimentos {
    height: 100vh;
    padding: 0 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 15vh;
    background: url('../images/fundo2.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
}
.testemunhos {
    width: max-content;
    height: 300px;
    display: flex;
    gap: 25px;
}
.caixa-relato {
    width: 350px;
    height: 300px;
    background-color: white;
    display: flex;
    flex-direction: column;
    padding: 25px;
}
.relato-img {
    width: 180px;
    height: 80px;
    z-index: 999;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
#estrelas4 {
    background: url('../images/4estrelas.png');
}
#estrelas5 {
    background: url('../images/5estrelas.png');
}
.relato-texto {
    height: 150px;
    color: #9a9292;
    font-size: 1.2em;
    overflow: hidden;
    position: relative;
    line-height: 1.3em;
    margin-right: -1em;
    padding-right: 1em;
    text-overflow: ellipsis;
    padding: 10px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-top: -1.3em;
    text-indent: 45px;
}
.relato-autor {
    height: 80px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.relato-autor .nome {
    font-size: 22px;
    color: rgb(6, 6, 72);
}
.relato-autor .profissao {
    font-size: 18px;
    color: #aaaaaa;
}



/* *** LOCALIZAÇÃO *** */

.localizacao {
    height: 100vh;
    padding: 10vh 0;
    display: flex;
}
#localizacao-infos {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 30px;
}
#localizacao-mapa {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: auto;
}
.localizacao div #subprincipal {
    font-size: 20px;
    color: #b1931a;
}
.localizacao div #titulo-principal {
    font-size: 2em;
    color: rgb(6, 6, 72);
    width: 60%;
}
.localizacao div #logo-titulo {
    display: flex;
    flex-direction: row;
    align-items: center;
}
#localizacao-infos p {
    font-size: 1.1em;
    text-indent: 25px;
}
.infos {
    display: flex;
    gap: 10px;
    align-items: center;
}
.infos-logo {
    
    width: 30px;
    height: 30px;
}
.infos-dados {
    font-size: 1.2em;
}
#tel {
    background: url('../images/tel.png');
}
#email {
    background: url('../images/email.png');
}
#local {
    background: url('../images/local.png');
}
#mapa {
    background: url('../images/mapasp.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size:contain;
    width: 100%;
    height: 100%;
}

/* *** BLOG *** */

.blog_area {
    height: 100vh;
    padding: 0 5vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 15vh 0;
    background-color: #F1EFEF;
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
}
.blogs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}
.blog {
    min-width: 350px;
    min-height: 400px;
    width: 25vw;
    height: 70vh;
    background-color: rgb(249, 246, 246);
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 5px 5px 10px #aaaaaa;
}
.blog-capa {
    width: 100%;
    height: 45%;
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
}
#divorcio {
    background: url('../images/divorcio.png');
}
#direito-trabalhista {
    background: url('../images/ctps.png');
}
#gratuita {
    background: url('../images/justiçagratuita.png');
}
.blog-titulo--area {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
}
.blog-titulo {
    width: 90%;
    font-size: 1.2em;
    text-transform: uppercase;
    overflow: hidden;
    position: relative;
    line-height: 1.2em;
    margin-right: -1em;
    padding-right: 1em;
    white-space: wrap;
                      
    font-family: "Maven Pro", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
}

.blog-data {
    font-size: 16px;
}
.blog-descricao {
    width: 90%;
    font-size: 1.1em;
    overflow: hidden;
    position: relative;
    line-height: 1.2em;
    margin-right: -1em;
    padding-right: 1em;
    text-overflow: ellipsis;
    padding: 10px;
    height: 4em;
    display: -webkit-box;
    -webkit-line-clamp: 4; /* Número máximo de linhas */
    -webkit-box-orient: vertical;

}
.blog-botao {
    display: inline-block;
    background-color: rgb(6, 6, 72);
    padding: 10px 20px;
    font-size: 14px;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    max-width: 100px;
    margin: 12px;
}


@media only screen and (max-width:1050px) {
     /* *** CAPA DA PÁGINA *** */

     .capa {
        height: 50vh;
        background-color: lightslategray;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        color: white;
        background: url('../images/capa3.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size:cover;
    }
    .capa #div {
        display: none;
    }
    .sub-capa {
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex: auto;
        height: 30%;
        justify-content: center;
        align-items: center;
        background: linear-gradient(to top, rgb(0, 0, 0, 0.7) 60%, rgb(0, 0, 0, 0.5) 75%, rgb(0, 0, 0, 0.3) 90%, transparent);
    }
}

@media only screen and (max-width:768px) {

    /* *** CAPA DA PÁGINA *** */

    .capa {
        height: 50vh;
        background-color: lightslategray;
        display: flex;
        flex-direction: column-reverse;
        align-items: center;
        color: white;
        background: url('../images/capa3.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size:cover;
    }
    .capa #div {
        display: none;
    }
    .sub-capa {
        display: flex;
        flex-direction: column;
        gap: 2px;
        flex: auto;
        height: 30%;
        justify-content: center;
        align-items: center;
        background: linear-gradient(to top, rgb(0, 0, 0, 0.7) 60%, rgb(0, 0, 0, 0.5) 75%, rgb(0, 0, 0, 0.3) 90%, transparent);
    }
    #capa-titulo {
        display: none;
        flex-direction: column;
        align-items: center;
        justify-content: initial;
        height: 45%;
    }
    #capa-titulo #titulo {
        font-size: 40px;
    }
    #capa-titulo #subtitulo {
        font-size: 30px;
    }
    .sub-capa p {
        font-size: 18px;
        text-align: center;
    }
    .margem {
        text-indent: 20px;
        padding: 5px 20px;
    }
    .texto {
        font-family: "Maven Pro", sans-serif;
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        text-indent: 0px;
    }

    /* *** BOAS VINDAS *** */
    .boas-vindas {
        height: 95vh;
        padding: 5vh 20px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        margin-top: 0;
    }
    .boas-vindas #descricao1 {
        font-size: 18px;
    }
    .boas-vindas #descricao2 {
        font-size: 18px;
    }


    /* *** ESTATÍSTICAS *** */
    .estatisticas {
        height: 30vh;
        margin: 5vh 0;
        padding: 5vh 0;
    }
    .estatisticas div {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .estatisticas div .logo {
        width: 80px;
        height: 80px;
        margin-left: 15px;
    }
    .estatisticas div .numero {
        font-size: 35px;
    }
    .estatisticas div .descricao {
        font-size: 15px;
        margin-top: -20px;
        text-align: center;
    }

    /* *** AREAS E SERVIÇOS *** */
    .servicos {
        padding: 0 5vw;
        gap: 15px;
        margin-top: 10vh;
    }
    .especialidades-area {
        gap: 20px;
    }
    .especialidade {
        width: 300px;
        height: 300px;
        padding: 25px;
        gap: 15px;
    }
    .especialidade:hover {
        background-color: rgb(6, 6, 72);
        transition: 0.4s all ease-in;
        color: white;
    }
    .especialidade-logo {
        width: 100px;
        height: 100px;
        background-position: center;
        background-repeat: no-repeat;
        background-size:cover;
    }
    .especialidade-titulo {
        font-size: 20px;
    }
    .especialidade-descricao {
        font-size: 15px;
        color: #9a9292;
    }
    /* *** DEPOIMENTOS *** */

    .depoimentos {
        height: max-content;
        padding: 30px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-top: 15vh;
        background-size:cover;
    }
    .testemunhos {
        width: max-content;
        height: 1200px;
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    .caixa-relato {
        width: 350px;
        height: 300px;
        background-color: white;
        display: flex;
        flex-direction: column;
        padding: 25px;
    }
    .relato-img {
        width: 180px;
        height: 80px;
    }


    /* *** LOCALIZAÇÃO *** */

    .localizacao {
        flex-direction: column;
    }
    .localizacao div #subprincipal {
        font-size: 20px;
        color: #b1931a;
    }
    .localizacao div #titulo-principal {
        font-size: 2em;
        color: rgb(6, 6, 72);
        width: 90%;
    }

    #mapa {
        background: url('../images/mapasp.png');
        background-position: center;
        background-repeat: no-repeat;
        background-size:contain;
        width: 100%;
        height: 100%;
    }

    /* *** BLOG *** */

    .blog_area {
        height: max-content;
        padding: 5vh 5vw;
    }
    .blogs {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }
    .blog {
        min-width: 350px;
        min-height: 400px;
        width: 25vw;
        height: 70vh;
    }

    .blog-titulo {
        width: 90%;
        font-size: 1.1em;
    }

    .blog-data {
        font-size: 16px;
    }
    .blog-descricao {
        width: 90%;
        font-size: 1.1em;
        overflow: hidden;
        position: relative;
        line-height: 1.2em;
        margin-right: -1em;
        padding-right: 1em;
        text-overflow: ellipsis;
        padding: 10px;
        height: 4em;
        display: -webkit-box;
        -webkit-line-clamp: 4; /* Número máximo de linhas */
        -webkit-box-orient: vertical;

    }
    .blog-botao {
        display: inline-block;
        background-color: rgb(6, 6, 72);
        padding: 10px 20px;
        font-size: 14px;
        color: white;
        border-radius: 5px;
        cursor: pointer;
        max-width: 100px;
        margin: 12px;
    }

}

@media only screen and (max-width:550px) {
    /* *** BOAS VINDAS *** */
    .boas-vindas {
        margin-top: 5vh;
    }

    .estatisticas div .numero {
        font-size: 30px;
        font-weight: bolder;
        color: #b1931a;
    }
}
