/* Praia do Cedro · apresentação confidencial · versão de demonstração */
:root {
  --navy-950: #040A16; --navy-900: #060F1F; --navy-800: #0B1B33; --navy-700: #122744; --navy-600: #1B3660;
  --gold: #D4AF37; --gold-2: #E8C766; --gold-3: #B08A1C; --azul: #3A8FD9; --rosa: #C25E9C;
  --sand: #EFE6D2; --ivory: #F7F3EA; --white: #fff;
  --ink: #0B1B33; --ink-2: #3F4B60; --muted: #8A94A6; --linha: rgba(11,27,51,.12);
  --linha-escura: rgba(212,175,55,.18);
  --serif: 'Playfair Display', Georgia, serif; --sans: 'Manrope', system-ui, sans-serif;
  --larg: 1120px; --demo-barra: 36px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--demo-barra); }
body { font-family: var(--sans); font-weight: 300; line-height: 1.6; color: var(--ink); background: var(--navy-900); overflow-x: hidden; padding-top: var(--demo-barra); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
::-webkit-scrollbar { width: 5px; } ::-webkit-scrollbar-track { background: var(--navy-900); } ::-webkit-scrollbar-thumb { background: var(--gold-3); border-radius: 3px; }

.container { max-width: var(--larg); margin: 0 auto; padding: 0 2.5rem; }
.container.estreito { max-width: 860px; }
section { position: relative; width: 100%; }
.escura { background: var(--navy-800); color: var(--sand); }
.escura-2 { background: var(--navy-900); color: var(--sand); }
.clara { background: var(--white); color: var(--ink); }
.areia { background: var(--ivory); color: var(--ink); }
.secao { padding: 7.5rem 0; }
.rotulo { display: block; font-size: .62rem; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.escura .rotulo, .escura-2 .rotulo { color: var(--gold-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 1rem; }
h2 em, h1 em { font-style: italic; color: var(--gold); }
.escura h2 em, .escura-2 h2 em { color: var(--gold-2); }
h3 { font-size: 1.5rem; margin-bottom: .6rem; }
.lead { font-size: clamp(.95rem, 1.3vw, 1.08rem); line-height: 1.75; max-width: 640px; color: var(--ink-2); margin-bottom: 3rem; }
.escura .lead, .escura-2 .lead { color: rgba(239,230,210,.78); }
.lead strong { font-weight: 600; color: inherit; }
.regua { width: 56px; height: 1px; background: var(--gold); margin: 1.4rem 0; }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visivel { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s } .reveal.d2 { transition-delay: .22s } .reveal.d3 { transition-delay: .34s } .reveal.d4 { transition-delay: .46s } .reveal.d5 { transition-delay: .58s }

/* NAV */
nav.topo {
  position: fixed; top: var(--demo-barra); left: 0; right: 0; z-index: 200; display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 2.5rem; background: rgba(6,15,31,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--linha-escura); color: var(--sand); transition: background .3s;
}
nav.topo .marca { display: flex; align-items: center; gap: .8rem; text-decoration: none; }
nav.topo .marca span { font-family: var(--serif); font-size: 1.05rem; letter-spacing: .14em; color: var(--white); }
nav.topo ul { display: flex; gap: 1.4rem; list-style: none; }
nav.topo ul a { font-size: .58rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(239,230,210,.7); text-decoration: none; transition: color .2s; white-space: nowrap; }
nav.topo .marca span { white-space: nowrap; }
@media (max-width: 1180px) { nav.topo ul { gap: .9rem; } nav.topo ul a { letter-spacing: .12em; } }
nav.topo ul a:hover, nav.topo ul a.ativo { color: var(--gold-2); }
nav.topo .conf { font-size: .56rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--linha-escura); padding: .35rem .7rem; }
nav.topo .menu-btn { display: none; background: none; border: 1px solid var(--linha-escura); color: var(--sand); padding: .4rem .7rem; font-size: .7rem; letter-spacing: .15em; cursor: pointer; }

/* HERO */
#abertura { min-height: calc(100vh - var(--demo-barra)); display: flex; flex-direction: column; justify-content: flex-end; padding: 9rem 0 5rem; overflow: hidden; color: var(--sand); }
#abertura video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; filter: saturate(.9); }
#abertura::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(6,15,31,.55) 0%, rgba(6,15,31,.15) 40%, rgba(6,15,31,.78) 85%, var(--navy-900) 100%); }
#abertura .container { position: relative; z-index: 2; }
#abertura h1 { font-size: clamp(3rem, 8vw, 6.4rem); line-height: 1.02; color: var(--white); margin-bottom: 1rem; }
#abertura .sub { font-size: clamp(.8rem, 1.4vw, 1rem); letter-spacing: .14em; text-transform: uppercase; color: var(--sand); margin-bottom: 2.6rem; font-weight: 400; }
.pilulas { display: flex; flex-wrap: wrap; gap: .7rem; }
.pilula { border: 1px solid rgba(212,175,55,.4); background: rgba(6,15,31,.45); backdrop-filter: blur(6px); padding: .9rem 1.5rem; min-width: 170px; }
.pilula strong { display: block; font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--white); line-height: 1; margin-bottom: .25rem; }
.pilula span { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(239,230,210,.75); }
.rolar { position: absolute; right: 2.5rem; bottom: 2rem; z-index: 2; font-size: .56rem; letter-spacing: .24em; color: rgba(239,230,210,.6); display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.rolar::after { content: ''; width: 1px; height: 44px; background: linear-gradient(180deg, var(--gold), transparent); }
.som { position: absolute; left: 2.5rem; bottom: 2rem; z-index: 2; font-size: .56rem; letter-spacing: .2em; color: rgba(239,230,210,.6); text-transform: uppercase; }

/* CARTÕES DOS LOTES */
.lotes-grade { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.4rem; }
.lote-cartao { position: relative; overflow: hidden; border: 1px solid var(--linha-escura); background: var(--navy-700); color: var(--sand); min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; }
.lote-cartao img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform 1.2s ease, opacity .6s; }
.lote-cartao:hover img { transform: scale(1.04); opacity: .65; }
.lote-cartao::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,15,31,.1) 0%, rgba(6,15,31,.55) 50%, rgba(6,15,31,.95) 100%); }
.lote-cartao .corpo { position: relative; padding: 2.2rem; }
.lote-cartao .tag { display: inline-block; font-size: .56rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--navy-900); background: var(--gold-2); padding: .3rem .7rem; margin-bottom: 1rem; }
.lote-cartao .tag.azul { background: #8EC4F2; }
.lote-cartao h3 { font-size: 2rem; color: var(--white); }
.lote-cartao .destaque { font-family: var(--serif); font-size: 2.4rem; color: var(--gold-2); line-height: 1; margin: .8rem 0 .3rem; }
.lote-cartao .destaque small { font-size: .85rem; font-family: var(--sans); font-weight: 400; letter-spacing: .14em; color: rgba(239,230,210,.7); margin-left: .4rem; }
.lote-cartao .specs { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: 1rem; font-size: .72rem; color: rgba(239,230,210,.85); }
.lote-cartao .specs b { font-weight: 600; color: var(--white); }
.lote-cartao .link { display: inline-block; margin-top: 1.4rem; font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); text-decoration: none; border-bottom: 1px solid var(--gold-3); padding-bottom: .2rem; }
.totais { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--linha-escura); margin-top: 1.4rem; background: rgba(255,255,255,.02); }
.totais div { padding: 1.4rem 1.2rem; border-right: 1px solid var(--linha-escura); }
.totais div:last-child { border-right: 0; }
.totais b { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--gold-2); line-height: 1; margin-bottom: .3rem; }
.totais span { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(239,230,210,.6); }

