/* Fontes versionadas (woff2, OFL, ~60 KB; ver assets/fonts/LICENCAS.md); o .ttf só existe no desktop, fora do Git. */
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin-wght-normal.woff2") format("woff2"), url("assets/fonts/fraunces.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("assets/fonts/manrope-latin-wght-normal.woff2") format("woff2"), url("assets/fonts/manrope.ttf") format("truetype");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --restinga: #1f3d3a;
  --restinga-deep: #16302d;
  --restinga-ink: #0f2321;
  --areia: #ede3d1;
  --terracota: #c8663b;
  --sol: #e07a4f;
  --terracota-btn: #a84f29;

  --bg: oklch(0.975 0.006 180);
  --surface: oklch(0.995 0.003 180);
  --line: oklch(0.88 0.012 180);
  --ink: oklch(0.24 0.03 185);
  --muted: oklch(0.43 0.022 185);
  --on-dark: oklch(0.97 0.01 85);
  --on-dark-muted: oklch(0.84 0.02 170);

  --display: "Fraunces", Georgia, serif;
  --body: "Manrope", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --wrap: min(1240px, 100% - 2 * clamp(20px, 4vw, 48px));
  --radius: 14px;
  --radius-sm: 10px;

  --z-sticky: 20;
  --z-float: 30;
  --z-modal: 40;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 560;
  font-variation-settings: "SOFT" 50, "opsz" 72;
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-wrap: balance;
  margin: 0;
}
p { text-wrap: pretty; margin: 0; }
svg { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: var(--wrap); margin-inline: auto; }
.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; z-index: var(--z-modal); background: var(--surface); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--sol); outline-offset: 3px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 999px;
  font-weight: 700; font-size: 0.97rem; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; }
