@import url('https://fonts.googleapis.com/css2?family=Libre+Caslon+Display&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&display=swap');

@font-face {
    font-family: 'Allrounder';
    src: url('./assets/fonts/allroundermonumenttest-regular.otf') format('otf');
    font-display: swap;
}

@font-face {
    font-family: 'Baskerville';
    src: url('./assets/fonts/baskerville-old-face.ttf') format('ttf');
    font-display: swap;
}

@font-face {
    font-family: 'Berlin';
    src: url(./assets/fonts/berlin-sans-fb-3.ttf) format('ttf');
    font-display: swap;
}

@font-face {
    font-family: 'weezerfont';
    src: url('./assets/fonts/weezerfont.ttf') format('ttf');
    font-display: swap;
}

:root {
    --frist: #DDB7AC;
    --second: #999B85;
    --second-light: #95ba9d;
    --dark: #696a59;
}

html {
    scroll-padding-top: 5em;
    scroll-behavior: smooth;
}

* {
    -webkit-tap-highlight-color: transparent;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    text-decoration: none;
    transition: all 0.4s ease;
}

body {
    display: flex;
    flex-direction: column;
}

h1 {
    font-family: "Baskerville", serif;
    font-weight: 400;
    font-size: 2.5em;
}

/* Animações */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-active {
    opacity: 1;
    transform: translateY(0);
}

