/* ==========================================================================
   Alleimob | Signature — Landing Page
   ========================================================================== */

:root {
  --black: #0B0B0A;
  --offwhite: #F6F4EF;
  --white: #FFFFFF;
  --concrete: #918873;
  --wood: #A8754D;
  --gold: #C9A24E;
  --gold-deep: #8A6A22;
  --sea: #7ECBD5;
  --border: #DED8CD;
  --text-secondary: #66645F;

  --font-display: "Poppins", sans-serif;
  --font-body: "Poppins", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open,
body.lb-open { overflow: hidden; }
body.lb-open .site-header,
body.lb-open .sticky-cta,
body.lb-open .back-to-top { visibility: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.08;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
}
h2 { font-size: clamp(27px, 3.6vw, 42px); font-weight: 700; line-height: 1.14; }
h3 { font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; }

p { line-height: 1.65; margin: 0 0 16px; max-width: 60ch; color: var(--black); }

.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
}
.eyebrow.light { color: var(--gold); }
.hero-eyebrow { font-size: 21px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-inner h2.center::after,
.split-text h2::after,
.authority-text h2::after,
.contact-copy h2::after {
  content: ""; display: block; width: 44px; height: 2px; background: var(--gold);
  margin: 22px 0 0;
}
.section-inner h2.center::after { margin-left: auto; margin-right: auto; }
.light { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.25s var(--ease);
  min-height: 50px;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-primary:hover { background: #b8923f; border-color: #b8923f; }
.btn-outline { background: transparent; color: var(--black); border-color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: rgba(201,162,78,0.75); }
.btn-outline-light:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { border-color: var(--white); }
.btn-full { width: 100%; }

.micro { font-size: 12px; color: var(--text-secondary); letter-spacing: 0.04em; margin-top: 16px; }
.micro.light { color: rgba(255,255,255,0.65); }
.hero-content .micro { color: rgba(255,255,255,0.72); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.82);
  border-bottom-color: var(--border);
}
/* backdrop-filter makes the header the containing block for its fixed children,
   which would trap the fullscreen mobile nav inside the bar — drop it while open */
body.nav-open .site-header,
body.nav-open .site-header.scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--black);
  white-space: nowrap;
  flex-shrink: 0;
}
.site-header.scrolled .logo { color: var(--black); }
.logo-div { color: inherit; font-weight: 300; }
.logo-sig {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 400;
  font-size: 17px;
  color: inherit;
}
.site-header .logo-sig { color: var(--text-secondary); }

