/* ===== FONTE Kalnia ===== */
@font-face {
    font-family: 'Kalnia';
    src: url('../fonts/Kalnia-Medium.woff') format('woff');
    font-weight: 500;
    /* MEDIUM = 500 */
    font-style: normal;
    font-display: swap;
}

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


/*----DESKTOP----*/

@media (min-width: 992px) {
    .secao-1 {
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: flex-end;
        flex-direction: column;
        align-items: center;
    }

    .fundo-1 {
        position: absolute;
        object-fit: cover;
        height: 100vh;
        width: 100%;
        z-index: -1;
        background-image: url(/images/botton-section-3.png);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .titulo-hero {
        font-family: 'Kalnia';
        color: white;
        font-weight: 500;
        font-size: 60px;
        text-align: center;
        line-height: 60px;
        position: relative;
        z-index: 1;
        will-change: transform, opacity, filter;
        width: 600px;
    }

    .description {
        color: #A5AFC8;
        font-family: 'Montserrat', sans-serif;
        width: 500px;
        font-size: 20px;
        font-weight: 300;
        text-align: center;
        line-height: 25px;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .cta-button {
        color: #ffffff;
        font-family: 'Montserrat', sans-serif;
        text-decoration: none;
        padding: 20px 40px;
        font-size: 20px;
        font-weight: 600;
        text-align: center;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 80px;
        background: linear-gradient(150deg,
                #3737B3,
                #000080,
                #3737B3);
        background-size: 400% 400%;
        animation: degrade 8s ease-in-out infinite;
    }

    @keyframes degrade {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }


    .cta-button span {
        width: 24px;
        height: 24px;
        animation: flutuar 3s ease-in-out infinite;
    }

    @keyframes flutuar {
        0% {
            transform: translateY(3px);
        }

        50% {
            transform: translateY(-3px);
        }

        100% {
            transform: translateY(3px);
        }
    }

    .secao-2 {
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 50px;
        background-image: url(/images/secao-2.png);
        background-size: cover;
        padding: 936px 0px 100px 0px;
        margin-top: -936px;
    }

    .secao-2 h2 {
        font-family: 'Kalnia';
        color: white;
        font-weight: 500;
        font-size: 40px;
        text-align: center;
        line-height: 40px;
        width: 800px;
    }

    .titulo-2 {
        margin-top: 20px;
        font-size: 30px;
        line-height: 35px;
        font-family: 'Kalnia';
    }

    .itens {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 1440px;

    }

    .icon-box {
        width: 40px;
        height: 40px;
        background-color: #1616A1;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }

        .iten-list {
        width: 240px;
        height: 200px;
        border: #1616A1 solid 1px;
        border-radius: 10px;
        padding: 20px 20px;
        font-size: 18px;
        color: #A5AFC8;
        font-family: 'Montserrat', sans-serif;
        display: flex;
        gap: 10px;
        flex-direction: column;
        transition: all 0.5s ease;
    }

    .iten-list:hover {
        background-color: #1616A1;
        transition: all 0.5s ease;
    }
    

    .wpp-button {
        margin-top: 0px;
        color: rgb(255, 255, 255);
        font-family: 'Montserrat', sans-serif;
        font-size: 20px;
        font-weight: 600;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 80px;
        text-decoration: none;
        padding: 25px 60px;
        border-radius: 50px;
        gap: 10px;
        background: linear-gradient(150deg,
                #4141f1,
                #1616A1,
                #4141f1);
        background-size: 400% 400%;
        animation: degrade 8s ease-in-out infinite;
    }


    @keyframes degrade {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }



.rodape {
    height: 35px;
    width: 100%;
    margin-top: -35px;
    border-top: rgb(37, 37, 201) solid 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #A5AFC8;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
}
}


/*----MOBILE----*/

@media (min-width: 375px) and (max-width: 767px) {
    .secao-1 {
        width: 100%;
        height: 90vh;
        display: flex;
        justify-content: flex-end;
        flex-direction: column;
        align-items: center;
        padding: 0px 20px;
    }

    .fundo-1 {
        position: absolute;
        object-fit: cover;
        height: 90vh;
        width: 100%;
        z-index: -1;
        background-image: url(/images/botton-section-3.png);
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;

    }

    .titulo-hero {
        font-family: 'Kalnia';
        color: white;
        font-weight: 500;
        font-size: 30px;
        text-align: center;
        line-height: 35px;
        position: relative;
        z-index: 1;
        will-change: transform, opacity, filter;
        width: 100%;
    }

    .description {
        color: #A5AFC8;
        font-family: 'Montserrat', sans-serif;
        width: 97%;
        font-size: 18px;
        font-weight: 300;
        text-align: center;
        line-height: 23px;
        margin-top: 20px;
        margin-bottom: 30px;
    }

    .cta-button {
        color: #ffffff;
        font-family: 'Montserrat', sans-serif;
        text-decoration: none;
        padding: 20px 39px;
        font-size: 18px;
        font-weight: 600;
        text-align: center;
        border-radius: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 100px;
        background: linear-gradient(150deg,
                #3737B3,
                #000080,
                #3737B3);
        background-size: 400% 400%;
        animation: degrade 8s ease-in-out infinite;
    }

    @keyframes degrade {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }


    .cta-button span {
        width: 24px;
        height: 24px;
        animation: flutuar 3s ease-in-out infinite;
    }

    @keyframes flutuar {
        0% {
            transform: translateY(3px);
        }

        50% {
            transform: translateY(-3px);
        }

        100% {
            transform: translateY(3px);
        }
    }

    .secao-2 {
        height: 100%;
        width: 100%;
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 50px;
        background-image: url(/images/secao-2-m.png);
        background-size: cover;
        padding: 936px 10px 100px 10px;
        margin-top: -936px;
    }

    .secao-2 h2 {
        font-family: 'Kalnia';
        color: white;
        font-weight: 500;
        font-size: 30px;
        text-align: center;
        line-height: 35px;
    }

    .itens {
        display: flex;
        gap: 20px;
        flex-wrap: wrap;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        width: 400px;

    }

    .icon-box {
        width: 40px;
        height: 40px;
        background-color: #1616A1;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }

    .iten-list {
        width: 240px;
        height: 200px;
        border: #1616A1 solid 1px;
        border-radius: 10px;
        padding: 20px 20px;
        font-size: 18px;
        color: #A5AFC8;
        font-family: 'Montserrat', sans-serif;
        display: flex;
        gap: 10px;
        flex-direction: column;
        transition: all 0.5s ease;
    }

    .iten-list:hover {
        background-color: #1616A1;
        transition: all 0.5s ease;
    }

    .wpp-button {
        margin-top: 0px;
        color: rgb(255, 255, 255);
        font-family: 'Montserrat', sans-serif;
        font-size: 18px;
        font-weight: 600;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 80px;
        text-decoration: none;
        padding: 25px 39px;
        border-radius: 50px;
        gap: 10px;
        background: linear-gradient(150deg,
                #4141f1,
                #1616A1,
                #4141f1);
        background-size: 400% 400%;
        animation: degrade 8s ease-in-out infinite;
    }


    @keyframes degrade {
        0% {
            background-position: 0% 50%;
        }

        50% {
            background-position: 100% 50%;
        }

        100% {
            background-position: 0% 50%;
        }
    }



.rodape {
    height: 35px;
    width: 100%;
    margin-top: -35px;
    border-top: rgb(37, 37, 201) solid 1px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #A5AFC8;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: normal;
}
}


@media (min-width: 375px) and (max-width: 767px) {

    /* FORÇA hardware acceleration para evitar bugs */
    .botton {
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        backface-visibility: hidden;
        perspective: 1000px;
    }

    .botton.aberto {
        z-index: 100;
        /* Fica acima de tudo */
        transform: translateZ(0) scale(1.01);
    }

    .pelicula-overlay {
        position: absolute !important;
        transform: translateZ(0);
        -webkit-transform: translateZ(0);
        will-change: opacity;
    }

    /* Suaviza fechamento no scroll */
    .botton-extra {
        transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.3s ease,
            transform 0.3s ease;
    }
}

.blur {
    will-change: transform, opacity, filter;
}