/* MAQUETE 3D */
#maquete { background: var(--navy-950); color: var(--sand); }
.maquete-wrap { position: relative; height: calc(100vh - var(--demo-barra)); min-height: 640px; }
#mapa { position: absolute; inset: 0; }
.maquete-painel { position: absolute; left: 2rem; top: 50%; transform: translateY(-50%); z-index: 5; width: 340px; max-height: calc(100vh - 8rem - var(--demo-barra)); overflow: auto; background: rgba(6,15,31,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--linha-escura); padding: 1.6rem 1.5rem; }
.maquete-painel h2 { font-size: 1.9rem; margin-bottom: .3rem; color: var(--white); }
.maquete-painel .lead { font-size: .8rem; margin-bottom: 1.2rem; color: rgba(239,230,210,.72); }
.capitulos { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.2rem; }
.capitulo { display: flex; align-items: center; gap: .9rem; text-align: left; background: none; border: 1px solid transparent; color: rgba(239,230,210,.75); padding: .6rem .8rem; cursor: pointer; transition: all .25s; }
.capitulo .n { font-family: var(--serif); font-size: 1rem; color: var(--gold); min-width: 20px; }
.capitulo .t { font-size: .74rem; font-weight: 500; letter-spacing: .04em; }
.capitulo .s { display: block; font-size: .6rem; color: rgba(239,230,210,.45); font-weight: 300; }
.capitulo:hover { border-color: var(--linha-escura); color: var(--white); }
.capitulo.ativo { border-color: var(--gold); background: rgba(212,175,55,.08); color: var(--white); }
.maquete-acoes { display: flex; gap: .5rem; flex-wrap: wrap; }
.botao-ouro, .botao-linha { font-size: .58rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; padding: .75rem 1.1rem; cursor: pointer; transition: all .2s; border: 1px solid var(--gold); }
.botao-ouro { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: var(--navy-900); }
.botao-ouro:hover { filter: brightness(1.06); }
.botao-linha { background: transparent; color: var(--gold-2); }
.botao-linha:hover { background: rgba(212,175,55,.1); }
.maquete-info { position: absolute; right: 2rem; bottom: 2rem; z-index: 5; width: 300px; background: rgba(6,15,31,.78); backdrop-filter: blur(14px); border: 1px solid var(--linha-escura); padding: 1.2rem 1.3rem; font-size: .74rem; color: rgba(239,230,210,.8); }
.maquete-info b { display: block; font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: var(--white); margin-bottom: .3rem; }
.maquete-info .dado { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border-bottom: 1px solid rgba(212,175,55,.12); }
.maquete-info .dado span:last-child { color: var(--gold-2); font-weight: 500; white-space: nowrap; }
.maquete-legenda { position: absolute; left: 50%; transform: translateX(-50%); bottom: 1.2rem; z-index: 5; display: flex; gap: 1.2rem; font-size: .58rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(239,230,210,.6); background: rgba(6,15,31,.6); padding: .5rem 1rem; border: 1px solid var(--linha-escura); }
.maquete-legenda i { display: inline-block; width: 10px; height: 10px; margin-right: .4rem; vertical-align: -1px; }
.maquete-nota { position: absolute; right: 2rem; top: 1.4rem; z-index: 5; font-size: .56rem; letter-spacing: .1em; color: rgba(239,230,210,.45); max-width: 320px; text-align: right; }
.marcador { position: relative; transform: translateY(-100%); pointer-events: none; }
.marcador .pino { width: 10px; height: 10px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 4px rgba(232,199,102,.25), 0 0 18px rgba(232,199,102,.6); margin: 0 auto; }
.marcador .pino::after { content: ''; position: absolute; left: 50%; width: 1px; height: 26px; background: linear-gradient(180deg, var(--gold-2), transparent); transform: translateX(-50%); }
.marcador .texto { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: .6rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--white); background: rgba(6,15,31,.75); border: 1px solid var(--linha-escura); padding: .3rem .6rem; }
.marcador.lote .texto { font-family: var(--serif); font-size: .9rem; letter-spacing: .08em; text-transform: none; color: var(--gold-2); }
.marcador.lote .pino { display: none; }
.maplibregl-ctrl-attrib { font-size: 9px !important; background: rgba(6,15,31,.6) !important; color: #aaa !important; }
.maplibregl-ctrl-attrib a { color: #bbb !important; }

/* LOTE 01 */
.duas { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.duas.inv > :first-child { order: 2; }
.moldura { position: relative; overflow: hidden; border: 1px solid var(--linha); }
.moldura img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s; }
.moldura:hover img { transform: scale(1.03); }
.moldura .legenda { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem 1.2rem .8rem; background: linear-gradient(transparent, rgba(6,15,31,.85)); color: rgba(255,255,255,.85); font-size: .64rem; letter-spacing: .1em; }
.lista-fatos { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--linha); }
.escura .lista-fatos, .escura-2 .lista-fatos { border-color: var(--linha-escura); }
.lista-fatos li { display: flex; gap: 1.2rem; padding: 1rem 0; border-bottom: 1px solid var(--linha); font-size: .86rem; line-height: 1.55; }
.escura .lista-fatos li, .escura-2 .lista-fatos li { border-color: var(--linha-escura); }
.lista-fatos .ic { font-family: var(--serif); color: var(--gold); font-size: 1.05rem; min-width: 26px; padding-top: .05rem; }
.lista-fatos b { font-weight: 600; }
.grade-specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--linha); border-left: 1px solid var(--linha); }
.escura .grade-specs, .escura-2 .grade-specs { border-color: var(--linha-escura); }
.spec { padding: 1.5rem 1.4rem; border-right: 1px solid var(--linha); border-bottom: 1px solid var(--linha); position: relative; }
.escura .spec, .escura-2 .spec { border-color: var(--linha-escura); }
.spec::before { content: ''; position: absolute; left: 0; top: 0; width: 2px; height: 100%; background: transparent; transition: background .3s; }
.spec:hover::before { background: var(--gold); }
.spec .k { display: block; font-size: .58rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-3); margin-bottom: .4rem; }
.escura .spec .k, .escura-2 .spec .k { color: var(--gold-2); }
.spec .v { font-family: var(--serif); font-size: clamp(1.3rem, 2.3vw, 1.7rem); font-weight: 500; line-height: 1.05; }
.spec .n { font-size: .64rem; color: var(--muted); margin-top: .2rem; }
.escura .spec .n, .escura-2 .spec .n { color: rgba(239,230,210,.55); }
.chip-aprovado { display: inline-flex; align-items: center; gap: .5rem; font-size: .6rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--navy-900); background: var(--gold-2); padding: .45rem .9rem; margin-bottom: 1.2rem; }
.chip-aprovado::before { content: '✓'; font-weight: 800; }

