/* TURN — estilos do site (v2)
   Direção: portfólio imobiliário institucional. Fachadas em tela cheia, números grandes,
   cantos retos, tipografia leve e as quatro cores do "N" do logo como código de situação. */

:root {
  --ink: #1E1A17;          /* marrom-grafite do logo */
  --ink-2: #2B2520;
  --ink-soft: #3A332D;
  --muted: #6A635C;
  --line: #D9D4CE;
  --line-soft: #E9E5E0;
  --ground: #F4F3F1;
  --paper: #FFFFFF;
  --on-dark: #D9D2CA;
  --on-dark-muted: #A59C92;

  --gold: #DAB84C;          /* peças do N */
  --teal: #4F9B8F;
  --rust: #BD5436;
  --brown: #594D3F;

  --ok: #2F8A5B;            /* situação dos conjuntos */
  --wait: #B07D10;
  --off: #8A847D;

  --display: 'Red Hat Display', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Red Hat Text', 'Helvetica Neue', Arial, sans-serif;

  --wrap: 1360px;
  --gutter: max(20px, 4vw);
  --radius: 4px;
  --head-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:hover { color: var(--brown); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(42px, 5.6vw, 88px); line-height: 1.0; font-weight: 300; letter-spacing: -0.025em; }
h2 { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.06; font-weight: 300; letter-spacing: -0.02em; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 500; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 60ch; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--paper); padding: 10px 16px; z-index: 100; }
.skip:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section + .section { padding-top: 0; }
.section.dark { background: var(--ink); color: #fff; }
.section.dark + .section { padding-top: clamp(72px, 9vw, 128px); }
.section.dark .lead { color: var(--on-dark); }
.section.paper { background: var(--paper); }
.section.paper + .section { padding-top: clamp(72px, 9vw, 128px); }
.stack { display: flex; flex-direction: column; gap: 20px; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 40px; flex-wrap: wrap; margin-bottom: 44px; }
.head-row > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }

/* Rótulo de seção: quadrado com uma das cores do N */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; width: 10px; height: 10px; background: var(--gold); }
.eyebrow.teal::before { background: var(--teal); }
.eyebrow.rust::before { background: var(--rust); }
.eyebrow.brown::before { background: var(--brown); }
.dark .eyebrow, .hero .eyebrow { color: var(--on-dark-muted); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 2px; font-weight: 600; font-size: 15px; letter-spacing: .01em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-soft); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn-gold:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-line { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--gold); padding-bottom: 2px; white-space: nowrap; }
.link:hover { color: inherit; border-color: currentColor; }
.arrow::after { content: ' →'; }

