/* ============================================================
   Intelee Home · LP de imóvel
   Linguagem visual da referência Stayli: fundo claro, Inter leve,
   fotos e vídeo grandes, pouco texto, botões pretos, detalhes em areia.
   ============================================================ */

:root {
  --bg: #FCFCFC;
  --surface: #F0EEE9;
  --sand: #E9E0D3;
  --ink: #111111;
  --ink-soft: #2B2B2B;
  --muted: #6B6B6B;
  --line: #E4E2DD;
  --copper: #B4572B;
  --wa: #25D366;
  --danger: #B3261E;

  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1176px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(80px, 9.5vw, 136px);
  --radius: 12px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.22, .7, .18, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
html.menu-open, html.lb-open { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, picture, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--sand); color: var(--ink); }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.nowrap { white-space: nowrap; }
.section { padding-top: var(--section); }
.section:has(+ .band), .section:last-child { padding-bottom: var(--section); }
.hero + .section { padding-top: clamp(56px, 6vw, 88px); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--ink); color: #fff; font-size: 14px;
}
.skip-link:focus { top: 16px; }

/* ---------- Tipografia ---------- */
.h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h4 { font-size: 19px; font-weight: 400; line-height: 1.3; letter-spacing: -0.012em; }
.eyebrow {
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink);
}
.lead { color: var(--muted); line-height: 1.65; max-width: 50ch; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border-radius: 10px;
  font-size: 15px; font-weight: 500; line-height: 1; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2E2E2E; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sand); }
.btn--glass {
  background: rgba(8, 12, 20, .34); color: #fff;
  border: 1px solid rgba(255, 255, 255, .62);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn--glass:hover { background: rgba(8, 12, 20, .5); }
.btn--outline { border: 1px solid var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; }
.btn--glass svg { width: 14px; height: 14px; }
.btn--block { width: 100%; }

.icon-box {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--sand); color: var(--ink);
}
.icon-box svg { width: 22px; height: 22px; }