.slide-left {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-right {
    opacity: 0;
    transform: translateX(10px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.slide-active {
    opacity: 1;
    transform: translateX(0);
}

.zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.zoom-in-active {
    opacity: 1;
    transform: scale(1);
}

/* NavBar */

.navbar {
    z-index: 3;
    position: fixed;
    height: 4.5em;
    display: flex;
    width: 100%;
    justify-self: center;
    align-self: center;
    top: 0;
    background-color: white;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 2px 20px #0000006b;
}

.nav {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    padding: 0em 1em;

}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1em;
}

.nav-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: none;
    color: var(--second-light);
    font-size: 2em;
    cursor: pointer;
    transition: transform 0.3s ease;
    border-radius: 50%;
    border: 1px solid transparent;
    width: 40px;
    height: 40px;
    -webkit-tap-highlight-color: transparent;
}

.nav-btn:hover {
    transform: scale(1.1);
}

.next-btn {
    background-color: var(--second-light);
    color: white;
}

.prev-btn {
    border-color: var(--second-light);
}

.entrevista-botoes {
    display: flex;
    gap: 10px;
}

.dots-entrevistas {
    display: flex;
    justify-content: center;
    gap: 0.5em;
    margin-top: 1em;
}

.dot-entrevista {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #e1e1e1;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot-entrevista.active {
    background-color: var(--frist);
}

/* Main */

main {
    background-color: var(--second);
    margin-top: 4.5em;
    padding: 1em;
    position: relative;
    overflow: hidden;

}

.inner-main {
    border-radius: 2px;
    display: grid;
    gap: 1em;
    z-index: 2;
    position: relative;
    justify-items: center;
    background-color: white;
    padding: 1em 1.5em;
    padding-top: 0;
    border: 3px solid var(--second);
    border-radius: 0.3em;
}

.inner-main p {
    width: 95%;
    text-align: justify;
    font-size: 14px;
    padding-bottom: 20px;
}

.img-main {
    position: relative;
    margin-bottom: -2em;
    width: 130%;
    top: 0;
}

.text-main {
    display: grid;
    justify-items: center;
    text-transform: uppercase;

    h1 {
        line-height: 30px;
        font-size: 2.2em;
        color: var(--frist);
        font-weight: 300;
    }

    h3 {
        font-size: 22px;
        color: var(--second);
        font-weight: 300;
    }
}

/* Second Screen */

.second-screen {
    background-color: var(--frist);
    margin-top: 0.3em;
    padding: 1em;
    position: relative;

}

.second-screen-inner {
    z-index: 1;
    border-radius: 2px;
    height: 550px;
    display: flex;
    justify-content: space-between;
    gap: 1em;
    position: relative;
    justify-items: center;
    padding: 1em;
    margin-bottom: 1em;
}

.second-div-left {
    display: grid;
    width: 60%;
    color: white;
    text-align: start;
    align-items: center;

    h1 {
        font-size: 2.2em;
        line-height: 0;

    }

    p {
        font-size: 0.68em;
        font-weight: 500;
    }
}

.second-div-right {
    width: 25%;
    display: flex;
    align-items: baseline;

    img {
        position: absolute;
        width: 250px;
        left: 62%;
        margin-top: 70px;
        z-index: -1;
    }

}

.second-screen-formacao {
    display: grid;
    background-color: white;
    position: relative;
    text-align: start;
    padding: 1em 1em;
    border-radius: 0.3em;

    h1 {
        color: var(--second);
        padding-bottom: 0.3em;
        margin-left: 0.7em;

        img {
            vertical-align: top;
            margin-right: 0.7em;
            height: 45px;
        }
    }

    p {
        border: 2px solid var(--second);
        border-radius: 5px;
        padding: 1em;
        font-size: 0.9em;
    }

}

.linha {
    display: flex;
    width: 100%;
    justify-content: center;

    hr {
        color: var(--frist);
        border-bottom: none;
        opacity: 80%;
        width: 90%;
        justify-items: center;
    }
}


.third-screen,
.four-screen {
    display: grid;
    gap: 1em;
    padding: 1em;
    justify-items: center;
    text-align: center;

    h1 {
        color: var(--frist);
    }

    ul {
        padding-bottom: 2em;
        width: 80%;
        text-align: start;
    }
}

.third-screen h3 {
    width: 100%;
    text-align: start;

}

.content-four-screen {
    width: 100%;
    gap: 1em;
    display: grid;
}

/* Componentes */
.carrossel {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;

    div {
        display: grid;

        a {
            text-decoration: none;
            color: var(--second-light);
            font-size: 18px;
            border-radius: 5px;
            border: 1px solid var(--second-light);
            padding: 0.2em 0.5em;
        }

        p {
            margin-block: 1em;
            font-size: 15px;
            text-align: center;
        }

        h3 {
            flex-wrap: wrap;
            width: auto;
            background-color: var(--second-light);
            color: white;
            padding-inline: 1em;
            border-radius: 10px;
        }
    }
}

.carrossel .artigos {
    width: 90%;
    position: absolute;
    top: 0;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s, transform 0.5s;
    z-index: 1;
    display: grid;
    justify-items: center;

}

.carrossel .artigos.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.carrossel .artigos.exit-left {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}

.carrossel .artigos.exit-right {
    opacity: 0;
    transform: translateX(100%);
    z-index: 1;
}

.dots {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 5px;
}

.dot {
    height: 8px;
    width: 8px;
    background-color: #e1e1e1;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.carrossel-entrevistas-container {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrossel-entrevistas {
    position: relative;
    height: 100%;
    overflow: hidden;
    width: 65%;
    display: flex;
    justify-content: center;
}

.carrossel-entrevista-left {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    text-align: start;
    gap: 15px;
    width: 40%;

    h2 {
        color: var(--second-light);
        font-size: 25px;
        font-weight: 800;
        text-decoration: underline;
        text-decoration-style: wavy;
        text-decoration-thickness: 2px;
    }

    p {
        color: var(--dark);
        font-size: 13px;
        font-weight: 300;
    }
}

.carrossel-entrevistas .materia {
    width: 95%;
    height: 90%;
    position: absolute;
    gap: 10px;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.5s, transform 0.5s;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: start;
    text-align: start;
    background-color: whitesmoke;
    box-shadow: -2px 5px 5px rgba(0, 0, 0, 0.203);
    border-radius: 5px;
    padding-bottom: 10px;

    a {
        border: none;
        padding: 0;

    }

    h3 {
        padding-inline: 10px;
        font-size: 20px;
    }

    img {
        width: 100%;
        height: 100%;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }

    p {
        padding-inline: 10px;
        font-size: 12px;
        font-weight: 300;
        color: var(--dark);
    }

    .saiba-mais {
        text-decoration: none;
        color: black;
        font-size: 14px;
        padding-inline: 10px;
    }
}


.carrossel-entrevistas .materia.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.carrossel-entrevistas .materia.exit-left {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}

.carrossel-entrevistas .materia.exit-right {
    opacity: 0;
    transform: translateX(100%);
    z-index: 1;
}

.on {
    background-color: var(--second-light);
}

.stop {
    overflow-y: hidden;
}

.exit {
    position: absolute;
    top: 0.2em;
    right: 0.5em;
    font-size: 40px;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
}

.box {
    display: flex;
    width: 100%;
    height: 12em;
    border: 2px solid var(--frist);
    border-radius: 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    h1 {
        width: 80%;
        font-size: 1.6em;
        font-weight: 600;
        text-transform: uppercase;
        font-family: "Baskerville", serif;
        filter: drop-shadow(0 0 5px rgb(0, 0, 0));
        color: #fff;
    }
}

.cisto-box {
    display: grid;
    justify-content: start;
    width: 90%;
    z-index: -1;
    transform: translateY(20px);
    background-color: white;
    transition: opacity 0.2s, transform 1s;

    ul {
        margin-left: 3em;
    }
}

.crm {
    border: 1px solid black;
    border-radius: 5px 0 5px 0;
    padding-inline: 0.4em;
    font-size: 10px;
}

.logo {
    text-decoration: none;
    display: flex;
    justify-content: center;

    img {
        width: 7vh;
    }
}

.button {
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 14px;
    background-color: var(--frist);
    color: white;
    padding: 0.7em;
    border-radius: 5px;
    box-shadow: 0px 5px 10px #89898960;
}

.button:hover {
    transform: scale(1.01);
    box-shadow: 0px 7px 15px #89898980;
}

.menu {
    cursor: pointer;
    font-size: 40px;
    color: #000;
    background: none;
    border: none;
}

.warp {
    position: relative;
    overflow: hidden;
}

.a1 {
    position: absolute;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    top: 2em;
    left: -8em;

    img {
        width: 17em;
    }
}

.a2 {
    position: absolute;
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    top: 54em;
    right: -8em;

    img {
        width: 17em;
    }
}

.itens-menu {
    overflow-y: hidden;
    z-index: 4;
    position: fixed;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow: -1px 0 20px #5e5e5ebe;
}

.itens-menu-inner ul a {
    -webkit-tap-highlight-color: transparent;
}

.itens-menu-inner {
    width: 100%;
    display: grid;
    justify-content: center;
    align-self: center;
    margin-top: 5em;

    ul {
        display: grid;
        list-style: none;
        text-align: right;

        a {
            text-decoration: none;
            color: #000;
            font-weight: 600;
            font-size: large;
            border-bottom: 2px solid #000;
            padding: 0.5em;

        }

        a:active,
        a:focus {
            outline: none;
            background: none;
            box-shadow: none;
        }
    }

    li {
        display: grid;
    }
}

.itens-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 3;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.screen-especialidades {
    pointer-events: none;
    left: 0;
    visibility: hidden;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    z-index: 3;
    width: 100%;
    height: 100vh;
    background-color: #00000092;

    .menu {
        color: #fff;
        width: 50px;
        margin-top: 0.4em;
    }
}

.screen-especialidades.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.inner-especialidades {
    padding: 1.5em;
    overflow-y: scroll;
    width: 70%;
    height: 70vh;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    text-align: start;

    h3 {
        text-align: center;
    }
}

footer {
    box-shadow: inset 0 5px 20px -10px rgba(0, 0, 0, 0.738);
    background-color: var(--dark);
    padding: 1em;
    font-size: 12px;
    color: white;
    margin-top: 2em;
}

.footer-inner {
    display: grid;
    justify-content: center;
    text-align: center;
    gap: 1em;
    margin-block: 1em;
}

.footer-top {
    display: flex;
    justify-content: center;
    margin-bottom: 2em;
    border-bottom: 1px solid rgb(255, 255, 255);
    padding-bottom: 2em;

    img {
        height: 50px;
    }

}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: start;
}

