/* @import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lexend", sans-serif;
    scrollbar-width: thin;
    scrollbar-color: var(--roxo-1) transparent;
    scroll-behavior: smooth !important;
}

:root {
    --roxo-1: #8114E6;
    --roxo-2: #A95FEE;
    --roxo-3: #0F074F;
    --verde: #47fd39;
    --verde-escuro: #309c18;
    --sombra-1: silver 3px 3px 10px 1px;
    --degrade-1: linear-gradient(180deg, var(--roxo-2), 60%, var(--roxo-1));
}

footer {
    position: fixed;
    right: 40px;
    bottom: 40px;
    cursor: pointer;
    z-index: 500;
    animation: wave 1.5s infinite alternate-reverse;
    transition: 0.4s;

    &:hover {
        transform: rotate(5deg);
    }
}

html {
    scroll-timeline: --page-scroll block;
    scroll-behavior: smooth !important;
}

header {
    position: fixed;
    width: 100%;
    top: 0px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.491);
    backdrop-filter: blur(10px);
    z-index: 100;


    label {
        position: absolute;
        width: 100%;
        height: 5px;
        top: 0px;
        margin-bottom: 10px;
        background: var(--roxo-1);

        left: 0;
        top: 0;
        width: 100%;

        transform-origin: 0 50%;
        animation: grow-progress auto linear;
        animation-timeline: --page-scroll;
    }

    img {
        margin-top: 20px;
        width: auto;
        height: 380%;
    }
}

section {
    height: 100vh !important;
    width: 100%;
    display: flex !important;
    flex-direction: column;
    scroll-behavior: smooth !important;
}

destaque-rx {
    color: var(--roxo-1);
    position: relative;
    text-shadow: rgba(218, 149, 241, 0.68) 1px 1px 10px;
}

destaque-rx::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -15px;
    width: 100%;
    height: 22px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    background-image: url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 210 14' fill='none'>\<path d='M1 1.20336C13.3516 1.20336 25.7033 1.20336 65.0654 1.10842C104.428 1.01347 170.426 0.823571 196.314 1.39038C222.201 1.9572 205.978 3.28648 170.152 4.16116C134.326 5.03583 79.3891 5.41563 52.3786 5.70623C25.3681 5.99683 27.949 6.18672 41.0772 6.3795C54.2054 6.57227 77.8025 6.76217 93.7379 7.14484C109.673 7.52751 117.232 8.0972 123.614 8.723C134.974 10.0134 142.499 11.173 146.13 12.0347C147.365 12.4217 147.365 12.7065 147.365 13' \stroke='%238114E6' stroke-width='2' stroke-linecap='round'/>\</svg>");
}


[page="1"] {
    display: flex;
    gap: 30px;
    padding-top: 100px !important;

    iframe {
        width: 710px !important;
        height: 399px !important;
        border-radius: 20px;
        align-self: center;
        box-shadow: var(--sombra-1);
    }

    .parceiros {
        gap: 10px;
        user-select: none;

        h3 {
            font-weight: 400;
            color: grey;
            font-size: 14px;
            font-style: italic;
        }

        >.img-parceiros {
            display: flex;
            flex-direction: row;
            flex-wrap: wrap;
            align-items: center;
            justify-content: center;
            gap: 12px;

            >img {
                height: 30px;
                transition: 0.3s;

                &:hover {
                    transition: 0.3s;
                    scale: 1.3 1.3;
                    background-color: white;
                }

            }

        }
    }

    svg {
        display: flex;
        align-self: center;
    }
}

[page="2"] {
    margin-top: 50px;
    height: 70vh !important;

    .banner {
        margin-top: 20px;
        align-self: center;
        width: 800px;
        border-radius: 5px;
        height: 380px;
        background: var(--degrade-1);
        background-color: red;

        display: grid;
        grid-template-columns: 1fr 1fr;
        overflow: hidden !important;
        box-shadow: var(--sombra-1);

        animation: slideIn linear both;
        animation-timeline: view();
        animation-range: entry 0% cover 30%;


        >div:first-of-type {
            display: flex;
            flex-direction: column;
            justify-content: center;

            .bullets {
                display: flex;
                flex-direction: column;
                align-items: left;
                padding-left: 20px !important;

                span {
                    display: flex;
                    align-items: center;
                    gap: 5px;
                    font-size: 22px;
                    font-weight: 300;
                    color: white;
                    position: relative;
                    margin-bottom: 25px;
                    translate: 0;
                    transition: 0.3s !important;

                    &:hover {
                        translate: 10px 0px;
                        text-shadow: white 1px 1px 10px;
                    }

                    &:nth-child(1),
                    &:nth-child(2) {
                        margin-bottom: 15px !important;
                    }

                    &::after {
                        font-weight: 300;
                        border-radius: 100px;
                        color: #eee;
                        position: absolute;
                        font-size: 12px;
                        top: 27px;
                        left: 20px;
                        width: 100%;
                        content: attr(data-spoiler);
                    }


                    &::before {
                        content: "";
                        display: inline-block;
                        width: 20px;
                        height: 20px;
                        background-repeat: no-repeat;
                        background-size: 100% 100%;
                        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='m12.594 23.258l-.012.002l-.071.035l-.02.004l-.014-.004l-.071-.036q-.016-.004-.024.006l-.004.01l-.017.428l.005.02l.01.013l.104.074l.015.004l.012-.004l.104-.074l.012-.016l.004-.017l-.017-.427q-.004-.016-.016-.018m.264-.113l-.014.002l-.184.093l-.01.01l-.003.011l.018.43l.005.012l.008.008l.201.092q.019.005.029-.008l.004-.014l-.034-.614q-.005-.019-.02-.022m-.715.002a.02.02 0 0 0-.027.006l-.006.014l-.034.614q.001.018.017.024l.015-.002l.201-.093l.01-.008l.003-.011l.018-.43l-.003-.012l-.01-.01z'/%3E%3Cpath fill='%2300FF2F' d='M19.495 3.133a1 1 0 0 1 1.352.309l.99 1.51a1 1 0 0 1-.155 1.279l-.003.004l-.014.013l-.057.053l-.225.215a84 84 0 0 0-3.62 3.736c-2.197 2.416-4.806 5.578-6.562 8.646c-.49.856-1.687 1.04-2.397.301l-6.485-6.738a1 1 0 0 1 .051-1.436l1.96-1.768A1 1 0 0 1 5.6 9.2l3.309 2.481c5.169-5.097 8.1-7.053 10.586-8.548'/%3E%3C/g%3E%3C/svg%3E");
                    }
                }
            }
        }

        >div:last-of-type {
            display: flex;
            place-content: end !important;
            transition: 0.4s ease-in-out;

            &:hover {
                scale: 1.2 1.2;
            }
        }
    }

}

[page="3"] {
    height: 100% !important;
}

[page="4"] {
    margin-top: 50px;
    height: 50vh !important;

    .cards {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 15px;
        margin-top: 40px;
        justify-content: center;

        .card {
            display: flex;
            flex-direction: column;
            padding: 15px;
            width: 300px;
            height: 300px;
            border-radius: 8px;
            box-shadow: var(--sombra-1);
            gap: 15px;
            background: var(--degrade-1);
            transition: 0.5s;

            &:hover {
                transition: 0.5s;
                translate: 0 -10px;
            }

            span {
                color: white !important;
                font-weight: 200 !important;
            }

            div {
                display: flex;
                flex-direction: row;
                align-items: center;
                border-top: 1px solid white;
                color: white;
                font-size: 18px;
                font-weight: 400 !important;
                text-align: center;
                gap: 10px;
                padding-top: 10px;
                margin-top: auto;

                img {
                    width: 55px;
                    height: 55px;
                    border-radius: 1000px;
                }
            }
        }
    }
}

.type-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.title {
    text-align: center;
    width: 100%;
    font-size: 40px;
    font-weight: 600;
    user-select: none;
}

.btn-big-cta {
    padding: 10px 20px;
    font-size: 30px;
    background-color: var(--verde-escuro);
    border: none;
    color: white;
    border-radius: 5px;
    box-shadow: var(--sombra-1);
    width: fit-content !important;
    align-self: center;

    position: relative;
    overflow: hidden;
    z-index: -0 !important;
    height: 60px !important;
    max-height: 60px !important;
    min-height: 60px !important;

    animation: pulse-2 0.5s infinite alternate-reverse;

    &::after {
        inset: 0;
        position: absolute;
        content: "";
        left: 0;
        translate: 0 100px;
        border-radius: 5px;
        width: 100%;
        height: 9000px;
        background-color: var(--verde);
        z-index: -2;
        transition: 0.4s;
        top: 0;
        border-radius: 1000px;
    }

    &:hover {
        transition: 0.5s color;
        cursor: pointer;
        color: var(--roxo-3);
        outline-color: var(--roxo-3) !important;
        text-shadow: var(--verde-escuro) 1px 1px 10px;

        &::after {
            translate: 0 0;
            border-radius: 0px !important;
        }
    }
}

.btn-med-cta {
    place-content: center;
    padding: 10px 20px;
    font-size: 20px;
    background: white;
    border: none;
    color: var(--roxo-3);
    border-radius: 5px;
    width: fit-content;
    align-self: center;
    margin-top: 60px;
    outline: 2px solid var(--roxo-3);
    position: relative;
    overflow: hidden;
    z-index: -0 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    animation: pulse 0.6s infinite alternate-reverse ease-out;

    &::after {
        position: absolute;
        content: "";
        font-size: 10px;
        left: 0;
        translate: 0 100px;
        border-radius: 5px;
        width: 100%;
        height: 300px;
        background-color: var(--roxo-1);
        z-index: -2;
        transition: 0.5s;
        top: 0;
        border-radius: 1000px;
    }

    &:hover {
        transition: 0.5s color;
        cursor: pointer;
        color: white;
        outline-color: white;

        svg {
            filter: invert(100%);
            transition: 0.5s;
        }

        &::after {
            translate: 0 0;
            border-radius: 0px;
        }
    }
}

.faq {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: center;
    z-index: 1;
    height: auto !important;
}

details {
    width: 650px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--sombra-1);

    animation: fadeIn linear both;
    animation-timeline: view();
    animation-range: entry 0% cover 40%;

    user-select: none !important;
}

/* SUMMARY */
summary {
    list-style: none;
    cursor: pointer;
    padding: 16px 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    background: var(--degrade-1);
}

