/* =========================================================
   Vista Alphagran · LP do corretor Marlon Peixoto
   Mundo visual do book da JMF: cetim chocolate, cobre, corten
   ========================================================= */

:root {
  --satin-950: #1c1510;
  --satin-900: #241b14;
  --satin-800: #2e241b;
  --satin-700: #3b2e23;
  --satin-600: #483a2d;
  --satin-500: #5a483a;
  --satin-400: #6f5038;

  --copper: #a67756;
  --copper-hi: #c49a72;
  --copper-lt: #d4ae88;
  --copper-btn: #8c6042;
  --copper-ink: #85593b;

  --cream: #f3ede6;
  --cream-2: #d3c3b4;
  --paper: #e8e8e8;
  --paper-2: #f2f1ef;
  --ink: #262626;
  --ink-2: #5c5650;

  --wa: #25d366;
  --wa-ink: #062d17;

  --sans: "Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --script: "Sacramento", "Segoe Script", cursive;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --gutter: clamp(20px, 5vw, 56px);
  --rail-space: 0px;
  --lift-gap: 20px;
  --lift-w: 76px;
  --lift-w-open: 244px;
  --top-h: 60px;
}

/* ---------------- base ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--satin-700);
  color: var(--cream);
  font: 400 1rem/1.65 var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  caret-color: var(--copper);
  scrollbar-color: var(--copper-btn) var(--satin-950);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; cursor: pointer; }
p, h1, h2, h3, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--copper); color: #fff; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--satin-950); }
::-webkit-scrollbar-thumb { background: var(--copper-btn); border: 2px solid var(--satin-950); }
:focus-visible { outline: 2px solid var(--copper-lt); outline-offset: 3px; }
[hidden] { display: none !important; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200; padding: 12px 18px;
  background: var(--cream); color: var(--satin-900); font-weight: 600; text-decoration: none;
  transition: top .2s;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1120px, calc(100% - 2 * var(--gutter) - var(--rail-space)));
  margin-inline: auto;
  position: relative;
  left: calc(var(--rail-space) / -2);
}

/* ---------------- tipografia ---------------- */
.h2 {
  font-weight: 300;
  font-size: clamp(1.55rem, 1.05rem + 1.9vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.h2--ink { color: var(--ink); }
.h3 {
  font-weight: 500;
  font-size: .82rem;
  line-height: 1.4;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--copper-hi);
}
.script {
  font-family: var(--script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--copper-hi);
  line-height: 1;
}
.script--inline { font-size: 1.55em; line-height: .6; color: var(--copper-hi); padding-inline: .06em; }
.fine { font-size: .78rem; line-height: 1.6; color: var(--ink-2); }

/* legenda do book: | NOME | PERSPECTIVA ILUSTRADA */
.cap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0;
  font-size: .72rem; line-height: 1.3; letter-spacing: .24em; text-transform: uppercase;
  color: var(--ink-2);
}
.cap b { font-weight: 600; padding: 0 1em; border-left: 1px solid currentColor; border-right: 1px solid currentColor; }
.cap span { padding-left: 1em; }
.cap--light { color: var(--cream); }
.cap--light b { border-color: rgba(243, 237, 230, .7); }
/* legenda sobre foto: fundo escuro discreto para ler em qualquer céu */
.cap--photo { background: rgba(24, 17, 12, .66); padding: 7px 12px; text-shadow: none !important; }

/* faixa com divisões em cobre, como nas plantas do book */
.badge {
  display: inline-flex; flex-wrap: wrap;
  border: 1px solid var(--copper);
}
.badge li {
  padding: 11px 16px;
  font-size: .7rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: var(--cream);
  border-left: 1px solid var(--copper);
  margin-left: -1px;
}

/* ---------------- botões ---------------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  font: 600 .74rem/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  border: 1px solid transparent; border-radius: 0;
  transition: background-color .3s var(--ease-out), color .3s, border-color .3s, transform .3s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn:hover .ico:not(.ico--wa) { transform: translateX(3px); }
.btn .ico { transition: transform .3s var(--ease-out); }
.btn .ico { width: 18px; height: 18px; flex: none; }
.btn .ico--wa { width: 20px; height: 20px; }
.btn--copper { background: var(--copper-btn); color: #fff8f1; }
.btn--copper:hover { background: #7d553a; }
.btn--line { border-color: var(--copper); color: var(--cream); background: transparent; }
.btn--line:hover { background: rgba(166, 119, 86, .18); border-color: var(--copper-lt); }
.btn--ink { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ink:hover { background: var(--ink); color: #fff; }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { background: #33dd75; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: .7rem; }
.btn--lg { min-height: 58px; }
.btn--block { width: 100%; }

.round {
  width: 46px; height: 46px; flex: none;
  display: grid; place-items: center;
  border: 1px solid var(--copper); border-radius: 50%;
  background: transparent; color: var(--cream);
  transition: background-color .25s, border-color .25s;
}
.round svg { width: 20px; height: 20px; }
.round:hover { background: rgba(166, 119, 86, .22); border-color: var(--copper-lt); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper-lt); text-decoration: none;
  padding-block: 8px;
  border-bottom: 1px solid rgba(166, 119, 86, .6);
  transition: color .2s, border-color .2s, gap .3s var(--ease-out);
}
.link-arrow .ico { width: 18px; height: 18px; }
.link-arrow:hover { color: var(--cream); border-color: var(--cream); gap: 14px; }
.link-arrow--ink { color: var(--copper-ink); border-color: var(--copper); }
.link-arrow--ink:hover { color: var(--ink); border-color: var(--ink); }

.chip {
  min-height: 40px; padding: 0 16px;
  border: 1px solid rgba(166, 119, 86, .7); background: transparent; color: var(--cream-2);
  font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .25s, color .25s, border-color .25s;
}
.chip:hover { color: var(--cream); border-color: var(--copper-lt); }
.chip.is-on { background: var(--copper-btn); border-color: var(--copper-btn); color: #fff8f1; }

/* ---------------- barra superior ---------------- */
.topbar {
  position: fixed; z-index: 50; top: 0; left: 0; right: 0;
  height: var(--top-h);
  display: flex; align-items: center; gap: 24px;
  padding: 0 calc(var(--gutter) + 56px) 0 var(--gutter);
  background: rgba(36, 27, 20, .97);
  border-bottom: 1px solid rgba(166, 119, 86, .45);
  transform: translateY(0);
  transition: transform .5s var(--ease-out);
}
.at-hero .topbar { transform: translateY(-105%); }
.topbar__logo { flex: none; display: block; }
.topbar__logo img { width: 92px; }
.topbar__status, .topbar__cta { display: none; }

