/* Formulário Principal */
.main-forms {
    background: url("https://static.hayapek.com.br/banners/hayamax/landingpage/seja-revenda/cdh.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding: 4rem 0 3rem 0;
}

.main-forms .container {
    width: 100%;
    display: flex;
    flex-direction: column;
    max-width: 1590px;
}

/* Header */
.main-forms .header-form {
    display: flex;
    flex-direction: row;
    margin-bottom: 4rem;
}

.main-forms .header-form div {
    flex: 1;
}

.main-forms .header-form div:first-child {
    max-width: 350px;
}

.main-forms .header-form .menu {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}

.main-forms .header-form .menu span {
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
}

.main-forms .header-form .menu span:hover {
    color: #D9D9D9;
}

.main-forms .header-form img {
    width: 100%;
    max-width: 350px;
    height: auto;
    cursor: pointer;
}

/* Body */
.main-forms .body-form {
    display: flex;
    flex-direction: row;
    gap: 5rem;
    align-items: center;
}

.main-forms .body-form h1 {
    font-weight: 700;
    font-size: 60px;
    color: #FFFFFF;
}

.main-forms .body-form h1 mark {
    background-color: #C10B25;
    color: #FFFFFF;
    padding: 0;
}

.main-forms .body-form p {
    font-weight: 500;
    font-size: 30px;
    color: #FFFFFF;
}

.main-forms .body-form>div {
    flex: 1;
}

.main-forms .body-form .form-content {
    display: flex;
    justify-content: center;
}

.main-forms .body-form .form-container {
    padding: 3rem;
    background-color: rgba(255, 255, 255, .6);
    backdrop-filter: blur(3px);
    border-radius: 52px;
}

.main-forms .body-form form {
    max-width: 540px;
}

.main-forms .body-form form input[type=text] {
    display: block;
    width: 100%;
    height: calc(1.5em + .75rem + 2px);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
    color: #1D1E1C;
    background-color: transparent;
    background-clip: padding-box;
    border: none;
    border-bottom: 2px solid #1D1E1C;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    outline: none;
    margin-bottom: 1rem;
}

.main-forms .body-form form input[type=text]::placeholder {
    color: #1D1E1C;
}

.main-forms .body-form .privacy {
    font-weight: 500;
    font-size: 9px;
    color: #000000;
    text-align: center;
    margin-bottom: 4rem;
}

.main-forms .body-form .privacy-link {
    color: #C10B25;
}

.main-forms .body-form .captcha-div,
.main-forms .body-form .submit-div {
    align-self: center;
    display: flex;
    justify-content: center;
}

.main-forms .body-form .form-content .row:has(.submit-div) {
    row-gap: 1rem;
}

.main-forms .body-form #btn-submit-brand {
    width: 100%;
    background-color: #C10B25;
    border: 4px solid #C10C25;
    border-radius: 45px;
    font-weight: 800;
    font-size: 24px;
    color: #FFFFFF;
    outline: none;
    box-shadow: none;
}

.main-forms .body-form #btn-submit-brand:hover {
    background-color: #A10A20;
    border: 4px solid #A10A20;
}

.main-forms .body-form .radio-label {
    font-weight: 500;
    font-size: 15px;
    color: #1D1E1C;
}

.main-forms .body-form .custom-radio {
    margin-bottom: 1rem;
}

.main-forms .body-form .custom-control-label {
    font-weight: 500;
    font-size: 16px;
    color: #1D1E1C;
}

.main-forms .body-form .custom-control-input:hover~.custom-control-label::before {
    border: 2px solid #C10B25;
}

.main-forms .body-form .custom-control-input:focus~.custom-control-label::before {
    box-shadow: none;
}

.main-forms .body-form .custom-control-label::before {
    top: .15rem;
    width: 1.25rem;
    height: 1.25rem;
    background-color: transparent;
    border: 2px solid #1D1E1C;
}

.main-forms .body-form .custom-control-label::after {
    top: .15rem;
    width: 1.25rem;
    height: 1.25rem;
    background: transparent;
    border-radius: 20px;
}

.main-forms .body-form .custom-radio .custom-control-input:checked~.custom-control-label::after {
    background: #C10B25;
}

/* Footer */
.main-forms .footer-form {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: .5rem;
    font-weight: 500;
    font-size: 20px;
    color: #FFFFFF;
}

.main-forms .footer-form img {
    cursor: pointer;
}

/* Pup-up de Sucesso */
.main-forms .body-form .success-container {
    padding: 3rem;
    background-color: #C10B25;
    backdrop-filter: blur(3px);
    border-radius: 52px;
    text-align: center;
    max-width: 636px;
}

.main-forms .body-form .success-container .success-check {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 3rem;
}

.main-forms .body-form .success-container h2 {
    font-weight: 800;
    font-size: 30px;
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.main-forms .body-form .success-container p {
    font-weight: 500;
    font-size: 16px;
    color: #FFFFFF;
}

.main-forms .body-form .success-container .btn-new-register {
    background-color: #FFFFFF;
    border: none;
    border-radius: 25px;
    color: #C10B25;
    font-weight: 700;
    font-size: 16px;
    padding: .5rem 1rem;
    outline: none;
    margin-bottom: 6rem;
    transition: background-color 0.3s ease;
}

.main-forms .body-form .success-container .btn-new-register:hover {
    background-color: #DBDBDB;
}

.main-forms .body-form .success-container .social-media {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    margin-top: 2rem;
}

.main-forms .body-form .social-media img {
    cursor: pointer;
}

/* Media Queries */
@media (max-width: 1200px) {
    .main-forms .body-form h1 {
        font-size: 40px;
    }

    .main-forms .body-form p {
        font-size: 25px;
    }
}

@media (max-width: 967px) {
    .main-forms .header-form {
        gap: 1.5rem;
        flex-direction: column;
    }

    .main-forms .header-form div:first-child {
        text-align: center;
        max-width: none;
    }

    .main-forms .body-form {
        flex-direction: column;
        gap: 2rem;
    }

    .main-forms .footer-form {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-forms .body-form .privacy {
        margin-bottom: 2rem;
    }

    .main-forms .body-form .success-container h2 {
        font-size: 25px;
    }
}

@media (max-width: 620px) {
    .main-forms {
        padding: 2rem 0;
    }

    .main-forms .header-form .menu {
        flex-wrap: wrap;
    }

    .main-forms .header-form .menu span {
        width: 50%;
        text-align: center;
        margin-bottom: 0.5rem;
        font-size: 14px;
    }

    .main-forms .header-form .menu span:nth-child(n+3) {
        width: auto;
    }

    .main-forms .body-form h1 {
        font-size: 30px;
    }

    .main-forms .body-form p {
        font-size: 18px;
    }

    .main-forms .body-form .form-container .col-6 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .main-forms .body-form .success-container h2 {
        font-size: 20px;
    }

    .main-forms .body-form .success-container p {
        font-size: 14px;
    }

    .main-forms .body-form .success-container .btn-new-register {
        margin-bottom: 4rem;
    }

    .main-forms .body-form .success-container .success-check {
        width: 40%;
    }
}

@media (max-width: 480px) {
    .main-forms .body-form .form-container {
        padding: 1rem;
        border-radius: 18px;
    }
}