
.views-page {
    min-height:
        calc(
            100vh - 140px
        );

    display: flex;
    align-items: center;
    justify-content: center;
}

.views-container {
    position: relative;
    width: 100%;
    height: calc(
        100vh - 140px
    );
}


/* Posição do logo no lado esquerdo na página 'videos-vistas' */

.views-brand {
    position: absolute;
    left: 80px;
    bottom: 600px;
    z-index: 20;
}

.views-brand img {
    width: 300px;
    height: auto;
}


.page-videos-vistas .footer-logo-left {
    padding-inline-start: 80px;
}


/* Vídeos Vistas Map Wrapper */
.views-map-wrapper {
    position: absolute;
    left: 50%;
    top:calc(50% + 40px);
    transform:
        translate(
            -50%,
            -50%
        );

    width:
        min(
            900px,
            65vw
        );

    aspect-ratio: 832 / 880;
}

/* Vídeos Vistas Planta Background */

.views-map-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    z-index: 1;
}


/* Vídeos Vistas Planta em Destaque */
.views-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
}

/* Haja Luz */
.light-follow {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;

    background:
        radial-gradient(
            circle 450px at var(--lx,50%) var(--ly,50%),
            rgba(255,255,255,.12) 0%,
            rgba(255,255,255,.05) 30%,
            rgba(0,0,0,.15) 70%,
            rgba(0,0,0,.35) 100%
        );

    transition:
        background .08s linear;
}


/* HOTSPOTS */

.apto-highlight {
    position: absolute;
    pointer-events: auto;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition:
        opacity .35s ease,
        transform .35s ease,
        filter .35s ease;
}

.apto-highlight.active {
    opacity: 1;
    filter:
        drop-shadow(
            0 0 20px
            rgba(
                119,
                255,
                0,
                .9
            )
        );
    transform:
        scale(1.02);
}

.view-hotspot {
    position: absolute;
    transform:
        translate(
            -50%,
            -50%
        );

    border: none;
    border-radius: 999px;
    padding:14px 28px;
    background:rgba(28,79,58,.95);
    color: #FFF;
    font-family:'Inter', Helvetica, Arial, sans-serif;
    /* font-family: var(--font-display); */

    font-weight: 700;
    cursor: pointer;

    box-shadow:
        0 0 25px
        rgba(
            183,
            217,
            92,
            .35
        );

    transition:
        transform .25s ease,
        box-shadow .25s ease;
    z-index: 10;
}


.view-hotspot:hover {
    transform:
        translate(
            -50%,
            -50%
        )
        scale(1.08);

    box-shadow:
        0 0 35px
        rgba(
            183,
            217,
            92,
            .6
        );
}


/* Hotspots Highlight */
.highlight-01{
    width: 280px;
    right: 92px;
    bottom: 190px;
}

.highlight-02{
    width: 280px;
    left: 252px;
    bottom: 190px;
}

.highlight-03{
    width: 196px;
    left: 333px;
    top: 211px;
}

.highlight-04{
    width: 196px;
    right: 180px;
    top: 211px;
}


/* Hotspots Base */
.hotspot-01 {
    top: 72%;
    left: 86%;
}

.hotspot-02 {
    top: 72%;
    left: 32%;
}

.hotspot-03 {
    top: 37%;
    left: 36%;
}

.hotspot-04 {
    top: 37%;
    left: 82%;
}


/* Sol & Lua */
.moon-indicator {
    position: absolute;
    left: 460px;
    top: 140px;
    z-index: 15;
}

.sun-indicator {
    position: absolute;
    right: 340px;
    bottom: 20px;
    z-index: 15;
}

.sun-indicator span,
.moon-indicator span {
    font-size: 72px;
}

.indicator-tooltip {
    display: none;
}

.sun-moon-line{
    position: absolute;
    left: 53%;
    top: 50%;
    transform:
        translate(
            -50%,
            -50%
        );

    width: 830px;
    height: auto;
    z-index: 2;
    pointer-events: none;
    opacity: .9;
}

/* Escondido por padrão */
.views-plant-modal-trigger {
    display: none;
}

/* plant-modal-image deve exibir somente no mobile portrait  */
.plant-modal {
    display: none;
}

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */

.views-mobile-actions {
    display: none;
}

/*
|--------------------------------------------------------------------------
| TABLET
|--------------------------------------------------------------------------
*/