/* ---------------- painel do elevador ---------------- */
.lift-toggle {
  position: fixed; z-index: 60; top: 8px; right: 12px;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--satin-900); border: 1px solid var(--copper);
  box-shadow: 0 6px 18px rgba(20, 12, 6, .35), inset 0 0 0 3px rgba(166, 119, 86, .18);
  color: var(--copper-lt);
  font-weight: 400; font-size: .86rem; letter-spacing: .04em;
}
.lift-toggle__code { display: block; min-width: 1.6em; text-align: center; }
.lift-toggle__code.is-bird {
  width: 24px; height: 13px; min-width: 0; font-size: 0;
  background: var(--copper-lt);
  -webkit-mask: url(../img/passaro-mascara-900.webp) center / contain no-repeat;
  mask: url(../img/passaro-mascara-900.webp) center / contain no-repeat;
}
.lift-backdrop { position: fixed; inset: 0; z-index: 64; background: rgba(18, 12, 8, .55); }

.lift {
  position: fixed; z-index: 65; top: 0; right: 0; bottom: 0;
  width: min(86vw, 340px);
  display: flex; flex-direction: column; gap: 22px;
  padding: 22px 22px 26px;
  background: var(--satin-900) url(../img/cetim-1536.webp) center / cover;
  border-left: 1px solid rgba(166, 119, 86, .6);
  /* recorte em vez de deslocamento: a caixa nunca sai da tela (evita o zoom-out do Chrome no celular) */
  clip-path: inset(0 0 0 100%);
  visibility: hidden;
  transition: clip-path .5s var(--ease-out), visibility 0s linear .5s;
  overflow-y: auto;
}
.lift.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .5s var(--ease-out), visibility 0s; }
.lift__head { display: flex; align-items: center; gap: 14px; }
.lift__display {
  flex: none;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 92px; height: 64px; padding: 0 12px;
  background: #150f0b;
  border: 1px solid rgba(166, 119, 86, .7);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, .55);
  overflow: hidden;
}
.lift__dir { width: 14px; height: 14px; color: var(--copper); transition: transform .3s; }
.lift__dir.is-down { transform: rotate(180deg); }
.lift__code {
  display: block; min-width: 1.2em; text-align: center;
  font-weight: 300; font-size: 1.9rem; line-height: 1; letter-spacing: .04em;
  color: #f6d2ab;
}
.lift__code.is-bird {
  width: 46px; height: 24px; min-width: 0; font-size: 0;
  background: #f6d2ab;
  -webkit-mask: url(../img/passaro-mascara-900.webp) center / contain no-repeat;
  mask: url(../img/passaro-mascara-900.webp) center / contain no-repeat;
}
.lift__now { flex: 1; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--cream-2); }
.lift__close {
  width: 40px; height: 40px; flex: none; display: grid; place-items: center;
  background: none; border: 1px solid rgba(166, 119, 86, .6); color: var(--cream);
}
.lift__close svg { width: 18px; height: 18px; }
.lift__body { position: relative; padding-left: 18px; }
.lift__stops { display: flex; flex-direction: column; gap: 10px; }
.lift__btn {
  position: relative;
  display: flex; align-items: center; gap: 16px;
  min-height: 48px;
  text-decoration: none; color: var(--cream-2);
}
.lift__key {
  position: relative; flex: none;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .78rem; font-weight: 500; letter-spacing: .06em;
  color: var(--copper-lt);
  background: var(--satin-900);
  border: 1px solid rgba(196, 154, 114, .75);
  transition: background-color .35s, color .35s, box-shadow .35s, border-color .35s;
}
.lift__key--bird::before {
  content: ""; width: 24px; height: 13px;
  background: currentColor;
  -webkit-mask: url(../img/passaro-mascara-900.webp) center / contain no-repeat;
  mask: url(../img/passaro-mascara-900.webp) center / contain no-repeat;
}
.lift__label { display: flex; flex-direction: column; font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; line-height: 1.35; }
.lift__label small { font-size: .72rem; font-weight: 400; letter-spacing: .04em; text-transform: none; color: var(--cream-2); }
.lift__btn:hover .lift__key { border-color: var(--copper-lt); color: var(--cream); }
.lift__btn:hover { color: var(--cream); }
.lift__btn[aria-current="location"] { color: var(--cream); }
.lift__btn[aria-current="location"] .lift__key {
  background: #e2b58c;
  color: var(--satin-900);
  border-color: #f2c99e;
  box-shadow: 0 0 0 4px rgba(196, 135, 90, .3);
}
.lift__shaft {
  position: absolute; left: 0; top: 23px; bottom: 23px; width: 1px;
  background: rgba(166, 119, 86, .55);
}
.lift__cabin {
  position: absolute; left: -4px; width: 9px; height: 16px;
  top: calc((1 - var(--p, 0)) * 100%);
  transform: translateY(-50%);
  background: #f6d2ab;
  box-shadow: 0 3px 6px rgba(0, 0, 0, .45);
  transition: top .25s linear;
}
.lift__plate {
  margin-top: auto;
  padding: 10px 12px;
  border: 1px solid rgba(166, 119, 86, .5);
  font-size: .7rem; font-weight: 500; line-height: 1.6; letter-spacing: .18em; text-transform: uppercase;
  color: var(--copper-lt); text-align: center;
}