/* Cabeçalho */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.97); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--head-h); }
.logo { display: flex; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--gold); padding-bottom: 4px; }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 14px; box-shadow: none; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: currentColor; margin: 5px 0; transition: transform .2s ease, opacity .2s ease; }
.site-header.is-dark { position: absolute; left: 0; right: 0; background: linear-gradient(rgba(20,17,15,.55), transparent); border-bottom: 0; backdrop-filter: none; color: #fff; }
.site-header.is-dark .nav a { color: #fff; }
.site-header.is-dark .nav a:hover { color: var(--gold); }
.site-header.is-dark .nav .btn { background: #fff; color: var(--ink); }
.site-header.is-dark .nav .btn:hover { background: var(--gold); }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(30,26,23,.08); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 17px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--brown); }
  .nav .btn { margin-top: 16px; }
  .site-header.is-dark .nav a { color: var(--ink); }
  .site-header.is-dark .nav .btn { background: var(--ink); color: #fff; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* Topo da home: fachadas em sequência lenta (troca por vídeo quando houver o filme institucional) */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; min-height: clamp(600px, 92vh, 960px); display: flex; flex-direction: column; justify-content: flex-end; }
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; transform: scale(1.06); }
.hero-media img.on, .hero-media video { opacity: 1; animation: drift 9s linear both; }
@keyframes drift { from { transform: scale(1.1); } to { transform: scale(1.0); } }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,17,15,.55) 0%, rgba(20,17,15,.15) 55%, transparent 80%), linear-gradient(180deg, rgba(20,17,15,.35) 0%, rgba(20,17,15,.1) 35%, rgba(20,17,15,.55) 68%, rgba(20,17,15,.9) 100%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 160px; padding-bottom: 40px; }
.hero h1 { max-width: 14ch; }
.hero .lead { color: #EDE8E2; margin: 26px 0 34px; max-width: 54ch; }
.hero-foot { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.18); }
.hero-foot .wrap { padding-top: 18px; padding-bottom: 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--on-dark); }
.hero-caption { display: flex; gap: 10px; align-items: center; min-height: 24px; }
.hero-caption strong { color: #fff; font-weight: 600; }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; position: relative; }
.hero-dots button::before { content: ''; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: rgba(255,255,255,.35); }
.hero-dots button[aria-current="true"]::before { background: var(--gold); }

/* Faixa de números */
.figures { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.figure { padding: 32px 28px 8px 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.figure + .figure { padding-left: 28px; border-left: 1px solid var(--line); }
.figure strong { font-family: var(--display); font-size: clamp(44px, 4.6vw, 72px); font-weight: 300; line-height: .95; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.figure strong small { font-size: .42em; letter-spacing: 0; margin-left: 4px; font-weight: 400; }
.figure span { color: var(--muted); font-size: 15px; line-height: 1.45; max-width: 24ch; }
.dark .figures, .dark .figure + .figure { border-color: rgba(255,255,255,.16); }
.dark .figure span { color: var(--on-dark-muted); }
@media (max-width: 900px) {
  .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figure:nth-child(3) { padding-left: 0; border-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); margin-top: 24px; }
  .dark .figure:nth-child(n+3) { border-color: rgba(255,255,255,.16); }
}

/* Topo das páginas internas */
.page-head { padding-block: clamp(56px, 7vw, 104px) clamp(40px, 5vw, 64px); }
.page-head .lead { margin-top: 22px; }
.page-head .eyebrow { margin-bottom: 22px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Cartões de edifício */
.bgrid { display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.bcard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); min-width: 0; }
.bcard-media { position: relative; overflow: hidden; background: var(--ink); aspect-ratio: 4 / 3; }
.bcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.bcard:hover .bcard-media img { transform: scale(1.04); }
.bcard-media .cap { position: absolute; right: 16px; bottom: 16px; background: rgba(20,17,15,.78); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; }
.bcard-media.plan-bg { background: #fff; border: 1px solid var(--line); }
.bcard-media.plan-bg img { object-fit: contain; padding: 18px; }
.bcard-media .status { position: absolute; left: 16px; top: 16px; }
.bcard-body { padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.bcard-title { font-family: var(--display); font-size: 28px; font-weight: 400; line-height: 1.15; letter-spacing: -0.01em; }
.bcard:hover .bcard-title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.bcard-meta { color: var(--muted); font-size: 15px; }
.bcard-facts { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 6px; }
.bcard-blank { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: var(--on-dark); background:
  linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 48px 48px,
  linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 48px 48px, var(--ink-2); }
.bcard-blank strong { font-family: var(--display); font-weight: 300; font-size: 34px; color: #fff; line-height: 1.1; }
.bcard-blank span { font-size: 14px; margin-top: 6px; }
.bcard.wide { grid-column: 1 / -1; }
.bcard.wide .bcard-media { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .bcard.wide .bcard-media { aspect-ratio: 4 / 3; } }

/* Situação */
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .02em; white-space: nowrap; }
.status::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--off); flex: none; }
.status.ok::before { background: var(--ok); }
.status.wait::before { background: var(--wait); }
.bcard-media .status, .bhero .status { background: rgba(255,255,255,.95); color: var(--ink); padding: 7px 12px; }

/* Filtros */
.filters { display: flex; gap: 16px 32px; flex-wrap: wrap; align-items: center; padding-bottom: 28px; border-bottom: 1px solid var(--line); margin-bottom: 36px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 42px; padding: 0 16px; border-radius: 2px; border: 1px solid var(--line); background: var(--paper); cursor: pointer; font-size: 14px; font-weight: 500; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.filters .label { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.filter-group { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.empty { background: var(--paper); padding: 32px; color: var(--muted); }

/* Lista compacta de endereços */
.addr-list { border-top: 1px solid var(--line); }
.addr { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1.4fr) minmax(0, 1.6fr) auto; gap: 8px 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.addr strong { font-family: var(--display); font-weight: 500; font-size: 20px; }
.addr span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .addr { grid-template-columns: 1fr; } }

/* Bloco com foto e texto */
.split { display: flex; gap: clamp(32px, 6vw, 96px); flex-wrap: wrap; align-items: center; }
.split > * { flex: 1 1 420px; min-width: 0; }
.split > img, .split .ph { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.panel { background: var(--paper); padding: clamp(28px, 4vw, 56px); }

.included { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px 32px; }
.included li { border-top: 1px solid currentColor; padding-top: 12px; line-height: 1.45; }

/* Etapas (sequência real: configuração, espaço, obra, chaves) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; border-top: 1px solid var(--line); }
.steps li { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 12px; counter-increment: step; min-width: 0; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.steps li::after { content: ''; order: -1; width: 28px; height: 6px; background: var(--brown); }
.steps li:nth-child(2)::after { background: var(--rust); }
.steps li:nth-child(3)::after { background: var(--teal); }
.steps li:nth-child(4)::after { background: var(--gold); }
.steps strong { font-family: var(--display); font-size: 24px; font-weight: 400; line-height: 1.2; }
.steps span { color: var(--muted); font-size: 16px; line-height: 1.55; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } .steps li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* CAPEX e OPEX */
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--line); }
.ledger > div { background: var(--paper); padding: clamp(28px, 3.5vw, 48px); display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.ledger > div:last-child { background: var(--ink); color: #fff; }
.ledger h3 { font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ledger > div:last-child h3 { color: var(--gold); }
.ledger .big { font-family: var(--display); font-size: clamp(28px, 2.6vw, 40px); font-weight: 300; line-height: 1.15; }
.ledger ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.ledger li { padding-left: 22px; position: relative; }
.ledger li::before { content: ''; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: currentColor; }
.ledger > div:last-child li::before { background: var(--gold); }
@media (max-width: 760px) { .ledger { grid-template-columns: 1fr; } }

/* Faixa escura de chamada */
.band { background: var(--ink); color: #fff; padding: clamp(36px, 5vw, 72px); display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; position: relative; overflow: hidden; }
.band p { font-family: var(--display); font-size: clamp(28px, 2.8vw, 42px); font-weight: 300; line-height: 1.15; max-width: 24ch; }
.band::after { content: ''; position: absolute; right: 0; top: 0; width: 12px; height: 100%; background: linear-gradient(var(--gold) 0 25%, var(--teal) 25% 50%, var(--brown) 50% 75%, var(--rust) 75%); }

/* Cartões de locado (por setor) */
.lgrid { display: grid; gap: 28px 24px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.lgrid.four { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.lcard { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); min-width: 0; }
.lcard-media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-2); position: relative; }
.lcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.lcard:hover .lcard-media img { transform: scale(1.04); }
.lcard-body { padding-top: 16px; display: flex; flex-direction: column; gap: 4px; }
.lcard-sector { font-family: var(--display); font-size: 23px; font-weight: 400; line-height: 1.2; }
.lcard:hover .lcard-sector { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.lcard-meta { color: var(--muted); font-size: 15px; }
.lcard-facts { font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.dark .lcard { color: #fff; }
.dark .lcard:hover { color: #fff; }
.dark .lcard-meta { color: var(--on-dark-muted); }
.lcard-nophoto { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 20px; color: var(--on-dark); font-size: 14px; background:
  linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 40px 40px,
  linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 40px 40px, var(--ink-2); }

/* Página do edifício */
.bhero { position: relative; color: #fff; background: var(--ink); min-height: clamp(460px, 74vh, 760px); display: flex; align-items: flex-end; overflow: hidden; }
.bhero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bhero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,17,15,.15) 30%, rgba(20,17,15,.85) 100%); }
.bhero.blank { background:
  linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 64px 64px,
  linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 64px 64px, var(--ink-2); min-height: clamp(380px, 56vh, 560px); }
.bhero .wrap { position: relative; z-index: 2; width: 100%; padding-top: 140px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 18px; }
.bhero .crumbs { color: var(--on-dark); margin: 0; }
.bhero p.addr-line { font-size: 19px; color: #EDE8E2; }
.keyfacts { background: var(--paper); border-bottom: 1px solid var(--line-soft); }
.keyfacts .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.keyfacts div.k { padding: 26px 24px 26px 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.keyfacts div.k + div.k { padding-left: 24px; border-left: 1px solid var(--line-soft); }
.keyfacts dt { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.keyfacts dd { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.2; font-variant-numeric: tabular-nums; }
.keyfacts dl { display: contents; }
@media (max-width: 640px) { .keyfacts .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .keyfacts div.k, .keyfacts div.k + div.k { padding: 18px 12px 18px 0; border-left: 0; } .keyfacts div.k:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line-soft); } .keyfacts div.k:nth-child(n+3) { border-top: 1px solid var(--line-soft); } .keyfacts dd { font-size: 21px; } }
.subnav { position: sticky; top: calc(var(--head-h) + env(safe-area-inset-top, 0px)); z-index: 20; background: rgba(244,243,241,.97); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.subnav .wrap { display: flex; gap: 4px; overflow-x: auto; padding-block: 8px; scrollbar-width: none; align-items: center; }
.subnav a { white-space: nowrap; text-decoration: none; padding: 9px 14px; font-size: 14px; font-weight: 500; }
.subnav a:hover { background: var(--paper); }
.subnav .btn { margin-left: auto; min-height: 40px; padding: 0 18px; font-size: 14px; }
[id] { scroll-margin-top: 150px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .cols { grid-template-columns: 1fr; } }
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 64ch; }
.prose .lead { color: var(--ink); }
.note { font-size: 14px; color: var(--muted); }
.tag-ai { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 6px 10px; }
.tag-ai::before { content: ''; width: 8px; height: 8px; background: var(--gold); }

.gallery { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery button { padding: 0; border: 0; background: var(--ink-2); cursor: zoom-in; overflow: hidden; position: relative; min-width: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease, opacity .2s ease; }
.gallery button:hover img { transform: scale(1.03); }
.gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.gallery button:first-child img { height: 100%; aspect-ratio: auto; }
.gallery .cap { position: absolute; left: 10px; bottom: 10px; background: rgba(20,17,15,.78); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 5px 9px; }
.gallery.few { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.gallery.few button:first-child { grid-column: auto; grid-row: span 2; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery button:first-child { grid-column: 1 / -1; grid-row: auto; } .gallery button:first-child img { aspect-ratio: 4 / 3; } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1600px); max-height: 92vh; overscroll-behavior: contain; }
.lightbox::backdrop { background: rgba(20,17,15,.94); }
.lightbox img { max-height: 84vh; width: auto; margin: 0 auto; }
.lightbox-bar { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.lightbox-bar button { min-height: 44px; min-width: 44px; padding: 0 18px; border: 1px solid rgba(255,255,255,.5); background: transparent; color: #fff; cursor: pointer; }
.lightbox-bar button:hover { background: rgba(255,255,255,.15); }

.table-box { overflow-x: auto; background: var(--paper); position: relative; }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; padding: 16px 22px; border-bottom: 1px solid var(--line); }
td { padding: 17px 22px; border-bottom: 1px solid var(--line-soft); }
tbody tr:hover td { background: #FAF9F7; }
tr:last-child td { border-bottom: 0; }
td.strong { font-weight: 600; }
.right { text-align: right; }
.table-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; font-size: 14px; color: var(--muted); }
.spec { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 0 32px; border-top: 1px solid var(--line); }
.spec div { padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.spec dt { color: var(--muted); font-size: 14px; }
.spec dd { margin: 4px 0 0; font-weight: 600; font-size: 17px; }

.plan-img { background: #fff; border: 1px solid var(--line); padding: clamp(12px, 2vw, 28px); }
.plan-img img { width: 100%; }

.pager { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; }
.pager a { text-decoration: none; font-weight: 600; }

/* Parceiro / prova */
.quote-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid rgba(255,255,255,.16); }
.quote-row > div { padding: 28px 28px 0 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.quote-row > div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.16); }
.quote-row strong { font-family: var(--display); font-size: 22px; font-weight: 400; color: #fff; }
.quote-row p { color: var(--on-dark); font-size: 16px; }
@media (max-width: 860px) { .quote-row { grid-template-columns: 1fr; } .quote-row > div + div { padding-left: 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.16); } .quote-row > div { padding-bottom: 24px; } }

/* FAQ */
.faq { display: flex; flex-direction: column; max-width: 920px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 24px 40px 24px 0; font-family: var(--display); font-size: 21px; font-weight: 400; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 20px; font-size: 26px; font-weight: 300; }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-bottom: 24px; color: var(--ink-soft); max-width: 70ch; }

/* Formulários */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field legend, .label { font-size: 15px; font-weight: 600; }
.field .hint { font-size: 14px; color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea { width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); color: var(--ink); font-size: 16px; }
textarea { min-height: 130px; resize: vertical; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; border-color: var(--ink); }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.radio-row { display: flex; gap: 8px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 2px; background: var(--paper); cursor: pointer; font-weight: 500; }
.radio-row input { accent-color: var(--ink); width: 18px; height: 18px; margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.hp { display: none; }
.form-note { font-size: 14px; color: var(--muted); }

/* Configurador */
.config { display: flex; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.config-main { flex: 999 1 560px; min-width: 0; }
.config-side { flex: 1 1 360px; min-width: 0; position: sticky; top: 100px; }
.progress { display: flex; gap: 8px; margin-bottom: 28px; list-style: none; padding: 0; }
.progress li { flex: 1; font-size: 14px; color: var(--muted); border-top: 4px solid var(--line); padding-top: 10px; }
.progress li.on { color: var(--ink); border-top-color: var(--ink); font-weight: 600; }
.step-panel { background: var(--paper); padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 26px; }
.step-panel h2 { font-size: clamp(26px, 2.4vw, 34px); }
.step-actions { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.counter-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 6px; }
.counter { display: flex; align-items: center; gap: 4px; }
.counter button { width: 48px; height: 48px; border-radius: 2px; border: 1px solid var(--line); background: var(--paper); font-size: 22px; cursor: pointer; line-height: 1; }
.counter button:hover { border-color: var(--ink); }
.counter input { width: 72px; text-align: center; border: 0; font-size: 22px; font-weight: 700; min-height: 48px; padding: 0; background: transparent; -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.counter input::-webkit-outer-spin-button, .counter input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.swatch { width: 14px; height: 14px; display: inline-block; vertical-align: -1px; margin-right: 10px; }
.plan { border: 2px solid var(--ink); padding: 16px; display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 12px; min-height: 260px; background: var(--paper); }
.plan-desks { display: flex; flex-wrap: wrap; gap: 7px 9px; align-content: flex-start; }
.plan-desks span { width: 20px; height: 13px; background: var(--brown); }
.plan-rooms { display: flex; flex-direction: column; gap: 7px; border-left: 1px dashed var(--line); padding-left: 12px; }
.plan-rooms span { height: 30px; }
.side-card { background: var(--paper); padding: 26px; display: flex; flex-direction: column; gap: 18px; }
.area-out strong { font-family: var(--display); font-size: 48px; font-weight: 300; line-height: 1; display: block; font-variant-numeric: tabular-nums; }
.js .step-panel[hidden] { display: none !important; }

/* Rodapé */
.site-footer { background: var(--ink); color: var(--on-dark); }
main > .section:last-child { padding-bottom: clamp(72px, 9vw, 128px); }
.site-footer .wrap { padding-top: 72px; padding-bottom: calc(40px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 40px; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .site-footer .wrap > div:first-child { grid-column: 1 / -1; } }
.site-footer h2 { font-family: var(--text); font-size: 12px; font-weight: 600; color: var(--on-dark-muted); margin-bottom: 16px; letter-spacing: .12em; text-transform: uppercase; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; font-size: 13px; color: var(--on-dark-muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.wa { position: fixed; right: max(20px, env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1F8F4E; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.18); }
.wa:hover { background: #17733e; color: #fff; }
.wa svg { width: 28px; height: 28px; fill: currentColor; }

/* ───────── v3: tom institucional ───────── */
:root { --desk: #B79D7E; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.site-header.is-dark .nav .btn-line { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.site-header.is-dark .nav .btn-line:hover { background: #fff; color: var(--ink); }
@media (max-width: 1080px) { .site-header.is-dark .nav .btn-line { color: var(--ink); border-color: var(--ink); } }

/* Selo das imagens padrão */
.ph-tag { position: absolute; right: 12px; bottom: 12px; z-index: 2; background: rgba(30,26,23,.72); color: #fff; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 5px 9px; }
.bhero .ph-tag { bottom: auto; top: calc(var(--head-h) + 16px); right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.lcard-media .status { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.95); color: var(--ink); padding: 6px 10px; }

/* Declaração */
.statement { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; border-top: 1px solid var(--line); padding-top: 40px; }
.statement-text { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3vw, 46px); line-height: 1.18; letter-spacing: -0.015em; max-width: 30ch; }

/* Pilares */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.pillars > div { padding: 28px 28px 0 0; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pillars > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar-n { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pillars h3 { font-size: 24px; font-weight: 400; }
.pillars p { color: var(--ink-soft); font-size: 16px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillars > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; } }

/* Fecho de página */
.closing { display: flex; justify-content: space-between; align-items: center; gap: 20px 40px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 32px; }
.closing p { font-family: var(--display); font-size: clamp(22px, 2vw, 28px); font-weight: 300; line-height: 1.3; max-width: 40ch; }

/* Topo do modelo */
.hero-model { min-height: clamp(560px, 82vh, 860px); }

/* Gráfico ilustrativo */
.chart-box { margin: 12px 0 0; background: var(--paper); padding: 24px 24px 18px; }
.chart { width: 100%; height: auto; display: block; }
.chart .ax { stroke: var(--line); stroke-width: 1; }
.chart .b1 { fill: var(--line); }
.chart .b2 { fill: var(--teal); }
.chart .lbl { font: 600 12px var(--text); fill: var(--muted); }
.chart .tick { font: 12px var(--text); fill: var(--muted); }
.chart-box figcaption { display: flex; align-items: center; gap: 8px 10px; flex-wrap: wrap; font-size: 14px; margin-top: 10px; }
.key { width: 12px; height: 12px; display: inline-block; }
.key.k1 { background: var(--line); } .key.k2 { background: var(--teal); margin-left: 12px; }
.chart-box .note { margin-left: auto; }

/* Matriz de responsabilidades */
table.matrix { min-width: 560px; }
.matrix th[scope="row"] { text-align: left; font-size: 16px; letter-spacing: 0; text-transform: none; color: var(--ink); font-weight: 500; padding: 17px 22px; border-bottom: 1px solid var(--line-soft); }
.matrix td { color: var(--muted); }
.matrix .turn-col { background: var(--ink); color: #fff; font-weight: 600; }
.matrix thead .turn-col { color: var(--gold); }
.matrix tbody tr:hover td.turn-col { background: var(--ink-2); }

/* Linha do tempo */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: relative; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 20px 0 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.timeline li::before { content: ''; width: 14px; height: 14px; background: var(--ground); border: 2px solid var(--ink); position: relative; z-index: 1; margin-top: 27px; order: 1; }
.timeline li:nth-child(3)::before { background: var(--teal); border-color: var(--teal); }
.timeline li:nth-child(5)::before { background: var(--gold); border-color: var(--gold); }
.tl-when { order: 0; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); height: 20px; }
.timeline strong { order: 2; font-family: var(--display); font-size: 24px; font-weight: 400; margin-top: 8px; }
.timeline li > span:last-child { order: 3; color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 900px) {
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline::before { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .timeline li { padding: 0 0 28px 36px; }
  .timeline li::before { position: absolute; left: 0; top: 4px; margin: 0; }
  .tl-when { height: auto; }
  .timeline strong { margin-top: 0; }
}

/* Padrão de entrega */
.finish-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 10px; }
.finish-grid figure { margin: 0; position: relative; overflow: hidden; background: var(--ink-2); min-width: 0; }
.finish-grid img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.finish-grid figure:first-child { grid-column: span 2; grid-row: span 2; }
.finish-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; color: #fff; font-size: 14px; font-weight: 600; background: linear-gradient(transparent, rgba(20,17,15,.75)); }
@media (max-width: 760px) { .finish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Corretores */
.kit { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--line); border: 1px solid var(--line); }
.kit li { background: var(--paper); padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kit strong { font-family: var(--display); font-size: 21px; font-weight: 500; }
.kit span { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .kit { grid-template-columns: 1fr; } }
.mini-steps { margin: 8px 0 0; padding: 0; list-style: none; counter-reset: ms; display: flex; flex-direction: column; gap: 14px; }
.mini-steps li { counter-increment: ms; display: flex; gap: 14px; align-items: baseline; color: var(--ink-soft); }
.mini-steps li::before { content: counter(ms, decimal-leading-zero); font-family: var(--display); font-weight: 600; color: var(--muted); font-size: 14px; }

/* Simulador */
.sim { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sim-stage { position: sticky; top: calc(var(--head-h) + 24px); background: linear-gradient(180deg, #EFECE8, #E4E0DA); min-height: 520px; display: flex; flex-direction: column; overflow: hidden; }
.sim-stage canvas { width: 100%; height: 440px; display: block; }
.sim-readout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); background: rgba(255,255,255,.7); }
.sim-readout div { padding: 16px 20px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sim-readout div + div { border-left: 1px solid var(--line); }
.sim-readout span { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sim-readout strong { font-family: var(--display); font-size: 30px; font-weight: 300; font-variant-numeric: tabular-nums; }
.sim-legend { position: absolute; left: 20px; top: 18px; list-style: none; margin: 0; padding: 0; display: flex; gap: 6px 14px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); max-width: calc(100% - 40px); }
.sim-legend li { display: flex; align-items: center; gap: 6px; }
.sim-legend span { width: 10px; height: 10px; display: inline-block; }
.sim-form .step-panel { gap: 22px; }
@media (max-width: 960px) { .sim { grid-template-columns: 1fr; } .sim-stage { position: relative; top: 0; min-height: 0; } .sim-stage canvas { height: 320px; } }
.counter-row .radio-row { flex-wrap: nowrap; }
@media (max-width: 560px) {
  .sim-readout strong { font-size: 22px; }
  .sim-readout div { padding: 12px 14px; }
  table.matrix { min-width: 0; }
  .matrix th, .matrix td, .matrix th[scope="row"] { padding: 12px 10px; font-size: 14px; }
  .radio-row label { padding: 0 14px; }
}
@media (max-width: 560px) { .gallery .cap { left: 6px; bottom: 6px; font-size: 9.5px; letter-spacing: .03em; padding: 4px 6px; white-space: nowrap; } }
