
.view_imoveis{
    display: flex;
    min-height: 483rem;
    padding: 0rem 20rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    margin: 5rem 0;
}

.view_imoveis h2{
    display: flex;
    min-height: 64rem;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    color: #FFF;
    text-align: center;
    text-shadow: 1px 1px 1px #000;

    /* Poppins/bold-24 */
    font-size: 24rem;
    font-weight: 700;
}

.view_imoveis a{
    display: flex;
    height: 69rem;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    color: #FFF;
    text-align: center;

    /* Poppins/bold-24 */
    font-size: 20rem;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-color: #EB0A00;
    text-decoration-thickness: auto;
    text-underline-offset: auto;
    text-underline-position: from-font;
}

.simple_view.track{
    display: flex;
    padding: 30rem;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 3vw;
    align-self: stretch;
    flex-wrap: wrap;
}
.simple_view.track .item {
    &{
        display: flex;
        width: 300rem;
        height: 500rem;
        flex-direction: column;
        align-items: center;
        border-radius: 9rem;
        background: var(--Fundo, #FAFAFA);
        box-shadow: 0rem 4rem 4rem rgba(0, 0, 0, 0.25);
        overflow: hidden;
        position: relative;
        transition: box-shadow 0.2s, transform 0.2s;
        }

    &:hover{
        &{
            box-shadow: 0rem 4rem 15rem rgba(0, 0, 0, 0.50), 0rem 4rem 4rem rgba(0, 0, 0, 0.25);
        }
        .desktop &{
            z-index: 999;
            transform: scale(1.1);
        }
    }
}

/* Efeito ao passar o mouse */

.simple_view.track .item .containspin {
    &{
        width: 100%;
        height: 100%;
        position: absolute;
        z-index: 99;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        animation: sumir_devagar 5s ease-out forwards;
        will-change: opacity;
        pointer-events: none;
        backface-visibility: hidden;
        background-color: #FFF;
    }

    .template-item:not(:has(+div)) &{
        animation: none;
    }
    .template-item.item:not(:has(+div)) &{
        animation: sumir_devagar 5s ease-out infinite;
    }
}

.simple_view.track .item .containspin div {
    &{
            width: 50%;
        height: 200%;
        background: linear-gradient(to bottom, #999, #444, #000);
        animation: 
            bordaLoading 5s linear infinite,
            sumir_primeiro 4s ease-out forwards;
        will-change: transform, opacity;
    }

    .template-item:not(:has(+div)) &{
        animation: 
            bordaLoading 5s linear infinite;
        will-change: transform, opacity;
        }
}

.simple_view.track .item::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 9rem;
        margin: 5rem;
        background: #fafafa;
        z-index: 105;
        pointer-events: none;
        animation: sumir_devagar 5s ease-out forwards;
}

.simple_view.track .template-item::before {
    animation: sumir_devagar 5s ease-out infinite;
}

.template-item.item:not(:has(+div))::before{
    animation: none!important;
}


/* Animação de rotação contínua (suave) */
@keyframes bordaLoading {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(760deg);
    }
}

@keyframes sumir_primeiro {
    0%, 70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

/* Suavemente desaparece */
@keyframes sumir_devagar {
    0%, 80% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


.simple_view.track .item .iframe_content{
    width: 100%;
    width: 300rem;
    height: 225rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/static/img/placeholder.webp');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    &{}
    .desktop .foco &{
        width: 610rem;
        height: 100%;
    }
    
}

.simple_view.track .item .iframe_content button {
    
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url("../img/seta.svg");
    background-repeat: no-repeat;
    background-size: 24px 24px;
    background-position: center;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.simple_view.track .item .iframe_content button:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.simple_view.track .item .iframe_content button:active {
    transform: scale(0.95);
}

.simple_view.track .item .iframe_content button.left {
    left: 20px;
    transform: rotate(90deg);
}

.simple_view.track .item .iframe_content button.left:hover {
    transform: rotate(90deg) scale(1.1);
}

.simple_view.track .item .iframe_content button.right {
    right: 20px;
    transform: rotate(-90deg);
}

.simple_view.track .item .iframe_content button.right:hover {
    transform: rotate(-90deg) scale(1.1);
}


.simple_view.track .item .iframe_content img{
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.simple_view.track .item .iframe_content iframe{
    width: 100%;
    height: 100%;
    &{}
    &.deslize{
        animation: inverter-linha 0.9s forwards;
    }
}

.simple_view.track .item .infos{
    display: flex;
    position: relative;
    height: 275rem;
    padding: 0rem 5%;
    flex-direction: column;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
}

.simple_view.track .item .infos .comodo-template{
    height: 275rem;
    width: 100%;
    display: flex;
    flex-direction: column;
}


.simple_view.track .item .infos .caption{
    display: flex;
    min-height: 59rem;
    padding: 3rem 0rem;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    align-self: stretch;
    border-bottom: 1rem solid var(--simple-stroke, rgba(0, 0, 0, 0.08));
}

.simple_view.track .item .infos .caption span.titulo{
    width: 100%;
    color: #000;
    font-size: 16rem;
    font-weight: 700;
}

.simple_view.track .item .infos .caption span.comodo{
    width: 100%;
    height: 23rem;
    color: var(--Claro, #4A5565);

    font-size: 14rem;
    font-weight: 400;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
}

.simple_view.track .item .infos .table{
    display: flex;
    padding: 0rem 5rem 30rem 0rem;
    flex-direction: column;
    align-items: center;
    flex: 1 0 0;
    align-self: stretch;
    background: rgba(217, 217, 217, 0.00);
    overflow-y: scroll;
}





.simple_view.track .item .infos .table .row{
    display: flex;
    margin-top: 20rem;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    min-height: 16rem;
}
.simple_view.track .item .infos .table .template-row{
    display: none;
}

.simple_view.track .item .infos .table .row:has(.descricao){
    flex-direction: column;
}

.simple_view.track .item .infos .table .row:has(.some){
    display: none;
}


.simple_view.track .item .infos .table .row span{
    display: flex;
    height: auto;
    flex-direction: column;
    justify-content: center;
    flex: 1 0 0;
    font-size: 14rem;
    font-weight: 400;

    &{}

    &.descricao{
        text-align: center;
    }
}

.simple_view.track .item .infos .table .row .nome-info{
    color: var(--Claro, #4A5565);

}
.simple_view.track .item .infos .table .row .valor{
    color: #000;
    text-align: right;
}


.simple_view.track .item .infos>a{
    width: 90%;
    background-color: #FAFAFA;
    position: absolute;
    bottom: 0;
    display: flex;
    height: 30rem;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    color: #06F;
    text-decoration: #06F;
    text-align: center;

    /* Poppins/regular-14 */
    font-size: 14rem;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
    text-decoration-thickness: auto;
    text-underline-offset: auto;

    border-top: 1rem solid var(--simple-stroke, rgba(0, 0, 0, 0.08));

}