/* ---------------- portas (transição entre paradas) ---------------- */
.doors { position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden; overflow: hidden; }
.doors.is-on { visibility: visible; pointer-events: auto; }
.doors__l, .doors__r {
  position: absolute; top: 0; bottom: 0; width: 50.2%; overflow: hidden;
  background: var(--satin-700) url(../img/cetim-1536.webp) center / cover;
  transition: transform .42s var(--ease-io);
}
.doors__l { left: 0; transform: translateX(-101%); box-shadow: inset -1px 0 0 var(--copper); }
.doors__r { right: 0; transform: translateX(101%); box-shadow: inset 1px 0 0 var(--copper); }
.doors.is-closed .doors__l, .doors.is-closed .doors__r { transform: none; }
.doors__l::before, .doors__r::before {
  content: ""; position: absolute; top: 50%; width: min(44vw, 320px); aspect-ratio: 900 / 467;
  transform: translateY(-50%);
  background: var(--copper);
  -webkit-mask: url(../img/passaro-mascara-900.webp) center / contain no-repeat;
  mask: url(../img/passaro-mascara-900.webp) center / contain no-repeat;
  opacity: .55;
}
.doors__l::before { right: calc(min(44vw, 320px) / -2); }
.doors__r::before { left: calc(min(44vw, 320px) / -2); }

/* ---------------- capa (térreo) ---------------- */
.hero { position: relative; background: var(--satin-700) url(../img/cetim-1536.webp) center / cover; }
.hero__tower { position: relative; height: 46svh; min-height: 340px; overflow: hidden; background: #6f9ed0; }
.hero__tower img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 22%;
  animation: tower-in 2.6s var(--ease-out) both;
}
.hero__tower .cap { position: absolute; left: 16px; bottom: 14px; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
@keyframes tower-in { from { transform: scale(1.07); } to { transform: none; } }
.hero__body {
  display: flex; flex-direction: column; align-items: flex-start;
  padding: 28px var(--gutter) 48px;
  /* traço fino do pássaro, como na capa do book */
  background: url(../img/passaro-linha-1400.webp) no-repeat right -12% bottom 8% / min(96%, 1000px) auto;
}
.hero__logo { width: 200px; margin-bottom: 22px; }
.hero__title { display: flex; flex-direction: column; gap: 6px; }
.hero__t1 {
  font-weight: 300; font-size: clamp(1.6rem, 1.1rem + 2.6vw, 3.3rem); line-height: 1.1;
  letter-spacing: .06em; text-transform: uppercase; text-wrap: balance;
}
.hero__t2 { font-size: clamp(2.3rem, 1.6rem + 3.4vw, 4.6rem); line-height: 1.05; margin-left: -.04em; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 24px; }
.hero__lead { margin-top: 26px; max-width: 46ch; color: var(--cream-2); font-size: 1rem; }
.hero__badge { margin-top: 26px; display: inline-grid; grid-template-columns: auto auto; }
.hero__badge li:nth-child(3) { grid-column: 1 / -1; border-left: 0; margin-left: 0; border-top: 1px solid var(--copper); }
.hero__body > * { animation: rise-in .9s var(--ease-out) both; }
.hero__body > :nth-child(2) { animation-delay: .08s; }
.hero__body > :nth-child(3) { animation-delay: .16s; }
.hero__body > :nth-child(4) { animation-delay: .24s; }
.hero__body > :nth-child(5) { animation-delay: .32s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------------- chegada ---------------- */
.arrival { padding: clamp(64px, 9vw, 128px) 0; background: var(--satin-600); }
.arrival__grid { display: grid; gap: 36px; }
.arrival__main { position: relative; }
.arrival__main img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.arrival__main .cap, .arrival__hall .cap { position: absolute; left: 14px; bottom: 12px; text-shadow: 0 1px 8px rgba(0, 0, 0, .65); }
.arrival__copy { display: flex; flex-direction: column; gap: 20px; }
.arrival__copy > p { color: var(--cream-2); max-width: 52ch; }
.arrival__hall { position: relative; margin-top: 8px; }
.arrival__hall img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------------- ficha técnica e terreno (corten) ---------------- */
.site {
  position: relative; isolation: isolate;
  padding: clamp(64px, 9vw, 120px) 0;
  background: #47290f url(../img/corten-1600.webp) center / cover;
}
.site::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(28, 16, 7, .42); }
.site__grid { display: grid; gap: 44px; }
.h2--plate { color: var(--copper-lt); letter-spacing: .32em; font-size: clamp(1.3rem, 1rem + 1.2vw, 1.8rem); }
.spec { margin-top: 28px; display: grid; gap: 18px; }
.spec div { display: grid; gap: 4px; }
.spec dt { font-size: .7rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--copper-lt); }
.spec dd { font-size: 1.02rem; letter-spacing: .06em; text-transform: uppercase; color: var(--cream); }
.site__map { display: grid; gap: 22px; }
.site__aerial { position: relative; border: 1px solid rgba(212, 174, 136, .5); }
.site__aerial img { width: 100%; }
.site__here {
  position: absolute; left: var(--x); top: var(--y);
  width: clamp(56px, 8vw, 96px); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border: 2px solid #f2c99e; border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(242, 201, 158, .25), 0 8px 18px rgba(0, 0, 0, .35);
}
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.9); opacity: 0; } }
.site__cap { display: grid; gap: 12px; justify-items: start; }
.site__cap p { color: var(--cream-2); max-width: 54ch; }

