* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
}

html {
    scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
    font-family: 'DM Sans', system-ui, Arial, sans-serif;
    font-display: swap;
}


#Planos-oficial {
    position: absolute;
}

.page-width {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;

    @media (max-width:749px) {
        padding-inline: 1rem;
    }

    @media (min-width:750px) {
        padding-inline: 2rem;
    }

    @media (min-width:1000px) {
        padding-inline: 5rem;
    }
}

main {
    img {
        display: block;
        height: auto;
    }
}


.visually-hidden {
    position: absolute !important;
    overflow: hidden;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    word-wrap: normal !important;
}


@font-face {
    font-family: "Roca One bold";
    src: url("../fonts/Roca-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    pointer-events: none;
    transition: padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

sticky-header.is-scrolled {
    padding: 12px 16px;
}

@media (max-width:800px) {
    sticky-header {
        padding: 0;
    }

    sticky-header.is-scrolled {
        padding: 0;
    }
}

sticky-header header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: auto;
    padding: 1rem 5rem;
    z-index: 3;
    width: 100%;
    max-width: 1440px;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid transparent;
    box-shadow: none;
    transition:
        max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        border-radius 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        -webkit-backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.5s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease,
        transform 0.3s ease;
}

sticky-header header.scrolled-past-header {
    max-width: 860px;
    border-radius: 100px;
    padding: 8px 8px 8px 24px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    box-shadow:
        0 4px 30px rgba(124, 58, 237, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border-color: rgba(117, 115, 114, 0.15);
}

sticky-header header.hide-header {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}

sticky-header:has(.mobile-menu.active) header.hide-header {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

@media (min-width:801px) and (max-width:999px) {
    sticky-header header {
        padding: 1rem 2rem;
    }
}

@media (max-width:800px) {
    sticky-header header {
        padding: 1rem;
        margin-top: 12px;
    }

    sticky-header header.scrolled-past-header {
        padding: 8px 12px 8px 16px;
        max-width: calc(100% - 32px);
    }

    sticky-header header .wrapper-logo img {
        max-width: 135px;
        height: auto;
        display: block;
    }

    sticky-header header .header__inline-menu,
    sticky-header header .login-area {
        display: none;
    }

    sticky-header header .hamburder-menu {
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        width: 36px;
    }

    sticky-header header .hamburder-menu .icon-close {
        display: none;
        width: 25px;
    }

    sticky-header header .hamburder-menu.active .icon-hamburguer {
        display: none;
    }

    sticky-header header .hamburder-menu.active .icon-close {
        display: block;
    }
}

@media (min-width:801px) and (max-width:1000px) {
    sticky-header header.scrolled-past-header {
        padding: 8px 12px 8px 16px;
        max-width: calc(100% - 32px);
    }

    sticky-header header .wrapper-logo img {
        max-width: 135px;
        height: auto;
        display: block;
    }
}

sticky-header header .list-menu {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 32px;
}

sticky-header header .list-menu a {
    text-decoration: none;
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-text-color);
    transition: color .42s ease;
}

sticky-header header .list-menu a:hover {
    color: var(--hover-link-color);
}

sticky-header header .hamburder-menu {
    cursor: pointer;
}

@media (min-width:800px) {
    sticky-header header .hamburder-menu {
        display: none;
    }
}

sticky-header header .login-area .header__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 42px;
    border-radius: 50%;
}

@media (max-width:800px) {

    sticky-header header .header__inline-menu,
    sticky-header header .login-area {
        display: none;
    }
}

.mobile-header-actions {
    display: none;
}

@media (max-width:800px) {
    .mobile-header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-header-actions .header__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
    }
}