@media (max-width: 1200px)
{
    .views-brand img {
        width: 220px;
    }

    .views-map-wrapper {
        width: min(72vw, 850px);
    }

    .moon-indicator {
        left: 120px;
        top: 180px;
    }

    .sun-indicator {
        right: 120px;
        bottom: 120px;
    }
}

/*
|--------------------------------------------------------------------------
| MOBILE LANDSCAPE
|--------------------------------------------------------------------------
*/

@media (max-width: 900px) and (orientation: landscape)
{
    .views-brand img {
        width: 120px;
    }

    .views-map-wrapper {
        width: 55vw;
    }

    .moon-indicator {
        left: 60px;
        top: 100px;
    }

    .sun-indicator {
        right: 60px;
        bottom: 60px;
    }
}

/*
|--------------------------------------------------------------------------
| PORTRAIT
|--------------------------------------------------------------------------
*/

@media (orientation: portrait)
{
    .views-page
    {
        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: flex-start;

        min-height: auto;
    }

    .views-container
    {
        position: static;

        width: 100%;
        height: auto;

        display: flex;
        flex-direction: column;
        align-items: center;
    }

    /* Oculta recursos desktop */

    .view-hotspot,
    .apto-highlight,
    .sun-indicator,
    .moon-indicator,
    .sun-moon-line
    {
        display: none !important;
    }

    /* Logo */

    .views-brand
    {
        position: relative;

        width: 100%;
        text-align: center;

        margin: 24px 0;
    }

    .views-brand img
    {
        width: 180px;
        max-width: 60vw;
        height: auto;
    }

    /* Planta */

    .views-map-wrapper
    {
        position: static;

        transform: none;

        width: 78vw;
        max-width: 420px;

        margin: 0 auto;
    }

    .views-map,
    .views-map-bg{
        width: 100%;
        height: auto;
    }

    /* Botões Mobile */

    .views-mobile-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 85vw;
        max-width: 420px;
        margin: 20px auto 40px;
    }

    .views-mobile-btn {
        height: 48px;
        border: none;
        border-radius: 999px;
        background: rgba(
            28,
            79,
            58,
            .95
        );

        color: #FFF;
        font-size: 15px;
        font-weight: 700;
        cursor: pointer;
    }

    .views-mobile-btn:active {
        transform: scale(.98);
    }

    /* Footer */
    .page-videos-vistas .footer-logo-left {
        padding-inline-start: 0;
        text-align: center;
    }

    /* Modal Planta */
    .views-map-wrapper {
        display: none;
    }

    .views-mobile-plant {
        width: 85vw;
        max-width: 420px;
        height: 48px;
        border-radius: 999px;
        background: #b7d95c;
        color: #1c4f3a;
        font-weight: 700;
        margin: 0 auto 20px;
    }

        .plant-modal {
        display: none;
        position: fixed;
        inset: 0;
        background:rgba(0,0,0,.95);
        justify-content: center;
        align-items: center;
        z-index: 9999;
        }

        .plant-modal.active {
            display: flex;
        }

        .plant-modal-image {
        width: 96vw !important;
        height: auto !important;
        }

        .plant-modal-close {
         position: absolute;
         top: 20px;
         right: 20px;
         width: 48px;
         height: 48px;
         border: none;
         border-radius: 50%;
         background: #FFF;
         font-size: 24px;
         cursor: pointer;
         z-index: 10000;
        }

        .views-map-wrapper,
        .sun-indicator,
        .moon-indicator,
        .sun-moon-line,
        .view-hotspot,
        .apto-highlight {
            display: none !important;
        }

        .page-videos-vistas .footer-logo-left
        {
            padding-inline-start: 0 !important;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 100%;
            text-align: center;
        }

        .views-plant-modal-trigger {
            display: flex;
            justify-content: center;
            width: 100%;
            margin: 0 0 20px;
        }

        .views-mobile-plant {
            width: 85vw;
            max-width: 420px;
            height: 48px;
            border: none;
            border-radius: 999px;
            background: #b7d95c;
            color: #1c4f3a;
            font-weight: 700;
        }

}





/*
|--------------------------------------------------------------------------
| TELAS BAIXAS
|--------------------------------------------------------------------------
*/

@media (max-height: 700px)
and (orientation: portrait)
{
    .views-brand img
    {
        width: 140px;
    }

    .views-map-wrapper
    {
        width: 70vw;
        max-width: 360px;
    }

    .views-mobile-btn
    {
        height: 42px;
        font-size: 14px;
    }
}