.jmf { margin-top: clamp(56px, 7vw, 96px); }
.jmf__line {
  position: relative;
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(148px, 1fr);
  gap: 20px; margin-top: 26px; padding: 0 0 8px;
  overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.jmf__line::before {
  content: ""; position: absolute; left: 0; right: 0; top: 150px; height: 1px; background: rgba(212, 174, 136, .55);
}
.jmf__line li { position: relative; display: grid; gap: 6px; scroll-snap-align: start; padding-bottom: 6px; }
.jmf__line img { width: 100%; height: 132px; object-fit: cover; object-position: 50% 30%; filter: saturate(.85); }
.jmf__line b {
  position: relative; margin-top: 18px; padding-top: 4px;
  font-weight: 500; font-size: .95rem; letter-spacing: .12em; color: var(--cream);
}
.jmf__line b::before {
  content: ""; position: absolute; left: 0; top: -9px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--cream); transform: translateY(-50%);
}
.jmf__line span { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2); line-height: 1.5; }
.jmf__line .is-now b { color: #f2c99e; }
.jmf__line .is-now b::before { background: #f2c99e; box-shadow: 0 0 0 5px rgba(242, 201, 158, .25); }
.jmf__line .is-now img { filter: none; outline: 1px solid #f2c99e; outline-offset: -1px; }

/* ---------------- lazer ---------------- */
.leisure { position: relative; padding: clamp(64px, 9vw, 128px) 0; background: var(--satin-700) url(../img/cetim-1536.webp) center / cover; }
/* barras de cobre do book, de pé sobre a borda da lâmina de cetim */
.leisure::before, .signup__card::before {
  content: ""; position: absolute; z-index: 1; pointer-events: none;
  background: url(../img/barras-cobre-900.webp) left bottom / contain no-repeat;
}
.leisure::before { left: max(var(--gutter), calc((100% - 1120px - var(--rail-space)) / 2)); top: -40px; width: 252px; height: 40px; }
.leisure__head { display: grid; gap: 14px; margin-bottom: 36px; }
.leisure__head p { color: var(--cream-2); max-width: 60ch; }
.leisure__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.leisure__stagecol, .leisure__mapcol { min-width: 0; }
.arrival__grid, .site__grid, .plan, .feats__cols, .broker__grid, .signup__grid, .footer__grid { grid-template-columns: minmax(0, 1fr); }
.stage { display: grid; gap: 16px; }
.stage__fig {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--satin-900);
  overflow: hidden; cursor: zoom-in;
  touch-action: pan-y;
}
.stage__fig img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover;
  transition: opacity .4s ease, transform 1.2s var(--ease-out);
}
.stage.is-swapping .stage__fig img { opacity: 0; transform: scale(1.035); }
.stage__zoom {
  position: absolute; right: 12px; top: 12px; width: 40px; height: 40px;
  display: grid; place-items: center; background: rgba(28, 21, 16, .72); color: var(--cream);
  border: 1px solid rgba(212, 174, 136, .6);
  opacity: .9; transition: opacity .2s, background-color .2s;
}
.stage__zoom svg { width: 18px; height: 18px; }
.stage__fig:hover .stage__zoom { background: var(--copper-btn); opacity: 1; }
.stage__info { display: grid; gap: 8px; min-height: 5.2em; }
.stage__text { color: var(--cream-2); max-width: 60ch; }
.stage__nav { display: flex; align-items: center; gap: 16px; }
.stage__count { font-size: .78rem; font-weight: 500; letter-spacing: .24em; color: var(--copper-lt); min-width: 6.5ch; text-align: center; font-variant-numeric: tabular-nums; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.thumbs {
  display: grid; grid-auto-flow: column; grid-auto-columns: 124px; gap: 10px;
  margin-top: 14px; padding-bottom: 10px;
  overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin;
}
.thumb {
  display: grid; gap: 6px; padding: 0; border: 0; background: none; text-align: left;
  scroll-snap-align: start; color: var(--cream-2);
}
.thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; outline: 1px solid rgba(166, 119, 86, .35); outline-offset: -1px; opacity: .78; transition: opacity .25s, outline-color .25s; }
.thumb span { font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; }
.thumb:hover img { opacity: 1; }
.thumb[aria-current="true"] { color: var(--cream); }
.thumb[aria-current="true"] img { opacity: 1; outline: 2px solid #f2c99e; outline-offset: -2px; }

.map { position: relative; }
.map img { width: 100%; filter: drop-shadow(0 18px 30px rgba(10, 6, 3, .45)); }
.pin {
  position: absolute; left: var(--x); top: var(--y);
  width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0;
  display: grid; place-items: center; border-radius: 50%;
  font-size: .72rem; font-weight: 600; font-variant-numeric: tabular-nums;
  color: #fff8f1; background: var(--copper-btn);
  border: 2px solid #fff4e8;
  box-shadow: 0 3px 10px rgba(20, 10, 4, .45);
  transition: transform .3s var(--ease-out), background-color .25s, color .25s;
}
.pin:hover { transform: scale(1.15); }
.pin.is-on { background: #fff4e8; color: var(--copper-ink); transform: scale(1.25); box-shadow: 0 0 0 6px rgba(242, 201, 158, .45), 0 6px 16px rgba(20, 10, 4, .5); z-index: 2; }
.pin.is-on::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid #f2c99e;
  animation: ping 2.2s var(--ease-out) infinite;
}
.pin--nophoto { background: var(--satin-900); color: var(--copper-lt); border-color: var(--copper-lt); cursor: help; }
.pin__tip {
  position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  white-space: nowrap; padding: 7px 10px;
  background: var(--satin-950); color: var(--cream); border: 1px solid rgba(212, 174, 136, .6);
  font-size: .7rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.pin:hover .pin__tip, .pin:focus-visible .pin__tip, .pin.show-tip .pin__tip { opacity: 1; }
.pin.tip-l .pin__tip { left: 0; transform: none; }
.pin.tip-r .pin__tip { left: auto; right: 0; transform: none; }
.map__cap { margin-top: 14px; }
.map__legend {
  margin-top: 22px; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 2px 18px;
  counter-reset: none;
}
.map__legend li { display: flex; align-items: baseline; gap: 10px; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-2); line-height: 1.5; padding: 3px 0; }
.map__legend b { min-width: 2ch; font-weight: 600; color: var(--copper-lt); font-variant-numeric: tabular-nums; }
.map__legend button { all: unset; cursor: pointer; display: flex; gap: 10px; align-items: baseline; }
.map__legend button:hover, .map__legend .is-on { color: var(--cream); }
.map__legend button:focus-visible { outline: 2px solid var(--copper-lt); outline-offset: 2px; }

/* ---------------- apartamentos ---------------- */
.units { position: relative; background: var(--satin-600); }
.units__open { position: relative; overflow: hidden; }
.units__open img { width: 100%; height: clamp(320px, 62vw, 760px); object-fit: cover; object-position: 50% 60%; }
.units__open .cap { position: absolute; left: var(--gutter); bottom: 16px; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }
.units__intro { display: grid; gap: 18px; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 5vw, 64px); }
.units__intro p { color: var(--cream-2); max-width: 58ch; font-size: 1.06rem; }

.plans { background: var(--paper); color: var(--ink); padding: clamp(56px, 8vw, 112px) 0; }
.plans__top { display: grid; gap: 12px; margin-bottom: 30px; }
.plans__how { color: var(--ink-2); max-width: 60ch; }

.ruler {
  position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(4px, 1.6vw, 24px);
  padding-top: 8px;
}
/* marcas da régua, como as barras de cobre do book */
.ruler::before {
  content: ""; position: absolute; left: 0; right: 0; top: 106px; height: 12px; pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(166, 119, 86, .55) 0 1px, transparent 1px 9px);
}
.ruler::after { content: ""; position: absolute; left: 0; right: 0; top: 118px; height: 1px; background: var(--copper); }
.ruler__opt {
  display: grid; grid-template-rows: 110px auto auto; justify-items: center; align-items: end;
  padding: 0 0 10px; border: 0; background: none; color: var(--ink-2);
  text-align: center;
}
.ruler__bar {
  width: 12px; height: calc(var(--h) * 100px);
  background: rgba(166, 119, 86, .38);
  transition: background-color .3s, width .35s var(--ease-out), box-shadow .3s;
}
.ruler__opt b { margin-top: 18px; font-weight: 400; font-size: clamp(.86rem, .7rem + .6vw, 1.2rem); letter-spacing: .06em; color: var(--ink); white-space: nowrap; }
.ruler__opt small { font-size: .7rem; font-weight: 500; letter-spacing: .04em; line-height: 1.3; margin-top: 4px; }
.ruler__opt:hover .ruler__bar { background: rgba(166, 119, 86, .7); }
.ruler__opt[aria-selected="true"] { color: var(--copper-ink); }
.ruler__opt[aria-selected="true"] .ruler__bar { width: 20px; background: var(--copper); }
.ruler__opt[aria-selected="true"] b { color: var(--copper-ink); font-weight: 500; }

