/* Ferreira Imóveis · Enxaimel
   O site é uma parede enxaimel: o fundo é a madeira (azul do logo),
   os painéis de reboco ficam entre as vigas (o "gap" das grades). */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --timber: #1F2730;
  --timber-2: #2B3542;
  --timber-3: #3A4656;
  --plaster: #ECEEEB;
  --plaster-2: #E1E4E0;
  --plaster-3: #CDD2CC;
  --ink: #1F2730;
  --ink-2: #47515D;
  --on-timber: #ECEEEB;
  --on-timber-2: #B9C1CB;
  --gold: #C49A5A;      /* areia dourada: painéis e botões, texto azul por cima */
  --gold-2: #B3884A;
  --gold-ink: #7F5B22;  /* dourado queimado: texto, links e ícones sobre o reboco */
  --on-gold: #1F2730;
  --on-gold-2: #3A3428;

  --beam: clamp(10px, 1.15vw, 18px);
  --pad: clamp(20px, 2.8vw, 48px);
  --head-h: clamp(64px, 6.5vw, 92px);
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* escala tipográfica (DESIGN.md) */
  --fs-label: .75rem;
  --fs-action-sm: .8125rem;
  --fs-action: .875rem;
  --fs-small: .9375rem;
  --fs-body-sm: 1rem;
  --fs-body: 1.0625rem;
  --fs-subtitle: 1.125rem;
  --fs-title: clamp(1.15rem, 1.4vw, 1.4rem);
  --fs-price: clamp(1.25rem, 1.6vw, 1.6rem);
  --fs-subhead: clamp(1.3rem, 1.8vw, 1.8rem);
  --fs-section: clamp(1.5rem, 2.3vw, 2.4rem);
  --fs-figure: clamp(1.6rem, 2.5vw, 2.6rem);
  --fs-numeral: clamp(2.6rem, 4vw, 4rem);
  /* ajustados à largura do painel (container query) */
  --fs-fit-hero: clamp(2.1rem, 13cqi, 5.6rem);
  --fs-fit-owner: clamp(1.5rem, 12.5cqi, 2.4rem);
  --fs-fit-title: clamp(1.5rem, 7.4cqi, 3.6rem);
  --fs-fit-page: clamp(1.8rem, 8.5cqi, 4.4rem);
  --fs-fit-price: clamp(1.6rem, 10.5cqi, 2.6rem);
  --placeholder: #6B7480;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
  scrollbar-color: var(--timber-3) var(--timber);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + var(--beam) * 2); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--timber);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-stretch: 100%;
  font-kerning: normal;
  caret-color: var(--gold-ink);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--gold); color: var(--on-gold); }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: .08em; }
h1, h2, h3, p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--gold-ink); outline-offset: 3px; }

.i { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--beam); top: -100px; z-index: 50; background: var(--gold); color: var(--on-gold); padding: 12px 18px; font-weight: 700; }
.skip:focus { top: var(--beam); }

/* ---------- Tipografia ---------- */
.display, h2, .owner-title, .contact-title, .ask-title {
  font-stretch: 125%;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.01em;
  text-wrap: balance;
}
.display { font-size: clamp(2.5rem, 4.6vw, 5rem); line-height: .94; }
h2 { font-size: clamp(1.75rem, 3vw, 3rem); line-height: 1; }
h3 { font-stretch: 112%; font-weight: 750; text-transform: uppercase; font-size: 1.125rem; line-height: 1.15; letter-spacing: .01em; }
.lede { font-size: clamp(1.0625rem, 1.25vw, 1.25rem); color: var(--ink-2); max-width: 34ch; }
.field-label {
  display: block;
  font-stretch: 112%;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.num, .lot-price, .price-big, .fact-v { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- A parede ---------- */
.wall {
  display: grid;
  gap: var(--beam);
  padding: var(--beam) var(--beam) 0;
}
.panel {
  background: var(--plaster);
  position: relative;
  min-width: 0;
}
.panel-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .45s var(--ease);
}
/* luz na viga: o contorno do painel acende sobre a madeira */
.panel-link:hover, .panel-link:focus-visible {
  outline: none;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--gold), 0 12px 30px -10px rgba(150, 110, 50, .5);
}

