
/* ESTILO GERAL*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background-color: #000000;
    height: 100vh;
}

.interface{
    max-width: 1280px;
    margin: auto;
}

.flex{
    display: flex;
}

.btn-contato button{
padding: 10px 40px;
font-size: 18px;
font-weight: 600;
background-color: #8E58B4;
border: 0;
border-radius: 30px;
cursor: pointer;
transition: .2s;
}

h2.titulo{
    color: #fff;
    font-size: 38px;
    text-align: center;
}

h2.titulo span{
    color: #8E58B4;
}

button:hover, form .btn-enviar input:hover{
    box-shadow: 0px 0px 8px #8128d4;
    transform: scale(1.05);
}

/* ESTILO DO CABEÇALHO */
header{
    padding: 40px 4%;
}

header > .interface{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a{
    color: #5c5c5c;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

header a:hover{
    color: #fff;
    transform: scale(1.05);
}
header nav ul{
    list-style-type: none;
}

header nav ul li{
    display: inline-block;
    padding: 0 40px;
}

.logo img{
    width: 200px;
    height: 130px;
}

.logo-footer img{
    width: 200px;
    height: 130px;
}

/* ESTILO 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{
    color: #fff;
    font-size: 42px;
    line-height: 40px;
}

.topo-do-site .txt-topo-site h1 span{
    color: #8E58B4;
    font-size: 55px;
}

.topo-do-site .txt-topo-site p{
    color: #fff;
    margin: 40px 0;
}

.topo-do-site .img-topo-site img{
    width: 500px;
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;

}

@keyframes flutuar{
    0%{
        top: 0;
    }
    100%{
        top: 30px
    }
}


/* ESTILO ESPECIALIDADES */
.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{
    transform: scale(1.05);
    box-shadow: 0 0 20px #807e7e;
}

.especialidades .especialidades-box i{
    font-size: 70px;
    color: #8E58B4;
}

.especialidades .especialidades-box h3{
    font-size: 28px;
    margin: 15px 0;
}

.portfolio .interface h2{
    font-size: 40px;
    line-height: 40px;
    margin-bottom: 30px;
}

/* ESTILO SOBRE */
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: 30px;
}

.sobre .txt-sobre h2 span{
    color: #8E58B4;
    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: #8E58B4;
    font-size: 22px;
    cursor: pointer;
    margin: 0 5px;
    transition: .2s;
}

.img-sobre img{
    width: 100%;
}

/* ESTILO PORTFÓLIO */
section.portfolio{
    padding: 80px 4%;
    box-shadow: 0 0 40px 10px #ffffff13;
}

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 FORMULARIO 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, 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: #8E58B4;
    color: #000000;
   font-weight: 600;
   cursor: pointer;
   transition: .2s;
}

/* ESTILO RODAPÉ */

footer{
    padding: 40px 4%;
    box-shadow: 0 0 40px 10px #ffffff13;
}

footer .flex{
    justify-content: space-between;
}

footer .line-footer{
    padding: 20px 0;

}

.borda{
    border-top: 2px solid #8E58B4
}

footer .line-footer p i{
    color: #8E58B4;
    font-size: 22px;
}

footer .line-footer p a{
    color: #fff;
}

footer small{
    display: block;
    text-align: center;
    margin-top: 25px;
    color: #fff;
}

@media screen and (max-width: 1020px){

    /* CLASSES GERAIS */
    .flex{
        flex-direction: column;
    }

    .topo-do-site .flex{
        flex-direction: column-reverse;
    }

        h2.titulo{
    font-size: 34px;
    line-height: 30px;
}

    /* CABEÇALHO */
    .menu-desktop, .btn-contato{
        display: none;
    }

    /* 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%;
}

/* ESTILO ESPECIALIDADES */
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%;
    border-radius: 5%;
}

/* PORTFOLIO */
section.portfolio{
    padding: 80px 8%;
}


.img-port{  
    width: 100%;
    height: 460px;
    margin: 0 auto;
  
}

section.portfolio .flex{
    gap: 60px;
}

/* RODAPÉ */
footer .flex{
    flex-direction: column;
    gap: 20px;
}

footer .line-footer{
    text-align: center;

}

footer small{
    font-size: 10px;
    
}
}

/* ESTILO DA PÁGINA OBRIGADO */
.obrigado {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: #000000;
    color: #fff;
    text-align: center;
    padding: 0 20px;
}

.obrigado-content h1 {
    font-size: 40px;
    color: #8E58B4;
    margin: 20px 0;
    animation: fadeInUp 1s ease forwards;
}

.obrigado-content p {
    font-size: 20px;
    margin-bottom: 30px;
    color: #fff;
    animation: fadeInUp 1.2s ease forwards;
}

.btn-voltar {
    display: inline-block;
    padding: 12px 30px;
    background: #8E58B4;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: 0.3s;
    animation: fadeInUp 1.4s ease forwards;
}