.plan { display: grid; gap: 34px; margin-top: 40px; outline-offset: 8px; }
.plan__main { min-width: 0; }
.plan__badge { display: inline-grid; margin-bottom: 18px; }
.plan__area {
  justify-self: start;
  display: flex; align-items: baseline; gap: 4px; flex-wrap: wrap;
  padding: 8px 22px 4px 16px;
  border-top: 1px solid var(--copper); border-left: 1px solid var(--copper);
  font-weight: 300; font-size: clamp(2.2rem, 1.5rem + 2.4vw, 3.4rem); line-height: 1; letter-spacing: .02em;
  color: var(--copper-ink);
}
.plan__area small { font-size: clamp(.85rem, .38em, 1.3rem); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.plan__area .script { color: #6f6a66; font-size: .74em; margin-left: .35em; }
.plan__facts { display: flex; flex-wrap: wrap; border: 1px solid var(--copper); }
.plan__facts li { padding: 10px 16px; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); border-left: 1px solid var(--copper); margin-left: -1px; }
.plan__views { position: relative; }
.plan__canvas { position: relative; transition: opacity .3s ease, transform .5s var(--ease-out); }
.plan__canvas img { width: 100%; }
.plan.is-swapping .plan__canvas, .plan.is-swapping .plan__living { opacity: 0; transform: translateY(10px); }
.plan__living { transition: opacity .3s ease, transform .5s var(--ease-out); }
.plan__living img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.plan__living .cap { margin-top: 10px; }
.plan__note { margin-top: 10px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }

.spot {
  position: absolute; left: var(--x); top: var(--y);
  width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--copper-btn); color: #fff8f1;
  border: 2px solid #fff;
  font-size: .72rem; font-weight: 600; font-variant-numeric: tabular-nums;
  box-shadow: 0 4px 12px rgba(38, 24, 12, .35);
  animation: spot-in .5s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 70ms + 120ms);
  transition: background-color .2s, color .2s, transform .3s var(--ease-out);
}
.spot::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid rgba(140, 96, 66, .55);
  animation: ring 2.8s var(--ease-out) infinite;
  animation-delay: calc(var(--i, 0) * 230ms);
}
@keyframes spot-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes ring { 0% { transform: scale(.8); opacity: 0; } 30% { opacity: 1; } 100% { transform: scale(1.45); opacity: 0; } }
.spot:hover, .spot.is-on { background: var(--ink); color: #fff; transform: scale(1.12); z-index: 3; }
.spot__tip {
  position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%);
  width: max-content; max-width: 220px; padding: 8px 12px;
  background: var(--ink); color: #fff;
  font-size: .7rem; font-weight: 600; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; text-align: left;
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.spot:hover .spot__tip, .spot.is-on .spot__tip, .spot:focus-visible .spot__tip { opacity: 1; }
.spot.tip-l .spot__tip { left: -6px; transform: none; }
.spot.tip-r .spot__tip { left: auto; right: -6px; transform: none; }
.spot.tip-b .spot__tip { bottom: auto; top: calc(100% + 12px); }

.plan__side { display: grid; gap: 22px; align-content: start; }
.seg { display: inline-flex; border: 1px solid var(--ink); justify-self: start; }
.seg__btn {
  min-height: 42px; padding: 0 20px; border: 0; background: transparent;
  font-size: .7rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
}
.seg__btn[aria-pressed="true"] { background: var(--ink); color: #fff; }
.plan__legend { display: grid; gap: 2px; border-top: 1px solid rgba(166, 119, 86, .55); transition: opacity .3s; }
.plan.is-living .plan__legend { opacity: .4; }
.plan__legend li { border-bottom: 1px solid rgba(166, 119, 86, .3); }
.plan__legend button {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 10px 6px;
  border: 0; background: transparent; text-align: left;
  font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink);
  transition: background-color .2s;
}
.plan__legend button b {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--copper-btn); color: #fff8f1; font-size: .7rem; font-weight: 600;
}
.plan__legend button:hover, .plan__legend button.is-on { background: #fff; }
.plan__legend button.is-on b { background: var(--ink); }
.plan__ctas { display: grid; gap: 12px; }
.plan__ctas .link-arrow { justify-self: start; margin-top: 4px; }

.floorplate { display: grid; gap: 18px; align-items: center; margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(166, 119, 86, .55); }
.floorplate__btn { padding: 0; border: 0; background: none; cursor: zoom-in; justify-self: start; width: min(100%, 360px); }
.floorplate__btn img { width: 100%; transition: transform .5s var(--ease-out); }
.floorplate__btn:hover img { transform: scale(1.03); }
.floorplate figcaption { display: grid; gap: 6px; }
.floorplate b { font-weight: 500; font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; color: var(--copper-ink); }
.floorplate span { color: var(--ink-2); max-width: 40ch; }
.plans__fine { margin-top: 28px; max-width: 80ch; }

/* ---------------- diferenciais (corten) ---------------- */
.feats {
  position: relative; isolation: isolate;
  padding: clamp(64px, 9vw, 120px) 0;
  background: #47290f url(../img/corten-1600.webp) center / cover;
}
.feats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(28, 16, 7, .45); }
.feats__title .script { font-size: 1.5em; color: var(--copper-lt); margin-left: .1em; vertical-align: -.12em; }
.feats__cols { display: grid; gap: 44px; margin-top: 40px; }
.feats__col { display: grid; gap: 18px; align-content: start; }
.feats__list { display: grid; }
.feats__list li {
  display: grid; grid-template-columns: 112px 1fr; gap: 18px; align-items: center;
  padding: 14px 0; border-top: 1px solid rgba(212, 174, 136, .35);
}
.feats__list li:last-child { border-bottom: 1px solid rgba(212, 174, 136, .35); }
.feats__list img { width: 112px; aspect-ratio: 16 / 10; object-fit: cover; border: 1px solid rgba(212, 174, 136, .45); transition: transform .5s var(--ease-out); }
.feats__list li:hover img { transform: scale(1.06); }
.feats__list p { font-size: .98rem; font-weight: 400; line-height: 1.5; color: var(--cream); }

