:root {
    --preto-fundo: #000000;
    --preto-fundo-2: #0A0A0A;

    --vermelho: #E63946;
    --vermelho-2: #da2535;
    --roxo: #9D4EDD;

    --branco: #FFFFFF;

    --cinza-claro: #BDBDBD;
    --cinza-arroxeado: #D1C4E9;

    --verde: #00ff08;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
html {
    scroll-behavior: smooth;
    scrollbar-color: var(--vermelho-2);
}
body {
    background-color: #000;
    height: 100vh;
    color: var(--branco);
}
a {
    text-decoration: none;
    color: var(--branco);
}
h2 .title{
    color: var(--branco);
    font-size: 38px;
    text-align: center;
}
h2 .title span {
    color: var(--vermelho-2);
}
.flex {
    display: flex;
}
.interface {
    max-width: 1280px;
    margin: 0 auto;
    
}
header {
    padding: 40px 4%;
    
}
header > .interface {
    display: flex;
    align-items: center;
    justify-content: space-between;
    
}
header nav.menu-mobile nav  a {
    display: flex;
    padding: 0 40px;
    gap: 2rem;
    font-size: 23px;
    
}
header nav.menu-desktop a {
    color:var(--cinza-claro);
    transition: 0.5s;
    
}
header nav.menu-desktop a:hover {
    color: var(--branco);
    transform: scale(1.05);
}
header .btn-contato a {
    padding: 10px 40px;
    font-size: 23px;
    font-weight: 600;
    background-color: var(--vermelho-2);
    border-radius: 30px;
    border: none;
    transition: 0.5s;
}
/*ESTILO DO MENU MOBILE*/

.menu-mobile {
    background-color: var(--preto-fundo);
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    width: 0;
    overflow: hidden;
    transition: 0.5s;
}
.menu-mobile nav {
    text-align: right;
    display: flex;
    flex-direction: column;
}
.menu-mobile nav  a{
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    padding: 20px 4%;
}
.menu-mobile nav  a:hover{
    background-color: var(--vermelho-2);
    
}
.menu-mobile .btn-fechar{
    padding: 20px 8%;
   
}
.menu-mobile .btn-fechar i{
    color: var(--vermelho-2);
    font-size: 30px;
    
}
.menu-mobile.abrir-menu {
    width: 60%;
    
}
.menu-mobile.abrir-menu ~ .overlay-menu{
    display: block;
}
.btn-abrir-menu{
    color: var(--vermelho-2);
    font-size: 40px;
}
.overlay-menu {
    background-color: #0000007b;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index:8888;
    display: none;
}
.btn-abrir-menu {
    display: none;
}


.btn-contato {
    padding: 10px 40px;
    font-size: 23px;
    font-weight: 600;
    background-color: var(--vermelho-2);
    border-radius: 30px;
    border: none;
    transition: 0.5s;
}
.btn-contato:hover {
    background-color: var(--verde);
    transform: scale(1.05);
}
header .btn-contato a:hover {
    background-color: var(--verde);
    letter-spacing: 3px;
    
}

.logo a img {
    width: 100px;
}

header .btn-contato {
    box-shadow: 0px 0px 28px #E63946;
    border-radius: 30px;
}
header .btn-contato:hover {
    box-shadow: 0px 0px 28px var(--verde);
}


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

section .topo-do-site .flex {
    align-items: center;
    justify-content: center;
    gap: 100px;
}
.topo-do-site h1 {
    font-size: 48px;
    line-height: 1;
}
.topo-do-site .txt-topo-site h1 span {
    color: #da2535;
}
 .img-topo-site img {
    width: 500px;
}
.topo-do-site .txt-topo-site p {
    color: var(--branco);
    margin: 40px 0;
    font-size: 28px;
}
.topo-do-site .txt-topo-site .btn-contato {
    box-shadow: 0px 0px 28px #E63946;
    border-radius: 30px;
    width: 300px;
    
    
}
.txt-topo-site .btn-contato:hover {
    box-shadow: 0px 0px 28px var(--verde);
    transform: scale(1.05);
}
@keyframes flutuar{
    0% {
        top: 0;
    }
    100%{
        top: 10px;
    }
}
.topo-do-site .img-topo-site img {
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
    box-shadow: 0px 0px 28px #E63946;
    border-radius: 50px;
    
}
section .especialidades {
    padding: 40px 4%;
}
section .especialidades .flex {
    gap: 60px;
    
}
 .especialidades-box {
    color: var(--branco);
    padding: 20px;
    width: 100%;
    
    margin-top: 45px;
    border-radius: 25px;
    transition: 0.5s;
}
.especialidades-box:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--vermelho-2);
}
.especialidades-box p {
    font-size: 22px;
}
.especialidades-box i {
    font-size: 68px;
}
.especialidades .interface h2 span {
    color: var(--vermelho-2);
}
.especialidades .interface h2 {
    font-size: 58px;
    text-align: center;
    margin-top: 45px;
}
.especialidades-box h3 {
    font-size: 28px;
    margin: 15px 0;
}

