/* ============================================================
   MORADA PROPRIEDADES — DESIGN SYSTEM
   Identidade preservada: Montserrat, verde Morada, branco.
   Logomarca: SVG inline (função moradaLogo, em assets/js/main.js).
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap");

:root {
  /* Cores da marca — direção "premium racional"
     Verde profundo lidera; o verde claro vira apenas acento. */
  --green: #1F5C43;        /* âncora: botões, tags, badges */
  --green-dark: #164532;   /* hover / verde forte */
  --green-deep: #0F3525;   /* mais profundo */
  --green-accent: #4BA07D; /* acento (destaques, checks, barras) */
  --green-tint: #EEF4F2;   /* superfície verde clara */
  --green-tint-2: #D8E8E1;

  /* Neutro quente (areia) — aconchego de "lar", com discrição */
  --sand: #E8E3D9;
  --sand-soft: #F5F2EB;

  --ink: #1C2420;          /* títulos (escuro levemente quente) */
  --text: #4A4A44;         /* corpo (cinza quente) */
  --muted: #7A7568;        /* apoio */
  --line: #E6E4DE;
  --bg: #FFFFFF;
  --bg-soft: #F5F2EB;      /* soft agora em tom areia */
  --dark: #18201C;         /* seções escuras (verde-carvão) */

  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(20, 40, 30, .07);
  --shadow-md: 0 8px 30px rgba(20, 40, 30, .10);
  --shadow-lg: 0 18px 50px rgba(20, 40, 30, .14);

  --font: "Montserrat", -apple-system, "Segoe UI", sans-serif;
  --header-h: 76px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-dark); text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.22; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }

.container { width: min(1180px, 92%); margin: 0 auto; }
.container-narrow { width: min(880px, 92%); margin: 0 auto; }

section { padding: clamp(56px, 8vw, 96px) 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--green-tint); }
.section-dark { background: var(--dark); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #C7CDD1; }

/* Cabeçalho de seção */
.sec-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--green-dark);
  margin-bottom: 12px;
}
.section-dark .kicker { color: var(--green-accent); }
.sec-head p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--radius); border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; line-height: 1; transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; box-shadow: none; }
.btn-primary:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { color: var(--green-dark); padding: 14px 10px; }
.btn-ghost:hover { color: var(--green-deep); }
.btn-lg { padding: 17px 34px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn svg { flex: 0 0 auto; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(20,40,30,.06); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.brand .brand-logo { height: 42px; width: auto; display: block; }
.main-nav { display: flex; gap: 26px; margin-left: 8px; }
.main-nav a { color: var(--ink); font-weight: 600; font-size: .93rem; padding: 8px 2px; position: relative; white-space: nowrap; }
@media (max-width: 1100px) and (min-width: 721px) {
  .main-nav { gap: 16px; }
  .main-nav a { font-size: .87rem; }
  .header-inner { gap: 18px; }
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px;
  background: var(--green); transition: right .22s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

/* Seletor de cidade */
.city-switch {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 99px;
  padding: 9px 16px; font-weight: 600; font-size: .86rem; color: var(--ink);
  transition: border-color .2s;
}
.city-switch:hover { border-color: var(--green); }
.city-switch svg { color: var(--green-dark); }
/* indicador de cidade única (sem seletor) */
.city-tag {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 600; font-size: .86rem; color: var(--muted); white-space: nowrap;
}
.city-tag svg { color: var(--green-dark); }
.city-tag .c-short { display: none; }
@media (max-width: 620px) {
  .city-tag .c-full { display: none; }
  .city-tag .c-short { display: inline; }
}

.city-menu {
  position: absolute; top: calc(var(--header-h) - 8px); right: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 95;
}
.city-menu.open { display: block; }
.city-menu button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 12px 14px; background: none; border: 0; border-radius: var(--radius);
  font-size: .93rem; font-weight: 600; color: var(--ink); text-align: left;
}
.city-menu button:hover { background: var(--green-tint); }
.city-menu .soon { font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--green-dark); background: var(--green-tint-2); padding: 3px 9px; border-radius: 99px; }
.city-menu .current { color: var(--green-dark); }
.city-wrap { position: relative; }

.nav-toggle { display: none; background: none; border: 0; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .25s; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + clamp(48px, 7vw, 90px)) 0 clamp(56px, 7vw, 90px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 .hl { color: var(--green); }
.hero-sub { margin-top: 20px; font-size: 1.13rem; max-width: 540px; }
.hero-ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; display: flex; gap: 22px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.trust-item svg { color: var(--green); flex: 0 0 auto; }
.hero-media { position: relative; }
.hero-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4/4.6; object-fit: cover; width: 100%; }
.hero-media.wide img { aspect-ratio: 5/4; }

/* ---------- Vídeo vertical no hero ---------- */
.hero-video {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 9/16; max-height: 78vh;
  margin-left: auto; margin-right: auto; width: 100%; max-width: 420px; background: var(--ink);
}
.hero-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-video .v-som {
  position: absolute; right: 12px; top: 12px; z-index: 2;
  width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: rgba(20,26,22,.55); color: #fff; display: grid; place-items: center;
  cursor: pointer; backdrop-filter: blur(4px); transition: background .2s;
}
.hero-video .v-som:hover { background: rgba(20,26,22,.8); }
.hero-video .v-som svg { pointer-events: none; }
/* no celular o vídeo vem antes do texto: menor, para o título aparecer sem rolar */
@media (max-width: 720px) {
  .hero-video { max-width: 320px; max-height: 56vh; }
}
.hero-card {
  position: absolute; left: -28px; bottom: 30px; background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 18px 22px; display: flex; gap: 14px; align-items: center;
}
.hero-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--green-tint); display: grid; place-items: center; color: var(--green-dark); }
.hero-card b { display: block; color: var(--ink); font-size: .95rem; }
.hero-card span { font-size: .8rem; color: var(--muted); }