/* ---------------- cobertura ---------------- */
.sky { position: relative; isolation: isolate; min-height: 88svh; display: grid; align-items: start; overflow: hidden; background: var(--satin-900); }
.sky__fig { position: absolute; inset: 0; z-index: -2; }
.sky__fig img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; }
.sky::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28, 21, 16, .78) 0%, rgba(28, 21, 16, .35) 42%, rgba(28, 21, 16, 0) 62%, rgba(28, 21, 16, .5) 100%);
}
.sky__copy {
  width: min(900px, calc(100% - 2 * var(--gutter))); margin: 0 auto;
  padding-top: clamp(72px, 12vh, 140px);
  display: grid; justify-items: center; gap: 22px; text-align: center;
  position: relative; left: calc(var(--rail-space) / -2);
}
.sky__title { display: grid; gap: 8px; font-weight: 300; font-size: clamp(1.15rem, .8rem + 1.6vw, 2.1rem); line-height: 1.3; letter-spacing: .32em; text-transform: uppercase; }
.sky__title span { transition: letter-spacing 1.8s var(--ease-out), opacity 1.2s ease; }
.sky__title span:last-child { font-weight: 500; transition-delay: .25s; }
.sky__copy p { color: var(--cream); max-width: 52ch; text-shadow: 0 1px 10px rgba(0, 0, 0, .55); }
.sky__cap { position: absolute; left: var(--gutter); bottom: 18px; text-shadow: 0 1px 8px rgba(0, 0, 0, .7); }

/* ---------------- corretor ---------------- */
.broker {
  position: relative; overflow: hidden; isolation: isolate;
  padding: clamp(72px, 10vw, 136px) 0;
  background: var(--satin-700) url(../img/cetim-1536.webp) center / cover;
}
.broker::before {
  content: ""; position: absolute; z-index: -1; right: -6%; bottom: -8%; width: min(70vw, 820px); aspect-ratio: 900 / 467;
  background: var(--copper);
  -webkit-mask: url(../img/passaro-mascara-900.webp) center / contain no-repeat;
  mask: url(../img/passaro-mascara-900.webp) center / contain no-repeat;
  opacity: .09;
}
.broker__grid { display: grid; gap: 36px; align-items: center; }
.broker__photo { position: relative; width: min(78vw, 380px); justify-self: center; }
.broker__photo::before {
  content: ""; position: absolute; inset: -14px; border-radius: 50%;
  border: 1px solid rgba(212, 174, 136, .7);
}
.broker__photo img { width: 100%; border-radius: 50%; }
.broker__copy { display: grid; gap: 18px; justify-items: start; }
.broker__lead { font-size: 1.12rem; color: var(--cream); max-width: 48ch; }
.broker__copy > p:not(.broker__lead):not(.broker__sign) { color: var(--cream-2); max-width: 54ch; }
.broker__badge { margin-top: 6px; }
.broker__sign { font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); color: var(--copper-lt); margin-top: 4px; }
.broker__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 6px; }