.btn-sun { background: var(--terracota-btn); color: #fff; }
.btn-sun:hover { background: #943f1d; }
.btn-restinga { background: var(--restinga); color: var(--on-dark); }
.btn-restinga:hover { background: var(--restinga-ink); }
.btn-wa { background: var(--on-dark); color: var(--restinga); }
.btn-wa:hover { background: #fff; }
.btn-ghost-dark { background: transparent; color: var(--restinga); box-shadow: inset 0 0 0 1.5px var(--restinga); }
.btn-ghost-dark:hover { background: var(--restinga); color: var(--on-dark); }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-sticky);
  padding-top: env(safe-area-inset-top);
  transition: background-color 300ms ease, box-shadow 300ms ease, transform 400ms var(--ease-out);
}
.header-row { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { position: relative; display: block; width: 190px; height: 40px; flex: none; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity 300ms ease; }
.brand-dark { opacity: 0; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--on-dark); text-decoration: none; font-size: 0.95rem; font-weight: 600; opacity: 0.9; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.nav a:hover::after { transform: scaleX(1); }
.header-cta { min-height: 42px; padding: 0 18px; font-size: 0.9rem; }
.site-header.is-solid { background: color-mix(in oklch, var(--bg) 92%, transparent); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-solid .brand-light { opacity: 0; }
.site-header.is-solid .brand-dark { opacity: 1; }
.site-header.is-solid .nav a { color: var(--ink); }
.site-header.is-solid .header-cta { background: var(--restinga); color: var(--on-dark); }
.site-header.is-hidden { transform: translateY(-100%); }

.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 12px; }
.menu-btn span { display: block; height: 2px; background: var(--on-dark); border-radius: 2px; transition: background-color 300ms; }
.menu-btn span + span { margin-top: 7px; width: 70%; margin-left: auto; }
.site-header.is-solid .menu-btn span { background: var(--ink); }

.menu { border: 0; padding: 0; margin: 0; width: 100%; max-width: none; height: 100dvh; max-height: none; background: var(--restinga); color: var(--on-dark); }
.menu::backdrop { background: transparent; }
.menu-inner { display: flex; flex-direction: column; height: 100%; padding: calc(20px + env(safe-area-inset-top)) 24px calc(28px + env(safe-area-inset-bottom)); }
.menu-close { align-self: flex-end; width: 46px; height: 46px; border: 0; background: transparent; color: inherit; cursor: pointer; }
.menu-close svg { width: 26px; height: 26px; }
.menu nav { display: flex; flex-direction: column; margin: 24px 0 auto; }
.menu nav a { font-family: var(--display); font-size: 1.9rem; text-decoration: none; padding: 10px 0; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
.menu[open] nav a { animation: menuIn 500ms var(--ease-out) both; }
.menu[open] nav a:nth-child(2) { animation-delay: 40ms; } .menu[open] nav a:nth-child(3) { animation-delay: 80ms; }
.menu[open] nav a:nth-child(4) { animation-delay: 120ms; } .menu[open] nav a:nth-child(5) { animation-delay: 160ms; }
.menu[open] nav a:nth-child(6) { animation-delay: 200ms; } .menu[open] nav a:nth-child(7) { animation-delay: 240ms; }
@keyframes menuIn { from { opacity: 0; transform: translateY(14px); } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--on-dark); overflow: hidden; background: var(--restinga-deep); }
.hero-media, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media video { opacity: 0; transition: opacity 1200ms ease; }
.hero-media video.is-playing { opacity: 1; }
.hero-media { animation: heroZoom 14s var(--ease-out) both; }
@keyframes heroZoom { from { transform: scale(1.08); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgb(15 35 33 / 0.55) 0%, rgb(15 35 33 / 0) 26%),
    linear-gradient(0deg, rgb(15 35 33 / 0.95) 0%, rgb(22 48 45 / 0.8) 40%, rgb(22 48 45 / 0.35) 75%, rgb(22 48 45 / 0.2) 100%);
}
.hero-content { position: relative; z-index: 1; padding-block: 140px clamp(36px, 7vh, 72px); }
.hero-place { display: inline-flex; align-items: center; gap: 10px; font-size: 0.92rem; font-weight: 600; color: var(--areia); margin-bottom: 18px; animation: fadeUp 900ms 150ms var(--ease-out) both; }
.hero-place .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--sol); box-shadow: 0 0 0 5px rgb(224 122 79 / 0.25); }
.hero-title { font-size: clamp(2.6rem, 6.4vw, 5.6rem); max-width: 22ch; font-weight: 520; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.06em; margin-bottom: -0.06em; }
.hero-title .line > span { display: block; animation: lineUp 1100ms var(--ease-out) both; }
.hero-title .line:nth-child(1) > span { animation-delay: 250ms; }
.hero-title .line:nth-child(2) > span { animation-delay: 340ms; }
.hero-title .line:nth-child(3) > span { animation-delay: 430ms; color: #f4b48f; }
@keyframes lineUp { from { transform: translateY(105%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } }
.hero-sub { max-width: 58ch; margin-top: 22px; font-size: clamp(1.02rem, 1.3vw, 1.15rem); color: var(--on-dark-muted); line-height: 1.65; animation: fadeUp 900ms 600ms var(--ease-out) both; }

.search {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 6px;
  margin-top: 34px; padding: 6px; max-width: 920px;
  background: var(--surface); color: var(--ink); border-radius: 18px;
  box-shadow: 0 6px 8px rgb(0 0 0 / 0.12);
  animation: fadeUp 900ms 750ms var(--ease-out) both;
}
.field { display: flex; flex-direction: column; gap: 2px; padding: 10px 16px; border-radius: 12px; cursor: pointer; transition: background-color 200ms ease; position: relative; }
.field + .field::before { content: ""; position: absolute; left: -3px; top: 14px; bottom: 14px; width: 1px; background: var(--line); }
.field:hover { background: oklch(0.96 0.01 180); }
.field span { font-size: 0.75rem; font-weight: 700; color: var(--muted); }
.field select { border: 0; background: transparent; padding: 0; font-weight: 600; font-size: 1rem; cursor: pointer; appearance: none; outline: none; width: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3D3A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; background-size: 16px; padding-right: 22px; }
.search-btn { border-radius: 13px; min-height: 60px; padding: 0 26px; }
.search-btn svg { width: 19px; height: 19px; stroke-width: 2; }

.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; animation: fadeUp 900ms 880ms var(--ease-out) both; }
.hero-chips button {
  border: 0; cursor: pointer; padding: 9px 15px; border-radius: 999px;
  background: rgb(255 255 255 / 0.12); color: var(--on-dark); font-size: 0.9rem; font-weight: 600;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.22);
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.hero-chips button:hover { background: rgb(255 255 255 / 0.22); }
.hero-chips button:active { transform: scale(0.97); }

/* Sections */
.section { padding-block: clamp(72px, 10vw, 136px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); max-width: 16ch; }
.section-head p { color: var(--muted); max-width: 46ch; justify-self: end; }
.section-head.on-dark p { color: var(--on-dark-muted); }

/* Viver */
.viver-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 300px 260px; gap: 14px; }
.viver-tile { position: relative; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer; text-align: left; color: var(--on-dark); background: var(--restinga); isolation: isolate; }
.viver-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 900ms var(--ease-out); z-index: -1; }
.viver-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(15 35 33 / 0.85), rgb(15 35 33 / 0) 58%); }
.viver-tile:hover img { transform: scale(1.05); }
.viver-tile:active { transform: scale(0.99); transition: transform 160ms var(--ease-out); }
.t-a { grid-row: span 2; }
.t-d { grid-column: span 2; }
.viver-label { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; flex-direction: column; gap: 2px; }
.viver-label strong { font-family: var(--display); font-weight: 540; font-size: clamp(1.35rem, 2vw, 1.75rem); letter-spacing: -0.01em; line-height: 1.15; }
.viver-label em { font-style: normal; font-size: 0.92rem; color: var(--on-dark-muted); }
.viver-label strong::after { content: " →"; font-family: var(--body); font-weight: 400; display: inline-block; transition: transform 300ms var(--ease-out); }
.viver-tile:hover .viver-label strong::after { transform: translateX(5px); }