.main-nav { display: flex; gap: 20px; }
.main-nav a {
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--black);
  transition: opacity 0.25s var(--ease);
  opacity: 0.9;
  white-space: nowrap;
}
.main-nav a:hover { opacity: 1; }
.site-header.scrolled .main-nav a { color: var(--black); }
body.nav-open .site-header .main-nav a,
body.nav-open .site-header.scrolled .main-nav a { color: var(--white); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-cta {
  color: var(--black);
  border-color: var(--black);
  padding: 12px 22px;
  min-height: 40px;
  font-size: 12px;
}
.site-header.scrolled .header-cta { color: var(--black); border-color: var(--black); }
.site-header.scrolled .header-cta:hover { color: var(--white); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none; border: none; padding: 6px;
  position: relative; z-index: 61;
}
.menu-toggle span {
  width: 24px; height: 2px; background: var(--black);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.site-header.scrolled .menu-toggle span { background: var(--black); }
.site-header .logo { position: relative; z-index: 61; }
/* while the fullscreen nav panel is open, header marks must stay light on it */
body.nav-open .site-header.scrolled .logo,
body.nav-open .site-header .logo { color: var(--white); text-shadow: none; }
body.nav-open .site-header .logo-sig,
body.nav-open .site-header.scrolled .logo-sig { color: rgba(255,255,255,0.75); }
body.nav-open .menu-toggle span,
body.nav-open .site-header.scrolled .menu-toggle span { background: var(--white); }
body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.hero-media,
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-grade {
  position: absolute; inset: 0;
  background: linear-gradient(115deg, rgba(8,12,20,0.55) 0%, rgba(8,12,20,0.18) 35%, rgba(201,162,78,0.12) 70%, rgba(201,162,78,0.24) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,10,0.88) 0%, rgba(11,11,10,0.66) 40%, rgba(11,11,10,0.34) 68%, rgba(11,11,10,0.08) 90%, rgba(11,11,10,0) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--gutter) clamp(64px, 9vw, 108px);
  color: var(--white);
}
.hero-content .eyebrow {
  color: var(--white);
  letter-spacing: 0.22em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.hero-content h1 {
  font-size: clamp(30px, 4.6vw, 64px);
  max-width: 20ch;
  color: var(--white);
  margin-bottom: 20px;
  text-shadow: 0 4px 24px rgba(0,0,0,0.45);
}
.hero-content h1 .hero-accent { color: var(--gold); }
.hero-divider {
  width: 48px; height: 2px; background: var(--gold);
  margin: 0 0 24px;
}
.hero-sub {
  color: rgba(255,255,255,0.92);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 46ch;
  margin-bottom: 32px;
  text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.hero-price {
  display: inline-flex; align-items: center; gap: 14px;
  background: rgba(11,11,10,0.28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(201,162,78,0.55);
  border-radius: 4px;
  height: 48px;
  padding: 0 22px;
  margin-bottom: 28px;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.hero-price:hover {
  background: rgba(11,11,10,0.42);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
}
.hero-price-label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.78);
}
.hero-price-val {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.01em; color: var(--white);
  font-size: 20px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; }
.btn-gold { background: var(--gold); color: var(--black); border-color: var(--gold); }
.btn-gold:hover { background: #b8923f; border-color: #b8923f; }

.scroll-cue-wrap {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-label {
  font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.scroll-vline { width: 1px; height: 16px; background: rgba(255,255,255,0.4); }
.scroll-cue {
  position: static;
  width: 24px; height: 40px;
  border: 1px solid rgba(255,255,255,0.5); border-radius: 20px;
  display: flex; justify-content: center; padding-top: 8px;
}
.scroll-cue span {
  width: 4px; height: 8px; border-radius: 2px; background: var(--white);
  animation: scrollcue 1.8s infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue span { animation: none; } }

/* ---------- Stats bar ---------- */
.stats-bar { background: var(--offwhite); border-bottom: 1px solid var(--border); }
.stats-inner {
  max-width: var(--container); margin: 0 auto; padding: 40px var(--gutter);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.stat {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  border-left: 1px solid var(--border); padding: 0 12px;
}
.stat:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.6vw, 32px);
  margin-bottom: 6px;
}
.stat-label { font-size: 12px; color: var(--text-secondary); letter-spacing: 0.03em; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section.alt { background: var(--offwhite); }
.section.dark { background: var(--black); color: var(--white); }
.section-inner { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section-inner h2.center { max-width: 22ch; }

.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center;
}
.split-text p { color: var(--text-secondary); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }

/* ---------- Full bleed sections ---------- */
.fullbleed {
  position: relative;
  min-height: 82vh;
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.fullbleed img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fullbleed-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,10,0.7) 0%, rgba(11,11,10,0.15) 46%, rgba(11,11,10,0) 70%);
}
.fullbleed-scrim.light {
  background: linear-gradient(to bottom, rgba(246,244,239,0) 0%, rgba(246,244,239,0.52) 45%, rgba(246,244,239,0.92) 100%);
}
.fullbleed-caption {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto; width: 100%;
  padding: 0 var(--gutter) clamp(48px, 7vw, 88px);
  color: var(--white);
}
.fullbleed-caption h2 { color: var(--white); max-width: 18ch; }
.fullbleed-caption p { color: rgba(255,255,255,0.85); max-width: 48ch; }
.fullbleed-caption .btn { margin-top: 12px; }
.fullbleed-caption.dark-text { color: var(--black); }
.fullbleed-caption.dark-text h2 { color: var(--black); }
.fullbleed-caption.dark-text p { color: #3D3B37; }

/* ---------- Arquitetura ---------- */
.arch-grid {
  max-width: var(--container); margin: 48px auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px);
}
.arch-media-a img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.arch-notes { display: grid; gap: 32px; align-content: center; }
.arch-note { border-top: 1px solid var(--border); padding-top: 18px; }
.arch-note h3 { margin-bottom: 8px; }
.arch-note p { color: var(--text-secondary); margin-bottom: 0; }
.arch-media-full { margin-top: clamp(48px, 6vw, 80px); }
.arch-media-full img { width: 100%; max-height: 720px; object-fit: cover; }

/* ---------- Interiores ---------- */
.interior-block {
  max-width: var(--container); margin: 0 auto; padding: clamp(40px, 6vw, 72px) var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center;
}
.interior-block.reverse .interior-media { order: 2; }
.interior-block.reverse .interior-text { order: 1; }
.interior-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.interior-text p { color: var(--text-secondary); }

/* ---------- Gallery ---------- */
.gallery-grid {
  max-width: var(--container); margin: 44px auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
}
.gallery-item {
  position: relative; padding: 0; border: none; background: var(--offwhite);
  overflow: hidden; aspect-ratio: 1/1; grid-column: span 1;
}
.gallery-item.span-2 { grid-column: span 2; grid-row: span 2; aspect-ratio: 1/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0; background: rgba(11,11,10,0); transition: background 0.3s var(--ease);
}
.gallery-item:hover::after { background: rgba(11,11,10,0.08); }

/* ---------- Exclusividade ---------- */
.exclusive-list {
  max-width: var(--container); margin: 48px auto 0; padding: 0 var(--gutter);
  display: grid; gap: 0;
}
.exclusive-list li {
  display: grid; grid-template-columns: 90px 1fr; align-items: baseline; gap: 24px;
  padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.14);
  font-family: var(--font-display); font-weight: 700; font-size: clamp(18px, 2vw, 24px);
}
.exclusive-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.exclusive-list .num { color: var(--gold); font-weight: 800; font-size: clamp(20px, 2.2vw, 28px); }

/* ---------- Specs grid ---------- */
.specs-grid {
  max-width: var(--container); margin: 48px auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(5, 1fr);
}
.spec {
  padding: 28px 16px; border-top: 1px solid var(--border); border-left: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.spec:nth-child(5n+1) { border-left: none; }
.spec-val { font-family: var(--font-display); font-weight: 800; font-size: clamp(18px, 2vw, 24px); }
.spec:last-child {
  grid-column: 1 / -1; border-left: none; border-bottom: 1px solid var(--border);
  flex-direction: row; align-items: baseline; justify-content: center; gap: 14px;
  background: var(--offwhite);
}
.spec:last-child .spec-val { color: var(--gold-deep); font-size: clamp(22px, 2.6vw, 30px); }
.spec-label { font-size: 12px; color: var(--text-secondary); letter-spacing: 0.03em; }
.spec:last-child {
  grid-column: 1 / -1; border-left: none; flex-direction: row; align-items: baseline; gap: 14px;
  justify-content: center; padding-top: 32px; margin-top: 8px; border-top: 1px solid var(--border);
}
.spec:last-child .spec-val { font-size: clamp(22px, 2.6vw, 30px); }
.spec:last-child .spec-label { order: -1; }

/* ---------- Localização ---------- */
.loc-list { margin: 0 0 20px; display: grid; gap: 10px; }
.loc-list li { color: var(--text-secondary); font-size: 15px; }
.loc-note { font-size: 13px; color: var(--text-secondary); font-style: italic; }
.loc-map img { aspect-ratio: 4/5; object-fit: cover; }

/* ---------- Problema ---------- */
.problem-section { background: var(--white); }
.problem-lead { color: var(--text-secondary); font-size: clamp(16px, 1.6vw, 19px); max-width: 62ch; margin-left: auto; margin-right: auto; }
.problem-grid {
  max-width: var(--container); margin: 44px auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 40px);
}
.problem-card { border-top: 1px solid var(--border); padding-top: 22px; }
.problem-num { display: block; font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--gold-deep); letter-spacing: 0.06em; margin-bottom: 14px; }
.problem-card h3 { font-size: clamp(17px, 1.8vw, 20px); margin-bottom: 10px; }
.problem-card p { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 0; }

/* ---------- Autoridade ---------- */
.authority-grid {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: clamp(32px, 6vw, 80px); align-items: start;
}
.authority-text p { color: var(--text-secondary); }
.authority-points { margin: 20px 0 0; display: grid; gap: 12px; }
.authority-points li {
  padding-left: 22px; position: relative; color: var(--text-secondary); font-size: 15px;
}
.authority-points li::before {
  content: ""; position: absolute; left: 0; top: 9px; width: 7px; height: 7px; background: var(--gold-deep); border-radius: 50%;
}
.authority-card {
  background: var(--white); border: 1px solid var(--border); padding: 32px 28px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
}
.broker-avatar.large { width: 64px; height: 64px; font-size: 16px; margin-bottom: 10px; }
.authority-card strong { font-family: var(--font-display); font-size: 15px; line-height: 1.4; max-width: 20ch; }
.authority-card span { color: var(--text-secondary); font-size: 13px; }
.authority-card .btn { margin-top: 18px; }

/* ---------- Depoimentos ---------- */
.testimonial-grid {
  max-width: var(--container); margin: 44px auto 0; padding: 0 var(--gutter);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial-card {
  background: var(--white); border: 1px solid var(--border); padding: 28px; display: flex; flex-direction: column; gap: 18px; min-height: 200px;
}
.testimonial-card.placeholder { border-style: dashed; }
.testimonial-rating { color: var(--gold-deep); font-size: 14px; letter-spacing: 2px; }
.testimonial-quote { font-style: italic; color: var(--text-secondary); font-size: 15px; flex-grow: 1; margin: 0; }
.testimonial-author { display: flex; flex-direction: column; gap: 2px; }
.testimonial-author strong { font-family: var(--font-display); font-size: 14px; }
.testimonial-author span { font-size: 12px; color: var(--text-secondary); }
.testimonial-note { margin: 24px auto 0; padding: 0 var(--gutter); font-size: 12.5px; color: var(--text-secondary); font-style: italic; max-width: 60ch; }

/* ---------- Pilares strip ---------- */
.pillars-strip { background: var(--offwhite); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 22px 0; }
.pillars-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  font-size: clamp(13px, 1.5vw, 16px); color: var(--text-secondary);
}
.pillars-dot { color: var(--gold-deep); }

/* ---------- Contact ---------- */
.contact-section { background: var(--offwhite); }
.contact-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start;
}
.contact-copy p { color: var(--text-secondary); }
.contact-copy h2 { font-size: clamp(25px, 2.8vw, 34px); }
.broker-card {
  display: flex; align-items: center; gap: 16px; margin-top: 32px;
  padding: 20px; background: var(--white); border: 1px solid var(--border);
}
.broker-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--black); color: var(--white);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 14px;
  flex-shrink: 0; overflow: hidden;
}
.broker-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.broker-info { display: flex; flex-direction: column; gap: 3px; font-size: 14px; }
.broker-info strong { font-family: var(--font-display); font-size: 15px; }
.broker-info span { color: var(--text-secondary); }
.broker-note { font-size: 13px; color: var(--text-secondary); margin-top: 14px; }