summary::-webkit-details-marker {
    display: none;
}

summary::before {
    content: "";
    width: 10px;
    height: 10px;

    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;

    translate: 0px -3px;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

details[open] summary::before {
    transform: rotate(-135deg);
    translate: 0px 5px;
}

details[open] summary {
    color: #fff;
}

details .content {
    padding: 16px 20px;
    font-size: 14px;
    line-height: 1.5;
    background: var(--roxo-3) !important;
    color: #fff;
}

.sticker-smile {
    position: absolute;
    width: 200px;
    translate: 270px -134px;
    z-index: -4;
    animation: balance-sticker 1s alternate-reverse infinite;
}

.sticker-smartpos {
    position: absolute;
    width: 200px;
    translate: -275px -128px;
    z-index: -1;
    animation: balance-sticker 1s alternate-reverse infinite;
}

.arrow {
    width: 70px;
    animation: arrow-down 0.4s infinite alternate-reverse;

    &:hover {
        cursor: pointer;
        opacity: 0.6;
    }
}

.rodape {
    position: relative;
    min-height: 180px !important;
    width: 100%;
    padding: 10px;
    margin-top: 50px;
    background: white;

    span {
        background: white;
        margin-top: auto;
    }

    >div {
        padding: inherit;
        border-radius: 5px;
        height: 100%;
        display: flex;
        flex-direction: column;
        width: 100%;
        border-bottom: 1px solid rgb(228, 217, 217);
        gap: 10px;
        text-align: center;
        outline: 1px solid #eee;

        >.mini-card {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            width: 100%;
            align-items: center;


            >div {
                display: flex;
                flex-direction: column;
                gap: 4px;
                width: 100%;

                span {
                    display: flex;
                    font-weight: 500;
                    font-size: 16px;
                    align-self: center;

                }

                a {
                    color: var(--roxo-3);
                    font-weight: 300;
                    font-size: 13px;
                    text-decoration: none;
                    display: flex;
                    align-self: center;
                    align-items: center;
                    gap: 6px;
                    height: 24px;
                    /* height: 30px; */

                    &:hover {
                        text-decoration: underline;
                    }
                }
            }
        }

        span {
            font-size: 12px;
            font-weight: 300;
            color: var(--roxo-3);
        }
    }
}

@keyframes pulse-2 {
    to {
        text-shadow: white 1px 1px 10px;
    }
}

@keyframes pulse {
    to {
        outline: rgba(97, 12, 202, 0.535) 5px solid;
        transform: rotate(1deg);
    }

    from {
        transform: rotate(-1deg);
    }
}

@keyframes wave {
    to {
        translate: 0px 5px;
    }
}

@keyframes slideIn {
    from {
        opacity: 0.5;
        scale: 0.5 0.5;
        transform: rotate(-5deg);
        translate: -200px;
    }
}

@keyframes fadeIn {
    from {
        scale: 0.9 0.9;
        opacity: 0.4;
    }
}

@keyframes arrow-down {
    from {
        translate: 0 10px;
    }
}

@keyframes card-balance {
    to {
        translate: 0 -10px;
    }
}

@keyframes grow-progress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}


