/* ===== Mori Bem — tokens da marca ===== */
:root {
  --red: #CB102E;
  --red-deep: #A60B25;
  --orange: #F48C06;
  --graphite: #333333;
  --ink: #232323;
  --muted: #5F5F5F;
  --light: #F2F2F2;
  --sand: #FBF6EF;
  --paper: #FFFFFF;
  --line: #E6E2DC;

  --wrap: 1200px;
  --gut: clamp(16px, 4.5vw, 40px);
  --sec: clamp(72px, 10vw, 136px);
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.08; letter-spacing: -.025em; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.center { text-align: center; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Ícone de janela (2×2) — o detalhe do logo usado como marcador */
.win {
  display: inline-block; flex: none;
  width: 12px; height: 12px;
  background:
    linear-gradient(var(--orange), var(--orange)) 0 0 / 5px 5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 7px 0 / 5px 5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 0 7px / 5px 5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 7px 7px / 5px 5px no-repeat;
}
.win-lg {
  width: 22px; height: 22px;
  background:
    linear-gradient(var(--orange), var(--orange)) 0 0 / 10px 10px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 12px 0 / 10px 10px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 0 12px / 10px 10px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 12px 12px / 10px 10px no-repeat;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}

h2 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); }
.section-head { max-width: 640px; display: grid; gap: 18px; justify-items: start; margin-bottom: clamp(40px, 6vw, 72px); }
.section-lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); color: var(--muted); max-width: 56ch; }

/* ===== Botões ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 26px;
  border-radius: 999px; border: 2px solid transparent;
  font-family: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2; text-decoration: none; text-align: center;
  transition: transform .25s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .25s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { min-height: 42px; padding: 9px 18px; font-size: .9rem; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(203, 16, 46, .7); }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { border-color: var(--graphite); color: var(--graphite); }
.btn-ghost:hover { background: var(--graphite); color: #fff; }
.btn-white { background: #fff; color: var(--red); }
.btn-white:hover { background: var(--sand); }
.btn-line { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn-line:hover { background: #fff; color: var(--red); }

/* ===== Cabeçalho ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .35); }
.header-row { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; line-height: 1; }
.brand-roof { width: 52px; height: 24px; margin-bottom: -1px; }
.brand-word { font-weight: 600; font-size: 1.45rem; letter-spacing: .06em; }
.w-mori { color: var(--red); }
.w-bem { color: var(--orange); }

.nav { display: none; gap: 30px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .94rem; color: var(--graphite); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }

/* ===== Hero ===== */
.hero { padding: clamp(28px, 5vw, 64px) 0 var(--sec); position: relative; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
.hero-copy { display: grid; gap: 22px; justify-items: start; }
.hero-title { font-size: clamp(2.5rem, 6vw, 4.35rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.02; }
.hero-title em { font-style: normal; color: var(--red); }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.hero-title .line > span { display: inline-block; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .86rem; font-weight: 500; color: var(--muted); }
.hero-chips li { display: inline-flex; align-items: center; gap: 8px; }
.hero-chips li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--orange); }