/* MASTERPLAN interativo */
.masterplan { position: relative; height: 72vh; min-height: 520px; overflow: hidden; background: #dfe9ee; border: 1px solid var(--linha); cursor: grab; touch-action: none; }
.masterplan:active { cursor: grabbing; }
.masterplan .palco { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }
.masterplan .palco img { width: 2400px; max-width: none; height: auto; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.hotspot { position: absolute; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--white); background: rgba(11,27,51,.85); color: var(--gold-2); font-family: var(--serif); font-size: .9rem; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 0 0 6px rgba(212,175,55,.25); transition: transform .2s, background .2s; }
.hotspot:hover, .hotspot.ativo { background: var(--gold); color: var(--navy-900); }
.masterplan-controles { position: absolute; right: 1rem; top: 1rem; z-index: 3; display: flex; gap: .4rem; }
.mp-aviso { position: absolute; inset: 0; z-index: 4; display: flex; align-items: center; justify-content: center; background: rgba(11,27,51,.55); color: var(--white); font-size: .9rem; font-weight: 500; letter-spacing: .04em; opacity: 0; pointer-events: none; transition: opacity .25s; text-align: center; padding: 1rem; }
.mp-aviso.mostra { opacity: 1; }
.maplibregl-cooperative-gesture-screen { background: rgba(11,27,51,.55) !important; color: var(--white) !important; font-family: var(--sans) !important; font-size: .9rem !important; font-weight: 500 !important; letter-spacing: .04em !important; }
.masterplan-controles button { width: 36px; height: 36px; border: 1px solid var(--linha); background: rgba(255,255,255,.92); color: var(--ink); font-size: 1rem; cursor: pointer; }
.masterplan-ficha { position: absolute; left: 1rem; bottom: 1rem; z-index: 3; width: 320px; background: rgba(255,255,255,.95); border: 1px solid var(--linha); border-top: 3px solid var(--gold); padding: 1.1rem 1.2rem; font-size: .76rem; color: var(--ink-2); box-shadow: 0 10px 30px rgba(11,27,51,.15); }
.masterplan-ficha b { display: block; font-family: var(--serif); font-size: 1.25rem; color: var(--ink); margin-bottom: .35rem; }
.masterplan-ficha .dado { display: flex; justify-content: space-between; gap: 1rem; padding: .25rem 0; border-bottom: 1px solid var(--linha); }
.masterplan-ficha .dado span:last-child { font-weight: 600; color: var(--ink); white-space: nowrap; }
.masterplan-ficha .dica { font-size: .62rem; color: var(--muted); margin-top: .6rem; }
@keyframes surgirFicha { from { opacity: .3; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.hotspot { animation: pulsar 2.4s ease-in-out infinite; }
.hotspot.ativo, .hotspot:hover { animation: none; }
@keyframes pulsar { 0%, 100% { box-shadow: 0 0 0 6px rgba(212,175,55,.25); } 50% { box-shadow: 0 0 0 12px rgba(212,175,55,.08); } }

/* TIPOLOGIAS */
.tipologias { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .8rem; }
.tipo { border: 1px solid var(--linha); background: var(--white); padding: 1rem 1.1rem; cursor: pointer; transition: all .25s; position: relative; overflow: hidden; }
.tipo:hover { border-color: var(--gold); box-shadow: 0 10px 30px rgba(11,27,51,.08); transform: translateY(-2px); }
.tipo .torre { font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-3); font-weight: 700; }
.tipo .nome { font-family: var(--serif); font-size: 1.5rem; margin: .2rem 0; }
.tipo .area { font-size: .82rem; font-weight: 600; }
.tipo .un { font-size: .66rem; color: var(--muted); }
.tipo .ver { position: absolute; right: .9rem; bottom: .8rem; font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-3); }
.tipo .barra { height: 3px; background: var(--linha); margin-top: .7rem; }
.tipo .barra i { display: block; height: 100%; background: var(--gold); }

/* gráficos */
.grafico-bloco { border: 1px solid var(--linha); padding: 1.6rem 1.6rem 1rem; background: var(--white); }
.escura .grafico-bloco, .escura-2 .grafico-bloco { border-color: var(--linha-escura); background: rgba(255,255,255,.025); }
.grafico-bloco h4 { font-family: var(--sans); font-size: .64rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; margin-bottom: .2rem; color: var(--ink); }
.escura .grafico-bloco h4, .escura-2 .grafico-bloco h4 { color: var(--sand); }
.grafico-bloco .fonte { font-size: .6rem; color: var(--muted); margin-bottom: 1rem; }
.grafico-bloco canvas { width: 100% !important; }
.grade-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.grade-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grade-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--linha-escura); border: 1px solid var(--linha-escura); }
.kpi { padding: 1.8rem 1.4rem; background: var(--navy-800); border-top: 2px solid var(--gold); }
.clara .kpi { background: var(--white); }
.kpi .v { font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 500; line-height: 1; color: var(--white); margin-bottom: .45rem; }
.clara .kpi .v { color: var(--ink); }
.kpi .l { font-size: .62rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); }
.clara .kpi .l { color: var(--gold-3); }
.kpi .s { font-size: .6rem; color: rgba(239,230,210,.55); margin-top: .15rem; }
.clara .kpi .s { color: var(--muted); }

