section.hero {

    background-color: #004681;

    position: relative;

    z-index: 3;


}



section.hero::before {

    z-index: 1;

}

section.hero .ilustra-top-carnaval {

    position: absolute;

    top: 0;

    left: 0;

    max-width: 190px;

    height: auto;

    z-index: 2;

    pointer-events: none;

}



section.hero .tape {

    position: absolute;

    top: 100px;

    left: -60px;

    width: 300%;

    background: yellow;

    color: #000;

    font-weight: 600;

    font-size: 1.25rem;

    padding: 10px 0;

    overflow: hidden;

    white-space: nowrap;

    transform: rotate(-40deg);

    transform-origin: left top;

    z-index: 3;



}



section.hero .tape span {

    display: inline-block;

    padding-right: 50px;

    animation: slide 8s linear infinite;

}



@keyframes slide {

    from {

        transform: translateX(0);

    }



    to {

        transform: translateX(-50%);

    }

}

section.hero {
    position: relative;
}

section.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    /* background-image: url('../images/hero/hero-background-av.webp'); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom center;

    z-index: -2;
}

section.hero .hero-illustration {
    position: absolute;
    right: 20px;
    bottom: 0;

    max-width: 400px;
    height: auto;

    z-index: 1;
    pointer-events: none;
}

section.hero.editing-form .hero-illustration {
    display: none;
}

@media screen and (min-width: 901px) {
    section.hero.editing-form {
        min-height: 140px;
    }
}

section.hero h1 {

    color: #fff;

    font-size: 2.2rem;

    font-weight: 700;

    line-height: 120%;

}

section.hero h1 span {
    font-size: 2.0rem;
}



section.hero p {

    color: #fff;

    font-size: 1.75rem;

    line-height: 24px;

}



section.hero .coupon-image {

    display: none;

    margin-top: 16px;

}



section.hero .coupon-image img {

    width: 100%;

    height: auto;

    border-radius: var(--radius, 12px);

    display: block;

}




section.hero .form-container {

    /* ALTERADO MARGIN ENTRE O FORMULÁRIO E FRASE DO CUPOM NO DESKTOP */

    margin: 0 8px;

    margin-top: 0px;

    padding: 0;

    background: transparent;

    border: none;

    border-radius: 0;

}



section.hero .form-container form {

    padding: 0;

    background: transparent;

    border: none;

}



section.hero .form-container .form-group {

    background-color: #fff;

}



section.hero .form-container .form-control,

section.hero .form-container select,

section.hero .form-container .custom-select,

section.hero .form-container .select2-selection--single {

    background-color: #fff;

}



section.hero .form-container .form-control {

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

    margin-right: 15px;

}

section.hero .form-container .floating-field {

    position: relative;

}

section.hero .form-container .floating-field > label,
section.hero .form-container .floating-field .date-input > label {

    position: absolute;
    left: 34px;
    top: 50%;
    z-index: 2;
    width: auto;
    max-width: calc(100% - 44px);
    padding: 0 6px;
    margin: 0;
    overflow: hidden;
    color: #646464;
    background-color: #fff;
    pointer-events: none;
    transform: translateY(-50%);
    transform-origin: left center;
    transition: transform 180ms ease, color 180ms ease;
    border-radius: 4px;

}

section.hero .form-container .floating-field .date-input > label {

    left: 30px;
    max-width: calc(100% - 38px);

}

section.hero .form-container .floating-field > .flex,
section.hero .form-container .floating-field .date-input > .flex {

    position: relative;
    z-index: 1;

}

section.hero .form-container .floating-field .form-control,
section.hero .form-container .floating-field select {

    padding-top: 16px;

}

section.hero .form-container .floating-field:focus-within > label,
section.hero .form-container .floating-field:has(input:not(:placeholder-shown)) > label,
section.hero .form-container .floating-field:has(option:checked:not([value=""])) > label,
section.hero .form-container .floating-field:has(#destino:focus) > label,
section.hero .form-container .floating-field:has(#destino option:checked:not([value=""])) > label,
section.hero .form-container .floating-field .date-input:focus-within > label,
section.hero .form-container .floating-field .date-input:has(input:not(:placeholder-shown)) > label {

    color: #004681;
    transform: translateY(calc(-145% + 5px)) scale(0.78);

}



section.hero .age-group-select .form-control {

    margin-right: 0;

}



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: 56px;

    background-color: #646464;

}



section.hero .form-container .date-input {

    position: relative;

    width: 50%;

    min-width: 0;

}



section.hero .form-container .date-input label {

    display: block;

    width: 100%;

    white-space: nowrap;

    overflow: hidden;

    text-overflow: ellipsis;

}



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: 1.8rem;

        line-height: 120%;

    }

    section.hero h1 span {
        font-size: 1.8rem;
    }



    section.hero .form-container .modal-viajantes {

        width: 350px;

    }



    section.hero .form-container .modal-viajantes>div {

        padding: 15px;

    }

}



@media screen and (max-width: 1380px) {

    section.hero .form-container {

        margin-top: 0px;

        /*.date-input {

          padding-left: 30px;

      }*/

    }



    section.hero .form-container .modal-viajantes {

        width: 340px;

    }



    section.hero .form-container .modal-viajantes>div {

        padding: 15px;

    }



    section.hero .form-container .form-group.datas {

        gap: 12px;

    }



    section.hero .date-input .gap10 {

        gap: 0px !important
    }

}



@media screen and (max-width: 900px) {

    section.hero .form-container {
        margin-left: -6px;
        margin-right: -16px;
    }

    section.hero .form-container .cupom-modal .cupom-actions {
        margin-top: 0;
    }

    section.hero::before {
        background-image: none;
    }

    section.hero .ilustra-top-carnaval {

        display: none !important;

    }



    section.hero .tape {

        display: none;

    }



    section.hero .hero-images {

        display: none !important;

    }



    section.hero h1 {

        font-size: 1.20rem;

        line-height: 120%;

    }

    section.hero h1 span {
        font-size: 1.0rem;
    }



    section.hero p {

        font-size: 1.25rem;

        line-height: 120%;

    }



    section.hero .form-container {

        padding: 15px;


    }



    section.hero .form-container label img {

        transform: scale(0.9);

        transform-origin: left;

    }



    section.hero .form-container .modal-viajantes {

        width: 340px;

    }



    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;

    }

}

.titulo-hero {
    color: #fff !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    line-height: 120% !important;
    margin-bottom: 20px !important;
    display: inline !important;
}

.titulo-hero span {
    font-size: 2.0rem !important;
}

.container-titulo-hero {
    margin-bottom: 20px;
}

@media screen and (max-width: 1580px) {
    .titulo-hero {

        font-size: 1.8rem !important;

        line-height: 120% !important;

    }

    .titulo-hero span {
        font-size: 1.8rem !important;
    }
}

@media screen and (max-width: 900px) {
    .titulo-hero {

        font-size: 1.20rem !important;

        line-height: 120% !important;

    }

    .titulo-hero span {
        font-size: 1.0rem !important;
    }

    section.hero .hero-illustration {
        display: none;
    }

    .container-titulo-hero {
    margin-bottom: 8px;
}

section.hero .form-container .form-group.datas:after {



    height: 53px;


}
}