.hero-visual { position: relative; aspect-ratio: 10 / 11; max-width: 560px; width: 100%; justify-self: center; }
.house-frame {
  position: absolute; inset: 0;
  clip-path: polygon(50% 8%, 100% 40%, 100% 100%, 0 100%, 0 40%);
  background: var(--light);
}
.house-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-roof { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.hero-roof path { fill: none; stroke-width: 3.6; stroke-linecap: round; }
.hero-roof .r-l { stroke: var(--red); }
.hero-roof .r-r { stroke: var(--orange); }
.hero-card {
  position: absolute; left: -12px; bottom: 28px;
  display: flex; align-items: center; gap: 14px;
  background: #fff; padding: 16px 20px 16px 18px; border-radius: 16px;
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .35);
  font-size: .95rem; line-height: 1.35; color: var(--graphite);
}
.hero-card strong { color: var(--red); }
.img-note { font-size: .72rem; color: #8b8b8b; letter-spacing: .02em; }
.hero-visual .img-note { position: absolute; right: 12px; bottom: 10px; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }

/* ===== A virada (faixa em movimento contínuo) ===== */
.turn { background: var(--graphite); color: #fff; padding: clamp(22px, 3.4vw, 34px) 0; }
.marquee {
  /* Para deslizar para a direita, troque "normal" por "reverse" */
  --direction: normal;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; width: max-content; }
.turn-list { display: flex; flex: none; }
.turn-row { padding-right: clamp(28px, 4vw, 52px); white-space: nowrap; }
.turn-row .from { position: relative; font-size: .82rem; font-weight: 500; color: rgba(255, 255, 255, .5); }
.turn-row .from::after {
  content: ""; position: absolute; left: -3%; top: 54%; height: 2px; width: 106%;
  background: var(--red); border-radius: 2px;
}
.turn-row .to { font-size: clamp(1.1rem, 1.9vw, 1.4rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.turn-row:nth-child(4n) .to { color: var(--orange); }
/* "de" em cima de "para", e a janela da marca separando os pares */
.turn-row { display: grid; grid-template-columns: auto auto; grid-template-rows: auto auto; column-gap: clamp(28px, 4vw, 52px); row-gap: 2px; align-items: center; }
.turn-row .from { grid-column: 1; grid-row: 1; justify-self: start; }
.turn-row .to { grid-column: 1; grid-row: 2; }
.turn-row::after {
  content: ""; grid-column: 2; grid-row: 1 / span 2; width: 12px; height: 12px;
  background:
    linear-gradient(var(--orange), var(--orange)) 0 0 / 5px 5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 7px 0 / 5px 5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 0 7px / 5px 5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) 7px 7px / 5px 5px no-repeat;
}
.marquee.is-moving .marquee-track { animation: marquee var(--duration, 40s) linear infinite var(--direction); }
.marquee.is-moving:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(var(--shift, 0px) * -1)); } }

/* ===== As casas ===== */
.houses { padding: var(--sec) 0; }
/* Placeholder de dado que o cliente ainda vai mandar */
.todo { outline: 1.5px dashed var(--orange); outline-offset: 3px; border-radius: 4px; }