section .sobre {
    padding: 40px 4%;
    
}
section.sobre .flex {
    align-items: center;
    gap: 13rem;
    justify-content: space-between;
   
}
.sobre .txt-sobre {
    color: var(--branco);
    align-items: center;
    gap: 10px;
    display: flex;
    flex-direction: column;
    flex: 1;
  
}
.sobre .txt-sobre h2 {
    font-size: 40px;
    line-height: 1;
}
.sobre .txt-sobre h2 span {
    color: var(--vermelho-2);
}
.sobre .txt-sobre p {
    margin: 10px 0;
    gap: 1rem;
    text-align: justify;
}
.sobre .txt-sobre .btn-social a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    color: var(--vermelho-2);
    font-size: 35px;
    margin: 0 15px;
    transition: 0.5s;
    background-color:  var(--vermelho-2);
    padding: 10px;
    transition: 0.5s;
    box-shadow: 0px 0px 28px #E63946;
}
.btn-social a i {
    color: var(--branco);
}
.btn-social a:hover {
    box-shadow: 0px 0px 28px var(--verde);
    transform: scale(1.1);
}
.img-sobre {
    position: relative;
    width: 200px; /* ajuste conforme necessário */
    height: 120px; /* altura suficiente para conter a imagem e o triângulo */
    margin: auto; /* centraliza horizontalmente dentro do flex */
  }
  
  .img-sobre img { 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px; /* ajuste conforme necessário */
    z-index: 2;
    filter: drop-shadow(0 0 18px red);
    flex: 1;
  }
  
  
 
 .portifolio{
    padding: 80px 4%;
    box-shadow: 0px 0px 40px 10px #ffffff1d;
  }
  .portifolio h2 {
    font-size: 40px;
    text-align: center;
  }
  .portifolio h2 span {
    color: var(--vermelho-2);
  }
  .portifolio .flex {
    justify-content: space-around;
    margin-top: 60px;
  }
  .img-port {
    width: 360px;
    height: 460px;
    background-color: var(--vermelho-2);
    background-size: cover;
    background-position: 100% 0%;
    transition: 10s;
    border-radius: 40px;
    cursor: pointer;
    position: relative;
    
  }
  .img-port:hover {
    background-position: 100% 100%;
  }
  .overlay {
    position: absolute;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    background-color: #00000028;
    color: var(--branco);
    opacity: 0;
    transition: 0.5s;
  }
  .overlay:hover {
    opacity: 1;
  }

  section .formulario {
    padding: 80px 4%;
  }
  .formulario .title {
    font-size: 40px;
    text-align: center;
    margin: 40px auto;
  }
  form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    margin-top: 40px;
   
  }
  form input,form textarea, form select {
    width: 100%;
    background-color: #242424;
    border: 0;
    outline: 0;
    padding: 20px 15px;
    border-radius: 15px;
    color: var(--branco);
    font-size: 18px;
  }
  form .btn-contato {
    color: white;
    cursor: pointer;
    margin-bottom: 40px;
    margin-top: 20px;
  }
  form textarea{
    resize: none;
    max-height: 200px;
  }
  form .btn-enviar {
    margin-top: 20px;
    text-align: center;
  }
  form .btn-enviar input {
    width:200px;
    background-color: #00ff08;
    cursor: pointer;
    color: var(--preto-fundo);
    box-shadow: 0px 0px 28px #00ff08;
    margin: 20px 0;
    transition: 1s;
  }
  form .btn-enviar input:hover {
    transform: scale(1.1);
  }

  footer {
    padding: 60px 4%;
    box-shadow: 0 0 20px 5px var(--vermelho-2);
  }
  footer .flex {
    justify-content: space-between;
    align-items: center;
  }
  footer .line-footer p {
    color: var(--vermelho-2);
    font-size: 22px;
    margin-top: 20px;
  }
  footer .logo-footer img{
    width:60px;
  }
  footer .btn-social a {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    color: var(--vermelho-2);
    font-size: 35px;
    margin: 0 15px;
    transition: 0.5s;
    background-color:  var(--vermelho-2);
    padding: 10px;
    transition: 0.5s;
    box-shadow: 0px 0px 28px #E63946;
  }
  footer .btn-social a:hover {
    box-shadow: 0px 0px 28px var(--vermelho-2);
    transform: scale(1.1);
}
.borda {
    padding: 20px 0;
    margin: 20px;
    border-top: 2px solid var(--vermelho-2) ;
}

@media screen and (max-width: 1020px) {

    .btn-abrir-menu{
        display: block;
    }
   .flex {
    flex-direction: column-reverse;
   }
   
   .menu-desktop, .btn-contato{
    display: none;
   }

   section .topo-do-site{
    padding: 20px 8%;
   }
   .topo-do-site .txt-topo-site {
    padding: 20px;
   }
   .topo-do-site h1 {
    color: var(--branco);
    font-size: 28px;
    line-height: 40px;
    
   }
   .topo-do-site .txt-topo-site p {
    font-size: 20px;
   }
   
   .topo-do-site .img-topo-site img{
    width:100%
   }
   section.topop-do-site.flex {
    gap:40px;
   }

   section.especialidades {
    padding: 40px 8%;

   }
   .especialidades h2.title{
    font-size: 30px;
    text-align: center;
   }


   section.sobre {
    padding: 80px 8%;
   }
   section.sobre .flex {
    gap: 4.5rem;
    flex-direction: column;
   }
   
   .sobre .txt-sobre h2{
    font-size: 34px;
    line-height: 35px;
    text-align: center;
   }
   .btn-social {
    text-align: center;
   }
   .img-sobre img {
    width: 20rem;
    max-width: 400px;
    z-index: -1;
   
    
    
   }

   section.portifolio {
    padding: 80px 8%;
   }
   .img-port {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;    
  }
  section.portifolio .flex {
    gap: 60px;
  }


  section.formulario {
    padding: 80px 8%;
  }

  form .btn-contato {
    color: white;
    cursor: pointer;
    display: flex;
    font-size: 100%;
  }

  footer .flex {
    flex-direction: column;
    gap: 30px;
  }
  footer .line-footer{
    text-align: center;
  }
}