.contact-form-wrap { background: var(--white); border: 1px solid var(--border); padding: clamp(28px, 4vw, 44px); }
.kommo-form-loading {
  min-height: 200px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 13px; text-align: center;
}
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; letter-spacing: 0.02em; }
.field .optional { font-weight: 400; color: var(--text-secondary); }
.field input, .field select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border); background: var(--white);
  font-family: var(--font-body); font-size: 15px; border-radius: 2px; min-height: 48px;
  transition: border-color 0.25s var(--ease);
  appearance: none; -webkit-appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2366645F' stroke-width='1.5' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(201,162,78,0.16); }

/* Multi-step form */
.form-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.form-progress-bar { flex-grow: 1; height: 3px; background: var(--border); border-radius: 2px; overflow: hidden; }
.form-progress-bar span {
  display: block; height: 100%; width: 33.33%; background: var(--gold);
  transition: width 0.4s var(--ease);
}
.form-progress-label { font-size: 12px; color: var(--text-secondary); white-space: nowrap; letter-spacing: 0.04em; }
.form-step { animation: stepIn 0.35s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .form-step { animation: none; } }
.form-step-actions { display: flex; gap: 12px; }
.form-step-actions .btn { flex: 1; }
.form-whatsapp-alt { margin-top: 14px; }
.form-question-label { font-family: var(--font-display); font-weight: 700; font-size: 16px; margin: 0 0 18px; }
.form-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.form-option {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--border); padding: 14px 16px; cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.form-option input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.form-option:hover { border-color: var(--gold-deep); }
.form-option:has(input:checked) { border-color: var(--gold-deep); background: rgba(201,162,78,0.09); }
.form-option-badge {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 4px; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 12px; color: var(--text-secondary);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
}
.form-option:has(input:checked) .form-option-badge { background: var(--gold-deep); border-color: var(--gold-deep); color: var(--white); }
.form-option-text { font-size: 15px; }
.checkbox-field {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 24px; font-size: 13px; color: var(--text-secondary);
}
.checkbox-field input { margin-top: 3px; width: 16px; height: 16px; flex-shrink: 0; }
.checkbox-field a { text-decoration: underline; color: var(--black); }
.contact-form-wrap .btn { margin-bottom: 12px; }
.form-success {
  margin-top: 8px; padding: 16px; background: var(--offwhite); border: 1px solid var(--border);
  font-size: 14px; text-align: center;
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 900px; margin: 44px auto 0; padding: 0 var(--gutter); }
.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(16px, 1.8vw, 19px);
}
.faq-icon { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--black); transition: transform 0.3s var(--ease);
}
.faq-icon::before { width: 18px; height: 2px; top: 8px; left: 0; }
.faq-icon::after { width: 2px; height: 18px; top: 0; left: 8px; }
.faq-item.open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-q:hover { color: var(--gold-deep); }
.faq-item.open .faq-q { color: var(--gold-deep); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { color: var(--text-secondary); padding-bottom: 22px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--white); padding: 48px 0 0; }
.footer-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter) 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-logo { color: var(--white); }
.footer-nav { display: flex; gap: 28px; }
.footer-nav a { font-size: 13px; color: rgba(255,255,255,0.75); }
.footer-nav a:hover { color: var(--gold); }
.footer-whatsapp { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom {
  max-width: var(--container); margin: 0 auto; padding: 20px var(--gutter) 28px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 12px; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.65); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s var(--ease); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 55;
  padding: 12px var(--gutter); background: rgba(255,255,255,0.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  transform: translateY(110%); transition: transform 0.35s var(--ease);
  display: none;
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta.hide-end { transform: translateY(110%); }

/* ---------- Voltar ao topo ---------- */
.back-to-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 56;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--black); color: var(--white); border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.2s var(--ease), color 0.2s var(--ease);
  cursor: pointer; padding: 0;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top:hover { background: var(--gold); color: var(--black); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(6,6,6,0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox-img { max-width: 92vw; max-height: 88vh; object-fit: contain; }
.lightbox-close, .lightbox-nav {
  position: absolute; background: none; border: none; color: rgba(255,255,255,0.85);
  font-size: 36px; line-height: 1; padding: 12px; transition: color 0.2s var(--ease);
}
.lightbox-close:hover, .lightbox-nav:hover { color: var(--white); }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 12px; top: 50%; transform: translateY(-50%); font-size: 48px; }
.lightbox-next { right: 12px; top: 50%; transform: translateY(-50%); font-size: 48px; }
.lightbox-count {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6); font-size: 13px; letter-spacing: 0.05em;
}

/* ---------- Scroll text reveal (word-by-word) ---------- */
.scroll-text-reveal .stw-word {
  color: var(--border);
  transition: color 0.25s linear;
}
.scroll-text-reveal .stw-word.lit { color: var(--black); }
.scroll-text-reveal.light-bg .stw-word { color: rgba(255,255,255,0.28); }
.scroll-text-reveal.light-bg .stw-word.lit { color: var(--white); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1023px) {
  .split, .interior-block, .contact-inner, .arch-grid,
  .problem-grid, .authority-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .authority-card { max-width: 420px; margin: 0 auto; }
  .interior-block.reverse .interior-media,
  .interior-block.reverse .interior-text { order: initial; }
  .arch-media-a img, .split-media img, .loc-map img { aspect-ratio: 16/10; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.span-2 { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/9; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .spec:nth-child(5n+1) { border-left: 1px solid var(--border); }
  .spec:nth-child(2n+1) { border-left: none; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .sticky-cta { display: block; }
  .back-to-top { right: 16px; bottom: 88px; width: 44px; height: 44px; }

  .main-nav.open {
    display: flex; position: fixed; inset: 0; top: 0; z-index: 59;
    background: rgba(9,9,8,0.92);
    backdrop-filter: blur(26px) saturate(130%);
    -webkit-backdrop-filter: blur(26px) saturate(130%);
    flex-direction: column; align-items: flex-start;
    padding: 100px var(--gutter) 40px; gap: 8px;
  }
  .main-nav.open a {
    color: var(--white); font-size: 22px; padding: 14px 0; width: 100%; opacity: 1;
    text-shadow: 0 1px 12px rgba(0,0,0,0.35);
  }
  .main-nav.open a:active { color: var(--gold); }
}

@media (max-width: 640px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 0; }
  .stat { border-left: none; border-top: 1px solid var(--border); padding-top: 18px; }
  .stat:nth-child(1), .stat:nth-child(2) { border-top: none; }
  .stat:last-child { grid-column: 1 / -1; }
  .exclusive-list li { grid-template-columns: 46px 1fr; gap: 14px; font-size: 17px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { text-align: center; white-space: normal; line-height: 1.3; padding-top: 14px; padding-bottom: 14px; }
  .sticky-cta .btn { text-align: center; white-space: normal; line-height: 1.25; font-size: 13px; padding: 12px 14px; }
  .scroll-cue-wrap { display: none; }
  .hero-eyebrow { font-size: 15px; letter-spacing: 0.16em; }
  .hero-divider { margin-bottom: 20px; }
}