/* Card do empreendimento */
.dev-card {
  display: grid; overflow: hidden; margin-bottom: clamp(28px, 4vw, 44px);
  border-radius: 26px; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 40px 80px -56px rgba(0, 0, 0, .5);
}
.dev-media { position: relative; aspect-ratio: 4 / 3; background: var(--light); }
.dev-media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--red); color: #fff; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 12px; border-radius: 999px;
}
.dev-media .img-note { position: absolute; right: 14px; bottom: 10px; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.dev-info { display: grid; gap: 18px; align-content: center; padding: clamp(24px, 3.4vw, 44px); }
.dev-place { font-size: .82rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); justify-self: start; }
.dev-info h3 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); justify-self: start; }
.specs { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.specs div { background: #fff; padding: 12px 14px; }
.specs dt { font-size: .74rem; color: var(--muted); }
.specs dd { margin: 4px 0 0; font-weight: 700; font-size: 1.05rem; display: inline-block; }
.price p:first-child { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price span { font-size: .9rem; color: var(--muted); }
.price p:first-child strong { font-size: clamp(1.7rem, 3vw, 2.2rem); font-weight: 800; letter-spacing: -.02em; color: var(--red); }
.price-sub { font-size: .95rem; color: var(--graphite); margin-top: 8px; }
.perks { display: grid; gap: 8px; }
.perks li { display: flex; gap: 10px; align-items: center; font-size: .95rem; }
.perks li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m6 10.5 2.6 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.dev-loc { display: grid; gap: 6px; justify-items: start; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; color: var(--muted); }
.dev-loc b { color: var(--ink); font-weight: 600; }
.dist-nota { font-size: .8rem; color: #8a8a8a; }
.dev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.text-link { color: var(--red); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.text-link:hover { color: var(--red-deep); }
.fine { font-size: .74rem; line-height: 1.5; color: #7a7a7a; }
.dev-autor { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--muted); }
.dev-autor b { color: var(--ink); font-weight: 600; }
.botao-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }

/* Card sem foto: a planta abre o card em largura cheia */
.dev-col { display: none; }
.badge-inline {
  display: inline-block; margin-right: 10px; vertical-align: 1px;
  background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px;
}
.dev-a, .dev-b { display: grid; gap: 18px; align-content: start; }
.dev-planta {
  position: relative; display: block; width: 100%; margin: 0; padding: 18px 18px 64px; border: 0; border-bottom: 1px solid var(--line);
  background: #fff; cursor: pointer; font: inherit;
}
.dev-planta img { width: 100%; height: auto; border-radius: 10px; }
.dev-planta span {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); white-space: nowrap;
  background: var(--red); color: #fff; font-weight: 600; font-size: .92rem; padding: 10px 20px; border-radius: 999px; transition: background-color .2s;
}
.dev-planta:hover span { background: var(--red-deep); }

/* Vídeos do cliente */
.inside { margin-top: clamp(40px, 6vw, 64px); display: grid; gap: 18px; }
.inside-head { display: grid; gap: 8px; }
.inside-title { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.videos {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 330px); gap: 14px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin-inline: calc(var(--gut) * -1); padding-inline: var(--gut);
}
.video-card { margin: 0; scroll-snap-align: start; display: grid; gap: 10px; align-content: start; }
.video-card video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radius); background: var(--graphite); display: block; }
.video-wrap { position: relative; }
.play {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px;
  border: 0; border-radius: var(--radius); cursor: pointer; font: inherit;
  background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.45) 100%);
}
.play-bola {
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); box-shadow: 0 16px 40px -12px rgba(203,16,46,.8); transition: transform .25s var(--ease);
}
.play-bola svg { width: 38px; height: 38px; fill: #fff; margin-left: 5px; }
.play:hover .play-bola { transform: scale(1.08); }
.play-txt { background: rgba(255,255,255,.95); color: var(--ink); font-weight: 700; font-size: .92rem; padding: 7px 14px; border-radius: 999px; }
.som {
  position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 8px;
  border: 0; border-radius: 999px; padding: 9px 14px; cursor: pointer; font: inherit; font-weight: 600; font-size: .86rem;
  background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 8px 20px -10px rgba(0,0,0,.5);
}
.som svg { width: 20px; height: 20px; fill: currentColor; color: var(--red); }
.video-card figcaption { display: grid; gap: 2px; font-size: .9rem; color: var(--muted); }
.video-card figcaption b { color: var(--ink); font-size: 1.02rem; }

/* Planta em tela cheia */
.planta-dialog {
  border: 0; border-radius: 22px; padding: 18px; width: min(1100px, calc(100vw - 24px)); max-height: calc(100vh - 32px);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.planta-dialog[open] { display: grid; gap: 14px; }
.planta-dialog::backdrop { background: rgba(20, 16, 14, .72); }
.planta-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 600; }
.planta-fechar { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.planta-scroll { overflow-x: auto; border-radius: 12px; background: #fff; }
.planta-scroll img { min-width: 760px; width: 100%; height: auto; }
.planta-dialog .btn { justify-self: start; }

/* ===== Simulação ===== */
.sim { background: var(--sand); padding: var(--sec) 0; }
.sim-grid { display: grid; gap: 36px; align-items: start; }
.sim-intro { display: grid; gap: 18px; justify-items: start; }
.sim-intro h2 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.self-note { font-size: .94rem; color: var(--muted); background: #fff; border-left: 3px solid var(--orange); border-radius: 0 14px 14px 0; padding: 14px 16px; }
.self-note strong { color: var(--ink); }
.sim-card {
  display: grid; border-radius: 26px; overflow: hidden;
  background: #fff; box-shadow: 0 40px 80px -48px rgba(0, 0, 0, .45);
}
.sim-inputs { display: grid; gap: 30px; padding: clamp(24px, 3.4vw, 40px); }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .98rem; }
.field output { font-weight: 800; font-size: 1.7rem; letter-spacing: -.02em; line-height: 1.1; color: var(--red); font-variant-numeric: tabular-nums; }
.field small { color: var(--muted); font-size: .82rem; }

input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 30px; background: transparent; margin: 0; cursor: pointer;
  --p: 50%;
}
input[type="range"]::-webkit-slider-runnable-track {
  height: 8px; border-radius: 8px;
  background: linear-gradient(90deg, var(--red) var(--p), var(--light) var(--p));
}
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: var(--light); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--red); }
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%;
  background: #fff; border: 3px solid var(--red); box-shadow: 0 4px 12px -4px rgba(0, 0, 0, .4);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--red);
}
.check { display: flex; align-items: center; gap: 12px; font-weight: 500; cursor: pointer; }
.check input { width: 22px; height: 22px; accent-color: var(--red); margin: 0; }

