/* Zagári Nascimento — light mode em todo o site
   Paleta vinda do próprio perfil: carmim do retrato (#AF3A3B), rosa dos destaques (#FDC0CA),
   ameixa dos ícones, sobre um papel quente que deixa a leitura confortável. */
/* ---------- Fontes hospedadas no site (assets/fonts, licença OFL) ---------- */
@font-face { font-family: 'Gloock'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/gloock-400.woff2') format('woff2'); }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-weight: 400; font-display: swap; src: url('../assets/fonts/instrument-serif-400-italic.woff2') format('woff2'); }
@font-face { font-family: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('../assets/fonts/hanken-grotesk-var.woff2') format('woff2'); }

:root {
  --paper: #FBF4EE;
  --paper-2: #FFFAF6;
  --blush: #FBE7E4;
  --rose: #FDC0CA;
  --carmine: #AF3A3B;
  --carmine-d: #8E2A30;
  --wine: #43101F;
  --wine-2: #6B3A45;
  --line: rgba(67, 16, 31, .14);
  --display: 'Gloock', 'Georgia', serif;
  --accent: 'Instrument Serif', 'Georgia', serif;
  --body: 'Hanken Grotesk', 'Segoe UI', system-ui, sans-serif;
  --gut: clamp(20px, 4.4vw, 72px);
  --r-l: 30px;
  --r-m: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--paper); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--wine);
  font: 400 clamp(1rem, .96rem + .2vw, 1.125rem)/1.55 var(--body);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }
em { font-style: italic; }
:focus-visible { outline: 3px solid var(--carmine); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--wine); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip:focus { top: 12px; }

#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main { position: relative; z-index: 2; }

/* ---------- Tipografia ---------- */
.display, .h-xl, .h-lg, .h-md, .home h3, .type-big { font-family: var(--display); font-weight: 400; letter-spacing: -.012em; color: var(--wine); }
.display { font-size: clamp(2.7rem, 5.5vw, 5.9rem); line-height: 1.01; }
.h-xl { font-size: clamp(2.15rem, 4.3vw, 4.5rem); line-height: 1.03; }
.h-lg { font-size: clamp(1.8rem, 3vw, 3.05rem); line-height: 1.06; }
.h-md { font-size: clamp(1.6rem, 2.4vw, 2.4rem); line-height: 1.08; }
.display em, .h-xl em, .h-lg em, .type-big em {
  font-family: var(--accent); font-style: italic; color: var(--carmine); letter-spacing: -.01em; font-size: 1.08em; line-height: .95;
}
.lede { font-size: clamp(1.04rem, 1.28vw, 1.26rem); color: var(--wine-2); max-width: 35em; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .05em; color: var(--carmine-d); }
.tag svg { width: 12px; height: 12px; color: var(--carmine); }

/* ---------- Glass ---------- */
.glass {
  position: relative;
  background: linear-gradient(140deg, rgba(255,255,255,.66), rgba(255,241,238,.4));
  -webkit-backdrop-filter: blur(20px) saturate(165%);
  backdrop-filter: blur(20px) saturate(165%);
  border: 1px solid rgba(255,255,255,.82);
  box-shadow: 0 30px 70px -36px rgba(90,26,44,.42), 0 2px 6px rgba(90,26,44,.05), inset 0 1px 0 rgba(255,255,255,.95), inset 0 -1px 0 rgba(175,58,59,.09);
  border-radius: var(--r-l);
}
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(340px circle at var(--mx, 18%) var(--my, 0%), rgba(255,255,255,.75), transparent 62%);
  opacity: .8;
}
.glass > * { position: relative; }
.plate { padding: clamp(22px, 2.7vw, 42px); }

