/* ==========================================================
   SKY'S HOME - HERO SECTION (styles/home/hero.css)
   ========================================================== */

:root {
    --cloud-track: 100vh;
}

.hero-banner {
    position: relative;
    width: 100%;
    height: calc(100vh + var(--cloud-track));
    background-color: var(--bg-dark);
    z-index: 1;
}

.hero-banner__sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
}

/* 1. Mídia de Background (Vídeo + Overlay) */

.hero-banner__media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-banner__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
    transform: scale(1.04);
    will-change: transform;
}

.hero-banner__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(10, 14, 23, 0.45) 0%,
            rgba(10, 14, 23, 0.15) 30%,
            rgba(10, 14, 23, 0.35) 60%,
            rgba(10, 14, 23, 0.75) 100%);
    z-index: 2;
    pointer-events: none;
}

/* 2. Conteúdo da Hero (Centralizado conforme PixelLab) */

.hero-banner__content {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: clamp(4rem, 8vh, 6rem);
    padding-bottom: clamp(2rem, 4vh, 4rem);
    box-sizing: border-box;
    color: #FAFAF9;
    text-align: center;
}

/* Caixa Central com Título, Subtítulo, Botões e Social Proof */

.hero-center-box {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    will-change: transform, filter, opacity;
}

/* Container da Marca (Carrossel e Controles) */

.hero-center-box__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    margin: 0 0 clamp(1.6rem, 2.8vh, 2.2rem) 0;
    -webkit-user-select: none;
    user-select: none;
}

/* Grupo Editorial Inferior (Subtítulo + Social Proof com Alta Legibilidade) */
.hero-center-box__meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
    width: 100%;
}

/* Título Principal ("Sky's" - Mesmo estilo de fonte que .detail-hero__title) */

.hero-center-box__title {
    font-family: var(--font-modern, 'Syne', -apple-system, BlinkMacSystemFont, sans-serif);
    font-size: clamp(3.8rem, 7.5vw, 6.4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.7);
}

/* Subtítulo ("ROOFTOP & LOUNGE • JOÃO PESSOA" com JetBrains Mono monoespaçado estilizado) */

.hero-center-box__subtitle {
    font-family: var(--font-mono, 'JetBrains Mono', SFMono-Regular, monospace);
    font-size: clamp(1.2rem, 1.25vw, 1.45rem);
    font-weight: 500;
    letter-spacing: clamp(0.14em, 0.35vw, 0.22em);
    text-transform: uppercase;
    color: rgba(250, 250, 249, 0.90);
    margin: 0;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 0 24px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    text-align: center;
    width: 100%;
}

/* Linha de Ações (Desktop: Lado a Lado / Mobile: Empilhado) */

.hero-center-box__actions {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1.8rem;
    width: 100%;
    margin-bottom: clamp(2rem, 3.5vh, 2.8rem);
}

/* Social Proof Inferior - Frase Institucional com Efeito Shimmer Metálico Luminoso */

@keyframes shimmerSweep {
    0% { background-position: 150% 0; }
    45%, 100% { background-position: -150% 0; }
}

.hero-center-box__social-proof {
    font-family: 'Inter', var(--font-sans, sans-serif);
    font-size: clamp(1.6rem, 1.6vw, 2.2rem);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;

    /* Gradiente metálico de alto luxo com reflexo dinâmico de luz */
    background: linear-gradient(
        110deg,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.88) 35%,
        #ffe082 50%,
        rgba(255, 255, 255, 0.88) 65%,
        rgba(255, 255, 255, 0.88) 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerSweep 3.6s infinite ease-in-out;
    filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.95));
}

@media (prefers-reduced-motion: reduce) {
    .hero-center-box__social-proof {
        animation: none;
        background: none;
        -webkit-text-fill-color: #ffffff;
        color: #ffffff;
    }
}

/* Indicador de Rolagem (Seta Inferior) */

.hero-scroll-indicator {
    position: absolute;
    bottom: clamp(1.5rem, 3vh, 2.5rem);
    left: 50%;
    transform: translateX(-50%);
    color: rgba(250, 250, 249, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounceIndicator 2.4s infinite ease-in-out;
    pointer-events: none;
}

@keyframes bounceIndicator {

    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 8px);
    }
}

