@import url('https://fonts.googleapis.com/css2?family=Mitr:wght@300;400;500;600;700&display=swap');

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
}

.precadastro-overlay {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
}

.precadastro-wrapper {
    position: relative;
    width: 100%;
    max-width: 820px;
    aspect-ratio: 820 / 523;
    border-radius: 20px;
    overflow: hidden;
}

.precadastro-img {
    position: absolute;
    display: block;
    max-width: 100%;
    height: auto;
}

.precadastro-logo {
    left: 25.61%;
    top: 0;
    width: 50%;
}

.precadastro-main-bg {
    left: 5.24%;
    top: 20.46%;
    width: 90.12%;
}

.precadastro-left-figure {
    left: 0;
    top: 17.21%;
    width: 14.88%;
}

.precadastro-icon-small {
    left: 88.66%;
    top: 23.71%;
    width: 4.27%;
}

.precadastro-left-bottom-figure {
    left: 8.9%;
    top: 63.86%;
    width: 20.12%;
}

.precadastro-right-bottom-figure {
    left: 72.8%;
    top: 57.93%;
    width: 26.46%;
}

.precadastro-text-bg {
    left: 7.07%;
    top: 50.86%;
    width: 89.63%;
}

.precadastro-message {
    position: absolute;
    left: 21.83%;
    top: 53.73%;
    width: 56.95%;
    text-align: center;
    font-family: "Mitr", sans-serif;
    font-size: clamp(14px, 2.2vw, 18px);
    line-height: 1.5;
    color: #ffffff;
    font-weight: 500;
}

.precadastro-message .highlight {
    color: #fff5c6;
    font-weight: 600;
}

.precadastro-message .bold {
    font-weight: 600;
}

.precadastro-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    left: 11.63%;
    top: 26.2%;
    width: 78%;
}

.precadastro-title {
    width: auto;
    text-align: center;
    color: #fbf6c2;
    font-size: clamp(22px, 4.4vw, 36px);
    font-family: "Marvin", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
}

.precadastro-subtitle {
    width: auto;
    text-align: center;
    color: #fbf6c2;
    font-size: clamp(30px, 6.7vw, 55px);
    font-family: "Marvin", sans-serif;
    font-weight: 500;
    text-transform: uppercase;
}

.precadastro-cta-bg {
    left: 28.17%;
    top: 72.66%;
    width: 44.27%;
}

.precadastro-cta-text {
    position: absolute;
    left: 41.22%;
    top: 77.82%;
    width: 24.02%;
    text-align: center;
    font-family: "Mitr", sans-serif;
    color: #ffffff;
    text-transform: uppercase;
}

.precadastro-cta-text span {
    font-family: "Mitr", sans-serif;
    text-transform: uppercase;
    color: #ffffff;
    font-weight: 700;

    -webkit-text-stroke: 3px #0b6b20;
    -webkit-text-fill-color: #ffffff;
    paint-order: stroke fill;

    text-shadow:
        2px 0 #0b6b20,
        -2px 0 #0b6b20,
        0 2px #0b6b20,
        0 -2px #0b6b20,
        1.5px 1.5px #0b6b20,
        -1.5px -1.5px #0b6b20,
        1.5px -1.5px #0b6b20,
        -1.5px 1.5px #0b6b20;
}


.precadastro-cta-text .line-1 {
    font-size: clamp(16px, 2.9vw, 24px);
    font-weight: 600;
    line-height: 1.1;
}

.precadastro-cta-text .line-2 {
    font-size: clamp(18px, 3.9vw, 32px);
    font-weight: 600;
    line-height: 1.1;
}

.precadastro-countdown {
    position: absolute;
    left: 37.32%;
    top: 11.47%;
    width: 26.71%;
    text-align: center;
    color: #f2ffb8;
    font-size: clamp(16px, 3.2vw, 26px);
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.precadastro-close {
    cursor: pointer;
}

@media (max-width: 600px) {
    .precadastro-overlay {
        padding: 8px;
    }

    .precadastro-wrapper {
        border-radius: 16px;
    }

    .precadastro-logo {
        width: 60%;
    }

    .precadastro-icon-small {
        width: 6%;
    }

    .precadastro-left-figure,
    .precadastro-left-bottom-figure,
    .precadastro-right-bottom-figure {
        width: 22%;
    }

    .precadastro-cta-bg {
        width: 52%;
    }

    .precadastro-cta-text {
        width: 30%;
        top: 75.82%;
    }

    .precadastro-title-wrapper img {
        width: 222px;
    }

    .precadastro-message {
        font-size: clamp(9px, 2.2vw, 15px);
    }

    .precadastro-countdown {
        left: 42.32%;
    }
}
