/* Residencial Bamburgo (MRV) — página 3D interativa · Alleimob Signature */
@font-face { font-family: "Poppins"; font-weight: 300; font-display: swap; src: url("/assets/fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-weight: 500 600; font-display: swap; src: url("/assets/fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/cormorant-garamond-italic.woff2") format("woff2"); }

:root {
  --ink: #0B0B0A; --ink-2: #1A1A18; --paper: #FFFFFF; --soft: #F6F3EE; --line: #E6E0D5;
  --muted: #6E6A62; --gold: #C9A24E; --gold-deep: #846524; --gold-soft: #F3EAD6;
  --glass: rgba(14, 14, 12, .72); --glass-line: rgba(255,255,255,.12);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --hd-h: 64px; --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: 1.05; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--gold); }
.eyebrow { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; font-weight: 500; }
.eyebrow.dark { color: var(--gold-deep); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 12px 22px; font-weight: 500; font-size: 14px; text-decoration: none; border: 1px solid transparent; transition: background .2s, color .2s, border-color .2s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #d8b263; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2a2a26; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { border-color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* ---------- Header ---------- */
.hd { position: fixed; inset: 0 0 auto 0; height: var(--hd-h); z-index: 50; display: flex; align-items: center; gap: 20px; padding: 0 16px; color: #fff; background: linear-gradient(180deg, rgba(8,8,7,.78), rgba(8,8,7,0)); transition: background .3s; }
.hd.solid { background: rgba(11,11,10,.94); backdrop-filter: blur(10px); }
.hd-logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; }
.hd-name { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.hd-sig { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .8; border-left: 1px solid rgba(255,255,255,.4); padding-left: 10px; }
.hd-nav { display: none; gap: 22px; margin-left: 24px; }
.hd-nav a { text-decoration: none; font-size: 13.5px; opacity: .85; }
.hd-nav a:hover { opacity: 1; color: var(--gold); }
.hd-cta { margin-left: auto; padding: 9px 16px; font-size: 13px; }
@media (min-width: 1100px) { :root { --hd-h: 78px; } .hd { padding: 0 40px; } .hd-nav { display: flex; } .hd-cta { padding: 11px 22px; font-size: 14px; } }

/* ---------- Experiência 3D ---------- */
.exp { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: #a9c4d8; overflow: hidden; color: #fff; }
.exp-canvas, .exp-canvas canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; }
.exp-canvas canvas { outline: none; }
.exp-canvas.hovering canvas { cursor: pointer; }
.exp-labels { position: absolute; inset: 0; pointer-events: none; z-index: 5; }
.lbl { position: absolute; left: 0; top: 0; transform: translate(-50%, -100%); pointer-events: auto; white-space: nowrap; font-size: 12px; font-weight: 500; padding: 6px 11px 6px 9px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); color: #fff; backdrop-filter: blur(6px); display: flex; align-items: center; gap: 6px; cursor: pointer; transition: background .2s, opacity .25s; will-change: transform; }
.lbl::after { content: ""; position: absolute; left: 50%; bottom: -7px; width: 1px; height: 7px; background: rgba(255,255,255,.6); }
.lbl i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,78,.3); font-style: normal; }
.lbl:hover { background: rgba(201,162,78,.92); color: var(--ink); }
.lbl.tower { font-family: var(--serif); font-size: 16px; padding: 4px 13px; }
.lbl.tower i { display: none; }
.lbl.river { background: rgba(20,60,90,.55); }
.lbl.off { opacity: 0; pointer-events: none; }

.exp-loading { position: absolute; inset: 0; z-index: 30; display: grid; place-content: center; justify-items: center; gap: 14px; background: var(--ink); color: #fff; transition: opacity .6s; }
.exp-loading.done { opacity: 0; pointer-events: none; }
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 2px solid rgba(255,255,255,.15); border-top-color: var(--gold); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.exp-intro { position: absolute; z-index: 10; left: 16px; right: 16px; top: calc(var(--hd-h) + 4px); padding: 16px 18px 14px; border-radius: var(--r); background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(10px); max-width: 430px; transition: opacity .3s, transform .3s; }
.exp-intro.hide { opacity: 0; transform: translateY(-8px); pointer-events: none; }
.exp-intro h1 { font-size: 34px; margin-bottom: 6px; }
.exp-sub { margin: 0 0 10px; font-size: 13.5px; opacity: .88; line-height: 1.5; }
.exp-hint { margin: 0; font-size: 12.5px; color: var(--gold-soft); display: flex; gap: 8px; line-height: 1.45; }
.hint-ico { color: var(--gold); }
.hint-touch { display: none; }
@media (hover: none) { .hint-desk { display: none; } .hint-touch { display: inline; } }
.intro-close { position: absolute; top: 6px; right: 8px; width: 30px; height: 30px; border: 0; background: transparent; color: #fff; font-size: 22px; opacity: .7; }
@media (min-width: 900px) { .exp-intro { left: 40px; right: auto; top: calc(var(--hd-h) + 18px); padding: 22px 24px 18px; } .exp-intro h1 { font-size: 48px; } .exp-sub { font-size: 14.5px; } }
@media (max-width: 899px) { .exp-intro .exp-sub { display: none; } .exp-intro h1 { font-size: 30px; } }

.exp-tip { position: absolute; z-index: 12; left: 0; top: 0; pointer-events: none; opacity: 0; transform: translate(14px, 14px); transition: opacity .15s; background: rgba(11,11,10,.92); border: 1px solid rgba(201,162,78,.5); border-radius: 12px; padding: 10px 13px; min-width: 190px; font-size: 12.5px; line-height: 1.45; box-shadow: 0 10px 30px rgba(0,0,0,.35); }
.exp-tip.on { opacity: 1; }
.exp-tip b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; color: #fff; }
.exp-tip .t-gold { color: var(--gold); }
.exp-tip .t-cta { margin-top: 6px; font-size: 11px; color: var(--gold-soft); opacity: .85; }

.exp-dock { position: absolute; z-index: 10; left: 0; right: 0; bottom: 0; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); display: grid; gap: 8px; background: linear-gradient(0deg, rgba(8,8,7,.72), rgba(8,8,7,0)); }
.dock-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; align-items: center; }
.dock-row::-webkit-scrollbar { display: none; }
.dock-row button:not(.btn), .seg button { flex: 0 0 auto; border: 1px solid var(--glass-line); background: var(--glass); color: #fff; border-radius: 999px; padding: 8px 14px; font-size: 12.5px; backdrop-filter: blur(6px); transition: background .2s, color .2s, border-color .2s; }
.dock-row button:not(.btn):hover, .seg button:hover { border-color: rgba(201,162,78,.7); }
.dock-row button.on, .seg button.on { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.seg { display: flex; gap: 4px; align-items: center; flex: 0 0 auto; }
.seg-lbl { font-size: 11.5px; opacity: .75; margin: 0 2px 0 8px; }
.dock-tools .btn { flex: 0 0 auto; }
@media (min-width: 900px) { .exp-dock { padding: 14px 40px 22px; } .dock-row { flex-wrap: wrap; overflow: visible; } }

.picker { position: absolute; z-index: 25; left: 50%; bottom: 120px; transform: translateX(-50%); width: min(92vw, 380px); display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; padding: 18px; border-radius: var(--r); background: rgba(11,11,10,.95); border: 1px solid var(--glass-line); box-shadow: 0 20px 60px rgba(0,0,0,.45); }
.picker-title { grid-column: 1 / -1; margin: 0; font-family: var(--serif); font-size: 22px; }
.picker label { display: grid; gap: 4px; font-size: 11.5px; opacity: .9; }
.picker select { width: 100%; padding: 9px 8px; border-radius: 10px; border: 1px solid rgba(255,255,255,.2); background: #1d1d1a; color: #fff; font: inherit; font-size: 14px; }
.picker-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }

/* ---------- Painel ---------- */
.panel { position: absolute; z-index: 20; color: var(--ink); background: var(--paper); box-shadow: -20px 0 60px rgba(0,0,0,.3); transition: transform .45s cubic-bezier(.2,.8,.2,1); overflow: hidden; outline: none; }
@media (min-width: 900px) { .panel { top: calc(var(--hd-h) + 12px); right: 16px; bottom: 16px; width: 420px; border-radius: 18px; transform: translateX(calc(100% + 30px)); } .panel.open { transform: none; } }
@media (max-width: 899px) { .panel { left: 0; right: 0; bottom: 0; max-height: 62%; height: 62%; border-radius: 20px 20px 0 0; transform: translateY(105%); } .panel.open { transform: none; } }
.panel-body { height: 100%; overflow-y: auto; overscroll-behavior: contain; padding: 22px 22px 30px; }
.panel-close { position: absolute; top: 10px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(11,11,10,.75); color: #fff; font-size: 22px; line-height: 1; }
.p-hero { margin: -22px -22px 16px; position: relative; aspect-ratio: 16 / 9; background: #ddd center / cover no-repeat; }
.p-kicker { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 4px; font-weight: 500; }
.p-title { font-family: var(--serif); font-size: 34px; line-height: 1; margin: 0 0 10px; font-weight: 600; }
.p-title small { font-size: 18px; color: var(--muted); font-weight: 500; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; }
.tags li { font-size: 12px; padding: 5px 10px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.tags li.gold { background: var(--gold-soft); border-color: #e7d3a6; color: #5d4511; font-weight: 500; }
.p-plan { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; cursor: zoom-in; margin: 0 0 6px; background: #fff; }
.p-note { font-size: 11.5px; color: var(--muted); margin: 0 0 14px; line-height: 1.45; }
.p-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 18px; }
.p-actions .btn { padding: 11px 10px; font-size: 13px; white-space: normal; text-align: center; }
.btn-line { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-line:hover { border-color: var(--ink); }
.p-h { font-family: var(--serif); font-size: 22px; margin: 18px 0 8px; font-weight: 600; }
.specs { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; font-size: 13px; }
.specs li { display: flex; gap: 9px; line-height: 1.45; }
.specs li::before { content: ""; flex: 0 0 6px; height: 6px; margin-top: 7px; border-radius: 50%; background: var(--gold); }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.thumbs button { padding: 0; border: 0; border-radius: 8px; overflow: hidden; aspect-ratio: 4 / 3; background: #eee; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.thumbs button:hover img { transform: scale(1.06); }
.p-form { margin-top: 18px; padding: 16px; border-radius: 14px; background: var(--soft); border: 1px solid var(--line); }
.p-form .p-h { margin-top: 0; }
.p-desc { font-size: 13.5px; color: #3b3934; margin: 0 0 12px; }
.view-bar { position: absolute; z-index: 15; left: 50%; top: calc(var(--hd-h) + 14px); transform: translateX(-50%); display: flex; gap: 10px; align-items: center; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(8px); font-size: 13px; white-space: nowrap; }

/* ---------- Formulários ---------- */
.lead { display: grid; gap: 12px; }
.lead label { display: grid; gap: 5px; font-size: 12.5px; font-weight: 500; color: #3b3934; }
.lead input:not([type=checkbox]) { width: 100%; padding: 12px 14px; border-radius: 11px; border: 1px solid #d9d2c4; background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
.lead input:focus { outline: 2px solid rgba(201,162,78,.6); outline-offset: 1px; border-color: var(--gold); }
.lead .chk { display: flex; gap: 9px; align-items: flex-start; font-weight: 400; font-size: 12px; line-height: 1.45; }
.lead .chk input { margin-top: 3px; accent-color: var(--gold-deep); }
.lead .btn { width: 100%; padding: 14px; }
.lead-msg { margin: 0; font-size: 13px; min-height: 1em; }
.lead-msg.err { color: #B3261E; }
.lead-msg.ok { color: #2E7D4F; font-weight: 500; }
.lead.sent label, .lead.sent .btn { display: none; }
.sel-unit { display: inline-block; padding: 8px 14px; border-radius: 999px; background: var(--gold-soft); color: #5d4511; font-size: 13px; font-weight: 500; }

/* ---------- Seções ---------- */
.sec { padding: 72px 16px; scroll-margin-top: var(--hd-h); }
.sec-soft { background: var(--soft); }
.sec-ink { background: var(--ink); color: #fff; }
.wrap { max-width: 1180px; margin: 0 auto; }
.wrap.two { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .sec { padding: 110px 40px; } .wrap.two { grid-template-columns: 1.05fr 1fr; gap: 70px; } }
.sec h2 { font-size: clamp(32px, 5vw, 50px); }
.sec p { color: inherit; }
.sec:not(.sec-ink) p { color: #3b3934; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.facts li { background: var(--soft); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 2px; }
.facts b { font-family: var(--serif); font-size: 40px; font-weight: 600; line-height: 1; color: var(--ink); }
.facts small { font-size: 18px; margin-left: 2px; }
.facts span { font-size: 13px; color: var(--muted); }
.plans { display: grid; gap: 16px; margin: 30px 0 16px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; cursor: zoom-in; transition: box-shadow .25s, transform .25s; }
.plan:hover { box-shadow: 0 16px 40px rgba(0,0,0,.08); transform: translateY(-2px); }
.plan img { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: contain; background: #fff; }
.plan figcaption { padding: 14px 16px 16px; display: grid; gap: 2px; border-top: 1px solid var(--line); }
.plan figcaption b { font-size: 14.5px; font-weight: 600; }
.plan figcaption span { font-size: 12.5px; color: var(--muted); }
.plan-wide img { aspect-ratio: 5 / 3; }
@media (min-width: 900px) { .plan-wide { display: grid; grid-template-columns: 2fr 1fr; align-items: center; } .plan-wide figcaption { border-top: 0; border-left: 1px solid var(--line); height: 100%; align-content: center; } }
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 28px; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; } .gallery button:first-child { grid-column: span 2; grid-row: span 2; } }
.gallery button { padding: 0; border: 0; border-radius: 12px; overflow: hidden; position: relative; aspect-ratio: 4 / 3; background: #ddd; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery span { position: absolute; left: 10px; bottom: 10px; font-size: 11.5px; color: #fff; background: rgba(0,0,0,.5); padding: 3px 9px; border-radius: 999px; }
.perks { list-style: none; padding: 0; margin: 30px 0 18px; display: grid; gap: 12px; }
@media (min-width: 900px) { .perks { grid-template-columns: repeat(4, 1fr); } }
.perks li { border: 1px solid rgba(255,255,255,.12); border-radius: var(--r); padding: 22px; display: grid; gap: 6px; background: var(--ink-2); }
.perks b { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--gold); line-height: 1.1; }
.perks span { font-size: 13.5px; opacity: .8; }
.perks-note { font-size: 12.5px; opacity: .65; margin: 0 0 22px; }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; background: #e9e5dd; }
.map iframe { width: 100%; height: 100%; border: 0; }
#contato .lead { background: #fff; padding: 22px; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.05); }

.ft { background: var(--ink); color: rgba(255,255,255,.75); padding: 34px 16px 40px; font-size: 13px; }
.ft a { color: var(--gold); text-decoration: none; }
.ft-legal { font-size: 11.5px; opacity: .6; line-height: 1.6; max-width: 900px; }
@media (min-width: 900px) { .ft { padding: 40px; } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(5,5,5,.94); display: grid; place-items: center; padding: 50px 10px; }
.lb img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; background: #fff; }
.lb-close { position: absolute; top: 10px; right: 14px; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; font-size: 34px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(0,0,0,.4); color: #fff; font-size: 28px; line-height: 1; }
.lb-prev { left: 12px; } .lb-next { right: 12px; }
.lb-cap { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: 13px; margin: 0; }
.nojs { position: fixed; bottom: 0; left: 0; right: 0; background: #B3261E; color: #fff; text-align: center; padding: 10px; margin: 0; z-index: 200; }
