html {
    scroll-behavior: smooth;
}

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

body{
    background-color: black;
    height: 100vh;
}

section {
    scroll-margin-top: 100px; 
}

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

.flex{
    display: flex;
}

.btn-contato button{
    background-color: #00ff08;
    border-radius: 40px;
    border: none;
    font-size: 18px;
    padding: 11px 40px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.4s;
}

h2.titulo{
    color: white;
    font-size: 38px;
    text-align: center;
}

h2.titulo span{
    color: #00ff08;
}

button:hover, form .bnt-enviar input:hover{
    box-shadow: 0px 0px 8px #00ff08;
    transform: scale(1.05);
}

/* ESTILO CABEÇALHO */
header{
    padding: 40px 4%;
}

.logo, .btn-contato {
    flex: 1; 
}

.btn-contato  {
    display: flex;
    justify-content: flex-end;
}

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

header a{
    display: inline-block;
    color: rgb(89, 89, 89);
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

header nav.menu-desktop a:hover{
    color: white;
    transform: scale(1.25);
}

header nav ul{
    list-style-type: none;
}

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

.btn-contato button:hover{
    box-shadow: 0px 0px 8px #00ff08;
    transform: scale(1.05);
}

.logo{
    margin: 0;
    gap: 10px;
}

.logo img {
    width: 150px; 
    height: auto; 
    transition: 0.3s;
}

.logo img:hover{
    transform: scale(1.03);
    filter: drop-shadow(2px 2px 4px rgba(1, 247, 1, 0.511));
}

#btn-menu {
    display: none;
}

/* ESTILO DO MENU MOBILE */
.btn-abrir-menu{
    color: #00ff08;
    font-size: 35px;
}

.menu-mobile{
    background-color: rgb(0, 0, 0);
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    width: 0%;
    overflow: hidden;
    transition: 0.5s;
}

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

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

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

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

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

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

.menu-mobile nav ul li a:hover{
    background-color: #00ff08;
    color: #000;
    border-radius: 40px;
}

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

/* ESTILO TOPO DO SITE */
section.topo-site {
    padding: 110px 4%;
}

section.topo-site .flex {
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.txt-topo-site {
    width: 50%;
}

.topo-site h1 {
    color: white;
    font-size: 42px;
    line-height: 50px;
    margin-bottom: 15px;
}

.topo-site h1 span {
    color: #00ff08;
}

.txt-topo-site p {
    color: rgb(200, 200, 200);
    margin-bottom: 40px;
}

.txt-topo-site .btn-contato {
    justify-content: flex-start;
}

.img-topo-site {
    width: 50%;
    display: flex;
    justify-content: flex-end; 
}

.img-topo-site img {
    max-width: 100%; 
    width: 450px; 
    height: auto;
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
}

@keyframes flutuar{
    0%{
        top: 0;
    }
    100%{
        top: 30px;
    }
}

/* ESTILOS DAS ESPECIALIDADES */
section.especialidades{
    padding: 40px 4%;
    padding-top: 115px; 
    padding-bottom: 80px;
}

section.especialidades .flex{
    gap: 60px;
}

.especialidades .Especialidades-box{
    color: white;
    padding: 40px;
    border-radius: 20px;
    margin-top: 45px;
    transition: 0.2s;
}

.especialidades .Especialidades-box:hover{
    transform: scale(1.05);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.534);
}

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

.especialidades .Especialidades-box h3{
    font-size: 26px;
    margin: 15px 0;
}

/* ESTILO SOBRE */
section.sobre{
    padding: 70px 4%;
}

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

.img-sobre img{
    max-width: 100%; 
    width: 2400px; 
    height: auto;
}

.img-sobre img:hover{
    filter: brightness(1.10);
    transition: 0.4s;
}

.sobre .txt-sobre{
    color: white;
}

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