/* Responsivo Mobile (Exatamente conforme a primeira imagem) */

@media (max-width: 640px) {
    .hero-banner__overlay {
        background: linear-gradient(180deg,
                rgba(10, 14, 23, 0.55) 0%,
                rgba(10, 14, 23, 0.38) 35%,
                rgba(10, 14, 23, 0.50) 65%,
                rgba(10, 14, 23, 0.85) 100%);
    }

    .hero-banner__content {
        padding-top: 6.5rem;
        padding-bottom: 2rem;
    }

    .hero-center-box__brand {
        margin: 0 0 1.2rem 0;
    }

    .hero-center-box__meta {
        gap: 0.5rem;
        padding: 0 0.8rem;
        width: 100%;
        max-width: 100%;
    }

    .hero-center-box__title {
        font-size: 2.8rem;
        margin-bottom: 0.75rem;
    }

    .hero-center-box__subtitle {
        font-size: clamp(0.92rem, 2.6vw, 1.12rem);
        letter-spacing: 0.08em;
        white-space: nowrap !important;
        max-width: 100%;
        margin: 0;
        color: rgba(255, 255, 255, 0.90);
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95), 0 0 20px rgba(0, 0, 0, 0.85);
        padding: 0;
    }

    .hero-center-box__actions {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
        margin-bottom: 2rem;
    }

    .hero-center-box__social-proof {
        font-size: clamp(0.98rem, 3.1vw, 1.28rem);
        letter-spacing: 0.05em;
        line-height: 1.2;
        white-space: nowrap !important;
        max-width: 100%;
        padding: 0;
        margin: 0;
        background: linear-gradient(
            110deg,
            rgba(255, 255, 255, 0.88) 0%,
            rgba(255, 255, 255, 0.88) 35%,
            #ffe082 50%,
            rgba(255, 255, 255, 0.88) 65%,
            rgba(255, 255, 255, 0.88) 100%
        );
        background-size: 250% 100%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        animation: shimmerSweep 3.6s infinite ease-in-out;
        filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.95));
    }

    .hero-scroll-indicator {
        display: none;
    }
}

/* 4. Camadas de Nuvens Subindo (Paralaxe Suave) */

.clouds-overlay_wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100svh;
    z-index: 10;
    pointer-events: none;
    will-change: transform;
    overflow: visible;
    /* Estado inicial FORA da tela (abaixo da Hero).
       Antes as nuvens começavam em top: 0 cobrindo todo o vídeo com branco
       até o JavaScript (GSAP) carregar — causa da "tela branca" no iPhone.
       O GSAP assume o controle (y: 0 + yPercent) assim que inicializa. */
    -webkit-transform: translate3d(0, 100%, 0);
    transform: translate3d(0, 100%, 0);
}

/* Sem GSAP ou com "Reduzir Movimento": nuvens permanecem ocultas */
html.no-scroll-animations .clouds-overlay_wrap {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .clouds-overlay_wrap {
        display: none;
    }
}

/* Cauda Branca Contínua: Preenche 100% da área abaixo da nuvem,
   eliminando qualquer corte ou vazamento do vídeo da Hero */

.clouds-overlay_wrap::after {
    content: '';
    position: absolute;
    top: 98%;
    left: 0;
    width: 100%;
    height: 200vh;
    background: #FAFAF9;
    pointer-events: none;
}

.clouds-overlay_wrap--back {
    z-index: 9;
    opacity: 1;
}

.clouds-overlay_wrap--front {
    z-index: 11;
    opacity: 1;
}

.clouds-overlay_wrap--top {
    z-index: 12;
    opacity: 1;
}

.clouds-overlay_wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform: translateZ(0);
}

/* 5. Transição de Névoa / Cortina Branca (Desativados para deixar a subida da nuvem 100% natural) */

.mist-transition,
.hero-banner__fade {
    display: none !important;
}

@media (max-width: 640px) {
    .hero-banner__top {
        display: flex;
        flex-direction: column;
        gap: 2.4rem;
        align-items: flex-start;
    }
}
/* ==========================================================
   CARROSSEL SPOTLIGHT DINÂMICO (ESCALA CONFORTÁVEL)
   Exibição alternada das 3 Casas: Skybar, Sky Restô e Sky Zenith
   ========================================================== */