/* ---------------- cadastro ---------------- */
.signup { position: relative; isolation: isolate; padding: clamp(72px, 10vw, 136px) 0; overflow: hidden; background: var(--satin-900); }
.signup__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.signup::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(28, 21, 16, .72), rgba(28, 21, 16, .88));
}
.signup__grid { display: grid; gap: 40px; align-items: start; }
.signup__copy { display: grid; gap: 18px; }
.signup__copy > p { color: var(--cream-2); max-width: 46ch; }
.ticks { display: grid; gap: 10px; margin-top: 8px; }
.ticks li { display: flex; align-items: center; gap: 12px; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cream); }
.ticks .ico { width: 20px; height: 20px; color: #f2c99e; flex: none; }
.signup__card::before { left: 24px; top: -32px; width: 202px; height: 32px; }
.signup__card {
  position: relative;
  background: var(--satin-800) url(../img/cetim-1536.webp) center / cover;
  border: 1px solid rgba(166, 119, 86, .75);
  box-shadow: 0 30px 70px rgba(8, 5, 2, .55);
  padding: clamp(24px, 4vw, 40px);
}
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-lt); padding: 0; }
.opt-tag { font-weight: 400; letter-spacing: .1em; text-transform: none; color: var(--cream-2); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 14px;
  font: 400 1rem/1.4 var(--sans); color: var(--cream);
  background: rgba(20, 14, 10, .45);
  border: 1px solid rgba(212, 174, 136, .45); border-radius: 0;
  transition: border-color .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: #a8998b; }
.field input:hover, .field textarea:hover { border-color: rgba(212, 174, 136, .8); }
.field input:focus, .field textarea:focus { outline: none; border-color: #f2c99e; background: rgba(20, 14, 10, .65); box-shadow: 0 0 0 3px rgba(242, 201, 158, .2); }
.field.is-invalid input { border-color: #ff9d86; box-shadow: 0 0 0 3px rgba(255, 157, 134, .18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  border: 1px solid rgba(212, 174, 136, .5);
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-2);
  transition: background-color .2s, color .2s, border-color .2s;
}
.opt:hover span { border-color: var(--copper-lt); color: var(--cream); }
.opt input:checked + span { background: var(--copper-btn); border-color: var(--copper-btn); color: #fff8f1; }
.opt input:focus-visible + span { outline: 2px solid var(--copper-lt); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { position: relative; display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; cursor: pointer; font-size: .82rem; line-height: 1.55; color: var(--cream-2); }
.check input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.check__box { width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid rgba(212, 174, 136, .7); color: transparent; transition: background-color .2s, color .2s; }
.check__box svg { width: 16px; height: 16px; }
.check input:checked + .check__box { background: var(--copper-btn); border-color: var(--copper-btn); color: #fff; }
.check input:focus-visible + .check__box { outline: 2px solid var(--copper-lt); outline-offset: 2px; }
.check.is-invalid .check__box { border-color: #ff9d86; }
.form__error { padding: 12px 14px; border: 1px solid #ff9d86; color: #ffd1c6; font-size: .86rem; background: rgba(120, 30, 10, .25); }
.form__note { font-size: .78rem; color: var(--cream-2); text-align: center; }
.form-ok { display: grid; gap: 16px; justify-items: start; outline: none; }
.form-ok__bird {
  width: 92px; height: 48px; background: #f2c99e;
  -webkit-mask: url(../img/passaro-mascara-900.webp) center / contain no-repeat;
  mask: url(../img/passaro-mascara-900.webp) center / contain no-repeat;
  animation: fly-in 1.1s var(--ease-out) both;
}
@keyframes fly-in { from { opacity: 0; transform: translate(-30px, 18px) rotate(-8deg); } to { opacity: 1; transform: none; } }
.form-ok .h3 { font-size: 1rem; color: var(--cream); }
.form-ok p { color: var(--cream-2); }

/* ---------------- rodapé ---------------- */
.footer { background: var(--satin-950); padding: 56px 0 120px; font-size: .84rem; color: var(--cream-2); }
.footer__grid { display: grid; gap: 24px; align-items: center; }
.footer__logo { width: 150px; }
.footer__info { display: grid; gap: 6px; }
.footer__info b { color: var(--cream); font-weight: 600; }
.footer a { color: var(--copper-lt); }
.footer a:hover { color: var(--cream); }
.footer__legal { margin-top: 32px; padding-top: 24px; border-top: 1px solid rgba(166, 119, 86, .35); display: grid; gap: 10px; font-size: .74rem; line-height: 1.65; color: #b5a594; }

/* ---------------- WhatsApp fixo ---------------- */
.wa-float {
  position: fixed; z-index: 70; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .38);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
  animation: wa-pulse 2.8s ease-out infinite;
}
@keyframes wa-pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .5); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
.wa-float:hover { transform: scale(1.07); box-shadow: 0 14px 30px rgba(0, 0, 0, .45); }
.wa-bubble {
  position: fixed; z-index: 70; right: 16px; bottom: calc(88px + env(safe-area-inset-bottom));
  width: min(300px, calc(100vw - 32px));
  padding: 16px 44px 16px 18px;
  background: var(--cream); color: var(--satin-900);
  box-shadow: 0 16px 40px rgba(10, 6, 3, .4);
  font-size: .88rem; line-height: 1.5;
  animation: rise-in .6s var(--ease-out) both;
}
.wa-bubble::after { content: ""; position: absolute; right: 26px; bottom: -8px; width: 16px; height: 16px; background: var(--cream); transform: rotate(45deg); }
.wa-bubble b { color: var(--copper-ink); }
.wa-bubble__x { position: absolute; right: 6px; top: 6px; width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: none; color: var(--satin-700); }
.wa-bubble__x svg { width: 16px; height: 16px; }

/* ---------------- visualizador (zoom) ---------------- */
.viewer {
  width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(20, 15, 11, .97); color: var(--cream);
  overflow: hidden;
}
.viewer::backdrop { background: rgba(10, 7, 5, .7); }
.viewer[open] { display: grid; grid-template-rows: auto 1fr auto; }
.viewer__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 14px 12px 20px; border-bottom: 1px solid rgba(166, 119, 86, .35); }
.viewer__cap { font-size: .7rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--cream); min-width: 0; }
.viewer__tools { display: flex; gap: 8px; flex: none; }
.vbtn { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(166, 119, 86, .7); background: transparent; color: var(--cream); }
.vbtn svg { width: 20px; height: 20px; }
.vbtn:hover { background: rgba(166, 119, 86, .25); }
.viewer__stage { position: relative; overflow: hidden; touch-action: none; cursor: grab; }
.viewer__stage.is-dragging { cursor: grabbing; }
.viewer__stage img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; }
.viewer__stage.is-paper { background: var(--paper); }
.viewer__nav { position: absolute; top: 50%; z-index: 2; background: rgba(28, 21, 16, .75); }
.viewer__nav--prev { left: 14px; }
.viewer__nav--next { right: 14px; }
.viewer.is-single .viewer__nav { display: none; }
.viewer__hint { padding: 10px 20px calc(12px + env(safe-area-inset-bottom)); font-size: .78rem; color: var(--cream-2); text-align: center; }

/* ---------------- revelação na rolagem ---------------- */
.js [data-reveal] { transition: opacity .9s ease, transform 1.2s var(--ease-out), clip-path 1.2s var(--ease-out); }
.js [data-reveal].pre { opacity: 0; transform: translateY(40px); clip-path: inset(14% 0 0 0); }
.js .sky.pre .sky__title span { letter-spacing: .9em; opacity: 0; }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sky__fig img, .units__open img {
      animation: drift linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }
    @keyframes drift { from { transform: scale(1.14) translateY(-3%); } to { transform: scale(1.02) translateY(3%); } }
  }
}

