/* OLIVER IMOB — v11 · "maquete digital" */
:root {
  --paper: #f1eee7;
  --paper-2: #e8e3d9;
  --stone: #cdc7bb;
  --stone-2: #b9b2a5;
  --ink: #1b1f22;
  --ink-2: #262b2f;
  --ink-3: #343a3f;
  --muted: #6e6b64;
  --line: rgba(27, 31, 34, .14);
  --leaf: #5d8040;
  --gold: #b99668;
  --gold-2: #d9bd8e;
  --cyan: #62ddff;
  --serif: 'Playfair Display', 'Libre Caslon Text', Georgia, serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --pad: clamp(16px, 4.6vw, 72px);
  --radius: 6px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 15px/1.6 var(--sans); overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
svg use { pointer-events: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 4px; }
.skip:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 18px; font: 600 10.5px/1.4 var(--sans); letter-spacing: .26em;
  text-transform: uppercase; color: var(--muted);
}
.display, .display-sm, .hero-title {
  font-family: var(--serif); font-weight: 400; text-transform: uppercase;
  letter-spacing: .01em; line-height: 1.04; margin: 0;
}
.display { font-size: clamp(38px, 4.6vw, 70px); }
.display-sm { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.1; }
.display em, .display-sm em, .map-head em { font-style: italic; text-transform: none; color: var(--leaf); }
.fine { font-size: 11.5px; color: var(--muted); text-align: center; max-width: 720px; margin: 22px auto 0; line-height: 1.55; }
.fine.left { text-align: left; margin-left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 48px; padding: 0 24px; border-radius: 3px; border: 1px solid transparent;
  font: 600 11px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; transition: transform .4s var(--ease), background .3s, color .3s, box-shadow .4s;
}
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #f4f1ea; box-shadow: 0 14px 30px -16px rgba(0,0,0,.55); }
.btn-dark:hover { background: #000; }
.btn-ghost { border-color: var(--line); background: rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.btn-gold { background: linear-gradient(120deg, var(--gold-2), var(--gold)); color: #1b1712; }
.btn.wide { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50; height: 72px;
  display: flex; align-items: center; gap: 32px; padding: 0 var(--pad);
  transition: background .5s, color .5s, height .4s var(--ease), box-shadow .5s;
}
.site-header.scrolled { height: 62px; background: rgba(241,238,231,.78); backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 1px 0 var(--line); }
.site-header.dark { color: #f1eee7; }
.site-header.dark.scrolled { background: rgba(17,20,22,.72); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; color: currentColor; }
.brand-word { font: 400 21px/1 var(--serif); letter-spacing: .06em; display: flex; flex-direction: column; }
.brand-word small { font: 500 7.5px/1 var(--sans); letter-spacing: .6em; margin-top: 3px; align-self: flex-end; margin-right: -.6em; opacity: .75; }
.main-nav { margin-left: auto; display: flex; gap: 30px; }
.main-nav a { font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; position: relative; padding: 8px 0; opacity: .82; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .4s var(--ease); }
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-cta {
  font: 600 10.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  background: var(--ink); color: #f4f1ea; padding: 13px 18px; border-radius: 3px; transition: background .4s, color .4s;
}
.site-header.dark .header-cta { background: linear-gradient(120deg, var(--gold-2), var(--gold)); color: #1b1712; border-radius: 30px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.menu-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.menu-toggle span:first-child { top: 18px; } .menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--paper); display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 90px var(--pad) 40px; }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font: 400 34px/1.3 var(--serif); text-transform: uppercase; text-decoration: none; }

/* HUD + rail */
.scroll-hud {
  position: fixed; right: var(--pad); top: 84px; z-index: 40; display: flex; gap: 8px; align-items: baseline;
  font: 600 9px/1 var(--sans); letter-spacing: .24em; color: var(--muted); transition: color .5s, top .4s;
}
.scroll-hud strong { font: 400 13px/1 var(--serif); letter-spacing: .04em; color: var(--ink); min-width: 38px; text-align: right; transition: color .5s; }
body.on-dark .scroll-hud { color: rgba(241,238,231,.6); }
body.on-dark .scroll-hud strong { color: #f1eee7; }
.rail { position: fixed; right: calc(var(--pad) * .45); top: 50%; transform: translateY(-50%); z-index: 40; display: flex; flex-direction: column; gap: 14px; }
.rail a { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: .25; transition: all .4s var(--ease); }
.rail a.on { opacity: 1; height: 22px; border-radius: 4px; }
body.on-dark .rail a { background: #f1eee7; }

/* ---------- floaters: cubes + leaves ---------- */
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden; }
.cube-wrap { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); perspective: 900px; will-change: transform; }
.cube { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(var(--rz)); }
.cube i {
  position: absolute; inset: 0; background: var(--tex) center/cover; backface-visibility: hidden;
  box-shadow: inset 0 0 0 .5px rgba(255,255,255,.15);
}
.cube i:nth-child(1) { transform: translateZ(calc(var(--s) / 2)); }
.cube i:nth-child(2) { transform: rotateY(180deg) translateZ(calc(var(--s) / 2)); filter: brightness(.7); }
.cube i:nth-child(3) { transform: rotateY(90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.82); }
.cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.9); }
.cube i:nth-child(5) { transform: rotateX(90deg) translateZ(calc(var(--s) / 2)); filter: brightness(1.12); }
.cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(calc(var(--s) / 2)); filter: brightness(.6); }
.cube-wrap.blur { filter: blur(1.5px); opacity: .85; }
.cube-wrap::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -38%; height: 16%; border-radius: 50%; background: radial-gradient(rgba(0,0,0,.18), transparent 70%); filter: blur(4px); }
.on-dark-float .cube-wrap::after { display: none; }
.leaf-wrap { position: absolute; left: var(--x); top: var(--y); width: var(--s); will-change: transform; }
.leaf-wrap svg { width: 100%; aspect-ratio: 2/1; display: block; filter: drop-shadow(0 8px 10px rgba(40,60,20,.18)); animation: sway var(--dur, 7s) ease-in-out infinite alternate; transform-origin: 20% 50%; }
.leaf-wrap.blur svg { filter: blur(2.5px); }
@keyframes sway { from { transform: rotate(calc(var(--r) - 14deg)) } to { transform: rotate(calc(var(--r) + 14deg)) translateY(8px) } }

/* ---------- glass ---------- */
.glass-card {
  background: rgba(255,255,255,.72); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border: 1px solid rgba(255,255,255,.8); border-radius: 10px;
  box-shadow: 0 24px 50px -24px rgba(30,30,25,.35), 0 2px 6px rgba(30,30,25,.06);
}
.glass-dark {
  background: rgba(34,39,43,.62); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: #eeeae2;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.6);
}
.avatar { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; flex: none; }
.tick { width: 14px; height: 14px; color: #53bdeb; vertical-align: -3px; }
.badge-online { font: 600 8.5px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #2f8f4e; background: #e1f3e3; padding: 3px 6px; border-radius: 20px; margin-left: 6px; vertical-align: 2px; }

/* ============ HERO ============ */
.hero { position: relative; height: 210vh; background: radial-gradient(120% 90% at 70% 30%, #f6f4ef 0%, var(--paper) 55%, #ebe6dc 100%); }
.hero-sticky { position: sticky; top: 0; height: 100vh; min-height: 640px; overflow: hidden; }
.flow-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.flow { fill: none; stroke: #3a3d3f; stroke-opacity: .42; stroke-width: 1.1; stroke-dasharray: var(--len, 2000); stroke-dashoffset: var(--len, 2000); animation: draw 2.8s var(--ease) forwards .4s; vector-effect: non-scaling-stroke; }
.flow-soft { stroke-opacity: .18; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.nodes { position: absolute; inset: 0; z-index: 1; }
.nodes i { position: absolute; left: var(--x); top: var(--y); width: 7px; height: 7px; margin: -3.5px; border-radius: 50%; background: #9c9a95; box-shadow: 0 0 0 5px rgba(156,154,149,.16); }
.nodes i.big { width: 12px; height: 12px; margin: -6px; background: radial-gradient(circle at 35% 35%, #fff, #b8b5ae); box-shadow: 0 0 0 10px rgba(156,154,149,.14), 0 0 22px 6px rgba(255,255,255,.9); animation: breathe 3.6s ease-in-out infinite; }
@keyframes breathe { 50% { box-shadow: 0 0 0 16px rgba(156,154,149,.06), 0 0 30px 10px rgba(255,255,255,.9); } }
.spark { position: absolute; left: var(--x); top: var(--y); width: 34px; height: 34px; color: #fff; filter: drop-shadow(0 0 10px rgba(255,255,255,.9)); animation: twinkle 4s ease-in-out infinite; }
.spark.s2 { width: 18px; height: 18px; color: #d9d6cf; animation-delay: 1.4s; }
@keyframes twinkle { 50% { transform: scale(.6) rotate(45deg); opacity: .5; } }

.hero-visual { position: absolute; z-index: 4; left: 7%; top: 0; bottom: 0; width: 46%; }
.block { position: absolute; background: linear-gradient(160deg, #d3cec5, #bfb8ac); will-change: transform; }
.block-a { left: 11%; top: 6.5%; width: 33%; height: 31%; }
.block-b { left: 22%; top: 3.5%; width: 21%; height: 26%; background: linear-gradient(160deg, #c9c3b8, #b3ac9f); opacity: .75; }
.portrait { position: absolute; margin: 0; left: 4%; top: 9.5%; width: 24%; aspect-ratio: 4/5; overflow: hidden; z-index: 3; box-shadow: 0 30px 50px -30px rgba(0,0,0,.6); will-change: transform; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; filter: grayscale(1) contrast(1.08) brightness(.96); transform: scale(1.75); transform-origin: 52% 21%; }
.tower { position: absolute; margin: 0; left: 22%; top: 20%; width: 56%; bottom: -3%; z-index: 2; overflow: hidden; border-radius: 240px 240px 0 0; background: #262a2b; box-shadow: 0 50px 80px -40px rgba(20,25,20,.55); will-change: transform; }
.tower img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.06); }
.tower::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(241,238,231,.0) 55%, rgba(20,22,22,.35)); }
.tower figcaption { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 2; white-space: nowrap; color: rgba(255,255,255,.72); font: 600 8.5px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.hero-dots { position: absolute; left: 50%; bottom: 3.5%; transform: translateX(-12%); display: flex; gap: 8px; z-index: 5; opacity: 0; }
.hero-dots i { width: 6px; height: 6px; border-radius: 50%; border: 1px solid #555; }
.hero-dots i.on { background: #333; }

.hero-copy { position: absolute; z-index: 6; left: 57%; right: var(--pad); top: 50%; transform: translateY(-50%); max-width: 560px; }
.hero-title { font-size: clamp(38px, 4.3vw, 74px); line-height: 1.08; margin-bottom: 26px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.2s var(--ease) forwards; }
.hero-title .line:nth-child(2) > span { animation-delay: .1s } .hero-title .line:nth-child(3) > span { animation-delay: .2s }
.hero-title .line:nth-child(4) > span { animation-delay: .3s; font-style: italic; text-transform: none; color: var(--leaf); }
.hero-title .line:nth-child(5) > span { animation-delay: .4s }
@keyframes rise { to { transform: none; } }
.hero-lead { max-width: 420px; color: #4f4d48; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.scroll-cue { position: absolute; z-index: 6; left: 50%; bottom: 5%; transform: translateX(-50%); display: flex; align-items: center; gap: 22px; color: #6a6863; }
.cue-ring { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(27,31,34,.06); animation: bob 2.2s ease-in-out infinite; }
.cue-ring svg { width: 18px; height: 18px; }
.cue-side { font-size: 11px; order: -1; } .cue-side.r { order: 2; }
@keyframes bob { 50% { transform: translateY(6px); } }
.left-guide { position: absolute; left: calc(var(--pad) * .6); bottom: 7%; z-index: 6; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.left-guide span { width: 1px; height: 90px; background: linear-gradient(var(--ink), transparent); position: relative; }
.left-guide span::before { content: "▲"; position: absolute; top: -12px; left: -4px; font-size: 8px; }
.left-guide small { writing-mode: vertical-rl; transform: rotate(180deg); font: 600 8.5px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }

.hero-card { position: absolute; z-index: 7; opacity: 0; will-change: transform, opacity; }
.card-msg { left: 9%; bottom: 9%; width: min(330px, 80vw); display: flex; gap: 12px; padding: 14px 16px; }
.card-msg strong { font-size: 13px; }
.card-msg p { margin: 4px 0 6px; font-size: 12.5px; line-height: 1.45; color: #3d3c39; }
.card-msg small { font-size: 10px; color: var(--muted); }
.card-photo { right: 6%; bottom: 10%; width: 230px; padding: 8px; display: flex; gap: 12px; align-items: center; }
.card-photo img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; }
.card-photo strong { display: block; font: 400 17px/1.2 var(--serif); }
.card-photo small { font-size: 10.5px; color: var(--muted); }
.card-stat { left: 33%; top: 15%; padding: 14px 18px; min-width: 190px; }
.card-stat small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card-stat strong { display: block; font: 400 46px/1 var(--serif); margin: 6px 0 4px; }
.card-stat span { font-size: 11px; color: #4f4d48; }

/* ============ CARTOGRAPHER ============ */
.cartographer { position: relative; display: grid; grid-template-columns: 1.08fr 1fr; gap: clamp(28px, 4vw, 70px); align-items: center; padding: clamp(90px, 12vh, 150px) var(--pad) clamp(90px, 12vh, 140px); background: linear-gradient(180deg, #ebe6dc, var(--paper) 30%); overflow: hidden; }
.carto-dark { position: relative; z-index: 4; aspect-ratio: 1.08; border-radius: 6px; overflow: hidden; background: radial-gradient(100% 80% at 70% 20%, #3a4247 0%, #1c2023 60%, #141719 100%); box-shadow: 0 60px 90px -50px rgba(0,0,0,.6); }
.carto-brand { position: absolute; left: 22px; top: 20px; width: 22px; height: 22px; color: #eee; z-index: 3; }
.carto-brand-word { position: absolute; left: 50px; top: 24px; z-index: 3; font: 400 14px/1 var(--serif); letter-spacing: .12em; color: #eee; }
.carto-ring { position: absolute; left: 42%; top: 5%; width: 40%; aspect-ratio: .78; border-radius: 50%; border: clamp(14px, 2vw, 30px) solid transparent; background: linear-gradient(140deg, #d5d8d9, #5d6468 45%, #aeb3b5 70%, #3c4246) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); box-shadow: 0 30px 60px rgba(0,0,0,.4); opacity: .9; }
.carto-portrait { position: absolute; left: 6%; top: 15%; width: 30%; aspect-ratio: 4/5; object-fit: cover; object-position: 50% 12%; transform: scale(1);  filter: grayscale(1) contrast(1.1); z-index: 2; }
.carto-tower { position: absolute; left: 34%; bottom: -2%; width: 50%; height: 88%; object-fit: cover; object-position: 50% 20%; z-index: 2; -webkit-mask: radial-gradient(70% 75% at 50% 45%, #000 60%, transparent 100%); mask: radial-gradient(70% 75% at 50% 45%, #000 60%, transparent 100%); }
.carto-stats { position: absolute; left: 5%; bottom: 6%; z-index: 4; display: flex; gap: 22px; padding: 14px 18px; }
.carto-stats small, .carto-chart small { display: block; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: rgba(238,234,226,.62); }
.carto-stats strong { font: 400 30px/1.1 var(--serif); }
.carto-chart { position: absolute; right: 4%; bottom: 7%; z-index: 4; width: 42%; padding: 14px 16px 12px; }
.bars { display: flex; align-items: flex-end; gap: 10px; height: 96px; margin-top: 12px; }
.bars span { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; position: relative; }
.bars span::before { content: ""; width: 100%; height: calc(var(--v) / 5 * 70%); min-height: 8px; background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.2)); border-radius: 2px 2px 0 0; order: 1; transform-origin: bottom; transform: scaleY(var(--grow, 0)); transition: transform 1.2s var(--ease); }
.bars span.hi::before { background: linear-gradient(180deg, var(--gold-2), rgba(185,150,104,.35)); }
.bars b { font: 400 14px/1 var(--serif); margin-bottom: 4px; order: 0; }
.bars i { order: 2; font-style: normal; font-size: 8.5px; letter-spacing: .04em; color: rgba(238,234,226,.6); margin-top: 6px; white-space: nowrap; }
.in-view .bars span::before { --grow: 1; }
.carto-chip { position: absolute; right: 5%; top: 30%; z-index: 4; display: flex; gap: 10px; align-items: center; padding: 8px 12px 8px 8px; }
.carto-chip img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; }
.carto-chip strong { display: block; font-size: 12px; }
.carto-chip small { font-size: 10px; color: rgba(238,234,226,.6); }

.carto-copy { position: relative; z-index: 4; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 4px; margin-bottom: 24px; }
.tabs span { font: 600 9.5px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; padding: 8px 12px; border-radius: 2px; color: var(--muted); }
.tabs span.on { background: var(--ink); color: #fff; }
.carto-copy > p { max-width: 440px; color: #4f4d48; margin: 22px 0 28px; }
.carto-facts { display: flex; gap: 12px; margin-top: 34px; position: relative; z-index: 2; }
.carto-facts p { margin: 0; padding: 12px 14px; background: rgba(255,255,255,.6); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.9); border-radius: 6px; min-width: 104px; }
.carto-facts small { display: block; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.carto-facts strong { font: 400 20px/1.3 var(--serif); }
.sketch-map { position: absolute; right: calc(var(--pad) * -1); top: 52%; width: 70%; height: 90%; z-index: -1; opacity: .9; -webkit-mask: radial-gradient(65% 60% at 60% 50%, #000 40%, transparent 100%); mask: radial-gradient(65% 60% at 60% 50%, #000 40%, transparent 100%); }
.sketch-map svg { width: 100%; height: 100%; }
.streets path { stroke: #cfd5d6; stroke-width: 7; fill: none; }
.streets path:nth-child(odd) { stroke-width: 4; stroke: #dde0de; }
.rail-line { stroke: #b8c0c4; stroke-width: 2.4; stroke-dasharray: 8 5; fill: none; }
.park { fill: #cfe0bf; }
.river { fill: none; stroke: #c4dbe6; stroke-width: 12; }
.sk-pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; font: 600 9.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); gap: 4px; }
.sk-pin::after { content: ""; width: 12px; height: 12px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #7b8286; box-shadow: 0 3px 6px rgba(0,0,0,.2); }
.sk-pin.hi::after { background: var(--leaf); }

/* ============ MAP ============ */
.map-section { position: relative; height: 260vh; background: var(--paper); }
.map-sticky { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; }
.map-frame { position: absolute; inset: 0; background: #0c0f11; clip-path: inset(var(--ci, 14% 8% 14% 44%) round var(--cr, 8px)); will-change: clip-path; }
#city-map { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
#city-map.ready { opacity: 1; }
#city-map .maplibregl-ctrl-attrib { background: rgba(0,0,0,.4); color: #999; font-size: 10px; }
#city-map .maplibregl-ctrl-attrib a { color: #bbb; }
.map-fallback { position: absolute; inset: -20%; background:
  linear-gradient(rgba(98,221,255,.06) 1px, transparent 1px) 0 0/60px 60px,
  linear-gradient(90deg, rgba(98,221,255,.06) 1px, transparent 1px) 0 0/60px 60px,
  radial-gradient(60% 50% at 50% 50%, #1c2429, #0c0f11);
  transform: perspective(900px) rotateX(58deg) rotateZ(-28deg); }
.map-vignette { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(8,10,12,.78), rgba(8,10,12,.2) 34%, transparent 50%), radial-gradient(120% 85% at 50% 45%, transparent 55%, rgba(8,10,12,.75) 100%), linear-gradient(180deg, rgba(8,10,12,.55), transparent 22%, transparent 78%, rgba(8,10,12,.6)); }
.map-ui { position: absolute; inset: 0; opacity: var(--ui, 0); transition: opacity .3s; pointer-events: none; color: #eeeae2; }
.map-ui.live { pointer-events: auto; }
.map-ui > * { pointer-events: auto; }
.map-head { position: absolute; left: var(--pad); top: 96px; max-width: 360px; }
.map-head .eyebrow { color: rgba(238,234,226,.55); }
.map-head h2 { font: 400 clamp(28px, 3vw, 44px)/1.08 var(--serif); text-transform: uppercase; margin: 0 0 20px; }
.map-head em { color: var(--gold-2); }
.districts { display: flex; flex-wrap: wrap; gap: 8px; }
.districts button { display: inline-flex; gap: 8px; align-items: center; padding: 9px 14px; border-radius: 30px; border: 1px solid rgba(255,255,255,.16); background: rgba(20,24,27,.55); backdrop-filter: blur(8px); color: #eeeae2; font-size: 12px; transition: all .3s; }
.districts button span { font: 600 9px/1 var(--sans); opacity: .5; }
.districts button[aria-pressed="true"] { background: #eeeae2; color: var(--ink); border-color: #eeeae2; }
.districts button:hover { border-color: rgba(255,255,255,.5); }

.pulse { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); border: 0; background: none; color: #fff; display: grid; place-items: center; width: 140px; height: 140px; transition: opacity .5s, transform .5s var(--ease); }
.pulse-rings { position: absolute; inset: 0; display: grid; place-items: center; }
.pulse-rings i { position: absolute; width: 36%; aspect-ratio: 1; border-radius: 50%; border: 1.5px solid rgba(255,236,190,.85); box-shadow: 0 0 18px rgba(255,220,150,.7), inset 0 0 14px rgba(255,220,150,.5); animation: ring 2.6s ease-out infinite; }
.pulse-rings i:nth-child(2) { animation-delay: .85s; } .pulse-rings i:nth-child(3) { animation-delay: 1.7s; }
.pulse-rings::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(#fff, #ffd98e 60%, transparent 70%); box-shadow: 0 0 30px 12px rgba(255,210,130,.6); }
@keyframes ring { from { transform: scale(.4); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
.pulse-label { position: absolute; top: calc(100% - 26px); white-space: nowrap; font: 600 10px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; background: rgba(12,15,17,.6); padding: 8px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,.15); }
.pulse[aria-pressed="true"] { opacity: 0; transform: translate(-50%, -50%) scale(.6); pointer-events: none; }

.map-tools { position: absolute; right: calc(var(--pad) * .9 + 14px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 30px; background: rgba(20,24,27,.55); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); }
.map-tools button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: transparent; color: #eeeae2; font-size: 16px; transition: background .3s; }
.map-tools button[data-map-action="pitch"] { font: 600 10px/1 var(--sans); letter-spacing: .06em; }
.map-tools button:hover { background: rgba(255,255,255,.12); }
.map-tools .exit { background: var(--gold); color: #1b1712; font-size: 13px; }

.district-card { position: absolute; left: var(--pad); bottom: 92px; width: min(360px, calc(100% - 2 * var(--pad))); padding: 16px 16px 12px; }
.district-card small { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: rgba(238,234,226,.55); }
.district-card h3 { font: 400 26px/1.1 var(--serif); margin: 4px 0 4px; text-transform: uppercase; }
.district-card p { margin: 0 0 10px; font-size: 12.5px; color: rgba(238,234,226,.75); }
#district-projects { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
#district-projects button { flex: none; width: 116px; border: 0; padding: 0; background: rgba(255,255,255,.06); border-radius: 6px; overflow: hidden; text-align: left; color: #eeeae2; font-size: 10.5px; line-height: 1.25; transition: transform .3s var(--ease); }
#district-projects button:hover { transform: translateY(-3px); }
#district-projects img { width: 100%; height: 64px; object-fit: cover; }
#district-projects span { display: block; padding: 6px 8px 8px; }

.chat-stack { position: absolute; right: calc(var(--pad) + 60px); bottom: 110px; width: min(300px, 40vw); display: flex; flex-direction: column; gap: 10px; }
.bubble { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; font-size: 12px; line-height: 1.4; max-width: 100%; opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.bubble.show, .stories .bubble.in-view { opacity: 1; transform: none; }
.bubble img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; flex: none; }
.bubble strong { font-size: 11.5px; display: block; }
.bubble p { margin: 2px 0 0; }
.bubble.in { background: #fff; color: #1f2326; border-top-left-radius: 3px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); }
.bubble.out { align-self: flex-end; background: #dcf8c6; color: #1f2a1b; border-top-right-radius: 3px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); max-width: 82%; }
.chat-note { font-size: 9.5px; letter-spacing: .06em; color: rgba(238,234,226,.55); text-align: right; }
.map-foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 28px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.see-more { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; letter-spacing: .08em; }
.see-more .plus { width: 22px; height: 22px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); display: grid; place-items: center; }
.map-progress { display: flex; gap: 6px; }
.map-progress i { width: 18px; height: 2px; background: rgba(255,255,255,.25); transition: all .4s; }
.map-progress i.on { width: 36px; background: #fff; }
.map-hint { letter-spacing: .14em; text-transform: uppercase; font-size: 9.5px; opacity: .6; }
#map-status { position: absolute; left: 50%; bottom: 40%; transform: translateX(-50%); color: rgba(238,234,226,.7); font-size: 12px; margin: 0; }
#map-status[hidden] { display: none; }

.district-pin { border: 0; padding: 0; background: none; display: flex; flex-direction: column; align-items: center; gap: 0; cursor: pointer; transition: transform .4s var(--ease); }
.district-pin .pin-card { display: flex; align-items: center; gap: 8px; padding: 5px 10px 5px 5px; border-radius: 30px; background: rgba(18,22,25,.78); border: 1px solid rgba(255,255,255,.18); color: #eee; backdrop-filter: blur(6px); font-size: 11.5px; white-space: nowrap; box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.district-pin .pin-card img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; }
.district-pin .pin-card b { font-weight: 600; font-size: 9px; letter-spacing: .08em; color: var(--gold-2); margin-left: 4px; text-transform: uppercase; }
.district-pin .pin-stem { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.7), rgba(98,221,255,.1)); }
.district-pin .pin-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(98,221,255,.2), 0 0 18px var(--cyan); }
.district-pin.selected .pin-card { background: #eeeae2; color: var(--ink); }
.district-pin.selected .pin-card b { color: #7a5c33; }
.district-pin.selected .pin-dot { background: #ffd98e; box-shadow: 0 0 0 6px rgba(255,217,142,.25), 0 0 22px #ffd98e; }
.district-pin:hover { transform: translateY(-4px); }

/* ============ PROJECTS ============ */
.projects-section { position: relative; padding: clamp(90px, 12vh, 140px) 0 clamp(80px, 10vh, 120px); background: var(--paper); overflow: hidden; }
.center-head { text-align: center; max-width: 720px; margin: 0 auto 30px; padding: 0 var(--pad); position: relative; z-index: 4; }
.center-head > p:last-child:not(.eyebrow) { color: #57544e; margin: 18px auto 0; max-width: 560px; }
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; position: relative; z-index: 4; padding: 0 var(--pad); }
.filters button { padding: 10px 16px; border-radius: 30px; border: 1px solid var(--line); background: rgba(255,255,255,.55); font-size: 12.5px; transition: all .3s; }
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.carousel { position: relative; z-index: 4; }
.projects { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px max(var(--pad), calc((100vw - 1240px) / 2)) 30px; scrollbar-width: none; scroll-padding-inline: max(var(--pad), calc((100vw - 1240px) / 2)); }
.projects::-webkit-scrollbar { display: none; }
.project { flex: 0 0 clamp(280px, 29vw, 390px); scroll-snap-align: start; position: relative; background: #fff; border-radius: 8px; box-shadow: 0 30px 60px -40px rgba(30,30,25,.5), 0 1px 0 rgba(0,0,0,.04); transition: transform .5s var(--ease), box-shadow .5s; cursor: pointer; }
.project[hidden] { display: none; }
.project:hover { transform: translateY(-8px); box-shadow: 0 40px 70px -40px rgba(30,30,25,.6); }
.project:nth-child(3n+2) { background: var(--paper-2); }
.project:nth-child(3n+2) .p-media { order: 2; }
.p-media { display: block; width: 100%; padding: 0; border: 0; position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: 8px 8px 0 0; background: #ddd; }
.p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover .p-media img { transform: scale(1.06); }
.p-count { position: absolute; left: 12px; bottom: 12px; background: rgba(255,255,255,.85); backdrop-filter: blur(6px); font: 600 9.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 20px; }
.fav { position: absolute; right: 12px; top: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); display: grid; place-items: center; color: var(--ink); transition: transform .3s var(--ease), color .3s; }
.fav svg { width: 18px; height: 18px; }
.fav[aria-pressed="true"] { color: #c2413b; }
.fav[aria-pressed="true"] svg path { fill: currentColor; }
.fav:active { transform: scale(.85); }
.p-body { padding: 18px 20px 16px; }
.p-meta { margin: 0 0 8px; font-size: 11px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.mono { width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 400 12px/1 var(--serif); }
.project h3 { font: 400 23px/1.15 var(--serif); margin: 0 0 8px; }
.p-lead { font-size: 13px; color: #55524c; margin: 0 0 14px; line-height: 1.5; }
.p-spec { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 8px; margin: 0 0 14px; padding: 12px 0; border-block: 1px solid var(--line); }
.p-spec dt { font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.p-spec dd { margin: 3px 0 0; font-size: 12px; font-weight: 600; }
.p-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tags { font-size: 11px; color: var(--muted); }
.tags.link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.round { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; transition: transform .4s var(--ease); }
.round svg { width: 18px; height: 18px; }
.project:hover .round { transform: rotate(-45deg); }
.project details { margin-top: 10px; font-size: 11px; color: var(--muted); }
.project summary { cursor: pointer; letter-spacing: .1em; text-transform: uppercase; font-size: 9.5px; }
.project details p { margin: 6px 0 0; }
.car-btn { position: absolute; top: 42%; z-index: 5; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); transition: transform .3s var(--ease), opacity .3s; }
.car-btn svg { width: 20px; height: 20px; }
.car-btn.prev { left: max(12px, calc((100vw - 1320px) / 2)); }
.car-btn.prev svg { transform: rotate(180deg); }
.car-btn.next { right: max(12px, calc((100vw - 1320px) / 2)); }
.car-btn:hover { transform: scale(1.08); }
.car-btn.light { background: #fff; color: var(--ink); }
.car-dots { display: flex; justify-content: center; gap: 8px; margin-top: 10px; position: relative; z-index: 4; }
.car-dots i { width: 7px; height: 7px; border-radius: 50%; border: 1px solid #555; transition: all .3s; }
.car-dots i.on { background: #333; width: 22px; border-radius: 4px; }

/* ============ AMBIENTES (coverflow) ============ */
.ambientes { position: relative; padding: 40px 0 clamp(90px, 12vh, 140px); background: var(--paper); overflow: hidden; }
.coverflow { position: relative; height: clamp(300px, 44vw, 560px); perspective: 1600px; z-index: 4; }
.cf-backdrop { position: absolute; left: 50%; top: -9%; bottom: -9%; width: min(34vw, 460px); transform: translateX(-50%); background: var(--ink-2); }
.cf-track { position: absolute; inset: 0; transform-style: preserve-3d; }
.cf-item { position: absolute; left: 50%; top: 50%; width: min(52vw, 720px); aspect-ratio: 16/10.5; margin: 0; padding: 0; border: 0; background: #ccc; overflow: hidden; transform: translate(-50%, -50%) translateX(calc(var(--o) * 44%)) translateZ(calc(var(--a) * -260px)) rotateY(calc(var(--o) * -18deg)); opacity: calc(1 - var(--a) * .28); z-index: calc(10 - var(--a)); transition: transform .9s var(--ease), opacity .9s, filter .9s; filter: saturate(calc(1 - var(--a) * .3)); box-shadow: 0 40px 80px -40px rgba(0,0,0,.55); }
.cf-item img { width: 100%; height: 100%; object-fit: cover; }
.cf-item .legacy-label { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.88); font: 600 9.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; border-radius: 20px; opacity: 0; transition: opacity .6s; }
.cf-item.center .legacy-label { opacity: 1; }
.cf-item[data-far] { opacity: 0; pointer-events: none; }
.coverflow .car-btn { top: 50%; transform: translateY(-50%); }
.coverflow .car-btn:hover { transform: translateY(-50%) scale(1.08); }
.coverflow .car-btn.prev { left: max(16px, calc(50% - min(26vw, 360px) - 70px)); }
.coverflow .car-btn.next { right: max(16px, calc(50% - min(26vw, 360px) - 70px)); }
.amb-copy { position: relative; z-index: 4; max-width: 1180px; margin: clamp(60px, 8vh, 90px) auto 0; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.amb-copy p:not(.eyebrow) { color: #57544e; max-width: 460px; margin: 16px 0 26px; }
.amb-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.amb-thumbs button { border: 0; padding: 0; position: relative; aspect-ratio: 4/3.2; overflow: hidden; border-radius: 4px; background: #ccc; }
.amb-thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.amb-thumbs button:hover img { transform: scale(1.07); }
.amb-thumbs span { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.88); font: 600 9px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 7px 9px; border-radius: 20px; }

/* ============ PLAN ============ */
.plan { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; padding: clamp(80px, 11vh, 130px) var(--pad); max-width: 1320px; margin: 0 auto; }
.plan-copy > p:not(.eyebrow):not(.fine) { color: #57544e; max-width: 440px; margin: 20px 0; }
.plan-card, .profile-card { background: #fff; border-radius: 10px; padding: clamp(22px, 3vw, 36px); box-shadow: 0 40px 80px -50px rgba(30,30,25,.55); display: flex; flex-direction: column; gap: 16px; }
.plan-card label, .profile-card label { display: flex; flex-direction: column; gap: 8px; font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.plan-card label span, .profile-card label span { text-transform: none; letter-spacing: 0; font-weight: 400; }
input, select { height: 48px; border: 1px solid var(--line); border-radius: 4px; background: var(--paper); padding: 0 14px; font-size: 14px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 400; transition: border-color .3s, background .3s; }
input:focus, select:focus { outline: none; border-color: var(--ink); background: #fff; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.plan-meter { height: 6px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.plan-meter span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--leaf), var(--gold)); transition: width .8s var(--ease); }
#plan-result { font-size: 13px; color: #57544e; }
#plan-result p { margin: 0 0 4px; }
#plan-result strong { display: block; font: 400 34px/1.2 var(--serif); color: var(--ink); margin: 2px 0 6px; }
#plan-result a { font-weight: 600; color: var(--ink); }

/* ============ ABOUT ============ */
.about { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; padding: clamp(90px, 12vh, 150px) var(--pad); background: radial-gradient(90% 90% at 25% 40%, #2c3337, #15181a 70%); color: #eeeae2; overflow: hidden; }
.about .eyebrow { color: rgba(238,234,226,.55); }
.about .display em { color: var(--gold-2); }
.about-visual { position: relative; aspect-ratio: .86; max-height: 78vh; justify-self: center; width: min(100%, 540px); }
.about-block { position: absolute; right: 0; top: 0; width: 62%; height: 58%; background: linear-gradient(160deg, #4a5257, #2a3034); }
.founder { position: absolute; left: 0; bottom: 0; width: 76%; aspect-ratio: 4/5; margin: 0; overflow: hidden; box-shadow: 0 50px 90px -40px rgba(0,0,0,.8); }
.founder img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.founder::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(255,230,190,.14), transparent 40%, rgba(0,0,0,.35)); }
.about-chip { position: absolute; right: -2%; top: 44%; display: flex; gap: 10px; align-items: center; padding: 8px 14px 8px 8px; z-index: 2; }
.about-chip img { width: 54px; height: 54px; object-fit: cover; border-radius: 6px; object-position: 50% 25%; }
.about-chip strong { display: block; font-size: 12.5px; }
.about-chip small { font-size: 10.5px; color: rgba(238,234,226,.6); }
.about-name { position: absolute; left: 5%; bottom: 5%; z-index: 2; }
.about-name small { display: block; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(238,234,226,.7); }
.about-name strong { font: 400 22px/1.2 var(--serif); }
.about-copy > p:not(.eyebrow) { color: rgba(238,234,226,.74); max-width: 480px; margin: 22px 0 10px; }
.steps { list-style: none; padding: 0; margin: 26px 0 34px; display: grid; gap: 4px; }
.steps li { display: flex; gap: 20px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.1); }
.steps span { font: 400 26px/1 var(--serif); color: var(--gold-2); min-width: 40px; }
.steps h3 { margin: 0 0 4px; font-size: 15px; font-weight: 600; }
.steps p { margin: 0; font-size: 13px; color: rgba(238,234,226,.62); }

/* ============ STORIES ============ */
.stories { position: relative; padding: clamp(90px, 12vh, 140px) var(--pad); background: var(--paper); overflow: hidden; }
.stories-grid { position: relative; z-index: 4; max-width: 1100px; margin: 20px auto 0; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.story { margin: 0; position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 6px; box-shadow: 0 40px 70px -40px rgba(0,0,0,.55); }
.story.s1 { transform: rotate(-3deg); } .story.s2 { transform: rotate(2.5deg); margin-top: 80px; }
.story img { width: 100%; height: 100%; object-fit: cover; }
.story figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 18px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; }
.story figcaption span { display: block; font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; opacity: .8; }
.story figcaption strong { font: 400 20px/1.2 var(--serif); }
.story-chat { display: flex; flex-direction: column; gap: 12px; }
.story-chat .chat-note { color: var(--muted); text-align: center; }
.stories .bubble { transition-delay: .15s; }

/* ============ PROFILE ============ */
.profile { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 90px); padding: clamp(80px, 11vh, 130px) var(--pad); max-width: 1320px; margin: 0 auto; align-items: start; }
.profile-side > p:not(.eyebrow) { color: #57544e; margin: 20px 0; max-width: 440px; }
.checks { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; font-size: 13.5px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; color: var(--leaf); flex: none; margin-top: 2px; }
.profile-sign { display: flex; gap: 12px; align-items: center; padding: 12px; background: rgba(255,255,255,.6); border-radius: 50px; width: fit-content; padding-right: 22px; }
.profile-sign img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 18%; }
.profile-sign strong { display: block; font-size: 13px; }
.profile-sign small { font-size: 11px; color: var(--muted); }
.profile-card .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.profile-card .full { grid-column: 1 / -1; }
.profile-card small { font-size: 11px; text-transform: none; letter-spacing: 0; font-weight: 400; }
#profile-status { margin: 0; font-size: 12.5px; color: var(--leaf); }

/* ============ FOOTER ============ */
.site-footer { position: relative; background: #15181a; color: #d9d5cc; padding: clamp(70px, 10vh, 110px) var(--pad) 28px; overflow: hidden; }
.f-top { position: relative; z-index: 4; display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr 1.3fr; gap: 36px; max-width: 1320px; margin: 0 auto; padding-bottom: 50px; border-bottom: 1px solid rgba(255,255,255,.1); }
.brand.big .brand-mark { width: 54px; height: 54px; color: #f1eee7; }
.brand.big .brand-word { font-size: 38px; color: #f1eee7; }
.brand.big .brand-word small { font-size: 11px; }
.f-brand p { font: 400 17px/1.4 var(--serif); color: rgba(217,213,204,.7); margin: 20px 0 0; }
.f-col, .f-contact { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.site-footer h4 { margin: 0 0 6px; font: 600 10.5px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.f-col a, .f-col button { background: none; border: 0; padding: 0; text-align: left; font-size: 13px; color: rgba(217,213,204,.72); text-decoration: none; transition: color .3s; }
.f-col a:hover, .f-col button:hover { color: #fff; }
.f-phone { font: 400 24px/1 var(--serif); color: #fff; text-decoration: none; }
.f-contact p { margin: 0; font-size: 13px; color: rgba(217,213,204,.7); }
.f-quick { display: flex; width: 100%; margin-top: 8px; }
.f-quick input { flex: 1; min-width: 0; background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #fff; border-radius: 4px 0 0 4px; }
.f-quick button { width: 52px; border: 0; background: var(--gold); color: #1b1712; border-radius: 0 4px 4px 0; display: grid; place-items: center; }
.f-quick button svg { width: 18px; height: 18px; }
.f-contact small { font-size: 11px; color: rgba(217,213,204,.5); }
.f-bottom { position: relative; z-index: 4; max-width: 1320px; margin: 22px auto 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 11px; color: rgba(217,213,204,.5); }

.fab { position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 34px -10px rgba(0,0,0,.55); transition: transform .4s var(--ease), background .4s; }
.fab svg { width: 24px; height: 24px; }
.fab:hover { transform: scale(1.08) rotate(-6deg); }
body.on-dark .fab { background: #f1eee7; color: var(--ink); }

/* ============ GALLERY DIALOG ============ */
#project-gallery { width: min(1180px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 60px 120px -30px rgba(0,0,0,.6); }
#project-gallery::backdrop { background: rgba(12,14,16,.72); backdrop-filter: blur(6px); }
body.gallery-is-open { overflow: hidden; }
.gallery-shell { padding: clamp(16px, 2.4vw, 30px); }
.gallery-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 18px; }
.gallery-header .eyebrow { margin-bottom: 6px; }
#gallery-title { font: 400 clamp(24px, 3vw, 38px)/1.1 var(--serif); text-transform: uppercase; margin: 0; }
.gallery-close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 16px; flex: none; }
.gallery-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(16px, 2.4vw, 30px); }
.gallery-media, .gallery-info { min-width: 0; }
.gallery-stage { position: relative; aspect-ratio: 16/10; background: #e2ddd3; border-radius: 6px; overflow: hidden; }
#gallery-image { width: 100%; height: 100%; object-fit: contain; }
.gallery-prev, .gallery-next { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 22px; }
.gallery-prev { left: 12px; } .gallery-next { right: 12px; }
#gallery-caption { font-size: 12px; color: var(--muted); margin: 10px 0; }
.gallery-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.gallery-thumbs button { flex: none; width: 76px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; opacity: .6; background: #ddd; }
.gallery-thumbs button[aria-pressed="true"] { border-color: var(--ink); opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-info { display: flex; flex-direction: column; gap: 14px; }
.commercial { margin: 0; display: grid; gap: 1px; background: var(--line); border-radius: 6px; overflow: hidden; }
.commercial div { background: #fff; padding: 12px 14px; }
.commercial dt { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.commercial dd { margin: 4px 0 0; font-weight: 600; font-size: 14px; }
#gallery-category-note, .gallery-disclaimer, #gallery-source { font-size: 11.5px; color: var(--muted); margin: 0; }

/* ============ REVEAL ============ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal-up { opacity: 0; transform: translateY(70px) scale(.97); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.reveal.in-view, .reveal-up.in-view { opacity: 1; transform: none; }
.story.s1.reveal-up.in-view { transform: rotate(-3deg); } .story.s2.reveal-up.in-view { transform: rotate(2.5deg); }
.hero .reveal { animation: fadeUp 1.2s var(--ease) forwards .7s; }
.hero .hero-actions.reveal { animation-delay: .85s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .reveal-up, .bubble { opacity: 1; transform: none; }
  .hero-title .line > span { transform: none; }
  .flow { stroke-dashoffset: 0; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .main-nav { gap: 20px; }
  .f-top { grid-template-columns: 1fr 1fr 1fr; }
  .f-brand, .f-contact { grid-column: span 3; }
  .f-contact { max-width: 420px; }
  .card-stat { display: none; }
}
@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .site-header { height: 64px; }
  .rail, .left-guide { display: none; }
  .scroll-hud { top: 74px; }
  .hero { height: 170vh; }
  .hero-sticky { min-height: 600px; }
  .hero-visual { left: 0; right: 0; width: auto; top: 44%; bottom: 0; }
  .block-a { left: 6%; top: 4%; width: 34%; height: 40%; }
  .block-b { left: 30%; top: 0; width: 26%; height: 30%; }
  .portrait { left: 5%; top: 8%; width: 30%; }
  .tower { left: 28%; top: 12%; width: 66%; bottom: -6%; border-radius: 180px 180px 0 0; }
  .hero-copy { left: var(--pad); right: var(--pad); top: 90px; transform: none; max-width: none; }
  .hero-title { font-size: clamp(32px, 8.4vw, 56px); margin-bottom: 14px; }
  .hero-lead { font-size: 13.5px; margin-bottom: 18px; }
  .hero-actions .btn { min-height: 44px; padding: 0 16px; font-size: 10px; }
  .scroll-cue { display: none; }
  .card-photo { display: none; }
  .card-msg { left: var(--pad); right: var(--pad); width: auto; bottom: 5%; }
  .hero-dots { display: none; }
  .cartographer { grid-template-columns: 1fr; }
  .carto-dark { aspect-ratio: .95; }
  .carto-chart { width: 52%; }
  .carto-chip { top: 12%; }
  .sketch-map { display: none; }
  .map-section { height: 220vh; }
  .map-head { top: 80px; right: var(--pad); max-width: none; }
  .map-head h2 { font-size: 26px; margin-bottom: 12px; }
  .map-head .eyebrow { display: none; }
  .districts button { padding: 7px 10px; font-size: 11px; }
  .districts button span { display: none; }
  .chat-stack { display: none; }
  .map-tools { right: 10px; top: 55%; }
  .district-card { bottom: 64px; }
  .map-foot .map-hint { display: none; }
  .pulse { top: 50%; }
  .project { flex-basis: 82vw; }
  .car-btn { display: none; }
  .coverflow .car-btn { display: grid; width: 42px; height: 42px; }
  .coverflow { height: 62vw; }
  .cf-item { width: 74vw; }
  .cf-backdrop { width: 46vw; }
  .amb-copy, .plan, .about, .profile { grid-template-columns: 1fr; }
  .about-visual { width: min(100%, 440px); }
  .stories-grid { grid-template-columns: 1fr 1fr; }
  .story-chat { grid-column: 1 / -1; order: 3; }
  .story.s2 { margin-top: 40px; }
  .gallery-layout { grid-template-columns: 1fr; }
  .f-top { grid-template-columns: 1fr 1fr; }
  .f-brand, .f-contact { grid-column: span 2; }
}
@media (max-width: 560px) {
  body { font-size: 14px; }
  .brand-word { font-size: 18px; }
  .brand-mark { width: 26px; height: 26px; }
  .scroll-hud span { display: none; }
  .hero-visual { top: 50%; }
  .hero-lead { display: none; }
  .carto-stats { gap: 14px; padding: 10px 12px; }
  .carto-stats strong { font-size: 22px; }
  .carto-chart { width: 54%; padding: 10px; top: 16%; bottom: auto; right: 4%; }
  .bars { height: 64px; gap: 6px; }
  .bars i { font-size: 7px; }
  .carto-chip { display: none; }
  .carto-facts { flex-wrap: wrap; }
  .carto-facts p { flex: 1; min-width: 90px; }
  .district-card { padding: 12px; }
  .district-card h3 { font-size: 20px; }
  #district-projects button { width: 96px; }
  #district-projects img { height: 50px; }
  .two, .profile-card .grid { grid-template-columns: 1fr; }
  .stories-grid { grid-template-columns: 1fr; }
  .story { max-width: 340px; justify-self: center; width: 100%; }
  .story.s2 { margin-top: 0; }
  .amb-thumbs { grid-template-columns: 1fr 1fr; }
  .f-top { grid-template-columns: 1fr; }
  .f-brand, .f-contact { grid-column: auto; }
  .fab { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}

/* =====================================================================
   v12 — refinamentos: prédio inteiro, linha do tempo, mapa estilo Google,
   cards com profundidade, ambientes em neon, A Oliver com obra.
   ===================================================================== */

/* flow lines everywhere */
.flow-lines.lite { position: absolute; inset: 0; width: 100%; height: 100%; color: #3a3d3f; }
.flow-lines.lite.on-dark { color: #cfc9bd; }
.flow-lines.lite .flow { stroke: currentColor; stroke-opacity: .28; animation: none; }
.flow-lines.lite.drawn .flow { animation: draw 3s var(--ease) forwards; }
.flow-lines.lite.drawn .flow:nth-child(3) { animation-delay: .5s; }
.flow-lines.lite.drawn .flow:nth-child(4) { animation-delay: .9s; }

/* hero — full building */
.tower { left: 20%; top: 14%; bottom: auto; width: 64%; aspect-ratio: 1122/1402; border-radius: 10px; background: #1e2223; }
.tower img { transform: none; object-position: 50% 50%; }
.tower::after { background: linear-gradient(180deg, transparent 70%, rgba(20,22,22,.28)); }
.portrait { top: 6%; }
.portrait img { transform: none; object-position: 50% 28%; }
.block-a { top: 3%; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 26px; max-width: 460px; }
.hero-proof .faces { display: flex; flex: none; }
.hero-proof .faces img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); margin-left: -10px; }
.hero-proof .faces img:first-child { margin-left: 0; }
.hero-proof p { margin: 0; font-size: 12.5px; color: #55524c; line-height: 1.45; }
.hero-proof strong { color: var(--ink); }

/* ============ JOURNEY / TIMELINE ============ */
.journey { position: relative; padding: clamp(100px, 13vh, 160px) var(--pad) clamp(90px, 12vh, 140px); background: linear-gradient(180deg, #ebe6dc, var(--paper) 25%); overflow: hidden; }
.journey-grid { position: relative; z-index: 4; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.journey-side { position: sticky; top: 110px; }
.journey-side > p:not(.eyebrow) { color: #55524c; max-width: 420px; margin: 20px 0 26px; }
.journey-photo { position: relative; margin: 0 0 26px; width: min(100%, 400px); aspect-ratio: 4/4.4; border-radius: 8px; overflow: visible; }
.journey-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; border-radius: 8px; box-shadow: 0 50px 80px -45px rgba(0,0,0,.6); }
.journey-photo::before { content: ""; position: absolute; left: -22px; top: -22px; width: 55%; height: 55%; background: linear-gradient(160deg, #d3cec5, #bfb8ac); z-index: -1; }
.journey-now { position: absolute; right: -28px; bottom: 26px; padding: 12px 16px; min-width: 190px; }
.journey-now small { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.journey-now strong { display: block; font: 400 22px/1.2 var(--serif); margin: 2px 0 8px; }
.mini-bar { height: 4px; border-radius: 4px; background: var(--paper-2); overflow: hidden; }
.mini-bar span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--leaf), var(--gold)); transition: width .6s var(--ease); }
.timeline { position: relative; list-style: none; margin: 0; padding: 20px 0 20px 64px; }
.timeline .trilho { position: absolute; left: 22px; top: 34px; bottom: 60px; width: 2px; background: rgba(27,31,34,.1); border-radius: 2px; }
.timeline .cheio { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: linear-gradient(180deg, var(--leaf), var(--gold)); border-radius: 2px; box-shadow: 0 0 12px rgba(185,150,104,.6); }
.marco { position: relative; padding: 0 0 clamp(56px, 9vh, 96px); }
.marco .bola { position: absolute; left: -50px; top: 6px; width: 18px; height: 18px; border-radius: 50%; background: var(--paper); border: 2px solid rgba(27,31,34,.2); transition: all .45s var(--ease); }
.marco.aceso .bola { background: var(--ink); border-color: var(--ink); transform: scale(1.2); box-shadow: 0 0 0 7px rgba(27,31,34,.08); }
.marco .num { font: 400 13px/1 var(--serif); letter-spacing: .1em; color: var(--muted); }
.marco h3 { font: 400 clamp(24px, 2.3vw, 34px)/1.15 var(--serif); margin: 8px 0 10px; color: rgba(27,31,34,.28); transition: color .5s; }
.marco p { margin: 0 0 14px; color: #55524c; max-width: 500px; opacity: .45; transition: opacity .5s; }
.marco .chip { display: inline-block; font-size: 11.5px; padding: 8px 12px; border-radius: 30px; background: #fff; border: 1px solid var(--line); opacity: .4; transform: translateY(8px); transition: all .5s var(--ease); }
.marco .chip.gold { background: linear-gradient(120deg, var(--gold-2), var(--gold)); border: 0; color: #1b1712; }
.marco.aceso h3 { color: var(--ink); }
.marco.aceso p, .marco.aceso .chip { opacity: 1; transform: none; }

/* ============ MAP (Google-like) ============ */
.map-section { height: 330vh; background: var(--paper); }
.map-frame { clip-path: none; background: #f3f1ec; }
.map-fallback { background: linear-gradient(#e7e3dc 1px, transparent 1px) 0 0/60px 60px, linear-gradient(90deg, #e7e3dc 1px, transparent 1px) 0 0/60px 60px, #f3f1ec; transform: none; inset: 0; }
#map-status { color: var(--muted); }
.map-intro { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; text-align: center; pointer-events: none; padding: 40px 60px; border-radius: 20px; background: radial-gradient(closest-side, rgba(241,238,231,.95), rgba(241,238,231,.75) 60%, transparent); }
.map-intro strong { display: block; font: 400 clamp(40px, 6vw, 88px)/1 var(--serif); text-transform: uppercase; }
.map-intro > span { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.map-section .map-ui { color: var(--ink); }
.gm-search { position: absolute; left: var(--pad); top: 88px; width: min(380px, calc(100% - 2 * var(--pad))); display: flex; align-items: center; gap: 10px; padding: 0 16px; border-radius: 30px; }
.gm-icon { width: 20px; height: 20px; color: var(--muted); flex: none; }
.gm-search input { flex: 1; height: 48px; border: 0; background: transparent; padding: 0; font-size: 14px; }
.gm-search input:focus { background: transparent; }
.gm-chips { position: absolute; left: var(--pad); top: 148px; right: 420px; }
.gm-chips button { background: #fff; color: var(--ink); border-color: rgba(0,0,0,.08); box-shadow: 0 4px 12px rgba(0,0,0,.08); backdrop-filter: none; }
.gm-chips button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gm-panel { position: absolute; right: calc(var(--pad) * .9 + 10px); top: 88px; bottom: 90px; width: 360px; display: flex; flex-direction: column; border-radius: 14px; overflow: hidden; }
.gm-panel header { padding: 18px 18px 12px; border-bottom: 1px solid var(--line); }
.gm-panel small { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--leaf); font-weight: 600; }
.gm-panel h3 { font: 400 26px/1.1 var(--serif); margin: 4px 0; text-transform: uppercase; }
.gm-panel p { margin: 0; font-size: 12.5px; color: #55524c; }
.gm-list { overflow-y: auto; padding: 8px; flex: 1; scrollbar-width: thin; }
.gm-item { display: flex; gap: 12px; padding: 8px; border-radius: 10px; transition: background .3s; }
.gm-item:hover, .gm-item.on { background: rgba(27,31,34,.06); }
.gm-item.on { box-shadow: inset 3px 0 0 var(--gold); }
.gm-item img { width: 76px; height: 76px; border-radius: 8px; object-fit: cover; flex: none; }
.gm-item strong { display: block; font-size: 13.5px; line-height: 1.25; }
.gm-item span { font-size: 11.5px; color: var(--muted); }
.gm-actions { display: flex; gap: 6px; margin-top: 6px; }
.gm-actions button { font-size: 10.5px; font-weight: 600; letter-spacing: .04em; padding: 6px 10px; border-radius: 20px; border: 1px solid var(--line); background: #fff; }
.gm-actions button:last-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.gm-proof { position: absolute; left: var(--pad); bottom: 90px; display: flex; gap: 12px; align-items: center; padding: 8px 16px 8px 8px; border-radius: 40px; max-width: 360px; }
.gm-proof img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px #3fb950; }
.gm-proof small { font-size: 9.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #2f8f4e; }
.gm-proof strong { display: block; font-size: 13px; }
.gm-proof span { font-size: 11.5px; color: var(--muted); }
.gm-tools { right: calc(var(--pad) * .9 + 386px); top: auto; bottom: 90px; transform: none; background: #fff; border-color: rgba(0,0,0,.08); box-shadow: 0 6px 18px rgba(0,0,0,.15); backdrop-filter: none; border-radius: 10px; }
.gm-tools button { color: var(--ink); border-radius: 6px; }
.gm-tools button:hover { background: rgba(0,0,0,.06); }
.map-section .map-foot { bottom: 30px; right: calc(var(--pad) * .9 + 386px); color: var(--ink); }
.map-section .map-progress i { background: rgba(0,0,0,.18); }
.map-section .map-progress i.on { background: var(--ink); }
.map-section .map-hint { opacity: .75; background: rgba(255,255,255,.8); padding: 7px 12px; border-radius: 20px; }
.gm-pin { border: 0; background: none; padding: 0; display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: transform .35s var(--ease); }
.gm-pin-card { display: flex; align-items: center; gap: 8px; padding: 4px 12px 4px 4px; border-radius: 30px; background: #fff; box-shadow: 0 6px 16px rgba(0,0,0,.22); white-space: nowrap; transition: all .35s var(--ease); }
.gm-pin-card img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.gm-pin-card b { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink); }
.gm-pin-card i { display: block; font-style: normal; font-size: 10px; color: var(--muted); }
.gm-pin-tip { width: 12px; height: 12px; margin-top: -6px; background: #fff; transform: rotate(45deg); box-shadow: 3px 3px 6px rgba(0,0,0,.12); }
.gm-pin:hover, .gm-pin.hover { transform: translateY(-4px) scale(1.04); z-index: 5; }
.gm-pin.selected .gm-pin-card, .gm-pin.selected .gm-pin-tip { background: var(--ink); }
.gm-pin.selected b { color: #fff; } .gm-pin.selected i { color: var(--gold-2); }
#city-map.far .gm-pin-card { padding: 0; gap: 0; }
#city-map.far .gm-pin-card > span { display: none; }
#city-map.far .gm-pin-card img { width: 24px; height: 24px; border: 2px solid #fff; }
#city-map.far .gm-pin-tip { width: 8px; height: 8px; margin-top: -4px; }
.gm-client { position: relative; width: 44px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; }
.gm-client img { position: relative; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #3fb950; }
.gm-client .ring { position: absolute; inset: -10px; border-radius: 50%; border: 2px solid #3fb950; animation: ring 2.4s ease-out infinite; }

/* ============ PROJECTS depth ============ */
.projects-section { padding-bottom: clamp(60px, 8vh, 90px); background: radial-gradient(90% 60% at 50% 55%, #fbfaf7, var(--paper) 70%); }
.projects { gap: 26px; perspective: 1400px; padding-top: 30px; padding-bottom: 50px; }
.project { background: none; box-shadow: none; transform: translateZ(calc(var(--depth, 0) * -160px)) rotateY(calc(var(--side, 0) * var(--depth, 0) * -14deg)); opacity: calc(1 - var(--depth, 0) * .35); transition: transform .6s var(--ease), opacity .6s; transform-style: preserve-3d; }
.project:hover { transform: translateZ(0); box-shadow: none; }
.project:nth-child(3n+2) { background: none; }
.p-tilt { position: relative; height: 100%; border-radius: 12px; background: #fff; transform-style: preserve-3d; transition: transform .5s var(--ease), box-shadow .5s; box-shadow: 0 40px 70px -45px rgba(30,30,25,.55), 0 2px 0 rgba(0,0,0,.03); }
.project.tilting .p-tilt { transition: transform .12s linear, box-shadow .5s; box-shadow: 0 70px 90px -40px rgba(30,30,25,.6); }
.p-media { border-radius: 12px 12px 0 0; transform: translateZ(0); }
.p-media img { transform: scale(1.08) translate(calc(var(--px, 0) * -14px), calc(var(--py, 0) * -10px)); transition: transform .8s var(--ease); }
.project.tilting .p-media img { transition: transform .12s linear; }
.p-glare { position: absolute; inset: 0; border-radius: 12px; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 0%), rgba(255,255,255,.45), transparent 45%); opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light; z-index: 3; }
.project.tilting .p-glare { opacity: 1; }
.p-body { transform: translateZ(30px); }
.fav { transform: translateZ(50px); }
.p-region { position: absolute; right: 12px; bottom: 12px; background: rgba(27,31,34,.8); color: #fff; font: 600 9px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 7px 10px; border-radius: 20px; backdrop-filter: blur(6px); }
.p-spec { grid-template-columns: 1fr 1fr; }
.filters button b { font-weight: 600; font-size: 10px; margin-left: 4px; opacity: .6; }
.car-foot { position: relative; z-index: 4; display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 4px; }
.car-counter { font: 400 16px/1 var(--serif); letter-spacing: .06em; }
.car-progress { width: min(320px, 50vw); height: 2px; background: rgba(0,0,0,.1); border-radius: 2px; overflow: hidden; }
.car-progress span { display: block; height: 100%; width: 0; background: var(--ink); transition: width .3s; }

/* ============ AMBIENTES neon ============ */
.ambientes { background: radial-gradient(80% 70% at 50% 45%, #141a1e, #07090b 70%); color: #eeeae2; padding: clamp(80px, 11vh, 130px) 0 clamp(80px, 11vh, 120px); }
.amb-head { margin-bottom: 40px; }
.amb-head .eyebrow, .ambientes .eyebrow { color: rgba(238,234,226,.55); }
.ambientes .display-sm em { color: var(--gold-2); }
.coverflow { height: clamp(300px, 40vw, 520px); }
.cf-item { background: none; overflow: visible; box-shadow: none; filter: saturate(calc(1 - var(--a) * .35)) brightness(calc(1 - var(--a) * .3)); }
.cf-frame { position: absolute; inset: 0; border-radius: 10px; overflow: hidden; z-index: 1; }
.cf-frame::after { content: ""; position: absolute; inset: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); }
.cf-item img { width: 100%; height: 100%; object-fit: cover; }
.cf-glow { position: absolute; inset: 6%; background: center/cover; filter: blur(46px) saturate(2.2) brightness(1.2); opacity: 0; transform: scale(1.1); transition: opacity .9s; z-index: 0; }
.cf-item.center .cf-glow { opacity: .85; animation: breatheGlow 5s ease-in-out infinite; }
.cf-item.center .cf-frame { box-shadow: 0 0 0 1.5px rgba(255,236,190,.65), 0 0 24px rgba(98,221,255,.35), 0 0 60px rgba(255,210,140,.25); }
.cf-item.center .cf-frame::before { content: ""; position: absolute; inset: -2px; border-radius: 12px; padding: 2px; background: conic-gradient(from var(--ang, 0deg), transparent 0 70%, #62ddff 80%, #ffd98e 90%, transparent 100%); -webkit-mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: spinAng 4s linear infinite; z-index: 2; }
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes spinAng { to { --ang: 360deg; } }
@keyframes breatheGlow { 50% { opacity: .55; transform: scale(1.02); } }
.cf-label { position: absolute; left: 14px; bottom: 14px; z-index: 3; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(6px); font: 600 9.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 8px 10px; border-radius: 20px; opacity: 0; transition: opacity .6s; }
.cf-item.center .cf-label { opacity: 1; }
.ambientes .car-dots i { border-color: rgba(255,255,255,.5); }
.ambientes .car-dots i.on { background: #fff; }
.amb-copy { grid-template-columns: 1fr auto; margin-top: 50px; }
.amb-title { font: 400 clamp(24px, 2.4vw, 34px)/1.15 var(--serif); text-transform: uppercase; margin: 0 0 8px; }
.ambientes .amb-copy p { color: rgba(238,234,226,.66); margin: 0; }
.cf-backdrop { display: none; }

/* ============ PROFILE (moved up, tighter) ============ */
.profile { max-width: none; padding: clamp(80px, 10vh, 120px) max(var(--pad), calc((100vw - 1240px) / 2)); overflow: hidden; }
.profile > *:not(.floaters) { position: relative; z-index: 4; }

/* ============ ABOUT ============ */
.about { display: block; padding: clamp(100px, 13vh, 160px) var(--pad) clamp(90px, 12vh, 140px); }
.about-top { position: relative; z-index: 4; max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.founder img { object-position: 50% 22%; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 30px 0 34px; background: rgba(255,255,255,.1); border-radius: 10px; overflow: hidden; }
.stats div { background: #1a1f22; padding: 18px 20px; }
.stats strong { display: block; font: 400 40px/1 var(--serif); color: var(--gold-2); }
.stats span { font-size: 12px; color: rgba(238,234,226,.62); }
.blueprint { position: absolute; right: -4%; top: 34%; width: min(60vw, 820px); z-index: 1; opacity: .5; pointer-events: none; }
.bp path { fill: none; stroke: rgba(98,221,255,.35); stroke-width: 1.2; stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.blueprint.drawn .bp path { animation: bpDraw 4s var(--ease) forwards; }
.blueprint.drawn .bp path:nth-child(2) { animation-delay: .6s; } .blueprint.drawn .bp path:nth-child(3) { animation-delay: 1.2s; } .blueprint.drawn .bp path:nth-child(4) { animation-delay: 1.6s; }
@keyframes bpDraw { to { stroke-dashoffset: 0; } }
.build { position: relative; z-index: 4; max-width: 1240px; margin: clamp(90px, 12vh, 140px) auto 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.build-copy p:not(.eyebrow) { color: rgba(238,234,226,.7); max-width: 420px; }
.build .display-sm em { color: var(--gold-2); }
.build-steps { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.build-steps li { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 30px; border: 1px solid rgba(255,255,255,.15); color: rgba(238,234,226,.45); transition: all .4s; }
.build-steps li.on { background: var(--gold); border-color: var(--gold); color: #1b1712; }
.build-stage { position: relative; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; box-shadow: 0 60px 100px -50px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.08); }
.build-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s linear; }
.build-pct { position: absolute; right: 16px; top: 14px; font: 400 42px/1 var(--serif); color: #fff; text-shadow: 0 4px 20px rgba(0,0,0,.6); }
.build-note { position: absolute; left: 14px; bottom: 12px; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.8); background: rgba(0,0,0,.45); padding: 6px 10px; border-radius: 20px; }
.proof-wall { position: relative; z-index: 4; max-width: 1240px; margin: clamp(90px, 12vh, 140px) auto 0; }
.proof-wall header { text-align: center; margin-bottom: 40px; }
.proof-wall .display-sm em { color: var(--gold-2); }
.wall { display: grid; grid-template-columns: 1.1fr .9fr 1fr .9fr; gap: 18px; align-items: end; }
.wall figure { margin: 0; position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 3/4; box-shadow: 0 40px 70px -40px rgba(0,0,0,.8); }
.wall .w2 { aspect-ratio: 3/3.8; transform: translateY(-40px); } .wall .w3 { aspect-ratio: 3/4.3; } .wall .w4 { transform: translateY(-60px); }
.wall .reveal-up.in-view.w2 { transform: translateY(-40px); } .wall .reveal-up.in-view.w4 { transform: translateY(-60px); }
.wall img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.wall figure:hover img { transform: scale(1.06); }
.wall figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 14px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-size: 12.5px; }
.site-footer .f-top { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr; }

@media (max-width: 1100px) {
  .gm-panel { width: 300px; }
  .gm-tools, .map-section .map-foot { right: calc(var(--pad) * .9 + 324px); }
  .gm-chips { right: 340px; }
}
@media (max-width: 900px) {
  .tower { left: 26%; top: 8%; width: 70%; }
  .journey-grid, .about-top, .build { grid-template-columns: 1fr; }
  .journey-side { position: relative; top: 0; }
  .journey-photo { width: min(100%, 320px); }
  .journey-now { right: -10px; }
  .timeline { padding-left: 50px; }
  .timeline .trilho { left: 16px; }
  .marco .bola { left: -42px; }
  .map-section { height: 260vh; }
  .gm-search { top: 76px; }
  .gm-chips { top: 132px; right: var(--pad); flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .gm-chips button { flex: none; }
  .gm-panel { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; height: 36vh; }
  .gm-panel header { padding: 12px 14px 8px; }
  .gm-panel h3 { font-size: 20px; }
  .gm-panel p { display: none; }
  .gm-proof { bottom: calc(36vh + 20px); left: 10px; right: auto; max-width: 70vw; }
  .gm-tools { right: 10px; bottom: calc(36vh + 20px); }
  .map-section .map-foot { display: none; }
  .gm-list { display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; }
  .gm-item { flex: 0 0 240px; }
  .wall { grid-template-columns: 1fr 1fr; }
  .wall .w2, .wall .w4, .wall .reveal-up.in-view.w2, .wall .reveal-up.in-view.w4 { transform: none; }
  .amb-copy { grid-template-columns: 1fr; }
  .blueprint { width: 120vw; top: 20%; opacity: .3; }
  .site-footer .f-top { grid-template-columns: 1fr 1fr; }
  .project { transform: none; opacity: 1; }
}
@media (max-width: 560px) {
  .hero-proof { display: none; }
  .map-intro { padding: 30px 20px; width: 92vw; }
  .gm-proof { display: none; }
  .gm-item { flex-basis: 220px; }
  .gm-item img { width: 60px; height: 60px; }
  .stats strong { font-size: 30px; }
  .site-footer .f-top { grid-template-columns: 1fr; }
}

#district-projects.gm-list { display: block; overflow-x: hidden; overflow-y: auto; padding: 8px; }
#district-projects.gm-list img { width: 76px; height: 76px; }
@media (max-width: 900px) {
  #district-projects.gm-list { display: flex; overflow-x: auto; overflow-y: hidden; }
  #district-projects.gm-list img { width: 60px; height: 60px; }
}
.journey-photo { aspect-ratio: 4/3.6; width: min(100%, 360px); }

#district-projects .gm-actions button { width: auto; flex: none; padding: 6px 10px; border-radius: 20px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 10.5px; }
#district-projects .gm-actions button:last-child { background: var(--ink); color: #fff; border-color: var(--ink); }
#district-projects .gm-actions button:hover { transform: none; }
#city-map.mid .gm-pin:not(.selected):not(.hover):not(:hover) .gm-pin-card { padding: 0; gap: 0; }
#city-map.mid .gm-pin:not(.selected):not(.hover):not(:hover) .gm-pin-card > span { display: none; }
#city-map.mid .gm-pin-card img { border: 2px solid #fff; }
