section.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    z-index: 3;
}

section.hero h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 120%;
    margin-bottom: 20px;
}

section.hero p {
    color: #fff;
    font-size: 1.75rem;
    line-height: 24px;
}

section.hero .form-container {
    /* ALTERADO MARGIN ENTRE O FORMULÁRIO E FRASE DO CUPOM NO DESKTOP */
    margin-top: 30px;
}

section.hero .form-container .form-group.datas {
    border-color: #646464;
}

section.hero .form-container .form-group.datas:after {
    content: '';
    position: absolute;
    right: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 1px;
    height: 82px;
    background-color: #646464;
}

section.hero .form-container .date-input {
    position: relative;
    width: 50%;
}

section.hero .form-container .modal-form {
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    position: absolute;
    left: 0;
    top: 100%;
    background: #fff;
    border-radius: 12px;
    border: solid 1px #ededed;
    z-index: 100;
    transition: all ease 200ms;
}

section.hero .form-container .modal-viajantes {
    top: 100%;
    margin-top: 25px;
    margin-left: 20px;
    width: 400px;
}

section.hero .form-container .modal-viajantes>div {
    padding: 20px;
    border-bottom: solid 1px #ededed;
}

section.hero .form-container .modal-viajantes>div:nth-child(2) {
    padding: 10px 20px;
}

section.hero .form-container .modal-viajantes>div:nth-child(3) {
    padding: 10px 20px;
    border-bottom: none;
}

section.hero .form-container .modal-viajantes .age-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 0;
}

section.hero .form-container .modal-viajantes .counter {
    display: flex;
    align-items: center;
    gap: 8px;
}

section.hero .form-container .modal-viajantes .counter button {
    width: 38px;
    height: 38px;
    background: #ededed;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

section.hero .form-container .modal-viajantes .counter .count {
    width: 25px;
    text-align: center;
}

section.hero .form-container .modal-viajantes #apply-btn {
    width: 100%;
}

section.hero .form-container .modal-viajantes.active {
    visibility: visible;
    opacity: 1;
    max-height: 440px;
}

section.hero .form-container .toggle-wrapper {
    position: relative;
    height: 26px;
    overflow: hidden;
}

section.hero .form-container .toggle-wrapper input {
    height: 26px;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 47px;
}

section.hero .form-container .toggle-wrapper .toggle {
    position: relative;
    display: inline-block;
    height: 26px;
}

section.hero .form-container .toggle-wrapper .toggle label {
    background: #a4a4a4;
}

section.hero .form-container .toggle-wrapper .toggle label:before {
    content: '';
    position: absolute;
    border: none;
    width: 20px;
    height: 20px;
    background: #f9f9f9;
    transform: rotate(-25deg);
}

section.hero .form-container .toggle-wrapper .toggle label:after {
    content: '';
    position: absolute;
    background: transparent;
    height: 100%;
    border-radius: 30px;
    width: 100%;
    z-index: 0;
}

section.hero .form-container .toggle-wrapper .toggle label.toggle-item {
    width: 47px;
    height: 26px;
    display: inline-block;
    border-radius: 50px;
    position: relative;
    transition: all .3s ease;
    transform-origin: 20% center;
    cursor: pointer;
}

section.hero .form-container .toggle-wrapper .toggle label.toggle-item:before {
    display: block;
    transition: all .2s ease;
    top: 3px;
    left: 3px;
    border-radius: 100px;
    transition: .3s ease;
}

section.hero .form-container .toggle-wrapper #toggleCupom:checked+label {
    background-image: linear-gradient(90deg, #A9C923, #A6DA79) !important;
}

section.hero .form-container .toggle-wrapper #toggleCupom:checked+label:before {
    left: 24px;
}

section.hero .form-container .cupom-modal {
    left: 15px;
    width: 350px;
    padding: 16px;
}

section.hero .form-container .cupom-modal .cupom-header .close-cupom {
    background: #f4f4f4;
    border: none;
    min-width: 52px;
    width: 52px;
    height: 42px;
    border-radius: 12px;
    cursor: pointer;
}

section.hero .form-container .cupom-modal .cupom-input-wrapper {
    margin-top: 16px;
}

section.hero .form-container .cupom-modal .cupom-input-wrapper input {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: solid 1px #a4a4a4;
    outline: none;
}

section.hero .form-container .cupom-modal .cupom-actions {
    margin-top: 16px;
}

section.hero .form-container .cupom-modal .cupom-actions button {
    flex: 1;
    padding: 12px;
    border-radius: 15px;
}

section.hero .form-container .cupom-modal.active {
    visibility: visible;
    opacity: 1;
    max-height: 300px;
}

@media screen and (max-width: 1580px) {
    section.hero p {
        font-size: 1.5rem;
        line-height: 22px;
    }

    section.hero h1 {
        font-size: 3.5rem;
        line-height: 110%;
    }

    section.hero .form-container .modal-viajantes {
        width: 330px;
    }

    section.hero .form-container .modal-viajantes>div {
        padding: 15px;
    }
}

@media screen and (max-width: 1380px) {
    section.hero .form-container {
        margin-top: 30px;
        /*.date-input {
          padding-left: 30px;
      }*/
    }

    section.hero .form-container .form-group.datas:after {
        height: 78px;
    }

    section.hero .form-container .modal-viajantes {
        width: 315px;
    }

    section.hero .form-container .modal-viajantes>div {
        padding: 15px;
    }
}

@media screen and (max-width: 900px) {
    section.hero h1 {
        font-size: 1.8rem;
        line-height: 120%;
    }

    section.hero p {
        font-size: 1.25rem;
        line-height: 120%;
    }

    section.hero .form-container {
        padding: 15px;
        margin-top: 30px;
    }

    section.hero .form-container label img {
        transform: scale(0.9);
        transform-origin: left;
    }

    section.hero .form-container .modal-viajantes {
        width: 295px;
    }

    section.hero .form-container .modal-viajantes>div:nth-child(2) {
        padding: 5px 15px;
    }

    section.hero .form-container .modal-viajantes>div:nth-child(3) {
        padding: 10px;
    }

    section.hero .form-container .modal-viajantes .age-group {
        margin: 5px 0;
    }

    section.hero .form-container .modal-viajantes .counter .count {
        width: 15px;
    }

    section.hero .form-container .modal-viajantes .btn.btn-primary {
        margin-top: 0;
    }

    section.hero .form-container .cupom-modal {
        transform: scale(0.9);
        transform-origin: left;
    }
}