:root {
  --cor-primaria: #188CD0;
  --cor-fundo: #000;
  --cor-texto: #fff;
  --fonte-principal: 'Poppins', sans-serif;
}

/*Estilo global*/
html {
  scroll-behavior: smooth;
}


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    height: 100vh;
}

.logo img {
    width: 100%;
    max-width: 150px;
    height: auto;
}


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

.flex{
    display: flex;
}

.btn-contato {
  display: flex;
  gap: 20px; /* ✅ Espaço normal entre botões */
  flex-wrap: wrap;
  align-items: center;
}

.btn-contato button{
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    background-color:#188CD0 ;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    }

    /* Espaço abaixo do botão de CV */


    .btn-baixar-cv button {
  text-decoration: none; /* Remove o sublinhado */
  background-color: #188CD0; /* Cor principal */
  color: #000;               /* Texto preto */
  border: none;
  padding: 10px 30px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
  margin-top: 20px;
   margin-bottom: 20px;
}

/* Efeito ao passar o mouse */
.btn-baixar-cv button:hover {
  background-color: #0f6ca5; /* Tom mais escuro no hover */
  box-shadow: 0 0 10px #188CD0;
  transform: scale(1.05);
}

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

h2.titulo span{
    color: #188CD0;
}

/*Estilo do cabecalho*/
/* ESTILO DO CABEÇALHO - VERSÃO COM FIXO */
header {
    padding: 40px 4%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #000;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Ajuste para o conteúdo não ficar escondido atrás do menu */
main {
    margin-top: 160px; /* Altura aproximada do header */
}

/* Versão compacta quando rolar a página (efeito opcional) */
header.scroll {
    padding: 15px 4%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

/* Scroll padding para compensar o menu fixo */
html {
    scroll-padding-top: 120px; /* Ajuste conforme altura do seu header */
    scroll-behavior: smooth;
}

header{
    padding: 40px 4%;
}

header .interface {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 4%;
}


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

header nav.menu-desktop {
    flex: 1;
    display: flex;
    justify-content: center;
}

header a{
    color: #c7bcbc;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header nav .menu-desktop {
    display: flex;
    gap: 40px;
}

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

header nav ul{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    padding: 0;
    margin: 0;
    list-style-type: none;
}

header nav .menu-desktop ul {
    display: flex;
    gap: 40px;
}

header nav .menu-desktop ul li {
    padding: 0;
}


.btn-contato button:hover, form .btn-enviar input:hover{
    box-shadow: 0px 0px 8px #0396eb ;
    transform: scale(1.05);
    transition: .2s;
}

/*Havia aqui o menu  mobile, mas foi removido para simplificação*/
.menu-mobile{
    display: none; /* Escondido por padrão */
    background-color: #000;
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    width: 70%;
    overflow: hidden;
    transition: .5s;
}

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

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

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

.topo-do-site .txt-topo-site h1 span{
    color: #188CD0;   
}

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

/* ANIMAÇÃO DE DIGITAÇÃO */
.txt-topo-site h1 {
    font-size: 50px;
    color: #fff;
    line-height: 40px;
    min-height: 120px; /* Evita que o layout pule */
}

/* Cores específicas para o título digitado */
.txt-topo-site h1 .texto-branco {
    color: #ffffff !important;
}

.txt-topo-site h1 .texto-azul {
    color: #188CD0 !important;
}

/* Garante que o h1 principal mantenha a cor padrão */
.txt-topo-site h1 {
    color: #ffffff;
}

@keyframes piscar {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Responsivo */
@media screen and (max-width: 999px) {
    .txt-topo-site h1 {
        font-size: 32px;
        line-height: 35px;
        min-height: 100px;
    }
}

.topo-do-site .img-topo-site img{
    position:relative;
    width: 100%;
    max-width: 300px;
    animation: flutuar 2s ease-in-out infinite alternate;
    border: 4px solid #188CD0; /* Aqui está a borda azul */
    border-radius: 20px;   /* Opcional: deixa a borda arredondada */
    box-shadow: 0 0 15px #188CD0; /* Glow suave azul ao redor */
}

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

/*ESTILO DAS HABILIDADES*/
section.especialidades{
    padding: 40px 4%;
}

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

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

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

.especialidades .especialidades-box i{
    font-size: 70px;
    color: #188CD0;
}

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

/*ESTILO DO SOBRE*/
.img-sobre img{
    width: 110%;
}

section.sobre{
    padding: 80px 4%;
}

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

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

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

.sobre .txt-sobre h2 span{
    color: #188CD0;
    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: #188CD0;
    font-size: 22px;
    cursor: pointer;
    margin: 0 5px;
    transition: .2s;
}

.btn-social button:hover{
    box-shadow: 0px 0px 8px #188CD0 ;
    transform: scale(1.05);
}

/**ESTILO DO PORTFOLIO*/
section.portfolio{
    padding: 80px 4%;
    box-shadow: 0 0 40px 10px #ffffff44;
}

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

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

.portfolio-box:hover{
    background-position: 100% 100%;
}

.overlay{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(24, 141, 208, 0.712);
    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 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;
}

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

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

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

form .btn-enviar input{
    width: 120px;
    background-color: #188CD0;
    color: #000;
    font-weight: 700;
    cursor: pointer;
}

/* ESTILOS PARA VALIDAÇÃO DO FORMULÁRIO */
.erro-mensagem {
    color: #ff4444;
    font-size: 12px;
    margin-top: -5px;
    margin-bottom: 10px;
    display: none;
}

.erro-mensagem.visible {
    display: block;
}

/* Estilo para campos com erro */
input.erro, textarea.erro {
    border: 2px solid #ff4444;
    background-color: #ff444420;
}

/* Estilo para campos válidos */
input.valido, textarea.valido {
    border: 2px solid #00ff88;
}

/* Mensagem de feedback (sucesso/erro) */
.feedback {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 500;
    display: none;
}

.feedback.sucesso {
    display: block;
    background-color: #00ff8820;
    color: #00ff88;
    border: 1px solid #00ff88;
}

.feedback.erro {
    display: block;
    background-color: #ff444420;
    color: #ff4444;
    border: 1px solid #ff4444;
}

/* Desabilitar botão durante envio */
.btn-enviar input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/*ESTILO DO RODAPE*/
footer{
    padding: 60px 4%;
    box-shadow: 0 0 40px 10px #ffffff44;
}

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

footer .logo-footer img{
    width: 200%;
    max-width: 250px;
    height: auto;
}

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

.borda{
    border-top: 2px solid #188CD0;
}

footer .line-footer p i{
    color: #188CD0;
    font-size: 22px;
}

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

footer .txt-footer{
    text-align: center;
    margin-top: 20px;
    color: #fff;
    font-size: 16px;
}

/* BOTÃO VOLTAR AO TOPO */
.btn-topo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #188CD0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.btn-topo.visible {
    opacity: 1;
    visibility: visible;
}

.btn-topo:hover {
    background-color: #0f6ca5;
    transform: scale(1.1);
    box-shadow: 0 0 15px #188CD0;
}

.btn-topo i {
    color: #fff;
    font-size: 24px;
}

/* Garantir que o AOS funcione suavemente */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Opcional: desabilitar animações em dispositivos que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Responsivo */
@media screen and (max-width: 999px) {
    .btn-topo {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .btn-topo i {
        font-size: 20px;
    }
}

/*RESPONSIVO*/
@media screen and (max-width: 999px) {
    /*CLASSES GERAIS*/

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

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

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

html {
    scroll-padding-top: 90px; /* Menor para mobile */
}

/* ESCONDE O BOTÃO CONTACTO DO HEADER EM MOBILE */
header .btn-contato {
    display: none !important;
}

    .btn-contato {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 20px;
}

/*MENU MOBILE*/
.menu-mobile .btn-fechar{
   padding: 20px 5%;
}

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

.menu-mobile nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 8%;
    text-align: right;
    list-style: none;
}

.menu-mobile a {
    color: #fff;
    text-decoration: none;
}
.menu-mobile nav ul li a{
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    
}

.menu-mobile nav ul li a:hover {
    background-color: #188CD0;
    transition: .2s;
}

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

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

    .menu-mobile.abrir-menu ~ .overlay-menu{
    display: block; /* Exibe a sobreposição quando o menu está aberto */
}

.overlay-menu{
    background-color: #000000a8;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 88888;
    display: none; /* Escondido por padrão */
}


/*TOPO DO SITE*/
section.topo-do-site .flex{
    gap: 40px;
}

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

.topo-do-site h1{
    font-size: 38px;
}

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

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

/*ESPECIALIDADES*/
section.especialidades{
    margin-top: auto;
    padding: 40% 8%;
}

.especialidades .flex{
    flex-direction: column;
    align-items: center;
}

  .especialidades-box i {
    display: block;
    text-align: center;
    font-size: 40px;
    margin: 0 auto 10px auto; /* centraliza horizontalmente */
  }

.especialidades-box h3{
    text-align: center;
}

/*SOBRE*/
section.sobre{
    padding: 80px 8%;
}
.sobre .flex{
    flex-direction: column;
    align-items: center;
}

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

.btn-baixar-cv {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  text-decoration: none; /* Remove o sublinhado */
}

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

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

/*PORTFOLIO*/
section.portfolio{
    padding: 80px 8%;
}

.portfolio-box{
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}
section.portfolio .flex{
    gap:60px
}

/*RODAPE*/
footer .flex{
    flex-direction: column;
    align-items: center;
}

.line-footer {
  margin: 0 auto;
  width: fit-content; /* ou uma largura fixa, ex: 300px */
}


}