.spotlight-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.8rem;
    max-width: 600px;
    width: 100%;
}

.spotlight-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.92);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
    pointer-events: none;
}

.spotlight-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    position: relative;
    pointer-events: auto;
}

.spotlight-slide__img-box {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.spotlight-slide__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
    transition: transform 0.35s ease;
}

.spotlight-slide__aura {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.34;
    filter: blur(28px);
    pointer-events: none;
    transition: width 0.35s ease, height 0.35s ease, opacity 0.35s ease;
}

.spotlight-slide__aura--bar { background: #38bdf8; }
.spotlight-slide__aura--resto { background: #fbbf24; }
.spotlight-slide__aura--zenith { background: #c084fc; }

.spotlight-slide__tag {
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    border-radius: 9999px;
    background: rgba(10, 16, 28, 0.70);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    white-space: nowrap;
    transition: font-size 0.3s ease, padding 0.3s ease, margin-top 0.3s ease;
}

.spotlight-slide__tag--bar { color: #e0f2fe; border-color: rgba(56, 189, 248, 0.35); }
.spotlight-slide__tag--resto { color: #fef3c7; border-color: rgba(251, 191, 36, 0.35); }
.spotlight-slide__tag--zenith { color: #f3e8ff; border-color: rgba(192, 132, 252, 0.35); }

/* Escala Confortável (~160px) - Seleção Oficial do Cliente */
.spotlight-stage.scale-comfortable {
    min-height: clamp(205px, 24vw, 235px);
}

.spotlight-stage.scale-comfortable .spotlight-slide__img-box {
    width: clamp(135px, 18vw, 165px);
    height: clamp(135px, 18vw, 165px);
}

.spotlight-stage.scale-comfortable .spotlight-slide__aura {
    width: 225px;
    height: 225px;
    filter: blur(30px);
}

.spotlight-stage.scale-comfortable .spotlight-slide__tag {
    font-size: clamp(0.76rem, 1.05vw, 0.90rem);
    padding: 5px 17px;
    margin-top: 13px;
}

/* Controles: Barras Minimalistas */
.spotlight-nav-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.spotlight-nav {
    display: inline-flex;
    align-items: center;
}

.spotlight-nav--bars {
    gap: 10px;
    padding: 8px 16px;
    background: rgba(10, 16, 28, 0.50);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 9999px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.spotlight-bar {
    width: 32px;
    height: 3.5px;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 3px;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.spotlight-bar:hover {
    background: rgba(255, 255, 255, 0.45);
    width: 44px;
}

.spotlight-bar.is-active {
    width: 62px;
    background: rgba(255, 255, 255, 0.4);
}

.spotlight-bar__fill {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 3px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spotlight-bar.is-active .spotlight-bar__fill {
    opacity: 1;
}

.spotlight-bar__fill--bar { background: #38bdf8; box-shadow: 0 0 10px #38bdf8; }
.spotlight-bar__fill--resto { background: #fbbf24; box-shadow: 0 0 10px #fbbf24; }
.spotlight-bar__fill--zenith { background: #c084fc; box-shadow: 0 0 10px #c084fc; }

@media (max-width: 640px) {
    .spotlight-stage.scale-comfortable {
        min-height: 180px;
    }
    .spotlight-stage.scale-comfortable .spotlight-slide__img-box {
        width: 125px;
        height: 125px;
    }
    .spotlight-stage.scale-comfortable .spotlight-slide__tag {
        font-size: 1.05rem;
        padding: 5px 14px;
        margin-top: 10px;
    }
    .spotlight-bar {
        width: 24px;
        height: 3px;
    }
    .spotlight-bar.is-active {
        width: 48px;
    }
}

@media (max-width: 360px) {
    .hero-center-box__subtitle {
        font-size: 0.86rem !important;
        letter-spacing: 0.05em !important;
        white-space: nowrap !important;
    }

    .hero-center-box__social-proof {
        font-size: 0.92rem !important;
        letter-spacing: 0.03em !important;
        white-space: nowrap !important;
    }
}
