/* =====================================================================
   VERSÃO FINAL: tela única, foco total no prédio (referência de vídeo)
   ===================================================================== */
:root { --glass: rgba(16, 24, 34, 0.38); --glass-line: rgba(255, 255, 255, 0.18); --ink-soft: rgba(255, 255, 255, 0.8); }

/* navegação mínima: marca, voltar, interesse */
.nav { background: none; padding: 18px var(--gut); gap: 18px; pointer-events: none; }
.nav > * { pointer-events: auto; }
.nav .brand { margin-right: 0; }
.brand-word { color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.25); }
.brand-sub { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.02em; text-transform: none; color: var(--ink-soft); }
.nav-back { background: none; border: 0; color: #fff; font-size: 0.92rem; cursor: pointer; padding: 6px 0; margin-right: auto; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35); }
.nav-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { margin-left: auto; color: #fff; text-decoration: none; font-size: 0.92rem; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 1px solid var(--glass-line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background 0.3s; }
.nav-cta:hover { background: rgba(255, 255, 255, 0.24); }
.nav-links { display: none !important; }
.ex-top, .crumbs, .ex-hint { display: none !important; }

/* a tela principal ocupa a viewport inteira */
.story { display: none; }
.explorer { height: 100vh; height: 100svh; }
.hero { position: absolute; inset: 0; overflow: hidden; background: #8fb3cc; z-index: 0; }
.hero[hidden] { display: none !important; }
.hero-drift { position: absolute; inset: 0; transform-origin: 40% 45%; animation: drift 26s ease-in-out infinite alternate; }
.hero.zoomed .hero-drift, .hero.pushing .hero-drift { animation-play-state: paused; }
@keyframes drift { from { transform: scale(1); } to { transform: scale(1.035) translate(-0.4%, -0.3%); } }
@media (prefers-reduced-motion: reduce) { .hero-drift { animation: none; } }
.hero-stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.hero-img { width: 100%; height: 100%; display: block; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.hero-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.hero .hl { transition: opacity 0.25s ease; }
.hero .hl-glow { mix-blend-mode: screen; opacity: 0.65; }
.hero .hl-core { mix-blend-mode: overlay; opacity: 0.95; }
.hero .hl-num { font-family: var(--sans); font-weight: 300; font-size: 92px; letter-spacing: -0.02em; }
.hero.zoomed .hl-num { font-size: 40px; }
.hero.zoomed .hl-core { opacity: 0.5; }
.hero.zoomed .hl-glow { opacity: 0.35; }
.hero.zoomed .hl-tick { stroke-width: 1.5px; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to left, rgba(10, 18, 28, 0.32), rgba(10, 18, 28, 0) 42%), linear-gradient(to top, rgba(10, 18, 28, 0.35), rgba(10, 18, 28, 0) 30%); }
.hero.pick { cursor: pointer; }

/* painel de vidro */
.hp { position: absolute; right: clamp(16px, 4vw, 64px); top: 50%; transform: translateY(-50%); width: 340px; color: #fff; background: var(--glass); border: 1px solid var(--glass-line); border-radius: 8px; padding: 26px 26px 22px; backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1); box-shadow: 0 30px 80px rgba(8, 14, 22, 0.25); animation: hp-in 0.9s var(--ease) 0.15s both; }
@keyframes hp-in { from { opacity: 0; transform: translate(28px, -50%); } to { opacity: 1; transform: translate(0, -50%); } }
.hp-step { animation: step-in 0.55s var(--ease) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hp-title { font-size: 2.5rem; font-weight: 400; line-height: 1.02; margin: 0 0 12px; }
.hp-lead { margin: 0 0 22px; font-size: 0.86rem; line-height: 1.5; color: var(--ink-soft); }
.hp-level { display: flex; align-items: baseline; gap: 12px; margin: 0 0 2px; }
.hp-lbl { font-size: 0.86rem; color: var(--ink-soft); }
.hp-num { font-size: 4.6rem; line-height: 0.95; display: inline-block; min-width: 1.4ch; }
.hp-num.tick { animation: num 0.28s var(--ease); }
@keyframes num { from { transform: translateY(-14px); opacity: 0.2; } to { transform: none; opacity: 1; } }
.hp-type { margin: 6px 0 4px; font-weight: 600; font-size: 0.98rem; }
.hp-desc { margin: 0 0 20px; font-size: 0.84rem; line-height: 1.5; color: var(--ink-soft); min-height: 2.6em; }
.hp-range { -webkit-appearance: none; appearance: none; width: 100%; height: 22px; background: none; margin: 0 0 18px; cursor: pointer; }
.hp-range::-webkit-slider-runnable-track { height: 2px; background: rgba(255, 255, 255, 0.35); border-radius: 2px; }
.hp-range::-moz-range-track { height: 2px; background: rgba(255, 255, 255, 0.35); border-radius: 2px; }
.hp-range::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18); }
.hp-range::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18); }
.hp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hp-enter { padding: 12px 26px; }
.hp-price { font-size: 0.82rem; color: var(--ink-soft); }
.hp-link { background: none; border: 0; padding: 0; color: var(--ink-soft); font-size: 0.82rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); }
.hp-link:hover { color: #fff; }
.hp-3d { margin-top: 16px; }
.hp-back { margin-bottom: 14px; text-decoration: none; }
.hp-plan-wrap { margin: 4px 0 14px; }
.hp-plan { width: 100%; height: 170px; display: block; }
.kp-out { fill: rgba(255, 255, 255, 0.05); stroke: rgba(255, 255, 255, 0.45); stroke-width: 0.18; }
.kp-u { fill: rgba(255, 255, 255, 0.07); stroke: rgba(255, 255, 255, 0.32); stroke-width: 0.1; cursor: pointer; transition: fill 0.25s; }
.kp-u:hover, .kp-u.on { fill: rgba(255, 196, 130, 0.62); }
.kp-core { fill: rgba(10, 16, 24, 0.35); stroke: none; pointer-events: none; }
.kp-t { font: 600 1.5px var(--sans); fill: #fff; text-anchor: middle; pointer-events: none; }
.hp-units { list-style: none; margin: 0; padding: 0; }
.hp-units button { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: baseline; background: none; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.14); color: #fff; padding: 10px 0; cursor: pointer; text-align: left; font-size: 0.88rem; transition: padding 0.3s var(--ease), color 0.2s; }
.hp-units button b { font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.hp-units button span { color: var(--ink-soft); font-size: 0.8rem; }
.hp-units button i { font-style: normal; color: var(--ink-soft); }
.hp-units button:hover, .hp-units button.on { padding-left: 6px; color: #ffd3a0; }
.hp-units button:hover i, .hp-units button.on i { color: #ffd3a0; }

/* dentro do apartamento: título e cômodos, nada mais */
.room-ui { left: clamp(16px, 4vw, 64px); bottom: clamp(18px, 6vh, 56px); width: min(640px, calc(100vw - 2 * var(--gut))); background: none; border: 0; padding: 0; color: #fff; animation: rise 0.9s var(--ease) 0.35s both; text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45); }
.room-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 400; line-height: 1.02; margin: 0 0 8px; }
.room-line { margin: 0 0 18px; font-size: 0.92rem; color: var(--ink-soft); max-width: 460px; }
.room-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.room-pills button { background: rgba(255, 255, 255, 0.14); border: 1px solid var(--glass-line); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 0.84rem; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background 0.25s, color 0.25s; text-shadow: none; }
.room-pills button:hover { background: rgba(255, 255, 255, 0.26); }
.room-pills button.on { background: #fff; color: #10161d; }
.room-more { display: flex; gap: 18px; flex-wrap: wrap; }
.room-more button { background: none; border: 0; padding: 0; color: var(--ink-soft); font-size: 0.82rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.3); text-shadow: none; }
.room-more button:hover, .room-more button[aria-pressed="true"] { color: #fff; }
.room-note { right: clamp(16px, 4vw, 64px); bottom: clamp(18px, 6vh, 56px); left: auto; top: auto; transform: none; font-size: 0.76rem; color: var(--ink-soft); font-family: var(--sans); letter-spacing: 0; text-transform: none; }
.fade.warm { background: radial-gradient(70% 70% at 50% 50%, #fff4e6 0%, #f3d9b8 45%, #c9a27a 100%); }

/* sem "cromo": nada de rótulos em caixa-alta espaçada na interface */
.ex-hud .mono, .callout .mono, .apt-panel .mono { font-family: var(--sans); text-transform: none; letter-spacing: 0; font-size: 0.82rem; }
.co-head, .ap-head, .ap-stats dt, .co-spec, .co-go { font-family: var(--sans); text-transform: none; letter-spacing: 0; }

body.is-photo #scene, body.is-photo .vignette { visibility: hidden; }

@media (max-width: 760px) {
  .hp { left: 0; right: 0; bottom: 0; top: auto; width: auto; transform: none; border-radius: 16px 16px 0 0; padding: 18px 18px 20px; border-left: 0; border-right: 0; border-bottom: 0; animation: hp-up 0.8s var(--ease) both; }
  @keyframes hp-up { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
  .hp-title { font-size: 1.9rem; margin-bottom: 6px; }
  .hp-step[data-step="1"] .hp-lead { display: none; }
  .hp-num { font-size: 3.4rem; }
  .hp-desc { min-height: 0; margin-bottom: 12px; }
  .hp-plan { height: 120px; }
  .hp-units button { padding: 8px 0; }
  .room-ui { left: 16px; right: 16px; width: auto; bottom: 18px; }
  .room-note { display: none !important; }
  .nav-cta { padding: 8px 12px; font-size: 0.84rem; }
}

/* vista do andar: crédito das fotos sempre visível (exigência das licenças livres) */
.room-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.4); }
.room-note a:hover { color: #fff; }
@media (max-width: 760px) { body[data-ex="vista"] .room-note { display: block !important; top: auto; bottom: auto; position: absolute; right: 16px; left: 16px; top: 72px; text-align: left; font-size: 0.66rem; } }