/* ---------- Cabeçalho ---------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--timber);
  padding: var(--beam) var(--beam) 0;
}
.head-panel {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 48px);
  height: var(--head-h);
  padding: 0 0 0 var(--pad);
  background: var(--plaster);
}
.brand img { height: calc(var(--head-h) - 26px); width: auto; }
.nav { display: flex; gap: clamp(18px, 2.4vw, 40px); margin-left: auto; }
.nav a {
  font-stretch: 112%;
  font-weight: 700;
  font-size: var(--fs-action-sm);
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: border-color .3s var(--ease), color .3s var(--ease);
}
.nav a:hover { color: var(--gold-ink); }
.nav a[aria-current="page"] { border-color: var(--gold-ink); }
.head-wa {
  display: flex;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  padding: 0 var(--pad);
  background: var(--gold);
  color: var(--on-gold);
  text-decoration: none;
  font-stretch: 112%;
  font-weight: 750;
  font-size: var(--fs-action-sm);
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: calc(var(--beam) * -1) 0 0 var(--timber);
  margin-left: var(--beam);
  transition: background-color .3s var(--ease);
}
.head-wa:hover { background: var(--gold-2); }
.head-wa .i { width: 1.4em; height: 1.4em; }
.menu-btn { display: none; }

/* ---------- Primeira dobra ---------- */
.hero {
  grid-template-columns: minmax(0, 34fr) minmax(0, 46fr) minmax(0, 20fr);
  grid-template-areas:
    "copy photo owner"
    "search search owner";
  grid-template-rows: minmax(clamp(380px, 60svh, 640px), auto) auto;
}
.hero-copy {
  grid-area: copy;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  padding: var(--pad);
  gap: clamp(16px, 2vw, 28px);
}
/* a manchete se ajusta à largura do painel (a palavra mais longa cabe inteira) */
.hero-copy .display { margin-top: auto; font-stretch: 112%; font-size: var(--fs-fit-hero); line-height: .92; overflow-wrap: break-word; }
.hero-photo { grid-area: photo; overflow: hidden; display: block; background: var(--plaster-2); }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero-photo:hover img { transform: scale(1.025); }
.hero-band {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 24px);
  max-width: 100%;
  padding: clamp(14px, 1.4vw, 20px) clamp(18px, 2vw, 28px);
  background: var(--timber);
  color: var(--on-timber);
  font-stretch: 112%;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: var(--fs-title);
}
.hero-band-price { color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-band-name { line-height: 1.15; text-wrap: balance; }
.hero-band .i { color: var(--on-gold); background: var(--gold); width: 2em; height: 2em; padding: .45em; margin: -.3em -.4em -.3em 0; }

.hero-owner {
  grid-area: owner;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: var(--pad) clamp(20px, 2.2vw, 36px);
  background: var(--gold);
  color: var(--on-gold);
}
.owner-title { font-size: var(--fs-fit-owner); line-height: .98; overflow-wrap: break-word; }
.owner-arrow { width: 2.5rem; height: 2.5rem; transition: transform .45s var(--ease); }
.hero-owner:hover .owner-arrow { transform: translateX(8px); }
.hero-owner:hover, .hero-owner:focus-visible { box-shadow: 0 0 0 4px var(--on-timber), 0 12px 30px -10px rgba(0, 0, 0, .5); }

.hero-search { grid-area: search; min-width: 0; }

/* Busca em painéis */
.search {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, .9fr);
  gap: var(--beam);
  margin: 0;
}
.field-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: clamp(16px, 1.6vw, 26px) clamp(18px, 1.8vw, 28px);
  cursor: pointer;
  transition: box-shadow .45s var(--ease);
}
.field-panel:focus-within { z-index: 1; box-shadow: 0 0 0 4px var(--gold); }
.select { position: relative; display: block; }
.select select {
  appearance: none;
  width: 100%;
  border: 0;
  background: transparent;
  padding: 2px 28px 2px 0;
  font-stretch: 105%;
  font-weight: 750;
  font-size: var(--fs-subtitle);
  text-transform: uppercase;
  letter-spacing: .02em;
  cursor: pointer;
  text-overflow: ellipsis;
}
.select select:focus { outline: none; }
.select .i { position: absolute; right: 0; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--gold-ink); }
.search-go {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  background: var(--gold);
  color: var(--on-gold);
  cursor: pointer;
  font-stretch: 125%;
  font-weight: 800;
  font-size: clamp(1.1rem, 1.6vw, 1.6rem);
  text-transform: uppercase;
  transition: background-color .3s var(--ease), box-shadow .45s var(--ease);
}
.search-go:hover { background: var(--gold-2); }
.search-go:focus-visible { outline: none; z-index: 1; box-shadow: 0 0 0 4px var(--on-timber); }

/* Montagem da parede: as vigas aparecem primeiro, o reboco preenche */
@media (prefers-reduced-motion: no-preference) {
  .js .hero > .panel, .js .hero .search > * {
    animation: fill-in .8s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 70ms + 80ms);
  }
  .js .hero .search > :nth-child(1) { --i: 3; }
  .js .hero .search > :nth-child(2) { --i: 4; }
  .js .hero .search > :nth-child(3) { --i: 5; }
  .js .hero .search > :nth-child(4) { --i: 6; }
  .js .hero .search > :nth-child(5) { --i: 7; }
}
@keyframes fill-in {
  from { clip-path: inset(0 0 14% 0); opacity: .3; }
  to { clip-path: inset(0 0 0 0); opacity: 1; }
}

/* ---------- Cabeça de seção ---------- */
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 16px 40px;
  padding: clamp(28px, 3.4vw, 56px) var(--pad) clamp(22px, 2.4vw, 36px);
}
.section-note { color: var(--ink-2); max-width: 52ch; }
.section-note a, .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-stretch: 112%;
  font-weight: 750;
  font-size: .875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-ink);
  text-decoration: none;
  margin-left: 6px;
}
.section-note a:hover, .text-link:hover { text-decoration: underline; }

/* ---------- Catálogo ---------- */
.lots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: var(--beam);
}
.lots-solo { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.lots-solo .lot { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.lots-solo .lot-photo { aspect-ratio: 4 / 3; min-height: 100%; }
.lots-solo .lot-title { font-size: var(--fs-section); }

.lot { display: flex; flex-direction: column; }
.lot-photo { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--plaster-2); }
.lot-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lot:hover .lot-photo img { transform: scale(1.03); }
.plate {
  position: absolute;
  left: 0;
  top: 0;
  padding: 9px 14px;
  background: var(--timber);
  color: var(--on-timber);
  font-stretch: 112%;
  font-weight: 750;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.plate-accent { background: var(--gold); color: var(--on-gold); }
.is-closed .lot-photo img { filter: grayscale(.85); opacity: .8; }

.lot-body { display: flex; flex-direction: column; gap: 12px; padding: clamp(18px, 2vw, 30px); flex: 1; }
.lot-title {
  font-stretch: 118%;
  font-weight: 800;
  font-size: clamp(1.15rem, 1.4vw, 1.4rem);
  line-height: 1.05;
  text-transform: uppercase;
  text-wrap: balance;
}
.lot-place { display: flex; gap: 8px; align-items: flex-start; color: var(--ink-2); font-size: var(--fs-small); line-height: 1.35; }
.lot-place .i { margin-top: 1px; color: var(--gold-ink); }
.lot-specs { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: var(--fs-small); }
.lot-specs span { display: inline-flex; gap: 6px; align-items: center; }
.lot-specs .i { color: var(--ink-2); }
.lot-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 2px solid var(--timber);
}
.lot-price { font-stretch: 118%; font-weight: 800; font-size: clamp(1.25rem, 1.6vw, 1.6rem); }
.lot-code { font-stretch: 112%; font-weight: 700; font-size: .75rem; letter-spacing: .14em; color: var(--ink-2); }

.ask {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 2.6vw, 40px);
  background: var(--plaster-2);
}
.ask-title { font-size: var(--fs-section); line-height: 1; }
.ask-text { color: var(--ink-2); max-width: 34ch; }
.ask .btn { margin-top: auto; }