/* ---------- Botões glass ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px; overflow: hidden;
  font: 600 1.02rem/1.1 var(--body); text-decoration: none; cursor: pointer; white-space: nowrap;
  -webkit-backdrop-filter: blur(14px) saturate(170%); backdrop-filter: blur(14px) saturate(170%);
  transition: box-shadow .26s ease, background-color .26s ease;
}
.btn .ico { width: 20px; height: 20px; flex: none; }
.btn::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.42), transparent);
  transform: skewX(-18deg); transition: left .7s cubic-bezier(.2,.7,.2,1); pointer-events: none;
}
.btn:hover::after { left: 115%; }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, rgba(175,58,59,.94), rgba(142,42,48,.9));
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: 0 16px 34px -14px rgba(142,42,48,.75), inset 0 1px 0 rgba(255,255,255,.42);
}
.btn-primary:hover { box-shadow: 0 22px 44px -14px rgba(142,42,48,.9), inset 0 1px 0 rgba(255,255,255,.55); }
.btn-glass {
  color: var(--wine);
  background: rgba(255,255,255,.5);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 12px 28px -16px rgba(90,26,44,.45), inset 0 1px 0 #fff;
}
.btn-glass:hover { background: rgba(255,255,255,.78); }
.btn-sm { min-height: 46px; padding: 0 18px; font-size: .95rem; }
.btn-xl { min-height: 64px; width: 100%; font-size: 1.1rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; background: var(--paper); }
.loader-mark { width: 110px; height: 110px; }

/* ---------- Trilho de progresso ---------- */
.rail { position: fixed; z-index: 15; right: 18px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; pointer-events: none; }
.rail-line { display: block; width: 2px; height: 130px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail-line i { display: block; width: 100%; height: 100%; background: var(--carmine); transform-origin: top; transform: scaleY(0); }
.rail-num { font: 400 .92rem var(--display); color: var(--carmine-d); }
.rail { transition: opacity .3s ease; }
.rail.off { opacity: 0; }

/* ---------- Estrutura de seções ---------- */
.sec { position: relative; }
#inicio { height: 170vh; }
#caminhos { height: 340vh; }
#processo { height: 480vh; }
#bairros { height: 800vh; }
#imoveis { height: 460vh; }
#zagari { height: 300vh; }
#depoimento { height: 160vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.panel { position: absolute; visibility: hidden; }

/* ---------- Hero ---------- */
.hero-plate {
  position: absolute; left: var(--gut); top: calc(50% + 22px); transform: translateY(-50%);
  width: min(58vw, 860px); padding: clamp(24px, 2.7vw, 44px); display: grid; gap: clamp(14px, 1.5vw, 22px);
}
.eyebrow { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; color: var(--carmine-d); }
.eyebrow-face { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 12%; border: 2px solid #fff; box-shadow: 0 4px 12px -4px rgba(90,26,44,.5); }
.word { display: inline-block; overflow: hidden; vertical-align: top; padding: .08em .04em .14em; margin: -.08em -.04em -.14em; }
.word > span { display: inline-block; will-change: transform; }
/* Foto de fundo do topo (teste): opaca, com as bordas esfumadas na cor do papel; cobre as chaves 3D e some ao rolar */
.hero-bg {
  position: absolute; right: 0; bottom: 0; height: 84%; width: auto; max-width: none; transform: translateX(17%); pointer-events: none;
}
/* Celular: a foto vira uma faixa no alto e o quadro do texto sobe por cima do peito */
.calm .hero-bg { position: relative; right: auto; bottom: auto; transform: none; width: calc(100% + 2 * var(--gut)); height: 340px; margin: -92px calc(-1 * var(--gut)) -150px; object-fit: cover; object-position: 80% 20%;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent); }
.hero-proof { position: absolute; right: calc(var(--gut) + 22px); bottom: clamp(22px, 4.5vh, 44px); max-width: 300px; display: grid; gap: 4px; text-align: right; justify-items: end; }
/* com a foto atrás, o depoimento ganha um fundo para continuar legível */
#inicio .hero-proof { padding: 14px 18px; border-radius: 18px; background: rgba(255,250,246,.82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 12px 28px -18px rgba(90,26,44,.45); }
.hero-proof blockquote { font: italic 400 1.22rem/1.2 var(--accent); color: var(--wine); }
.hero-proof figcaption { font-size: .82rem; color: var(--wine-2); }
.stars-row { display: inline-flex; gap: 3px; color: var(--carmine); }
.stars-row svg { width: 15px; height: 15px; }
.stars-lg svg { width: 22px; height: 22px; }
.scroll-cue { position: absolute; left: var(--gut); bottom: clamp(16px, 3vh, 30px); display: flex; align-items: center; gap: 12px; font-size: .84rem; font-weight: 500; color: var(--wine-2); }
.scroll-cue i { display: block; width: 46px; height: 2px; background: var(--carmine); transform-origin: left; animation: cue 2.2s cubic-bezier(.7,0,.2,1) infinite; }
@keyframes cue { 0% { transform: scaleX(0); } 55% { transform: scaleX(1); transform-origin: left; } 56% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }

/* ---------- Duas chaves ---------- */
.split-title { left: 50%; top: 50%; width: min(56vw, 780px); margin-left: calc(min(56vw, 780px) / -2); transform: translateY(-50%); text-align: center; display: grid; gap: 14px; }
.split-title p { color: var(--wine-2); max-width: 30em; margin-inline: auto; }
.path { top: 50%; width: min(48vw, 620px); padding: clamp(24px, 2.6vw, 40px); display: grid; gap: 16px; justify-items: start; }
.path-buy { left: var(--gut); }
.path-sell { right: calc(var(--gut) + 18px); }
.ticks { display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--wine-2); line-height: 1.42; }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: .22em; width: 16px; height: 16px; background: var(--carmine);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 7.2 4.800 11.100 12 12-7.200.9-11.100 4.800-12 12-.9-7.200-4.800-11.100-12-12C7.200 11.100 11.100 7.200 12 0z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0c.9 7.2 4.800 11.100 12 12-7.200.9-11.100 4.800-12 12-.9-7.200-4.800-11.100-12-12C7.200 11.100 11.100 7.200 12 0z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.path-sell { top: calc(50% + 36px); } /* centro da área abaixo do topo: o painel é alto */
.path-lede, .path-note { color: var(--wine-2); }
/* Telas baixas: a Gestão Exclusiva fica mais compacta (o JS ainda encolhe se faltar espaço) */
@media (min-width: 821px) and (min-aspect-ratio: 9/10) and (max-height: 820px) {
  .path-sell { gap: 11px; padding: 26px 30px; }
  .path-sell .h-lg { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
  .path-sell .ticks { gap: 6px; }
  .path-sell .ticks li { font-size: .95rem; line-height: 1.35; }
  .path-sell .path-note { font-size: .85rem; line-height: 1.4; }
}
@media (max-width: 820px) and (max-height: 760px), (max-aspect-ratio: 9/10) and (max-height: 760px) {
  .path.path-sell { gap: 7px; }
  .path-sell .h-lg { font-size: 1.5rem; }
  .path-sell .path-lede { font-size: .86rem; line-height: 1.35; }
  .path-sell .ticks { gap: 4px; }
  .path-sell .ticks li { font-size: .84rem; line-height: 1.3; }
  .path-sell .path-note { font-size: .8rem; line-height: 1.35; }
}
.path-note { font-size: .92rem; line-height: 1.45; }
.reel { left: calc(var(--gut) + 3vw); bottom: 7vh; width: clamp(150px, 15vw, 230px); border-radius: var(--r-m); overflow: hidden; box-shadow: 0 30px 60px -28px rgba(90,26,44,.6); background: var(--blush); }
.reel figcaption { padding: 7px 12px; font-size: .78rem; font-weight: 600; color: var(--carmine-d); background: #fff; }

/* ---------- Processo ---------- */
.proc-head { left: var(--gut); top: 50%; transform: translateY(-50%); width: min(50vw, 720px); display: grid; gap: 12px; }
.step { left: var(--gut); top: 50%; width: min(38vw, 500px); padding: clamp(22px, 2.3vw, 36px); display: grid; gap: 10px; }
.step p { color: var(--wine-2); }
.step-n { font: 400 clamp(2.6rem, 4.6vw, 4.6rem)/1 var(--display); color: var(--carmine); }
.step-n small { font-size: .3em; color: var(--wine-2); margin-left: 6px; }
.step-img { width: 100%; height: clamp(90px, 17vh, 170px); object-fit: cover; border-radius: 14px; margin-top: 6px; }

/* ---------- Bairros ---------- */
.bairro-intro { left: var(--gut); top: 50%; transform: translateY(-50%); width: min(50vw, 720px); display: grid; gap: 12px; }
.bairro-intro p, .proc-head p, .dep-title p { color: var(--wine-2); max-width: 32em; }
.bairro { left: var(--gut); top: 50%; width: min(38vw, 500px); padding: clamp(22px, 2.3vw, 36px); display: grid; gap: 12px; }
.bairro > p:not(.tag) { color: var(--wine-2); }
.deals { display: grid; border-top: 1px solid var(--line); }
.deals li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .96rem; }
.deals b { font: 400 1.12rem var(--display); color: var(--carmine-d); white-space: nowrap; }
.deal-link { font-weight: 600; color: var(--carmine-d); white-space: nowrap; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.deal-link:hover { color: var(--carmine); }
button.deal-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; cursor: pointer; }
/* área de toque de 44 px sem mudar o desenho do link (VX3) */
.deal-link { position: relative; display: inline-flex; align-items: center; min-height: 44px; margin: -12px 0; padding: 0 2px; }
.deals span b { font: inherit; font-weight: 600; color: var(--carmine-d); white-space: nowrap; }
.map-labels { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.map-label {
  position: absolute; left: 0; top: 0; padding: 6px 12px; border-radius: 999px;
  font-size: .82rem; font-weight: 600; white-space: nowrap; color: var(--wine);
  background: rgba(255,255,255,.72); border: 1px solid #fff; box-shadow: 0 10px 22px -12px rgba(90,26,44,.5);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: background-color .3s ease, color .3s ease;
}
.map-label.on { background: rgba(175,58,59,.95); color: #fff; border-color: rgba(255,255,255,.5); }

/* ---------- Galeria ---------- */
.stage-track { display: flex; align-items: center; perspective: 1400px; }
.track { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); padding: 0 var(--gut); padding-top: 72px; will-change: transform; perspective: 1400px; }
.track-intro { flex: none; width: min(50vw, 680px); display: grid; gap: 14px; }
.track-intro p:not(.tag) { color: var(--wine-2); }
.track-end { flex: none; width: min(44vw, 560px); display: grid; gap: 14px; justify-items: start; margin-right: 4vw; }
.track-end p { color: var(--wine-2); }
.home {
  flex: none; width: clamp(290px, 28vw, 420px); background: var(--paper-2); border-radius: var(--r-l); overflow: hidden;
  box-shadow: 0 34px 70px -40px rgba(90,26,44,.55), 0 0 0 1px rgba(67,16,31,.06); display: flex; flex-direction: column;
  will-change: transform;
}
.home-xl { width: clamp(320px, 36vw, 540px); }
.home-low { margin-top: 7vh; }
.home-high { margin-top: -7vh; }
.home-img { overflow: hidden; height: clamp(170px, 34vh, 340px); }
.home-xl .home-img { height: clamp(190px, 41vh, 420px); }
.home-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.home:hover .home-img img { transform: scale(1.045); }
.home-body { padding: clamp(16px, 1.6vw, 24px); display: grid; gap: 8px; }
.home-where { font-size: .82rem; font-weight: 600; color: var(--carmine-d); }
.home h3 { font-size: clamp(1.25rem, 1.65vw, 1.7rem); line-height: 1.12; }
.specs { display: flex; flex-wrap: wrap; gap: 3px 12px; font-size: .9rem; color: var(--wine-2); }
.specs li:not(:last-child)::after { content: '·'; margin-left: 12px; color: var(--carmine); }
.home-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.home-foot b { font: 400 clamp(1.25rem, 1.7vw, 1.72rem) var(--display); color: var(--carmine-d); white-space: nowrap; }
.home-foot b.soft { font: 500 .98rem var(--body); color: var(--wine-2); }
.home-type { padding: clamp(20px, 2vw, 30px); background: var(--rose); gap: 12px; width: clamp(270px, 23vw, 350px); }
.home-type .home-where { color: var(--wine); }
.home-type-alt { background: var(--carmine); }
.home-type-alt .home-where, .home-type-alt h3, .home-type-alt .type-big, .home-type-alt .type-big em { color: #fff; }
.home-type-alt .btn-primary { background: #fff; color: var(--carmine-d); }

/* Capa clicável e contador de fotos */
.home-open { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--blush); cursor: zoom-in; font: inherit; color: inherit; text-align: left; }
.home-open .home-img { display: block; }
.home-count {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 999px;
  font-size: .84rem; font-weight: 600; color: var(--wine); background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 10px 24px -14px rgba(90,26,44,.6);
}
.home-count .ico, .feat-tag .ico { width: 16px; height: 16px; }
.ico.flip { transform: scaleX(-1); }

/* Imóvel em destaque: ocupa boa parte da tela */
.home-feature { flex-direction: row; width: min(74vw, 1120px); height: min(74vh, 660px); }
.feat-media { flex: 1.35; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 6px; }
.feat-media .home-open { flex: 1; min-height: 0; border-radius: 22px; overflow: hidden; }
.feat-media .home-img { height: 100%; }
.feat-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; height: clamp(64px, 12vh, 104px); }
.feat-thumb { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--blush); }
.feat-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.feat-thumb:hover img { transform: scale(1.07); }
.feat-thumb span { position: absolute; inset: 0; display: grid; place-items: center; font: 400 1.5rem var(--display); color: #fff; background: rgba(67,16,31,.48); }
.home-feature .home-body { flex: 1; min-width: 0; align-content: center; gap: 12px; padding: clamp(20px, 2.4vw, 38px); overflow: auto; }
.home-feature h3 { font-size: clamp(1.6rem, 2.5vw, 2.6rem); line-height: 1.04; }
.feat-tag { display: inline-flex; align-items: center; gap: 7px; justify-self: start; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--carmine-d); background: var(--blush); }
.feat-lede { color: var(--wine-2); }
.home-feature .home-foot b { font-size: clamp(1.7rem, 2.6vw, 2.5rem); }
.feat-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Galeria em tela cheia ---------- */
html.lb-open, html.lb-open body { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 60; }
.lb[hidden] { display: none; }
.lb-backdrop { position: fixed; inset: 0; background: rgba(251,244,238,.86); -webkit-backdrop-filter: blur(22px) saturate(140%); backdrop-filter: blur(22px) saturate(140%); }
.lb-shell { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 400px); gap: 18px; padding: 22px 22px 22px 22px; }
.lb-media { min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 12px; }
.lb-stage { position: relative; min-height: 0; border-radius: 22px; overflow: hidden; background: #EFE2DA; box-shadow: 0 40px 80px -50px rgba(90,26,44,.7); touch-action: pan-y; user-select: none; }
.lb-img { width: 100%; height: 100%; object-fit: contain; -webkit-user-drag: none; }
.lb-ghost { position: fixed; z-index: 61; object-fit: cover; border-radius: 0; pointer-events: none; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 54px; height: 54px; padding: 0; border-radius: 50%; cursor: pointer; color: var(--wine); }
.lb-nav .ico { width: 22px; height: 22px; }
.lb-nav[hidden] { display: none; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }
.lb-meta { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; font-size: .9rem; }
.lb-count { font: 400 1rem var(--display); color: var(--carmine-d); }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: thin; }
.lb-thumbs[hidden] { display: none; }
.lb-thumbs button { flex: none; width: 96px; height: 66px; padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; cursor: pointer; background: var(--blush); opacity: .6; transition: opacity .2s ease, border-color .2s ease; }
.lb-thumbs button:hover { opacity: .9; }
.lb-thumbs button.on { opacity: 1; border-color: var(--carmine); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.lb-info { min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 28px 26px; display: grid; align-content: start; gap: 14px; background: linear-gradient(140deg, rgba(255,255,255,.86), rgba(255,244,241,.7)); }
.lb-title { font: 400 clamp(1.6rem, 2.2vw, 2.2rem)/1.06 var(--display); padding-right: 40px; }
.lb-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font: 400 clamp(1.8rem, 2.5vw, 2.4rem)/1 var(--display); color: var(--carmine-d); }
.lb-price small { font: 600 .82rem var(--body); color: var(--carmine-d); background: var(--blush); padding: 5px 11px; border-radius: 999px; }
.lb-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.lb-specs li { padding: 6px 12px; border-radius: 999px; font-size: .88rem; font-weight: 500; background: rgba(255,255,255,.8); border: 1px solid var(--line); }
.lb-desc { display: grid; gap: 10px; color: var(--wine-2); font-size: .98rem; line-height: 1.55; padding-top: 4px; border-top: 1px solid var(--line); }
.lb-desc p:first-child { padding-top: 12px; }
.lb-groups { display: grid; gap: 16px; }
.lb-group h4 { margin: 0 0 8px; font: 400 1.15rem var(--display); color: var(--wine); }
.lb-group .ticks li { font-size: .94rem; }
.lb-note { font-size: .8rem; color: var(--wine-2); }
.lb-agent { padding-top: 12px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--wine-2); }
.lb-agent b { font-weight: 600; color: var(--wine); }
.lb-close { position: absolute; top: 30px; right: 30px; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border-radius: 50%; cursor: pointer; color: var(--wine); }
.lb-close .ico { width: 20px; height: 20px; }
.type-big { font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: .94; color: var(--wine); }
.type-big em { color: var(--carmine-d); }

