/* Hugo Silva · v3 — página pessoal com motion (GSAP + ScrollTrigger + Lenis + SplitText)
   Direção: o escritório da foto vira o cenário. Grafite quente no escuro, papel claro nas seções de leitura,
   o verde só no WhatsApp. O Hugo é a capa; os vendidos são o portfólio. */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }

:root {
  --night: #0d0d0c;
  --night-2: #171614;
  --night-3: #22201d;
  --on-night: #f4efe8;
  --on-night-2: #b3aca3;      /* 8,4:1 no --night */
  --paper: #f7f4ef;
  --paper-2: #ece7df;
  --ink: #141311;
  --ink-2: #3d3a35;
  --muted: #69645c;           /* 5,3:1 no --paper */
  --line: #e2dcd2;
  --line-dk: rgba(255, 255, 255, .12);
  --warm: #c9a477;            /* luz das prateleiras: só em detalhes, nunca em texto longo */
  --wa-1: #179a4e; --wa-2: #0f7a3c;   /* verde: só no que leva ao WhatsApp */
  --gold: #d4a94f; --gold-hi: #f0d690; --gold-2: #a9823f; /* mostarda da logo: cor da marca */
  --r-lg: 28px; --r: 20px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; /* sem scroll-behavior: smooth — a Lenis cuida da suavidade e o ScrollTrigger precisa de saltos instantâneos para medir */ }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
svg { fill: currentColor; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- tipografia ---------- */
.h2 { font-size: clamp(30px, 4.2vw, 52px); line-height: 1.04; letter-spacing: -.035em; font-weight: 600; text-wrap: balance; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-2); }
.muted { color: var(--muted); max-width: 46ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 600; }
.eyebrow--dark { color: var(--on-night-2); padding: 6px 12px 6px 10px; border-radius: 999px; border: 1px solid var(--line-dk); background: rgba(255, 255, 255, .04); }
.eyebrow--dark i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 169, 79, .16); }

/* ---------- botões ---------- */
.btn {
  --h: 50px;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 15px/1 var(--font); letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s, transform .3s var(--ease), box-shadow .4s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; }
.btn--sm { --h: 42px; padding: 0 18px; font-size: 14px; }
.btn--lg { --h: 58px; padding: 0 30px; font-size: 16px; }
.btn--wa {
  color: #fff; font-weight: 700; border-width: 2px;
  background:
    linear-gradient(var(--wa-fill, var(--wa-1)), var(--wa-fill, var(--wa-1))) padding-box,
    conic-gradient(from var(--ang), rgba(255, 255, 255, 0) 0deg, rgba(190, 255, 214, .95) 50deg, rgba(255, 255, 255, 0) 110deg, rgba(255, 255, 255, 0) 230deg, rgba(190, 255, 214, .7) 280deg, rgba(255, 255, 255, 0) 330deg) border-box,
    linear-gradient(var(--wa-2), var(--wa-2)) border-box;
  box-shadow: 0 10px 28px -10px rgba(23, 154, 78, .8);
  animation: ang 3.6s linear infinite;
}
.btn--wa::after { content: ''; position: absolute; inset: -2px; border-radius: inherit; z-index: -1; animation: pulse 2.6s var(--ease) infinite; }
.btn--wa:hover { transform: translateY(-2px); --wa-fill: #138d47; box-shadow: 0 16px 36px -10px rgba(23, 154, 78, .9); }
.btn__fx { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; z-index: 1; }
.btn__fx::before { content: ''; position: absolute; top: -40%; bottom: -40%; left: -70%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent); transform: skewX(-18deg); animation: shine 4.2s var(--ease) infinite; }
.btn__wa { display: inline-grid; place-items: center; line-height: 0; }
.btn__wa svg { display: block; width: 22px; height: 22px; }
.btn--lg .btn__wa svg { width: 24px; height: 24px; }
.btn--wa > :not(.btn__fx) { position: relative; z-index: 2; }
.btn--wa:hover .btn__wa svg { animation: wiggle .6s var(--ease); }
.btn--glass { background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(255, 255, 255, .24); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--glass:hover { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .5); transform: translateY(-2px); }
.btn--glass svg { color: var(--on-night-2); transition: color .3s; }
.btn--glass:hover svg { color: #fff; }
@keyframes ang { to { --ang: 360deg; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); } }
@keyframes shine { 0%, 55% { left: -70%; } 100% { left: 135%; } }
@keyframes wiggle { 30% { transform: rotate(-14deg); } 60% { transform: rotate(10deg); } }

/* ---------- header ---------- */
.hd { position: fixed; inset: 12px 0 auto; z-index: 50; padding: 0 var(--gutter); pointer-events: none; }
.hd__in { pointer-events: auto; max-width: var(--wrap); margin: 0 auto; height: 64px; display: flex; align-items: center; gap: 24px; padding: 0 10px 0 18px; border-radius: 999px; border: 1px solid transparent; color: var(--on-night); transition: background-color .4s var(--ease), border-color .4s, box-shadow .4s; }
.hd.is-solid .hd__in { background: rgba(18, 17, 15, .78); border-color: var(--line-dk); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: 0 18px 40px -20px rgba(0, 0, 0, .7); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand b { display: block; font-size: 16px; line-height: 1.1; letter-spacing: -.01em; }
.brand small { display: block; font-size: 12px; color: var(--on-night-2); }
.hd__nav { position: relative; display: flex; gap: 2px; margin-left: auto; }
.hd__nav a { position: relative; z-index: 1; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; color: var(--on-night-2); transition: color .3s; }
.hd__nav a:hover, .hd__nav a[aria-current] { color: #fff; }
/* pílula que desliza até a seção visível */
.hd__ind { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .14); opacity: 0; pointer-events: none; transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; }
/* progresso da leitura na borda de baixo do menu */
.hd__in { position: relative; overflow: hidden; }
.hd__prog { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; opacity: 0; transition: opacity .4s; }
.hd__prog path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: butt; stroke-dasharray: 1; stroke-dashoffset: 1; }
.hd.is-solid .hd__prog { opacity: .95; }
.hd__act { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dk); color: var(--on-night); transition: background-color .3s, border-color .3s, transform .3s var(--ease); }
.icon-btn:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .4); transform: translateY(-2px); }
.icon-btn svg { width: 18px; height: 18px; }
@media (max-width: 860px) { .hd__nav { display: none; } .hd__act { margin-left: auto; } }
@media (max-width: 420px) { .brand small { display: none; } .hd__act .btn--wa span:last-child { display: none; } .hd__act .btn--wa { width: 42px; padding: 0; } }