.lots-closed { opacity: .92; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 24px;
  border: 0;
  background: var(--gold);
  color: var(--on-gold);
  font-stretch: 112%;
  font-weight: 750;
  font-size: .875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s var(--ease), box-shadow .45s var(--ease);
}
.btn:hover { background: var(--gold-2); }
.btn .i { width: 1.4em; height: 1.4em; }
.btn-ink { background: var(--timber); color: var(--on-timber); }
.btn-ink:hover { background: var(--timber-3); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--timber); }
.btn-ghost:hover { background: var(--timber); color: var(--on-timber); }

/* ---------- Jornada ---------- */
.journey { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.journey-head { padding: clamp(28px, 3.4vw, 56px) var(--pad); display: flex; align-items: end; }
.journey-head h2 { max-width: 18ch; }
/* a escora diagonal: uma por página, como estrutura */
.brace { background: var(--plaster); min-height: 160px; }
/* a viga diagonal fica numa camada própria, para poder ser desenhada sem tirar o reboco */
.brace::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top right,
      transparent calc(50% - var(--beam) / 2 - .5px),
      var(--timber) calc(50% - var(--beam) / 2),
      var(--timber) calc(50% + var(--beam) / 2),
      transparent calc(50% + var(--beam) / 2 + .5px));
}
.journey-steps {
  grid-column: 1 / -1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--beam);
}
.step { display: flex; flex-direction: column; gap: 10px; padding: clamp(22px, 2.4vw, 36px); }
.step-n {
  font-stretch: 125%;
  font-weight: 800;
  font-size: var(--fs-numeral);
  line-height: .8;
  color: var(--gold-ink);
  margin-bottom: clamp(10px, 2vw, 28px);
}
.step p { color: var(--ink-2); font-size: var(--fs-body-sm); }

/* ---------- Fundadora ---------- */
.founder {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "photo text";
}
.founder-photo { grid-area: photo; overflow: hidden; min-height: clamp(420px, 52vw, 760px); background: var(--plaster-2); }
.founder-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.founder-text { grid-area: text; display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 3.4vw, 64px) var(--pad); }
.founder-text h2 { max-width: 16ch; margin-bottom: 8px; }
.founder-text p { max-width: 60ch; color: var(--ink-2); }
.founder-text strong { color: var(--ink); }
.founder-text .text-link { margin: 8px 0 0; }
.fact { display: flex; flex-direction: column; gap: 8px; padding: clamp(18px, 2vw, 30px); }
.fact-v { font-stretch: 118%; font-weight: 800; font-size: var(--fs-title); text-transform: uppercase; line-height: 1.05; }

/* ---------- Contato ---------- */
.contact-title { font-size: var(--fs-figure); line-height: 1; max-width: 16ch; }

/* ---------- Rodapé (na madeira) ---------- */
.site-foot { color: var(--on-timber-2); padding: clamp(36px, 4vw, 64px) calc(var(--beam) + var(--pad)) calc(28px + env(safe-area-inset-bottom)); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.foot-brand img { width: 150px; margin-bottom: 18px; }
.foot-brand p { max-width: 36ch; }
.foot-col { display: flex; flex-direction: column; gap: 8px; }
.foot-col a { color: var(--on-timber); text-decoration: none; }
.foot-col a:hover { text-decoration: underline; }
.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--timber-3); font-size: .875rem; }

/* ---------- Páginas internas ---------- */
.page-head {
  grid-template-columns: minmax(0, 1fr);
}
.page-title { padding: clamp(32px, 4vw, 72px) var(--pad) clamp(24px, 3vw, 44px); display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: end; justify-content: space-between; }
.filters-row { display: grid; gap: var(--beam); }
.result-note { padding: 14px var(--pad); background: var(--plaster-2); display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; color: var(--ink-2); font-size: var(--fs-small); }
.result-note a { color: var(--gold-ink); font-weight: 700; }
.empty {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(28px, 3.4vw, 56px) var(--pad);
}
.empty h2 { font-size: var(--fs-section); max-width: 22ch; }
.empty p { color: var(--ink-2); max-width: 52ch; }
.empty .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Imóvel ---------- */
.prop-title { padding: clamp(28px, 3.4vw, 56px) var(--pad); display: flex; flex-direction: column; gap: 16px; }
.prop-title .display { line-height: .98; max-width: 22ch; }
.prop-place { display: flex; gap: 8px; color: var(--ink-2); }
.prop-place .i { color: var(--gold-ink); margin-top: 2px; }
.prop-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { padding: 7px 12px; background: var(--timber); color: var(--on-timber); font-stretch: 112%; font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
.tag-accent { background: var(--gold); color: var(--on-gold); }
.tag-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--timber); }
.prop-price { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 40px); background: var(--plaster-2); }
.price-block + .price-block { padding-top: 14px; border-top: 2px solid var(--timber); }
.price-big { display: block; font-stretch: 118%; font-weight: 800; font-size: var(--fs-figure); line-height: 1; margin-top: 6px; }
.price-sub { display: block; color: var(--ink-2); font-size: var(--fs-small); margin-top: 6px; }
.prop-price .btn { width: 100%; }
.prop-price .actions { display: grid; gap: 10px; margin-top: auto; }