/* ---------- Navegação ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  color: #fff;
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.nav__bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.nav__brand { position: relative; display: block; width: 104px; flex: none; }
.nav__logo { width: 100%; height: auto; transition: opacity .3s; }
.nav__logo--dark { position: absolute; inset: 0; opacity: 0; }
.nav__menu { display: flex; align-items: center; }
.nav__links { display: flex; gap: 36px; font-size: 15px; }
.nav__links a { position: relative; opacity: .92; transition: opacity .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__menu-cta, .nav__toggle { display: none; }
.nav.is-scrolled {
  background: rgba(252, 252, 252, .95);
  -webkit-backdrop-filter: saturate(1.4) blur(20px); backdrop-filter: saturate(1.4) blur(20px);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.nav.is-scrolled .nav__logo--light, .nav.is-open .nav__logo--light { opacity: 0; }
.nav.is-scrolled .nav__logo--dark, .nav.is-open .nav__logo--dark { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; min-height: max(660px, 100svh);
  color: #fff;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%;
  transform-origin: 50% 40%;
  animation: heroZoom 2.8s var(--ease) both;
}
.hero::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 82%; z-index: -1;
  background:
    radial-gradient(62% 56% at 50% 38%, rgba(5, 10, 18, .5), rgba(5, 10, 18, .22) 58%, rgba(5, 10, 18, 0) 82%),
    linear-gradient(to bottom, rgba(5, 10, 18, .52) 0%, rgba(5, 10, 18, .34) 40%, rgba(5, 10, 18, .12) 68%, rgba(5, 10, 18, 0) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0; height: 30%; z-index: -1;
  background: linear-gradient(to top, var(--bg) 0%, rgba(252, 252, 252, .78) 28%, rgba(252, 252, 252, 0) 100%);
}
.hero__content {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding-top: clamp(124px, 16vh, 168px);
  padding-bottom: 40px;
}
.hero__title {
  max-width: 12em;
  font-size: clamp(42px, 4.7vw, 68px);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
  text-shadow: 0 2px 32px rgba(0, 0, 0, .32);
}
.hero__eyebrow {
  margin-bottom: 18px; font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .45);
}
.hero__sub {
  margin-top: 22px; max-width: 56ch;
  font-size: 17px; font-weight: 450; line-height: 1.6;
  color: #fff;
  text-wrap: balance;
}
.hero__sub, .hero__price { text-shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 2px 20px rgba(0, 0, 0, .5); }
.hero__price { margin-top: 16px; font-size: 21px; font-weight: 500; letter-spacing: -0.01em; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.hero__content > * { animation: rise 1.1s var(--ease) both; }
.hero__content > :nth-child(1) { animation-delay: .15s; }
.hero__content > :nth-child(2) { animation-delay: .3s; }
.hero__content > :nth-child(3) { animation-delay: .42s; }
.hero__content > :nth-child(4) { animation-delay: .54s; }
.hero__content > :nth-child(5) { animation-delay: .66s; }

@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- A casa (intro) ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 35fr) minmax(0, 65fr); gap: 32px; }
.intro__label { padding-top: 12px; font-size: 15px; color: var(--muted); }
.intro__text {
  font-size: clamp(23px, 2.3vw, 32px);
  font-weight: 350;
  line-height: 1.32;
  letter-spacing: -0.028em;
  text-wrap: pretty;
}
.specs { display: flex; flex-wrap: wrap; gap: 10px; margin: 36px 0 40px; }
.spec {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px; padding: 0 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  font-size: 15px; color: var(--ink-soft);
}
.spec svg { width: 18px; height: 18px; flex: none; }
.spec--price { background: var(--ink); color: #fff; font-weight: 500; }
.duo {
  display: grid; grid-template-columns: minmax(0, 66fr) minmax(0, 32fr); gap: 24px;
  margin-top: clamp(56px, 6vw, 80px);
}
.duo__item { height: clamp(320px, 35vw, 500px); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.duo__item img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Vídeo ---------- */
.split-head {
  display: grid; grid-template-columns: minmax(0, 59fr) minmax(0, 41fr); gap: 32px;
  align-items: start; margin-bottom: clamp(40px, 5vw, 64px);
}
.split-head .h2 { max-width: 12em; }
.split-head__aside { padding-top: 6px; }
.split-head__aside p { max-width: 40ch; margin-bottom: 24px; color: var(--muted); }