/* Imóveis */
.imoveis { background: var(--surface); border-block: 1px solid var(--line); }
.imoveis-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 26px; }
.imoveis-head h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.imoveis-count { color: var(--muted); margin-top: 8px; font-size: 0.97rem; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.segmented { display: flex; gap: 2px; padding: 4px; background: oklch(0.95 0.01 180); border-radius: 999px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.segmented button { border: 0; background: transparent; padding: 8px 15px; border-radius: 999px; font-weight: 600; font-size: 0.9rem; cursor: pointer; white-space: nowrap; color: var(--muted); transition: background-color 200ms ease, color 200ms ease; }
.segmented button[aria-selected="true"] { background: var(--restinga); color: var(--on-dark); }
.sort select { border: 0; background: oklch(0.95 0.01 180); border-radius: 999px; padding: 11px 38px 11px 16px; font-weight: 600; font-size: 0.9rem; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F3D3A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.active-filters button { display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; background: oklch(0.93 0.03 50); color: #7a3417; padding: 7px 12px; border-radius: 999px; font-weight: 600; font-size: 0.86rem; }
.active-filters button::after { content: "×"; font-size: 1.1rem; line-height: 1; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 36px 24px; }
.card { display: flex; flex-direction: column; animation: cardIn 600ms var(--ease-out) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.card-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: oklch(0.92 0.01 180); }
.card-slides { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.card-slides::-webkit-scrollbar { display: none; }
.card-slides img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.card-tag { position: absolute; left: 12px; top: 12px; background: var(--surface); color: var(--restinga); font-size: 0.78rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; }
.card-tag.is-exclusive { background: var(--restinga); color: var(--areia); }
.fav { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgb(255 255 255 / 0.9); color: var(--restinga); transition: transform 160ms var(--ease-out); }
.fav:active { transform: scale(0.9); }
.fav svg { width: 20px; height: 20px; stroke-width: 1.8; }
.fav[aria-pressed="true"] { color: var(--terracota); }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.slide-btn { position: absolute; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 0.92); color: var(--restinga); display: grid; place-items: center; cursor: pointer; opacity: 0; transition: opacity 200ms ease, transform 160ms var(--ease-out); }
.slide-btn svg { width: 18px; height: 18px; stroke-width: 2.2; }
.slide-btn.prev { left: 10px; } .slide-btn.next { right: 10px; }
.slide-btn:active { transform: scale(0.92); }
.card-media:hover .slide-btn, .card-media:focus-within .slide-btn { opacity: 1; }
.dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 5px; pointer-events: none; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: rgb(255 255 255 / 0.55); transition: background-color 200ms, transform 200ms var(--ease-out); }
.dots i.on { background: #fff; transform: scale(1.25); }

.card-body { padding: 16px 2px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-loc { font-size: 0.86rem; color: var(--muted); font-weight: 600; }
.card-title { font-family: var(--display); font-size: 1.5rem; font-weight: 540; letter-spacing: -0.01em; line-height: 1.15; }
.card-title button { all: unset; cursor: pointer; }
.card-title button:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.card-title button:focus-visible { outline: 2px solid var(--sol); outline-offset: 3px; border-radius: 4px; }
.specs { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 4px 0 0; color: var(--ink); font-size: 0.9rem; }
.specs li { display: inline-flex; align-items: center; gap: 6px; }
.specs svg { width: 18px; height: 18px; color: var(--muted); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 14px; }
.price { font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.price small { display: block; font-weight: 600; font-size: 0.75rem; color: var(--muted); letter-spacing: 0; }
.card-foot a { font-weight: 700; font-size: 0.9rem; color: var(--terracota-btn); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card-foot a svg { width: 18px; height: 18px; }

.empty { text-align: center; padding: 56px 20px; display: grid; gap: 18px; justify-items: center; color: var(--muted); }
.empty strong { color: var(--ink); }

/* Lançamentos */
.lancamentos { background: var(--restinga); color: var(--on-dark); overflow: hidden; }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-padding-inline: max(20px, (100% - 1240px) / 2); outline: none; }
.rail::-webkit-scrollbar { display: none; }
.rail-track { display: flex; gap: 18px; padding-inline: max(20px, (100% - 1240px) / 2); width: max-content; }
.lanc { position: relative; flex: none; width: min(78vw, 420px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; scroll-snap-align: start; color: var(--on-dark); text-decoration: none; isolation: isolate; }
.lanc img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 900ms var(--ease-out); }
.lanc::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(15 35 33 / 0.92) 8%, rgb(15 35 33 / 0) 60%); }
.lanc:hover img { transform: scale(1.04); }
.lanc-info { position: absolute; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 6px; }
.lanc-status { justify-self: start; background: var(--sol); color: var(--restinga-ink); font-size: 0.78rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.lanc-info h3 { font-size: 1.8rem; font-weight: 520; }
.lanc-info p { color: var(--on-dark-muted); font-size: 0.93rem; }
.lanc-cta { margin-top: 6px; font-weight: 700; font-size: 0.92rem; color: var(--areia); }
.rail-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.round { width: 48px; height: 48px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: rgb(255 255 255 / 0.1); color: var(--on-dark); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.2); transition: background-color 200ms, transform 160ms var(--ease-out); }
.round:hover { background: rgb(255 255 255 / 0.2); }
.round:active { transform: scale(0.94); }
.round svg { width: 20px; height: 20px; stroke-width: 2; }

/* Mercado */
.mercado { position: relative; min-height: 78svh; display: flex; align-items: center; color: var(--on-dark); overflow: hidden; background: var(--restinga-ink); isolation: isolate; }
.mercado > img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; z-index: -2; will-change: transform; }
.mercado::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(15 35 33 / 0.9) 0%, rgb(15 35 33 / 0.55) 55%, rgb(15 35 33 / 0.2) 100%); }
.mercado-inner { padding-block: 96px; }
.mercado-text { font-family: var(--display); font-weight: 420; font-variation-settings: "SOFT" 50, "opsz" 72; font-size: clamp(1.7rem, 3.6vw, 3.1rem); line-height: 1.18; letter-spacing: -0.015em; max-width: 24ch; }
.mercado-text strong { font-weight: 600; color: var(--sol); }
.mercado-src { margin-top: 24px; font-size: 0.85rem; color: var(--on-dark-muted); }

/* Diogo */
.diogo-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.diogo-photo { margin: 0; position: sticky; top: 110px; }
.arch { aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--areia); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.diogo-photo figcaption { margin-top: 14px; font-size: 0.86rem; color: var(--muted); font-weight: 600; }
.diogo-text h2 { font-size: clamp(1.9rem, 3vw, 2.7rem); max-width: 22ch; text-wrap: balance; }
.lead { margin-top: 22px; font-size: 1.16rem; color: var(--muted); max-width: 56ch; }
.reasons { margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.reasons > div { padding: 22px 0; border-top: 1px solid var(--line); }
.reasons dt { font-weight: 800; font-size: 1.02rem; margin-bottom: 6px; }
.reasons dd { margin: 0; color: var(--muted); font-size: 0.97rem; }
.quote { margin: 40px 0 0; font-family: var(--display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 480; color: var(--terracota-btn); letter-spacing: -0.01em; }

/* Condomínios */
.condominios { background: var(--surface); border-block: 1px solid var(--line); }
.cond-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.cond-tabs button { border: 0; background: transparent; cursor: pointer; padding: 14px 18px; font-family: var(--display); font-size: 1.3rem; color: var(--muted); position: relative; white-space: nowrap; }
.cond-tabs button::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--terracota); transform: scaleX(0); transition: transform 300ms var(--ease-out); }
.cond-tabs button[aria-selected="true"] { color: var(--ink); }
.cond-tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.cond-tabs sup { font-family: var(--body); font-size: 0.72rem; font-weight: 700; margin-left: 4px; }
.cond-panel { display: flex; flex-wrap: wrap; gap: 10px; }
.cond-chip { display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer; padding: 12px 18px; border-radius: 999px; background: oklch(0.955 0.01 180); font-weight: 600; font-size: 0.95rem; transition: background-color 200ms, color 200ms, transform 160ms var(--ease-out); animation: fadeUp 500ms var(--ease-out) both; }
.cond-chip:hover { background: var(--restinga); color: var(--on-dark); }
.cond-chip:active { transform: scale(0.97); }
.cond-chip b { font-size: 0.75rem; background: var(--terracota-btn); color: #fff; border-radius: 999px; padding: 2px 8px; }

/* Simulador */
.sim-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: start; }
.sim-intro h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
.sim-intro > p { margin-top: 18px; color: var(--muted); max-width: 48ch; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 40px 0 0; display: grid; gap: 0; }
.steps li { counter-increment: s; display: block; position: relative; padding: 16px 0 16px 58px; border-top: 1px solid var(--line); color: var(--muted); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 16px; font-family: var(--display); font-size: 1.5rem; color: var(--terracota-btn); line-height: 1.1; }
.steps strong { color: var(--ink); }

.sim { background: var(--restinga); color: var(--on-dark); border-radius: 20px; padding: clamp(24px, 3.2vw, 40px); display: grid; gap: 22px; }
.sim-row { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; align-items: baseline; }
.sim-row label { font-weight: 600; color: var(--on-dark-muted); font-size: 0.95rem; }
.sim-row output { font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.sim-row input { grid-column: 1 / -1; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--sol) var(--p), rgb(255 255 255 / 0.2) var(--p)); }
input[type="range"]::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--sol) var(--p), rgb(255 255 255 / 0.2) var(--p)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9px; border-radius: 50%; background: var(--on-dark); box-shadow: 0 0 0 5px rgb(224 122 79 / 0.35); transition: transform 160ms var(--ease-out); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: var(--on-dark); box-shadow: 0 0 0 5px rgb(224 122 79 / 0.35); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.12); }
.sim-result { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; padding: 22px 0 0; border-top: 1px solid rgb(255 255 255 / 0.14); }
.sim-result span { display: block; font-size: 0.85rem; color: var(--on-dark-muted); font-weight: 600; }
.sim-result strong { display: block; font-family: var(--display); font-weight: 560; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.sim-result p { grid-column: 1 / -1; color: var(--on-dark-muted); font-size: 0.92rem; }
.sim-note { font-size: 0.8rem; color: var(--on-dark-muted); }
.sim .btn { justify-self: start; }

/* Vender */
.vender { background: var(--terracota); color: var(--restinga-ink); }
.vender-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.vender h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); max-width: 13ch; }
.vender-grid > div > p { margin-top: 20px; max-width: 46ch; font-size: 1.08rem; color: rgb(15 35 33 / 0.86); }
.vender-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--surface); padding: clamp(20px, 2.6vw, 30px); border-radius: 18px; }
.vender-form label { display: grid; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--muted); }
.vender-form input, .vender-form select { border: 1px solid var(--line); background: var(--bg); border-radius: var(--radius-sm); padding: 13px 14px; font-size: 1rem; color: var(--ink); width: 100%; transition: border-color 200ms, box-shadow 200ms; }
.vender-form input::placeholder { color: oklch(0.5 0.02 185); }
.vender-form input:focus, .vender-form select:focus { outline: none; border-color: var(--restinga); box-shadow: 0 0 0 3px rgb(31 61 58 / 0.15); }
.vender-form .btn { grid-column: 1 / -1; margin-top: 6px; }