.gallery { grid-template-columns: minmax(0, 1fr); }
.gal-stage { overflow: hidden; background: var(--timber-2); aspect-ratio: 16 / 9; max-height: 78svh; width: 100%; }
.gal-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal-stage .gal-cap {
  position: absolute; left: 0; bottom: 0; padding: 12px 18px;
  background: var(--timber); color: var(--on-timber);
  font-stretch: 112%; font-weight: 700; font-size: var(--fs-action-sm); letter-spacing: .12em; text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.gal-nav {
  position: absolute; top: 50%; translate: 0 -50%;
  width: 56px; height: 56px; display: grid; place-items: center;
  border: 0; background: var(--plaster); color: var(--ink); cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.gal-nav:hover { background: var(--gold); color: var(--on-gold); }
.gal-prev { left: 0; }
.gal-next { right: 0; }
.gal-nav .i { width: 26px; height: 26px; }
.gal-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: var(--beam); list-style: none; margin: 0; padding: 0; }
.gal-thumbs a { display: block; aspect-ratio: 4 / 3; position: relative; overflow: hidden; background: var(--plaster-2); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: opacity .3s var(--ease); }
.gal-thumbs a:hover img, .gal-thumbs a[aria-current="true"] img { opacity: 1; }
.gal-thumbs a[aria-current="true"] { box-shadow: 0 0 0 4px var(--gold); z-index: 1; }
.gal-thumbs a:focus-visible { outline: none; box-shadow: 0 0 0 4px var(--gold); z-index: 1; }

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: var(--beam); list-style: none; margin: 0; padding: 0; }
.spec { display: flex; flex-direction: column; gap: 4px; padding: clamp(18px, 2vw, 28px); }
.spec .i { width: 28px; height: 28px; color: var(--gold-ink); margin-bottom: 8px; }
.spec-n { font-stretch: 118%; font-weight: 800; font-size: var(--fs-price); line-height: 1; font-variant-numeric: tabular-nums; }
.spec-l { color: var(--ink-2); font-size: var(--fs-small); }