/* ---------- Faixa de números ---------- */
.stats-band { border-block: 1px solid var(--line); padding: 34px 0; background: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px 20px; text-align: center; }
.stat b { display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.stat span { font-size: .87rem; color: var(--muted); font-weight: 500; }

/* ---------- Cards genéricos ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green-tint-2); }
.card .ic {
  width: 48px; height: 48px; border-radius: 12px; background: var(--green-tint);
  color: var(--green-dark); display: grid; place-items: center; margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { font-size: .93rem; }

/* Caminhos (home) */
.path-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 380px;
  display: flex; align-items: flex-end; box-shadow: var(--shadow-md); background: var(--dark);
}
.path-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.path-card:hover img { transform: scale(1.045); }
.path-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,22,18,0) 30%, rgba(15,22,18,.88) 100%); }
.path-body { position: relative; z-index: 2; padding: 30px; color: #fff; }
.path-body .tag { display: inline-block; background: var(--green); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; margin-bottom: 12px; }
.path-body h3 { color: #fff; font-size: 1.5rem; margin-bottom: 6px; }
.path-body p { color: #D8DDDA; font-size: .95rem; margin-bottom: 16px; max-width: 420px; }
.path-body .link { color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.path-body .link svg { transition: transform .2s; }
.path-card:hover .link svg { transform: translateX(4px); }

/* ---------- Timeline (como funciona) ---------- */
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.tl-step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.tl-step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-size: .85rem; font-weight: 800; color: var(--green); letter-spacing: .06em; margin-bottom: 12px;
}
.tl-step h3 { font-size: 1.02rem; margin-bottom: 8px; }
.tl-step p { font-size: .88rem; }

/* Accordion (processo completo / FAQ) */
.accordion { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.acc-item + .acc-item { border-top: 1px solid var(--line); }
.acc-btn {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; padding: 20px 24px; font-size: 1rem; font-weight: 700; color: var(--ink); text-align: left;
}
.acc-btn .chev { transition: transform .25s; color: var(--green-dark); flex: 0 0 auto; }
.acc-item.open .chev { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc-body-inner { padding: 0 24px 22px; font-size: .94rem; }

/* ---------- Antes / Depois ---------- */
/* As 3 comparacoes formam um retangulo: a foto em pe estica ate a altura
   exata das duas deitadas empilhadas ao lado. */
.ba-grid { display: grid; grid-template-columns: 1fr 1.97fr; gap: 20px; align-items: stretch; }
.ba-col { display: grid; gap: 20px; }
.ba-item { margin: 0; display: flex; flex-direction: column; }
.ba-item--tall .ba-wrap { flex: 1 1 0; min-height: 260px; }
.ba-item figcaption {
  margin-top: 10px; text-align: center; color: var(--muted);
  font-size: .82rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.ba-wrap { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16/9.5; user-select: none; touch-action: pan-y; cursor: ew-resize; }
.ba-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba-after { clip-path: inset(0 0 0 50%); }
.ba-handle {
  position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: #fff; z-index: 3;
  box-shadow: 0 0 12px rgba(0,0,0,.4); cursor: ew-resize;
}
.ba-handle::after {
  content: "◂ ▸"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #fff; color: var(--ink); font-size: .8rem; font-weight: 700;
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  box-shadow: var(--shadow-md); letter-spacing: -1px;
}
.ba-label { position: absolute; top: 16px; z-index: 2; background: rgba(20,26,22,.75); color: #fff; font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 14px; border-radius: 99px; }
.ba-label.before { left: 16px; }
.ba-label.after { right: 16px; }
@media (max-width: 900px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-item--tall .ba-wrap { flex: 0 0 auto; aspect-ratio: 710 / 1000; }
}

/* ---------- Depoimentos ---------- */
.testi { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.testi .stars { color: #F5B942; letter-spacing: 2px; font-size: .95rem; }
.testi blockquote { font-size: .97rem; color: var(--text); }
.testi footer { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testi footer img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testi footer b { display: block; color: var(--ink); font-size: .95rem; }
.testi footer span { font-size: .82rem; color: var(--muted); }

/* ---------- Portfólio / imóveis ---------- */
.prop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prop-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.prop-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.prop-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.prop-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.prop-card:hover .prop-media img { transform: scale(1.05); }
.prop-badge { position: absolute; top: 14px; left: 14px; background: var(--green); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 5px 12px; border-radius: 99px; }
.prop-badge.sold { background: var(--ink); }
.prop-body { padding: 20px 22px 22px; }
.prop-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.prop-meta { display: flex; gap: 14px; font-size: .84rem; color: var(--muted); font-weight: 500; flex-wrap: wrap; }
.prop-price { margin-top: 12px; font-size: 1.2rem; font-weight: 800; color: var(--green-dark); }
.prop-price.sold { color: var(--muted); font-size: 1rem; font-weight: 700; }
.prop-body .btn { margin-top: 16px; }

/* ---------- WIZARD / SIMULADOR ---------- */
.wizard-shell {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); overflow: hidden; max-width: 860px; margin: 0 auto;
}
.wizard-top { padding: 22px 30px 0; }
.wizard-progress { height: 6px; background: var(--line); border-radius: 99px; overflow: hidden; }
.wizard-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--green-dark)); width: 0%; transition: width .35s ease; border-radius: 99px; }
.wizard-count { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 10px; }
.wizard-body { padding: 26px 30px 34px; min-height: 380px; display: flex; flex-direction: column; }
.wizard-step { animation: stepIn .3s ease; display: flex; flex-direction: column; flex: 1; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.wizard-step h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: 6px; }
.wizard-step .hint { font-size: .92rem; color: var(--muted); margin-bottom: 24px; }

.opt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.opt-card {
  border: 2px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  padding: 20px; text-align: left; transition: all .18s ease; position: relative;
}
.opt-card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.opt-card.selected { border-color: var(--green); background: var(--green-tint); }
.opt-card.selected::after {
  content: "✓"; position: absolute; top: 12px; right: 14px; width: 24px; height: 24px;
  background: var(--green); color: #fff; border-radius: 50%; display: grid; place-items: center;
  font-size: .8rem; font-weight: 800;
}
.opt-card b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 5px; padding-right: 26px; }
.opt-card span { font-size: .84rem; color: var(--muted); line-height: 1.5; display: block; }
.opt-card .soon-tag { display: inline-block; margin-top: 8px; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-dark); background: var(--green-tint-2); padding: 3px 10px; border-radius: 99px; }

/* stepper de quantidade dentro do card */
.opt-qty { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.opt-qty button {
  width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--line);
  background: #fff; font-size: 1rem; font-weight: 700; color: var(--ink); line-height: 1;
}
.opt-qty button:hover { border-color: var(--green); color: var(--green-dark); }
.opt-qty b { font-size: 1rem; min-width: 18px; text-align: center; }

/* input de área */
.area-input-wrap { display: flex; align-items: baseline; gap: 12px; margin: 8px 0 18px; }
.area-input {
  font-family: var(--font); font-size: 2.6rem; font-weight: 800; color: var(--ink);
  border: 0; border-bottom: 3px solid var(--green); width: 170px; outline: none; text-align: center;
  border-radius: 0; background: transparent;
}
.area-unit { font-size: 1.3rem; font-weight: 700; color: var(--muted); }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: 9px 18px;
  font-size: .88rem; font-weight: 600; color: var(--text); transition: all .15s;
}
.chip:hover, .chip.selected { border-color: var(--green); color: var(--green-deep); background: var(--green-tint); }

/* formulário de contato do wizard */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .84rem; font-weight: 700; color: var(--ink); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-family: var(--font); font-size: .96rem; color: var(--ink); outline: none; background: #fff;
  transition: border-color .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); }
.field .err { color: #D64545; font-size: .78rem; margin-top: 5px; display: none; }
.field.invalid input { border-color: #D64545; }
.field.invalid .err { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .8rem; color: var(--muted); margin: 6px 0 4px; }
.consent input { width: auto; margin-top: 3px; accent-color: var(--green); }

.wizard-nav { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 26px; }
.wizard-back { background: none; border: 0; color: var(--muted); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 7px; padding: 10px 4px; }
.wizard-back:hover { color: var(--ink); }

/* resultado */
.result-box { text-align: center; }
.result-label { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.result-value { font-size: clamp(1.9rem, 4.5vw, 2.9rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.result-value small { color: var(--muted); font-size: 1rem; font-weight: 600; }
.result-sub { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; background: var(--green-tint); color: var(--green-deep); font-size: .88rem; font-weight: 700; padding: 8px 18px; border-radius: 99px; }
.result-breakdown { margin: 30px auto 8px; max-width: 480px; text-align: left; }
.rb-row { margin-bottom: 14px; }
.rb-row .rb-head { display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.rb-bar { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.rb-bar i { display: block; height: 100%; background: var(--green); border-radius: 99px; }
.result-note { font-size: .8rem; color: var(--muted); max-width: 460px; margin: 18px auto 24px; }
.result-cta { display: flex; flex-direction: column; gap: 12px; align-items: center; }

/* pergunta de expectativa e painel de confirmação */
.exp-box { margin-top: 6px; }
.exp-question { font-weight: 800; color: var(--ink); font-size: 1.15rem; margin-bottom: 16px; }
.exp-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.exp-panel {
  background: var(--green-tint); border: 1px solid var(--green-tint-2); border-radius: var(--radius-lg);
  padding: 26px 24px; max-width: 520px; margin: 8px auto 0; text-align: center;
  display: flex; flex-direction: column; gap: 12px; align-items: center; animation: stepIn .3s ease;
}
.exp-panel b { color: var(--ink); font-size: 1.05rem; }
.exp-panel p { font-size: .92rem; color: var(--text); }
.exp-panel .exp-icon {
  width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff;
  display: grid; place-items: center; font-size: 1.3rem; font-weight: 800;
}
.exp-panel .exp-note { font-size: .78rem; color: var(--muted); }
.exp-panel .btn { white-space: normal; line-height: 1.3; max-width: 100%; }

/* wizard em contexto (seção) */
.sim-section { scroll-margin-top: calc(var(--header-h) + 20px); }
.sim-frame { background: linear-gradient(160deg, var(--green-tint) 0%, #fff 55%); border-radius: 24px; padding: clamp(22px, 4vw, 48px); }

/* ---------- CTA final ---------- */
.cta-panel {
  background: var(--dark); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 64px);
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 32px; align-items: center;
}
.cta-panel .kicker { color: #fff; }
.cta-panel h2 { color: #fff; }
.cta-panel p { color: #C7CDD1; margin-top: 12px; }
.cta-panel .actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #AEB6BB; padding: 64px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.footer-grid h4 { color: #fff; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer-grid a { display: block; color: #AEB6BB; padding: 5px 0; }
.footer-grid a:hover { color: var(--green-accent); }
/* rodapé usa o arquivo branco da marca — sem filtros */
.footer-brand .brand-logo { height: 46px; width: auto; margin-bottom: 16px; display: block; }
.footer-brand p { max-width: 300px; font-size: .86rem; }
.footer-cities span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 0; }
.footer-cities .soon { font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--green-accent); border: 1px solid rgba(75,160,125,.45); padding: 2px 8px; border-radius: 99px; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.18); border-radius: 10px; display: grid; place-items: center; color: #fff; }
.footer-social a:hover { background: var(--green-accent); border-color: var(--green-accent); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .78rem; color: #7E878E; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(37,211,102,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #fff; }

/* ---------- Modal (lista de espera) ---------- */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(18,24,20,.55); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(3px);
}
.modal-backdrop.open { display: flex; }
.modal {
  background: #fff; border-radius: var(--radius-lg); max-width: 480px; width: 100%;
  padding: 34px; position: relative; box-shadow: var(--shadow-lg); animation: stepIn .25s ease;
}
.modal h3 { font-size: 1.3rem; margin-bottom: 8px; }
.modal p { font-size: .92rem; margin-bottom: 20px; }
.modal-close { position: absolute; top: 14px; right: 14px; background: none; border: 0; font-size: 1.5rem; color: var(--muted); line-height: 1; padding: 6px; }
.modal-close:hover { color: var(--ink); }

/* ---------- Animações de entrada ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Página interna: hero compacto ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(40px, 6vw, 64px); background: linear-gradient(160deg, var(--green-tint) 0%, #fff 60%); }
.page-hero p { max-width: 640px; margin-top: 16px; font-size: 1.08rem; }

/* ---------- Blog cards ---------- */
.post-card { display: flex; flex-direction: column; }
.post-card .prop-media { aspect-ratio: 16/10; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.post-card h3 { font-size: 1.02rem; line-height: 1.4; }
.post-card p { font-size: .88rem; margin-top: 8px; }
.post-card .btn-ghost { margin-top: auto; padding-left: 0; justify-content: flex-start; }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .hero-grid, .cta-panel { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { aspect-ratio: 16/10; }
  .hero-card { left: 14px; bottom: 14px; }
  .grid-3, .prop-grid, .timeline { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (max-width: 720px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; padding: 10px 4%; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--bg-soft); }
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .grid-3, .grid-2, .prop-grid, .timeline { grid-template-columns: 1fr; }
  .wizard-body { padding: 22px 20px 28px; }
  .wizard-top { padding: 18px 20px 0; }
  .opt-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .city-menu { right: -60px; }
}

/* ============================================================
   MAESTRO · Sistema de Gestão / Por que a Morada
   ============================================================ */
/* proporção do bloco do Maestro só em telas largas — no celular vira 1 coluna
   (antes isso estava como style inline no HTML e vencia a regra responsiva) */
@media (min-width: 1001px) { .cta-maestro { grid-template-columns: 1.25fr .75fr; } }

.maestro-lockup { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.maestro-lockup .m-kick { font-weight: 600; font-size: .72rem; letter-spacing: .30em; text-transform: uppercase; color: var(--green-accent); }
.maestro-word { font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 2.4rem; color: var(--green); line-height: 1; margin-top: 3px; }
.maestro-word sup { font-family: var(--font); font-weight: 500; font-size: .38em; vertical-align: super; }
.maestro-mark { flex: 0 0 auto; }

.hub-card { background: var(--dark); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 44px); text-align: center; max-width: 660px; margin: 0 auto; }
.hub-card .maestro-lockup { justify-content: center; }
.hub-card .maestro-word { color: #fff; }
.hub-card p { color: #C7CDD1; margin-top: 16px; font-size: 1rem; }

.orq-connector { width: 2px; height: 34px; background: var(--green-tint-2); margin: 22px auto; }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 24px; }
.pillar { background: var(--sand-soft); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px; text-align: center; }
.pillar .ic { width: 46px; height: 46px; border-radius: 12px; background: #fff; color: var(--green); display: grid; place-items: center; margin: 0 auto 14px; box-shadow: var(--shadow-sm); }
.pillar h3 { margin-bottom: 6px; }
.pillar p { font-size: .9rem; }
@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; }
  .maestro-word { font-size: 1.9rem; }
  .maestro-lockup { gap: 11px; }
  .maestro-lockup .m-kick { letter-spacing: .18em; font-size: .68rem; }
  .maestro-mark { width: 38px; height: 38px; }
  /* nada do bloco pode transbordar a tela */
  .cta-panel, .cta-panel > * { min-width: 0; }
  .cta-panel .actions .btn { white-space: normal; text-align: center; }
}

/* ---------- Galeria de entregas (Quem somos) ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gal-item {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow-sm); background: var(--bg-soft);
}
.gal-item.tall { aspect-ratio: 4/5.2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 34px 18px 16px; color: #fff;
  background: linear-gradient(180deg, rgba(15,22,18,0), rgba(15,22,18,.85));
  font-size: .88rem; font-weight: 600;
}
.gal-item figcaption span { display: block; font-weight: 500; font-size: .78rem; opacity: .85; }

/* ---------- Linha do tempo vertical (histórico) ---------- */
.tl-v { position: relative; max-width: 760px; margin: 0 auto; padding-left: 30px; }
.tl-v::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--green-tint-2); }
.tl-v-item { position: relative; padding-bottom: 30px; }
.tl-v-item:last-child { padding-bottom: 0; }
.tl-v-item::before {
  content: ""; position: absolute; left: -30px; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; border: 3px solid var(--green);
}
.tl-v-item .ano { display: block; font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--green-dark); margin-bottom: 4px; }
.tl-v-item h3 { font-size: 1.08rem; margin-bottom: 6px; }
.tl-v-item p { font-size: .93rem; }

/* ---------- Página individual do imóvel ---------- */
.imv-top { padding: calc(var(--header-h) + 22px) 0 0; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.back-link:hover { color: var(--green-dark); }

/* ---------- Galeria: modelo padrao unico para todos os imoveis ----------
   Todas as fotos ocupam exatamente a mesma moldura (16/10 no desktop, 4/3 no
   celular), preenchendo o espaco por inteiro. Clicar na foto abre a imagem
   ampliada no formato original (em pe ou deitada). */
.gallery-main {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/10; background: var(--bg-soft); user-select: none;
}
.gallery-main .gal-main {
  width: 100%; height: 100%; object-fit: cover; display: block;
  cursor: zoom-in; position: relative; z-index: 1;
}
.gallery-main .prop-badge { top: 16px; left: 16px; z-index: 3; }
.gallery-count {
  position: absolute; right: 16px; top: 16px; z-index: 3; pointer-events: none;
  background: rgba(20,26,22,.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #fff; font-size: .78rem; font-weight: 600; padding: 6px 13px; border-radius: 99px;
  font-variant-numeric: tabular-nums;
}
/* dica de que a foto abre ampliada */
.gal-zoom {
  position: absolute; left: 16px; bottom: 16px; z-index: 3; pointer-events: none;
  display: flex; align-items: center; gap: 7px; color: #fff; font-size: .76rem; font-weight: 600;
  background: rgba(20,26,22,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 99px; opacity: 0; transition: opacity .18s;
}
.gallery-main:hover .gal-zoom { opacity: 1; }
.gal-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff; opacity: .85;
  background: rgba(20,26,22,.55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .15s, opacity .15s;
}
.gal-nav:hover { background: rgba(20,26,22,.88); opacity: 1; }
.gal-nav:focus-visible { outline: 3px solid var(--green-accent); outline-offset: 2px; opacity: 1; }
.gal-nav.prev { left: 12px; }
.gal-nav.next { right: 12px; }

/* ---------- Foto ampliada (lightbox) ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  background: rgba(10,14,12,.94); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: 24px; animation: lbIn .18s ease-out;
}
.lightbox[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: min(1400px, 92vw); max-height: 86vh; width: auto; height: auto;
  object-fit: contain; border-radius: 6px; box-shadow: 0 24px 70px rgba(0,0,0,.5);
}
.lb-btn {
  position: absolute; z-index: 2; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(255,255,255,.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .15s;
}
.lb-btn:hover { background: rgba(255,255,255,.3); }
.lb-btn:focus-visible { outline: 3px solid var(--green-accent); outline-offset: 3px; }
.lb-btn.close { top: 20px; right: 20px; width: 44px; height: 44px; }
.lb-btn.prev, .lb-btn.next { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; }
.lb-btn.prev { left: 20px; }
.lb-btn.next { right: 20px; }
.lb-count {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  color: #fff; font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  background: rgba(255,255,255,.14); padding: 7px 16px; border-radius: 99px;
  font-variant-numeric: tabular-nums;
}
body.lb-open { overflow: hidden; }
@media (max-width: 620px) {
  .lightbox { padding: 12px; }
  .lightbox img { max-width: 96vw; max-height: 78vh; }
  .lb-btn.prev, .lb-btn.next { width: 42px; height: 42px; }
  .lb-btn.prev { left: 8px; }
  .lb-btn.next { right: 8px; }
}
.gallery-thumbs {
  display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.gallery-thumbs img {
  width: 108px; height: 76px; object-fit: cover; border-radius: 10px; flex: 0 0 auto;
  cursor: pointer; border: 2.5px solid transparent; scroll-snap-align: start; opacity: .8; transition: .15s;
}
.gallery-thumbs img.active, .gallery-thumbs img:hover { border-color: var(--green); opacity: 1; }

.imv-layout { display: grid; grid-template-columns: 1.55fr .95fr; gap: 34px; align-items: start; margin-top: 26px; }
.imv-content h1 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.imv-content .imv-bairro { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-weight: 600; font-size: .92rem; margin-top: 8px; }
.spec-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 6px; }
.spec-chips span {
  display: inline-flex; align-items: center; gap: 7px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 99px; padding: 8px 16px;
  font-size: .86rem; font-weight: 600; color: var(--ink);
}
.spec-chips svg { color: var(--green-dark); }
.imv-content h2 { font-size: 1.2rem; margin: 30px 0 12px; }
.feature-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.feature-list li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; }
.feature-list li::before {
  content: "✓"; flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-tint); color: var(--green-deep); font-size: .72rem; font-weight: 800;
  display: grid; place-items: center; margin-top: 2px;
}
.embed-frame { border: 0; width: 100%; aspect-ratio: 16/10; border-radius: var(--radius-lg); display: block; }
.embed-frame.video { aspect-ratio: 16/9; }

.imv-aside { position: sticky; top: calc(var(--header-h) + 18px); }
.imv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 26px; }
.imv-card .price-label { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.imv-card .price { font-size: 1.9rem; font-weight: 800; color: var(--green-dark); letter-spacing: -.02em; margin: 4px 0 2px; }
.imv-card .price.sold { color: var(--ink); font-size: 1.4rem; }
.imv-card .imv-specs { display: flex; gap: 16px; margin: 14px 0 18px; padding: 14px 0; border-block: 1px solid var(--line); flex-wrap: wrap; }
.imv-card .imv-specs div { font-size: .8rem; color: var(--muted); }
.imv-card .imv-specs b { display: block; font-size: 1rem; color: var(--ink); }
.imv-card .imv-finance { margin: 12px 0 2px; padding: 12px 14px; background: var(--green-tint); border-radius: var(--radius); }
.imv-card .imv-finance b { display: block; font-size: 1rem; font-weight: 700; color: var(--green-deep); }
.imv-card .imv-finance span { display: block; margin-top: 3px; font-size: .76rem; line-height: 1.45; color: var(--muted); }
.imv-card .btn { width: 100%; margin-bottom: 10px; }
.imv-card .note { font-size: .78rem; color: var(--muted); text-align: center; display: block; }
.imv-trust { margin-top: 16px; display: grid; gap: 9px; }
.imv-trust span { display: flex; gap: 9px; align-items: center; font-size: .84rem; font-weight: 600; color: var(--text); }
.imv-trust svg { color: var(--green); flex: 0 0 auto; }

/* barra fixa de conversão no mobile */
.mobile-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 85;
  background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(20,40,30,.10);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 14px; align-items: center;
}
.mobile-cta .mc-price b { display: block; font-size: 1.05rem; color: var(--green-dark); font-weight: 800; line-height: 1.2; }
.mobile-cta .mc-price span { font-size: .72rem; color: var(--muted); }
.mobile-cta .btn { flex: 1; }

@media (max-width: 1000px) {
  .gal-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .gal-grid { grid-template-columns: 1fr; }
  .gal-item, .gal-item.tall { aspect-ratio: 4/3; }
}

@media (max-width: 900px) {
  .imv-layout { grid-template-columns: 1fr; gap: 26px; }
  .imv-aside { position: static; }
  .feature-list { grid-template-columns: 1fr; }
  .gallery-main { aspect-ratio: 4/3; }
  .gal-nav { width: 36px; height: 36px; }
  .gal-nav.prev { left: 8px; }
  .gal-nav.next { right: 8px; }
}
@media (max-width: 720px) {
  body.has-mobile-cta { padding-bottom: 84px; }
  body.has-mobile-cta .mobile-cta { display: flex; }
  body.has-mobile-cta .wa-float { display: none; }
}

/* ---------- Tabela comparativa (Benefícios de comprar com a gente) ---------- */
.cmp-wrap {
  overflow: auto; -webkit-overflow-scrolling: touch;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.cmp-table { width: 100%; min-width: 560px; border-collapse: collapse; }
.cmp-table th, .cmp-table td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.cmp-table tr:last-child th, .cmp-table tr:last-child td { border-bottom: 0; }
.cmp-table thead th {
  font-size: .74rem; font-weight: 700; letter-spacing: .11em; text-transform: uppercase;
  color: var(--muted); background: var(--bg-soft);
}
.cmp-table thead th:first-child { text-align: left; }
.cmp-table thead th.cmp-hl { color: #fff; background: var(--green); }
.cmp-table tbody th {
  text-align: left; width: 38%; font-size: .82rem; font-weight: 700;
  letter-spacing: .04em; color: var(--ink);
}
.cmp-table tbody td.cmp-hl { background: var(--green-tint); }
.cmp-ico { display: inline-block; vertical-align: middle; }
.cmp-yes { color: var(--green); }
.cmp-no { color: #C0574C; }
.cmp-note { margin-top: 16px; text-align: center; font-size: .85rem; color: var(--muted); }
@media (max-width: 720px) {
  /* cabe inteira na tela: sem rolagem lateral, a coluna Morada nunca fica cortada */
  .cmp-table { min-width: 0; }
  .cmp-table th, .cmp-table td { padding: 13px 6px; }
  .cmp-table thead th { font-size: .62rem; letter-spacing: .06em; }
  .cmp-table tbody th { width: 44%; font-size: .72rem; padding-left: 12px; line-height: 1.35; }
  .cmp-table thead th:first-child { padding-left: 12px; }
  .cmp-ico { width: 18px; height: 18px; }
}

/* ---------- Fundador (Quem somos) ---------- */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 52px); align-items: center; }
.founder-photo img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.founder-text h3 { font-size: 1.4rem; }
.founder-role {
  display: block; margin: 6px 0 18px; font-size: .8rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--green-dark);
}
.founder-text p + p { margin-top: 14px; }
@media (max-width: 720px) {
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founder-photo { max-width: 230px; margin: 0 auto; }
  .founder-text p { text-align: left; }
}

/* ---------- Ciclo do modelo (Investir) ---------- */
.ciclo { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.ciclo-step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 22px 14px; text-align: center;
}
.ciclo-step .n {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--green-tint); color: var(--green-deep); font-size: .78rem; font-weight: 800;
  margin-bottom: 10px;
}
.ciclo-step b { display: block; font-size: .9rem; color: var(--ink); line-height: 1.35; }
.ciclo-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -11px; width: 8px; height: 8px;
  border-top: 2px solid var(--green-accent); border-right: 2px solid var(--green-accent);
  transform: translateY(-50%) rotate(45deg);
}
.ciclo-nota { margin-top: 16px; text-align: center; font-size: .85rem; color: var(--muted); }

/* ---------- Cartões de número (Investir) ---------- */
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.metric {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 24px; text-align: center;
}
.metric svg { color: var(--green); margin-bottom: 12px; }
.metric b { display: block; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; color: var(--ink); letter-spacing: -.02em; }
.metric span { display: block; margin-top: 6px; font-size: .88rem; color: var(--muted); line-height: 1.5; }

/* ---------- Gráfico comparativo (Investir) ---------- */
.chart-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: 24px 20px 18px;
}
.chart-title { text-align: center; font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.chart-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; margin-bottom: 10px; font-size: .85rem; font-weight: 600; color: var(--text); }
.chart-legend i { display: inline-block; width: 18px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 8px; }
.chart-card svg { width: 100%; height: auto; display: block; touch-action: pan-y; }
.chart-tip {
  position: absolute; pointer-events: none; opacity: 0; transition: opacity .12s;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 10px 12px; min-width: 160px; z-index: 3;
}
.chart-tip b { display: block; margin-bottom: 7px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.chart-tip .r { display: flex; justify-content: space-between; gap: 16px; font-size: .84rem; color: var(--text); }
.chart-tip .r + .r { margin-top: 4px; }
.chart-tip .r em { font-style: normal; font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
.chart-tip .r i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; }
.chart-nota { margin-top: 14px; text-align: center; font-size: .8rem; color: var(--muted); line-height: 1.6; }
/* tabela de números reaproveitando o comparativo */
.cmp-table.num td { text-align: right; font-variant-numeric: tabular-nums; font-size: .9rem; color: var(--text); }
.cmp-table.num td.cmp-hl { font-weight: 700; color: var(--ink); }
.cmp-table.num tbody th { width: auto; font-variant-numeric: tabular-nums; }
.cmp-table.num thead th:not(:first-child) { text-align: right; }
.cmp-table.num thead th i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 7px; vertical-align: middle; }

@media (max-width: 980px) {
  .ciclo { grid-template-columns: repeat(3, 1fr); }
  .ciclo-step:not(:last-child)::after { display: none; }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ciclo { grid-template-columns: repeat(2, 1fr); }
  .metric-grid { grid-template-columns: 1fr; }
  .chart-card { padding: 18px 12px 14px; }
}

/* ---------- Perfis atendidos (Sou corretor) ---------- */
.perfil-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.perfil {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 22px; text-align: center;
}
.perfil svg { color: var(--green); margin-bottom: 14px; }
.perfil p { font-size: .93rem; color: var(--text); line-height: 1.5; }

/* faixa de destaque com pergunta */
.destaque {
  background: var(--green); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(34px, 5vw, 56px); display: grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(24px, 4vw, 48px); align-items: center;
}
.destaque h2 { color: #fff; }
.destaque .kicker { color: #BFE3CE; }
.destaque-card {
  background: #fff; border-radius: var(--radius-lg); padding: 28px;
  display: flex; gap: 18px; align-items: flex-start;
}
.destaque-card svg { color: var(--green); flex: 0 0 auto; }
.destaque-card h3 { color: var(--ink); margin-bottom: 8px; }
.destaque-card p { color: var(--text); font-size: .93rem; }

/* título do depoimento */
.testi h3 { color: var(--green-dark); font-size: 1.05rem; margin-bottom: -4px; }

@media (max-width: 980px) {
  .perfil-grid { grid-template-columns: repeat(2, 1fr); }
  .destaque { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .perfil-grid { grid-template-columns: 1fr; } }

/* ---------- Artigo do blog ---------- */
.artigo { padding: calc(var(--header-h) + clamp(28px, 4vw, 48px)) 0 clamp(40px, 6vw, 64px); }
.artigo .back-link { display: flex; width: fit-content; margin-bottom: 20px; }
.artigo h1 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-top: 10px; }
.artigo-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; font-size: .85rem; color: var(--muted); }
.artigo-capa { margin: clamp(28px, 4vw, 40px) auto; }
.artigo-capa img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.artigo-corpo { font-size: 1.04rem; line-height: 1.8; color: var(--text); }
.artigo-corpo > * + * { margin-top: 18px; }
.artigo-corpo h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); margin-top: 40px; }
.artigo-corpo h3 { font-size: 1.1rem; margin-top: 30px; }
.artigo-corpo ul { list-style: none; display: grid; gap: 12px; }
.artigo-corpo li { display: flex; gap: 12px; align-items: flex-start; }
.artigo-corpo li::before {
  content: ""; flex: 0 0 auto; width: 7px; height: 7px; margin-top: .62em;
  border-radius: 50%; background: var(--green-accent);
}
.artigo-corpo blockquote {
  border-left: 3px solid var(--green-accent); padding: 4px 0 4px 20px;
  color: var(--ink); font-size: 1.08rem;
}
.artigo-corpo figure { margin: 32px 0; }
.artigo-corpo figure img { width: 100%; border-radius: var(--radius-lg); }
.artigo-corpo a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.artigo-corpo .btn { text-decoration: none; }
.artigo-corpo .btn-primary { color: #fff; }

.cmp-table.tab-artigo th, .cmp-table.tab-artigo td { text-align: left; font-size: .88rem; padding: 13px 16px; }
.cmp-table.tab-artigo tbody td:first-child { font-weight: 700; color: var(--ink); }
.artigo-corpo .cmp-wrap { margin: 28px 0; }

/* CTA no fim do artigo */
.artigo-cta {
  margin-top: 40px; padding: clamp(24px, 4vw, 34px);
  background: var(--green-tint); border: 1px solid var(--green-tint-2);
  border-radius: var(--radius-lg); text-align: center;
}
.artigo-cta p { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 18px; }
.artigo-cta .btn { margin: 0; }