/* Depoimentos */
.dep-title { font-size: clamp(2rem, 4vw, 3.2rem); max-width: 14ch; margin-bottom: 48px; }
.dep-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
.dep-grid figure { margin: 0; padding-top: 22px; border-top: 2px solid var(--restinga); }
.dep-grid figure:first-child blockquote { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.dep-grid blockquote { margin: 0; font-family: var(--display); font-weight: 420; font-size: 1.22rem; line-height: 1.35; letter-spacing: -0.005em; }
.dep-grid figcaption { margin-top: 16px; font-size: 0.88rem; font-weight: 700; color: var(--muted); }
.dep-note { margin-top: 40px; font-size: 0.82rem; color: var(--muted); }

/* Footer */
.footer { background: var(--restinga-deep); color: var(--on-dark-muted); padding: 80px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand img { width: 150px; height: auto; }
.footer-brand p { margin-top: 18px; max-width: 32ch; font-size: 0.95rem; }
.footer h3 { font-family: var(--body); font-size: 0.85rem; font-weight: 800; color: var(--on-dark); margin-bottom: 14px; letter-spacing: 0.01em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 0.95rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--on-dark); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / 0.1); font-size: 0.82rem; }
.footer-lgpd { margin-top: 14px; font-size: 0.82rem; max-width: 72ch; }
.footer-lgpd a { text-decoration: underline; text-underline-offset: 3px; }