/* ---------- 1. hero: a foto é a capa ---------- */
.hero { position: relative; min-height: min(100svh, 920px); display: flex; align-items: center; background: var(--night); color: var(--on-night); overflow: hidden; isolation: isolate; }
.hero__photo { position: absolute; inset: 0 0 0 auto; width: min(62%, 980px); z-index: -1; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
/* funde a foto no fundo: ela já é escura, então basta um degradê para o texto respirar */
.hero__photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--night) 0%, rgba(13, 13, 12, .7) 22%, rgba(13, 13, 12, 0) 52%), linear-gradient(0deg, var(--night) 0%, rgba(13, 13, 12, 0) 26%); }
.hero__in { padding-top: 130px; padding-bottom: 80px; }
.hero__txt { max-width: 600px; }
.hero__title { font-size: clamp(44px, 6.6vw, 88px); line-height: .98; letter-spacing: -.045em; font-weight: 600; }
.hero__title span { display: block; color: var(--on-night-2); font-size: .58em; line-height: 1.08; letter-spacing: -.035em; margin-top: .3em; }
.hero__sub { margin-top: 26px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--on-night-2); max-width: 48ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin-top: 44px; border-top: 1px solid var(--line-dk); padding-top: 24px; }
.proof li { padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--line-dk); }
.proof li:last-child { border: 0; margin: 0; padding: 0; }
.proof b { display: block; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.proof li > span { display: block; font-size: 14px; color: var(--on-night-2); max-width: 17ch; line-height: 1.4; margin-top: 4px; }
@media (max-width: 900px) {
  .hero { flex-direction: column; align-items: stretch; min-height: 0; }
  .hero__photo { position: relative; inset: auto; width: 100%; aspect-ratio: 4 / 5; max-height: 82svh; }
  .hero__photo img { object-position: 50% 0%; }
  .hero__photo::after { background: linear-gradient(0deg, var(--night) 4%, rgba(13, 13, 12, .55) 20%, rgba(13, 13, 12, 0) 40%), linear-gradient(180deg, rgba(13, 13, 12, .55) 0%, rgba(13, 13, 12, 0) 14%); }
  .hero__in { padding-top: 0; margin-top: -70px; position: relative; padding-bottom: 64px; }
}
@media (max-width: 560px) {
  .hero__cta .btn { width: 100%; }
  .proof { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .proof li:nth-child(2) { border: 0; margin: 0; padding: 0; }
  .proof li:last-child { grid-column: 1 / -1; }
}

/* ================= v3 ================= */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* barra de rolagem própria */
html { scrollbar-width: thin; scrollbar-color: #4a4640 var(--night); }
::-webkit-scrollbar { width: 10px; } ::-webkit-scrollbar-track { background: var(--night); }
::-webkit-scrollbar-thumb { background: #4a4640; border-radius: 10px; border: 2px solid var(--night); }
::selection { background: var(--gold); color: var(--night); }

.pill { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; padding: 6px 12px 6px 10px; border-radius: 999px; border: 1px solid var(--line-dk); background: rgba(255, 255, 255, .04); font-size: 13px; font-weight: 600; color: var(--on-night-2); }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 169, 79, .16); }
.kicker { margin-bottom: 16px; font-size: 15px; font-weight: 600; color: var(--muted); }
.kicker--dark { color: var(--on-night-2); }
.sec { padding: clamp(90px, 11vw, 160px) 0; }
.textlink { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; text-decoration: none; color: inherit; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.textlink svg { width: 16px; height: 16px; transition: transform .4s var(--ease); }
.textlink:hover svg { transform: translateX(4px); }

/* ---------- abertura ---------- */
.intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--night); color: var(--on-night); }
html.no-intro .intro, html.no-js .intro { display: none; }
html.is-loading body { overflow: hidden; }
.intro__in { display: grid; justify-items: center; gap: 10px; text-align: center; }
.intro__mark { width: 84px; opacity: 0; transform: translateY(14px) scale(.9); }
.intro__name { font-size: clamp(40px, 7vw, 84px); font-weight: 600; letter-spacing: -.045em; line-height: 1; overflow: hidden; }
.intro__name span { display: inline-block; }
.intro__sub { font-size: 14px; color: var(--on-night-2); opacity: 0; }
.intro__bar { position: relative; width: 160px; height: 2px; margin-top: 18px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.intro__bar i { position: absolute; inset: 0; background: var(--gold); transform: scaleX(0); transform-origin: left; }

/* ---------- cursor próprio (só com mouse) ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; display: none; mix-blend-mode: normal; }
html.has-cursor .cursor { display: block; }
html.has-cursor, html.has-cursor a, html.has-cursor button { cursor: none; }
.cursor__dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cursor__ring { position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55); display: grid; place-items: center; transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .45s, border-color .45s; }
.cursor__ring b { font-size: 13px; font-weight: 600; color: var(--night); opacity: 0; transition: opacity .3s; }
.cursor.is-link .cursor__ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; border-color: rgba(255, 255, 255, .9); }
.cursor.is-text .cursor__ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: #fff; border-color: #fff; }
.cursor.is-text .cursor__ring b { opacity: 1; }
.cursor.is-text .cursor__dot { opacity: 0; }
.cursor.on-light .cursor__dot { background: var(--ink); }
.cursor.on-light .cursor__ring { border-color: rgba(20, 19, 17, .45); }
.cursor.on-light.is-text .cursor__ring { background: var(--ink); border-color: var(--ink); }
.cursor.on-light.is-text .cursor__ring b { color: #fff; }

/* hero: indicador de rolagem */
.hero__scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 20px; border: 1.5px solid rgba(255, 255, 255, .35); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (max-width: 900px) { .hero__scroll { display: none; } }
.hero__photo img { will-change: transform; transform-origin: 50% 20%; }

/* ---------- faixa de bairros: duas linhas em sentidos opostos ---------- */
.mq { overflow: hidden; display: grid; gap: 12px; padding: 20px 0; background: var(--night); border-top: 1px solid var(--line-dk); border-bottom: 1px solid var(--line-dk); }
.mq__track { display: flex; width: max-content; will-change: transform; }
.mq__row { display: flex; align-items: center; flex: none; }
.mq__row span { font-size: clamp(16px, 1.5vw, 20px); font-weight: 500; letter-spacing: -.005em; color: var(--on-night); padding: 0 1.1em; white-space: nowrap; }
.mq__track--rev .mq__row span { color: var(--on-night-2); font-weight: 400; }
.mq__row i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex: none; opacity: .9; }
.mq__track--rev .mq__row i { background: rgba(244, 239, 232, .35); }

/* ---------- história ---------- */
.story { background: var(--paper); }
.story__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 7vw, 110px); align-items: start; }
.story__side { position: sticky; top: 100px; }
.story__main { padding-top: clamp(0px, 4vw, 48px); }
.story__photo { aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); }
.story__photo img { width: 100%; height: 118%; object-fit: cover; object-position: 50% 30%; }
.story__read { font-size: clamp(30px, 3.4vw, 48px); line-height: 1.15; letter-spacing: -.03em; font-weight: 600; color: var(--ink); max-width: 18ch; }
.story__lead { margin-top: 24px; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--ink-2); max-width: 52ch; }
.story__read .wd { opacity: .3; transition: opacity .2s; }
.no-js .story__read .wd, .rm .story__read .wd { opacity: 1; }
.facts { margin: clamp(40px, 5vw, 64px) 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 20px 20px 0 0; }
.facts > div + div { padding-left: 20px; border-left: 1px solid var(--line); }
.facts dt { font-size: 15px; color: var(--muted); }
.facts dd { margin: 6px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
@media (max-width: 900px) { .story__grid { grid-template-columns: 1fr; } .story__side { position: static; max-width: 520px; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div:nth-child(odd) { padding-left: 0 !important; } .facts > div, .facts > div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--line); } }

