* {
    padding: 0;
    box-sizing: border-box;
    margin: 0;
    scroll-behavior: smooth;

}
html{
    overflow-x: hidden;
    background-color: var(--bg-claro);
    font-family: var(--font-texto);
}

:root {
    font-size: 62.5%;
    --text-cor: #ffff;
    --bg-claro:#dad3d3;
    --transparencia--black: rgba(0, 0, 0, .6);
    --bg-cor: rgb(37, 37, 37);
    --bg-card:rgba(46, 45, 45, 0.7);
    --bg-card-atuacao:rgba(68, 67, 67, 0.7);
    --font-texto: "Montserrat", sans-serif;

    --cor-error:red;
}

header::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;

    width: 100%;
    height: 100%;
    background: url(./imagens/Sessao1.png) no-repeat center center;
    background-size: cover;
}

header{
    position: relative;
    min-height: 100%;
}

.hamburguer{
    background-color: transparent;
    cursor:pointer;
    display: none;
    border: none;
    width: 4rem;
    height: 4rem;
}
.ativar{
    display: flex;
}
.imgHamburguer{
    font-size: 3rem;
    color: var(--text-cor);
}

nav {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 0 3rem;
    justify-content: space-between;

    background-color: var(--transparencia--black);

    animation: surgir 1.8s ease-in-out;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: space-between;
    margin-left: 11rem;

    width: 60rem;

    font-size: 3rem;
    color: var(--text-cor);
}

nav ul li {
    border: 4px solid transparent;
    transition: border-bottom .4s;
    font-size: 2.4rem;
}

nav ul li:hover {
    border-bottom: 4px solid rgb(206, 206, 206);
}

.redesCima{
    font-size: 3rem;
    color: var(--text-cor);
    animation: desentortar .4s linear;
}

a {
    cursor: pointer;
    color: inherit; 
    text-decoration: none;
}

.redesCima:hover {
    animation: entortada .4s forwards;
}

aside {
    height: 109rem;
    width: 100%;

    margin: 0;
    text-align: center;
    width: 100%;
    background: var(--transparencia--black);
    color: var(--text-cor);

}

aside h2 {
    font-size: min(8rem, 12rem);

    animation: entrarRight 1.2s ease-in-out;
}

aside p {
    font-size: min(2.5rem, 4rem);
    margin-top: 2rem;

    animation: entrarLeft 1.2s ease-in-out;
    font-weight: 400;
}

.texto {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;

    text-align: center;
    justify-content: center;
}

.texto q {
    margin-top: 2rem;
    font-size: 2rem;

    animation: surgir 1.8s ease-in;
}

/*MAIN*/

main{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cards {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 4rem;
    padding: 3rem;

    height: auto;
    width: 100%;
    background-color: var(--bg-cor);
}

.cartao {
    width: min(50rem, 58rem);
    background-color: var(--bg-card);
    padding: 2rem;
    border-radius: 12px;
    height: auto;

    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25), 0 10px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cardsButton{
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.cartao:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 15px 20px rgba(0, 0, 0, 0.25);
}

.cartao ion-icon {
    border-bottom: 2px solid rgb(255, 255, 255);
    color: var(--text-cor);
    font-size: 15rem;
}

.cartao p {
    color: var(--text-cor);
    font-size: 4rem;
    margin-top: 4rem;
    text-align: center;
}

/*Sobre o Personal*/

.central{
    width: auto;
    padding: 0 2rem;
    margin: 2rem;
}
.personal{
    display: flex;
    justify-content: center;
}

.back {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-cor);
    width: 88%;

    padding: 4rem 2rem;
    border-radius: 8rem;
    align-items: center;
}

.textoPersonal {
    width: min(80rem, 84rem);
    padding: 2rem;
    color: var(--text-cor);
    height: max-content;
    margin-right: 4rem;

    display: flex;
    align-items: center;
}

.textoPersonal p {
    font-size: 3rem;
    line-height: 5rem;
    text-align: justify;
    min-width: 30rem;
}

.cartaoImg h1 {
    font-size: 4rem;
    color: var(--text-cor);
    text-align: center;
    margin-top: 2rem;
}

.imgPersonal {
    height: 65rem;
    width: auto;
    border-radius: 3rem;
    object-fit: contain;

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25), 0 10px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.imgPersonal:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35), 0 15px 20px rgba(0, 0, 0, 0.25);
}

.textoPersonal span {
    margin-right: 6rem;
}

/*Formulario*/

.email {
    width: 100%;
    background-color: var(--bg-cor);
    padding: 9rem 0rem;

    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.email h1{
    font-size: 10rem;
    color:var(--text-cor);
    margin-bottom: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    font-size: 4rem;
    margin: 0 20rem;
    width: 65rem;

    color: var(--text-cor);
    background-color: rgba(61, 60, 60, 0.8);
    border-radius: 3rem;
    padding: 3rem;
    gap: 2px;
}

form input {
    line-height: 4rem;
    border-radius: 10px;
    padding: 5px;
    border: 3px solid transparent;
    transition: border .6s ease-in;
    margin-bottom: .5rem;

    font-size: 2rem;
    width: auto;
}

form input::placeholder,textarea::placeholder{
    color:rgba(136, 131, 131,.5);
}

form textarea {
    height: 8rem;
    padding: 2px;
    border-radius: 10px;
    margin-bottom: 2rem;
    border: 3px solid transparent;
    width: 100%;

    font-size: 2rem;

    resize: vertical;

    transition: border .6s ease-in;
}

input:focus, textarea:focus,
input:hover, textarea:hover
{
    outline: none;
    border: 3px solid #575858;
    box-shadow: 0 0 0 0.8rem #26344a;
}

label {
    margin-bottom: .5rem;
    font-weight: 700;
}

form button {
    padding: 3px;
    font-size: 3rem;
    text-align: center;
    width: 20rem;
    height: auto;
    margin: auto;
    cursor: pointer;
    border-radius: 2rem;
    font-weight: bold;
    border:none;
    transition: background-color .4s ease-in-out;
    font-family: var(--font-texto);

    outline: none;
}
form button:hover{
    background-color: rgb(77, 76, 76);
    color:var(--text-cor);
}

form button:disabled{
    cursor:not-allowed;
    background-color: #575858;
}

/*Sucesso e erro*/

.success, .error{
    text-align: center;
}

/*áreas de atuação */
.atuacao{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--bg-cor);
    border-radius:  25px;
    width: 150rem;
    padding: 6rem;
}