.gradient-flow {
    background: linear-gradient(92.74deg, #B1FFEF -4.7%, #9933FF 29.52%, #FFB0FF 99.32%);
    background-size: 200% 200%;
    background-position: left center;

    transition: background-position 0.5s ease;
}

.gradient-flow:hover {
    background-position: right center;
}


.mobile-menu {
    pointer-events: auto;
    width: calc(100% - 32px);
    max-width: 400px;
    margin: 8px auto 0;
    padding: 20px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(20px) saturate(1.8);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    box-shadow:
        0 8px 32px rgba(124, 58, 237, 0.1),
        0 1px 3px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.5);
    opacity: 0;
    transform: translateY(-12px) scale(0.97);
    pointer-events: none;
    transition:
        opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

@media (min-width:800px) {
    .mobile-menu {
        display: none;
    }
}

.mobile-menu .header__inline-menu ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mobile-menu .header__inline-menu li {
    width: 100%;
}

.mobile-menu .header__inline-menu a {
    display: block;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-text-color);
    padding: 12px 16px;
    border-radius: 16px;
    transition: background 0.2s ease;
}

.mobile-menu .header__inline-menu a:hover {
    background: rgba(124, 58, 237, 0.06);
}

.mobile-menu .mobile-menu__cta {
    display: block;
    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 24px;
    border-radius: 100px;
    margin-top: 8px;
}

.section-wrapper {
    .custom-hero__aux {
        border-radius: 4px;
        background: #FFE6FF;
        width: fit-content;
        padding-inline: 1rem;

        @media (max-width:1000px) {
            margin-inline: auto !important;
        }

        * {
            color: #5D4E70;
            font-size: 12px;
            font-style: normal;
            font-weight: 400;
            line-height: 140%;
            text-transform: uppercase;
        }
    }

    .custom-hero__title {
        margin-bottom: 1rem;
        max-width: 858px;
        margin-inline: auto;

        * {
            font-family: "Roca One bold";
            font-weight: 700;
            color: var(--title-primary-color);
            font-size: 56px;
            font-weight: 600;
            line-height: 1.2;
            text-align: center;

            @media (max-width:1000px) {
                font-size: 32px;
            }
        }
    }

    .custom-hero__subtitle * {
        font-size: 16px;
        font-weight: 500;
        text-align: center;
        color: var(--subtitle-primary-color);
    }

    .custom-hero__buttons-wrapper {
        display: flex;
        justify-content: center;
        align-items: center;
        height: 48px;
        margin-top: 1rem;
        gap: 20px;

        .custom-hero__button {
            height: 100%;
            border-radius: 100px;
            padding-inline: 44px;
            font-weight: 600;
            font-size: 16px;
            line-height: 1;
            letter-spacing: 0%;
            text-align: center;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 1rem;
            text-decoration: none;

            @media (max-width:1000px) {
                gap: .25rem;
            }
        }
    }

    .wrapper-media-full-img img,
    video {
        width: 100%;
    }
}