@keyframes balance-sticker {
    from {
        transform: rotate(3deg);
    }

    to {
        transform: rotate(-5deg);
    }
}

/* para mobile */
@media (max-width: 800px) {

    .rodape {
        z-index: 1000;
    }

    .arrow {
        width: 50px;
    }

    header {
        img {
            height: 250%
        }
    }

    .btn-big-cta {
        font-size: 20px;
        /* width: fit-content; */
    }

    .btn-med-cta {
        margin-top: 5px;
    }

    .title {
        font-size: 30px;
        padding-inline: 10px;
    }

    footer {
        scale: 0.8;
        right: -5px !important;
        bottom: -5px !important;
    }

    [page="1"] {
        iframe {
            width: 355px !important;
            height: 200px !important;
        }

        .parceiros {
            h3 {
                font-size: 10px;
            }

            .img-parceiros {
                align-items: baseline;
                padding-inline: 5px;

                img {
                    &:first-of-type {
                        height: 25% !important;
                    }

                }
            }
        }
    }

    [page="2"] {
        width: 100vw !important;
        margin-top: 5px !important;

        .banner {
            max-width: 90vw;
            display: flex;
            height: fit-content !important;
            flex-direction: column !important;

            .bullets {
                position: relative;
                padding: 20px;
                width: 100%;

                span {
                    font-size: 20px !important;
                }
            }
        }

        img {
            height: 90%;
        }
    }

    [page="3"] {

        margin-top: 50px;
        position: relative;
        width: 100% !important;

        .faq {
            margin-top: 15px;
            width: 100% !important;
            display: flex;

            details {
                font-size: 13px;
                width: 90% !important;
            }

            /* position: absolute; */
        }
    }

    [page="4"] {
        .card {
            font-size: 12px;
            height: 200px !important;

            animation: slideIn linear both;
            animation-timeline: view();
            animation-range: entry 0% cover 30%;

            &:last-child {
                margin-bottom: 30px;
            }

            >div {
                font-size: 12px !important;

                img {
                    height: 40px !important;
                    width: 40px !important;
                }
            }
        }
    }

    .sticker-smile,
    .sticker-smartpos {
        display: none !important;
        visibility: hidden !important;
    }
}