.top-left {
    display: grid;
    text-align: justify;
    gap: 0.5em;
    width: 50%;

    h1 {
        font-size: 1.3em;
    }

    p {
        font-size: 0.8em;
    }

    div {
        display: grid;
        gap: 0.5em;
    }
}

.top-right {
    width: 40%;
    display: grid;
    gap: 0.5em;
    text-align: start;

    h1 {
        font-size: 1.3em;
    }
}


.hidden {
    transition: opacity 1s, transform 0.2;
    opacity: 0;
    height: 0px;
    transform: translateY(-100px);
}

.link-footer {
    display: flex;
    gap: 0.4em;

    a,
    p {
        font-size: 0.8em;
    }

    a {
        color: white;
        text-decoration: underline;
    }
}


/* LOAD */
#loader-wrapper {
    position: fixed;
    /* Mantém a tela de loading fixa na tela */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
    /* Fundo branco */
    display: flex;
    /* Centraliza o spinner */
    justify-content: center;
    align-items: center;
    z-index: 5;
    /* Garante que fique acima de todo o conteúdo */
    transition: opacity 0.7s ease;
    /* Adiciona uma transição suave para o desaparecimento */
}

/* O spinner (a animação de círculo girando) */
.loader {
    width: 100px;
    animation: pulse 2s linear infinite;
    /* Aplica a animação */
}

