/* Aura Construtora · Landing page
   Sistema: KV Aura (paleta, Space Grotesk + Inter, grafismos) */

:root {
  --petroleo: #112733;
  --petroleo-2: #1a3442;
  --profundo: #005955;
  --agua: #00A59E;
  --off: #F7F5EF;
  --mineral: #E3E5E0;
  --ink: #112733;
  --ink-2: #3c5260;          /* texto secundário sobre off-white (petróleo tingido) */
  --on-dark-2: #c2d6d6;      /* texto secundário sobre petróleo */
  --on-deep-2: #cfe3df;      /* texto secundário sobre verde profundo */

  --f-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(20px, 5vw, 80px);
  --max: 1360px;
  --sec: clamp(88px, 11vw, 168px);
  --r: 4px;

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

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; scrollbar-color: var(--profundo) var(--mineral); }
body {
  margin: 0;
  font-family: var(--f-text);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--off);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "tnum" 0;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
::selection { background: var(--agua); color: var(--petroleo); }
input, textarea { caret-color: var(--agua); }
:focus-visible { outline: 2px solid var(--agua); outline-offset: 3px; border-radius: 2px; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Tipografia ---------- */
.h2 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.35rem + 2.6vw, 3.5rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.h2::before { /* grafismo 01 · linha de assinatura */
  content: "";
  display: block;
  width: 56px; height: 4px;
  border-radius: 2px;
  background: var(--agua);
  margin-bottom: clamp(20px, 2.4vw, 32px);
}
.lead { font-size: clamp(1.0625rem, 1rem + .35vw, 1.25rem); line-height: 1.55; max-width: 44ch; }

/* ---------- Botões ---------- */
.btn {
  --bg: var(--agua); --fg: var(--petroleo);
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 56px; text-decoration: none;
  padding: 0 26px;
  border: 0; border-radius: var(--r);
  background: var(--bg); color: var(--fg);
  font-family: var(--f-text); font-weight: 600; font-size: .9375rem; letter-spacing: .04em;
  line-height: 1.2; text-align: center;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
  box-shadow: 0 1px 0 rgba(17, 39, 51, .08), 0 8px 18px -10px rgba(17, 39, 51, .35);
}
.btn__ico { width: 20px; height: 20px; flex: none; transition: transform 200ms var(--ease-out); }
.btn:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --bg: #14b3ac; box-shadow: 0 1px 0 rgba(17, 39, 51, .08), 0 14px 26px -12px rgba(17, 39, 51, .4); }
  .btn:hover .btn__ico { transform: translateX(3px); }
}
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .8125rem; box-shadow: none; }
.btn--light { --bg: var(--off); --fg: var(--petroleo); box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .45); }
@media (hover: hover) and (pointer: fine) { .btn--light:hover { --bg: #fff; } }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: var(--petroleo); color: var(--off); }
.bar__in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.logo { display: inline-flex; flex: none; text-decoration: none; line-height: 0; }
.logo img { height: 48px; width: auto; }
.bar__selo {
  font-size: .8125rem; font-weight: 600; letter-spacing: .14em; color: var(--on-dark-2);
  padding-left: 24px; border-left: 1px solid rgba(247, 245, 239, .22); line-height: 1.3;
}
.bar__cta { margin-left: auto; }

/* ---------- Hero ---------- */
.hero { overflow: clip; }
/* fundo: foto real da fachada com sobreposição verde profundo (briefing DIV 01) */
.hero__stage { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(48px, 6vw, 104px) clamp(36px, 3.6vw, 56px); color: var(--off); --tick: var(--off); }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 82%; scale: 1.3; transform-origin: 8% 20%; }
.hero__stage::before { content: ""; position: absolute; inset: 0; z-index: -1;
  /* verde forte atrás do texto, sumindo à direita do título para o imóvel aparecer; base escura para a linha de baixo */
  background:
    linear-gradient(to top, rgba(0, 46, 45, .94) 0%, rgba(0, 52, 50, .88) 42%, rgba(0, 52, 50, 0) 62%),
    linear-gradient(90deg, rgba(0, 52, 50, .95) 0%, rgba(0, 60, 58, .84) 34%, rgba(0, 72, 69, .16) 56%, rgba(0, 84, 80, 0) 100%); }
.hero__title { color: var(--off); }
.hero .selos { color: var(--on-deep-2); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(40px, 5vw, 88px) clamp(32px, 6vw, 112px);
  align-items: end;
}
.hero__title { grid-column: 1; grid-row: 1; }
.hero__aside { grid-column: 1; grid-row: 2; padding-bottom: 6px; }
.hero__aside .selos { margin-top: 0; }
.regua { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: minmax(0, 1fr); }
.hero__title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.375rem, 1.4rem + 2.7vw, 4.125rem);
  line-height: 1; letter-spacing: -0.035em; max-width: 15ch;
  text-wrap: balance;
}
.selos { display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: clamp(20px, 2.4vw, 32px); font-weight: 500; }
.selos li { display: inline-flex; align-items: center; }
.selos li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--agua); margin: 0 14px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: clamp(24px, 2.4vw, 32px); }

