/*PopUp Variation*/
.popUp {
    --radius: .75rem;
    inset: 0;
    --investor-stock-size: 40px;
}

    .popUp .modal-dialog {
        height: 100%;
        max-width: 43rem;
        margin: 0;
    }

    .popUp .modalVariation {
        animation: slideLeftToRight 0.9s linear forwards;
    }

    .popUp .modal-content { 
        background: transparent;
        height: 100%;
        border: none;
    }

    .popUp .tp-popup__close-btn {
        border: 1px solid;
        width: 1.4rem;
        height: 1.4rem;
        border-radius: var(--radius);
    }

    .popUp[data-open=false] {
        display: none;
    }

    .popUp .tp-popup-contentForm {
        max-height: 12rem;
        overflow-y: auto;
    }

.tp-popup-contact .tp-popup-contact__body,
.tp-popup-contact .alignModalVariation {
    grid-template-rows: 1fr auto;
    max-height: fit-content;
    margin-top: auto;
    display: grid;
    position: absolute;
    inset: 0
}

.tp-popup-contact .tp-popup-contact__close-btn-wrapper {
    --size: 2rem;
    color: var(--color-white);
    cursor: pointer;
    width: var(--size);
    height: var(--size);
    z-index: var(--z-10);
    position: absolute;
    top: 1rem;
    right: 1rem
}

.tp-popup-contact .tp-popup-contact__image-wrapper {
    aspect-ratio: 1;
    border-top-right-radius: var(--radius);
    border-top-left-radius: var(--radius);
    width: 100%;
    max-height: 16rem;
    position: relative;
}

    .tp-popup-contact .tp-popup-contact__image-wrapper img {
        object-fit: cover;
        border-top-right-radius: var(--radius);
        border-top-left-radius: var(--radius);
        width: 100%;
        height: 100%
    }

    .tp-popup-contact .tp-popup-contact__image-wrapper .tp-popup-contact__image-text {
        color: var(--color-white);
        place-items: center;
        display: grid;
        position: absolute;
        inset: 0
    }

        .tp-popup-contact .tp-popup-contact__image-wrapper .tp-popup-contact__image-text .tp-popup-contact__title {
            font-size: 1.5rem;
            font-family: var(--font-sancoale-light);
        }

        .tp-popup-contact .tp-popup-contact__image-wrapper .tp-popup-contact__image-text .tp-popup-contact__description,
        .tp-popup-contact .tp-popup-contact__image-wrapper .tp-popup-contact__image-text .tp-popup-contact__description p {
            font-size: 1rem
        }

.tp-popup-contact .tp-popup-contact__content {
    background-color: var(--color-white);
    padding: 1rem;
    overflow-y: auto;
    max-height: 17.5rem;
}

    .tp-popup-contact .tp-popup-contact__content form {
        flex-direction: column;
        gap: 1rem;
        display: flex
    }

.tp-popup-contact .tp-popup-contact__consent input[type=checkbox] {
    accent-color: var(--color-primary) !important
}

.tp-popup-contact .tp-popup-contact__consent .form-check-label {
    font-size: 12px
}

.tp-popup-contact .tp-popup-contact__consent .tp-popup-contact__privacy-policy {
    color: var(--color-primary)
}

.tp-popup-contact .tp-popup-contact__submit-wrapper button {
    width: 14rem;
    font-size: .75rem
}

.tp-popup-contact .tp-popup-contact__thank-you {
    height: 100%;
    overflow-y: auto;
}

    .tp-popup-contact .tp-popup-contact__thank-you .tp-popup-contact__title {
        font-size: 2.3rem;
        font-family: var(--font-sancoale-light);
    }

.tp-popup-contact .popUp__image {
    max-width: 100%;
    height: 100%;
}

/*PopUp Normal*/
.tp-popup-video .tp-popup-video__body {
    border-radius: var(--radius) var(--radius) 0 0;
    grid-template-rows: 1fr auto;
    min-height: 23rem;
    max-height: fit-content;
    display: grid;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden
}