/* ---------- mapa (momento-assinatura) ---------- */
.map { background: var(--night); color: var(--on-night); }
.map__pin { background: var(--night); min-height: 100svh; display: flex; align-items: center; padding: 96px 0 40px; position: relative; isolation: isolate; }
.map__pin::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 50%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 70% 70% at 60% 50%, #000 30%, transparent 80%); }
.map__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: center; }
.map__txt .h2 { max-width: 12ch; font-size: clamp(32px, 3.4vw, 48px); }
.map__txt .muted { margin-top: 18px; color: var(--on-night-2); }
.map__list { margin-top: 24px; border-top: 1px solid var(--line-dk); }
.map__list li { display: grid; gap: 0; padding: 9px 0 9px 18px; border-bottom: 1px solid var(--line-dk); color: var(--on-night-2); position: relative; transition: color .5s; }
.map__list li::before { content: ''; position: absolute; left: 0; top: 17px; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .2); transition: background-color .5s, box-shadow .5s; }
.map__list li span { font-size: 18px; font-weight: 600; }
.map__list li small { font-size: 15px; color: var(--on-night-2); }
.map__list li.is-on { color: #fff; }
.map__list li.is-cur span { color: var(--gold); }
.map__list li.is-on::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 169, 79, .2); }
.map__art { position: relative; }
.mp { width: 100%; height: auto; overflow: visible; }
.mp__sea { fill: rgba(80, 150, 200, .07); }
.mp__coast { fill: none; stroke: rgba(140, 190, 225, .55); stroke-width: 3; stroke-linecap: round; }
.mp__river { fill: none; stroke: rgba(120, 170, 210, .4); stroke-width: 12; stroke-linecap: round; }
.mp__tag { fill: var(--on-night-2); font: 500 18px var(--font); opacity: .8; }
.mp__dot { fill: #3a3732; stroke: rgba(255, 255, 255, .22); stroke-width: 1.5; transition: fill .5s, stroke .5s; }
.mp__scan { pointer-events: none; opacity: 0; transition: opacity .4s; }
.mp__scan line { stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 2 6; filter: drop-shadow(0 0 6px rgba(212, 169, 79, .9)); }
.mp.is-scanning .mp__scan { opacity: 1; }
.mp__ring { fill: none; stroke: var(--gold); stroke-width: 1.2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.mp__pt.is-on .mp__ring { animation: sonar 2.8s var(--ease) var(--rd, 0s) infinite; }
@keyframes sonar { 0% { opacity: .7; transform: scale(1); } 100% { opacity: 0; transform: scale(4.2); } }
.mp__halo { fill: rgba(212, 169, 79, .14); transform: scale(0); transform-box: fill-box; transform-origin: center; transition: transform .7s var(--ease); }
.mp__lbl { fill: #fff; font: 500 17px var(--font); letter-spacing: 0; opacity: 0; transform: translateY(4px); transition: opacity .5s, transform .5s var(--ease); paint-order: stroke; stroke: rgba(13, 13, 12, .85); stroke-width: 4px; }
.mp__pt.is-near .mp__lbl { opacity: 1; transform: none; }
.mp.is-done .mp__pt--key .mp__lbl { opacity: .9; transform: none; }
.mp__pt.is-on .mp__dot { fill: var(--gold); stroke: #fff; }
.mp__pt.is-on .mp__halo { transform: scale(1); }
.map__note { margin-top: 10px; font-size: 12px; color: var(--on-night-2); opacity: .7; text-align: right; }
@media (max-width: 900px) {
  .map__grid { grid-template-columns: 1fr; } .map__pin { min-height: 0; padding: 90px 0; }
  .map__art { margin: 0 -8px; }
  .mp__lbl { font-size: 30px; stroke-width: 6px; } .mp__tag { font-size: 26px; }
  .mp__pt--minor { display: none; }
  .mp__pt:not(.mp__pt--key) .mp__lbl { display: none; }
}

/* ---------- mapa, versão 2: mesa holográfica ---------- */
.mapb { background: var(--night); color: var(--on-night); }
.mapb__pin { position: relative; height: 100svh; min-height: 640px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); grid-template-rows: auto 1fr; align-content: center; padding: 96px 0 40px; background: radial-gradient(ellipse 60% 50% at 65% 60%, rgba(212, 169, 79, .07), transparent 70%), var(--night); }
.mapb__head { grid-column: 1; grid-row: 1; max-width: none; margin: 0; padding-right: 24px; padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.mapb__head .h2 { font-size: clamp(32px, 3.6vw, 52px); max-width: 16ch; }
/* sempre em 3 linhas: as quebras estão no texto, então nada de balancear nem quebrar no meio */
.mapb__title { max-width: none !important; text-wrap: initial; white-space: nowrap; }
.mapb__side { grid-column: 1; grid-row: 2; align-self: start; margin-top: clamp(20px, 3vh, 40px); padding-left: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); padding-right: 24px; }
.mapb__zones { display: grid; gap: 2px; }
.mapb__zones li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 0 10px; padding: 11px 0 12px; color: var(--on-night-2); transition: color .45s; }
.mz__n { font-size: 14px; font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 3px; transition: color .45s; }
.mz__t b { display: block; font-size: 19px; font-weight: 600; letter-spacing: -.015em; transition: color .45s, transform .5s var(--ease); transform-origin: 0 50%; }
.mz__t small { display: block; margin-top: 2px; font-size: 14px; color: var(--on-night-2); opacity: .8; }
.mz__bar { position: absolute; left: 44px; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .09); overflow: hidden; }
.mz__bar::after { content: ''; position: absolute; inset: 0; background: var(--gold); transform: scaleX(var(--f, 0)); transform-origin: left; }
.mapb__zones li.is-on { color: #fff; }
.mapb__zones li.is-on .mz__n { color: var(--gold); }
.mapb__zones li.is-cur .mz__t b { color: var(--gold); transform: scale(1.12); }
.mapb__sum { margin-top: 18px; font-size: 17px; font-weight: 600; color: #fff; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s var(--ease); }
.mapb.is-flat .mapb__sum { opacity: 1; transform: none; }
/* nomes das regiões no chão do mapa: sempre visíveis, acendem quando chega a vez de cada uma */
.zl { position: absolute; transform: translate(-50%, -50%); font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; color: rgba(244, 239, 232, .38); transition: color .5s, text-shadow .5s; pointer-events: none; }
.zl.is-on { color: rgba(255, 255, 255, .9); }
.zl.is-cur { color: var(--gold); text-shadow: 0 0 18px rgba(212, 169, 79, .7); }
.mapb__stage { grid-column: 2; grid-row: 1 / -1; align-self: center; position: relative; display: grid; place-items: center; perspective: 1500px; perspective-origin: 50% 42%; min-height: 0; transform: translateY(-2vh); }
.mapb__plane { position: relative; width: min(860px, 54vw, calc((100svh - 200px) * 1.3)); aspect-ratio: 1000 / 760; transform-style: preserve-3d; transform: rotateX(var(--rx, 60deg)) rotateZ(var(--rz, -20deg)) scale(var(--sc, .86)); border-radius: 28px; }
.mapb__plane::before { content: ''; position: absolute; inset: -2px; border-radius: 30px; border: 1px solid rgba(212, 169, 79, .18); box-shadow: 0 0 80px -10px rgba(212, 169, 79, .25) inset, 0 60px 120px -40px rgba(0, 0, 0, .9); pointer-events: none; }
.mapb__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mapb__sea { fill: rgba(80, 150, 200, .08); }
.mapb__coast { fill: none; stroke: rgba(140, 190, 225, .6); stroke-width: 3; stroke-linecap: round; }
.mapb__river { fill: none; stroke: rgba(120, 170, 210, .45); stroke-width: 12; stroke-linecap: round; }
.mapb__tag { fill: var(--on-night-2); font: 500 18px var(--font); opacity: .75; }
/* cada bairro: um ponto no chão e um feixe de luz em pé (perpendicular ao plano) */
.pb { position: absolute; width: 0; height: 0; transform-style: preserve-3d; }
.pb__dot { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: #3a3732; border: 1.5px solid rgba(255, 255, 255, .25); transition: background-color .5s, border-color .5s, box-shadow .5s; }
.pb--minor .pb__dot { left: -4px; top: -4px; width: 8px; height: 8px; }
.pb__beam { position: absolute; left: -1.5px; bottom: 0; width: 3px; height: var(--h); border-radius: 3px; transform-origin: 50% 100%; transform: rotateX(-90deg) scaleY(var(--s, 0)); background: linear-gradient(0deg, var(--gold) 0%, rgba(212, 169, 79, .55) 45%, rgba(212, 169, 79, 0) 100%); box-shadow: 0 0 14px rgba(212, 169, 79, .65); }
.pb--key .pb__beam { width: 4px; left: -2px; }
.pb.is-on .pb__dot { background: var(--gold); border-color: #fff; box-shadow: 0 0 0 6px rgba(212, 169, 79, .18), 0 0 18px rgba(212, 169, 79, .8); }
.pb__lbl { position: absolute; left: 12px; top: -11px; font-size: 14px; font-weight: 600; white-space: nowrap; color: #fff; opacity: 0; transform: translateY(6px); transition: opacity .5s, transform .5s var(--ease); text-shadow: 0 2px 10px rgba(0, 0, 0, .9); pointer-events: none; }
.mapb.is-flat .pb__lbl { opacity: 1; transform: none; }
.mapb__note { position: absolute; right: max(var(--gutter), calc((100vw - var(--wrap)) / 2)); bottom: 36px; font-size: 12px; color: var(--on-night-2); opacity: .7; }
@media (max-width: 1023px) {
  .mapb__pin { height: auto; min-height: 0; grid-template-columns: 1fr; grid-template-rows: auto; padding: 90px 0 40px; }
  .mapb__head { grid-row: auto; padding: 0 var(--gutter); }
  .mapb__side { grid-column: 1; grid-row: auto; padding: 0 var(--gutter); margin-top: 8px; }
  .mapb__zones { grid-template-columns: 1fr 1fr; gap: 0 14px; }
  .mz__t b { font-size: 16px; } .mz__t small { display: none; }
  .mapb__zones li { grid-template-columns: 26px 1fr; padding: 8px 0; }
  .mz__bar { left: 0; }
  .zl { font-size: 9px; letter-spacing: .14em; }
  .mapb__stage { grid-column: 1; grid-row: auto; margin: 10px 0 0; perspective: 900px; transform: none; }
  .mapb__plane { width: calc(100vw - 24px); }
  .mapb__tag { font-size: 28px; }
  .pb--minor { display: none; }
  .pb__lbl { font-size: 12px; left: 9px; top: -9px; }
  .mapb__note { position: static; padding: 12px var(--gutter) 0; }
}
@media (prefers-reduced-motion: reduce) {
  .mapb__plane { --rx: 14deg; --rz: 0deg; --sc: 1; }
  .pb { --s: .3; } .pb .pb__dot { background: var(--gold); } .pb__lbl { opacity: 1; transform: none; }
  .zl { color: #fff; } .mapb__zones li { color: #fff; } .mapb__sum { opacity: 1; transform: none; }
}

/* ---------- vendidos: horizontal ---------- */
.sold { background: var(--night); color: var(--on-night); }
.sold__pin { padding: 110px 0 70px; overflow: hidden; background: var(--night); }
.sold__head .h2 { max-width: 16ch; }
.sold__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 64px; flex-wrap: wrap; margin-bottom: 40px; }
.sold__meta { max-width: 380px; }
.sold__meta .muted { color: var(--on-night-2); }
.sold__bar { display: block; height: 2px; margin-top: 18px; border-radius: 2px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.sold__bar i { display: block; height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left; }
.hz { display: flex; gap: 20px; padding: 0 max(var(--gutter), calc((100vw - var(--wrap)) / 2)); width: max-content; will-change: transform; }
.hz__item { flex: none; width: clamp(300px, 30vw, 440px); }
.hz__card { position: relative; display: block; width: 100%; padding: 0; border: 0; text-align: left; color: inherit; font: inherit; background: none; border-radius: 26px; overflow: hidden; cursor: pointer; transform-style: preserve-3d; transition: transform .7s var(--ease); }
.hz__media { display: block; aspect-ratio: 4 / 5.2; overflow: hidden; background: var(--night-3); border-radius: 26px; }
.hz__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.2s var(--ease), filter .6s; }
.hz__card:hover .hz__media img { transform: scale(1.14); }
.hz__card::after { content: ''; position: absolute; inset: 0; border-radius: 26px; background: linear-gradient(0deg, rgba(13, 13, 12, .92) 0%, rgba(13, 13, 12, .55) 32%, rgba(13, 13, 12, 0) 58%); pointer-events: none; }
.hz__idx { position: absolute; top: 16px; left: 18px; z-index: 2; font-size: 14px; font-weight: 600; color: #fff; padding: 6px 10px; border-radius: 999px; background: rgba(13, 13, 12, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hz__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: grid; gap: 4px; padding: 22px; }
.hz__hood { font-size: 15px; color: var(--on-night-2); }
.hz__title { font-size: clamp(20px, 1.8vw, 24px); font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.hz__facts { font-size: 15px; color: rgba(244, 239, 232, .85); }
.hz__val { margin-top: 8px; font-size: 17px; font-weight: 600; color: #fff; }
.hz__card:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (max-width: 1023px) {
  .sold__pin { padding: 90px 0 60px; }
  .hz { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
  .hz::-webkit-scrollbar { display: none; }
  .hz__item { width: min(78vw, 360px); scroll-snap-align: center; }
}

/* ---------- o maior negócio ---------- */
.top { background: var(--night); color: #fff; }
.top__pin { background: var(--night); position: relative; height: 100svh; overflow: hidden; display: flex; align-items: flex-end; }
.top__media { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; }
.top__frame { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; transform: scale(.56); border-radius: 40px; will-change: transform, border-radius; }
.top__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); will-change: transform; }
.top__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13, 13, 12, .92) 0%, rgba(13, 13, 12, .65) 40%, rgba(13, 13, 12, .15) 75%); }
.top__txt { position: relative; z-index: 2; padding-bottom: clamp(48px, 8vh, 90px); }
.top__title { font-size: clamp(40px, 6.4vw, 96px); line-height: 1; letter-spacing: -.045em; font-weight: 600; max-width: 14ch; }
.top__title span { color: var(--gold); }
.top__sub { margin: 16px 0 28px; font-size: clamp(17px, 1.5vw, 20px); color: rgba(255, 255, 255, .82); }
.top .btn svg { width: 18px; height: 18px; }
@media (max-width: 1023px) { .top__frame { transform: none; border-radius: 0; } .top__frame img { transform: none; } .top__pin { height: 100svh; min-height: 560px; } }

/* ---------- como trabalho: pilha ---------- */
.how { background: var(--paper); }
.how__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px clamp(40px, 7vw, 100px); align-items: start; }
.how__head { position: sticky; top: 120px; }
.how__head .h2 { max-width: 13ch; }
.stack { display: grid; gap: 18px; }
.stack__card { position: sticky; top: calc(120px + var(--k, 0) * 22px); padding: clamp(28px, 3vw, 40px); border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 60px -40px rgba(20, 19, 17, .35); min-height: 240px; transform-origin: 50% 0; }
.stack__card:nth-child(2) { --k: 1; } .stack__card:nth-child(3) { --k: 2; }
.stack__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 36px; }
.stack__card h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.stack__card p { margin-top: 10px; color: var(--muted); font-size: 17px; max-width: 44ch; }
@media (max-width: 900px) { .how__grid { grid-template-columns: 1fr; } .how__head { position: static; } .stack__card { top: calc(90px + var(--k, 0) * 16px); min-height: 0; } }

/* ---------- convite ---------- */
.final { padding: 0 0 clamp(80px, 9vw, 120px); background: var(--paper); }
.final__box { position: relative; overflow: hidden; text-align: center; padding: clamp(48px, 7vw, 96px) clamp(20px, 5vw, 64px); border-radius: 36px; background: var(--night); color: var(--on-night); }
.final__av { width: 96px; height: 96px; border-radius: 50%; margin: 0 auto 28px; border: 3px solid rgba(255, 255, 255, .14); object-fit: cover; }
.final__box .h2 { max-width: 20ch; margin: 0 auto; }
.final__box > p { max-width: 50ch; margin: 18px auto 0; color: var(--on-night-2); font-size: 18px; }
.final__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.final__alt a { color: #fff; font-weight: 600; text-underline-offset: 3px; }
@media (max-width: 560px) { .final__cta .btn { width: 100%; } }

/* ---------- rodapé revelado por baixo da página ---------- */
main { position: relative; z-index: 1; }
.final { border-radius: 0 0 44px 44px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.ft { position: relative; z-index: 0; background: var(--night); color: var(--on-night); overflow: hidden; }
@media (min-width: 1024px) { html.ft-reveal .ft { position: fixed; left: 0; right: 0; bottom: 0; } }
.ft__inner { position: relative; padding: clamp(96px, 9vw, 120px) 0 24px; will-change: transform; }
.ft__inner > :not(.ft__city) { position: relative; z-index: 1; }
/* cidade desenhada em traço fino atrás do rodapé: prédios, casas, árvores e um guindaste de obra */
.ft__city { position: absolute; left: 0; right: 0; bottom: var(--city-b, 64px); height: clamp(260px, 44vh, 420px); pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(to top, #000 60%, transparent 100%); mask-image: linear-gradient(to top, #000 60%, transparent 100%); }
.ft__city svg { width: 100%; height: 100%; display: block; overflow: visible; }
.ft__city .cl, .ft__city .cd { stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-width: 1; }
.ft__city .cl { fill: var(--night); }
.ft__city .cd { fill: none; }
/* bem apagada: o contorno um pouco mais visível que os detalhes; quanto mais longe, mais fraco */
.ft__city .cl--b { stroke: rgba(212, 169, 79, .08); } .ft__city .cd--b { stroke: rgba(212, 169, 79, .04); }
.ft__city .cl--m { stroke: rgba(212, 169, 79, .17); } .ft__city .cd--m { stroke: rgba(212, 169, 79, .085); }
.ft__city .cl--f { stroke: rgba(212, 169, 79, .17); } .ft__city .cd--f { stroke: rgba(212, 169, 79, .09); }
.ft__city .cd--g { stroke: rgba(255, 255, 255, .1); }
.ft__city .lay { transition: transform 1.2s var(--ease); }
/* algumas janelas acendem e apagam devagar, como uma cidade à noite */
.ft__city .w.is-lit { fill: #e2bb62; opacity: 0; animation: winLit var(--wd, 7s) ease-in-out var(--wl, 0s) infinite; animation-play-state: paused; }
.ft__city.is-live .w.is-lit, .ft__city.is-live .hook { animation-play-state: running; }
@keyframes winLit { 0%, 100% { opacity: 0; } 18%, 62% { opacity: .32; } }
.ft__city .hook { animation: hookSwing 6s ease-in-out infinite; animation-play-state: paused; }
@keyframes hookSwing { 0%, 100% { transform: rotate(-2.2deg); } 50% { transform: rotate(2.2deg); } }
@media (max-width: 760px) { .ft__city { height: 200px; } }
@media (prefers-reduced-motion: reduce) { .ft__city .w.is-lit { animation: none; opacity: .25; } .ft__city .hook { animation: none; } }
.ft__top { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.ft__kicker { font-size: 16px; color: var(--on-night-2); margin-bottom: 14px; }
.ft__big { position: relative; display: inline-flex; align-items: center; gap: .35em; font-size: clamp(34px, 5vw, 72px); font-weight: 600; letter-spacing: -.04em; line-height: 1; text-decoration: none; color: #fff; }
.ft__big span { background: linear-gradient(#2ad06e, #2ad06e) 0 100% / 0 3px no-repeat; padding-bottom: .08em; transition: background-size .7s var(--ease); }
.ft__big:hover span { background-size: 100% 3px; }
.ft__big svg { width: .7em; height: .7em; color: #2ad06e; transform: rotate(-45deg); transition: transform .6s var(--ease); }
.ft__big:hover svg { transform: rotate(0); }
.ft__badge { position: relative; flex: none; width: 132px; height: 132px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-dk); color: #fff; text-decoration: none; transition: background-color .4s, border-color .4s; }
.ft__badge:hover { background: var(--gold); border-color: var(--gold); color: var(--night); }
.ft__ring { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); animation: spin 14s linear infinite; }
.ft__badge:hover .ft__ring { animation-duration: 5s; }
.ft__ring text { fill: currentColor; font: 600 10.5px var(--font); letter-spacing: .14em; text-transform: uppercase; }
.ft__up { width: 22px; height: 22px; transform: rotate(-90deg); transition: transform .5s var(--ease); }
.ft__badge:hover .ft__up { transform: rotate(-90deg) translateX(4px); }
@keyframes spin { to { transform: rotate(360deg); } }
.ft__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: clamp(40px, 5vw, 64px); padding-top: 32px; border-top: 1px solid var(--line-dk); }
.ft__cols > * { display: grid; align-content: start; gap: 10px; font-size: 16px; color: var(--on-night-2); }
.ft__h { font-size: 14px; font-weight: 600; color: #fff; margin-bottom: 6px; }
.ft__cols a { color: var(--on-night-2); text-decoration: none; width: fit-content; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .3s, background-size .5s var(--ease); }
.ft__cols a:hover { color: #fff; background-size: 100% 1px; }
/* nome gigante que se monta letra por letra conforme a página termina */
.ft__word { margin: clamp(32px, 4vw, 56px) 0 0; padding: .04em var(--gutter) .2em; font-size: clamp(64px, min(15vw, 28vh), 260px); font-weight: 600; letter-spacing: -.06em; line-height: .82; white-space: nowrap; text-align: center; color: var(--on-night); overflow: hidden; }
.ft__word .chm { display: inline-block; vertical-align: top; }
/* as letras sobem de trás da linha do rodapé: o corte do nome coincide com a linha, então nunca parece cortado no meio */
.ft__word + .ft__legal { margin-top: 0; border-top-color: rgba(255, 255, 255, .2); }
.ft__word .ch { display: inline-block; transform-origin: 0 100%; }

.ft__legal { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line-dk); font-size: 14px; color: var(--on-night-2); }
.ft__legal a { color: var(--on-night-2); }
/* assinatura de quem fez o site: bem apagada, só aparece de perto */
.ft__legal .ft__credit { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--on-night); text-decoration: none; opacity: .28; transition: opacity .4s; }
.ft__legal-l { display: inline-flex; align-items: center; gap: 8px 24px; flex-wrap: wrap; }
.ft__credit img { height: 14px; width: auto; display: block; filter: brightness(0) invert(1); }
.ft__legal .ft__credit:hover, .ft__legal .ft__credit:focus-visible { opacity: .8; }
.ft__legal a:hover { color: #fff; }
@media (max-width: 760px) { .ft__cols { grid-template-columns: 1fr; gap: 26px; } .ft__badge { width: 104px; height: 104px; } }
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; padding: 0; display: none; }
@media (max-width: 860px) { .wa-float { display: inline-flex; } }

@media (max-width: 560px) { .ft__role { display: none; } .ft__cap { text-transform: uppercase; } }

/* ---------- ficha do vendido ---------- */
.dlg { position: fixed; width: min(1100px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 28px; background: var(--night-2); color: var(--on-night); overflow: hidden; }
.dlg::backdrop { background: rgba(8, 8, 7, .72); backdrop-filter: blur(6px); }
.dlg[open] { animation: dlg .6s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(24px) scale(.97); } }
.dlg__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); max-height: calc(100svh - 24px); }
.dlg__close { position: absolute; top: 14px; right: 14px; z-index: 5; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); font: 600 15px var(--font); cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); transition: transform .3s var(--ease); }
.dlg__close:hover { transform: scale(1.05); }
.dlg__close svg { width: 18px; height: 18px; }
html.dlg-open .cursor { display: none !important; }
html.dlg-open, html.dlg-open a, html.dlg-open button { cursor: auto !important; }
html.dlg-open a, html.dlg-open button { cursor: pointer !important; }
.dlg__media { display: flex; flex-direction: column; min-width: 0; background: #000; }
.dlg__stage { position: relative; flex: 1; min-height: 0; }
.dlg__gal { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.dlg__gal::-webkit-scrollbar { display: none; }
.dlg__gal img { flex: none; width: 100%; height: min(68svh, 640px); object-fit: cover; scroll-snap-align: center; scroll-snap-stop: always; }
.dlg__nav { position: absolute; top: 50%; z-index: 2; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); transition: transform .3s var(--ease), opacity .3s; }
.dlg__nav:hover { transform: scale(1.08); }
.dlg__nav[disabled] { opacity: 0; pointer-events: none; }
.dlg__nav svg { width: 20px; height: 20px; }
.dlg__nav--prev { left: 14px; } .dlg__nav--prev svg { transform: rotate(180deg); }
.dlg__nav--next { right: 14px; }
.dlg__count { position: absolute; left: 14px; bottom: 14px; z-index: 2; height: 32px; padding: 0 12px; display: inline-flex; align-items: center; gap: 4px; border-radius: 999px; background: rgba(13, 13, 12, .75); color: rgba(255, 255, 255, .85); font-size: 14px; font-variant-numeric: tabular-nums; }
.dlg__count b { color: #fff; }
.dlg__thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: none; background: var(--night); }
.dlg__thumbs::-webkit-scrollbar { display: none; }
.dlg__thumbs button { flex: none; width: 84px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--night-3); cursor: pointer; opacity: .5; transition: opacity .3s, border-color .3s; }
.dlg__thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.dlg__thumbs button:hover { opacity: .85; }
.dlg__thumbs button.is-on { opacity: 1; border-color: var(--gold); }
.dlg__info { overflow-y: auto; padding: 36px 32px 32px; }
.dlg__hood { font-size: 15px; color: var(--on-night-2); }
.dlg__title { margin-top: 8px; font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.dlg__sum { margin-top: 14px; color: var(--on-night-2); }
.dlg__spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 24px; border-top: 1px solid var(--line-dk); border-bottom: 1px solid var(--line-dk); }
.dlg__spec li { padding: 14px 0; }
.dlg__spec li + li { padding-left: 12px; border-left: 1px solid var(--line-dk); }
.dlg__spec b { display: block; font-size: 24px; font-weight: 600; color: #fff; letter-spacing: -.02em; }
.dlg__spec span { font-size: 15px; color: var(--on-night-2); }
.dlg__hl { display: grid; gap: 8px; margin-top: 20px; }
.dlg__hl li { display: flex; gap: 10px; font-size: 16px; }
.dlg__hl li::before { content: ''; flex: none; width: 7px; height: 7px; margin-top: 9px; border-radius: 50%; background: var(--gold); }
.dlg__val { margin-top: 22px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.dlg__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 24px; }
.dlg__cta .textlink { color: #fff; }
.dlg__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
@media (max-width: 820px) {
  .dlg__in { grid-template-columns: 1fr; overflow-y: auto; }
  .dlg__gal img { height: 52svh; }
  .dlg__nav { width: 44px; height: 44px; margin-top: -22px; }
  .dlg__thumbs button { width: 68px; }
  .dlg__info { overflow: visible; padding: 24px 20px 28px; }
  .dlg__spec { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dlg__spec li:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------- estados iniciais das animações (só com JS e movimento liberado) ---------- */
.motion [data-rv] { opacity: 0; }
.motion [data-split] { opacity: 0; }
.motion .split-line { overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
/* folga da máscara: o recorte fica fora da letra, e a margem negativa devolve o espaçamento original */
.sm { padding: .12em .06em .22em !important; margin: -.12em -.06em -.22em !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .story__read .wd { opacity: 1 !important; }
}

/* pop-up antes do WhatsApp */
.ld { width: min(440px, calc(100vw - 24px)); max-height: calc(100svh - 24px); padding: 0; border: 0; border-radius: 24px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .6); overflow: auto; }
.ld::backdrop { background: rgba(8, 8, 7, .62); backdrop-filter: blur(6px); }
.ld[open] { animation: ldIn .5s var(--ease); }
@keyframes ldIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.ld__in { position: relative; display: grid; gap: 12px; padding: 28px 26px 22px; }
.ld__x { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--paper-2); color: var(--ink); cursor: pointer; transition: background .3s; }
.ld__x:hover { background: var(--line); }
.ld__x svg { width: 16px; height: 16px; }
.ld__av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.ld__t { margin: 4px 0 0; font-size: 24px; line-height: 1.15; letter-spacing: -.03em; font-weight: 600; }
.ld__p { margin: 0 0 4px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.ld__f { display: grid; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.ld__f input { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); transition: border-color .25s, box-shadow .25s; }
.ld__f input:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(212, 169, 79, .25); }
.ld__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ld__err { min-height: 1.2em; margin: 0; color: #b4412f; font-size: 13.5px; }
.ld__go { width: 100%; justify-content: center; }
.ld__skip { justify-self: center; padding: 6px; border: 0; background: none; color: var(--muted); font: inherit; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ld__skip:hover { color: var(--ink); }
.ld__legal { margin: 2px 0 0; color: var(--muted); font-size: 12.5px; text-align: center; }
.ld__legal a { color: inherit; }


/* ================= ajustes do celular (nov/2026) ================= */
@media (max-width: 560px) {
  /* números do topo: os três lado a lado, alinhados */
  .proof { grid-template-columns: auto auto auto; justify-content: space-between; gap: 0; margin-top: 36px; padding-top: 20px; }
  .proof li, .proof li:nth-child(2) { padding: 0 12px; margin: 0; border-right: 1px solid var(--line-dk); }
  .proof li:first-child { padding-left: 0; }
  .proof li:last-child { grid-column: auto; padding-right: 0; border: 0; }
  .proof b { font-size: 20px; white-space: nowrap; }
  .proof li > span { font-size: 12.5px; line-height: 1.35; max-width: 12ch; }
  .hero__in { padding-bottom: 48px; }
}
@media (max-width: 1023px) {
  /* mapa: regiões numa lista só, mapa inteiro dentro da tela, menos vazio em volta */
  .mapb__pin { padding: 88px 0 48px; }
  .mapb__zones { grid-template-columns: 1fr; gap: 0; }
  .mapb__zones li { padding: 9px 0 10px; }
  .mapb__stage { margin: 12px 0 14px; perspective: 1100px; }
  .mapb__plane { width: calc(100vw - 2 * var(--gutter)); }
  .mapb__tag { font-size: 24px; }
  .mapb__note { padding-top: 4px; }
}
@media (max-width: 900px) {
  /* como eu trabalho: número mais perto do título */
  .stack__n { width: 34px; height: 34px; font-size: 14px; margin-bottom: 18px; }
  .stack__card { padding: 24px 22px 26px; }
  .stack__card h3 { font-size: 23px; }
  .stack__card p { font-size: 16px; }
  .top__sub { margin-bottom: 22px; }
}
@media (max-width: 760px) {
  /* rodapé: chamada com a seta junto do texto, colunas em grade, cidade abaixo dos textos */
  .ft__inner { padding-top: 72px; }
  .ft__top { display: block; }
  .ft__kicker { font-size: 15px; margin-bottom: 10px; }
  .ft__big { display: inline; font-size: 38px; line-height: 1.05; }
  .ft__big svg { display: inline-block; vertical-align: -.06em; margin-left: .15em; width: .62em; height: .62em; }
  .ft__badge { display: none; }
  .ft__cols { grid-template-columns: 1fr 1fr; gap: 28px 20px; margin-top: 40px; padding-top: 28px; }
  .ft__cols > * { gap: 9px; font-size: 15px; }
  .ft__cols > :nth-child(2) { grid-column: 1 / -1; order: 3; }
  .ft__h { margin-bottom: 4px; }
  .ft__word { margin-top: 96px; font-size: 18vw; padding-left: 0; padding-right: 0; }
  /* linha final: direitos e privacidade lado a lado; assinatura centralizada embaixo, separada por um fio */
  .ft__legal { flex-direction: column; align-items: stretch; gap: 0; margin-top: 0; padding-top: 18px; padding-bottom: calc(14px + env(safe-area-inset-bottom)); font-size: 13px; }
  .ft__legal-l { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: nowrap; }
  .ft__legal-l a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .25); text-underline-offset: 3px; }
  .ft__legal .ft__credit { justify-content: center; margin-top: 16px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 12px; opacity: .42; }
  .ft__credit img { height: 13px; }
  /* botão flutuante só aparece entre o topo e o convite final */
  .wa-float { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
  .wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
}