.atuacao h1{
    font-size: 10rem;
    color:var(--text-cor);
}
.atuacao-card{
    display: flex;
    flex-direction: row;
    object-fit: cover;
    gap:2rem;
    padding: 2rem;
    margin-bottom: 4rem;
    border-radius: 20px;
    width: fit-content;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25), 0 10px 15px rgba(0, 0, 0, 0.2);

    background-color: var(--bg-card-atuacao);
    transition: transform .4s;


}

.atuacao-card:hover{
    transform: scale(1.05);
}


.atuacao-card img{
    border-radius: 15px;
    height: 100%;
    width: 55rem;

    transition: filter .5s;
}

.atuacao-card img:hover{
    filter: contrast(1.75);
}

/*footer*/

footer{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8rem;
    background-color: var(--bg-cor);
    color:var(--text-cor);
}

.footerCentral{
    width: 60rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-titulo h1{
    font-size: 4rem;
    text-align: center;
    margin-bottom: 50px;
}
footer p{
    font-size: 2rem;
    text-align: center;
}

.sub-social{
    display: flex;
    align-items: center;
    justify-content: center;
    gap:5px;
    width: 60rem;
}

.conjunto{
    display: flex;
    justify-content: center;
    align-items: center;
    gap:10px;
    width: 40rem;
    font-size: 1.8rem;
}

footer ion-icon{
    font-size: 3rem;
    color: var(--text-cor);
    cursor: pointer;
    transition: transform .4s linear;
}
footer div{
    width: 50rem;
    margin-top: 15px;
    padding: 4px;
}

.Copyrigh{
    margin-top: 15px;
    font-size: 1.4rem;
}

footer ion-icon:hover{
    transform: scale(1.2);
}

/*Responsividade*/

@media (max-width:850px){

    body{
        overflow-x: hidden;
    }
    /*header*/
    aside{
        height: 70rem;
        padding: 6rem;
    }

    .texto h2{
        font-size: 6rem;
    }

    .texto p{
        font-size: 2rem;
    }
    .hamburguer{
        position: fixed;
        z-index: 1;
        top:8px;
        right:2px;
        display: block;
    }

    nav ul{
        position: fixed;
        top:50px;
        right:10px;

        background-color: var(--bg-cor);

        flex-direction: column;
        justify-content: space-between;
        max-width: 20rem;
        gap:2px;
        padding: 8px;
        border-radius: 8px;
        z-index: 1;
    }

    .headerDivisao{
        display: none;
    }

    .ativar{
        display: none;
    }

    /*Cartão*/
    .cards{
        flex-direction: column;
        align-items: center;
        justify-items: center;
    }
    .cards .cartao{
        width: 32rem;
    }
    .cartao p{
        font-size: 2.5rem
    }

    /*Personal*/
    .central{
        padding: 0;
    }
    .back{
        flex-direction: column-reverse;
        padding: 2rem rem;
        width: 60rem;
        align-items: center;
        justify-items: center;
        margin:0;
    }

    .textoPersonal{
        width: 40rem;
        text-align: center;
        margin-right:0;
        padding: 1rem;
    }
    .textoPersonal p {
        font-size: 2rem;
        line-height: 2.8rem;
    }
    .imgPersonal{
        height: 30rem;
    }

    /*form*/
    .email{
        height: 60rem;
    }

    .email h1{
        font-size: 6rem;
    }

    form label{
        font-size: 2rem;
    }
    form{
        width: 38rem;
    }
    form input{
        width: auto;
    }

    /*áreas de atuação*/

    iframe{
        display: none;
    }
    
    .atuacao{
        width: 55rem;
        padding: 1rem;
    }
    .atuacao h1{
        font-size: 3rem;
        margin-bottom: 5rem;
    }
    .atuacao-card img{
        object-fit: contain;
        width: 30rem;
    }

    /*Footer*/

    footer{
        padding: 0;
    }
    .footerCentral{
        width: 40rem;
    }
    .footer-titulo h1{
        font-size: 2rem;
    }
    .footer-titulo {
        width:40rem;
    }
    .footer-titulo p, .sub-social p{
        font-size: 14px
    }
    .sub-social{
        width: 38rem;
    }
    .Copyrigh{
        margin-bottom: 2rem;
    }
}

/*ANIMAÇÕES*/
@keyframes entortada {
    from {
        transform: rotate(0);
    }

    to {
        transform: rotate(10deg) scale(1.2);
    }
}

@keyframes desentortar {
    from {
        transform: rotate(10deg) scale(1.2)
    }

    to {
        transform: rotate(0) scale(1);
    }
}

@keyframes surgir{
    from{
        opacity: 0;
    }
    to{
    }
}

@keyframes entrarRight{
    from{
        transform: translateX(-150vh);
    }to{

    }
}

@keyframes entrarLeft{
    from{
        transform: translateX(150vh);
    }
}
