/********************************\
            base.css
\********************************/

/********************************\
        copyright 2025 Lifetion
\********************************/



@font-face {
    font-family: "Manrope";
    src: url(../font/Manrope-VariableFont_wght.ttf) format("truetype");
    font-weight: 100 900;
    font-style: normal;
}

@font-face {
    font-family: "Urbanist";
    src: url(../font/Urbanist-VariableFont_wght.ttf) format("truetype");
    font-weight: 100 900;
    font-style: normal;
}

/********************************\
    #CUSTOM PROPERTY
\********************************/

:root {

    /* Cores */
    --color-white: #ffffff;
    --color-black: #000000;
    --color-text: #222222;
    --color-off-white: #f6f6f6;
    --color-orange-logo: #FAA343;
    --color-blue-logo: #f3f6f8e5;
    --color-blue-logo-opacity: #f3f6f8;
    --color-blue: #005295;
    --color-gray-link: #5F6368;
    --color-error-dark: #F1002F;
    --color-error-light: #FBBFCB;
    --color-attention-dark: #AF0044;
    --color-attention-light: #FFF2FA;
    --color-success-dark: #32AE88;
    --color-success-light: #F9FFFA;
    --future-color-error-realtime-validation-text: #D90042;


    /* TIPOGRAFIA */

    /* font family */
    --font-primary: "Manrope", sans-serif;
    --font-title: "Urbanist", sans-serif;

    /* Font Size */
    --fs-base: 62.5%;
    --fs-body: 1.6rem;
    --fs-title-large: 3rem;

    /* Line Height */

    /* Font Weight */
    --weight-Bold: 700;
    --weight-SemiBold: 600;
    --weight-Medium: 500;
    --weight-Regular: 400;
    
    /* Letter Spacing */
    --ls-small: 1px;
    --ls-negative: -1px;

    /* Border Radius */
    --radius-small: 8px;
    --radius-medium: 12px ;
    --radius-large: 16px;
    --radius-extra-large: 32px;
    --radius-circle: 50%;
    --radius-full: 1000px;

    /* Shadows */

    /* Transitions */

}

/********************************\
            #RESET
\********************************/

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

li {    list-style: none;   }

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

a,
img,
span,
input,
select,
button {    display: block; }

button {    cursor: pointer;    }

button,
input,
select {
    background: none;
    border: none;
    font: inherit;
    outline: none;
}

html {
    font-family: var(--font-primary);
    font-size: var(--fs-base);
}

body {
    background-color: var(--color-white);
    color: var(--color-text);
    font-size: var(--fs-body);
}


/************************************\
            #TYPOGRAPHY
\************************************/
.title-large {
    font-weight: var(--weight-Bold);
    font-size: var(--fs-title-large);
    color: var(--color-gray-link);
}

/* .type-btn-common {
    font-weight: var(--weight-SemiBold);
    font-size: var(--fs-body);
    color: inherit;
} */




/************************************\
            #REUSED STYLE
\************************************/
/* espaçamentos padrões, por exemplo */

.container {
    max-width: 580px;
    padding-inline: 16px;
    width: 100%;
    margin-inline: auto;
}

/************************************\
            #COMPONENTS
\************************************/
/* destinados a botoes, ícones, indicadores, cards, tudo que irá se repetir */

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding-inline: 30px;
    border-radius: var(--radius-small);
    cursor: pointer;
    max-width: max-content;
    transition: 0.3s ease;
}

.btn-fill-orange {
    background-color: var(--color-orange-logo);
    color: var(--color-blue-logo-opacity);
    font-weight: var(--weight-SemiBold);
}



/************************************\
                #HEADER
\************************************/

.header {
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;

    & .container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
    }

    & .menu-btn {
        width: 40px;
        height: 32px;
        position: relative;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;

        & .bar {
            background-color: var(--color-text);
            width: 24px;
            height: 2px;
            display: block;
            border-radius: var(--radius-full);
            position: absolute;
            transition: transform 0.5s ease, top 0.5s ease, bottom 0.5s ease;
        }

        & .top-bar {
            top: 10px;
        }

        & .bottom-bar {
            bottom: 10px;
        }
    }
}

.menu-btn.active .top-bar {
    top: 50%;
    transform: translateY(-50%) rotate(-45deg)
}
.menu-btn.active .bottom-bar {
    bottom: 50%;
    transform: translateY(50%) rotate(45deg);
}

.menu {
    background-color: var(--color-white);
    width: 100vw;
    height: 100dvh;
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    flex-direction: column;

    /* opacity: 0;
    visibility: hidden;
    pointer-events: none; */

    clip-path: circle(0 at 100% 0);
    -webkit-clip-path: circle(0 at 100% 0);
    transition: clip-path 0.8s, -webkit-clip-path 0.8s ease;

    & .menu-content {
        width: 100%;
        height: 100%;
        /* padding-block-start: 100px; */
        position: relative;
        
        & .menu-nav {
            padding-block-start: 120px;

            & .navbar-list {
                text-align: center;
                display: grid;
                gap: 30px;
            }
        }
    
        & .menu-bottom {
            position: absolute;
            bottom: 30px;
            width: 100vw;
            display: grid;
            align-items: center;
            justify-content: center;
            gap: 16px;

            p{
                font-size: 1.4rem;
                font-weight: var(--weight-Medium);
                color: var(--color-black);
            }

            & .redes-icon {
                display: flex;
                align-items: center;
                justify-content: center;
                gap: 16px;
            }
        }
    }
}

.menu.active {
    clip-path: circle(150% at 50% 50%);
    -webkit-clip-path: circle(150% at 50% 50%);
}