.hero-section {
    padding-top: calc(var(--header-height, 87px) + 24px);
    background-position-x: 0%;
    background-position-y: 0%;
    background-size: auto;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;


    @media (max-width:800px) {
        padding-top: calc(var(--header-height, 64px) + 16px);
    }


    &::before {
        content: "";
        background-image: url("../imgs/float-bg-1.webp");
        background-size: contain;
        background-repeat: no-repeat;

        width: 388px;
        height: 388px;

        position: absolute;
        top: 30%;
        /* left: auto; */
        right: 0;

        /* start outside */

        opacity: 0;
        pointer-events: none;

        animation: bubbleSides 30s ease-in-out infinite;
        transition: all .3s ease;
        z-index: -1;
    }


    @media (max-width:1000px) {

        &::before {
            width: 120px;
            height: 120px;
        }
    }

    .wrapper-media-full-img {
        padding-top: 6rem;


        @media (min-width:1000px) {
            max-height: 528px;
        }

        @media (min-width:1400px) {
            max-height: 628px;
        }

        @media (max-width:1000px) {
            padding-top: 4rem;
        }
    }

    @media (max-width:1000px) {



        .custom-hero__title * {
            font-size: 28px;
        }

        .custom-hero__button {
            padding-inline: 17px !important;
        }
    }

    @media (min-width:1000px) {
        .custom-hero__content::after {
            content: "";
            position: absolute;
            bottom: -20px;
            width: 100%;
            height: 185px;
            left: 0;
            opacity: 0.88;
            background: linear-gradient(180deg, rgba(249, 233, 255, 0) 0%, #f9e9ff 100%);
        }
    }
}


.routine-section {
    padding-block: 4rem;
    background: linear-gradient(180deg,
            #f9e9ff 0%,
            rgba(225, 228, 255, 0.38) 100%);


    .custom-hero__title * {
        @media (min-width:1000px) {
            font-size: 40px;

        }
    }

    .card-routine--right {
        @media (min-width:1000px) {
            max-width: clamp(300px, 33vw, 410px);
        }

        .wrapper-text {
            padding-bottom: 2rem !important;
        }
    }


    .wrapper-cards {
        display: flex;
        align-items: center;
        gap: 2rem;
        padding-top: 4rem;
        justify-content: space-between;

        >div {
            flex: 1;
        }

        @media (max-width:1000px) {
            flex-direction: column;
            gap: 2rem;
        }


        .grid-cards {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 24px;



            @media (max-width:750px) {
                grid-template-columns: repeat(1, 1fr);
                gap: 1rem;
            }
        }

        .card-routine {
            background: linear-gradient(180deg, #FBF7FF 0%, #EBDFF7 100%);
            border: 1px solid #FEFEFE;
            border-radius: 32px;
            /* padding: 20px 0 0 0; */
            display: flex;
            justify-content: space-between;
            flex-direction: column;
            overflow: hidden;
            position: relative;

            &.card-rountine-4,
            &.card-rountine-2 {
                padding-inline: 1rem;
            }

            &.card-rountine-2 {
                .wrapper-media-card {
                    padding-bottom: 1rem;
                }

                video {
                    border-radius: 42px;
                }
            }

            &.card-rountine-4 {
                padding: 0;

                .wrapper-media-card {
                    margin-bottom: 0;
                    margin-top: auto;

                    @media (min-width:1000px) and (max-width:1050px) {
                        padding-top: 7rem !important;
                    }

                    @media (max-width:400px) {
                        padding-top: 2rem;
                    }

                    @media (max-width:350px) {
                        padding-top: 3rem;
                    }

                    @media (max-width:330px) {
                        padding-top: 4.25rem;
                    }






                }

                .wrapper-text {
                    position: absolute;
                }

                video {
                    border-radius: 25px;
                }
            }

            &.card-rountine-1 {
                position: relative;

                min-height: 290px;
                overflow: hidden;

                .wrapper-text {
                    position: absolute;
                }

                .wrapper-text {
                    z-index: 2;
                }

                .smart-notes {
                    margin-top: auto;
                }

                /* 
                .smart-notes{
                    position: absolute;
                    left: 0%;
                    bottom: 0%;
                } */
            }



            &.card-rountine-3 {
                position: relative;

                min-height: 300px;
                overflow: hidden;

                .wrapper-text {
                    position: absolute;
                }

                .calendario {
                    margin-top: auto;
                }

                /* .calendario{
                    position: absolute;
                    bottom: 0%;
                    left: 0%;

                    video{
                        min-height: 300px;
                        width: 100%;
                        object-fit: cover;
                    }
                } */
            }



            img,
            video {
                width: 100%;
                height: auto;
                display: block;
            }

            .wrapper-text {
                padding-bottom: 1rem;
                padding-top: 2rem;
            }

            .title-card-routine * {
                font-size: 18px;
                font-weight: 600;
                line-height: 1.4;
                letter-spacing: 0%;
                color: #454140;
                padding-inline: 20px;
            }

            .subtitle-card-routine * {
                font-size: 16px;
                font-weight: 400;
                line-height: 1.5;
                letter-spacing: 0%;
                color: #454140;
                padding-inline: 20px;
            }

            .wrapper-media-card {
                padding-inline: 0rem;

                img {
                    width: 100%;
                    height: auto;
                }
            }
        }
    }
}