@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Rajdhani:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*{
    margin: 0;
    padding: 0;
}

html{
    background-color: #c1cabe;
}

nav{
    display: none;
}

header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    font-family: "Rajdhani", sans-serif;
    color: #E7F2E4;
    background-color: #626F47;
}

.textoSobre{
    background-image: url("./Imagens/imagemSobreMobile.png");
    background-size: cover;
    background-position: center;
    max-width: 100%;
    height: 80vh;
    color: #f4f1e6 ;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.textoSobre h1{
    font-size: clamp(2.0em, 3vw, 3em);
}

.texto{
    font-family: "Rajdhani", sans-serif;
    backdrop-filter: blur(2px);
    padding: 25px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 1.5px;
    font-size: clamp(1em, 3vw, 1.4em);
}

.servicos h1{
    font-size: 1.7em;
    display: flex;
    justify-content: center;
    margin-top: 25px;
    font-family: "Bungee", sans-serif;
    font-weight: 100;
    color: #626F47;
    font-size: clamp(1.2em, 6vw, 2em);
}

.servicos .cards{
    margin: 25px 25px;
    gap: 25px;
    display: grid;
    grid-template-columns: 1fr;
}

.servicos .card{
    background-color: white;
    border-radius: 10px;
    box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.336);
    padding: 15px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.servicos .card .imagemCard{
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
}

.servicos .card .imagemCard img{
    border-radius: 10px;
    width: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.servicos .card .imagemCard img:hover{
    transform: scale(1.1);
}

.servicos .card h3{
    color: #626F47;
    font-family: "Bungee", sans-serif;
    font-weight: 100;
    margin-top: 10px;
    font-size: clamp(0.7em, 4vw, 1.3em);
}

.servicos .card p{
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    margin-top: 5px;
    margin-bottom: 20px;
    color: #626F47;
    font-size: clamp(0.5em, 3.6vw, 1em);
}

.servicos .card .distanciaBotaoTexto{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    
}

.servicos .card button{
    border: 0;
    background-color: #626F47;
    padding: 10px;
    border-radius: 10px;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: 500;
    width: 100%;
    font-size: clamp(0.5em, 3.6vw, 0.9em);
    cursor: pointer;
    border: 1px solid #626F47;
    transition: all 0.6s ease;
}

.servicos .card button:hover{
    background-color: white;
    color: #626F47;
}

footer{
    background-color: #626F47;
    padding: 30px 20px;
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr auto;
    gap: 10px;
    color: #f4f1e6;
    grid-template-areas: 
    "contato endereco"
    "redes direitos"
    "logo logo";
    line-height: 1.5;
}

footer .logoFooter h2{
    font-family: "Rajdhani", sans-serif;
    color: #f4f1e6;
    font-size: 2em;
}
footer h3{
    margin-bottom: 2px;
}

footer .contato{
    font-family: "Montserrat", sans-serif;
    font-size: 0.9em;
    grid-area: contato;
    color: #f4f1e6;
}

footer .endereco{
    font-family: "Montserrat", sans-serif;
    font-size: 0.9em;
    grid-area: endereco;
}

footer .direitosAutorais{
    font-family: "Montserrat", sans-serif;
    font-size: 0.9em;
    grid-area: direitos;
}

footer .redesSociais{
    font-family: "Montserrat", sans-serif;
    font-size: 0.9em;
    grid-area: redes;
}

footer span{
    font-weight: 600;
}

footer .logoFooter{
    display: flex;
    justify-content: center;
    grid-area: logo;
}

@media (min-width: 600px) {
    footer{
        text-align: center;
    }   
}

/* Tablet */
@media (min-width: 768px){
    .container-hamburguer{
        display: none;
    }

    nav{
        display: flex;
    }
    nav ul{
        display: flex;
        flex-direction: row;
        width: auto;
        list-style-type: none;
        gap: 25px;
        font-weight: 600;
    }

    nav ul li a{
        color: #f4f1e6;
        text-decoration: none;
        font-size: clamp(1.1em, 3vw, 1.15em);
        
    }

    .textoSobre{
        background-image: url("./Imagens/imagemSobreTablet.jpg");
        background-size: cover;
        background-position: center;
        max-width: 100%;
        height: 80vh;
        color: #f4f1e6 ;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .servicos .cards{
        margin: 25px 25px;
        gap: 25px;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .servicos .cards .card .imagemCard{
        max-width: 100%;
        height: clamp(150px, 25vw, 350px);
    }

    .servicos .cards .card .imagemCard img{
        display: block;
        height: 100%;
        object-fit: cover;
    }

    .servicos .card{
        text-align: left;
    }
}


/* DESKTOP */
@media (min-width: 1024px){
    nav ul{
        gap: 50px;
    }
    
    nav ul li:hover{
        transition: all 0.6s ease;
        transform: scale(1.1);
    }

    .servicos .cards{
        margin: 25px 25px;
        gap: 30px;
        display: grid;
        grid-template-columns: repeat(3, 27vw);
        justify-content: space-evenly;
    }

    .textoSobre{
        background-image: url("./Imagens/imagemSobreDesktop.jpg");
        background-size: cover;
        background-position: center;
        max-width: 100%;
        height: 80vh;
        color: #f4f1e6 ;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .texto{
        width: 50%;
        transition: all 0.8s ease;
    }
    .texto:hover{
        transform: scale(1.1);
    }

    footer{
        background-color: #626F47;
        padding: 30px 20px;
        margin-top: 40px;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 1fr auto;
        gap: 10px;
        color: #f4f1e6;
        grid-template-areas: 
        "contato endereco redes direitos"
        "logo logo logo logo";
        line-height: 1.5;
    }

    footer .logoFooter h2{
        margin-top: 15px;
    }
}