.mcmv { /* selo oficial do programa: arquivo com fundo branco, apresentado num cartão branco */
  display: inline-block; margin-bottom: clamp(20px, 2vw, 28px); padding: 10px 12px;
  background: #fff; border-radius: var(--r);
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .45);
}
.mcmv img { display: block; height: clamp(72px, 5.6vw, 96px); width: auto; }

/* Régua do m² */
.regua { padding-bottom: 6px; }
.regua__row + .regua__row { margin-top: clamp(14px, 1.4vw, 20px); }
.regua__val { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 10px; }
.regua__num {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.25rem, 1.5rem + 1.9vw, 3.25rem);
  line-height: .95; letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.regua__unit, .regua__pre { font-weight: 600; font-size: clamp(.875rem, .8rem + .3vw, 1.0625rem); letter-spacing: .02em; }
.regua__row--aura .regua__num, .regua__row--aura .regua__unit { color: var(--off); }
.regua__row--regiao .regua__num { color: #a9cbc6; }
.regua__row--regiao .regua__unit, .regua__pre { color: var(--on-deep-2); }
.regua__pre { width: 100%; }

.regua__track { position: relative; height: 16px; }
.regua__bar {
  position: absolute; left: 0; top: 50%;
  width: calc(var(--w) * 100%);
  transform-origin: left center;
  translate: 0 -50%;
}
.regua__bar--aura { height: 8px; background: var(--agua); }
.regua__bar--regiao { height: 2px; background: var(--tick); }
.regua__gap { /* a diferença de m² visível como trecho tracejado */
  position: absolute; top: 50%; left: calc(var(--w) * 100%); right: 0;
  height: 2px; translate: 0 -50%;
  background: repeating-linear-gradient(90deg, var(--tick) 0 6px, transparent 6px 12px);
  opacity: .55;
}
.regua__track--ticks::before {
  content: ""; position: absolute; inset: 0 -1px;
  background:
    linear-gradient(var(--tick), var(--tick)) 0 0 / 2px 100% no-repeat,
    linear-gradient(var(--tick), var(--tick)) 100% 0 / 2px 100% no-repeat,
    repeating-linear-gradient(90deg, var(--tick) 0 2px, transparent 2px 10%) 0 50% / 100% 16px no-repeat;
  z-index: 1;
}

.faixa {
  display: grid; grid-template-columns: 2.2fr 1fr 1.2fr; gap: 6px;
  margin-top: 6px;
  height: clamp(240px, 26vw, 520px);
}
.faixa__c { display: block; min-width: 0; overflow: hidden; }
.faixa img { width: 100%; height: 100%; object-fit: cover; }
.faixa__c:nth-child(1) img { object-position: 52% 50%; scale: 1.1; transform-origin: 54% 62%; }
.faixa__c:nth-child(2) img { object-position: 50% 62%; }
.faixa__c:nth-child(3) img { object-position: 50% 55%; }

/* entrada da régua: uma única peça de movimento autoral */
@media (prefers-reduced-motion: no-preference) {
  .js .regua__bar { animation: medir 1100ms var(--ease-out) both; }
  .js .regua__bar--regiao { animation-delay: 120ms; }
  .js .regua__bar--aura { animation-delay: 420ms; animation-duration: 1000ms; }
  .js .regua__gap { animation: surgir 500ms ease-out 1250ms both; }
  .js .regua__track--ticks::before { animation: surgir 600ms ease-out 100ms both; }
  .js .faixa img { animation: abrir 1100ms var(--ease-in-out) both; }
  .js .faixa__c:nth-child(2) img { animation-delay: 90ms; }
  .js .faixa__c:nth-child(3) img { animation-delay: 180ms; }
}
@keyframes medir { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes surgir { from { opacity: 0; } }
@keyframes abrir { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* ---------- Seções ---------- */
.sec { padding-block: var(--sec); }
.sec__cta { margin-top: clamp(48px, 6vw, 80px); }

/* As casas */
.casas__head {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(24px, 6vw, 112px); align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.casas__txt { color: var(--ink-2); max-width: 46ch; }
.ticks { margin-top: 16px; border-top: 1px solid var(--mineral); }
.ticks li {
  position: relative; padding: 12px 0 12px 28px; border-bottom: 1px solid var(--mineral);
  color: var(--ink); font-weight: 500;
}
.ticks li::before { /* tique da régua */
  content: ""; position: absolute; left: 4px; top: 50%; width: 2px; height: 14px; background: var(--agua); translate: 0 -50%;
}

.casa {
  display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: 16px clamp(24px, 4vw, 64px);
  padding-top: clamp(28px, 3vw, 40px);
  border-top: 2px solid var(--ink);
}
.casa + .casa { margin-top: clamp(64px, 8vw, 120px); }

.galeria { display: grid; gap: 8px; min-width: 0; }
.galeria__main {
  position: relative; display: block; padding: 0; border: 0; background: var(--mineral);
  aspect-ratio: 16 / 10; overflow: hidden; border-radius: 2px; cursor: zoom-in;
}
.galeria__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 260ms ease, transform 700ms var(--ease-out), filter 260ms ease; }
.galeria__main.is-swapping img { opacity: .35; filter: blur(4px); }
.galeria__exp {
  position: absolute; right: 14px; bottom: 14px; width: 44px; height: 44px; display: grid; place-items: center;
  background: rgba(17, 39, 51, .72); color: var(--off); border-radius: var(--r);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.galeria__exp svg { width: 20px; height: 20px; }
@media (hover: hover) and (pointer: fine) {
  .galeria__main:hover img { transform: scale(1.025); }
}
.galeria__thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.thumb {
  position: relative; padding: 0; border: 0; background: var(--mineral); aspect-ratio: 1; overflow: hidden; border-radius: 2px;
  transition: transform 160ms var(--ease-out);
}
.thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .62; transition: opacity 200ms ease; }
.thumb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--agua); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.thumb[aria-current="true"] img { opacity: 1; }
.thumb[aria-current="true"]::after { transform: scaleX(1); }
.thumb:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) { .thumb:hover img { opacity: 1; } }

/* Ficha técnica (grafismo 04 · régua de ficha técnica) */
.ficha { align-self: start; position: sticky; top: 100px; }
.ficha__txt { display: flex; flex-direction: column; }
.ficha__txt > span { padding: 10px 0; border-bottom: 1px solid var(--mineral); font-weight: 500; color: var(--ink-2); }
.ficha__txt > span:first-child { padding-top: 0; }
.ficha__casa {
  font-family: var(--f-display); font-weight: 700; color: var(--ink) !important;
  font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.05;
  padding-bottom: 16px !important;
}
.ficha__preco { border-bottom: 0 !important; padding-top: 24px !important; }
.ficha__preco b { /* grafismo 05 · moldura de preço */
  position: relative; display: inline-block; padding: 14px 22px 16px 26px;
  font-family: var(--f-display); font-weight: 700; color: var(--profundo);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); letter-spacing: -0.035em; line-height: 1;
  font-variant-numeric: tabular-nums;
  border: 2px solid var(--agua); border-radius: 6px;
}
.ficha__preco b::before { content: ""; position: absolute; left: -4px; top: 22%; height: 46%; width: 6px; border-radius: 3px; background: var(--agua); }
.ficha__preco b::after { content: ""; position: absolute; left: -2px; bottom: -2px; width: 22px; height: 6px; background: var(--off); }
.ficha__m2 { display: grid !important; gap: 8px; }
.mini-regua { position: relative; display: block; height: 14px; max-width: 240px; }
.mini-regua::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink-2); opacity: .45;
  -webkit-mask: repeating-linear-gradient(90deg, #000 0 100%); }
.mini-regua::after { content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, var(--ink-2) 0 1px, transparent 1px 10%) 0 50% / 100% 8px no-repeat; opacity: .45; }
.mini-regua > i { position: absolute; left: 0; top: 50%; height: 6px; width: calc(var(--w) * 100%); background: var(--agua); border-radius: 3px; translate: 0 -50%; transform-origin: left; z-index: 1; }