/* lazer */
.lazer { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--linha); border: 1px solid var(--linha); }
.lazer div { background: var(--white); padding: 1.3rem 1rem; text-align: center; }
.lazer .ic { font-size: 1.4rem; display: block; margin-bottom: .5rem; }
.lazer span { font-size: .68rem; font-weight: 500; }

/* vídeos em grade */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.video-cartao { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--navy-700); cursor: pointer; border: 1px solid var(--linha-escura); }
.video-cartao img, .video-cartao video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.video-cartao:hover img { transform: scale(1.04); }
.video-cartao .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold-2); background: rgba(6,15,31,.55); display: flex; align-items: center; justify-content: center; color: var(--gold-2); font-size: 1.1rem; transition: transform .2s, background .2s; }
.video-cartao:hover .play { transform: translate(-50%, -50%) scale(1.08); background: rgba(212,175,55,.3); }
.video-cartao .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem .9rem .7rem; background: linear-gradient(transparent, rgba(6,15,31,.9)); font-size: .62rem; letter-spacing: .1em; color: rgba(255,255,255,.85); }
.video-cartao.grande { grid-column: span 2; }
.galeria { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }
.galeria .item { position: relative; overflow: hidden; cursor: zoom-in; aspect-ratio: 4/3; border: 1px solid var(--linha-escura); }
.galeria .item.larga { grid-column: span 2; aspect-ratio: auto; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s, filter .6s; filter: brightness(.92); }
.galeria .item:hover img { transform: scale(1.04); filter: brightness(1); }
.galeria .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.4rem .9rem .7rem; background: linear-gradient(transparent, rgba(6,15,31,.9)); font-size: .62rem; letter-spacing: .1em; color: rgba(255,255,255,.85); }
.galeria .cap b { display: block; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-2); margin-bottom: .15rem; }