.stage {
  position: relative; isolation: isolate; overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  background: #1B1C1E;
}
.stage__ambient {
  position: absolute; inset: -14%; z-index: -1;
  background-size: cover; background-position: center;
  filter: blur(30px) saturate(1.35) brightness(.9);
}
.stage__ambient canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1s; }
.stage.is-ambient .stage__ambient canvas { opacity: 1; }
.stage__video {
  position: absolute; top: 0; bottom: 0; left: 50%;
  height: 100%; width: auto; aspect-ratio: 9 / 16;
  transform: translateX(-50%);
  object-fit: cover; background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 40px 100px -20px rgba(0, 0, 0, .6);
}
.stage:not(.stage--vertical) .stage__video { left: 0; width: 100%; transform: none; aspect-ratio: auto; }
.stage__controls { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px;
  border-radius: var(--radius-sm);
  background: rgba(17, 17, 17, .9); color: #fff;
  font-size: 14px; font-weight: 500;
  transition: background-color .2s;
}
.pill:hover { background: #000; }
.pill__i { width: 15px; height: 15px; }
.pill__i--play, .pill__i--sound { display: none; }
#reelPlay.is-paused .pill__i--pause { display: none; }
#reelPlay.is-paused .pill__i--play { display: block; }
#reelSound.is-on .pill__i--mute { display: none; }
#reelSound.is-on .pill__i--sound { display: block; }

/* ---------- Galeria (carrossel) ---------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
.section-head .eyebrow { margin-bottom: 14px; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; gap: 0; }
.section-head--center .h2 { max-width: 16em; }

.rail {
  display: flex; gap: 24px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100% - var(--container)) / 2));
  cursor: grab;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.rail.is-dragging .card { pointer-events: none; }
.card {
  position: relative; flex: 0 0 clamp(264px, 26vw, 376px);
  aspect-ratio: 376 / 476;
  border-radius: var(--radius); overflow: hidden;
  scroll-snap-align: start;
  background: var(--surface);
  text-align: left;
  -webkit-user-select: none; user-select: none;
}
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card:hover img { transform: scale(1.04); }
.card__tag {
  position: absolute; top: 10px; right: 10px;
  padding: 7px 11px; border-radius: 6px;
  background: #fff; color: var(--ink);
  font-size: 12.5px; line-height: 1;
}
.card__info {
  position: absolute; left: 10px; right: 10px; bottom: 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 12px 13px 16px;
  border-radius: var(--radius-sm);
  background: #fff;
}
.card__text { min-width: 0; }
.card__title { display: block; font-size: 17px; letter-spacing: -0.012em; color: var(--ink); line-height: 1.3; }
.card__detail { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); line-height: 1.35; }
.card__zoom {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: 6px;
  background: var(--sand); color: var(--ink);
  transition: background-color .25s;
}
.card__zoom svg { width: 16px; height: 16px; }
.card:hover .card__zoom { background: var(--ink); color: #fff; }
.rail-nav { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.square-btn {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 10px;
  background: var(--ink); color: #fff;
  transition: opacity .25s, background-color .25s;
}
.square-btn svg { width: 18px; height: 18px; }
.square-btn:hover { background: #2E2E2E; }
.square-btn:disabled { opacity: .22; cursor: default; }

/* ---------- Diferenciais ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
.why__item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.why__item .icon-box { margin-bottom: 22px; }
.why__item p { margin-top: 10px; max-width: 32ch; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Condomínio ---------- */
.stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.stats__item { display: flex; flex-direction: column; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.stats__valor { font-size: clamp(36px, 3.7vw, 54px); font-weight: 300; line-height: 1; letter-spacing: -0.045em; }
.stats__label { max-width: 20ch; font-size: 14px; line-height: 1.45; color: var(--muted); }

.clips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.clip {
  position: relative; aspect-ratio: 2 / 3;
  border-radius: var(--radius); overflow: hidden;
  background: var(--surface); text-align: left;
}
.clip__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.clip__badge {
  position: absolute; top: 10px; right: 10px;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  opacity: 0; transform: scale(.9); transition: opacity .25s, transform .25s var(--ease);
}
.clip__badge svg { width: 14px; height: 14px; }
.clip.is-paused .clip__badge { opacity: 1; transform: none; }

.amenities { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.amenities__title { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.amenities__list { display: flex; flex-wrap: wrap; gap: 10px; }
.amenities__list li {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
  border-radius: var(--radius-sm); background: var(--surface);
  font-size: 15px; color: var(--ink-soft);
}

.condo-feature { margin-top: var(--section); }
.condo-feature__logo { width: 148px; height: auto; margin-bottom: 26px; }
.condo-feature__note {
  margin-top: 18px; padding-left: 16px; border-left: 2px solid var(--sand);
  font-size: 14px; line-height: 1.6;
}
.condo-feature .duo { margin-top: 0; }

/* ---------- Pontos fortes (opcional) ---------- */
.pontos__lista { display: grid; gap: clamp(56px, 7vw, 104px); margin-top: clamp(40px, 5vw, 64px); }
.ponto { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.ponto:nth-child(even) .ponto__media { order: 2; }
.ponto__media { aspect-ratio: 4 / 5; max-height: 640px; width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.ponto__media img { width: 100%; height: 100%; object-fit: cover; }
.ponto__num { display: block; margin-bottom: 18px; font-size: 13px; letter-spacing: .06em; color: var(--muted); font-variant-numeric: tabular-nums; }
.ponto__title { font-size: clamp(28px, 2.8vw, 40px); font-weight: 300; line-height: 1.12; letter-spacing: -0.03em; text-wrap: balance; }
.ponto__text { margin-top: 18px; max-width: 38ch; font-size: 16px; line-height: 1.65; color: var(--muted); text-wrap: pretty; }

/* ---------- Home Hunter (quem apresenta) ---------- */
.agent__grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 112px); align-items: center;
}
.agent__title { max-width: 15em; font-size: clamp(30px, 3vw, 42px); }
.agent__title-soft { color: var(--muted); }
.agent__text { margin-top: 22px; text-wrap: pretty; }
.agent__steps { margin-top: 36px; border-top: 1px solid var(--line); }
.agent__step {
  display: grid; grid-template-columns: 44px minmax(0, 8.5em) minmax(0, 1fr);
  align-items: baseline; column-gap: 16px;
  padding: 17px 0; border-bottom: 1px solid var(--line);
}
.agent__step-num { font-size: 13px; letter-spacing: .06em; color: var(--muted); font-variant-numeric: tabular-nums; }
.agent__step-title { font-size: 17px; letter-spacing: -0.01em; }
.agent__step-text { font-size: 15px; line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.agent__note { margin-top: 20px; padding-left: 16px; border-left: 2px solid var(--sand); max-width: 52ch; font-size: 14px; line-height: 1.6; color: var(--muted); }
.agent__sign { margin-top: 32px; }
.agent__name { font-size: 17px; }
.agent__role { font-size: 14px; color: var(--muted); }
.agent__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.agent__media { position: relative; }
.agent__photo { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: #EDEDEC; }
.agent__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }

/* ---------- Faixa de chamada ---------- */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(540px, 54vw, 760px);
  color: #fff; text-align: center;
}
.band__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.band::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 65%; z-index: -1;
  background: linear-gradient(to bottom, rgba(8, 14, 24, .4), rgba(8, 14, 24, 0));
}
.band__nota { position: absolute; left: var(--gutter); bottom: 16px; padding: 5px 10px; border-radius: 6px; background: rgba(8, 14, 24, .55); font-size: 12.5px; color: rgba(255, 255, 255, .9); }
.band__content { display: flex; flex-direction: column; align-items: center; gap: 30px; padding-top: clamp(64px, 7.5vw, 104px); }
.band__title {
  max-width: 11em;
  font-size: clamp(38px, 4.7vw, 66px);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.04em;
  text-wrap: balance;
}

/* ---------- Contato ---------- */
.contact__grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 7vw, 120px); align-items: center;
}
.contact__body .lead { margin-top: 16px; }
.form { display: grid; gap: 14px; max-width: 460px; margin-top: 32px; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--ink-soft); }
.field input, .field select {
  width: 100%; height: 50px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; font-size: 15px;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center;
}
.field input::placeholder { color: #9A9A9A; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(17, 17, 17, .08); }
.field.is-invalid input { border-color: var(--danger); }
.form .btn--block { margin-top: 6px; min-height: 52px; }
.form__error { font-size: 14px; color: var(--danger); }
.form__success { max-width: 460px; margin-top: 32px; padding: 24px; border-radius: var(--radius); background: var(--surface); }
.form__success p { color: var(--muted); margin-bottom: 18px; }
.form__success .form__success-title { margin-bottom: 6px; font-size: 18px; color: var(--ink); }
.contact__alt { margin-top: 22px; font-size: 14px; color: var(--muted); }
.contact__alt a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.contact__media { aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Rodapé (padrão do site oficial inteleehome.com.br) ---------- */
.footer {
  padding: 56px 0;
  border-top: 1px solid rgba(158, 76, 39, .12);
  background: #FAF6F2;
  color: #242128;
}
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px;
  width: min(1820px, 94%); margin-inline: auto;
}
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 440px; }
.footer__logo { flex: none; width: auto; height: 22px; max-width: none; }
.footer__tagline { font-size: 12px; line-height: 1.6; color: #786E62; }
.footer__links { display: flex; flex-wrap: wrap; align-items: center; gap: 30px; }
.footer__link { font-size: 13.5px; color: #242128; transition: color .25s; }
.footer__link:hover { color: #9E4C27; }
.footer__link--cta { font-weight: 600; color: #9E4C27; }
.footer__link--cta:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__copy { font-size: 12px; color: #786E62; }

/* ---------- Vitrine (publicar/index.html) ---------- */
.vitrine { padding: calc(84px + clamp(48px, 6vw, 88px)) 0 var(--section); }
.vitrine__head { max-width: 640px; margin-bottom: clamp(40px, 5vw, 64px); }
.vitrine__title { font-size: clamp(42px, 4.7vw, 68px); font-weight: 300; line-height: 1.04; letter-spacing: -0.04em; }
.vitrine__head .lead { margin-top: 18px; }
.vitrine__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) 24px; }
/* página principal: logo flutuante ao lado do manifesto */
.intro__logo { padding-top: 6px; }
.logo-flutuante { display: block; width: clamp(150px, 13vw, 200px); height: auto; animation: flutuar 6s ease-in-out infinite; }
@keyframes flutuar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* página principal: imóveis em grupos (casas prontas, terrenos) */
.imoveis .split-head { margin-bottom: clamp(40px, 5vw, 64px); }
.grupo + .grupo { margin-top: clamp(64px, 8vw, 112px); }
.grupo__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.grupo__title { font-size: clamp(24px, 2.2vw, 30px); font-weight: 300; letter-spacing: -0.02em; }
.grupo__count { margin-left: 6px; font-size: 14px; letter-spacing: 0; color: var(--muted); vertical-align: middle; }
.grupo__text { font-size: 15px; color: var(--muted); }
/* página principal: atuação, um bloco por condomínio (mosaico de vídeo e fotos + números) */
.atuacao .split-head { margin-bottom: clamp(48px, 6vw, 80px); }
.cond__lista { display: grid; gap: clamp(72px, 9vw, 128px); }
.cond { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.cond--inverso { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.cond--inverso .cond__media { order: 2; }
.mosaico { display: grid; gap: 12px; aspect-ratio: 7 / 6; }
.mosaico--alto { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.mosaico--alto .mosaico__item:first-child { grid-row: 1 / -1; }
.mosaico--largo { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1.5fr) minmax(0, 1fr); }
.mosaico--largo .mosaico__item:first-child { grid-column: 1 / -1; }
.mosaico__item { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.mosaico__item img { width: 100%; height: 100%; object-fit: cover; }
.mosaico .clip { aspect-ratio: auto; }
.cond__credito { margin-top: 10px; font-size: 12px; color: var(--muted); }
.cond__cidade { margin-bottom: 14px; font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.cond__nome { font-size: clamp(30px, 3vw, 44px); font-weight: 300; line-height: 1.08; letter-spacing: -0.035em; }
.cond__texto { margin-top: 16px; max-width: 40ch; color: var(--muted); line-height: 1.65; text-wrap: pretty; }
.cond__numeros { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; margin-top: 32px; }
.cond__numeros li { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.cond__valor { font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; line-height: 1; letter-spacing: -0.04em; }
.cond__label { font-size: 13px; line-height: 1.4; color: var(--muted); text-wrap: pretty; }
.cond__nota { margin-top: 28px; font-size: 15px; color: var(--ink-soft); text-wrap: pretty; }
.cond__acoes { margin-top: 28px; }
.cond__nota + .cond__acoes { margin-top: 16px; }

.imoveis .vitrine__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) 24px; }
.imoveis .casa-card__title { font-size: clamp(20px, 1.7vw, 24px); }
/* grupo com número ímpar de imóveis (inclusive 1): o primeiro vira card largo, foto à esquerda e texto à direita */
.vitrine__grid > li:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
.vitrine__grid > li:first-child:nth-last-child(odd) .casa-card { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto; column-gap: clamp(28px, 5vw, 72px); }
.vitrine__grid > li:first-child:nth-last-child(odd) .casa-card__media { grid-row: 1 / -1; margin-bottom: 0; aspect-ratio: 16 / 10; }
.vitrine__grid > li:first-child:nth-last-child(odd) .casa-card__local { align-self: end; }
.vitrine__grid > li:first-child:nth-last-child(odd) .casa-card__title { font-size: clamp(26px, 2.6vw, 36px); }
.casa-card { display: flex; flex-direction: column; gap: 6px; }
.casa-card__media { position: relative; aspect-ratio: 4 / 3; margin-bottom: 14px; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.casa-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.casa-card:hover .casa-card__media img { transform: scale(1.04); }
.casa-card__media .card__tag { left: 10px; right: auto; }
.casa-card__local { font-size: 13.5px; color: var(--muted); }
.casa-card__title { font-size: clamp(22px, 2vw, 28px); font-weight: 300; line-height: 1.2; letter-spacing: -0.03em; }
.casa-card__resumo { font-size: 15px; color: var(--ink-soft); }
.casa-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.casa-card__preco { font-size: 17px; font-weight: 500; }
.casa-card__ver { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.casa-card__ver svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.casa-card:hover .casa-card__ver svg { transform: translateX(4px); }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  opacity: 0; transform: translateY(14px) scale(.92); pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease);
}
.wa-float.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float svg { width: 28px; height: 28px; }

/* ---------- Lightbox ---------- */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0;
  background: rgba(12, 12, 12, .97); color: #fff;
}
.lightbox::backdrop { background: rgba(12, 12, 12, .97); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox__figure { display: grid; justify-items: center; gap: 14px; padding: 72px 96px 56px; max-width: 100%; }
.lightbox__figure img {
  width: auto; height: auto;
  max-width: min(1400px, 100%); max-height: calc(100vh - 180px); max-height: calc(100dvh - 180px);
  border-radius: var(--radius-sm); object-fit: contain;
  -webkit-user-select: none; user-select: none;
}
.lightbox__figure figcaption { font-size: 15px; color: rgba(255, 255, 255, .8); text-align: center; }
.lightbox__count { position: absolute; left: 24px; top: 28px; font-size: 14px; color: rgba(255, 255, 255, .6); }
.lightbox__close, .lightbox__nav {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 10px;
  background: rgba(255, 255, 255, .1); color: #fff;
  transition: background-color .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .2); }
.lightbox__close svg, .lightbox__nav svg { width: 20px; height: 20px; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }

/* ---------- Revelação ao rolar ---------- */
.js .reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  transition-delay: calc(var(--d, 0) * 80ms);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1080px) {
  .nav__links { gap: 26px; }
}

@media (max-width: 900px) {
  .footer__inner { flex-direction: column; align-items: center; text-align: center; }
  .footer__brand { align-items: center; }
  .footer__links { justify-content: center; gap: 14px 26px; }

  .nav__cta { display: none; }
  .nav__toggle {
    display: grid; place-content: center; gap: 7px;
    width: 44px; height: 44px; margin-right: -10px;
  }
  .nav__toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .35s var(--ease); }
  .nav.is-open { color: var(--ink); background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
  .nav__menu {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px;
    padding: 100px var(--gutter) 48px;
    background: var(--bg); color: var(--ink);
    opacity: 0; visibility: hidden;
    transition: opacity .35s, visibility .35s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; }
  .nav__links { flex-direction: column; gap: 14px; font-size: 32px; font-weight: 300; letter-spacing: -0.03em; }
  .nav__links a::after { display: none; }
  .nav__menu-cta { display: inline-flex; }

  .intro__grid, .split-head { grid-template-columns: 1fr; gap: 20px; }
  .intro__label { padding-top: 0; }
  .logo-flutuante { width: 128px; margin-bottom: 12px; }
  .agent__grid, .contact__grid { grid-template-columns: 1fr; }
  .agent__media { order: -1; width: min(100%, 520px); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .clips { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .cond, .cond--inverso { grid-template-columns: 1fr; gap: 28px; }
  .cond--inverso .cond__media { order: 0; }
  .cond__body { max-width: 560px; }
  .contact__media { aspect-ratio: 4 / 3; }
  .why__grid { grid-template-columns: 1fr; gap: 48px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .section-head--center { align-items: center; }
}

@media (max-width: 700px) {
  .vitrine { padding-top: calc(72px + 40px); }
  .vitrine__grid, .imoveis .vitrine__grid { grid-template-columns: 1fr; }
  .vitrine__grid > li:first-child:nth-last-child(odd) .casa-card { display: flex; }
  .vitrine__grid > li:first-child:nth-last-child(odd) .casa-card__media { margin-bottom: 14px; aspect-ratio: 4 / 3; }
  .vitrine__grid > li:first-child:nth-last-child(odd) .casa-card__local { align-self: auto; }
  .vitrine__nav-cta { min-height: 40px; padding: 0 14px; font-size: 14px; }
  :root { --section: 88px; }
  .nav__bar { height: 72px; }
  .nav__brand { width: 92px; }
  html { scroll-padding-top: 72px; }

  .hero { min-height: max(600px, 100svh); }
  .hero__content { padding-top: 116px; }
  .hero__title { font-size: clamp(38px, 10.5vw, 46px); }
  .hero__actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }

  .specs { margin: 28px 0 32px; gap: 8px; }
  .spec { min-height: 40px; padding: 0 13px; font-size: 14px; }
  .duo { grid-template-columns: 1fr; gap: 12px; }
  .duo__item { height: auto; aspect-ratio: 4 / 3; }
  .duo__item:nth-child(2) { aspect-ratio: 4 / 5; }

  .stage { aspect-ratio: 9 / 16; width: min(100%, calc(82svh * 9 / 16)); margin-inline: auto; }
  .stage__ambient { display: none; }
  .stage__video { left: 0; width: 100%; transform: none; box-shadow: none; }
  .stage__controls { left: 12px; right: 12px; bottom: 12px; justify-content: flex-end; }

  .card { flex-basis: 78%; }
  .clip .card__info { left: 8px; right: 8px; bottom: 8px; padding: 10px 12px; }
  .clip .card__title { font-size: 15px; }
  .clip .card__detail { font-size: 12.5px; }
  .amenities__list li { min-height: 36px; padding: 0 13px; font-size: 14px; }
  .hero__sub { font-size: 15.5px; }
  .card__title { font-size: 16px; }
  .rail { gap: 14px; }
  .rail-nav { margin-top: 28px; }

  .mosaico { gap: 8px; aspect-ratio: 1 / 1; }
  .mosaico__item { border-radius: var(--radius-sm); }
  .cond__numeros { gap: 12px; margin-top: 26px; }
  .cond__label { font-size: 12.5px; }
  .cond__acoes .btn { width: 100%; }

  .ponto { grid-template-columns: 1fr; gap: 22px; }
  .ponto:nth-child(even) .ponto__media { order: 0; }
  .ponto__media { aspect-ratio: 4 / 5; }
  .agent__step { grid-template-columns: 36px minmax(0, 1fr); padding: 15px 0; }
  .agent__step-text { grid-column: 2; margin-top: 2px; }

  .band { min-height: 540px; }
  .footer { padding-bottom: 104px; }
  .lightbox__figure { padding: 72px 12px 96px; }
  .lightbox__nav { top: auto; bottom: 24px; transform: none; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
  .wa-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__media img, .hero__content > * { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .logo-flutuante { animation: none; }
  .card img, .nav__links a::after, .clip__badge { transition: none; }
}