.tp-popup-video .popUp__image {
    max-width: 100%;
    height: 100%;
}

.tp-popup-video .tp-popup-video__body[data-mode=video] {
    padding: 0
}

    .tp-popup-video .tp-popup-video__body[data-mode=video] .tp-popup-video__image-wrapper {
        display: none
    }

    .tp-popup-video .tp-popup-video__body[data-mode=video] .tp-popup-video__content {
        display: none
    }

    .tp-popup-video .tp-popup-video__body[data-mode=video] .tp-popup-video__play-btn {
        display: none
    }

.tp-popup-video .tp-popup-video__body[data-mode=content] .tp-popup-video__iframe {
    display: none
}

.tp-popup-video .tp-popup-video__body .tp-popup-video__close-btn-wrapper {
    color: var(--color-white);
    cursor: pointer;
    z-index: var(--z-10);
    position: absolute;
    top: .625rem;
    right: .625rem
}

.tp-popup-video .tp-popup-video__body .tp-popup-video__play-btn {
    --size: 3.4375rem;
    right: 1rem;
    bottom: calc((var(--size)/2)*-1);
    width: var(--size);
    height: var(--size);
    z-index: var(--z-10);
    background: linear-gradient(white, white)padding-box, linear-gradient(90deg in oklch, var(--gradient-color-1)1.82%, var(--gradient-color-2)98.91%)border-box;
    box-shadow: 0px 4px 11px 0px var(--color-primary);
    border: 1px solid transparent;
    border-radius: 50%;
    justify-content: center;
    place-items: center;
    padding: .5rem;
    display: flex;
    position: absolute
}

.tp-popup-video .tp-popup-video__body .tp-popup-video__image-wrapper {
    aspect-ratio: 1.5;
    width: 100%;
    max-height: 20rem;
    position: relative
}

    .tp-popup-video .tp-popup-video__body .tp-popup-video__image-wrapper img {
        object-fit: cover;
        width: 100%;
        height: 100%
    }

    .tp-popup-video .tp-popup-video__body .tp-popup-video__image-wrapper .tp-popup-video__image-text {
        place-items: center;
        display: grid;
        position: absolute;
        inset: 0
    }

.tp-popup-video .tp-popup-video__imageTitle {
    font-family: var(--font-sancoale-light);
    font-size: 1.9rem;
}

.tp-popup-video .tp-popup-video__textImage {
    font-weight: var(--font-weight-bold);
    font-size: 1.3125rem
}

.tp-popup-video .tp-popup-video__body .tp-popup-video__content {
    background-color: var(--color-white);
    padding: 2.3rem 1.5rem;
    position: relative;
    overflow-y: auto
}

    .tp-popup-video .tp-popup-video__body .tp-popup-video__content .tp-popup-video__title {
        font-family: var(--font-sancoale-light);
        font-size: 1.9rem;
        font-weight: var(--font-weight-medium)
    }

.tp-popup-video .tp-popup-video__body .tp-popup-video__cta-wrapper > * {
    align-items: center;
    min-height: 2.375rem
}

.tp-popup-video .tp-popup-video__body .tp-popup-video__iframe {
    width: 100%;
    height: 100%
}

