/* Geral */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: #000;
    height: 100vh;
}

.interface {
    max-width: 1280px;
    margin: 0 auto;
}

.flex {
    display: flex;
}

.btn-contato button {
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    background-color: #986dff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: .3s;
}

button:hover,
form .btn-enviar input:hover {
    box-shadow: 0px 0px 8px #986dff;
    transform: scale(1.09);
}

.titulo {
    color: #fff;
    font-size: 38px;
    text-align: center;
}

.titulo span {
    color: #986dff;
}

html {
    scroll-behavior: smooth;
}

:root {
    font-size: 16px;
}

/* Header */

header {
    padding: 40px 4%;
}

header .interface {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a {
    display: inline-block;
    /*para poder usar o transform em link*/
    color: #7d7d7d;
    text-decoration: none;
    transition: .3s;
}

header nav.menu-desktop a:hover {
    color: #fff;
    transform: scale(1.09);
}

header nav ul {
    list-style: none;
}

header nav.menu-desktop ul li {
    display: inline-block;
    padding: 0 40px;
}

/*Menu Mobile*/

.btn-abrir-menu{
    display: none;
}

.btn-abrir-menu i {
    color: #986dff;
    font-size: 40px;
}

.menu-mobile {
    height: 100vh;
    position: fixed;
    top: 0;
    /* right: 0; */
    z-index: 99999;
    width: 0%;
    overflow: hidden;
    transition: .5s;
}

.menu-mobile.abrir-menu {
    width: 70%;
}

.menu-mobile.abrir-menu ~ .overlay-menu {
    display: block;
}

.menu-mobile .btn-fechar i {
    color: #986dff;
    font-size: 30px;
}

.menu-mobile .btn-fechar {
    padding: 20px 5%;
}

.menu-mobile nav ul {
    text-align: right;
}

.menu-mobile nav ul li a {
    background-color: #000;
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    padding: 20px 8%;
    display: block;
}

.menu-mobile nav ul li a:hover {
    background-color: #986dff;
    color: #000;
}

.overlay-menu {
    background-color: #000000a7;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 88888;
    display: none;
}

/*Topo Site*/

.topo-do-site {
    padding: 40px 4%;
}

.topo-do-site .flex {
    align-items: center;
    justify-content: center;
    gap: 90px;
}

.topo-do-site h1 {
    color: #fff;
    font-size: 2.625rem;
    line-height: 40px;
}

.topo-do-site .txt-topo-site h1 span {
    color: #986dff;
}

.topo-do-site .txt-topo-site p {
    color: #fff;
    margin: 40px 0;
}

.topo-do-site .img-topo-site img {
    border-radius: 9999px;
    border: 2px solid #986dff;
    background-color: #986dff;
}

.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;
    }
}

/*Especialidades*/

.especialidades {
    padding: 40px 4%;
}

.especialidades .flex {
    gap: 60px;
}

.especialidades .especialidades-box {
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    margin-top: 45px;
    transition: .3s;
    width: 100%;
}

.especialidades .especialidades-box:hover {
    transform: scale(1.05);
    box-shadow: 0 0 8px #ffffff78;
}

.especialidades .especialidades-box ion-icon {
    font-size: 70px;
    color: #00ff08;
}

.especialidades .especialidades-box h3 {
    font-size: 1.75rem;
    margin: 15px 0;
}

/*Sobre*/

.sobre {
    padding: 80px 4%;
}

.sobre .flex {
    align-items: center;
    gap: 60px;
}

.sobre .img-sobre img {
    border: 1px solid #986dff;
    border-radius: 30px;
    background: #986dff;
}

.sobre .txt-sobre {
    color: #fff;
}

.sobre .txt-sobre h2 {
    font-size: 2.5rem;
    line-height: 40px;
    margin-bottom: 30px;
}

.sobre .txt-sobre h2 span {
    color: #986dff;
    display: block;
}

.sobre .txt-sobre p {
    margin: 20px 0;
    text-align: justify;
}

.btn-social button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: #986dff;
    font-size: 22px;
    cursor: pointer;
    margin: 0 5px;
    transition: .3s;
}

/*Projetos*/

.projetos {
    padding: 80px 4%;
    box-shadow: 0 0 40px 10px #ffffff1d;
}

.projetos .flex {
    justify-content: space-around;
    margin-top: 60px;
}

.img-projetos {
    width: 360px;
    height: 460px;
    background-size: cover;
    background-position: 100% 0;
    transition: 8s;
    cursor: pointer;
    border-radius: 40px;
    position: relative;
}

.img-projetos:hover {
    background-position: 100% 100%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    opacity: 0;
    transition: 0.3s;
}

.overlay:hover {
    opacity: 1;
}

/*Formulario*/

.formulario {
    padding: 80px 4%;
}

form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

form input,
form textarea {
    width: 100%;
    background-color: #242424;
    border: none;
    outline: none;
    padding: 20px 15px;
    border-radius: 15px;
    color: #fff;
    font-size: 1.125rem;
}

form textarea {
    resize: none;
}

form .btn-enviar {
    margin-top: 20px;
    text-align: center;
}

form .btn-enviar input {
    width: 120px;
    background-color: #986dff;
    color: #000;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

/*Footer*/

footer {
    padding: 40px 4%;
    box-shadow: 0px 0px 40px 10px #ffffff1d;
}

footer .flex {
    justify-content: space-between;
    align-items: center;
}

footer .line-footer {
    padding: 20px 0;
}

.final-border {
    border-top: 2px solid #986dff;
}

footer .line-footer p i {
    color: #986dff;
    font-size: 1.375rem;
}

footer .line-footer p a {
    color: #fff;
}

.btn-voltar {
    position: fixed;
    bottom: 14px;
    right: 24px;
    z-index: 99;
}

/*Responsivo*/

@media(max-width:1020px) {
    /*classe geral*/
    .flex {
        flex-direction: column;
    }

    h2.titulo {
        font-size: 1.875rem;
        line-height: 35px;
    }

    
    .topo-do-site .flex {
        flex-direction: column-reverse;
    }
    

    /*header*/
    .menu-desktop, .btn-contato {
        display: none;
    }

    .btn-abrir-menu{
        display: block;
    }

    /*topo-do-site*/

    .topo-do-site .flex {
        gap: 40px;
    }

    .topo-do-site {
        padding: 20px 8%;
    }

    .topo-do-site h1 {
        font-size: 1.688rem;
        text-align: center;
    }

    .topo-do-site .img-topo-site img {
        width: 100%;
    }

    .topo-do-site .txt-topo-site {
        text-align: justify;
    }

    /*Especialidades*/

    .especialidades {
        padding: 80px 8%;
    }

    /*Sobre*/

    .sobre {
        padding: 40px 8%;
    }

    .sobre .txt-sobre h2 {
        font-size: 2.125rem;
        text-align: center;
    }

    .sobre .btn-social {
        text-align: center;
    }

    .img-sobre img {
        width: 100%;
    }

    /*Projetos*/
    
    .projetos {
        padding: 80px 8%;
    }

    .img-projetos {
        margin: 0 auto;
        width: 100%;
        max-width: 360px;
    }

    .projetos .flex {
        gap: 60px;
    }


    /*footer*/

    footer .flex {
        gap: 20px;
    }

    footer p{
        text-align: center;
    }
}