/* Processo */
.processo { background: var(--petroleo); color: var(--off); }
.processo .lead { color: var(--on-dark-2); }
.processo__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 6vw, 112px); align-items: end; }
.etapas {
  --p: 0;
  position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px);
  margin-top: clamp(56px, 7vw, 104px); padding-top: 44px;
  counter-reset: none;
}
.etapas::before, .etapas::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; }
.etapas::before { background: rgba(247, 245, 239, .22); }
.etapas::after { background: var(--agua); height: 4px; top: -1px; border-radius: 2px; transform: scaleX(var(--p)); transform-origin: left; }
.etapa { position: relative; }
.etapa::before { /* tique da régua */
  content: ""; position: absolute; left: 0; top: -44px; width: 2px; height: 22px; background: rgba(247, 245, 239, .4);
  transition: background-color 300ms ease, height 300ms var(--ease-out);
}
.etapa.is-on::before { background: var(--agua); height: 30px; }
.etapa h3 { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 1.05rem + .6vw, 1.5rem); line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
.etapa p { margin-top: 12px; color: var(--on-dark-2); font-size: 1rem; line-height: 1.55; max-width: 30ch; }

/* A Aura */
.aura { background: var(--profundo); color: var(--off); position: relative; overflow: clip; }
.aura__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 128px); align-items: center; }
.aura__copy p { margin-top: clamp(20px, 2.4vw, 28px); color: var(--on-deep-2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem); line-height: 1.65; max-width: 52ch; }
.aura__copy .btn { margin-top: clamp(32px, 4vw, 48px); }
.aura .h2::before { background: var(--off); }
.aura__foto { position: relative; aspect-ratio: 4 / 5; }
.aura__foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.cantos { /* grafismo 03 · cantos de enquadramento */
  position: absolute; inset: -18px; pointer-events: none;
  background:
    linear-gradient(var(--off), var(--off)) 0 0 / 56px 3px no-repeat,
    linear-gradient(var(--off), var(--off)) 0 0 / 3px 56px no-repeat,
    linear-gradient(var(--off), var(--off)) 100% 100% / 56px 3px no-repeat,
    linear-gradient(var(--off), var(--off)) 100% 100% / 3px 56px no-repeat;
}
.aura::after { /* grafismo 02 · arco parcial */
  content: ""; position: absolute; width: 900px; height: 900px; left: -560px; bottom: -620px;
  border: 3px solid rgba(0, 165, 158, .55); border-radius: 50%; pointer-events: none;
}

