:root {
    --color-primary: #B41647;
    --color-secondary: #4A90E2;
    --color-accent: #16CC58;
    --font-family-base: 'Montserrat', sans-serif;
    --color-text: #000;
}

html,
body {
    font-family: var(--font-family-base)
}

strong {
    font-weight: 700;
}

.sub-header-logo img {
    margin: 56px auto;
}

.title-h2 {
    font-size: 35px;
    line-height: 40px;
    color: var(--color-primary);
    font-weight: 700;
}

.bg-header {
    min-height: 642px;
    background: url(../imgs/webp/bg-header.webp) no-repeat center center;
    background-size: cover;
    border-radius: 140px 35px 35px 35px;

    .title {
        max-width: 588px;
        margin-left: 170px;
    }

    h1 {
        font-size: 60px;
        color: #FFF;
        font-weight: 300;
        line-height: 58px;
    }

    h2 {
        font-size: 35px;
        line-height: 45px;
        color: #FFF;
        font-weight: 400;
        margin-bottom: 10px;
    }

    p {
        font-size: 20px;
        line-height: 28px;
        color: #FFF;
        margin-top: 20px;
        max-width: 488px;
        padding-right: 20px;
    }

    @media (max-width: 1566px) {
        img {
            width: 100%;
            max-width: 600px;
            height: auto;
            object-fit: contain;
        }
    }

    @media (max-width: 1200px) {
        .title {
            margin-left: 0;
            text-align: center;
            max-width: 70%;
            padding: 0 20px;
        }

        h1 {
            font-size: 50px;
            line-height: 52px;
        }

        p {
            font-size: 18px;
            line-height: 26px;
            max-width: 100%;
            padding-right: 0;
        }

        img {
            width: 100%;
            max-width: 500px;
            height: auto;
            margin-top: 30px;
        }
    }

    @media (max-width: 960px) {

        border-radius: 35px;

        .title {
            max-width: 100%;
        }

    }

    @media (max-width: 560px) {
        border-radius: 0;

        h1 {
            font-size: 36px;
            line-height: 40px;
        }

        p {
            font-size: 16px;
            line-height: 24px;
        }

    }
}

span.destaque-borda {
    display: inline-block;
    border: 1px solid #FFF;
    padding: 5px 25px;
    border-radius: 30px;
}

.bg-header-valid {
    min-height: 642px;
    background: url(../imgs/webp/bg-header-2.webp) no-repeat center center;
    background-size: cover;

    .title {
        min-width: 620px;
        margin-left: 170px;
    }

    h1 {
        font-size: 60px;
        color: #FFF;
        font-weight: 300;
        line-height: 58px;
    }

    h2 {
        font-size: 35px;
        line-height: 45px;
        color: #FFF;
        font-weight: 400;
        margin-bottom: 10px;
    }

    p {
        font-size: 20px;
        line-height: 28px;
        color: #FFF;
        margin-top: 20px;
        max-width: 565px;
        padding-right: 20px;
    }

    .selo-garantia {
        max-width: 373px;
    }

    @media (max-width: 1200px) {

        .title {
            text-align: center;
            margin-left: 0px;
        }

        img {
            width: 100%;
            max-width: 600px;
            height: auto;
            object-fit: contain;
        }
    }

    @media (max-width: 767px) {
        .title {
            min-width: 100%;
        }
    }
}

.description {
    font-size: 18px;
    line-height: 28px;
    color: var(--color-text);
}

.section-how-works {
    background: rgba(180, 22, 71, 0.05);
    padding: 60px 0 40px 0;
}

/* .step-number-1,
.step-number-3 {
    max-width: 288px;
} */

.step-number-2 p {
    max-width: 296px;
}

.step-box {
    padding: 24px 10px;
    background: var(--color-primary);
    border-radius: 25px;
    color: #FFF;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;

    p {
        font-size: 16px;
        font-weight: 400;
        line-height: 20px;
        margin: 0;
    }
}

.ico-step {
    max-width: 50px;
}

.steps-grid-container {
    display: grid;
    grid-template-columns: minmax(auto, 288px) minmax(auto, 46px) minmax(352px, 352px) minmax(auto, 46px) minmax(auto, 288px);
    grid-gap: 25px;
    align-items: stretch;
    justify-content: center;

    @media (max-width: 1199px) {
        grid-template-columns: minmax(auto, 320px);
        gap: 1.5rem;


        .arrow-container {
            transform: rotate(90deg);
        }
    }
}

.step-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: center;
}

.arrow-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.border-lote {
    border: 12px solid var(--color-primary);
    border-radius: 25px;
}

.form-wrapper {
    background: #FFF;
    padding: 18px 24px;
    border-radius: 70px;

    .border-inside {
        border: 2px solid var(--color-primary);
        border-radius: 55px;
        padding: 35px;
    }

    @media (max-width: 575px) {
        background: transparent;
        padding: 0;
        border-radius: 20px;

        .border-inside {
            background-color: #FFF;
            border-radius: 20px;
            padding: 24px;
        }
    }
}

.section-form-verification::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 68px;
    top: 0;
    left: 0;
    background-color: rgba(180, 22, 71, 0.05);

}

.title-form {
    font-size: 35px;
    line-height: 40px;
    color: var(--color-primary);
    font-weight: 400;
}

form#loteForm input[type="text"] {
    width: 352px;
    height: 45px;
    background: rgba(217, 217, 217, 0.2);
    border-radius: 25px;

    @media (max-width: 575px) {
        width: 100%;
    }
}

form#loteForm button[type="submit"] {
    padding: 12px 28px;
    background: var(--color-accent);
    border-radius: 25px;
    border: none;
    color: #FFF;
    font-size: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

form#gerarCertificado {
    padding: 48px 75px;
    background-color: #FFF;
    max-width: 736px;
    border-radius: 55px;

    @media (max-width: 575px) {
        border-radius: 20px;
        padding: 48px 32px;
        max-width: 100%;
    }
}

form#gerarCertificado input[type="text"],
form#gerarCertificado input[type="email"],
form#gerarCertificado input[type="date"] {
    background: rgba(217, 217, 217, 0.2);
    border-radius: 25px;
    height: 45px;
}

form#gerarCertificado button[type="submit"] {
    width: 100%;
    background: var(--color-accent);
    border-radius: 25px;
    border: none;
    color: #FFF;
    font-size: 18px;
    line-height: 40px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-warning {
    background-color: #FFF;
    border-radius: 28px;
    padding: 30px 48px;

    h4 {
        font-size: 35px;
        line-height: 40px;
        color: #FF0000;
        font-weight: 700;
        text-align: center;

    }

    p {
        font-size: 20px;
        line-height: 25px;
        color: #000;
        text-align: center;
        margin: 0;
    }

    input[type="button"] {
        padding: 8px 64px;
        background: #D9D9D9;
        border-radius: 25px;
        border: none;
        color: #000;
        font-size: 20px;
        line-height: 25px;
        font-weight: 700;
        cursor: pointer;
        transition: background 0.3s ease;
    }
}