@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Rosarivo:ital@0;1&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", serif;
    text-decoration: none;
    outline: none;
    border: none;
}

:root {
    --background: #EFEBE0;
    --rosa-claro: #f8e8e4;
    --rosa-escuro: #dc8676;
    --accent-dark: #0075af;
    --accent-light: #6199a9;
    --text-color: #363535;
    --white-area: #F7F7F7;
    --light-gray: #ccc;
    --dark-gray: #a59f9f;
}

html {
    font-size: 55%;
    overflow-x: hidden;
}

body {
    min-height: 100vh;
    font-weight: normal;
    line-height: 1.1;
    color: var(--text-color);
    background-color: var(--background);
}

header {
    height: 100vh;
    width: 30%;
    background: linear-gradient(var(--light-gray), var(--dark-gray));
    position: fixed;
    top: 0;
    left: -30%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: flex-start;
}

.logo {
    display: none;
}

.page-sections {
    min-height: 30%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.page-sections>a {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--accent-dark);
    text-transform: uppercase;
}

.page-sections>a:hover {
    font-weight: 600;
    color: var(--rosa-escuro);
}

.social {
    min-height: 30%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.social>a>svg {
    height: 3.2rem;
    fill: var(--accent-dark);
}

.social>a>svg:hover {
    fill: var(--rosa-escuro);
}

header.active {
    left: 0;
    z-index: 90;
}

.hamburger {
    padding: 4rem;
    position: absolute;
    left: 0;
    z-index: 99;
}

.ham-menu {
    height: 5rem;
    width: 5rem;
    margin-left: auto;
    position: relative;
}

.ham-menu span {
    height: 5px;
    width: 100%;
    background-color: var(--text-color);
    border-radius: 25px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ham-menu span:nth-child(1) {
    top: 25%;
}

.ham-menu span:nth-child(3) {
    top: 75%;
}

.ham-menu.active span:nth-child(1) {
    top: 50%;
    transform: translateX(-20px) rotate(45deg);
}

.ham-menu.active span:nth-child(2) {
    opacity: 0;
}

.ham-menu.active span:nth-child(3) {
    top: 50%;
    transform: translateX(-20px) rotate(-45deg)
}

.hero {
    height: 100dvh;
    width: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2),
            var(--rosa-claro)), url(images/hero.png);
    background-size: cover;
    background-position: bottom;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.lead {
    width: 100%;
    padding-left: 2rem;
    padding-right: 2rem;
    margin-bottom: 4rem;
}

h1 {
    font-family: "Rosarivo", serif;
    font-size: 3.2rem;
    font-weight: 800;
    opacity: 90%;
}

h2 {
    font-size: 2.4rem;
    font-weight: 500;
    text-align: left;
}

.lead>h2 {
    opacity: 75%;
    margin-top: 2rem;
}

.agendamento-btn {
    display: inline-block;
    font-size: 1.6rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    color: var(--text-color);
    background-color: var(--rosa-escuro);
    border: 2px solid var(--text-color);
    border-radius: 8px;
    padding: 1rem 1.2rem;
    margin-top: 4rem;
}

.agendamento-btn:hover {
    background-color: var(--rosa-claro);
}

#principal {
    width: 100%;
    padding: 3.2rem;
    background-color: var(--white-area);
}

#principal>h2 {
    text-align: center;
}

.cards-container {
    margin-top: 3.2rem;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 3rem;
}

.card {
    padding: 1rem 2rem 2rem 2rem;
    border: 1px solid var(--dark-gray);
    box-shadow: 0.5rem 1rem var(--light-gray);
}

.card>img {
    margin: 0 auto;
    display: block;
}

.card>p {
    font-size: 1.6rem;
    margin-top: 1.6rem;
}

h3 {
    font-size: 2rem;
    font-weight: 400;
    text-align: left;
}

#principal>h3 {
    margin-top: 4rem;
    text-align: left;
}

#tecnicas {
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

#tecnicas h2 {
    margin-top: 3.2rem;
}

.tecnica {
    margin-top: 3.2rem;
    padding: 2rem;
    border-radius: 2rem;
}

#tcc {
    background-color: var(--rosa-escuro);
}

#tbe {
    background-color: var(--accent-light);
}

.tecnica>* {
    font-size: 1.8rem;
}

.tecnica .title {
    font-weight: 600;
    text-decoration: underline 2px;
}

.tecnica p {
    margin-top: 2rem;
}

#servicos {
    padding: 2rem;
    background-color: var(--white-area);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

#servicos>h2 {
    margin-top: 3.2rem;
}

#servicos>h3 {
    margin-top: 3.2rem;
}

#servicos>.consulta {
    max-width: 540px;
    margin-top: 3.2rem;
    border: 1px solid var(--light-gray);
    border-radius: 2rem;
    padding: 4rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.tag {
    font-size: 2rem;
    color: var(--white-area);
    background-color: var(--accent-light);
    padding: 0.5rem 1.5rem;
    border: 1px solid #aaaddd;
    border-radius: 1.5rem;
    position: absolute;
    top: -1.5rem;
}

#servicos>.consulta>p:nth-child(2) {
    font-size: 1.6rem;
}

#sobre {
    margin-top: 3.2rem;
    margin-bottom: 12rem;
}

#sobre img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#sobre .curriculum {
    padding: 2rem;
}

#sobre>.curriculum>h2 {
    margin-top: 2rem;
}

#sobre>.curriculum>p {
    font-size: 1.6rem;
    margin-top: 4rem;
}


@media screen and (min-width: 601px) {
    .cards-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 812px) {

    html {
        font-size: 62.5%;
    }

    body {
        line-height: 1.6;
    }

    header {
        height: 4.8rem;
        width: 100%;
        background: unset;
        background-color: var(--white-area);
        position: static;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .page-sections {
        max-width: 48%;
        margin-left: 4%;
        flex-direction: row;
        justify-content: space-between;
    }

    .social {
        max-width: 24%;
        margin-right: 4%;
        flex-direction: row;
        justify-content: space-between;
    }

    .hamburger {
        display: none;
    }

    .hero {
        height: calc(100dvh - 4.8rem);
    }

    #tecnicas .tecnicas-container {
        max-width: 800px;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: min(10rem, 5%);
    }
}

@media screen and (min-width: 1200px) {

    .logo {
        height: 80%;
        width: 10%;
        display: block;
        margin-left: 4%;
    }

    .page-sections {
        max-width: 32%;
        margin-left: unset;
    }

    .social {
        max-width: 16%;
    }

    .hero {
        height: calc(50dvh - 4.8rem);
        background-color: var(--rosa-claro);
        background-image: url(images/bg.png);
        background-repeat: no-repeat;
        background-size: contain;
        background-position: right;
        border-bottom: 3px solid var(--rosa-escuro);
        justify-content: center;
        align-items: flex-start;
    }

    .lead {
        width: 50%;
    }

    .cards-container {
        grid-template-columns: repeat(3, 1fr);
    }

    #tecnicas {
        max-width: 1200px
    }

    #sobre {
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 2rem;
    }
}