/* Página de privacidade */
.pagina-texto { padding-block: clamp(120px, 14vw, 170px) clamp(72px, 10vw, 136px); }
.pagina-texto .wrap { max-width: 58ch; }
.pagina-texto h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 12px; }
.pagina-texto h2 { font-size: 1.35rem; margin-top: 40px; margin-bottom: 10px; }
.pagina-texto p, .pagina-texto li { margin-bottom: 12px; color: var(--ink); }
.pagina-texto ul { padding-left: 22px; }
.pagina-texto .resumo { font-size: 1.2rem; color: var(--muted); margin-bottom: 32px; }
.pagina-texto a { color: var(--restinga); text-decoration: underline; text-underline-offset: 3px; }

/* WhatsApp float */
.wa-float { position: fixed; right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); z-index: var(--z-float); width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--restinga); color: var(--on-dark); box-shadow: 0 6px 8px rgb(0 0 0 / 0.18); transition: transform 200ms var(--ease-out); }
.wa-float:hover { transform: scale(1.05); }
.wa-float:active { transform: scale(0.95); }
.wa-float > svg { width: 28px; height: 28px; }
.wa-bubble { position: absolute; right: 72px; bottom: 6px; width: max-content; background: var(--surface); color: var(--ink); font-size: 0.86rem; line-height: 1.35; font-weight: 600; padding: 10px 14px; border-radius: 14px 14px 4px 14px; box-shadow: 0 4px 8px rgb(0 0 0 / 0.12); opacity: 0; transform: translateX(8px) scale(0.96); transform-origin: right bottom; transition: opacity 300ms ease, transform 400ms var(--ease-out); pointer-events: none; }
.wa-float.show-bubble .wa-bubble { opacity: 1; transform: none; }