/* ============ celular estreito: faixas em coluna, marcadores menores ============ */
@media (max-width: 559px) {
  .badge, .hero__badge { display: grid; grid-template-columns: 1fr; }
  .badge li, .hero__badge li:nth-child(3) { border-left: 0; margin-left: 0; }
  .badge li + li { border-top: 1px solid var(--copper); }
  .pin { width: 23px; height: 23px; margin: -11.5px 0 0 -11.5px; font-size: .69rem; border-width: 1.5px; }
  .spot { width: 25px; height: 25px; margin: -12.5px 0 0 -12.5px; font-size: .7rem; }
  .spot::before { inset: -5px; }
  .wa-bubble { width: min(260px, calc(100vw - 32px)); font-size: .84rem; }
}

/* ============ tablet ============ */
@media (min-width: 700px) {
  .hero__tower { height: 54svh; }
  .arrival__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: 48px; }
  .arrival__copy { padding-bottom: 8px; }
  .feats__cols { grid-template-columns: 1fr 1fr; gap: 56px; }
  .broker__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; }
  .floorplate { grid-template-columns: 300px 1fr; }
  .thumbs { grid-auto-columns: 136px; }
}

/* ============ desktop: painel do elevador fixo ============ */
@media (min-width: 1000px) {
  :root { --rail-space: 112px; --top-h: 64px; }
  body { font-size: 1.0625rem; }

  .lift-toggle, .lift-backdrop, .lift__close { display: none !important; }
  .lift {
    top: 50%; bottom: auto; right: var(--lift-gap);
    width: var(--lift-w);
    padding: 12px 10px 14px;
    gap: 14px;
    transform: translateY(-50%);
    clip-path: none;
    visibility: visible;
    overflow: visible;
    border: 1px solid rgba(166, 119, 86, .6);
    box-shadow: 0 24px 60px rgba(8, 5, 2, .45);
    transition: width .55s var(--ease-out), padding .55s var(--ease-out);
  }
  .lift__head { flex-direction: column; gap: 10px; }
  .lift__display { min-width: 0; width: 100%; height: 54px; padding: 0 6px; gap: 4px; }
  .lift__dir { width: 10px; height: 10px; }
  .lift__code { font-size: 1.45rem; }
  .lift__code.is-bird { width: 34px; height: 18px; }
  .lift__now { display: none; }
  .lift__body { padding-left: 0; }
  .lift__stops { gap: 8px; align-items: center; }
  .lift__btn { min-height: 46px; gap: 0; }
  .lift__key { width: 44px; height: 44px; }
  .lift__label {
    position: absolute; right: calc(100% + 16px); top: 50%; transform: translate(6px, -50%);
    white-space: nowrap; padding: 9px 14px;
    background: var(--satin-950); border: 1px solid rgba(166, 119, 86, .6);
    color: var(--cream);
    opacity: 0; pointer-events: none;
    transition: opacity .2s, transform .3s var(--ease-out);
  }
  .lift__btn:hover .lift__label, .lift__btn:focus-visible .lift__label { opacity: 1; transform: translate(0, -50%); }
  .lift__shaft { display: none; }
  .lift__plate { display: none; }

  /* painel aberto na capa */
  .at-hero .lift { width: var(--lift-w-open); padding: 20px 18px 18px; }
  .at-hero .lift__head { flex-direction: row; }
  .at-hero .lift__display { width: auto; min-width: 86px; height: 60px; }
  .at-hero .lift__now { display: block; }
  .at-hero .lift__body { padding-left: 18px; }
  .at-hero .lift__stops { align-items: stretch; }
  .at-hero .lift__btn { gap: 14px; }
  .at-hero .lift__label {
    position: static; transform: none; opacity: 1; pointer-events: auto;
    padding: 0; background: none; border: 0; white-space: normal; color: inherit;
  }
  .at-hero .lift__shaft { display: block; }
  .at-hero .lift__plate { display: block; }

  .topbar { padding-right: calc(var(--rail-space) + 8px); }
  .topbar__logo img { width: 104px; }
  .topbar__status { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--cream-2); }
  .topbar__cta { display: inline-flex; margin-left: auto; }

  .hero { display: grid; grid-template-columns: minmax(320px, 34vw) minmax(0, 1fr); min-height: max(660px, 100svh); }
  .hero__tower { height: auto; min-height: 100%; }
  .hero__tower img { object-position: 52% 30%; }
  .hero__body {
    justify-content: center;
    padding: 64px calc(var(--lift-w-open) + var(--lift-gap) + 48px) 56px clamp(44px, 5vw, 96px);
  }
  .hero__logo { width: 280px; margin-bottom: 34px; }
  .hero__lead { order: 3; margin-top: 24px; }
  .hero__ctas { order: 4; margin-top: 30px; }
  .hero__badge { order: 5; margin-top: 30px; }

  .leisure__grid { grid-template-columns: minmax(0, 1.18fr) minmax(0, .92fr); gap: 56px; align-items: start; }
  .leisure__mapcol { position: sticky; top: calc(var(--top-h) + 24px); }

  .plan { grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
  .plan__side { padding-top: 104px; }

  .site__grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 64px; align-items: start; }
  .spec { grid-template-columns: 1fr; }

  .signup__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }

  .footer__grid { grid-template-columns: 180px 1fr; gap: 48px; }
  .wa-float { right: 24px; bottom: 24px; width: 64px; height: 64px; }
  .wa-bubble { right: 24px; bottom: 100px; }
}

@media (min-width: 1000px) and (max-height: 760px) {
  .at-hero .lift { padding: 14px 16px; gap: 12px; }
  .at-hero .lift__stops { gap: 4px; }
  .at-hero .lift__plate { display: none; }
}

@media (min-width: 1300px) {
  .hero__body { padding-left: clamp(64px, 6vw, 120px); }
  .plan { grid-template-columns: minmax(0, 1fr) 320px; gap: 64px; }
}

/* ============ movimento reduzido ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal].pre { opacity: 1; transform: none; clip-path: none; }
  .js .sky.pre .sky__title span { letter-spacing: .32em; opacity: 1; }
}
