/* ==========================================================================
   BURJ NAGEM ASSAD — HERO DE ROLAGEM
   Nuvens → terreno → descida ao nível da rua → construção → fachada.
   Todos os seletores ficam dentro de .hs para não interferir no restante da LP.
   ========================================================================== */

/* Lenis (rolagem suave) */
html.lenis, html.lenis body { height: auto; }
html.lenis, .lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Carregamento */
.hs-loader { position: fixed; inset: 0; z-index: 1000; background: #1b1a18; display: grid; place-items: center; align-content: center; gap: 28px; transition: opacity 1.2s cubic-bezier(.22, .61, .21, 1), visibility 1.2s; }
.hs-loader__logo { width: clamp(120px, 12vw, 220px); height: auto; }
.hs-loader__bar { width: clamp(120px, 12vw, 220px); height: 1px; background: rgba(241, 232, 224, .15); }
.hs-loader__bar span { display: block; height: 100%; background: #b98e66; transform-origin: left; transform: scaleX(0); transition: transform .4s cubic-bezier(.22, .61, .21, 1); }
body:not(.hs-carregando) .hs-loader { opacity: 0; visibility: hidden; pointer-events: none; }

/* ================= HERO ================= */
.hs {
  --u: min(1vw, 1.7778vh);
  --g: calc(var(--u) * 5);
  --hs-ink: #12110f;
  --hs-caramel: #b98e66;
  --hs-sand: #dbb992;
  --hs-cream: #f1e8e0;
  --hs-ease: cubic-bezier(.22, .61, .21, 1);
  position: relative; height: 1000vh; color: var(--hs-cream); font-family: var(--serif); font-weight: 300; line-height: 1.5;
  font-size: max(15px, var(--u)); background: #e6c9a6;
}
.hs img { display: block; max-width: 100%; }
.hs em { font-style: italic; }
.hs-stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; background: #e6c9a6; contain: layout paint; }
.hs .mundo { position: absolute; inset: 0; perspective: 1600px; perspective-origin: 50% 20%; overflow: hidden; }
.hs .plano { position: absolute; left: 0; right: 0; top: -40%; bottom: 0; will-change: transform; backface-visibility: hidden; }
.hs .plano img, .hs .plano__svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.hs .lote { opacity: 0; }
.hs .lote__linha, .hs .lote__brilho { fill: none; stroke-linejoin: round; stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.hs .lote__linha { fill: rgba(255, 200, 140, .16); stroke: #ffd29a; stroke-width: 1.3; }
.hs .lote__brilho { stroke: rgba(255, 214, 160, .45); stroke-width: 4.5; }

.hs .ab-haze, .hs .ab-luz, .hs .ab-sombra, .hs .ab-horizonte, .hs .ab-vinheta { position: absolute; inset: 0; pointer-events: none; }
.hs .ab-horizonte { opacity: 0; background: radial-gradient(70% 45% at 72% 6%, rgba(255, 214, 158, .95), rgba(255, 214, 158, 0) 70%), linear-gradient(180deg, #edc79c 0%, #edc79c 10%, rgba(237, 199, 156, .72) 17%, rgba(237, 199, 156, .25) 27%, rgba(237, 199, 156, 0) 42%); }
.hs .ab-sombra { opacity: 0; z-index: 2; background: linear-gradient(25deg, rgba(10, 9, 8, .78) 0%, rgba(10, 9, 8, .35) 34%, rgba(10, 9, 8, 0) 58%); }
.hs .ab-haze { background: radial-gradient(120% 90% at 70% 40%, rgba(255, 226, 186, .12), rgba(238, 205, 170, .55)); }
.hs .ab-luz { opacity: 0; background: linear-gradient(200deg, rgba(255, 176, 96, .32) 0%, rgba(255, 176, 96, .06) 45%, rgba(40, 22, 20, .42) 100%); }
.hs .ab-vinheta { opacity: 0; z-index: 3; background: radial-gradient(120% 95% at 50% 40%, rgba(12, 10, 9, 0) 55%, rgba(12, 10, 9, .55) 100%); }
.hs .filme { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
.hs .ab-sol { position: absolute; inset: 0; pointer-events: none; opacity: 0; background: radial-gradient(circle at 74% 66%, rgba(255, 248, 228, 1) 0%, rgba(255, 226, 170, .95) 14%, rgba(255, 196, 128, .7) 32%, rgba(255, 170, 100, .25) 58%, rgba(255, 160, 90, 0) 80%); transform-origin: 74% 66%; mix-blend-mode: screen; will-change: transform, opacity; }

.hs .nuvem { position: absolute; inset: 0; pointer-events: none; will-change: transform, opacity; }
.hs .nuvem img { position: absolute; height: auto; aspect-ratio: 16 / 9; max-width: none; will-change: transform; }
.hs .n-e img { left: -30%; top: -15%; width: 130%; }
.hs .n-a img { left: -26%; top: 42%; width: 88%; }
.hs .n-b img { left: 48%; top: -24%; width: 82%; }
.hs .n-d img { left: 30%; top: 52%; width: 92%; }
.hs .n-c img { left: -20%; top: -20%; width: 140%; opacity: .7; }

.hs .fachada { position: absolute; inset: 0; opacity: 0; transform-origin: 48% 34%; will-change: transform, opacity; }
.hs .fachada svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* Textos */
.hs-eyebrow { font-family: var(--mono); font-weight: 300; text-transform: uppercase; letter-spacing: .28em; font-size: max(10px, calc(var(--u) * .62)); color: #fff; margin: 0 0 calc(var(--u) * 1.8); }
.hs .txt { position: absolute; left: var(--g); right: var(--g); z-index: 5; pointer-events: none; will-change: transform, opacity; }
.hs .t-intro { position: absolute; inset: 0; z-index: 5; pointer-events: none; color: var(--hs-ink); will-change: transform, opacity; }
.hs .t-intro__logo { position: absolute; left: var(--g); top: 33%; width: calc(var(--u) * 10); height: auto; }
.hs .t-intro__bloco { position: absolute; left: var(--g); top: 64%; }
.hs .t-intro__frase { margin: 0; font-weight: 300; font-size: calc(var(--u) * 3.1); line-height: 1.12; letter-spacing: -.01em; color: #2a201a; }
.hs .t-intro__frase span, .hs .t-intro__frase em { display: block; }
.hs .t-intro__frase i { color: var(--hs-caramel); font-style: normal; }
.hs .t-intro__fio { display: block; width: calc(var(--u) * 2.8); height: 3px; background: var(--hs-caramel); margin-top: calc(var(--u) * 2.2); transform-origin: left; }
.hs .t-lote, .hs .t-obra, .hs .t-pilares { bottom: calc(var(--u) * 7); opacity: 0; }
.hs .t-pilares__lista { list-style: none; margin: 0; padding: 0; }
.hs .t-pilares__lista li { font-size: calc(var(--u) * 3.6); line-height: 1.1; font-weight: 300; text-shadow: 0 2px 30px rgba(10, 10, 10, .35); opacity: 0; }
.hs .t-pilares__lista em { color: var(--hs-sand); }
.hs .t-lote__frase, .hs .t-obra__frase { margin: 0; font-size: calc(var(--u) * 3.2); line-height: 1.05; text-shadow: 0 2px 30px rgba(10, 10, 10, .35); }
.hs .t-lote__frase em, .hs .t-obra__frase em { color: var(--hs-sand); }

.hs .hint { position: absolute; left: 50%; bottom: calc(var(--u) * 2.6); transform: translateX(-50%); z-index: 6; display: flex; flex-direction: column; align-items: center; gap: calc(var(--u) * .8); color: var(--hs-ink); pointer-events: none; }
.hs .hint span { font-family: var(--mono); font-size: max(10px, calc(var(--u) * .56)); letter-spacing: .32em; text-transform: uppercase; }
.hs .hint i { width: 1px; height: calc(var(--u) * 3); background: linear-gradient(currentColor, transparent); animation: hsHint 2.4s var(--hs-ease) infinite; transform-origin: top; }
@keyframes hsHint { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { opacity: 0; } }

.hs-progresso { position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; height: 2px; pointer-events: none; }
.hs-progresso span { display: block; height: 100%; background: var(--hs-caramel); transform-origin: left; transform: scaleX(0); }

/* Celular / retrato (o trilho vira barra no topo com 64px) */
@media (max-width: 900px), (max-aspect-ratio: 1/1) {
  .hs { --u: 1.6vw; --g: 6vw; }
  .hs .plano { left: -60%; right: -60%; }
  /* camada clara atrás do logo e da frase para leitura sobre as nuvens e a vista aérea */
  .hs .t-intro::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(241, 232, 224, 0) 20%, rgba(241, 232, 224, .86) 31%, rgba(241, 232, 224, .86) 80%, rgba(241, 232, 224, 0) 94%); }
  .hs .t-intro__frase { font-size: 8vw; }
  .hs .t-intro__logo { width: 26vw; }
  .hs .t-lote__frase, .hs .t-obra__frase { font-size: 8vw; }
  .hs .t-pilares__lista li { font-size: 8vw; }
}
@media (prefers-reduced-motion: reduce) {
  .hs *, .hs *::before, .hs *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media (max-width: 767px) {

.hs .hint {
  display: flex !important;
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  z-index: 20;
  opacity: 1;
  visibility: visible;
}


  .hs .hint span {
    font-size: 10px;
  }

  .hs .hint i {
    height: 32px;
  }
}