@media (min-width: 576px) {

    .tp-popup-contact .tp-popup-contact__thank-you {
        display: flex;
        flex-direction: column;
        place-content: center;
    }

    .tp-popup-video .tp-popup-video__body .tp-popup-video__image-wrapper {
        max-height: 13.5rem
    }

    .tp-popup-video .tp-popup-video__body {
        max-width: 32rem;
        margin: auto;
        top: 0;
        border-radius: var(--radius);
    }

    .tp-popup-contact .tp-popup-contact__content {
        border-top-right-radius: var(--radius);
        border-bottom-right-radius: var(--radius);
        align-items: center;
        padding-top: 3rem;
        /*display: flex;*/
        max-height: unset;
    }

    .tp-popup-contact .tp-popup-contact__image-wrapper .tp-popup-contact__image-text .tp-popup-contact__title {
        font-size: 1.9rem;
    }

    .tp-popup-contact .tp-popup-contact__image-wrapper .tp-popup-contact__image-text {
        padding: 0 1.5rem
    }

    .tp-popup-contact .tp-popup-contact__image-wrapper img {
        border-radius: 0
    }

    .tp-popup-contact .tp-popup-contact__image-wrapper {
        max-height: unset;
        border-radius: 0;
        height: 100%
    }

    .tp-popup-contact .tp-popup-contact__close-btn-wrapper {
        color: var(--color-black);
        top: calc(var(--investor-stock-size) + 8px);
        right: 4px
    }

    .tp-popup-contact .tp-popup-contact__body {
        max-height: 53rem;
        padding-top: var(--investor-stock-size);
        grid-template-columns: 50% 50%;
        margin: auto 0;
        flex: 100%;
    }

    .tp-popup-contact .alignModalVariation {
        max-height: 41rem;
        padding-top: var(--investor-stock-size);
        grid-template-columns: 50% 50%;
        margin: auto 0;
        flex: 100%;
    }

        .tp-popup-contact .alignModalVariation img {
            border-top-left-radius: var(--radius);
            border-bottom-left-radius: var(--radius);
        }


    .tp-popup-contact .tp-popup-contact__image-wrapper {
        flex: 100%
    }
}

@media (max-width: 576px) {
    .tp-popup-video .tp-popup-video__body[data-mode=video] {
        background-color: #000;
        border-radius: 0;
        height: 100%;
        top: 0
    }

        .tp-popup-video .tp-popup-video__body[data-mode=video] .tp-popup-video__iframe {
            aspect-ratio: 16/9;
            height: auto;
            margin: auto
        }

    .popUp .modal-dialog {
        animation: slideUp 0.9s linear forwards;
    }
}


/*exemplo de formulario*/
.tp-form__field {
    width: 100%
}

    .tp-form__field span {
        font-family: var(--font-noto);
        font-size: .875rem;
        font-weight: var(--font-weight-normal);
        padding-left: .625rem;
        display: block
    }

    .tp-form__field input:not([type=checkbox]) {
        --shadow-color: rgba(0, 0, 0, .12);
        background-color: var(--color-white);
        box-shadow: .5px .5px 2px var(--shadow-color);
        border-color: var(--shadow-color);
        border-radius: 2.5rem;
        width: 100%;
        height: 100%;
        min-height: 2.25rem;
        padding: .25rem .75rem
    }

        .tp-form__field input:not([type=checkbox]):focus {
            outline-color: var(--shadow-color);
            border-color: var(--shadow-color);
            box-shadow: 1px 1px 4px var(--shadow-color)
        }

    .tp-form__field select {
        --shadow-color: rgba(0, 0, 0, .12);
        background-color: var(--color-white);
        box-shadow: .5px .5px 2px var(--shadow-color);
        border-color: var(--shadow-color);
        border-radius: 2.5rem;
        width: 100%;
        height: 100%;
        min-height: 2.25rem;
        padding: .25rem .75rem
    }

        .tp-form__field select:focus {
            outline-color: var(--shadow-color);
            border-color: var(--shadow-color);
            box-shadow: 1px 1px 4px var(--shadow-color)
        }

    .tp-form__field textarea {
        --shadow-color: rgba(0, 0, 0, .12);
        background-color: var(--color-white);
        box-shadow: .5px .5px 2px var(--shadow-color);
        border-color: var(--shadow-color);
        border-radius: 2.5rem;
        width: 100%;
        height: 100%;
        min-height: 2.25rem;
        padding: .25rem .75rem
    }

        .tp-form__field textarea:focus {
            outline-color: var(--shadow-color);
            border-color: var(--shadow-color);
            box-shadow: 1px 1px 4px var(--shadow-color)
        }

    .tp-form__field select {
        white-space: nowrap;
        text-overflow: ellipsis;
        padding-right: 2rem;
        overflow: hidden
    }

        .tp-form__field select:has(option:checked[value=""]) {
            color: var(--color-gray)
        }