.sobre .txt-sobre span{
    color: #00ff08;
    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: #00ff08;
    font-size: 22px;
    cursor: pointer;
    margin: 0 12px;
    transition: 0.3s;
}

/* ESTILO DO PORTIFOLIO */
section.portifolio{
    padding: 100px 4%;
    box-shadow: 0 0 40px 10px #ffffff1d;
}

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

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

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

.img-port.vertical{
    background-position: 100% 0%;  
    width: 400px;
    transition: 9s;
    border: 2px solid #57575779; 
}

.img-port.vertical: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: 0.5s;
    text-align: center;
}

.overlay:hover{
    opacity: 1;
}

/* ESTILO DO FORMULARIO DE CONTATO */
section.formulario{
    padding: 80px 4%;
}

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

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

form textarea{
    resize: none;
    max-height: 200px;
}

form .bnt-enviar{
    margin-top: 25px;
    text-align: center;
}

form .bnt-enviar input{
    width: 120px;
    background-color: #00ff08;
    color: black;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

/* ESTILO DO RODA PÉ */
.logo-footer img{
    width: 140px;
    height: auto;
}

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

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

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

.border{
    border-top: 2px solid #00ff08;
}

footer .line-footer p i{
    color: #00ff08;
    font-size: 22px;
    margin-right: 10px;
}

footer .line-footer p a{
    color: #fff;
    cursor: pointer;
    gap: 10px;
    align-items: center;
}

/* ===================================================
   RESPONSIVIDADE - INTERFACE MOBILE (TELA ATÉ 1300px)
   =================================================== */
@media screen and (max-width: 1300px) {

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

    /* CABEÇALHO */
    .menu-desktop, .btn-contato{
        display: none !important;
    }

    #btn-menu {
        display: block;
    }

    /* TOPO DO SITE */
    section.topo-site {
        padding: 20px 8%;
    }

    .topo-site h1 {
        font-size: 30px;
        line-height: 40px;
    }

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

    .img-topo-site {
        display: flex;
        justify-content: center; 
    }

    .img-topo-site img {
        width: 350px; 
    }

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

    /* ESTILOS DAS ESPECIALIDADES */
    section.especialidades{
        padding: 40px 8%;
        padding-top: 40px; 
        padding-bottom: 80px;
    }

    section.especialidades .flex{
        display: flex;
        flex-direction: column;
        gap: 60px;
    }

    h2.titulo{
        font-size: 34px;
        line-height: 30px;
    }

    /* ESTILO SOBRE */
    section.sobre{
        padding: 35px 8%;
    }

    section.sobre .flex{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .img-sobre img{
        width: 100%; 
        max-width: 450px; 
        height: auto;
        margin: 0 auto;
    }

    .sobre .txt-sobre h2{
        font-size: 34px;
        line-height: 40px;
        text-align: center;
    }

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

    /* ESTILO DO PORTIFOLIO MOBILE - CENTRALIZAÇÃO TOTAL FORÇADA */
    section.portifolio {
        padding: 60px 4% !important;
        width: 100% !important;
    }

    section.portifolio .interface {
        width: 100% !important;
    }

    section.portifolio .flex {
        display: flex !important;
        flex-direction: column !important; 
        align-items: center !important;    
        justify-content: center !important;
        gap: 40px !important; 
        width: 100% !important;
        margin-top: 40px !important;
    }

    section.portifolio .flex a {
        display: block !important;
        width: 100% !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }

    .img-port {
        width: 100% !important;
        max-width: 320px !important; 
        height: 420px !important;
        margin: 0 auto !important; 
    }

    .img-port.vertical {
        width: 100% !important;
        max-width: 320px !important;
        height: 420px !important;
        margin: 0 auto !important;
    }

    /* ESTILO DO RODA PÉ */
    .logo-footer img{
        width: 120px;
    }

    footer .flex{
        display: flex;
        flex-direction: column; 
        align-items: center;
        gap: 30px;
    }

    footer .line-footer{
        text-align: center;
    }
}