@import url("base.css");

/* Inicio */
.inicio{
    background-image: url('/IMG/imgHOME/header.png');
    background-color: var(--preto);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;

    padding: 40px 20px;
    object-fit: cover;
}

.container-inicio{
    position: relative;
    margin-left: 5%;
    width: 40%;
    height: 500px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

.container-inicio h1{
    font-family: 'Alta', sans-serif;
    font-size: 64px;
    color: var(--branco);
}

.container-inicio p{
    font-family: 'Montserrat',sans-serif;
    font-size: 20px;
    color: var(--branco);
}

.buttons-inicio{
    display: flex;
    gap: 20px;
}

.buttons-inicio button{
    background-color: var(--branco);
    padding: 10px 20px;
    border: solid 3px var(--vermelho);

    color: var(--vermelho);
    font-size: 20px;
    font-family: 'Montserrat',sans-serif;
    font-weight: 500;

    transition: 300ms;
    box-shadow: var(--shadow);
}

.buttons-inicio button:hover{
    background-color: var(--vermelho);
    color: var(--branco);
    transform: scale(1.05);
}

/* Frase 3C 3S */
.frase3{
    padding: 60px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.frase3-img img{
    width: 200px;
}

.frase3-text{
    max-width: 700px;
    display: flex;
    flex-direction: column;
    font-weight: 600;
    font-size: 26px;
    gap: 10px;
    text-align: justify;
}

.frase3-text span{
    color: var(--vermelho);
}

/* Sobre */
.sobre{
    padding: 60px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.sobre-text{
    max-width: 700px;
    display: flex;
    flex-direction: column;
    font-weight: 500;
    font-size: 26px;
    gap: 40px;
}

.sobre-text h1{
    color: var(--vermelho);
}

.sobre-img img{
    width: 300px;
}

/* Nossos Diferencias */
.diferenciais{
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.dif-mobile{
    padding: 60px 20px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.diferenciais h1{
    color: var(--vermelho);
    font-size: 40px;
}

.dif1{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: start;
    gap: 40px;
}

.dif1-img img{
    width: 350px;
    height: 350px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.dif1-text{
    max-width: 600px;
    gap: 40px;
    display: flex;
    flex-direction: column;
}

.dif1-text h1{
    font-size: 32px;
}

.dif1-text p{
    font-size: 24px;
}

.dif2{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: end;
    gap: 40px;
}

.dif2-img img{
    width: 350px;
    height: 350px;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.dif2-text{
    max-width: 600px;
    gap: 40px;
    display: flex;
    flex-direction: column;
}

.dif2-text h1{
    font-size: 32px;
}

.dif2-text p{
    font-size: 24px;
}

/* Serviços */
.serviços{
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.serviços h1{
    color: var(--vermelho);
    font-size: 36px;
}

.container-serviços{
    display: flex;
    gap: 40px;
}

.container-item-serviço{
    background-color: var(--vermelho);
    padding: 5px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.container-item-serviço img{
    width: 100%;
    max-width: 350px;
    height: 390px;
    object-fit: cover;
    border-radius: 5px 5px 0px 0px;
}

.container-item-serviço-text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0px;
    gap: 10px;
}

.container-item-serviço-text h1{
    color: var(--branco);
    border-bottom: solid 1px var(--branco);
    font-size: 26px;
}

.container-item-serviço-text p{
    background-color: var(--branco);
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 20px;
}

/* Estilização da seção de depoimentos */
section#depoimentos-secao {
    position: relative;
    padding: 40px 20px;
    margin: 0 auto;
    background-color: var(--branco);
}

.title-dep h1{
    text-align: center;
    font-family: "Alta", sans-serif;
    font-size: 36px;
    color: var(--vermelho);
}

.title-dep p{
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
    color: var(--preto);
}

/* Estilização dos botôes do carousel */
#depoimentos-secao .carousel-button {
    position: absolute;
    top: calc(50% - 18px);

    cursor: pointer;
    height: 36px;
    width: 36px;
    background-color: rgba(200, 200, 200, .5);
    color: rgba(0, 0, 0, .5);
    font-size: 30px;
    border: none;
    border-radius: 50%;
    transition: all 150ms ease-in-out;
}

#depoimentos-secao .carousel-button:hover {
    top: calc(50% - 20px);
    height: 40px;
    width: 40px;
    background-color: rgba(200, 200, 200, .9);
    color: var(--preto);
    font-size: 35px;
}

/* Posicionamento dos botões do carousel */
#depoimentos-secao #anterior {
    left: 5%;
}

#depoimentos-secao #proximo {
    right: 5%;
}

/* Estilização da div onde estarão os depoimentos*/
#depoimentos {
    margin: 0 auto;
    width: 1000px;
    overflow: hidden;
    display: flex;
    flex-flow: row nowrap;
    gap: 20px;
}

/* Estilização dos cards de depoimento */
.depoimento {
    flex-shrink: none;
    flex-grow: none;
    scroll-behavior: smooth;
    padding: 30px;
    min-height: 360px;
    min-width: 320px;
    border-radius: 25px;
}

/* Colorização dos cards de depoimento */
.depoimento:nth-child(3n + 1) {
    background-color: var(--vermelho);
}

.depoimento:nth-child(3n + 2) {
    background-color: var(--vermelho);
}

.depoimento:nth-child(3n + 3) {
    background-color: var(--vermelho);
}

/* Perfil da pessoa que depôs */
.perfil-depoimento {
    margin-bottom: 31px;
    grid-template-rows: 29px 21px;
    grid-template-columns: 50px 215px;
    column-gap: 15px;
}

/* Imagem da pessoa que depôs */
.imagem-depoimento {
    grid-row: 1 / 3;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: gray;
}

/* Nome da pessoa que depôs */
.nome-depoimento {
    color: var(--branco);
    font-size: 20px;
    font-weight: 600;
    font-family: 'Montserrat',sans-serif;
}

/* Instagram da pessoa que depôs */
.instagram-depoimento {
    color: var(--branco);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Montserrat',sans-serif;
}

/* Texto do depoimento */
.comentario-depoimento {
    color: var(--branco);
    font-size: 16px;
    font-weight: 500;
    font-family: 'Montserrat',sans-serif;

    /* Código para que o texto corte na 8a linha e termine com reticências*/
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Media query para ajustar as propriedades vistas anteriormente para celular*/
@media screen and (max-width: 620px) {
    section#depoimentos-secao {
        padding: 20px 10px 20px 10px;
    }

    #depoimentos-secao button#anterior {
        width: 50px;
        height: 50px;
        left: 0;
    }

    #depoimentos-secao button#proximo {
        width: 50px;
        height: 50px;
        right: 0;
    }

    #depoimentos-secao div#depoimentos {
        max-width: 300px;
        gap: 57.5px;
    }

    .depoimento {
        min-width: 100%;
        max-width: 300px
    }
}