/* lightbox */
.lightbox { position: fixed; inset: var(--demo-barra) 0 0 0; z-index: 900; background: rgba(4,10,22,.96); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity .3s; }
.lightbox.aberta { opacity: 1; pointer-events: all; }
.lightbox img, .lightbox video { max-width: 92vw; max-height: calc(86vh - var(--demo-barra)); object-fit: contain; box-shadow: 0 0 80px rgba(0,0,0,.7); background: #000; }
.lightbox .fechar { position: absolute; top: 1.2rem; right: 1.6rem; font-size: 2.4rem; color: rgba(212,175,55,.7); cursor: pointer; line-height: 1; background: none; border: 0; }
.lightbox .legenda { position: absolute; bottom: 1.4rem; left: 50%; transform: translateX(-50%); font-size: .68rem; letter-spacing: .12em; color: var(--sand); text-align: center; max-width: 80vw; }

/* ranking */
.ranking .linha { display: flex; align-items: center; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--linha); }
.ranking .cid { width: 180px; font-size: .78rem; flex-shrink: 0; }
.ranking .sc { font-size: .5rem; font-weight: 700; letter-spacing: .12em; background: var(--navy-800); color: var(--white); padding: .1rem .4rem; margin-left: .4rem; }
.ranking .barra { flex: 1; height: 8px; background: var(--ivory); position: relative; overflow: hidden; border-radius: 1px; }
.ranking .barra i { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: linear-gradient(90deg, var(--navy-800), var(--navy-600)); transition: width 1.2s ease; border-radius: 1px; }
.ranking .barra i.lo { background: #cfd6e0; }
.ranking .val { width: 84px; text-align: right; font-size: .76rem; font-weight: 600; flex-shrink: 0; }
.bench { border-top: 1px solid var(--linha-escura); }
.bench .linha { display: flex; gap: 1.4rem; padding: 1.2rem 0; border-bottom: 1px solid var(--linha-escura); }
.bench .tag { min-width: 96px; font-size: .52rem; font-weight: 700; letter-spacing: .14em; color: var(--gold-2); background: rgba(212,175,55,.15); padding: .25rem .6rem; height: fit-content; }
.bench b { display: block; font-size: .84rem; font-weight: 600; color: var(--white); margin-bottom: .15rem; }
.bench p { font-size: .68rem; color: rgba(239,230,210,.7); }
.razoes .linha { display: flex; gap: 1.4rem; padding: 1.3rem 0; border-bottom: 1px solid var(--linha-escura); }
.razoes .n { font-family: var(--serif); color: var(--gold); min-width: 28px; }
.razoes b { display: block; color: var(--white); font-size: .84rem; margin-bottom: .2rem; }
.razoes p { font-size: .68rem; color: rgba(239,230,210,.7); line-height: 1.6; }

/* tabela comparativa */
.tabela { width: 100%; border-collapse: collapse; font-size: .8rem; }
.tabela th, .tabela td { padding: .8rem .9rem; text-align: left; border-bottom: 1px solid var(--linha-escura); }
.tabela th { font-size: .58rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); font-weight: 700; }
.tabela td:not(:first-child), .tabela th:not(:first-child) { text-align: right; }
.tabela td b { color: var(--white); font-weight: 600; }
.tabela tr.total td { color: var(--gold-2); font-weight: 600; border-top: 1px solid var(--gold-3); }