.details { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: stretch; }
.about-prop { padding: clamp(28px, 3.2vw, 56px) var(--pad); display: flex; flex-direction: column; gap: 18px; }
.about-prop h2 { font-size: var(--fs-section); }
.about-prop p { max-width: 65ch; color: var(--ink-2); }
.rooms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 32px; margin: 10px 0 0; }
.rooms dt { font-stretch: 112%; font-weight: 750; font-size: var(--fs-action-sm); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.rooms dd { margin: 0; color: var(--ink-2); font-size: var(--fs-body-sm); }
.feat { padding: clamp(28px, 3.2vw, 48px) var(--pad); display: flex; flex-direction: column; gap: 18px; background: var(--plaster-2); }
.feat h2 { font-size: var(--fs-subhead); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.chips li { padding: 9px 14px; background: var(--plaster); box-shadow: inset 0 0 0 2px var(--timber); font-stretch: 112%; font-weight: 700; font-size: var(--fs-action-sm); letter-spacing: .1em; text-transform: uppercase; }
.highlights { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.highlights li { padding: 12px 0; border-top: 1px solid var(--plaster-3); display: flex; gap: 12px; }
.highlights li:last-child { border-bottom: 1px solid var(--plaster-3); }
.highlights li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .5em; background: var(--gold); }

.visit { grid-template-columns: minmax(0, 6fr) minmax(0, 2fr) minmax(0, 6fr); }
.visit .brace { min-height: 0; }
.visit-cta { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: clamp(28px, 3.2vw, 52px) var(--pad); background: var(--gold); color: var(--on-gold); }
.visit-cta:hover, .visit-cta:focus-visible { box-shadow: 0 0 0 4px var(--on-timber), 0 12px 30px -10px rgba(0, 0, 0, .5); }
.visit-cta .contact-title { max-width: 18ch; }
.visit-broker { display: grid; grid-template-columns: auto 1fr; gap: clamp(18px, 2vw, 32px); align-items: center; padding: clamp(20px, 2.4vw, 36px); }
.visit-broker img { width: clamp(88px, 9vw, 132px); aspect-ratio: 1; object-fit: cover; object-position: 50% 15%; }
.visit-broker p { color: var(--ink-2); }
.visit-broker .fact-v { margin-bottom: 6px; }

.sticky-cta { display: none; }

/* ---------- Anunciar ---------- */
.owner-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.owner-intro { padding: clamp(32px, 4vw, 72px) var(--pad); display: flex; flex-direction: column; gap: 22px; background: var(--gold); color: var(--on-gold); }
.owner-intro .lede { color: var(--on-gold-2); }
.owner-intro p:not(.lede) { color: var(--on-gold-2); max-width: 46ch; }
.owner-form { padding: clamp(28px, 3.4vw, 56px) var(--pad); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; align-content: start; }
.owner-form .full { grid-column: 1 / -1; }
.owner-form h2 { font-size: var(--fs-subhead); }
.input {
  display: block;
  width: 100%;
  margin-top: 8px;
  min-height: 54px;
  padding: 12px 16px;
  border: 0;
  background: #fff;
  box-shadow: inset 0 0 0 2px var(--plaster-3);
  font-size: 1.0625rem;
  transition: box-shadow .3s var(--ease);
}
.input:hover { box-shadow: inset 0 0 0 2px var(--ink-2); }
.input:focus { outline: none; box-shadow: inset 0 0 0 3px var(--gold-ink); }
.input::placeholder { color: var(--placeholder); }
.select-input { appearance: none; padding-right: 44px; background: #fff; }
.choice { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 8px; border: 0; padding: 0; }
.choice legend { padding: 0; }
.choice label { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span {
  display: flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 10px; text-align: center;
  background: #fff; box-shadow: inset 0 0 0 2px var(--plaster-3);
  font-stretch: 112%; font-weight: 750; font-size: var(--fs-action-sm); letter-spacing: .1em; text-transform: uppercase; cursor: pointer;
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.choice input:checked + span { background: var(--timber); color: var(--on-timber); box-shadow: none; }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px var(--gold-ink); }
.form-note { color: var(--ink-2); font-size: var(--fs-small); }

/* ---------- Sobre ---------- */
.about-page { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "photo text"; }
.about-page .founder-photo { min-height: clamp(460px, 60vw, 860px); }
.about-page .founder-text h1 { margin-bottom: 8px; max-width: 16ch; }

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "copy photo"
      "owner photo"
      "search search";
    grid-template-rows: auto auto auto;
  }
  .hero-photo { min-height: clamp(420px, 56svh, 600px); }
  .hero-owner { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
  .search { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search-go { grid-column: 1 / -1; min-height: 64px; }
  .journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lots-solo { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .nav, .head-wa span { display: none; }
  .head-wa { margin-left: auto; padding: 0 22px; }
  .menu-btn {
    display: grid; place-items: center; align-self: stretch; width: var(--head-h); border: 0;
    background: var(--plaster); cursor: pointer; box-shadow: calc(var(--beam) * -1) 0 0 var(--timber); margin-left: var(--beam);
  }
  .menu-btn .i { width: 26px; height: 26px; }
  .menu-btn .i-close, .nav-open .menu-btn .i-open { display: none; }
  .nav-open .menu-btn .i-close { display: block; }
  .nav-open .nav {
    display: grid; position: absolute; left: var(--beam); right: var(--beam); top: calc(100% + var(--beam));
    gap: var(--beam); margin: 0; background: var(--timber); padding-bottom: var(--beam);
  }
  .nav-open .nav a { background: var(--plaster); padding: 20px var(--pad); font-size: var(--fs-body-sm); border: 0; }
  .nav-open .nav a[aria-current="page"] { background: var(--gold); color: var(--on-gold); }
  .details, .visit, .owner-hero, .about-page, .founder { grid-template-columns: minmax(0, 1fr); }
  .founder { grid-template-areas: "photo" "text"; }
  .founder-photo, .about-page .founder-photo { min-height: 0; aspect-ratio: 4 / 5; grid-row: auto; }
  .foot-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
  .lots-solo .lot { grid-template-columns: minmax(0, 1fr); }
  .lots-solo .lot-photo { aspect-ratio: 4 / 3; min-height: 0; }
}

@media (max-width: 640px) {
  :root { --beam: 8px; --pad: 20px; --head-h: 64px; }
  body { font-size: var(--fs-body-sm); }
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "photo" "search" "owner"; }
  .hero-copy { gap: 14px; padding-top: 28px; }
  .hero-photo { min-height: 0; aspect-ratio: 4 / 3.4; }
  .hero-band { right: 0; }
  .search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field-panel { padding: 14px 16px; }
  .journey { grid-template-columns: minmax(0, 1fr) 72px; }
  .brace { min-height: 0; }
  .journey-steps { grid-template-columns: minmax(0, 1fr); }
  .step { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; }
  .step-n { grid-row: span 2; margin: 0; }
  .rooms { grid-template-columns: minmax(0, 1fr); }
  .owner-form { grid-template-columns: minmax(0, 1fr); }
  .gal-stage { aspect-ratio: 4 / 3; }
  .gal-nav { width: 46px; height: 46px; }
  .gal-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .page-imovel .site-foot { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .sticky-cta {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; gap: 8px; align-items: stretch;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--timber);
  }
  .sticky-cta .sticky-price { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 14px; background: var(--plaster); min-width: 0; }
  .sticky-cta .sticky-price strong { font-stretch: 118%; font-weight: 800; font-size: 1.1rem; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-cta .sticky-price span { font-size: .75rem; color: var(--ink-2); letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
  .sticky-cta .btn { min-height: 54px; padding: 0 18px; }
}
.select .select-input + .i { right: 16px; top: calc(50% + 4px); }

/* Títulos longos digitados no painel: o tamanho acompanha a largura do painel */
.prop-title, .page-title, .founder-text, .empty { container-type: inline-size; }
.prop-title .display { font-size: var(--fs-fit-title); overflow-wrap: break-word; hyphens: auto; }
.page-title .display, .empty .display { font-size: var(--fs-fit-page); overflow-wrap: break-word; }
.about-page .founder-text h1 { font-size: var(--fs-fit-page); }
@media (max-width: 640px) {
  .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .spec { padding: 14px; }
  .spec .i { width: 22px; height: 22px; margin-bottom: 4px; }
  .spec-n { font-size: 1.1rem; font-stretch: 100%; white-space: nowrap; }
  .spec-l { font-size: var(--fs-action-sm); }
  .sticky-cta .sticky-price strong { font-stretch: 100%; font-size: 1.05rem; }
  .sticky-cta .btn { padding: 0 14px; letter-spacing: .08em; }
}
.select .select-input {
  padding: 12px 44px 12px 16px;
  background: #fff;
  font-size: 1.0625rem;
  font-stretch: 100%;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.select .select-input:focus { box-shadow: inset 0 0 0 3px var(--gold-ink); }
.lots-solo .lot-title { font-size: clamp(1.25rem, 1.7vw, 1.75rem); }
.btn { text-align: center; }

/* Revisão final */
/* postes mais grossos na borda da parede, vigas finas por dentro */
:root { --post: calc(var(--beam) * 1.7); }
.wall { padding-left: var(--post); padding-right: var(--post); }
.site-head { padding-left: var(--post); padding-right: var(--post); }
/* com 2+ imóveis o painel "Não achou" vira uma faixa inteira, sem buracos na grade */
.lots-section > .ask { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 40px; }
.lots-section > .ask .ask-text { flex: 1 1 280px; max-width: 52ch; }
.lots-section > .ask .btn { margin-top: 0; }
@media (max-width: 640px) {
  .btn { letter-spacing: .06em; padding: 0 16px; }
  .gal-thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--beam); scrollbar-width: thin; }
  .gal-thumbs li { flex: 0 0 96px; scroll-snap-align: start; }
}
@media (max-width: 900px) { .about-page { grid-template-areas: "photo" "text"; } }
/* retrato na mesma altura do texto ao lado */
.founder-photo { min-height: clamp(380px, 36vw, 560px); }
.about-page .founder-photo { min-height: clamp(420px, 42vw, 640px); }
.founder-text { justify-content: center; }
@media (max-width: 900px) { .founder-photo, .about-page .founder-photo { min-height: 0; } }
/* foco sobre a madeira: o dourado claro aparece melhor que o queimado */
.site-foot :focus-visible, .head-wa:focus-visible, .hero-photo:focus-visible { outline-color: var(--gold); }

/* ---------- Layout: andares e página do imóvel ---------- */
/* entre seções corre uma viga mais grossa (o piso de cada andar); dentro delas, a viga fina */
:root { --sill: calc(var(--beam) * 2.2); }
main > .wall:not(:first-child) { padding-top: var(--sill); }

/* imóvel: conteúdo à esquerda, coluna de preço que acompanha a rolagem à direita */
.prop-layout { grid-template-columns: minmax(0, 1fr) minmax(300px, 25%); align-items: start; }
.prop-layout > * { grid-column: 1; }
.prop-layout > .prop-price {
  grid-column: 2;
  grid-row: 1 / span var(--rows, 4);
  align-self: stretch;
  display: block;
  padding: 0;
}
.prop-price-inner {
  position: sticky;
  top: calc(var(--head-h) + var(--beam) * 2);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(24px, 2.4vw, 36px);
}
.prop-price-inner .actions { margin-top: 10px; }
.prop-layout .gallery, .prop-layout .details { display: grid; gap: var(--beam); }
.prop-layout .details { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.prop-layout .gal-stage { aspect-ratio: 3 / 2; max-height: 72svh; }

/* miniaturas: sempre uma faixa só, sem buracos na grade */
.gal-thumbs {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--timber-3) var(--timber);
  padding-bottom: 4px;
}
.gal-thumbs li { flex: 0 0 clamp(96px, 8vw, 132px); scroll-snap-align: start; }

@media (max-width: 1180px) {
  .prop-layout .details { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .prop-layout { grid-template-columns: minmax(0, 1fr); }
  .prop-layout > .prop-price { grid-column: 1; grid-row: auto; }
  .prop-price-inner { position: static; }
}
/* o contorno da miniatura atual fica por dentro (a faixa rolável cortaria o de fora) */
.gal-thumbs a[aria-current="true"], .gal-thumbs a:focus-visible { box-shadow: none; }
.gal-thumbs a::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--gold); transition: box-shadow .3s var(--ease); pointer-events: none; }
.gal-thumbs a[aria-current="true"]::after, .gal-thumbs a:focus-visible::after { box-shadow: inset 0 0 0 4px var(--gold); }
.prop-layout { grid-template-columns: minmax(0, 1fr) minmax(320px, 28%); }
.prop-layout > .prop-price { container-type: inline-size; }
.prop-price-inner .price-big { font-size: var(--fs-fit-price); white-space: nowrap; }
.prop-price-inner .btn { letter-spacing: .08em; padding: 0 18px; }
.spec-n { white-space: nowrap; }
@media (max-width: 900px) { .prop-layout { grid-template-columns: minmax(0, 1fr); } }
.prop-price-inner .btn { font-size: clamp(.75rem, 4.2cqi, .875rem); }

/* ---------- Movimento ---------- */
/* resposta ao toque: o painel ou botão assenta na parede */
.btn, .search-go, .panel-link, .gal-nav, .head-wa { transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .45s var(--ease), transform .2s var(--ease); }
.btn:active, .search-go:active, .gal-nav:active, .head-wa:active { transform: translateY(1px) scale(.985); transition-duration: .08s; }
.panel-link:active { transform: scale(.995); transition-duration: .08s; }
.text-link .i, .section-note a .i { transition: transform .3s var(--ease); }
.text-link:hover .i, .section-note a:hover .i { transform: translateX(4px); }
.hero-band .i { transition: transform .45s var(--ease); }
.hero-photo:hover .hero-band .i { transform: translateX(4px); }

/* jornada: a escora se desenha subindo e os números acendem em ordem (1 → 4) */
.step-n { transition: color .5s var(--ease); }
.journey.is-waiting .step-n { color: var(--plaster-3); }
.journey.is-built .step:nth-child(1) .step-n { transition-delay: .35s; }
.journey.is-built .step:nth-child(2) .step-n { transition-delay: .5s; }
.journey.is-built .step:nth-child(3) .step-n { transition-delay: .65s; }
.journey.is-built .step:nth-child(4) .step-n { transition-delay: .8s; }
@media (prefers-reduced-motion: no-preference) {
  .journey.is-waiting .brace::before { clip-path: inset(0 100% 0 0); }
  .journey .brace::before { clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease); }
}

/* galeria: a foto nova entra por cima da anterior */
.gal-stage img[data-gal-main] { view-transition-name: foto-imovel; }
::view-transition-old(foto-imovel), ::view-transition-new(foto-imovel) { animation-duration: .28s; animation-timing-function: var(--ease); }

/* menu do celular: itens descem em sequência; fecha mais rápido */
@media (max-width: 900px) and (prefers-reduced-motion: no-preference) {
  .nav-open .nav a { animation: menu-in .32s var(--ease) both; }
  .nav-open .nav a:nth-child(2) { animation-delay: .04s; }
  .nav-open .nav a:nth-child(3) { animation-delay: .08s; }
  .nav-open .nav a:nth-child(4) { animation-delay: .12s; }
  .nav-closing .nav a { animation: menu-out .14s ease-in both; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes menu-out { to { opacity: 0; transform: translateY(-4px); } }

@media (prefers-reduced-motion: reduce) {
  .btn:active, .search-go:active, .gal-nav:active, .head-wa:active, .panel-link:active { transform: none; }
  .text-link:hover .i, .section-note a:hover .i, .hero-photo:hover .hero-band .i { transform: none; }
  ::view-transition-old(foto-imovel), ::view-transition-new(foto-imovel) { animation-duration: .12s; }
}

/* ---------- Home: a Leticia + a casa ---------- */
/* assinatura da corretora com a ação principal */
.hero-broker {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 14px 16px;
  padding-top: 18px;
  border-top: 2px solid var(--timber);
}
.hero-broker img { width: 60px; height: 60px; object-fit: cover; object-position: 50% 12%; }
.hero-broker p { display: flex; flex-direction: column; line-height: 1.25; }
.hero-broker strong { font-stretch: 112%; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-small); }
.hero-broker p span { color: var(--ink-2); font-size: .875rem; }
.hero-broker .btn { grid-column: 1 / -1; width: 100%; }

/* o cabeçalho cede o dourado para a ação da primeira tela */
.head-wa { background: var(--plaster); color: var(--ink); }
.head-wa .i { color: var(--gold-ink); }
.head-wa:hover { background: var(--gold); }
.head-wa:hover .i { color: var(--ink); }

/* três portas no lugar da busca enquanto o catálogo é curto */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--beam); }
.door {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: end;
  gap: 4px 16px;
  padding: clamp(16px, 1.6vw, 26px) clamp(18px, 1.8vw, 28px);
}
.door-title { font-stretch: 125%; font-weight: 800; font-size: clamp(1.15rem, 1.7vw, 1.6rem); line-height: 1; text-transform: uppercase; }
.door-note { grid-row: 2; color: var(--ink-2); font-size: var(--fs-small); }
.door .i { grid-row: 1 / span 2; grid-column: 2; width: 26px; height: 26px; color: var(--gold-ink); transition: transform .3s var(--ease); }
.door:hover .i { transform: translateX(4px); }

/* um imóvel só: destaque com fotos que não repetem o topo */
.feature { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature-photos { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; gap: var(--beam); min-height: clamp(360px, 38vw, 560px); }
.feature-photo { display: block; overflow: hidden; background: var(--plaster-2); }
.feature-photo.is-main { grid-row: 1 / span 2; }
.feature-photo:only-child { grid-column: 1 / -1; }
.feature-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.feature-photo:hover img { transform: scale(1.03); }
.feature-cap { position: absolute; left: 0; bottom: 0; padding: 8px 12px; background: var(--timber); color: var(--on-timber); font-stretch: 112%; font-weight: 700; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.feature-body { display: flex; flex-direction: column; gap: 18px; padding: clamp(24px, 2.8vw, 48px) var(--pad); }
.feature-body h2 { font-size: var(--fs-section); line-height: 1.02; }
.feature-specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.feature-specs li { display: inline-flex; align-items: center; gap: 8px; }
.feature-specs .i { color: var(--gold-ink); }
.feature-foot { margin-top: auto; padding-top: 18px; border-top: 2px solid var(--timber); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 24px; }
.feature-price { display: flex; flex-direction: column; gap: 4px; }
.feature-price strong { font-stretch: 118%; font-weight: 800; font-size: var(--fs-figure); line-height: 1; font-variant-numeric: tabular-nums; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* proprietários */

/* fechamento: um painel só, com o que acontece depois do toque */

/* tipografia e toque */
p { text-wrap: pretty; }
.lot-title { line-height: 1.12; }
.text-link, .section-note a { min-height: 44px; }

@media (max-width: 1180px) {
  .doors { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .hero-owner { display: none; }
  .doors { grid-template-columns: minmax(0, 1fr); }
  .door { padding: 14px 18px; }
  .feature-photos { min-height: 0; grid-template-rows: auto auto; }
  .feature-photo.is-main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
  .feature-photo:not(.is-main) { aspect-ratio: 4 / 3; }
  .feature-photos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feature-actions .btn, .process-actions .btn { flex: 1 1 100%; }
  .select select { font-size: var(--fs-body-sm); min-height: 44px; }
}

/* ---------- Home: proprietário primeiro ---------- */
/* a porta do proprietário só aparece no celular, onde a coluna dourada some */
.door-owner { display: none; background: var(--gold); color: var(--on-gold); }
.door-owner .door-note { color: var(--on-gold-2); }
.door-owner .i { color: var(--on-gold); }
.door-owner:hover, .door-owner:focus-visible { box-shadow: 0 0 0 4px var(--on-timber), 0 12px 30px -10px rgba(0, 0, 0, .5); }

/* jornada em três passos */
.journey-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }

/* fechamento: a ação aparece como botão */

/* preço do destaque com custos mensais */
.feature-price .price-sub { margin-top: 2px; }

/* barra fixa da home no celular: aparece quando o topo sai da tela */
.home-sticky { display: none; }

@media (max-width: 640px) {
  .door-owner { display: grid; }
  .journey-steps { grid-template-columns: minmax(0, 1fr); }
  .home-sticky {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; gap: 8px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: var(--timber);
    transition: transform .3s var(--ease);
  }
  .home-sticky .btn { flex: 1; min-height: 52px; padding: 0 12px; }
  .home-sticky.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .3s var(--ease), visibility 0s .3s; }
  .page-home .site-foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (max-width: 1180px) and (min-width: 641px) {
  .journey-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* barra fixa: o segundo botão é claro para se destacar da madeira */
.home-sticky .btn-ink { background: var(--plaster); color: var(--ink); }
.home-sticky .btn-ink:hover { background: var(--plaster-2); }
.home-sticky .btn { font-size: var(--fs-action-sm); letter-spacing: .06em; white-space: nowrap; }
@media (max-width: 640px) {
  /* proprietário primeiro: as portas (com "Anunciar" no topo) vêm antes da foto */
  .hero { grid-template-areas: "copy" "search" "photo" "owner"; }
}

/* ---------- Rodada 3: proprietário no topo ---------- */
@media (max-width: 1180px) {
}

/* porta do proprietário: peça própria do topo, só no celular */
.hero > .door-owner { grid-area: ownerdoor; }

/* processo do proprietário */
.process-head { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 18px; }
.process-terms { max-width: 52ch; font-size: var(--fs-body); color: var(--ink-2); }
.process-terms strong { color: var(--ink); }
.process-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.owner-process .journey-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* fechamento: título, uma frase, o WhatsApp como botão e o e-mail como alternativa */
.contact { grid-template-columns: minmax(0, 1fr); padding-bottom: var(--beam); }
.contact-wa {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px 48px;
  padding: clamp(26px, 3vw, 48px) var(--pad);
  background: var(--gold);
  color: var(--on-gold);
}
.contact-side { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; max-width: 40ch; }
.contact-note { color: var(--on-gold-2); }
.contact-alt { color: var(--on-gold-2); font-size: var(--fs-small); }
.contact-alt a { color: var(--on-gold); font-weight: 700; }

/* utilitário: some no celular para os botões caberem numa linha */
@media (max-width: 640px) {
  .hide-sm { display: none; }
  .hero { grid-template-areas: "copy" "ownerdoor" "photo" "search"; }
  .hero-photo { aspect-ratio: 16 / 10; }
  .hero-band { padding: 12px 16px; }
  .hero-band-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--fs-small); }
  .owner-process .journey-steps { grid-template-columns: minmax(0, 1fr); }
  .contact-side .btn { width: 100%; }
}
@media (max-width: 1180px) and (min-width: 641px) {
  .owner-process .journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* retrato da Leticia: mais baixo em telas estreitas */
@media (max-width: 900px) {
  .founder-photo, .about-page .founder-photo { aspect-ratio: 4 / 3; }
  .founder-photo img { object-position: 50% 15%; }
}
@media (max-width: 640px) {
  .founder-photo, .about-page .founder-photo { aspect-ratio: 1 / 1; }
}

/* logo com área de toque de 44px */
.brand { display: flex; align-items: center; min-height: 44px; min-width: 44px; }
@media (min-width: 641px) and (max-width: 1180px) {
  .hide-tab { display: none; }
  /* foto mais alta no tablet: mostra a fachada em vez do céu */
  .hero-photo img { object-position: 50% 75%; }
}

/* ---------- Rodada 4 ---------- */
/* coluna do proprietário: a promessa mais forte, o detalhe e a ação junto à seta */
.owner-promise { font-stretch: 112%; font-weight: 750; font-size: var(--fs-subhead); line-height: 1.12; text-transform: uppercase; }
.owner-detail { color: var(--on-gold-2); max-width: 26ch; }
.owner-go {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto;
  padding-top: 16px; border-top: 2px solid var(--timber);
  font-stretch: 112%; font-weight: 750; font-size: var(--fs-action); letter-spacing: .12em; text-transform: uppercase;
}
.owner-go .owner-arrow { width: 2rem; height: 2rem; }
@media (max-width: 1180px) {
  .owner-promise, .owner-detail { flex: 1 1 280px; }
  .owner-go { flex: 1 1 100%; margin-top: 0; }
}

/* portas: o rodapé de cada porta alinha mesmo com títulos de 1 ou 2 linhas */
.door { grid-template-rows: 1fr auto; }
.door-title { align-self: end; }

/* fechamento: reboco escuro; o dourado da home fica só com o proprietário */
.contact-wa { background: var(--plaster-2); color: var(--ink); }
.contact-note, .contact-alt { color: var(--ink-2); }
.contact-alt a { display: inline-block; padding: 12px 0; color: var(--ink); }

@media (max-width: 640px) {
  /* a escora vira uma faixa curta de largura total, abaixo do título */
  .journey { grid-template-columns: minmax(0, 1fr); }
  .journey .brace { min-height: 56px; }
  /* logo maior no celular */
  .brand img { height: 46px; }
}
.owner-promise { font-size: clamp(.95rem, 7.4cqi, 1.6rem); overflow-wrap: break-word; }

/* ---------- Delight ---------- */
[hidden] { display: none !important; }

/* crédito das fotos: a promessa "fotos feitas pela Leticia", vista na própria foto */
.photo-credit {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  padding: 7px 12px;
  background: var(--timber);
  color: var(--on-timber-2);
  font-stretch: 112%;
  font-weight: 700;
  font-size: var(--fs-label);
  letter-spacing: .12em;
  text-transform: uppercase;
}

/* depois do formulário: a página responde como a Leticia responderia */
.owner-sent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: clamp(28px, 3.4vw, 56px) var(--pad);
}
.owner-sent h2 { font-size: var(--fs-section); max-width: 18ch; }
.owner-sent p { color: var(--ink-2); max-width: 46ch; }
.owner-sent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.owner-sent-alt a { color: var(--ink); font-weight: 700; display: inline-block; padding: 12px 0; }
.owner-sent:focus { outline: none; }
@media (prefers-reduced-motion: no-preference) {
  .owner-sent:not([hidden]) { animation: fill-in .6s var(--ease) both; }
}

/* ---------- Polish ---------- */
/* fim da página do imóvel: a ação do painel dourado volta a ter forma de botão */
.visit-cta .contact-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  align-self: flex-start;
  padding: 14px 20px;
  background: var(--timber);
  color: var(--on-timber);
  font-stretch: 112%;
  font-weight: 750;
  font-size: var(--fs-action);
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background-color .3s var(--ease);
}
.visit-cta .contact-cta .i { width: 1.4em; height: 1.4em; }
.visit-cta:hover .contact-cta { background: var(--timber-3); }

/* rodapé: grupo e autoria do site */
.foot-credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px 48px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--timber-3);
}
.foot-credit { display: flex; align-items: center; gap: 14px; font-size: var(--fs-small); }
.foot-credit img { width: auto; flex: none; }
.credit-marcondes { height: 34px; }
.credit-berenice { height: 30px; }
.foot-credits + .foot-legal { margin-top: 24px; }
@media (max-width: 640px) {
  .foot-credits { flex-direction: column; align-items: flex-start; }
  .credit-marcondes { height: 30px; }
  .credit-berenice { height: 26px; }
}

/* ---------- Adapt ---------- */
/* telas muito largas: a parede para de esticar; a madeira continua até as bordas */
@media (min-width: 1760px) {
  .site-head, main > .wall, .site-foot { max-width: 1760px; margin-left: auto; margin-right: auto; }
}

/* toque em telas grandes (notebook com tela de toque): links do menu com 44px */
.nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* títulos de seção quebram a palavra longa em vez de vazar do painel */
.feature-body, .founder-text { container-type: inline-size; }
.feature-body h2 { font-size: clamp(1.25rem, 8.6cqi, 2.4rem); overflow-wrap: break-word; hyphens: auto; }
.founder-text h2 { font-size: clamp(1.3rem, 9.4cqi, 3rem); overflow-wrap: break-word; }

/* celulares estreitos (até 400px) */
@media (max-width: 400px) {
  /* faixa da foto: nome numa linha inteira e preço com a seta abaixo */
  .hero-band { flex-wrap: wrap; row-gap: 6px; }
  .hero-band-name { flex: 1 1 100%; -webkit-line-clamp: 2; }
  .hero-band-price { margin-left: 0; }
  .hero-band .i { margin-left: auto; }
  /* títulos largos estreitam um pouco a letra */
  .display, h2, .door-title, .owner-title { font-stretch: 112%; }
  .photo-credit { padding: 5px 9px; letter-spacing: .08em; }
}
@media (max-width: 400px) { .hide-tab { display: none; } }
/* painel de visita do imóvel: título cabe em qualquer largura */
.visit-cta { container-type: inline-size; }
.visit-cta .contact-title { font-size: clamp(1.3rem, 9cqi, 2.6rem); overflow-wrap: break-word; }
/* selects da busca com área de toque de 44px em todos os tamanhos */
.select select { min-height: 44px; }