/* Media query para ajustar as propriedades vistas anteriormente para telas intermediárias*/
@media screen and (min-width: 621px) and (max-width: 750px) {
    #depoimentos-secao {
        min-width: 600px;
        padding: 0;
    }

    #depoimentos {
        width: 500px;
    }

    .depoimento {
        min-width: 250px;
        max-width: 250px;
    }

    .nome-depoimento {
        font-size: 16px;
    }
}

/* Media query para ajustar as propriedades vistas anteriormente para tablets*/
@media screen and (min-width: 751px) and (max-width: 1100px) {
    section#depoimentos-secao {
        padding: 50px 0;
        min-width: 72px;
    }

    #depoimentos-secao button#anterior {
        left: 0;
    }

    #depoimentos-secao button#proximo {
        right: 0;
    }

    #depoimentos {
        min-width: 700px;
        max-width: 700px;
        gap: 20px;
    }

    .perfil-depoimento {
        grid-template-rows: 17px 16px;
        gap: 7px;
    }

    .depoimento {
        min-width: 220px;
        max-width: 220px;
    }

    .nome-depoimento {
        font-size: 15px;
    }
}

/* Contato */
.contato{
    padding: 60px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;

    scroll-margin-top: 80px; /* Faz com que o form não fique grudado com a parte de cima do site ao clicar no link interno que fica na nav (btn Solicitar Orçamento) */
}