/* passos + rodapé */
.passos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--linha-escura); border: 1px solid var(--linha-escura); }
.passos div { background: var(--navy-800); padding: 1.6rem 1.3rem; }
.passos .n { font-family: var(--serif); font-size: 1.6rem; color: var(--gold); }
.passos b { display: block; font-size: .82rem; color: var(--white); margin: .3rem 0 .2rem; font-weight: 600; }
.passos p { font-size: .66rem; color: rgba(239,230,210,.65); }
footer { background: var(--navy-950); padding: 1.3rem 2.5rem; display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between; align-items: center; border-top: 1px solid var(--linha-escura); font-size: .56rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(239,230,210,.35); }
footer a { color: inherit; text-decoration: none; }

@media (max-width: 960px) {
  .container { padding: 0 1.4rem; }
  .secao { padding: 5rem 0; }
  nav.topo { padding: .8rem 1.2rem; }
  nav.topo ul { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--navy-900); border-bottom: 1px solid var(--linha-escura); padding: .6rem 0; }
  nav.topo ul.aberto { display: flex; }
  nav.topo ul li a { display: block; padding: .8rem 1.4rem; }
  nav.topo .menu-btn { display: block; } nav.topo .conf { display: none; }
  .lotes-grade, .duas, .grade-2, .grade-3 { grid-template-columns: 1fr; }
  .duas.inv > :first-child { order: 0; }
  .totais, .grade-4, .passos { grid-template-columns: 1fr 1fr; }
  .grade-specs { grid-template-columns: 1fr 1fr; }
  .lazer { grid-template-columns: repeat(2, 1fr); }
  .videos, .galeria { grid-template-columns: 1fr 1fr; }
  .video-cartao.grande, .galeria .item.larga { grid-column: span 2; }
  .maquete-wrap { height: auto; min-height: 0; }
  #mapa { position: relative; height: 62vh; }
  .maquete-painel { position: relative; left: 0; top: 0; transform: none; width: auto; max-height: none; border-left: 0; border-right: 0; }
  .maquete-info { position: relative; right: 0; bottom: 0; width: auto; }
  .maquete-legenda, .maquete-nota { display: none; }
  .lote-cartao { min-height: 420px; }
  .rolar, .som { display: none; }
  footer { flex-direction: column; gap: .4rem; text-align: center; }
}
@media (max-width: 560px) {
  .totais, .grade-4, .passos, .grade-specs, .videos, .galeria, .lazer { grid-template-columns: 1fr; }
  .video-cartao.grande, .galeria .item.larga { grid-column: span 1; }
  #abertura h1 { font-size: 3.2rem; }
  .pilulas .pilula { width: 100%; }
}

#mapa-foto { position: absolute; inset: 0; z-index: 2; background: #071224; }
#mapa-foto .cesium-viewer-bottom, #mapa-foto .cesium-widget-credits { display: none !important; }

/* barra da demonstração (portfólio) */
.demo-barra { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; background: #050507; color: #E9E9EE; border-bottom: 1px solid rgba(255,255,255,.08); font: 400 12.5px/1.3 system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif; letter-spacing: 0; text-transform: none; }
.demo-barra span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.demo-barra a { flex-shrink: 0; white-space: nowrap; color: #fff; text-decoration: none; }
.demo-barra a:hover { text-decoration: underline; }