/* Detail dialog */
.detail { border: 0; padding: 0; width: min(1100px, 100% - 32px); max-height: min(92dvh, 900px); border-radius: 20px; background: var(--surface); color: var(--ink); overflow: hidden; }
.detail::backdrop { background: rgb(15 35 33 / 0.6); backdrop-filter: blur(4px); }
.detail[open] { animation: dialogIn 420ms var(--ease-out); }
.detail[open]::backdrop { animation: fade 300ms ease; }
@keyframes dialogIn { from { opacity: 0; transform: translateY(20px) scale(0.98); } }
@keyframes fade { from { opacity: 0; } }
.detail-inner { display: grid; grid-template-columns: 1.25fr 1fr; max-height: inherit; }
.detail-gallery { position: relative; background: var(--restinga-ink); min-height: 0; }
.detail-gallery .main { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.detail-thumbs { position: absolute; left: 14px; bottom: 14px; display: flex; gap: 8px; }
.detail-thumbs button { width: 64px; height: 48px; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; opacity: 0.65; box-shadow: 0 0 0 2px transparent; transition: opacity 200ms, box-shadow 200ms; }
.detail-thumbs button[aria-current="true"] { opacity: 1; box-shadow: 0 0 0 2px #fff; }
.detail-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { padding: clamp(24px, 3vw, 40px); overflow-y: auto; display: grid; gap: 18px; align-content: start; }
.detail-close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer; background: rgb(255 255 255 / 0.92); color: var(--restinga); display: grid; place-items: center; }
.detail-close svg { width: 20px; height: 20px; stroke-width: 2; }
.detail-info h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.detail-info .card-loc { margin-bottom: -8px; }
.detail-info p { color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-block: 1px solid var(--line); margin: 0; }
.facts div { padding: 14px 0; text-align: left; }
.facts dt { font-size: 0.78rem; color: var(--muted); font-weight: 700; }
.facts dd { margin: 0; font-weight: 800; font-size: 1.1rem; }
.detail-price { font-family: var(--display); font-size: 2rem; font-weight: 560; letter-spacing: -0.01em; }
.detail-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.detail-actions .btn-wa { background: var(--restinga); color: var(--on-dark); }
.detail-code { font-size: 0.8rem; color: var(--muted); }

/* Reveal (enhancement only; content is visible without JS) */
.js .reveal.pre { opacity: 0; transform: translateY(28px); }
.js .reveal { transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out); }