.contato-text{
    width: 400px;
}

.contato-text h1{
    color: var(--vermelho);
    font-size: 36px;
}

.contato-text p{
    font-size: 24px;
}

.contato-text span{
    font-weight: bold;
}

.formulario{
    background-color: var(--vermelho);
    box-shadow: var(--shadow);
}

.formulario form{
    display:  flex;
    flex-direction: column;
    color: var(--branco);
    padding: 30px;
    gap: 20px;
    width: 500px;
}

.formulario-input input{
    background-color: var(--branco);
    padding: 15px;
    border: none;
}

.formulario-input{
    display: flex;
    flex-direction: column;
}

/* Mensagem aparece se todos os campos não forem preenchidos */
#form-mensagemErro{
    display: none;
    text-align: center;
    font-weight: bold;
    letter-spacing: 1px;
    border-radius: 5px;
    padding: 5px 10px;
    color: var(--preto);
    background-color: var(--amarelo);
    margin: 10px 0;
}

.formulario button{
    background-color: var(--vermelho);
    padding: 10px 40px;
    border: solid 3px var(--branco);

    color: var(--branco);
    font-size: 20px;
    font-family: 'Montserrat',sans-serif;
    font-weight: 500;

    transition: 300ms;
    box-shadow: var(--shadow);
}