/* FAQ */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 7vw, 128px); align-items: start; }
.faq__title { position: sticky; top: 108px; }
.faq__list { border-top: 2px solid var(--ink); }
.qa { border-bottom: 1px solid #cfd3cc; }
.qa h3 { font: inherit; }
.qa__q {
  display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0; border: 0; background: none; text-align: left;
  font-family: var(--f-display); font-weight: 700; font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem); letter-spacing: -0.015em; line-height: 1.25;
  transition: color 200ms ease;
}
@media (hover: hover) and (pointer: fine) { .qa__q:hover { color: var(--profundo); } }
.qa__ico { position: relative; width: 22px; height: 22px; flex: none; }
.qa__ico::before, .qa__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: currentColor; translate: -50% -50%; transition: transform 240ms var(--ease-out); }
.qa__ico::after { transform: rotate(90deg); }
.qa__q[aria-expanded="true"] .qa__ico::after { transform: rotate(0deg); }
.qa__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 280ms var(--ease-out); }
.qa__a > div { overflow: hidden; }
.qa__a p { padding-bottom: 26px; max-width: 62ch; color: var(--ink-2); opacity: 0; transform: translateY(-4px); transition: opacity 200ms ease, transform 280ms var(--ease-out); }
.qa.is-open .qa__a { grid-template-rows: 1fr; }
.qa.is-open .qa__a p { opacity: 1; transform: none; transition-delay: 60ms; }