/* Responsive */
@media (max-width: 1080px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
}
@media (max-width: 860px) {
  .header-cta { display: none; }
  .menu-btn { display: block; }
  .header-row { height: 66px; }
  .brand { width: 160px; height: 34px; }
  .search { grid-template-columns: 1fr 1fr; border-radius: 16px; }
  .field:nth-child(3)::before { display: none; }
  .field:nth-child(3) { grid-column: 1 / -1; }
  .field:nth-child(3)::after { content: ""; position: absolute; left: 14px; right: 14px; top: -3px; height: 1px; background: var(--line); }
  .search-btn { grid-column: 1 / -1; min-height: 54px; }
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
  .viver-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 220px 220px; }
  .t-a { grid-row: auto; grid-column: span 2; }
  .t-d { grid-column: span 2; }
  .diogo-grid, .sim-grid, .vender-grid { grid-template-columns: 1fr; }
  .diogo-photo { position: static; max-width: 420px; }
  .dep-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .detail { width: 100%; max-height: 100dvh; height: 100dvh; border-radius: 0; }
  .detail-inner { grid-template-columns: 1fr; overflow-y: auto; max-height: 100dvh; }
  .detail-gallery .main { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
  .detail-info { overflow: visible; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .hero-content { padding-top: 110px; }
  .hero-title { font-size: clamp(2rem, 9vw, 3.2rem); }
  .hero-chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * (100vw - 100%) / 2); padding-inline: calc((100vw - 100%) / 2); }
  .hero-chips button { flex: none; }
  .viver-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 230px; }
  .t-a, .t-d { grid-column: auto; }
  .reasons { grid-template-columns: 1fr; }
  .vender-form { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .sim-result { grid-template-columns: 1fr; }
  .wa-bubble { display: none; }
  .imoveis-head { align-items: start; }
  .toolbar { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; scroll-behavior: auto !important; }
  .js .reveal.pre { opacity: 1; transform: none; }
  .hero-media video { display: none; }
}

/* Seções sem conteúdo aprovado na importação. */
[hidden] { display: none !important; }

.campo-isca { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.interesse { width: min(440px, calc(100% - 24px)); max-height: 90dvh; overflow: auto; border: 0; border-radius: 16px; padding: 24px; }
.interesse::backdrop { background: #0009; }
.interesse h2 { margin: 16px 0 8px; }
.interesse .vender-form { padding: 0; margin-top: 20px; }
.vender-form textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font: inherit; }
.card-body > [data-interesse-id] { width: 100%; margin: 12px 0; }

/* Aceite explícito junto da ação, com alvo confortável no celular. */
.vender-form .consentimento{display:flex;align-items:flex-start;gap:12px;grid-column:1/-1;font-size:14px;line-height:1.5}.vender-form .consentimento input{width:22px;height:22px;flex-shrink:0;margin-top:2px;accent-color:#1f3d3a}.consentimento a{text-decoration:underline}

/* O retrato pode chegar depois: conteúdo real ocupa o espaço disponível. */
.diogo-grid.sem-foto { grid-template-columns: 1fr; gap: 0; }
.diogo-grid.sem-foto .diogo-text h2 { max-width: 32ch; font-size: clamp(1.55rem, 3vw, 2.7rem); }