.form-button{
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer */
footer{
    padding: 30px 110px 30px 110px;
    color: var(--branco);
    background-color: var(--vermelho);
}

/* Parte de Cima */
section.parteDeCima{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 50px;
}

/* Logo + Informaçõe */
div.footer-containerInfo{
    display: flex;
    gap: 90px;
}

/* Logo do footer */
img.footer-img{
    width: 310px;
    height: 70px;
    margin-bottom: 20px;
}

/* Localização, Whatsapp e Localização */
div.footer-infos{
    width: fit-content;
    gap: 5px;
}

i.info-icon{
    font-size: 20px;
}

div.footer-infos span{
    font-size: 20px;
    font-weight: bold;
    font-family: var(--lora);
}

/* Informação */
div.footer-infos p{
    margin-top: 10px;
    font-size: 20px;
    font-weight: 200;
    font-family: var(--lora);
}

/* Link da localização */
div.footer-infos a{
    color: var(--branco);
}

div.footer-infos a:hover{
    text-decoration: underline;
}

/* Linha divisória */
div.footer-linhaDivisoria{
    height: 1px;
    width: 100%;
    margin: 50px 0 25px 0;
    background-color: var(--branco);
}

/* Parte de baixo */
section.parteDeBaixo{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

section.parteDeBaixo p, a{
    font-size: 15px;
}

section.parteDeBaixo a{
    color: var(--branco);
}

section.parteDeBaixo a:hover{
    text-decoration: underline;
}

section.parteDeBaixo > div{
    display: flex;
    gap: 20px;
}

section.parteDeBaixo i{
    font-size: 25px;
}

section.parteDeBaixo i:hover{
    transition: 300ms;
    color: var(--azul-pastel);
}



/* Media Query */
@media screen and (max-width: 389px) {
    .container-inicio{
        margin-left: 0%;
        width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .container-inicio h1{
        font-size: 40px;
    }
    
    .container-inicio p{
        font-size: 16px;
    }         
    
    .frase3{
        gap: 0;
    }

    .frase3-img img{
        width: 200px;
        display: none;
    }

    .frase3-text{
        font-size: 20px;
        gap: 20px;
        text-align: center;
        letter-spacing: 1.5px;
    }

    .sobre{
        gap: 0;
        text-align: center;
    }

    .sobre-text{
        gap: 20px;
    }

    .buttons-inicio{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sobre-img img{
        display: none;
    }

    .invisible{
        display: none;
    }

    .diferenciais{
        gap: 20px;
    }

    .dif1-text{
        gap: 10px;
    }

    .desktop{
        display: none;
    }

    .dif-mobile{
        display: flex;
        padding: 40px 20px;
    }

    .formulario{
        width: 100%;
    }

    .formulario form{
        width: 100%;
    }

    .dif1-img img{
        width: 100%;
    }

    .dif1-text{
        width: 100%;
    }

    /* Footer */
    footer{
        padding: 30px 20px;
    }

    /* Logo do footer */
    img.footer-img{
        width: 200px;
        height: 50px;
    }
    
    /* Logo + Informaçõe */
    div.footer-containerInfo{
        width: 100%;
        gap: 40px;
        flex-direction: column;
    }

    /* Acessando a div que envolve Localização */
    div.footer-containerInfo div.footer-infos:nth-child(2){
        order: 3;
    }

    /* Parte de baixo */
    section.parteDeBaixo{
        flex-direction: column-reverse;
        gap: 20px;
    }

    section.parteDeBaixo p{
        text-align: center;
    }

    /* Container do ícones do Instagram e do Facebook */
    section.parteDeBaixo > div{
        display: flex;
        gap: 50px;
    }

    /* Ícones do Instagram e do Facebook */
    section.parteDeBaixo i{
        font-size: 35px;
    }
}

@media only screen and (min-width: 390px) and  (max-width: 458px) {
    .container-inicio{
        margin-left: 0%;
        width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .container-inicio h1{
        font-size: 40px;
    }
    
    .container-inicio p{
        font-size: 16px;
    }

    .frase3{
        gap: 0;
    }

    .frase3-img img{
        width: 200px;
        display: none;
    }

    .frase3-text{
        font-size: 20px;
        gap: 20px;
        text-align: center;
        letter-spacing: 1.5px;
    }

    .sobre{
        gap: 0;
        text-align: center;
    }

    .sobre-text{
        gap: 20px;
    }

    .buttons-inicio{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sobre-img img{
        display: none;
    }

    .invisible{
        display: none;
    }

    .diferenciais{
        gap: 20px;
    }

    .dif1-text{
        gap: 10px;
    }

    .desktop{
        display: none;
    }

    .dif-mobile{
        display: flex;
    }

    .formulario{
        width: 100%;
    }

    .formulario form{
        width: 100%;
    }
    
    /* Footer */
    footer{
        padding: 30px 20px;
    }

    /* Logo do footer */
    img.footer-img{
        width: 220px;
        height: 50px;
    }
    
    /* Logo + Informaçõe */
    div.footer-containerInfo{
        width: 100%;
        gap: 40px;
        flex-direction: column;
    }

    /* Acessando a div que envolve Localização */
    div.footer-containerInfo div.footer-infos:nth-child(2){
        order: 3;
    }

    /* Acessando a tag p de Localização */
    div.footer-infos:nth-child(2) p{
        width: 100%;
    }

    /* Remove a quebra de linha causado pela tag <br> */
    br{
        display: none;
    }

    /* Parte de baixo */
    section.parteDeBaixo{
        flex-direction: column-reverse;
        gap: 20px;
    }

    section.parteDeBaixo p{
        text-align: center;
    }

    /* Container do ícones do Instagram e do Facebook */
    section.parteDeBaixo > div{
        display: flex;
        gap: 50px;
    }

    /* Ícones do Instagram e do Facebook */
    section.parteDeBaixo i{
        font-size: 35px;
    }
}

@media only screen and (min-width: 459px) and (max-width: 598px) {
    .container-inicio{
        margin-left: 0%;
        width: 100%;
        align-items: center;
        text-align: center;
    }
    
    .container-inicio h1{
        font-size: 40px;
    }
    
    .container-inicio p{
        font-size: 16px;
    }

    .frase3{
        gap: 0;
    }

    .frase3-img img{
        width: 200px;
        display: none;
    }

    .frase3-text{
        font-size: 20px;
        gap: 10px;
        text-align: left;
        letter-spacing: 1.5px;
    }

    .sobre{
        gap: 0;
        text-align: center;
    }

    .sobre-text{
        gap: 20px;
    }

    .buttons-inicio{
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sobre-img img{
        display: none;
    }

    .invisible{
        display: none;
    }

    .diferenciais{
        gap: 20px;
    }

    .dif1-text{
        gap: 10px;
    }

    .desktop{
        display: none;
    }

    .dif-mobile{
        display: flex;
    }

    .formulario{
        width: 100%;
    }

    .formulario form{
        width: 100%;
    }
    
    /* Footer */
    footer{
        padding: 30px 40px;
    }
    
    /* Logo + Informaçõe */
    div.footer-containerInfo{
        width: 100%;
        gap: 40px;
        flex-direction: column;
    }

    /* Acessando a div que envolve Localização */
    div.footer-containerInfo div.footer-infos:nth-child(2){
        order: 3;
    }

    /* Acessando a tag de Localização */
    div.footer-infos:nth-child(2) p{
        width: 100%;
    }

    /* Remove a quebra de linha causado pela tag <br> */
    br{
        display: none;
    }

    /* Parte de baixo */
    section.parteDeBaixo{
        flex-direction: column-reverse;
        gap: 20px;
    }

    section.parteDeBaixo p{
        text-align: center;
    }
}

@media only screen and (min-width: 599px) and (max-width: 798px) {
    .container-inicio{
        width: 80%;
    }

    .frase3{
        gap: 0;
    }

    .frase3-img img{
        width: 200px;
        display: none;
    }

    .frase3-text{
        font-size: 20px;
        gap: 10px;
    }

    .sobre-img img{
        width: 200px;
    }

    .invisible{
        display: none;
    }

    .dif1{
        flex-direction: column;
    }

    .dif2{
        flex-direction: column;
    }

    
    /* Footer */
    footer{
        padding: 30px 50px;
    }
    
    /* Logo + Informaçõe */
    div.footer-containerInfo{
        gap: 40px;
        flex-wrap: wrap-reverse; 
        justify-content: space-between;
    }

    /* Acessando a div que envolve Localização */
    div.footer-containerInfo div.footer-infos:nth-child(2){
        order: 1;
    }

    /* Acessando a tag p de Localização */
    div.footer-infos:nth-child(2) p{
        width: 100%;
    }

    /* Remove a quebra de linha causado pela tag <br> */
    br{
        display: none;
    }

    /* Parte de baixo */
    section.parteDeBaixo{
        flex-direction: column-reverse;
        gap: 20px;
    }
}

@media only screen and (min-width: 799px) and (max-width: 940px){
    .container-inicio{
        width: 60%;
    }

    .frase3-text{
        text-align: left;
        letter-spacing: 1.5px;
    }

    .sobre-img img{
        width: 200px;
    }

    .container-item-serviço-text h1{
        font-size: 18px;
    }

    .container-item-serviço-text p{
        font-size: 16px;
    }
    
    /* Footer */
    footer{
        padding: 30px 50px;
    }

    /* Logo + Informaçõe */
    div.footer-containerInfo{
        gap: 40px;
    }
}

/* Exclusivo pro footer */
@media only screen and (min-width: 941px) and (max-width: 1005px){
    .container-inicio{
        width: 50%;
    }

    .container-item-serviço-text h1{
        font-size: 18px;
    }

    .container-item-serviço-text p{
        font-size: 16px;
    }

    /* Footer */
    footer{
        padding: 30px 50px;
    }
}