*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth; /* Habilita a rolagem suave */
}

body{
    background-color: #000;
    height: 100vh;
}


.interface{
    max-width: 1290px;
    margin: 0 auto;
}

.flex{
    display: flex;
}

 .btn-contato button{
    padding: 10px 40px;
    font-size:  18px;
    font-weight: 600;
    background-color: #207756;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
}

 button:hover{
    box-shadow: 0px 0px 8px #207756c0;
    transform: scale(1.05);
}

h2.titulo{
    color: #FFF;
    font-size: 38px;
    text-align: center;
}

h2.titulo span{
    color: #207756;
}

/*Estilo do cabeçalho*/

header{
    padding: 40px 4%;

}

header > .interface{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a{
    color: #b9b9b9;  
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}


header a:hover{
    color: #FFF;  
    transform: scale(1.15);
    
}

header nav ul{
    list-style-type: none;
}

header nav ul li{
    display: inline-block;
    padding: 0 40px;
}



section.topo-do-site{
    padding: 40px 4%;
}

section.topo-do-site .flex{
    align-items: center;
    justify-content: center;
    gap: 90px;
}

.topo-do-site .txt-topo-site h1{
    color: #FFF;
    font-size: 32px;
    line-height: 40px;
}

.topo-do-site .txt-topo-site h1 span{
    color: #207756;
}

.topo-do-site .txt-topo-site p{
    color: #FFF;
    margin: 40px 0;    
}

.topo-do-site .img-topo-site img{
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;

}

@keyframes flutuar{
    0%{
        top: 0;
    } 100%{
        top: 30px  
    }
}

/* Estilo das Especialidade*/

section.especialidades{
    padding: 40px 4%;
}

section.especialidades .flex{
    align-items: center;
    justify-content: center;
    gap: 60px;
}

.especialidades .especialidades-box{
    color: #FFF;
    padding: 40px;
    border-radius: 20px;
    margin-top: 45px;
    transition: .2s;
}

.especialidades .especialidades-box:hover{
    transform: scale(1.05);
    box-shadow: 0 0 8px #ffffff86;
}

.especialidades .especialidades-box i{
    font-size: 70px;
    color: #207756;
}

.especialidades .especialidades-box h3{
    font-size: 28px;
    margin: 15px 0;
}

/* ESTILO SOBRE*/

section.sobre {
    gap: 60px;
}

.sobre .txt-sobre{
    color: #FFF;
    margin-left: 10px;
    margin-top: 30px;
}

.sobre .txt-sobre h2{
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 30px;
}

.sobre .txt-sobre h2 span{
    color: #207756;
    display: block;
}


.img-sobre img{
    width: 75%;
    border-radius: 2%;
    margin-top: 35px;
    margin-bottom: 35px;
}

.sobre .txt-sobre p{
    margin: 20px 0;
    text-align: justify;
}

 .btn-social button{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: #207756;
    font-size: 22px;
    cursor: pointer;
    margin: 5px 5px;
    transition: .2s;
    margin-bottom: 30px;
}

/*ESTILO PORTIFOLIO*/
section.portfolio{
    padding: 80px 4%;
    box-shadow: 0 0 40px 10px #ffffff1d;
}

section.portfolio .flex{
    justify-content: space-around;
    margin-top: 60px;

}

.img-port{
    width: 360px;
    height: 460px;
    background-size: cover;
    background-position: 100% 0%;
    transition:  8s;
    cursor: pointer;
    border-radius: 40px;

    position: relative;
}

.img-port:hover{
    background-position: 100% 100%;
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000b8;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transition: .5s;
}

.overlay:hover{
    opacity: 1;
}

/*ESTILO FOOTER*/

footer{
    padding: 40px 4%;
    box-shadow: 0 0 40px 10px #ffffff1d;
}

footer .flex{
    justify-content: space-between;
}

footer .line-footer{
    padding: 20px 0;
}

.borda{
  border-top: 2px solid #207756;   
}

footer .line-footer p i{
    color: #207756;
    font-size: 16px;
}

footer .line-footer p span{
    color: #FFF;
}

@media screen and (max-width: 1020px){
    /*GERAL*/
    .flex {
        flex-direction: column;
    }

    h2.titulo{
        font-size: 32px;
        line-height: 30px;
    }

    .topo-do-site .flex {
        flex-direction: column-reverse;
    }
    /*Cabeçalho*/
    .menu-desktop{
        display: none;
    }

    .btn-contato{
        width: 80%;
    }

    .interface{
        flex-direction: column;
    }

    /*TOPO DO SITE*/
    section.topo-do-site .flex{
        gap: 40px;
    }

    section.topo-do-site{
        padding: 20px 8%;
    }

    .topo-do-site h1{
        font-size: 30px;
    }

    .topo-do-site .img-topo-site img{
        width: 100%;
    }

    /*ESPECIALIDADE*/
    section.especialidades{
        padding: 40px 8%;
    }

    /*SOBRE*/
        section.sobre{
            padding: 80px 8%;
        }

        .sobre txt-sobre h2{
            font-size: 34px;
            line-height: 35px;
            text-align: center;
        }

        .btn-social{
            text-align: center;
        }

        .img-sobre img{
            width: 100%;
        }

        section.portfolio{
            padding: 80px 8%;
        }

        .img-port{
            width: 100%;
            max-width: 360px;
            margin: auto;
        }

        section.portfolio .flex{
            gap: 60px;
        }

        footer .line-footer {
            text-align: center;
        }




}