.sim-result {
  display: grid; gap: 16px; align-content: start;
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--red); color: #fff;
}
.res-label { font-size: .86rem; font-weight: 500; opacity: .85; }
.res-value { font-size: 1.1rem; font-weight: 500; line-height: 1; }
.res-value strong { font-size: clamp(2.4rem, 4.6vw, 3.3rem); font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.res-value span { opacity: .8; margin-left: 4px; }
.bars { display: grid; gap: 10px; }
.bar { display: grid; gap: 5px; font-size: .78rem; font-weight: 500; }
.bar span { opacity: .85; }
.bar i { display: block; height: 10px; border-radius: 10px; background: rgba(255, 255, 255, .35); width: 0; transition: width .5s var(--ease); }
.bar-own i { background: var(--orange); }
.res-msg { font-weight: 600; font-size: 1.02rem; line-height: 1.45; min-height: 2.9em; }
.sim-result .btn { width: 100%; }
.res-note { font-size: .74rem; line-height: 1.5; opacity: .78; }

/* ===== Como comprar ===== */
.steps { padding: var(--sec) 0; }
.step-list { display: grid; gap: 0; counter-reset: s; }
.step-list li { position: relative; padding: 0 0 30px 64px; }
.step-list li::before {
  content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px;
  background: linear-gradient(var(--line), var(--line));
}
.step-list li:last-child::before { display: none; }
.step-list .n {
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--red); color: var(--red); font-weight: 700; background: #fff;
}
.step-list li:last-child .n { background: var(--red); color: #fff; }
.step-list h3 { font-size: 1.2rem; margin: 8px 0 6px; }
.step-list p { color: var(--muted); font-size: .96rem; }

/* ===== Dúvidas ===== */
.faq { background: var(--sand); padding: var(--sec) 0; }
.faq-grid { display: grid; gap: 8px; align-items: start; }
.faq .section-head { margin-bottom: 24px; }
.faq-list { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--line); transition: border-color .25s; }
.faq details[open] { border-color: rgba(203, 16, 46, .35); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 18px;
  padding: 20px 22px; font-weight: 600; font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%;
  background:
    linear-gradient(var(--red), var(--red)) center / 12px 2px no-repeat,
    linear-gradient(var(--red), var(--red)) center / 2px 12px no-repeat,
    var(--sand);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* ===== Sobre ===== */
.about { padding: 0 0 var(--sec); }
.about-grid { display: grid; gap: 32px; align-items: center; border-top: 1px solid var(--line); padding-top: var(--sec); }
.about-copy { display: grid; gap: 18px; justify-items: start; }
.trust { display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: center; background: var(--sand); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); }
.trust-logo { width: 72px; height: auto; }
.trust-text { display: grid; gap: 8px; justify-items: start; }
.trust h3 { font-size: 1.25rem; }
.trust p { color: var(--muted); font-size: .95rem; }
.grupo { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.grupo li { height: 58px; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 0 16px; box-shadow: 0 6px 18px -14px rgba(46,46,46,.5); }
.grupo img { height: 28px; width: auto; display: block; }
.grupo-integra img { height: 34px; }
.grupo-integra span { font-weight: 800; font-size: .95rem; color: #0e3f94; letter-spacing: -.01em; white-space: nowrap; }
.grupo .grupo-mais { height: auto; background: none; box-shadow: none; padding: 0 4px; font-weight: 600; font-size: .88rem; color: var(--muted); }
@media (max-width: 639px), (min-width: 960px) {
  .trust { grid-template-columns: 1fr; gap: 16px; }
  .trust-logo { width: 54px; }
  .trust-text { justify-items: stretch; }
  .grupo { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .grupo li { justify-content: center; padding: 0 12px; height: 54px; }
  .grupo img { height: auto; max-height: 26px; max-width: 100%; }
  .grupo-integra { grid-column: 1 / -1; }
  .grupo-integra img { max-height: 30px; width: auto; }
  .grupo .grupo-mais { grid-column: 1 / -1; height: auto; justify-content: flex-start; padding: 2px 0 0; }
}

/* ===== CTA final + formulário ===== */
.final { background: var(--red); color: #fff; padding: var(--sec) 0; position: relative; overflow: hidden; }
.final-grid { display: grid; gap: 40px; align-items: center; }
.final-copy { display: grid; justify-items: start; gap: 18px; }
.final-photo { position: relative; width: 100%; max-width: 480px; aspect-ratio: 900 / 620; border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .12); margin-bottom: 6px; }
.final-photo img { width: 100%; height: 100%; object-fit: cover; }
.final-photo figcaption {
  position: absolute; left: 14px; bottom: 14px;
  background: #fff; color: var(--red); font-weight: 700; font-size: .98rem;
  padding: 10px 16px; border-radius: 12px; box-shadow: 0 12px 30px -14px rgba(0, 0, 0, .5);
}
.final h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.035em; }
.final-copy > p { font-size: clamp(1.1rem, 2vw, 1.45rem); max-width: 28ch; opacity: .95; }
.final-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.lead-form { position: relative; display: grid; gap: 16px; background: #fff; color: var(--ink); border-radius: 26px; padding: clamp(22px, 3.2vw, 36px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55); }
.lead-form h3 { font-size: 1.35rem; }
.lf { display: grid; gap: 6px; }
.lf label { font-size: .86rem; font-weight: 600; }
.lf input, .lf select {
  font: inherit; font-size: 1rem; color: var(--ink);
  min-height: 50px; padding: 12px 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: #fff; width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.lf input:focus, .lf select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(203, 16, 46, .12); }
.lf [aria-invalid="true"] { border-color: var(--red); background: #fff6f7; }
.lead-form .btn { width: 100%; }
.lf-error { color: var(--red); font-size: .88rem; font-weight: 600; }
.lf-legal { font-size: .76rem; color: #7a7a7a; text-align: center; }
.lf-ok { position: absolute; inset: 0; border-radius: inherit; background: #fff; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; padding: 32px; }
.lf-ok[hidden] { display: none; }
.lf-ok p { font-size: 1.05rem; line-height: 1.5; }
.lf-ok strong { color: var(--red); font-size: 1.3rem; }

/* ===== Rodapé ===== */
.site-footer { background: #262626; color: rgba(255, 255, 255, .78); padding: 56px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.brand-foot { align-items: flex-start; --roof-l: #fff; }
.brand-foot .brand-roof { margin-left: 10px; }
.brand-foot .w-mori { color: #fff; }
.tagline { margin-top: 12px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.site-footer nav, .foot-contact { display: grid; gap: 10px; align-content: start; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.legal { display: grid; gap: 8px; padding-top: 22px; font-size: .76rem; color: rgba(255, 255, 255, .55); }

/* ===== Barra fixa no celular ===== */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 10px; align-items: center;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px -20px rgba(0, 0, 0, .4);
  transform: translateY(110%); transition: transform .35s var(--ease);
}
.mobile-bar.show { transform: none; }
.mobile-bar .btn { flex: 1; }
.mb-wa { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #25D366; }
.mb-wa svg { width: 28px; height: 28px; fill: #fff; }
body { padding-bottom: 76px; }

/* ===== Revelações ===== */
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
html.js .reveal.in { opacity: 1; transform: none; }

html.js .hero-title .line > span { transform: translateY(105%); animation: lineUp .9s var(--ease) forwards; }
html.js .hero-title .line:nth-child(1) > span { animation-delay: .1s; }
html.js .hero-title .line:nth-child(2) > span { animation-delay: .22s; }
html.js .hero-title .line:nth-child(3) > span { animation-delay: .34s; }
@keyframes lineUp { to { transform: none; } }

html.js .house-frame { animation: frameIn 1.1s var(--ease) .2s both; }
@keyframes frameIn { from { clip-path: polygon(50% 100%, 100% 100%, 100% 100%, 0 100%, 0 100%); } }
html.js .hero-roof path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw .8s var(--ease) forwards; }
html.js .hero-roof .r-l { animation-delay: .9s; }
html.js .hero-roof .r-r { animation-delay: 1.15s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
html.js .hero-card { animation: cardIn .8s var(--ease) 1.3s both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal, html.js .turn-row .to { opacity: 1; transform: none; }
  html.js .hero-title .line > span { transform: none; }
  html.js .hero-roof path { stroke-dashoffset: 0; }
  .turn-row .from::after { transform: scaleX(1); }
  /* Sem movimento: a faixa vira uma linha que quebra normalmente */
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; justify-content: center; }
  .turn-list { flex-wrap: wrap; justify-content: center; row-gap: 16px; }
}

/* ===== Celular: a casa vem primeiro ===== */
@media (max-width: 959px) {
  .hero-grid { gap: 28px; }
  .hero-visual { order: -1; max-width: 330px; margin-top: 12px; }
  .hero-card { left: -8px; bottom: 18px; padding: 12px 16px 12px 14px; font-size: .88rem; }
  .header-cta { min-height: 40px; padding: 8px 16px; font-size: .86rem; }
}

/* ===== Telas médias ===== */
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ===== Desktop ===== */
@media (min-width: 960px) {
  body { font-size: 17.5px; padding-bottom: 0; }
  .mobile-bar { display: none; }
  .nav { display: flex; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 56px; }
  .hero-card { left: -40px; bottom: 48px; }

  .dev-info { grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .inside { gap: 28px; }
  .inside-head { max-width: 640px; }
  .videos { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(3, minmax(0, 320px)); justify-content: start; align-items: start; overflow: visible; margin-inline: 0; padding-inline: 0; gap: 24px; }
  .final-grid { grid-template-columns: 1fr .9fr; gap: 64px; }

  .sim-grid { grid-template-columns: .62fr 1.5fr; gap: 56px; }
  .sim-intro { position: sticky; top: calc(var(--header-h) + 40px); }
  .sim-card { grid-template-columns: 1.05fr 1fr; }

  .step-list { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .step-list li { padding: 64px 0 0; }
  .step-list li::before { left: 54px; right: -18px; top: 21px; bottom: auto; width: auto; height: 2px; }
  .step-list .n { top: 0; }

  .about-grid { grid-template-columns: 1.3fr .9fr; gap: 64px; }
  .faq-grid { grid-template-columns: .85fr 1.15fr; gap: 64px; }
  .faq .section-head { position: sticky; top: calc(var(--header-h) + 40px); }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