#img-second {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

#img-second[src] {
    opacity: 1;
}

/* Animação de rotação */
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.desk {
    display: none;
}

.inner-third {
    display: grid;
    gap: 1em;
}

/* Desktop */
@media (min-width: 1024px) {
    .navbar {
        height: 5.5em;
    }

    .a1 {
        left: -12%;
        top: -5%;

        img {
            width: 30em;
        }
    }

    .a2 {
        right: -12%;
        top: 40em;

        img {
            width: 30em;
        }
    }

    .mobile {
        display: none;
    }

    .desk {
        display: grid;
    }

    main {
        padding-top: 2em;
        padding: 3em;
    }

    .button {
        font-size: 16px;
    }

    .inner-main {
        align-items: center;
        border-radius: 2px;
        display: flex;
        gap: 1em;
        z-index: 2;
        position: relative;
        justify-items: center;
        background-color: white;
        padding: 1em;
        border: 3px solid var(--second);
        border-radius: 0.4em;
    }

    .inner-main p {
        font-size: 1.6em;
        padding-bottom: 0px;
    }

    .img-main {
        width: 40%;
        margin-block: -5em;
    }

    .text-main {
        justify-items: start;
        text-align: start;
        width: 56%;
        margin-top: 0;
        display: grid;
        gap: 0;
        align-items: center;
        text-transform: none;

        h1 {
            text-transform: uppercase;
            line-height: 30px;
            font-size: 4em;
            color: var(--frist);
            font-weight: 300;
        }

        h3 {
            text-transform: uppercase;
            font-size: 2.5em;
            color: var(--second);
            font-weight: 300;
        }
    }

    .crm {
        font-size: 1em;
        margin-bottom: 1em;
    }

    .itens-menu {
        width: 20%;
    }

    .itens-menu-inner {
        width: 100%;
        display: grid;
        justify-content: end;

        ul {
            gap: 0.5em;
            margin-inline: 2em;
            width: 300px;

            a {
                font-size: 26px;
            }
        }
    }

    /* Second Screen */

    .second-screen {
        background-color: var(--frist);
        margin-top: 0.3em;
        padding: 1em;
        position: relative;

    }

    .second-screen-inner {
        z-index: 1;
        border-radius: 2px;
        height: auto;
        display: flex;
        justify-content: space-between;
        gap: 1em;
        position: relative;
        justify-items: center;
        padding: 1em;
        margin-bottom: 3em;
    }

    .second-div-left {
        display: grid;
        width: 50%;
        margin-left: 6em;
        gap: 3em;
        color: white;
        text-align: start;
        align-items: center;

        h1 {
            font-size: 5em;
            line-height: normal;
        }

        p {
            font-size: 1.6em;
        }
    }

    .second-div-right {
        width: 30%;
        display: flex;
        align-items: baseline;

        img {
            left: auto;
            position: absolute;
            width: 600px;
            margin-top: 7%;
            z-index: -1;
        }

    }

    .second-screen-formacao {
        display: grid;
        background-color: white;
        position: relative;
        text-align: start;
        padding: 1em 1em;
        margin-left: 7em;
        z-index: 2;
        margin-bottom: 1em;
        width: 50%;

        h1 {
            color: var(--second);
            padding-bottom: 0.3em;
            margin-left: 0.7em;
            font-size: 5em;

            img {
                vertical-align: top;
                margin-right: 0.5em;
                height: 85px;
            }
        }

        p {
            border: 2px solid var(--second);
            border-radius: 5px;
            padding: 1em;
            font-size: 1.6em;
        }

    }

    .inner-third {
        display: flex;
        gap: 1em;
        width: 100%;
    }

    .screen-especialidades {
        pointer-events: none;
        left: 0;
        visibility: hidden;
        opacity: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        z-index: 3;
        width: 100%;
        height: 100vh;
        background-color: #00000092;

        .menu {
            color: #fff;
            width: 50px;
            margin-top: 0.4em;
        }
    }

    h1 {
        font-size: 5em;
    }

    .box {
        height: 25em;

        h1 {
            font-size: 2em;
        }
    }

    .content-four-screen {
        display: grid;
        gap: 2em;
    }

    .carrossel {
        position: relative;
        overflow: hidden;
        min-height: 300px;
        max-height: 700px;
        display: flex;
        align-items: center;
        justify-content: center;

        div {
            display: grid;

            a {
                text-decoration: none;
                color: var(--second-light);
                font-size: 1.6em;
                border-radius: 5px;
                border: 1px solid var(--second-light);
                padding: 0.2em 0.5em;
                cursor: pointer;
            }

            p {
                margin-block: 1em;
                font-size: 1.6em;
                text-align: center;
            }

            h3 {
                flex-wrap: wrap;
                width: auto;
                background-color: var(--second-light);
                color: white;
                padding-inline: 1em;
                border-radius: 10px;
                font-size: 2em;
                width: fit-content;
            }
        }
    }

    .carrossel .artigos {
        width: 80%;
        position: absolute;
        top: 0;
        opacity: 0;
        transform: translateX(100%);
        transition: opacity 0.5s, transform 0.5s;
        z-index: 1;
        display: grid;
        justify-items: center;
    }

    .third-screen,
    .four-screen {
        margin-block: 2em;
    }

    .third-screen h3 {
        font-size: 2em;
    }

    .carrossel-entrevistas-container {
        position: relative;
        height: 650px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5em;
    }

    .carrossel-entrevistas {
        position: relative;
        height: 100%;
        overflow: hidden;
        width: 700px;
        display: flex;
        justify-content: center;
    }

    .carrossel-entrevista-left {
        width: 30%;
        margin-left: 10%;
        h2 {
            font-size: 80px;
            text-decoration-thickness: 3px;
        }

        p {
            color: var(--dark);
            font-size: 30px;
            font-weight: 300;
        }
    }

    .carrossel-entrevistas .materia {
        width: 95%;
        box-shadow: -2px 5px 5px rgba(0, 0, 0, 0.203);
        a {
            border: none;
            padding: 0;
            margin-bottom: 20px;
        }

        h3 {
            padding-inline: 10px;
            font-size: 25px;
        }

        img {
            width: 100%;
            height: 100%;
            border-top-left-radius: 5px;
            border-top-right-radius: 5px;
        }

        p {
            padding-inline: 10px;
            font-size: 15px;
            font-weight: 300;
            color: var(--dark);
        }

        .saiba-mais {
            text-decoration: none;
            color: black;
            font-size: 20px;
            padding-inline: 10px;
        }
    }

    .nav-btn{
        width: 60px;
        height: 60px;
        font-size: 60px;
    }

    footer {
        font-size: 1em;
        padding-block: 4em;

        p i {
            font-size: 1.4em;
        }
    }

    .footer-inner {
        justify-content: unset;
    }

    .footer-top {
        img {
            height: 80px;
        }
    }

    .link-footer {
        display: flex;
        gap: 0.4em;

        a,
        p {
            font-size: 0.9em;
        }

        a {
            color: white;
            text-decoration: underline;
        }

    }

    .inner-especialidades {
        gap: 1em;
        font-size: 1.2em;

        h3 {
            font-size: 2em;
        }
    }

    .cisto-box {
        justify-content: end;
    }
}