/* ---------- Quem é ---------- */
.about { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: clamp(20px, 3vw, 56px); padding: 70px calc(var(--gut) + 18px) 24px var(--gut); }
.door {
  position: relative; justify-self: center; height: min(78svh, 680px); aspect-ratio: 331 / 411; max-width: 100%;
  border-radius: 999px 999px 18px 18px; overflow: hidden; perspective: 1100px;
  box-shadow: 0 0 0 9px #fff, 0 0 0 10px rgba(175,58,59,.28), 0 50px 90px -46px rgba(90,26,44,.75); background: var(--carmine);
}
.door-photo { width: 100%; height: 100%; object-fit: cover; }
.leaf { position: absolute; top: 0; bottom: 0; width: 50%; background: linear-gradient(170deg, #FFD3DB, #FDC0CA 55%, #F4A9B6); will-change: transform; }
.leaf span { position: absolute; inset: 22% 14% 7%; border: 2px solid rgba(175,58,59,.34); border-radius: 8px; }
.leaf-l { left: 0; transform-origin: left center; box-shadow: inset -1px 0 0 rgba(142,42,48,.3); }
.leaf-r { right: 0; transform-origin: right center; box-shadow: inset 1px 0 0 rgba(142,42,48,.3); }
.keyhole { position: absolute; left: 11%; top: 50%; width: 15px; height: 34px; }
.keyhole::before { content: ''; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--wine); }
.keyhole::after { content: ''; position: absolute; left: 3.500px; top: 11px; width: 8px; height: 22px; background: var(--wine); clip-path: polygon(22% 0, 78% 0, 100% 100%, 0 100%); }
.about-copy { display: grid; gap: 14px; }
.about-row { display: grid; grid-template-columns: minmax(0, 1fr) clamp(104px, 10vw, 150px); gap: clamp(14px, 1.6vw, 24px); align-items: center; }
.about-row p { color: var(--wine-2); }
/* Texto do "Quem sou eu": se não couber na tela, a coreografia o rola junto com a página (src/main.js) */
.about-text { overflow: hidden; }
.about-text-in { display: grid; gap: .7em; }
.about-text.is-clipped { -webkit-mask-image: linear-gradient(transparent, #000 16px, #000 calc(100% - 30px), transparent); mask-image: linear-gradient(transparent, #000 16px, #000 calc(100% - 30px), transparent); }
.about-text.is-clipped .about-text-in { padding: 16px 0 30px; }
.about-row .about-sign { font: italic 400 1.12rem/1.3 var(--accent); color: var(--carmine-d); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; border-top: 1px solid var(--line); padding-top: 14px; }
.facts dt { font-size: .78rem; font-weight: 600; color: var(--carmine-d); }
.facts dd { font: 400 clamp(1rem, 1.2vw, 1.22rem)/1.15 var(--display); }
.about-award { transform: rotate(3deg); border: 5px solid #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 36px -20px rgba(90,26,44,.6); }

/* ---------- Depoimentos ---------- */
.dep-stage { display: flex; flex-direction: column; justify-content: center; gap: clamp(18px, 3.2vh, 36px); padding: 84px 0 28px; }
.dep-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 28px; padding: 0 calc(var(--gut) + 18px) 0 var(--gut); }
.dep-title { display: grid; gap: 10px; }
.dep-score { display: inline-flex; align-items: center; gap: 14px; padding: 12px 22px 12px 18px; border-radius: 999px; text-decoration: none; color: var(--wine); transition: transform .3s cubic-bezier(.2,.7,.2,1); }
.dep-score:hover { transform: translateY(-2px); }
.dep-score b { font: 400 2.5rem/1 var(--display); color: var(--carmine-d); }
.dep-score > span { display: grid; gap: 3px; }
.dep-score .stars-row svg { width: 19px; height: 19px; }
.dep-score small { font-size: .86rem; font-weight: 600; color: var(--wine-2); }
.dep-viewport { position: relative; overflow: hidden; padding: 30px 0 46px; margin: -30px 0 -46px; }
.dep-track { display: flex; align-items: stretch; gap: clamp(16px, 1.8vw, 26px); width: max-content; padding: 0 var(--gut); will-change: transform; }
.dep-card { flex: none; width: clamp(320px, 30vw, 430px); display: flex; flex-direction: column; gap: 14px; padding: clamp(22px, 2vw, 30px); }
.dep-card::after { content: '“'; position: absolute; right: 22px; top: 4px; font: 400 5.4rem/1 var(--accent); color: var(--rose); pointer-events: none; }
.dep-card blockquote { flex: 1; font-size: 1rem; line-height: 1.55; color: var(--wine-2); }
.dep-card figcaption { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.dep-card figcaption i { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; font: 400 1.15rem var(--display); font-style: normal; color: #fff; background: linear-gradient(150deg, var(--carmine), var(--carmine-d)); box-shadow: 0 0 0 3px #fff; }
.dep-card figcaption span { display: grid; gap: 1px; min-width: 0; }
.dep-card figcaption strong { font: 400 1.08rem/1.2 var(--display); color: var(--wine); }
.dep-card figcaption small { font-size: .82rem; color: var(--wine-2); }
/* Nomes dos clientes borrados: o nome real não está no HTML, o texto borrado é só decorativo */
.dep-card figcaption .blur-name, .dep-card figcaption i.blur { filter: blur(5px); user-select: none; pointer-events: none; }
/* PC: a faixa corre sozinha (src/main.js). Pausar, Retomar e setas ficam ao lado da nota */
.dep-marquee .dep-viewport { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.dep-side { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 16px; }
.dep-ctrl { display: none; align-items: center; gap: 8px; }
.dep-marquee .dep-ctrl { display: flex; }
.dep-toggle { min-height: 46px; padding: 0 20px; border-radius: 999px; cursor: pointer; font: 600 .92rem var(--body); color: var(--wine); background: rgba(255,255,255,.72); border: 1px solid var(--line); transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.dep-toggle:hover { border-color: var(--carmine); }
.dep-paused .dep-toggle { color: #fff; background: var(--carmine-d); border-color: var(--carmine-d); }

/* ---------- Contato ---------- */
.contact { position: relative; }
.contact-grid { min-height: 100svh; display: flex; align-items: center; padding: 96px var(--gut) 40px; }
.contact-main { width: min(50vw, 680px); display: grid; gap: 14px; background: linear-gradient(140deg, rgba(255,255,255,.8), rgba(255,244,241,.62)); }
.contact-lede { color: var(--wine-2); }
form { display: grid; gap: 14px; margin-top: 2px; }
fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
legend, .field label { padding: 0; font-weight: 600; font-size: .96rem; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  font-weight: 500; font-size: .96rem; background: rgba(255,255,255,.7); border: 1px solid var(--line);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.chips span:hover { border-color: var(--carmine); }
.chips input:checked + span { background: var(--carmine); border-color: var(--carmine); color: #fff; }
.chips input:focus-visible + span { outline: 3px solid var(--carmine); outline-offset: 2px; }
.field { display: grid; }
.field label { margin-bottom: 8px; }
.field input { min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.82); font: 400 1rem var(--body); color: var(--wine); }
.field input::placeholder { color: #8b6a70; }
.bubble { align-self: start; padding: 12px 15px; border-radius: 4px 16px 16px 16px; background: #fff; border: 1px solid var(--line); color: var(--wine); font-size: .96rem; line-height: 1.4; }


/* ---------- Mobile ---------- */
@media (max-width: 820px), (max-aspect-ratio: 9/10) {
  .rail { display: none; }

  .plate { padding: 20px; }
  .glass { border-radius: 24px; }
  .hero-plate { left: 14px; right: 14px; width: auto; top: 72px; transform: none; padding: 18px; gap: 11px; }
  .display { font-size: clamp(2.2rem, 10.2vw, 3.1rem); }
  .lede { font-size: .98rem; line-height: 1.42; }
  .eyebrow { font-size: .84rem; }
  .eyebrow-face { width: 32px; height: 32px; }
  .btn { min-height: 50px; padding: 0 20px; font-size: .98rem; }
  .hero-proof { display: none; }
  .scroll-cue { display: none; }

  .split-title { left: 14px; right: 14px; width: auto; margin-left: 0; }
  .path { left: 14px; right: 14px; width: auto; top: auto; bottom: 14px; padding: 18px; gap: 10px; }
  .ticks { gap: 7px; }
  .ticks li { font-size: .93rem; line-height: 1.34; padding-left: 24px; }
  .path .btn { width: 100%; padding-inline: 12px; margin-right: 0; font-size: .9rem; gap: 8px; }
  .path-buy .btn, .path-sell .btn { max-width: calc(100% - 66px); }
  .reel { display: none; }

  .proc-head { left: 14px; right: 14px; width: auto; top: auto; bottom: 90px; transform: none; }
  .step { left: 14px; right: 14px; width: auto; top: auto; bottom: 14px; padding: 16px 18px; padding-right: 76px; gap: 5px; }
  .step-n { font-size: 2.1rem; }
  .step p { font-size: .94rem; line-height: 1.36; }
  .step-img { display: none; }

  .bairro-intro { left: 14px; right: 14px; width: auto; top: auto; bottom: 90px; transform: none; }
  .bairro { left: 14px; right: 14px; width: auto; top: auto; bottom: 14px; padding: 16px 18px; gap: 7px; }
  .bairro > p:not(.tag) { font-size: .94rem; line-height: 1.36; }
  .deals li { font-size: .88rem; padding: 7px 0; padding-right: 0; }
  .deals li:last-child { border-bottom: 0; padding-right: 62px; }
  .map-label { font-size: .72rem; padding: 4px 9px; }

  .track { padding-top: 40px; gap: 16px; padding-inline: 8vw; } /* 8vw + card de 84vw: o primeiro e o último ficam centralizados */
  .track-intro { width: 84vw; }
  .track-end { width: 84vw; }
  .home, .home-xl { width: 80vw; }
  .home-type { width: 74vw; }
  .home-low, .home-high { margin-top: 0; }
  .home-img, .home-xl .home-img { height: 30vh; }
  .home-feature { flex-direction: column; width: 88vw; height: auto; max-height: calc(100svh - 120px); }
  .feat-media { flex: none; }
  .feat-media .home-open { flex: none; }
  .feat-media .home-img { height: 27svh; }
  .feat-strip { height: 52px; }
  .home-feature .home-body { padding: 14px 16px 16px; gap: 8px; align-content: start; }
  .home-feature h3 { font-size: 1.4rem; }
  .feat-lede, .home-feature .specs li:nth-child(n+4) { display: none; }
  .home-feature .home-foot b { font-size: 1.6rem; }
  .feat-actions .btn { flex: 1 1 auto; padding-inline: 14px; }

  .lb-shell { display: block; height: auto; min-height: 100%; padding: 0 0 24px; }
  .lb { overflow-y: auto; overscroll-behavior: contain; }
  .lb-media { gap: 8px; }
  .lb-stage { height: 52svh; border-radius: 0; }
  .lb-thumbs { padding: 0 12px 4px; }
  .lb-thumbs button { width: 74px; height: 52px; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lb-meta { left: 10px; bottom: 10px; font-size: .82rem; padding: 6px 12px; }
  .lb-info { margin: 10px 12px 0; padding: 20px 18px; overflow: visible; }
  .lb-close { position: fixed; top: 12px; right: 12px; }

  .about { display: block; padding: 70px 14px 14px; }
  .door { height: 40svh; margin: 0 auto; display: block; }
  .about-copy { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 18px; gap: 9px; background: linear-gradient(140deg, rgba(255,255,255,.9), rgba(255,244,241,.82)); } /* F1: a foto da porta não mancha o texto longo */
  .about-copy .h-xl { font-size: 1.72rem; }
  .about-row { display: block; }
  .about-row p { font-size: .92rem; line-height: 1.36; }
  .facts { grid-template-columns: 1fr 1fr; gap: 8px; padding-top: 9px; padding-right: 62px; }
  .facts div:nth-child(2) { display: none; }
  .about-award { display: none; }

  .dep-stage { justify-content: flex-start; gap: 16px; padding: 78px 0 18px; }
  .dep-head { padding: 0 14px; gap: 12px; }
  .dep-head .h-xl { font-size: 1.9rem; }
  .dep-score { padding: 8px 16px 8px 14px; gap: 10px; }
  .dep-score b { font-size: 1.9rem; }
  .dep-score .stars-row svg { width: 15px; height: 15px; }
  .dep-score small { font-size: .78rem; }
  .dep-track { gap: 14px; padding: 0 8vw; align-items: flex-start; }
  .dep-card { transform-origin: 50% 0; }
  .dep-card { width: 84vw; gap: 10px; padding: 20px; }
  .dep-card::after { font-size: 4.4rem; right: 16px; }
  .dep-card blockquote { font-size: .94rem; line-height: 1.48; }
  .contact-grid { padding: 84px 14px 26px; align-items: flex-end; }
  .contact-main { width: 100%; margin-top: 21svh; padding-bottom: 20px; }
  .btn-xl { min-height: 58px; }
}

/* Telas baixas de notebook */
@media (min-width: 821px) and (min-aspect-ratio: 9/10) and (max-height: 720px) {
  .display { font-size: clamp(2.5rem, 4.8vw, 4.3rem); }
  .h-xl { font-size: clamp(2rem, 3.6vw, 3.4rem); }
  .plate { padding: 24px 28px; }
  .step-img, .about-award { display: none; }
  .about-row { display: block; }
  .ticks li { font-size: .96rem; }
  .contact-grid { padding-top: 76px; }
  /* depoimentos: cards mais largos e texto menor para o maior deles caber inteiro */
  .dep-stage { padding: 74px 0 16px; gap: 14px; }
  .dep-head { align-items: center; }
  .dep-score { padding: 8px 18px 8px 14px; }
  .dep-score b { font-size: 2rem; }
  .dep-card { width: clamp(400px, 40vw, 520px); gap: 10px; padding: 18px 22px; }
  .dep-card blockquote { font-size: .9rem; line-height: 1.45; }
  .dep-card figcaption { padding-top: 10px; }
  .dep-card figcaption i { width: 36px; height: 36px; }
}

/* ---------- Leitura normal: movimento reduzido (.rm) ou JavaScript indisponível (.nojs) ---------- */
.rm .sec, .nojs .sec { height: auto !important; }
.rm .stage, .nojs .stage { position: relative; height: auto; overflow: visible; padding: 90px var(--gut); display: grid; gap: 24px; }
.rm .panel, .rm .hero-plate, .rm .proc-head, .rm .bairro-intro, .rm .step, .rm .bairro, .rm .path, .rm .split-title, .nojs .panel, .nojs .hero-plate, .nojs .proc-head, .nojs .bairro-intro, .nojs .step, .nojs .bairro, .nojs .path, .nojs .split-title { position: relative; visibility: visible; inset: auto; transform: none; margin: 0; width: auto; }
.rm .reel, .rm .hero-proof, .rm .scroll-cue, .rm .map-labels, .rm .leaf, .rm #scene, .nojs .reel, .nojs .hero-proof, .nojs .scroll-cue, .nojs .map-labels, .nojs .leaf, .nojs #scene { display: none; }
.rm .stage-track, .nojs .stage-track { display: block; overflow-x: auto; }
.rm .dep-viewport, .nojs .dep-viewport { overflow-x: auto; }
.rm .dep-stage, .nojs .dep-stage { padding-inline: 0; }
.rm .about, .nojs .about { display: grid; grid-template-columns: 1fr; }
.rm .about-copy, .nojs .about-copy { position: relative; inset: auto; visibility: visible; opacity: 1; }
.about-copy.is-scroll, .path-sell.is-scroll { overflow-y: auto; overscroll-behavior: contain; }
.about-copy.is-scroll:focus-visible, .path-sell.is-scroll:focus-visible { outline: 2px solid var(--carmine); outline-offset: 3px; }
.rm .about-copy, .rm .path-sell, .nojs .about-copy, .nojs .path-sell { max-height: none !important; overflow: visible; }
.rm .about-text, .nojs .about-text { max-height: none !important; -webkit-mask-image: none; mask-image: none; }
.rm .about-text-in, .nojs .about-text-in { transform: none !important; padding-bottom: 0; }
.rm .door, .nojs .door { height: auto; width: min(100%, 420px); }
.rm .track, .nojs .track { transform: none !important; }
.rm .home, .rm .track > *, .nojs .home, .nojs .track > * { transform: none !important; }
.rm .dep-track, .rm .dep-card, .nojs .dep-track, .nojs .dep-card { transform: none !important; opacity: 1 !important; }
.rm .rail, .nojs .rail { display: none; }
/* Faixas de deslizar para o lado (vitrine e depoimentos no modo de leitura) */
.rm .stage-track { display: grid; overflow: visible; }
.rm .track-intro { width: auto; max-width: 680px; }
.swipe { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.swipe::-webkit-scrollbar { display: none; }
.swipe:focus-visible { outline: 2px solid var(--carmine); outline-offset: 4px; }
.rm .track.swipe { align-items: stretch; padding: 8px var(--gut) 12px; margin-inline: calc(var(--gut) * -1); }
.rm .track.swipe > * { scroll-snap-align: start; margin-top: 0; }
.rm .dep-viewport.swipe { margin: 0; padding: 8px 0 12px; }
.rm .dep-track { align-items: stretch; }
.rm .dep-card { scroll-snap-align: start; }
.swipe-bar { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 4px; }
.swipe-bar .icon-btn { width: 52px; height: 52px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(80, 20, 30, .08); }
.swipe-bar .icon-btn:disabled { opacity: .35; cursor: default; }
.swipe-info { display: grid; justify-items: center; gap: 2px; min-width: 120px; text-align: center; }
.swipe-count { font-weight: 600; font-size: 1.05rem; color: var(--wine); }
.swipe-info small { font-size: .82rem; color: var(--wine-2); }
.dep-stage .swipe-bar { padding-inline: var(--gut); }
/* Celular (página calma): sem a abertura animada e com a leitura mais folgada */
.calm .loader { display: none; }
.calm #processo, .calm .nav a[href="#processo"] { display: none; } /* "Como funciona" só no PC (pedido da cliente, 17/11) */
.calm .stage { padding-top: 36px; padding-bottom: 36px; }
.calm #inicio .stage { padding-top: 92px; }
.calm .track.swipe > * { width: 80vw; }
.calm .track.swipe .home-feature { height: auto; max-height: none; }
.rm .track.swipe .track-end { align-content: center; }
.calm .dep-track { padding-inline: var(--gut); }
.calm .dep-viewport.swipe { scroll-padding-inline: var(--gut); }
.calm .dep-card { width: 82vw; }
/* Sem JS as gavetas não abrem: o aviso de privacidade vira um bloco normal no fim da página */
.nojs #priv[hidden] { display: block; }
.nojs #priv { position: static; padding: 0 var(--gut) 60px; }
.nojs #priv .sheet-backdrop, .nojs #priv .sheet-close { display: none; }
.nojs #priv .sheet-panel { position: static; width: auto; max-width: 760px; overflow: visible; padding: 28px 0 0; background: none; box-shadow: none; border-top: 1px solid var(--line); }
/* Sem JS, busca e simulador não funcionam: os botões que só abrem gavetas saem de cena */
.nojs [data-finder], .nojs [data-sim], .nojs .hero-search, .nojs .dep-ctrl, .nojs #leadForm fieldset, .nojs #leadForm .field, .nojs .bubble, .nojs .form-note { display: none; }

/* Quem pede menos movimento no sistema: nenhuma transição ou animação em CSS (brilho, zoom de foto, menu) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .home:hover .home-img img, .feat-thumb:hover img, .fi-img:hover img, .dep-score:hover { transform: none !important; }
  .btn::after { display: none; }
}
.no-webgl #scene { display: none; }
.no-webgl body { background: linear-gradient(170deg, var(--paper), var(--blush)); }

/* ==========================================================================
   Recursos de imobiliária (atalhos, busca, simulador, rodapé completo)
   Tudo no visual que o site já tem: mesmas cores, fontes e vidro.
   ========================================================================== */
/* ---------- Topo: barra de atalhos + barra principal ---------- */
.top { position: fixed; z-index: 20; top: 0; left: 0; right: 0; pointer-events: none; transition: transform .38s cubic-bezier(.2,.7,.2,1); }
.top.compact { transform: translateY(-36px); }
.util {
  pointer-events: auto; height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gut); font-size: .8rem; font-weight: 500; color: var(--wine-2);
  background: rgba(255,250,246,.74); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.util-links { display: flex; gap: 24px; }
.util-links a, .util-links button {
  display: inline-flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none;
  font: inherit; color: inherit; text-decoration: none; cursor: pointer; transition: color .2s ease;
}
.util-links a:hover, .util-links button:hover { color: var(--carmine); }
.util .ico { width: 15px; height: 15px; color: var(--carmine); }
.util-side { display: flex; align-items: center; gap: 12px; }
.util-ig { display: grid; place-items: center; }
.util-ig .ico { width: 17px; height: 17px; }

.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gut); }
.bar > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 10px; padding: 5px 16px 5px 8px; border-radius: 999px; text-decoration: none; color: var(--wine); background: rgba(255,250,246,.66); border: 1px solid rgba(255,255,255,.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.brand-mark { width: 42px; height: 42px; color: var(--carmine); flex: none; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.15; }
.brand-txt strong { font: 400 1.14rem/1.1 var(--display); }
.brand-txt small { font-size: .74rem; color: var(--wine-2); }
.nav { display: flex; gap: 2px; padding: 5px; border-radius: 999px; }
.nav a { padding: 9px 14px; border-radius: 999px; font-size: .92rem; font-weight: 500; text-decoration: none; transition: background-color .2s ease; }
.nav a:hover { background: rgba(253,192,202,.55); }
.nav-extra { display: none; }
.bar-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; cursor: pointer; color: var(--wine);
  background: rgba(255,250,246,.66); border: 1px solid rgba(255,255,255,.85); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 12px 28px -16px rgba(90,26,44,.45); transition: color .2s ease, background-color .2s ease;
}
.icon-btn:hover { color: var(--carmine); background: rgba(255,255,255,.9); }
.icon-btn .ico { width: 20px; height: 20px; }
.burger { display: none; }

/* ---------- Busca no hero ---------- */
.hero-search {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; padding: 6px; border-radius: 22px;
  background: rgba(255,255,255,.8); border: 1px solid var(--line); box-shadow: 0 18px 40px -30px rgba(90,26,44,.6);
}
.hs-field { display: grid; gap: 1px; min-width: 0; padding: 7px 14px; border-right: 1px solid var(--line); cursor: pointer; }
.hs-field:nth-child(4) { border-right: 0; }
.hs-field > span { font-size: .72rem; font-weight: 600; letter-spacing: .04em; color: var(--carmine-d); }
.hs-field select {
  width: 100%; min-width: 0; padding: 2px 18px 2px 0; border: 0; border-radius: 6px; cursor: pointer;
  -webkit-appearance: none; appearance: none; background: transparent no-repeat right center / 13px;
  font: 500 .95rem var(--body); color: var(--wine); text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%238E2A30' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.hs-go {
  display: inline-flex; align-items: center; gap: 8px; padding: 0 22px; border: 1px solid rgba(255,255,255,.4); border-radius: 17px; cursor: pointer;
  font: 600 1rem var(--body); color: #fff; background: linear-gradient(135deg, rgba(175,58,59,.94), rgba(142,42,48,.9));
  box-shadow: 0 14px 28px -14px rgba(142,42,48,.75); transition: box-shadow .26s ease;
}
.hs-go:hover { box-shadow: 0 20px 36px -14px rgba(142,42,48,.9); }
.hs-go .ico { width: 18px; height: 18px; }
.hero-search-m { display: none; }

/* ---------- Selo "Venda" nos cards ---------- */
.home-badge {
  position: absolute; left: 14px; top: 14px; padding: 5px 11px; border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: var(--carmine);
  box-shadow: 0 8px 18px -10px rgba(142,42,48,.8);
}

/* ---------- Gavetas: busca e simulador ---------- */
html.sheet-open, html.sheet-open body { overflow: hidden; }
.sheet { position: fixed; inset: 0; z-index: 70; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(67,16,31,.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sheet-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(580px, 100%); overflow-y: auto; overscroll-behavior: contain;
  display: grid; align-content: start; gap: 18px; padding: 28px clamp(20px, 2.4vw, 34px) 34px;
  background: var(--paper-2); box-shadow: -30px 0 80px -40px rgba(90,26,44,.6);
}
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.sheet-title { margin-top: 6px; font: 400 clamp(1.7rem, 2.4vw, 2.3rem)/1.05 var(--display); }
.sheet-close { flex: none; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; cursor: pointer; color: var(--wine); background: #fff; border: 1px solid var(--line); }
.sheet-close:hover { color: var(--carmine); border-color: var(--carmine); }
.sheet-close .ico { width: 18px; height: 18px; }

.finder-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.f-field, .s-field { display: grid; gap: 6px; }
.f-field > span, .s-field > span { display: flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--carmine-d); }
.s-field > span { justify-content: space-between; }
.f-field .ico { width: 15px; height: 15px; }
.f-field select, .s-field select, .s-field input:not([type="range"]) {
  width: 100%; min-height: 48px; padding: 0 38px 0 14px; border-radius: 14px; border: 1px solid var(--line);
  -webkit-appearance: none; appearance: none; background: #fff no-repeat right 14px center / 14px;
  font: 500 .98rem var(--body); color: var(--wine); cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%238E2A30' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
}
.s-field input:not([type="range"]) { padding-right: 14px; background-image: none; cursor: text; }
.f-field select:hover, .s-field select:hover, .s-field input:hover { border-color: rgba(175,58,59,.45); }
.finder-count { font-size: .92rem; color: var(--wine-2); }
.finder-count b { color: var(--wine); }
.finder-list { display: grid; gap: 12px; }
.fi { display: grid; grid-template-columns: 136px minmax(0, 1fr); gap: 14px; padding: 10px; border-radius: 20px; background: var(--paper); border: 1px solid var(--line); }
.fi-img { position: relative; align-self: start; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--blush); }
.fi-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fi-img:hover img { transform: scale(1.06); }
.fi-body { display: grid; gap: 5px; align-content: start; min-width: 0; }
.fi h3 { font: 400 1.1rem/1.16 var(--display); }
.fi .specs { font-size: .84rem; }
.fi-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 14px; margin-top: 2px; }
.fi-foot b { font: 400 1.25rem var(--display); color: var(--carmine-d); white-space: nowrap; }
.fi-links { display: flex; gap: 14px; }
.finder-empty { padding: 16px 18px; border-radius: 18px; background: var(--blush); color: var(--wine-2); }
.finder-help { display: grid; gap: 12px; justify-items: start; padding: 18px; border-radius: 20px; background: var(--blush); }
.finder-help p { color: var(--wine-2); font-size: .95rem; }
.finder-help strong { color: var(--wine); }

.sim-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.s-wide { grid-column: 1 / -1; }
.s-field output { color: var(--wine); font-weight: 600; }
.s-field input[type="range"] { width: 100%; min-height: 48px; margin: 0; accent-color: var(--carmine); cursor: pointer; }
.sim-out { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; border-radius: 20px; overflow: hidden; background: var(--line); border: 1px solid var(--line); }
.sim-out > div { display: grid; gap: 2px; padding: 14px 16px; background: #fff; }
.sim-out dt { font-size: .8rem; color: var(--wine-2); }
.sim-out dd { margin: 0; font: 400 1.25rem var(--display); color: var(--wine); }
.sim-out .sim-main { grid-column: 1 / -1; background: var(--blush); }
.sim-main dd { font-size: clamp(2rem, 3vw, 2.6rem); color: var(--carmine-d); }
.sim-note { font-size: .82rem; line-height: 1.45; color: var(--wine-2); }
.sim-note strong { color: var(--wine); }
.sim-error { grid-column: 1 / -1; padding: 10px 14px; border-radius: 12px; font-size: .88rem; font-weight: 600; color: var(--carmine-d); background: var(--blush); border: 1px solid rgba(175,58,59,.35); }
.sim-error[hidden] { display: none; }
.s-field input[aria-invalid="true"] { border-color: var(--carmine); box-shadow: 0 0 0 3px rgba(175,58,59,.16); }
.btn.is-off { opacity: .45; cursor: not-allowed; }
.text-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 600; color: var(--carmine-d); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.text-link:hover { color: var(--carmine); }
.form-note { font-size: .82rem; line-height: 1.45; color: var(--wine-2); }
.priv-body { display: grid; gap: 8px; }
.priv-body h3 { margin-top: 10px; font: 400 1.12rem/1.2 var(--display); color: var(--wine); }
.priv-body p { font-size: .94rem; line-height: 1.55; color: var(--wine-2); }
.priv-date { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .82rem; }
.nav-m { display: none; }

/* ---------- WhatsApp flutuante (todas as telas) ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 25; display: inline-flex; width: 60px; min-height: 60px; padding: 0; }
.wa-float .ico { width: 28px; height: 28px; }
.wa-float { transition: opacity .3s ease, transform .3s ease, visibility .3s; }
.wa-float.is-away { opacity: 0; visibility: hidden; transform: translateY(16px) scale(.9); pointer-events: none; }

/* ---------- Rodapé ---------- */
.foot { position: relative; padding: 0 var(--gut) 28px; background: var(--paper-2); border-top: 1px solid var(--line); font-size: .94rem; }
.foot-cta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.foot-cta p { max-width: 22em; font: 400 clamp(1.4rem, 2.2vw, 2.1rem)/1.12 var(--display); }
.foot-cta em { font-family: var(--accent); font-style: italic; color: var(--carmine); font-size: 1.08em; }
.foot-cta .foot-cta-sub { margin-top: 10px; font: 400 1.02rem/1.5 var(--body); color: var(--wine-2); max-width: 34em; }
.foot-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.foot-cols { display: grid; grid-template-columns: 1.5fr 1.25fr 1fr 1fr; gap: 28px; padding: 34px 0 28px; }
.foot-brand { display: grid; gap: 12px; align-content: start; }
.brand-foot { justify-self: start; padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.foot-brand p { color: var(--wine-2); max-width: 30em; }
.foot-social { display: flex; gap: 8px; }
.foot-social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--carmine-d); background: var(--blush); transition: background-color .2s ease, color .2s ease; }
.foot-social a:hover { color: #fff; background: var(--carmine); }
.foot-social .ico { width: 19px; height: 19px; }
.foot-cols h2 { margin-bottom: 12px; font: 400 1.2rem var(--display); }
.foot-cols ul { display: grid; gap: 9px; }
.foot-cols li a, .foot-cols li button { padding: 0; border: 0; background: none; font: inherit; line-height: 1.35; color: var(--wine-2); text-align: left; text-decoration: none; cursor: pointer; transition: color .2s ease; }
.foot-cols li a:hover, .foot-cols li button:hover { color: var(--carmine); }
.foot-cols li small { display: block; color: var(--carmine-d); font-weight: 600; }
.foot-contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.foot-contacts p { display: grid; gap: 2px; color: var(--wine-2); }
.foot-contacts span { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--carmine-d); }
.foot-contacts a { font-weight: 600; color: var(--wine); text-decoration: none; }
.foot-contacts a:hover { color: var(--carmine); }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--wine-2); }

/* Telas médias: a barra principal aperta antes de virar menu */
@media (min-width: 821px) and (min-aspect-ratio: 9/10) and (max-width: 1180px) {
  .brand-txt small { font-size: .66rem; }
  .nav a { padding: 9px 9px; font-size: .84rem; white-space: nowrap; }
  .top-cta span { display: none; }
  .top-cta { width: 46px; padding: 0; }
  .util-side span { display: none; }
}
@media (min-width: 821px) and (min-aspect-ratio: 9/10) and (max-height: 760px) {
  .hero-plate .lede { font-size: 1rem; }
  .hero-plate { gap: 12px; }
}

/* ---------- Celular ---------- */
@media (max-width: 820px), (max-aspect-ratio: 9/10) {
  .util { display: none; }
  .top.compact { transform: none; }
  .bar { padding: 12px 16px; }
  .brand-mark { width: 36px; height: 36px; }
  .brand-txt small { font-size: .62rem; letter-spacing: -.005em; white-space: nowrap; }
  .brand-txt strong { font-size: 1.04rem; }
  .nav-m { display: block; }
  .dep-side { justify-content: flex-start; }
  .top-cta { display: none; }
  .bar-actions { gap: 8px; }
  .icon-btn { width: 46px; height: 46px; }
  .burger { display: grid; gap: 6px; place-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid #fff; border-radius: 50%; background: rgba(255,255,255,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); cursor: pointer; }
  .burger i { display: block; width: 18px; height: 2px; background: var(--wine); transition: transform .2s ease; }
  .burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav { position: fixed; top: 74px; left: 14px; right: 14px; flex-direction: column; padding: 10px; border-radius: 22px; display: none; max-height: calc(100svh - 92px); overflow-y: auto; background: rgba(255,250,246,.97); }
  .nav.open { display: flex; }
  .nav a { padding: 13px 14px; font-size: 1.02rem; }
  .nav-extra { display: grid; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
  .nav-extra a, .nav-extra button { padding: 12px 14px; border: 0; border-radius: 999px; background: none; font: 600 .98rem var(--body); color: var(--carmine-d); text-align: left; text-decoration: none; cursor: pointer; }

  .hero-search { display: none; }
  .hero-search-m {
    display: flex; align-items: center; gap: 10px; width: 100%; min-height: 54px; padding: 0 6px 0 16px; border-radius: 999px; cursor: pointer;
    background: #fff; border: 1px solid var(--line); font: 500 .92rem var(--body); color: var(--wine-2); text-align: left;
  }
  .hero-search-m .ico { width: 18px; height: 18px; color: var(--carmine); flex: none; }
  .hero-search-m span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .hero-search-m b { padding: 11px 16px; border-radius: 999px; font-weight: 600; color: #fff; background: var(--carmine); }

  .sheet-panel { top: auto; left: 0; width: 100%; max-height: 92svh; border-radius: 26px 26px 0 0; padding: 20px 16px 28px; box-shadow: 0 -30px 80px -40px rgba(90,26,44,.6); }
  .fi { grid-template-columns: 104px minmax(0, 1fr); gap: 12px; }
  .fi h3 { font-size: 1rem; }
  .fi .specs li:nth-child(n+4) { display: none; }
  .sim-out dd { font-size: 1.1rem; }

  .wa-float { right: 16px; bottom: 16px; width: 58px; min-height: 58px; }
  .wa-float .ico { width: 27px; height: 27px; }

  .foot { padding: 0 18px 92px; }
  .foot-cta { padding: 24px 0; }
  .foot-cta-actions, .foot-cta-actions .btn { width: 100%; }
  .foot-cols { grid-template-columns: 1fr 1fr; gap: 26px 18px; padding: 26px 0 22px; }
  .foot-brand { grid-column: 1 / -1; }
  .foot-contacts { grid-template-columns: 1fr; gap: 12px; }
  .foot-legal { display: grid; }
}
@media (max-width: 340px) {
  .finder-form, .sim-form { grid-template-columns: 1fr; }
}
@media (max-width: 820px), (max-aspect-ratio: 9/10) {
  .finder-form { gap: 8px; }
  .f-field select { min-height: 44px; font-size: .92rem; padding-left: 12px; }
}
.rm .top.compact, .nojs .top.compact { transform: none; }

.lb-info > .btn-glass { width: 100%; }
.fi .home-badge { left: 7px; top: 7px; padding: 3px 8px; font-size: .6rem; }
@media (max-width: 820px), (max-aspect-ratio: 9/10) { #heroCta .btn-glass { display: none; } }
