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

body {
    background-color: black;
    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: #d16b94;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s;
} button:hover, form .btn-enviar input:hover {  
    box-shadow: 0px 0px 8px #f4a1b7c9;
    transform: scale(1.05);
}

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

h2.titulo span {
    color: #d16b94;
}

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

}

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


/*GATO*/
.gato {
    color: #f4a1b7;
}#perfil {
    border-radius: 50%;
    box-shadow: #f4a1b7 0px 0px 16px;
    width: 400px;
    height: auto;
} #pessoal {
    border-radius: 20px;
}

.gato_escuro {
  color: #d16b94;
}

.branco {
  color: #fff;
}

header a {
    text-decoration: none;
    color: #535353;
    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;
}

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

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

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

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

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

.topo-do-site .img-topo-site img{
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
}

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


/*ESTILO DAS ESPECIALIDADES*/
section.especialidades {
    padding: 80px 4%;
}

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

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

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

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

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

/*ESTILO DO SOBRE*/
section.sobre {
    padding: 110px 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: #d16b94;
    display: block;
}

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

.btn-social button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    background-color: #d16b94;
    font-size: 25px;
    margin: 0 5px;
    transition: .2s;
}


/*ESTILO PORTFÓlIO*/
section.portfolio {
    padding: 80px 4%;
}

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

.img-port {
    width: 360px;
    height: 460px;
    background-size: cover;
    background-position: 100% 0%;
    transition: 5s;
    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%;
    background-color: rgba(0, 0, 0, 0.685);
    color: #fff;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 600;
    opacity: 0;
    transition: .4s;
}

.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, form textarea {
    width: 100%;
    background-color: #4444442a;
    color: #fff;
    border: 0;
    border-radius: 15px;
    outline: 0;
    padding: 20px 15px;
    font-size: 16px;
}

form textarea {
    resize: none;
    height: 250px;
}

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

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

/*ESTILO DO RODAPE*/
footer {
    padding: 40px 4%;
}

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

footer .line-footer {
    padding: 40px 0;

}

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

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

footer .line-footer p a {
    color: #2b2b2b;
    text-decoration: none;
    transition: .2s;
}

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

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

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

    /*Geral*/
    .flex{
        flex-direction: column;
    }

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

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


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

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

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

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

    #perfil {
        width: 100%;
    }

    /*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%;
    }

    /*PORTFÓLIO*/
    section.portfolio {
        padding: 80px 8%;
    }

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

    section.portfolio .flex {
        gap: 40px;
    }

    /*RODAPE*/
    footer .line-footer {
        text-align: center;
    }
}

/*MENSAGEM*/
.mensagem-sucesso {
    background-color: #4caf50;
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px auto;
    position: relative;        /* <- ESSENCIAL para o X ficar posicionado dentro */
    text-align: center;
    font-weight: bold;
    opacity: 1;
    transition: opacity 0.6s ease;
    width: 60%;
    max-width: 600px;
}

.fechar-msg {
    position: absolute;       /* <- fixa em relação à div pai */
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}