mark.nota { background: rgba(0, 165, 158, .14); color: inherit; padding: 0 .25em; border-radius: 2px; font-size: .92em; white-space: nowrap; }

/* Rodapé */
.rodape { background: var(--petroleo); color: var(--on-dark-2); padding-block: clamp(56px, 7vw, 96px) clamp(96px, 8vw, 96px); }
.rodape__in { display: grid; grid-template-columns: auto 1fr; gap: 32px clamp(32px, 6vw, 112px); align-items: start; }
.logo--lg img { height: 64px; }
.rodape__txt { display: grid; gap: 6px; font-size: .9375rem; line-height: 1.6; max-width: 70ch; }
.rodape__txt a { color: var(--off); }
.rodape mark.nota { background: rgba(0, 165, 158, .22); }

/* CTA fixo (mobile) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 15; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(247, 245, 239, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--mineral);
  transform: translateY(110%); transition: transform 320ms var(--ease-drawer);
  display: none;
}
.sticky-cta.is-on { transform: none; }

/* ---------- Modal do formulário ---------- */
dialog { padding: 0; border: 0; max-width: none; max-height: none; color: inherit; }
dialog::backdrop { background: rgba(10, 24, 32, .62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
.modal {
  width: min(680px, calc(100vw - 32px)); max-height: calc(100dvh - 48px);
  border-radius: 6px; background: var(--off); overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5);
}
.modal[open] { display: flex; }
@media (prefers-reduced-motion: no-preference) {
  .modal[open] { animation: modal-in 260ms var(--ease-out); }
  .modal[open]::backdrop { animation: fade-in 260ms ease-out; }
  .modal.is-closing { animation: modal-out 160ms ease-in forwards; }
  .modal.is-closing::backdrop { animation: fade-out 160ms ease-in forwards; }
}
@keyframes modal-in { from { opacity: 0; transform: scale(.96) translateY(8px); } }
@keyframes modal-out { to { opacity: 0; transform: scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }

.form { display: flex; flex-direction: column; width: 100%; min-height: 0; position: relative; }
.form__head { padding: 36px 40px 24px; background: var(--petroleo); color: var(--off); position: relative; }
.form__head::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--agua); margin-bottom: 20px; }
.form__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); letter-spacing: -0.03em; line-height: 1.05; }
.form__head p { margin-top: 10px; color: var(--on-dark-2); max-width: 44ch; font-size: 1rem; }
.modal__x {
  position: absolute; z-index: 2; top: 16px; right: 16px; width: 44px; height: 44px; display: grid; place-items: center;
  border: 0; border-radius: var(--r); background: rgba(247, 245, 239, .1); color: var(--off);
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.modal__x svg { width: 20px; height: 20px; }
.modal__x:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .modal__x:hover { background: rgba(247, 245, 239, .2); } }

