/* Hub TGD — identidade da TGD, minimalista: branco, roxo TGD (#391849), maquete branca ao centro. */
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400; font-display: swap; src: url(assets/font-02.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap; src: url(assets/font-03.woff2) format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap; src: url(assets/font-04.woff2) format('woff2'); }

:root {
  --bg: #f6f5f7;
  --bg-2: #eeecf0;
  --ink: #24152b;
  --muted: #7a6f80;
  --rule: #3918491a;
  --dark: #391849;
  --plum: #391849;
  --plum-2: #4f2763;
  --font: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 3.4vw, 48px);
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; overflow: hidden; background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--font); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 4px; }
::selection { background: var(--plum); color: #fff; }

/* Luz filtrada por folhas e linhas-guia, como numa sala de galeria */
.g-light { display: none; }
.g-light i { position: absolute; border-radius: 50%; background: #b9ab96; animation: folhas 26s ease-in-out infinite alternate; }
.g-light i:nth-child(1) { width: 42vw; height: 16vw; left: -6vw; bottom: 4vh; transform: rotate(-14deg); }
.g-light i:nth-child(2) { width: 30vw; height: 12vw; left: 26vw; bottom: -4vh; transform: rotate(9deg); animation-duration: 31s; }
.g-light i:nth-child(3) { width: 36vw; height: 13vw; right: -8vw; bottom: 10vh; transform: rotate(-6deg); animation-duration: 23s; }
.g-light i:nth-child(4) { width: 18vw; height: 9vw; right: 22vw; top: 6vh; opacity: .55; animation-duration: 35s; }
@keyframes folhas { to { translate: 3vw -1.5vh; scale: 1.08 0.92; } }
.g-rules { position: fixed; inset: 0 var(--gutter); border-left: 1px solid var(--rule); border-right: 1px solid var(--rule); pointer-events: none; }

/* Topo */
.g-top { position: fixed; inset: 0 0 auto; z-index: 3; display: flex; align-items: center; justify-content: space-between; height: 84px; padding: 0 calc(var(--gutter) + clamp(16px, 2.4vw, 32px)); border-bottom: 1px solid var(--rule); }
.g-brand { display: flex; align-items: center; gap: 16px; color: var(--ink); text-decoration: none; }
.g-logo { display: block; width: 64px; height: auto; }
.g-brand span { padding-left: 16px; border-left: 1px solid var(--rule); font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -.01em; color: var(--plum); }
.g-menu-btn { display: flex; align-items: center; gap: 16px; border: 0; background: none; font-size: clamp(17px, 1.6vw, 22px); letter-spacing: -.01em; cursor: pointer; }
.g-menu-btn i, .g-close i { position: relative; display: block; width: 40px; height: 13px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; }
.g-menu-btn i::after { content: ""; position: absolute; left: 0; right: 0; top: 4.5px; border-top: 1.5px solid currentColor; }

/* Palco */
.g-stage { position: fixed; inset: 84px 0 0; }
#maquete { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; touch-action: pan-y; }
#maquete:active { cursor: grabbing; }
.g-caption { position: absolute; left: 50%; bottom: clamp(64px, 10vh, 110px); translate: -50% 0; width: min(92vw, 760px); text-align: center; pointer-events: none; }
.g-caption > * { pointer-events: auto; }
.g-kicker { margin: 0 0 8px; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--plum); }
.g-title { margin: 0 0 clamp(18px, 3.2vh, 34px); font-weight: 400; font-size: clamp(52px, 8vw, 116px); line-height: .92; letter-spacing: -.045em; color: var(--ink); }
.g-actions { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 4vw, 56px); }
.g-cta { min-width: min(64vw, 420px); padding: clamp(18px, 2.6vh, 26px) 32px; border: 0; background: var(--plum); color: #fff; font-size: clamp(16px, 1.4vw, 20px); font-weight: 500; letter-spacing: .01em; cursor: pointer; box-shadow: none; transition: background .25s; }
.g-cta:hover { background: var(--plum-2); }
.g-cta:disabled { background: transparent; color: var(--muted); box-shadow: none; border: 1px solid var(--rule); cursor: default; }
.g-arrow { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; }
.g-arrow svg { width: 11px; height: 15px; fill: var(--plum); transition: translate .2s; }
#prev:hover svg { translate: -3px 0; } #next:hover svg { translate: 3px 0; }
.g-note { position: absolute; right: calc(var(--gutter) + 20px); top: 18px; margin: 0; max-width: 260px; text-align: right; font-size: 11px; color: var(--muted); }

/* Troca de empreendimento */
.troca .g-title, .troca .g-kicker { animation: sobe .7s cubic-bezier(.2,.7,.2,1) both; }
.troca .g-kicker { animation-delay: .05s; }
@keyframes sobe { from { opacity: 0; translate: 0 14px; } }

/* Rodapé */
.g-foot { position: fixed; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; padding: 0 calc(var(--gutter) + clamp(16px, 2.4vw, 32px)) clamp(18px, 3.4vh, 30px); pointer-events: none; }
.g-foot > * { pointer-events: auto; }
.g-group { display: flex; align-items: baseline; gap: 14px; margin: 0; font-size: clamp(16px, 1.5vw, 21px); letter-spacing: -.01em; }
.g-group b { font-weight: 400; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.g-ticks { display: flex; gap: 2px; }
.g-ticks button { width: 14px; height: 30px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.g-ticks span { width: 1.5px; height: 14px; background: var(--ink); opacity: .35; transition: height .3s, opacity .3s; }
.g-ticks [aria-selected="true"] span { height: 24px; opacity: 1; }

/* Painéis (apresentações e menu) */
dialog { border: 0; padding: 0; color: var(--ink); background: #f5f0e9; }
dialog::backdrop { background: #2b282640; backdrop-filter: blur(3px); }
.g-sheet { width: min(92vw, 720px); max-height: 86vh; box-shadow: 0 30px 80px -30px #2b282680; }
.g-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 26px 30px 0; }
.g-sheet-head h2, .g-sheet-head > span { margin: 0; font-weight: 400; font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.035em; }
.g-close { display: flex; align-items: center; gap: 12px; border: 0; background: none; font-size: 17px; cursor: pointer; }
.g-close i { width: 22px; height: 22px; border: 0; }
.g-close i::before, .g-close i::after { content: ""; position: absolute; left: -3px; right: -3px; top: 50%; border-top: 1.5px solid currentColor; rotate: 45deg; }
.g-close i::after { rotate: -45deg; }
.g-sheet-sub { margin: 6px 30px 18px; color: var(--muted); }
.g-options { border-top: 1px solid var(--rule); }
.g-options a { display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "n t a" "n d a"; align-items: center; padding: 18px 30px; border-bottom: 1px solid var(--rule); color: inherit; text-decoration: none; transition: background .2s; }
.g-options a:hover { background: var(--bg); }
.g-options .n { grid-area: n; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.g-options .t { grid-area: t; font-size: clamp(22px, 2.2vw, 28px); letter-spacing: -.025em; }
.g-options .d { grid-area: d; font-size: 13px; color: var(--muted); }
.g-options .a { grid-area: a; font-size: 22px; transition: translate .2s; }
.g-options a:hover .a { translate: 4px 0; }

.g-menu { width: min(100vw, 520px); height: 100vh; max-height: none; margin: 0 0 0 auto; }
.g-menu .g-sheet-head { gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--rule); }
.g-menu .g-sheet-head > span { font-size: clamp(26px, 2.4vw, 32px); }
.g-menu section { padding: 22px 30px 4px; }
.g-menu h3 { margin: 0 0 6px; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.g-menu ul { margin: 0; padding: 0; list-style: none; }
.g-menu li button { display: flex; width: 100%; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--rule); background: none; text-align: left; cursor: pointer; }
.g-menu li button span { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -.03em; }
.g-menu li button small { font-size: 12px; color: var(--muted); }
.g-menu li button:hover span { color: var(--plum); }
.g-menu-foot { margin: 28px 30px; font-size: 12px; color: var(--muted); }

/* Sem WebGL: só o texto */
.sem-3d #maquete { display: none; }
.sem-3d .g-caption { bottom: 40vh; }

@media (max-width: 800px) {
  .g-top { height: 64px; }
  .g-stage { top: 64px; }
  .g-brand img { width: 48px; }
  .g-brand span { font-size: 18px; padding-left: 12px; }
  .g-menu-btn i { width: 30px; }
  .g-top { padding: 0 calc(var(--gutter) + 10px); }
}
@media (max-width: 440px) {
  .g-brand span { display: none; }
  .g-caption { bottom: 84px; }
  .g-cta { min-width: 0; flex: 1; padding: 18px 16px; }
  .g-actions { gap: 4px; }
  .g-note { left: calc(var(--gutter) + 12px); right: calc(var(--gutter) + 12px); top: 10px; max-width: none; text-align: center; }
  .g-group { font-size: 15px; }
  .g-options a, .g-sheet-head { padding-left: 20px; padding-right: 20px; }
  .g-sheet-sub { margin-left: 20px; margin-right: 20px; }
  .g-menu section { padding-left: 20px; padding-right: 20px; }
}

/* Vistas do mesmo empreendimento (Torre / Apartamento) */
.g-views { position: absolute; left: calc(var(--gutter) + clamp(16px, 2.4vw, 32px)); top: 22px; z-index: 2; display: flex; flex-direction: column; gap: 2px; }
.g-views:empty { display: none; }
.g-views button { display: flex; align-items: center; gap: 12px; padding: 6px 0; border: 0; background: none; text-align: left; font-size: clamp(15px, 1.3vw, 18px); letter-spacing: -.01em; color: var(--muted); cursor: pointer; }
.g-views button::before { content: ""; width: 18px; border-top: 1.5px solid currentColor; opacity: .5; transition: width .3s; }
.g-views button[aria-pressed="true"] { color: var(--ink); }
.g-views button[aria-pressed="true"]::before { width: 34px; opacity: 1; }
@media (max-width: 800px) {
  .g-views { top: 8px; left: 50%; translate: -50% 0; width: calc(100vw - 2 * var(--gutter) - 16px); flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0 16px; }
  .g-views button { padding: 4px 0; white-space: nowrap; }
  .g-views:not(:empty) ~ .g-note { top: 74px; }
  .g-views button { font-size: 14px; }
  .g-views button::before { display: none; }
  .g-views button[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 6px; }
}

/* Identidade TGD — detalhes */
.g-ticks span { background: var(--plum); }
.g-views button[aria-pressed="true"] { color: var(--plum); }
.g-group { color: var(--plum); }
.g-options a:hover { background: var(--bg-2); }
.g-options .t, .g-menu li button span { color: var(--ink); }
.g-menu li button:hover span { color: var(--plum); }
dialog { background: #fff; }
dialog::backdrop { background: #24152b40; }
.g-cta:disabled { color: var(--muted); border-color: var(--rule); }
/* Layout (18/11/2026): só a torre, maquete à esquerda e nome + controles à direita; sem a nota do modelo */
.g-note, .g-views { display: none !important; }
@media (min-width: 801px) {
  .g-caption {
    left: auto; right: calc(var(--gutter) + clamp(24px, 4vw, 72px));
    top: 50%; bottom: auto; translate: 0 -50%;
    width: min(38vw, 520px); text-align: left;
  }
  .g-title { font-size: clamp(56px, 7vw, 112px); }
  .g-actions { justify-content: flex-start; gap: clamp(10px, 1.6vw, 22px); }
  .g-actions .g-cta { order: 1; min-width: 0; flex: 1; max-width: 340px; }
  .g-actions #prev { order: 2; } .g-actions #next { order: 3; }
  .troca .g-title, .troca .g-kicker { animation-name: entra-dir; }
  @keyframes entra-dir { from { opacity: 0; translate: 18px 0; } }
}

/* Controle do horário da luz do sol (18/11/2026) */
.g-sol { display: flex; align-items: center; gap: 12px; margin-top: clamp(16px, 3vh, 28px); font-size: 13px; color: var(--muted); cursor: pointer; }
.g-sol b { font-weight: 600; color: var(--plum); font-variant-numeric: tabular-nums; }
.g-sol-ico { flex: 0 0 auto; width: 14px; height: 14px; border-radius: 50%; background: #e8a33c; box-shadow: 0 0 0 4px #e8a33c33; }
.g-sol-txt { white-space: nowrap; }
.g-sol input { flex: 1; min-width: 120px; max-width: 220px; accent-color: var(--plum); cursor: pointer; }
@media (max-width: 800px) { .g-sol { justify-content: center; margin-top: 14px; } }

/* Redesenho minimalista (18/11/2026): área gelo com degradê para a maquete (≈60%) e painel roxo à direita
   com o logo do empreendimento, botões menores e textos claros (contraste sobre o roxo). */
:root { --gelo-1: #f5f7f9; --gelo-2: #e6ebf0; --roxo-1: #3d1a4e; --roxo-2: #281133; --painel: 40%; }
@media (min-width: 801px) {
  body { background: linear-gradient(135deg, var(--gelo-1) 0%, var(--gelo-2) 100%); }
  body::before { content: ""; position: fixed; inset: 0 0 0 auto; width: var(--painel); background: linear-gradient(160deg, var(--roxo-1) 0%, var(--roxo-2) 100%); z-index: 0; }
  .g-rules { display: none; }
  .g-top, .g-stage, .g-foot { z-index: 1; }
  .g-top { border-bottom: 0; }
  .g-menu-btn { color: #f3ebdc; font-size: 15px; gap: 12px; }
  .g-menu-btn i { width: 26px; height: 9px; }
  .g-menu-btn i::after { top: 2.8px; }
  .g-brand span { font-size: 15px; border-left-color: #39184922; }
  .g-caption { right: 0; width: var(--painel); padding: 0 clamp(32px, 4.5vw, 84px); }
  .g-kicker { color: #d8c6e2; font-size: 10px; letter-spacing: .24em; }
  .g-title { color: #fbf6ee; font-size: clamp(44px, 5.2vw, 84px); margin-bottom: clamp(16px, 3vh, 28px); }
  .g-marca { display: block; width: min(100%, 340px); height: auto; margin: 4px 0 0 -2%; }
  .g-actions { gap: 10px; }
  .g-actions .g-cta { flex: 0 0 auto; min-width: 0; max-width: none; padding: 11px 22px; border: 1px solid #f3ebdc66; background: transparent; color: #fbf6ee; font-size: 13px; letter-spacing: .04em; border-radius: 999px; }
  .g-actions .g-cta:hover { background: #fbf6ee; color: var(--roxo-1); }
  .g-actions .g-cta:disabled { border-color: #f3ebdc33; color: #cdbcd6; background: transparent; }
  .g-arrow { width: 34px; height: 34px; border: 1px solid #f3ebdc40; border-radius: 50%; }
  .g-arrow svg { width: 8px; height: 11px; fill: #fbf6ee; }
  .g-sol { color: #cdbcd6; font-size: 12px; }
  .g-sol b { color: #fbf6ee; }
  .g-sol input { accent-color: #e8c98c; }
  .g-foot { color: var(--plum); }
  .g-group { font-size: 15px; }
  .g-ticks span { background: #f3ebdc; }
  .g-ticks [aria-selected="true"] span { background: #fbf6ee; }
}
@media (min-width: 801px) { .g-marca { margin-left: 0; transform: translateX(-15.7%); } }   /* o desenho do logo tem margem interna à esquerda */

/* 27/11/2026: no celular o fundo é claro; a marca (desenhada em creme para o painel roxo) fica escura */
/* (substituído em 27/11/2026 pelo painel roxo do celular, mais abaixo) */

/* Celular e app instalado (27/11/2026): áreas de toque de pelo menos 44 px e respeito às bordas do aparelho */
@media (max-width: 800px) {
  .g-menu-btn { min-height: 44px; padding: 0 4px; margin-right: -4px; }
  .g-brand { min-height: 44px; display: flex; align-items: center; }
  .g-sol { min-height: 44px; }
  .g-sol input { height: 44px; margin: 0; }
  .g-ticks { gap: 0; }
  .g-ticks button { width: 18px; height: 44px; }
  .g-foot > :first-child, .g-foot > :first-child * { white-space: nowrap; }
  .g-top { padding-top: env(safe-area-inset-top); height: calc(64px + env(safe-area-inset-top)); }
  .g-stage { top: calc(64px + env(safe-area-inset-top)); }
  .g-foot { padding-bottom: max(10px, env(safe-area-inset-bottom)); }
  .g-menu li button { min-height: 48px; align-items: center; }
  .g-menu li button span { font-size: 22px; }
  .g-menu li button small { text-align: right; }
}

/* Celular com o desenho do computador (27/11/2026): maquete na área gelo em cima e painel roxo embaixo,
   com a marca em creme, botão de contorno, setas redondas e o controle do sol. A altura do painel é lida por hub.js
   para posicionar a maquete e esmaecer o bairro antes dele. */
@media (max-width: 800px) {
  :root { --painel-m: clamp(304px, 40vh, 380px); }
  body { background: linear-gradient(160deg, var(--gelo-1) 0%, var(--gelo-2) 100%); }
  body::before { content: ""; position: fixed; inset: auto 0 0 0; height: calc(var(--painel-m) + env(safe-area-inset-bottom)); background: linear-gradient(160deg, var(--roxo-1) 0%, var(--roxo-2) 100%); z-index: 0; }
  .g-rules { display: none; }
  .g-top, .g-stage, .g-foot { z-index: 1; }
  .g-top { border-bottom: 0; }
  .g-caption { left: 0; right: 0; bottom: calc(58px + env(safe-area-inset-bottom)); translate: none; width: auto; padding: 0 28px; text-align: left; }
  .g-kicker { color: #d8c6e2; font-size: clamp(8px, 2.5vw, 10px); letter-spacing: .16em; margin-bottom: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .g-title { color: #fbf6ee; font-size: clamp(44px, 13vw, 64px); margin-bottom: 18px; }
  .g-marca { display: block; width: min(86%, 320px); height: auto; margin: 0; transform: translateX(-15.7%); }
  .g-actions { justify-content: flex-start; gap: 10px; }
  .g-actions .g-cta { order: 1; flex: 0 0 auto; min-width: 0; max-width: none; min-height: 46px; padding: 12px 26px; border: 1px solid #f3ebdc66; background: transparent; color: #fbf6ee; font-size: 14px; letter-spacing: .04em; border-radius: 999px; }
  .g-actions .g-cta:active { background: #fbf6ee; color: var(--roxo-1); }
  .g-actions .g-cta:disabled { border-color: #f3ebdc33; color: #cdbcd6; background: transparent; }
  .g-actions #prev { order: 2; } .g-actions #next { order: 3; }
  .g-arrow { width: 46px; height: 46px; border: 1px solid #f3ebdc40; border-radius: 50%; }
  .g-arrow svg { width: 9px; height: 12px; fill: #fbf6ee; }
  .g-sol { justify-content: flex-start; margin-top: 10px; color: #cdbcd6; font-size: 12px; }
  .g-sol b { color: #fbf6ee; }
  .g-sol input { accent-color: #e8c98c; max-width: none; }
  .g-foot { padding-left: 28px; padding-right: 22px; }
  .g-group { color: #d8c6e2; font-size: 14px; }
  .g-group b { color: #cdbcd6; }
  .g-ticks span { background: #f3ebdc; }
  .g-ticks [aria-selected="true"] span { background: #fbf6ee; }
}

/* Foco de teclado sobre o painel roxo (27/11/2026): contorno em creme, o roxo padrão não aparecia */
.g-caption :focus-visible, .g-ticks :focus-visible { outline-color: #fbf6ee; }

/* Galeria com um só empreendimento (app, 27/11/2026): sem setas, contador nem paginação; os demais vão no menu como "Em breve" */
.um-so #prev, .um-so #next, .um-so .g-ticks, .um-so #contador { display: none; }
.g-menu .g-breve li { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.g-menu .g-breve span { font-size: 22px; letter-spacing: -.03em; color: var(--muted); }
.g-menu .g-breve small { font-size: 12px; color: var(--muted); text-align: right; }

/* Celular, layout centralizado (27/11/2026, a pedido): menu (só o ícone) à esquerda e a marca TGD à direita;
   no painel roxo, a marca do empreendimento no centro, a linha de apoio logo abaixo dela e os controles centralizados. */
@media (max-width: 800px) {
  .g-top { flex-direction: row-reverse; }
  .g-menu-btn { font-size: 0; gap: 0; min-width: 44px; padding: 0; margin: 0 0 0 -6px; justify-content: center; }
  .g-menu-btn i { width: 28px; height: 11px; }
  .g-menu-btn i::after { top: 3.5px; }
  .g-brand span { display: inline; font-size: 15px; padding-left: 12px; }
  .g-caption { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 22px; bottom: calc(78px + env(safe-area-inset-bottom)); }
  .g-title { order: 1; margin: 0; }
  .g-kicker { order: 2; margin: 6px 0 20px; max-width: 100%; font-size: clamp(8px, 2.3vw, 10px); letter-spacing: .14em; color: #e6d9ec; }
  .g-actions { order: 3; justify-content: center; }
  .g-sol { order: 4; justify-content: center; width: min(100%, 300px); margin-top: 14px; font-size: 11px; }
  .g-sol-ico { width: 11px; height: 11px; box-shadow: 0 0 0 3px #e8a33c33; }
  .g-marca { width: min(64vw, 300px); aspect-ratio: 700 / 104; object-fit: cover; object-position: top; transform: none; margin: 0 auto; }
}

/* Aviso enquanto a maquete é lida (27/11/2026) */
.g-carregando { position: absolute; left: 0; width: 60%; top: 42%; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--plum); pointer-events: none; }
.g-carregando[hidden] { display: none; }
.g-carregando i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #39184926; border-top-color: var(--plum); animation: gira 0.9s linear infinite; }
@keyframes gira { to { rotate: 360deg; } }
@media (max-width: 800px) { .g-carregando { width: 100%; top: calc((100% - var(--painel-m)) / 2 - 30px); } }

/* Abertura imediata (27/11/2026): a última imagem da maquete aparece na hora e dá lugar à maquete viva quando ela fica pronta */
.g-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
#maquete { transition: opacity .3s; }
/* Página do empreendimento aberta por cima do hub: a maquete continua carregada por baixo */
.g-ficha { position: fixed; inset: 0; z-index: 60; width: 100%; height: 100%; border: 0; background: var(--bg); }
.g-ficha[hidden] { display: block; visibility: hidden; pointer-events: none; }

/* Logos dos empreendimentos com o mesmo peso visual (30/11/2026): todos ocupam a mesma área.
   --lf é a raiz da proporção do logo (posta por hub.js); a largura é a base vezes --lf, e a altura sai da proporção. */
.g-title .g-marca.g-marca-eq { --mb: clamp(112px, 9.4vw, 150px); display: block; width: calc(var(--mb) * var(--lf)); max-width: 100%; height: auto; object-fit: contain; transform: none; margin: 6px 0 0; }
@media (max-width: 800px) { .g-title .g-marca.g-marca-eq { --mb: clamp(88px, 27vw, 112px); margin: 0 auto; } }
