/* Longitude Estação Freguesia — página interativa */
:root {
  --blue: #0043c7;
  --blue-d: #00369f;
  --navy: #071a4a;
  --ink: #0b1530;
  --cyan: #03ffff;
  --sky: #0ae1ff;
  --yellow: #ecb11b;
  --olive: #1b2a5c;   /* azul-marinho das peças do Città */
  --olive-l: #f2a900;
  --paper: #ffffff;
  --mist: #f2f5fb;
  --line: #dfe5f1;
  --muted: #5b6785;
  --radius: 22px;
  --max: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }

body { font-family: "Montserrat", system-ui, sans-serif; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; line-height: 1.6; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { position: relative; }
.pad { padding: 120px 0; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.kicker::before { content: ""; width: 28px; height: 3px; background: var(--yellow); border-radius: 2px; }
.dark .kicker { color: var(--sky); }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.02em; }
h2 { font-size: clamp(34px, 4.6vw, 60px); font-weight: 800; margin: 16px 0 18px; }
h2 em { font-style: normal; color: var(--blue); }
.dark h2 em { color: var(--sky); }
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--muted); max-width: 640px; }
.dark .lead { color: #b9c6e6; }
.dark { background: var(--navy); color: #fff; }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 14px 30px -14px var(--blue); }
.btn-blue:hover { transform: translateY(-2px); background: var(--blue-d); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { transform: translateY(-2px); }
.btn-line { border: 2px solid rgba(255,255,255,.6); color: #fff; }
.btn-line:hover { background: rgba(255,255,255,.12); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.top { position: fixed; inset: 0 0 auto 0; z-index: 60; transition: background .35s, box-shadow .35s; }
.top .container { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 20px; }
.top.solid { background: rgba(255,255,255,.95); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand img { height: 30px; filter: brightness(0) invert(1); transition: filter .3s; }
.top.solid .brand img { filter: none; }
.brand span { font-size: 13px; font-weight: 500; color: #fff; border-left: 1px solid rgba(255,255,255,.5); padding-left: 14px; line-height: 1.15; }
.brand span b { display: block; font-size: 18px; font-weight: 800; }
.top.solid .brand span { color: var(--olive); border-color: var(--line); }
.top nav { display: flex; gap: 26px; font-size: 14px; font-weight: 600; color: #fff; }
.top.solid nav { color: var(--ink); }
.top nav a { position: relative; }
.top nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--yellow); transition: right .25s; }
.top nav a:hover::after, .top nav a.on::after { right: 0; }
.top .btn { padding: 11px 20px; font-size: 14px; }
.burger { display: none; width: 42px; height: 42px; color: #fff; }
.top.solid .burger { color: var(--ink); }

/* Hero */
.hero { height: 100svh; min-height: 640px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; transform-origin: center; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7,26,74,.55) 0%, rgba(7,26,74,0) 28%, rgba(7,26,74,.25) 55%, rgba(7,26,74,.95) 100%), linear-gradient(90deg, rgba(0,67,199,.55), rgba(0,67,199,0) 60%); }
.hero-content { position: relative; z-index: 2; padding-bottom: 90px; width: 100%; }
.lockup { display: inline-flex; flex-direction: column; margin-bottom: 26px; }
.lockup small { font-size: 16px; font-weight: 500; opacity: .9; }
.lockup small b { font-weight: 700; }
.lockup strong { font-size: clamp(54px, 9vw, 120px); font-weight: 800; letter-spacing: -.04em; line-height: .9; }
.hero h1 { font-size: clamp(22px, 2.6vw, 34px); font-weight: 600; max-width: 720px; }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line > span { display: inline-block; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 32px; }
.chip { padding: 9px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(6px); }
.chip.y { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.scroll-cue { position: absolute; right: 32px; bottom: 40px; z-index: 2; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; writing-mode: vertical-rl; display: flex; align-items: center; gap: 12px; }
.scroll-cue::after { content: ""; width: 2px; height: 60px; background: linear-gradient(var(--yellow), transparent); animation: cue 1.8s infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Numbers */
.numbers { background: var(--blue); color: #fff; }
.numbers .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.num { padding: 42px 16px; text-align: center; border-right: 1px solid rgba(255,255,255,.18); }
.num:last-child { border-right: 0; }
.num b { display: block; font-size: clamp(34px, 4vw, 54px); font-weight: 800; line-height: 1; }
.num span { font-size: 14px; opacity: .85; }

/* Sobre */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 70px; align-items: center; }
.about p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.about .rotator { margin-top: 26px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; color: var(--ink); }
.about .rotator span { color: var(--blue); display: inline-block; min-width: 9ch; border-bottom: 3px solid var(--yellow); }
.about-img { border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; position: relative; box-shadow: 0 40px 80px -40px rgba(7,26,74,.5); }
.about-img img { width: 100%; height: 120%; object-fit: cover; }
.about-img .tag { position: absolute; left: 18px; bottom: 18px; background: #fff; padding: 10px 16px; border-radius: 12px; font-size: 13px; font-weight: 700; }

/* Tour */
.tour-wrap { padding: 110px 0 120px; }
.tour-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 30px; }
.stage { position: relative; height: min(78vh, 760px); min-height: 460px; border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 50px 100px -40px rgba(0,0,0,.6); }
#tour-pano { position: absolute; inset: 0; }
.tv-layer { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 1; }
.tv { position: absolute; left: 0; top: 0; width: 640px; height: 360px; transform-origin: 0 0; background: #000; overflow: hidden; visibility: hidden; }
.tv .pl { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity .4s; }
.tv.playing .pl { opacity: 1; }
.tv .pl iframe, .tv .pl > div { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; transform: scale(1.42); pointer-events: none; }
.tv .glass { position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 40%, rgba(255,255,255,0) 64%, rgba(255,255,255,.07) 100%); }
.tv.mirror { filter: brightness(.82) saturate(.9); }
.tour-start { position: absolute; inset: 0; z-index: 5; display: grid; place-items: center; text-align: center; background: center/cover; color: #fff; }
.tour-start::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(7,26,74,.35), rgba(7,26,74,.85)); }
.tour-start > div { position: relative; display: grid; gap: 14px; justify-items: center; }
.play { width: 92px; height: 92px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(236,177,27,.25); transition: transform .25s; }
.tour-start:hover .play { transform: scale(1.07); }
.play svg { width: 34px; height: 34px; margin-left: 5px; }
.tour-start b { font-size: 24px; }
.tour-start small { opacity: .85; font-size: 14px; }
.hud { position: absolute; z-index: 3; left: 18px; right: 18px; bottom: 16px; display: flex; gap: 10px; align-items: flex-end; justify-content: space-between; pointer-events: none; }
.rooms { display: flex; gap: 8px; overflow-x: auto; pointer-events: auto; padding: 4px; scrollbar-width: none; }
.rooms button { flex: 0 0 auto; width: 88px; border-radius: 10px; overflow: hidden; background: rgba(7,26,74,.75); border: 2px solid transparent; text-align: left; backdrop-filter: blur(6px); transition: border-color .2s, transform .2s; }
.rooms button img { width: 100%; height: 44px; object-fit: cover; }
.rooms button span { display: block; padding: 4px 7px; font-size: 10.5px; overflow: hidden; text-overflow: ellipsis; font-weight: 700; color: #fff; white-space: nowrap; }
.rooms button.on { border-color: var(--yellow); }
.rooms button:hover { transform: translateY(-3px); }
.tools { display: flex; gap: 8px; pointer-events: auto; }
.tools button { width: 46px; height: 46px; border-radius: 12px; background: rgba(7,26,74,.75); color: #fff; display: grid; place-items: center; backdrop-filter: blur(6px); }
.tools button svg { width: 20px; height: 20px; }
.tools button.wide { width: auto; padding: 0 16px; gap: 8px; display: flex; align-items: center; font-weight: 700; font-size: 13.5px; background: var(--yellow); color: var(--ink); }
.room-title { position: absolute; z-index: 3; left: 22px; top: 18px; color: #fff; font-weight: 800; font-size: 20px; text-shadow: 0 2px 12px rgba(0,0,0,.5); pointer-events: none; }
.room-title em { display: block; font-style: normal; font-size: 13px; font-weight: 700; color: #fff; opacity: .85; margin-top: 2px; }
.room-title small { display: block; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.info { position: relative; }
.info > button { width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; background: #fff; color: var(--blue); font-weight: 800; font-size: 17px; box-shadow: 0 0 0 7px rgba(255,255,255,.3); }
.info .card { display: none; position: absolute; left: 28px; top: -22px; width: 250px; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 16px; font-size: 13.5px; line-height: 1.5; box-shadow: 0 20px 40px -10px rgba(0,0,0,.4); }
.info .card b { color: var(--blue); }
.info.open .card { display: block; }
.tour-note { margin-top: 16px; font-size: 13px; color: #8ea0cf; }

/* Plantas */
.plans { display: grid; grid-template-columns: 300px 1fr; gap: 50px; margin-top: 50px; align-items: start; }
.plan-tabs { display: grid; gap: 10px; }
.plan-tabs button { text-align: left; padding: 18px 20px; border-radius: 16px; border: 2px solid var(--line); transition: all .2s; }
.plan-tabs button b { display: block; font-size: 17px; }
.plan-tabs button span { font-size: 13px; color: var(--muted); }
.plan-tabs button.on { border-color: var(--blue); background: var(--blue); color: #fff; box-shadow: 0 18px 30px -18px var(--blue); }
.plan-tabs button.on span { color: #cdd9ff; }
.plan-view { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: center; background: var(--mist); border-radius: 28px; padding: 30px; }
.plan-img { border-radius: 20px; overflow: hidden; background: var(--olive); cursor: zoom-in; }
.plan-img img { width: 100%; transition: transform .5s; }
.plan-img.zoom img { transform: scale(1.8); cursor: zoom-out; }
.plan-info h3 { font-size: 30px; font-weight: 800; }
.plan-info .area { font-size: 44px; font-weight: 800; color: var(--blue); margin: 8px 0 4px; line-height: 1; }
.plan-info .area small { font-size: 18px; color: var(--muted); font-weight: 600; }
.plan-info ul { list-style: none; margin-top: 18px; display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }
.plan-info li { display: flex; gap: 10px; }
.plan-info li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--yellow); margin-top: 8px; }

/* Lazer (scroll horizontal) */
.lazer { background: var(--mist); overflow: hidden; }
.lazer-pin { background: var(--mist); height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.lazer-head { margin-bottom: 34px; }
.lazer-track { display: flex; gap: 22px; padding-left: max(24px, calc((100vw - var(--max)) / 2 + 24px)); will-change: transform; }
.lz { flex: 0 0 auto; width: min(460px, 78vw); }
.lz-img { border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; position: relative; }
.lz-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.lz:hover .lz-img img { transform: scale(1.06); }
.lz h3 { font-size: 19px; font-weight: 800; margin-top: 14px; }
.lz p { font-size: 14px; color: var(--muted); }
.lz-num { position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.92); color: var(--blue); font-weight: 800; font-size: 13px; padding: 6px 11px; border-radius: 999px; }
.lazer-bar { margin: 34px auto 0; width: min(var(--max), 100%); padding: 0 24px; }
.lazer-bar div { height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.lazer-bar i { display: block; height: 100%; width: 0; background: var(--blue); }

/* Implantação */
.impl { margin-top: 44px; border-radius: 28px; overflow: hidden; position: relative; background: var(--olive); }
.impl img { width: 100%; }

/* Localização — vídeo 360 com pontos */
.loc-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 26px; margin-top: 44px; align-items: start; }
.vid360 { position: sticky; top: 100px; border-radius: 24px; overflow: hidden; background: #000; aspect-ratio: 16/9; }
.vid360 video { width: 100%; height: 100%; object-fit: cover; }
.vid-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.vl { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; transition: opacity .3s; will-change: transform; }
.vl .pill { display: flex; align-items: center; gap: 7px; background: #fff; color: var(--ink); font-size: 12.5px; font-weight: 800; padding: 6px 11px 6px 7px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 20px -6px rgba(0,0,0,.5); }
.vl .pill i { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.vl .pill i svg { width: 13px; height: 13px; }
.vl .pill small { font-weight: 600; color: var(--muted); }
.vl .stem { width: 2px; height: 34px; background: linear-gradient(#fff, rgba(255,255,255,.2)); }
.vl .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); border: 2px solid #fff; margin-top: -2px; box-shadow: 0 0 0 6px rgba(236,177,27,.35); }
.vl.hot .pill { background: var(--yellow); }
.vid-ui { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; gap: 12px; color: #fff; font-size: 12.5px; font-weight: 700; }
.vid-ui button { width: 38px; height: 38px; border-radius: 50%; background: rgba(7,26,74,.75); display: grid; place-items: center; }
.vid-ui button svg { width: 16px; height: 16px; }
.compass { position: absolute; right: 14px; top: 14px; width: 64px; height: 64px; border-radius: 50%; background: rgba(7,26,74,.7); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.compass .needle { position: absolute; inset: 6px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
.compass .needle::before { content: "N"; position: absolute; left: 50%; top: -1px; transform: translateX(-50%); color: var(--yellow); }
.vid-tag { position: absolute; left: 14px; top: 14px; background: rgba(7,26,74,.75); color: #fff; padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.poi-list { display: grid; gap: 8px; }
.poi { display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); text-align: left; transition: all .2s; background: #fff; }
.poi i { width: 42px; height: 42px; border-radius: 12px; background: var(--mist); color: var(--blue); display: grid; place-items: center; }
.poi i svg { width: 20px; height: 20px; }
.poi b { display: block; font-size: 14.5px; }
.poi small { font-size: 12.5px; color: var(--muted); }
.poi .times { display: flex; gap: 10px; font-size: 12px; font-weight: 700; color: var(--blue); }
.poi .times span { display: grid; justify-items: center; line-height: 1.2; }
.poi .times span em { font-style: normal; font-size: 10px; color: var(--muted); font-weight: 600; }
.poi:hover, .poi.on { border-color: var(--blue); box-shadow: 0 12px 26px -16px var(--blue); }
.poi.on i { background: var(--blue); color: #fff; }
.seg { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 4px; margin-top: 26px; }
.seg button { padding: 9px 18px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.seg button.on { background: var(--blue); color: #fff; }
.dark .seg { background: rgba(255,255,255,.08); }
.dark .seg button { color: #b9c6e6; }
.dark .seg button.on { background: var(--yellow); color: var(--ink); }
.aerial { position: relative; border-radius: 24px; overflow: hidden; margin-top: 44px; }
.aerial img { width: 100%; }
.apin { position: absolute; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.apin .pill { display: flex; align-items: center; gap: 7px; background: #fff; font-size: 13px; font-weight: 800; padding: 6px 12px 6px 7px; border-radius: 999px; white-space: nowrap; box-shadow: 0 8px 20px -6px rgba(0,0,0,.5); }
.apin .pill i { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.apin .pill i svg { width: 13px; height: 13px; }
.apin .stem { width: 2px; height: 26px; background: #fff; }
.apin .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); border: 2px solid #fff; }
.apin.main .pill { background: var(--yellow); font-size: 15px; padding: 8px 16px 8px 9px; }
.apin.main .pill i { background: var(--ink); }

/* Clipes do bairro */
.clips { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
.clip { border-radius: 18px; overflow: hidden; position: relative; aspect-ratio: 4/5; background: #000; color: #fff; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(7,26,74,.92)); }
.clip .cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; }
.clip .cap small { color: var(--yellow); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.clip .cap b { display: block; font-size: 16px; line-height: 1.25; margin: 3px 0 6px; }
.clip .cap span { font-size: 12px; opacity: .85; }
.clip .badge { position: absolute; right: 12px; top: 12px; z-index: 1; background: rgba(255,255,255,.92); color: var(--blue); font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; }

/* Sol */
.sun-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; margin-top: 44px; align-items: start; }
.sun-map { position: relative; border-radius: 24px; overflow: hidden; background: var(--olive); }
.sun-map img { width: 100%; filter: saturate(.85); }
.sun-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.sun-panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 24px; padding: 26px; }
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.seasons button { padding: 10px 6px; border-radius: 12px; font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,.06); color: #cfd8f2; }
.seasons button small { display: block; font-size: 10.5px; font-weight: 600; opacity: .7; }
.seasons button.on { background: var(--yellow); color: var(--ink); }
.clock { display: flex; align-items: baseline; justify-content: space-between; margin: 24px 0 8px; }
.clock b { font-size: 46px; font-weight: 800; line-height: 1; }
.clock span { font-size: 13px; color: #b9c6e6; }
input[type=range] { width: 100%; accent-color: var(--yellow); }
.sun-play { display: flex; gap: 10px; margin-top: 12px; }
.sun-play button { flex: 1; padding: 11px; border-radius: 12px; background: rgba(255,255,255,.08); font-weight: 700; font-size: 13px; }
.sun-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.sun-stats div { background: rgba(255,255,255,.05); border-radius: 14px; padding: 12px 14px; }
.sun-stats small { display: block; font-size: 11px; color: #9fb0da; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.sun-stats b { font-size: 18px; }
.faces { display: grid; gap: 10px; margin-top: 16px; }
.face { display: grid; grid-template-columns: 14px 1fr; gap: 12px; padding: 14px; border-radius: 14px; background: rgba(255,255,255,.05); transition: background .3s; }
.face i { width: 14px; height: 14px; border-radius: 50%; background: #3a4a78; margin-top: 4px; transition: background .3s, box-shadow .3s; }
.face.lit { background: rgba(236,177,27,.14); }
.face.lit i { background: var(--yellow); box-shadow: 0 0 14px var(--yellow); }
.face b { font-size: 14.5px; }
.face p { font-size: 12.5px; color: #b9c6e6; }
.section-cut { margin-top: 30px; background: rgba(255,255,255,.05); border-radius: 24px; padding: 22px; }
.section-cut h3 { font-size: 16px; margin-bottom: 4px; }
.section-cut p { font-size: 13px; color: #b9c6e6; }
.section-cut svg { width: 100%; height: auto; margin-top: 12px; }
.sun-note { font-size: 12px; color: #8ea0cf; margin-top: 14px; }

/* Contato */
.cta { background: linear-gradient(135deg, var(--blue), var(--blue-d)); color: #fff; overflow: hidden; }
.cta .container { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.cta h2 em { color: var(--yellow); }
.cta-card { background: #fff; color: var(--ink); border-radius: 26px; padding: 32px; display: grid; gap: 16px; }
.cta-card .row { display: flex; gap: 14px; align-items: flex-start; }
.cta-card .row i { width: 44px; height: 44px; border-radius: 12px; background: var(--mist); color: var(--blue); display: grid; place-items: center; flex: 0 0 44px; }
.cta-card .row i svg { width: 20px; height: 20px; }
.cta-card small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.cta-card b { font-size: 16px; }
footer { background: var(--ink); color: #9fb0da; font-size: 12.5px; padding: 46px 0; }
footer .container { display: grid; gap: 18px; }
footer .credits { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; color: #fff; font-weight: 600; }
footer img { height: 26px; filter: brightness(0) invert(1); }

/* Animações de entrada (GSAP controla; sem JS ficam visíveis) */
.js .rv { opacity: 0; transform: translateY(40px); }

@media (max-width: 1080px) {
  .top nav { display: none; }
  .top nav.open { display: flex; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0; background: #fff; color: var(--ink); padding: 20px 24px; gap: 16px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.3); }
  .burger { display: grid; place-items: center; }
  .about, .loc-grid, .sun-grid, .cta .container, .plans, .plan-view { grid-template-columns: 1fr; }
  .vid360 { position: relative; top: 0; }
  .clips { grid-template-columns: repeat(2, 1fr); }
  .plan-tabs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .pad { padding: 84px 0; }
  .container { padding: 0 16px; }
  .top .btn { display: none; }
  .brand span { display: none; }
  .numbers .container { grid-template-columns: repeat(2, 1fr); }
  .num:nth-child(2) { border-right: 0; }
  .num:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .stage { height: 72vh; border-radius: 18px; }
  .rooms button { width: 72px; }
  .rooms button img { height: 36px; }
  .plan-tabs { grid-template-columns: repeat(2, 1fr); }
  .plan-view { padding: 16px; }
  .clips { grid-template-columns: 1fr 1fr; gap: 10px; }
  .poi { grid-template-columns: 36px 1fr; }
  .poi .times { grid-column: 2; }
  .seasons { grid-template-columns: repeat(2, 1fr); }
  .scroll-cue { display: none; }
  .vl .pill small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* Discos de navegação no chão (estilo Matterport) */
.nav-disc { width: 0; height: 0; cursor: pointer; }
.nav-disc .nd { position: absolute; left: -66px; top: -66px; width: 132px; height: 132px; border-radius: 50%;
  border: 7px solid rgba(255,255,255,.95); background: radial-gradient(circle, rgba(255,255,255,.28) 0 30%, rgba(7,26,74,.35) 31%);
  box-shadow: 0 0 0 10px rgba(10,225,255,.18), 0 18px 40px rgba(0,0,0,.45); display: grid; place-items: center; color: #fff;
  transition: transform .25s, border-color .25s, background .25s; }
.nav-disc .nd svg { width: 64px; height: 64px; filter: drop-shadow(0 2px 4px rgba(0,0,0,.4)); }
.nav-disc:hover .nd { transform: scale(1.12); border-color: var(--yellow); background: radial-gradient(circle, rgba(236,177,27,.55) 0 30%, rgba(7,26,74,.35) 31%); }
.nav-tag { width: 0; height: 0; pointer-events: none; }
.nav-tag span { position: absolute; left: 0; bottom: 0; transform: translate(-50%, 8px); white-space: nowrap; background: #fff; color: var(--ink);
  font-size: 13px; font-weight: 800; padding: 7px 14px; border-radius: 999px; box-shadow: 0 10px 24px rgba(0,0,0,.35); opacity: 0; transition: opacity .2s, transform .2s; }
.nav-tag.show span { opacity: 1; transform: translate(-50%, 0); }

/* Minimapa */
.minimap { position: absolute; z-index: 3; right: 18px; top: 18px; width: 160px; padding: 8px 8px 6px; border-radius: 16px; background: rgba(7,26,74,.78); backdrop-filter: blur(8px); text-align: center; transition: transform .2s; }
.minimap:hover { transform: scale(1.04); }
.minimap img { width: 100%; border-radius: 10px; background: #f3efe4; }
.minimap small { display: block; color: #fff; font-size: 11px; font-weight: 700; margin-top: 5px; opacity: .85; }
.mm-wrap { position: relative; display: block; }
.mm-me { position: absolute; width: 0; height: 0; transition: left .5s, top .5s; }
.mm-me::before { content: ""; position: absolute; left: -29px; top: -29px; width: 58px; height: 58px; transform: rotate(var(--a, 0deg));
  background: conic-gradient(from -30deg, rgba(236,177,27,.75), rgba(236,177,27,0) 60deg, transparent 0); border-radius: 50%; }
.mm-me i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); border: 2px solid #fff; box-shadow: 0 0 10px rgba(236,177,27,.9); }

/* Dollhouse 3D */
.dollhouse { position: absolute; inset: 0; z-index: 6; background: radial-gradient(ellipse at 50% 60%, #12307a, #050f2e 70%); overflow: hidden; cursor: grab; touch-action: none; opacity: 0; transition: opacity .45s; }
.dollhouse.in { opacity: 1; }
.dollhouse.out { opacity: 0; }
.dollhouse:active { cursor: grabbing; }
.dh-head { position: absolute; left: 22px; right: 22px; top: 18px; display: flex; justify-content: space-between; align-items: center; color: #fff; z-index: 2; pointer-events: none; }
.dh-head small { display: block; color: var(--yellow); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.dh-head b { font-size: 20px; }
.dh-x { pointer-events: auto; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; font-size: 24px; }
.dh-hint { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; color: #b9c6e6; font-size: 12.5px; z-index: 2; pointer-events: none; }
.dh-model { position: absolute; left: 50%; top: 56%; width: 636px; height: 462px; transform-style: preserve-3d; }
.dollhouse.lift .dh-model { transition: transform 1.1s cubic-bezier(.2,.8,.2,1); }
.dh-floor { position: absolute; inset: 0; width: 636px; height: 462px; border-radius: 4px; box-shadow: 0 0 0 8px rgba(255,255,255,.06), 0 60px 80px rgba(0,0,0,.6); }
.dh-wall { position: absolute; transform-style: preserve-3d; }
.dh-wall i { position: absolute; left: 0; top: 0; display: block; }
.dh-wall .t { width: 100%; height: 100%; background: #ffffff; }
.dh-wall .s { background: linear-gradient(#e6ebf5, #c9d2e6); transform-origin: 0 0; }
.dh-wall .n, .dh-wall .s2 { transform: rotateX(90deg); }
.dh-wall .w, .dh-wall .e { transform: rotateY(-90deg); background: linear-gradient(90deg, #c9d2e6, #b7c2da); }
.dh-wall.glass .t, .dh-wall.glass .s { background: rgba(160,225,255,.35); }
.dh-room { position: absolute; width: 0; height: 0; transform-style: preserve-3d; }
.dh-room .bb { position: absolute; left: 0; top: 0; transform: translateZ(95px) rotateZ(var(--rz)) rotateX(var(--rx)) translate(-50%, -100%); transform-origin: 0 0;
  display: grid; text-align: center; background: #fff; color: var(--ink); padding: 8px 14px; border-radius: 12px; box-shadow: 0 14px 30px rgba(0,0,0,.4); white-space: nowrap; transition: background .2s; }
.dh-room .bb b { font-size: 15px; }
.dh-room .bb small { font-size: 13px; font-weight: 700; color: var(--blue); }
.dh-room:hover .bb { background: var(--yellow); }
.dh-cam { position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; border: 4px solid #fff; background: var(--blue); box-shadow: 0 0 0 6px rgba(10,225,255,.35); transform: translateZ(2px); }
.dh-cam:hover { background: var(--yellow); }

/* Pino do terreno no vídeo do topo */
.hero-pin { position: absolute; left: 0; top: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); pointer-events: none; will-change: transform; transition: opacity .4s; }
.hero-pin .pill { display: flex; align-items: center; gap: 8px; background: var(--yellow); color: var(--ink); font-weight: 800; font-size: 15px; padding: 9px 16px 9px 10px; border-radius: 999px; box-shadow: 0 12px 30px rgba(0,0,0,.45); white-space: nowrap; }
.hero-pin .pill i { width: 12px; height: 12px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px rgba(0,67,199,.25); }
.hero-pin .stem { width: 2px; height: 70px; background: linear-gradient(var(--yellow), rgba(236,177,27,.2)); }
.hero-pin .ring { width: 22px; height: 22px; border-radius: 50%; border: 3px solid var(--yellow); margin-top: -11px; margin-bottom: -11px; animation: pinpulse 1.8s infinite; }
@keyframes pinpulse { 0% { box-shadow: 0 0 0 0 rgba(236,177,27,.7); } 100% { box-shadow: 0 0 0 26px rgba(236,177,27,0); } }
@media (max-width: 680px) {
  .minimap { width: 104px; right: 10px; top: 10px; }
  .minimap small { display: none; }
  .tools button.wide span { display: none; }
  .hero-pin .pill { font-size: 12px; }
  .dh-hint { bottom: 14px; }
}

/* Sol dentro do tour */
.sun-layer { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.sun-layer svg { position: absolute; inset: 0; }
.tools button.sunb { background: rgba(7,26,74,.75); color: #fff; }
.tools button.sunb.on { background: #ffd98a; color: var(--ink); }
#tour-tvb.on { background: #fff; color: var(--ink); }
.sun-panel-t { position: absolute; z-index: 4; left: 18px; top: 84px; width: 300px; padding: 14px; border-radius: 16px; background: rgba(7,26,74,.86); backdrop-filter: blur(10px); color: #fff; display: grid; gap: 10px; }
.sp-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.sp-row b { font-size: 14px; }
.sp-row span { font-size: 22px; font-weight: 800; color: #ffd98a; }
.sp-row small { font-size: 12px; color: #cfd8f2; line-height: 1.35; }
.sp-row button { flex: 0 0 auto; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.12); font-size: 12px; font-weight: 700; }
.sp-seg { display: grid; grid-auto-flow: column; gap: 4px; }
.sp-seg button { padding: 7px 4px; border-radius: 9px; font-size: 11.5px; font-weight: 700; background: rgba(255,255,255,.08); color: #cfd8f2; }
.sp-seg button.on { background: #ffd98a; color: var(--ink); }
.sp-legal { font-size: 10.5px; color: #8ea0cf; line-height: 1.35; }
@media (max-width: 680px) { #tour-tvb span { display: none; } .sun-panel-t { left: 8px; right: 8px; width: auto; top: auto; bottom: 120px; } .tools button.sunb span { display: none; } }

/* Torres em 3D sobre o terreno (vídeo do topo) */
.hero-3d { position: absolute; inset: 0; pointer-events: none; z-index: 1; overflow: hidden; filter: contrast(.9) saturate(.9) brightness(.97); }   /* casa o 3D com a névoa e a cor do vídeo */
.hero-3d .hf, .hero-3d .hr { position: absolute; left: 0; top: 0; transform-origin: 0 0; background-size: 100% 100%; visibility: hidden; backface-visibility: hidden; }
.hero-3d .hr { background: linear-gradient(135deg, #d9dee7, #b9c1ce); }

.sun-panel-t[hidden], .minimap[hidden], .dollhouse[hidden] { display: none; }

/* Topo: texto numa coluna à direita, para não cobrir o terreno nem o prédio */
.hero::before { background: linear-gradient(180deg, rgba(7,26,74,.5) 0%, rgba(7,26,74,0) 22%, rgba(7,26,74,0) 60%, rgba(7,26,74,.85) 100%), linear-gradient(90deg, rgba(0,40,130,.82) 0%, rgba(0,40,130,.4) 30%, rgba(0,67,199,0) 46%); }
.hero-content { position: absolute; left: max(24px, calc((100vw - 1240px) / 2 + 24px)); bottom: 8vh; width: min(520px, 36vw); padding: 0; z-index: 2; }
.hero .lockup strong { font-size: clamp(54px, 6.4vw, 104px); }
.hero h1 { font-size: clamp(19px, 1.7vw, 26px); }
.hero .chips { margin: 20px 0 26px; }
.hero .chip { font-size: 12.5px; }
.hero-pin .stem { height: 46px; }
@media (max-width: 1080px) {
  .hero-content { position: relative; left: auto; bottom: auto; width: 100%; padding: 0 24px 60px; }
  .hero { align-items: flex-end; }
}
/* Celular: vídeo em cima com o prédio livre, texto embaixo */
@media (max-width: 760px) {
  .hero { height: auto; min-height: 0; display: block; background: #071a4a; }
  .hero-media { position: relative; height: 64svh; overflow: hidden; }
  .hero::before { background: linear-gradient(180deg, rgba(7,26,74,.55) 0%, rgba(7,26,74,0) 18%, rgba(7,26,74,0) 50%, rgba(7,26,74,1) 64svh); }
  .hero-content { margin-top: -40px; padding: 0 24px 56px; }
  .hero .lockup strong { font-size: 60px; }
}

/* Dollhouse 3D refinada: paredes inteiras, janelas, portas e móveis */
.dollhouse { perspective: 2600px; background: radial-gradient(ellipse at 50% 62%, #1a3d8f 0%, #0a1d52 45%, #040b24 100%); }
.dh-model i { position: absolute; left: 0; top: 0; display: block; transform-origin: 0 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.dh-floor { box-shadow: none; border-radius: 0; transform: translateZ(0); }
.dh-shadow { position: absolute; left: -40px; top: -20px; width: 716px; height: 540px; background: radial-gradient(closest-side, rgba(0,0,0,.55), rgba(0,0,0,0)); transform: translateZ(-30px); filter: blur(18px); }
.dh-slab { background: #e9e4da; }
.dh-slab:not(.tp) { background: linear-gradient(0deg, #8f8a80, #cfc8bb); }
.dh-w { background: linear-gradient(0deg, #e8e4dc 0%, #f7f5f1 70%, #fbfaf8 100%); }
.dh-wi { background: linear-gradient(0deg, #e3dfd6, #f6f4ef); }
.dh-wi.tp { background: #3b3a37; }
.dh-glass { background: linear-gradient(160deg, rgba(190,230,255,.42), rgba(120,180,230,.22) 60%, rgba(255,255,255,.35)); }
.dh-frame { background: #5d6066; }
.dh-door { background: linear-gradient(90deg, #b48a63, #a07450); box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.dh-door.main { background: linear-gradient(90deg, #7a5a40, #5d4330); }
.dh-mv { box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.dh-mv.tp { box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.dh-room .bb { padding: 6px 11px !important; border-radius: 10px !important; transform: translateZ(258px) rotateZ(var(--rz)) rotateX(var(--rx)) translate(-50%, -100%) !important; }
.dh-cam { transform: translateZ(3px); }
.dh-in { position: absolute; transform: translate(-50%, -50%) translateZ(1px); color: #fff; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; }
.dh-in::before { content: "↑"; display: block; text-align: center; font-size: 22px; color: var(--yellow); line-height: 1; }
.dh-room .bb b { font-size: 12.5px !important; } .dh-room .bb small { font-size: 11px !important; }
.dh-model { top: 60%; }

/* Città */
.hero-3d .ht { position: absolute; left: 0; top: 0; width: 96px; height: 96px; transform-origin: 50% 100%; visibility: hidden; pointer-events: none; background: url(../assets/img/arvores-atlas.webp) 0 0 / 768px 96px no-repeat; }
.hero-3d .hs { position: absolute; left: 0; top: 0; transform-origin: 0 0; z-index: 2; visibility: hidden; pointer-events: none; mix-blend-mode: multiply; }
.hero-3d .hb { backface-visibility: visible; }
.hero-3d .hg { position: absolute; left: 0; top: 0; transform-origin: 0 0; background-size: 100% 100%; z-index: 1; pointer-events: none; will-change: transform; }
.hf.cap { background: linear-gradient(#d6d5e2, #b9b8c9); }
.aerial { display: block; }
.apin.dim { opacity: .35; }
.apin .pill small { display: block; font-size: 10.5px; font-weight: 600; opacity: .75; }
.hero-pin .stem { height: 10px; }
.top.solid .brand span { color: var(--ink); }
.top .brand span b { color: #f2a900; }
/* pinos compactos: só o ícone; o nome aparece no ponto escolhido ou ao passar o rato */
.apin { cursor: pointer; pointer-events: auto; }
.apin:not(.main) .pill { padding: 5px; gap: 0; }
.apin:not(.main) .pill .nm { display: none; }
.apin:not(.main):hover { z-index: 5; }
.apin:not(.main):hover .pill { padding: 5px 12px 5px 5px; gap: 8px; }
.apin:not(.main):hover .pill .nm { display: inline; }
.apin:not(.main) .stem { height: 14px; }
.apin.main { z-index: 4; }
.hero-pin { flex-direction: row-reverse; }
.hero-pin .stem { width: 26px; height: 2px; background: linear-gradient(90deg, rgba(236,177,27,.2), var(--yellow)); }
/* TVs desligadas: tela preta com um leve brilho do vidro (nos espelhos, reflexo escuro) */
.tv.off { background: #070708; }
.tv.off .glass { background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,0) 66%, rgba(255,255,255,.05) 100%); }
.tv.mirror.off { background: #0b0b0d; opacity: .9; }