.form__body { padding: 28px 40px 8px; overflow-y: auto; overscroll-behavior: contain; display: grid; gap: 24px; }
.campo { display: grid; gap: 8px; }
.campo label, .opcoes legend { font-size: .9375rem; font-weight: 600; color: var(--ink); }
.campo input {
  height: 52px; padding: 0 16px; border: 1.5px solid #c9cec6; border-radius: var(--r); background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.campo input:hover { border-color: #9fa9a6; }
.campo input:focus { outline: none; border-color: var(--profundo); box-shadow: 0 0 0 4px rgba(0, 165, 158, .2); }

.opcoes { border: 0; margin: 0; padding: 0; min-width: 0; }
.opcoes__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.opcoes legend { padding: 0; margin-bottom: 10px; }
.opcoes--duo .opcoes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opcoes--tri .opcoes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opcoes label { position: relative; display: block; }
.opcoes input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.opcoes span {
  display: flex; align-items: center; min-height: 48px; padding: 10px 14px; height: 100%;
  border: 1.5px solid #c9cec6; border-radius: var(--r); background: #fff;
  font-size: .9375rem; font-weight: 500; line-height: 1.3; color: var(--ink);
  transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms var(--ease-out);
}
.opcoes input:checked + span { border-color: var(--profundo); background: var(--profundo); color: var(--off); }
.opcoes input:focus-visible + span { outline: 2px solid var(--agua); outline-offset: 2px; }
.opcoes label:active span { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) { .opcoes input:not(:checked):hover + span { border-color: #8e9a97; } }

.form__foot { padding: 20px 40px 28px; border-top: 1px solid var(--mineral); background: var(--off); }
.form__micro { margin-top: 12px; font-size: .8125rem; color: var(--ink-2); text-align: center; }
.form__erro { margin: 0 0 12px; padding: 10px 12px; border-left: 3px solid #b3261e; background: #fbeceb; color: #8c1d18; font-size: .875rem; font-weight: 500; }
.form [data-submit][disabled] { opacity: .6; cursor: progress; }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100dvh; background: rgba(8, 20, 27, .96); color: var(--off); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: transparent; }
@media (prefers-reduced-motion: no-preference) {
  .lightbox[open] { animation: fade-in 220ms ease-out; }
  .lightbox[open] .lightbox__stage img { animation: modal-in 320ms var(--ease-out); }
}
.lightbox__stage { width: min(1400px, calc(100vw - 160px)); height: calc(100dvh - 140px); display: grid; place-items: center; touch-action: pan-y; }
.lightbox__stage img { max-width: min(1400px, calc(100vw - 160px)); max-height: calc(100dvh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 2px; transition: opacity 200ms ease, filter 200ms ease; user-select: none; -webkit-user-drag: none; }
.lightbox__stage img.is-swapping { opacity: 0; filter: blur(6px); }
.lightbox__btn {
  position: absolute; width: 52px; height: 52px; display: grid; place-items: center; border: 0; border-radius: var(--r);
  background: rgba(247, 245, 239, .1); color: var(--off); transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__btn:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .lightbox__btn:hover { background: rgba(247, 245, 239, .2); } }
.lightbox__x { top: 20px; right: 20px; }
.lightbox__prev { left: 24px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 24px; top: 50%; translate: 0 -50%; }
.lightbox__count { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; font-size: .875rem; font-weight: 600; letter-spacing: .1em; font-variant-numeric: tabular-nums; color: var(--on-dark-2); }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; row-gap: clamp(28px, 5vw, 40px); }
  .hero__title, .hero__aside, .regua { grid-column: 1; grid-row: auto; }
  .hero__stage::before { background: linear-gradient(180deg, rgba(0, 52, 50, .9) 0%, rgba(0, 52, 50, .93) 100%); }
  .casa { grid-template-columns: 1fr; }
  .ficha { position: static; }
  .ficha__txt { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 0 20px; }
  .ficha__txt > span { border: 0; padding: 4px 0; }
  .ficha__casa { width: 100%; }
  .ficha__preco { width: 100%; padding-top: 14px !important; }
  .ficha__m2 { width: 100%; }
  .etapas { grid-template-columns: 1fr; padding-top: 0; padding-left: 40px; gap: 36px; }
  .etapas::before, .etapas::after { left: 0; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .etapas::after { width: 4px; left: -1px; transform: scaleY(var(--p)); transform-origin: top; }
  .etapa::before { left: -40px; top: 10px; width: 22px; height: 2px; }
  .etapa.is-on::before { width: 30px; height: 2px; }
  .etapa p { max-width: 52ch; }
  .processo__head, .casas__head, .aura__grid, .faq__grid { grid-template-columns: 1fr; }
  .faq__title { position: static; }
  .aura__foto { aspect-ratio: 4 / 3; max-width: 760px; }
  .cantos { inset: -10px; }
}

@media (max-width: 720px) {
  body { font-size: 1rem; }
  .bar__in { min-height: 60px; }
  .bar__cta { display: none; }
  .bar__selo { margin-left: auto; padding-left: 0; border: 0; font-size: .75rem; letter-spacing: .1em; text-align: right; max-width: 17ch; }
  .logo img { height: 40px; }
  .hero__actions .btn { width: 100%; }
  .mcmv { padding: 8px 10px; }
  .mcmv img { height: 60px; }
  .btn { padding: 0 18px; letter-spacing: .02em; font-size: .875rem; }
  .selos { font-size: .9375rem; }
  .selos li + li::before { margin: 0 9px; }
  .regua__num { font-size: clamp(2.125rem, 1.2rem + 4vw, 2.75rem); }
  .faixa { grid-template-columns: 1fr 1fr; height: auto; }
  .faixa__c { aspect-ratio: 4 / 3; }
  .faixa__c:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 16 / 11; }
  .faixa__c:nth-child(1) img { scale: 1.2; }
  .galeria__thumbs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .galeria__thumbs::-webkit-scrollbar { display: none; }
  .thumb { flex: 0 0 72px; scroll-snap-align: start; }
  .galeria__main { aspect-ratio: 4 / 3; margin-inline: calc(-1 * var(--gutter)); border-radius: 0; }
  .sec__cta .btn { width: 100%; }
  .rodape__in { grid-template-columns: 1fr; }
  .sticky-cta { display: block; }
  .rodape { padding-bottom: 120px; }

  .modal { width: 100vw; max-height: 92dvh; margin: auto 0 0; border-radius: 14px 14px 0 0; }
  @media (prefers-reduced-motion: no-preference) {
    .modal[open] { animation: sheet-in 420ms var(--ease-drawer); }
    .modal.is-closing { animation: sheet-out 220ms var(--ease-out) forwards; }
  }
  .form__head { padding: 28px 20px 20px; }
  .form__body { padding: 24px 20px 8px; }
  .form__foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); }
  .opcoes__grid, .opcoes--tri .opcoes__grid { grid-template-columns: 1fr; }
  .opcoes--duo .opcoes__grid { grid-template-columns: 1fr 1fr; }
  .lightbox__stage { width: 100vw; height: calc(100dvh - 160px); }
  .lightbox__stage img { max-width: 100vw; max-height: calc(100dvh - 160px); }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 16px; translate: none; }
  .lightbox__count { bottom: 32px; }
}
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes sheet-out { to { transform: translateY(100%); } }