.btn-voltar:hover {
    background: #6e00ff;
}

/* ANIMAÇÃO DO CHECKMARK */
.checkmark {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}

.checkmark svg {
    width: 100px;
    height: 100px;
}

.checkmark-circle {
    stroke: #8E58B4;
    stroke-width: 4;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    stroke-linecap: round;
    fill: none;
    animation: draw-circle 0.6s ease-out forwards;
}

.checkmark-check {
    stroke: #8E58B4;
    stroke-width: 4;
    stroke-dasharray: 50;
    stroke-dashoffset: 50;
    stroke-linecap: round;
    fill: none;
    animation: draw-check 0.3s 0.6s ease-out forwards;
}

/* ANIMAÇÕES */
@keyframes draw-circle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes draw-check {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVO */
@media screen and (max-width: 768px) {
    .obrigado-content h1 {
        font-size: 30px;
    }
    .obrigado-content p {
        font-size: 18px;
    }
    .btn-voltar {
        padding: 10px 25px;
        font-size: 16px;
    }
}

/* CONTEINER DE CONFETI */
.confetti-container, .emoji-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 999;
}

/* CONFETI */
.confetto {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: red;
    top: -10px;
    opacity: 0.8;
    border-radius: 50%;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
    }
}

/* EMOJIS ANIMADOS */
.emoji {
    position: absolute;
    top: -30px;
    animation: emojiFall linear infinite;
}

@keyframes emojiFall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.9;
    }
}

/* BOTÃO COM EFEITO PULSO */
.btn-voltar {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* TEXTO COM EFEITO DE ONDA */
.wave-text {
    display: inline-block;
    animation: wave 1.5s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-5px); }
    50% { transform: translateY(0); }
    75% { transform: translateY(5px); }
}

/* ----- Estrelas suaves ----- */
.stars-container {
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    pointer-events:none;
    z-index:0;
}

.star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    opacity: 0.6;
    animation: twinkle 2s infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.3; }
}

/* ----- Confetes ----- */
.confetti-container, .emoji-container {
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    pointer-events:none;
    overflow:hidden;
    z-index:1;
}

.confetto {
    position: absolute;
    width: 8px; height:8px;
    background-color: red;
    top:-10px;
    opacity:0.8;
    border-radius:50%;
    animation: fall linear infinite;
}

@keyframes fall {
    to { transform: translateY(100vh) rotate(360deg); }
}

/* ----- Emojis ----- */
.emoji {
    position:absolute;
    top:-30px;
    animation: emojiFall linear infinite;
}

@keyframes emojiFall {
    to { transform: translateY(100vh) rotate(360deg); opacity:0.9; }
}

/* ----- Botão pulsando ----- */
.btn-voltar { animation: pulse 2s infinite; }
@keyframes pulse {
    0%,100%{ transform: scale(1);}
    50%{ transform: scale(1.1);}
}

/* ----- Texto onda ----- */
.wave-text { display:inline-block; animation: wave 1.5s ease-in-out infinite;}
@keyframes wave {
    0%,100%{ transform: translateY(0);}
    25%{ transform: translateY(-5px);}
    50%{ transform: translateY(0);}
    75%{ transform: translateY(5px);}
}

.confetto, .emoji, .star, .btn-voltar, .wave-text {
    will-change: transform, opacity;
}

.confetto, .emoji, .star {
    backface-visibility: hidden;
    transform-style: preserve-3d;
}

/* ===== EFEITOS VISUAIS ADICIONADOS ===== */

/* Fundo de Estrelas */
.stars-container{
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    z-index:-1;
    pointer-events:none;
    overflow:hidden;
}

.star{
    position:absolute;
    width:2px;
    height:2px;
    background:white;
    border-radius:50%;
    opacity:0.7;
    animation: twinkle 2s infinite ease-in-out alternate;
}

@keyframes twinkle{
    0%{ opacity:0.2; }
    50%{ opacity:1; }
    100%{ opacity:0.2; }
}

/* Confetes */
.confetti-container{
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    z-index:-1;
    pointer-events:none;
    overflow:hidden;
}

.confetto{
    position:absolute;
    width:8px;
    height:8px;
    border-radius:50%;
    opacity:0.9;
    animation: fall linear infinite;
}

@keyframes fall{
    to{ transform: translateY(110vh) rotate(360deg); }
}

/* Tilt 3D nos cards da primeira página */
section.especialidades .especialidades-box{
    transition: transform 0.15s;
    transform-style: preserve-3d;
}

section.especialidades .especialidades-box:hover{
    transform: perspective(3000px) rotateX(0deg) rotateY(0deg);
}

/* Cursor com leve glow */
body{
    cursor: default;
}

button, a, .especialidades-box{
    cursor: pointer;
}




