/* JFS Infra | landing */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('../fonts/archivo-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-400-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-500-latin.woff2') format('woff2');
}

:root {
  --tinta: #0B1F14;
  --floresta: #0C2619;
  --verde: #14402A;
  --papel: #F3F2EC;
  --maquete: #E9E7E0;
  --branco: #FFFFFF;
  --linha: #D9D8CF;
  --linha-suave: #E4E2DA;
  --texto: #1B2E23;
  --texto-2: #45554B;
  --texto-3: #5C6B61;
  --oliva: #56661A;
  --lima: #B5C65A;
  --lima-claro: #C9D977;
  --margem: clamp(20px, 5vw, 72px);
  --largura: 1296px;
  --curva: cubic-bezier(.2, .7, .2, 1);
  --sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--papel);
  color: var(--tinta);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p, dd, li { text-wrap: pretty; }
p { margin: 0; }
a { color: var(--verde); }
a:hover { color: var(--tinta); }
:focus-visible { outline: 2px solid var(--lima); outline-offset: 4px; border-radius: 4px; }
button { font: inherit; }

.pular {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--tinta); color: #fff; padding: 10px 16px; border-radius: 6px;
}
.pular:focus { top: 12px; }

.faixa { width: 100%; max-width: calc(var(--largura) + 2 * var(--margem)); margin: 0 auto; padding: 0 var(--margem); }

.rotulo {
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--oliva);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(16px, 2vw, 26px);
}
.rotulo-claro { color: var(--lima); }

h2 {
  font-weight: 750;
  font-stretch: 110%;
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1.02;
  letter-spacing: -.035em;
}
h3 { font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }

/* ---------------------------------------------------------------- marca */
.marca { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; min-height: 44px; }
.marca:hover { color: #fff; }
.marca-simbolo { width: 38px; height: 38px; flex: none; }
.marca-destaque { stroke: var(--lima); }
.marca-nome { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.marca-sigla { font-weight: 850; font-stretch: 112%; font-size: 24px; letter-spacing: -.02em; }
.marca-infra { font-weight: 300; font-size: 20px; letter-spacing: .06em; color: var(--lima); }
.marca-escura, .marca-escura:hover { color: var(--verde); }
.marca-escura .marca-destaque { stroke: #7C8E2A; }
.marca-escura .marca-infra { color: var(--oliva); }

/* ---------------------------------------------------------------- botões */
.botao {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 16px; font-weight: 620; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--curva);
}
.botao svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--curva); }
.botao:hover { transform: translateY(-1px); }
.botao:hover svg { transform: translateX(4px); }
.botao-claro { background: var(--lima); color: var(--tinta); }
.botao-claro:hover { background: var(--lima-claro); color: var(--tinta); }
.botao-contorno { border-color: rgba(255, 255, 255, .5); color: #fff; }
.botao-contorno:hover { border-color: #fff; background: rgba(255, 255, 255, .1); color: #fff; }
.botao-escuro { background: var(--verde); color: #fff; }
.botao-escuro:hover { background: var(--tinta); color: #fff; }
.botao-contorno-escuro { border-color: var(--linha); color: var(--verde); }
.botao-contorno-escuro:hover { border-color: var(--verde); color: var(--tinta); }

/* ---------------------------------------------------------------- topo */
.topo {
  position: fixed; inset: 0 0 auto 0; z-index: 30;
  color: #fff;
  transition: background .4s ease, color .4s ease, box-shadow .4s ease;
}
.topo-faixa {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: calc(var(--largura) + 2 * var(--margem)); margin: 0 auto;
  padding: clamp(14px, 2vw, 24px) var(--margem);
  transition: padding .4s var(--curva);
}
.topo.solido {
  background: rgba(243, 242, 236, .92);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--linha);
  color: var(--tinta);
}
.topo.solido .topo-faixa { padding-top: 10px; padding-bottom: 10px; }
.topo.solido .marca { color: var(--verde); }
.topo.solido .marca-destaque { stroke: #7C8E2A; }
.topo.solido .marca-infra { color: var(--oliva); }
.topo-fixo { position: sticky; background: var(--papel); color: var(--tinta); box-shadow: 0 1px 0 var(--linha); }
.topo-voltar { font-size: 15px; font-weight: 550; text-decoration: none; }

.menu { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 38px); font-size: 15px; font-weight: 520; }
.menu a { color: inherit; text-decoration: none; position: relative; padding: 10px 0; opacity: .9; }
.menu a:not(.menu-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left; transition: transform .35s var(--curva);
}
.menu a:hover, .menu a.atual { opacity: 1; }
.menu a:hover::after, .menu a.atual::after { transform: scaleX(1); }
.menu .menu-cta {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px;
  border: 1px solid currentColor; border-radius: 999px; opacity: 1;
  transition: background .25s ease, color .25s ease;
}
.topo:not(.solido) .menu .menu-cta { border-color: rgba(255, 255, 255, .55); }
.menu .menu-cta:hover { background: var(--lima); border-color: var(--lima); color: var(--tinta); }

.menu-botao {
  display: none; align-items: center; gap: 12px; min-height: 44px; padding: 0 4px 0 14px;
  background: none; border: 0; color: inherit; cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
}
.menu-botao-linhas { display: grid; gap: 6px; width: 24px; }
.menu-botao-linhas span { height: 1.5px; background: currentColor; transition: transform .35s var(--curva); }
.menu-botao[aria-expanded="true"] .menu-botao-linhas span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-botao[aria-expanded="true"] .menu-botao-linhas span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-botao { display: inline-flex; }
  .menu {
    position: fixed; inset: 0; z-index: -1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px;
    padding: 96px var(--margem) 48px;
    background: var(--floresta); color: #fff;
    font-size: clamp(30px, 8vw, 44px); font-weight: 720; font-stretch: 108%; letter-spacing: -.02em;
    opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s;
  }
  .menu a { padding: 6px 0; }
  .menu a::after { display: none; }
  .menu .menu-cta { margin-top: 28px; font-size: 17px; font-weight: 600; letter-spacing: 0; padding: 0 24px; min-height: 54px; border-color: var(--lima); color: var(--lima); }
  .menu-aberto .menu { opacity: 1; visibility: visible; }
  .menu-aberto .topo { color: #fff; background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .menu-aberto .topo .marca { color: #fff; }
  .menu-aberto .topo .marca-infra { color: var(--lima); }
  .menu-aberto .topo .marca-destaque { stroke: var(--lima); }
  .menu-aberto { overflow: hidden; }
}

/* ---------------------------------------------------------------- abertura */
.abertura {
  position: relative; isolation: isolate;
  min-height: max(640px, 100svh);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--floresta); color: #fff; overflow: hidden;
}
.abertura-midia { position: absolute; inset: 0; z-index: -2; }
.abertura-midia img, .abertura-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.abertura-video, .abertura-final { opacity: 0; transition: opacity 1.2s ease; }
.abertura-video.tocando { opacity: 1; }
.abertura-final.visivel { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .abertura-midia { animation: aproxima 16s cubic-bezier(.25, .6, .3, 1) both; }
}
@keyframes aproxima { from { transform: scale(1.06); } to { transform: scale(1); } }
.abertura-veu {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 24, 15, .72) 0%, rgba(8, 24, 15, .12) 26%, rgba(8, 24, 15, .22) 52%, rgba(8, 24, 15, .9) 100%),
    linear-gradient(90deg, rgba(8, 24, 15, .58) 0%, rgba(8, 24, 15, 0) 62%);
}
.abertura-conteudo {
  width: 100%; max-width: calc(var(--largura) + 2 * var(--margem)); margin: 0 auto;
  padding: 120px var(--margem) 0;
}
.abertura-titulo {
  font-weight: 800; font-stretch: 115%;
  font-size: clamp(54px, 9.6vw, 150px);
  line-height: .9; letter-spacing: -.045em;
}
.abertura-rodape {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between;
  gap: 24px 40px; margin-top: clamp(24px, 3vw, 44px);
}
.abertura-texto { max-width: 34em; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .92); }
.abertura-acoes { display: flex; flex-wrap: wrap; gap: 12px; }

.etapas-obra {
  width: 100%; max-width: calc(var(--largura) + 2 * var(--margem)); margin: 0 auto;
  padding: clamp(36px, 4vw, 56px) var(--margem) clamp(22px, 3vw, 34px);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 24px;
  font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
}
.etapas-lista {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px;
  color: rgba(255, 255, 255, .55);
}
.etapas-lista li { transition: color .5s ease; white-space: nowrap; }
.etapas-lista li span { color: rgba(181, 198, 90, .55); margin-right: 6px; transition: color .5s ease; }
.etapas-lista li.ativa, .etapas-lista li.feita { color: #fff; }
.etapas-lista li.ativa span, .etapas-lista li.feita span { color: var(--lima); }
.etapas-barra { grid-column: 1 / -1; grid-row: 2; height: 1px; background: rgba(255, 255, 255, .22); position: relative; }
.etapas-barra span { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--lima); }
.etapas-nota { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 16px; color: rgba(255, 255, 255, .6); font-size: 11px; }
.etapas-rever {
  background: none; border: 1px solid rgba(255, 255, 255, .4); color: #fff; border-radius: 999px;
  padding: 6px 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
}
.etapas-rever:hover { border-color: var(--lima); color: var(--lima); }

/* entrada da abertura */
@media (prefers-reduced-motion: no-preference) {
  .entra { animation: sobe 1s var(--curva) both; }
  .e1 { animation-delay: .12s; } .e2 { animation-delay: .26s; } .e3 { animation-delay: .44s; }
}
@keyframes sobe { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

@media (max-width: 760px) {
  .abertura { min-height: max(600px, 100svh); }
  .etapas-obra { grid-template-columns: 1fr; padding-top: 32px; }
  .etapas-lista { grid-template-columns: repeat(5, auto); justify-content: space-between; font-size: 10.5px; gap: 6px; }
  .etapas-lista li span { display: block; margin: 0 0 2px; }
  .etapas-nota { grid-column: 1; grid-row: 3; justify-content: space-between; margin-top: 4px; }
  .abertura-acoes { width: 100%; }
  .abertura-acoes .botao { flex: 1 1 100%; }
}

/* ---------------------------------------------------------------- seções */
.secao-cabeca { max-width: 860px; margin-bottom: clamp(40px, 6vw, 80px); }
.secao-cabeca-lado { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.secao-cabeca-lado > div { max-width: 780px; }
.secao-intro { margin-top: clamp(18px, 2vw, 28px); max-width: 36em; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--texto-2); }
.secao-cabeca-lado .secao-intro { margin-top: 0; max-width: 26em; }

.etiquetas { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.etiquetas li {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 13px;
  border: 1px solid #C9C7BC; border-radius: 999px; font-size: 14px; color: var(--texto);
}
.etiquetas-grandes li { min-height: 42px; padding: 0 18px; font-size: 16px; font-weight: 520; }

/* ---------------------------------------------------------------- segmentos */
.segmentos { background: var(--maquete); padding: clamp(80px, 10vw, 148px) 0 clamp(64px, 8vw, 120px); }
.segmentos-grade { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.segmentos-lista { list-style: none; margin: 0; padding: 0; grid-column: 1; grid-row: 1; }
.maquete { grid-column: 2; grid-row: 1; position: sticky; top: 92px; }
.maquete-quadro {
  position: relative; overflow: hidden;
  height: min(calc(100vh - 124px), 760px); min-height: 460px;
  border-radius: 6px; background: var(--maquete);
  box-shadow: inset 0 0 0 1px rgba(11, 31, 20, .06);
}
.maquete-imagem, .maquete-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.maquete-imagem { opacity: 0; transition: opacity .9s ease; }
.maquete-imagem.ativa { opacity: 1; }
.maquete-canvas { opacity: 0; transition: opacity 1s ease; touch-action: pan-y; }
.maquete.pronta .maquete-canvas { opacity: 1; }
.maquete-indice {
  position: absolute; left: 18px; top: 16px; z-index: 2;
  display: flex; gap: 4px; padding: 4px;
  background: rgba(243, 242, 236, .82); border-radius: 999px;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 rgba(11, 31, 20, .06);
}
.maquete-indice button {
  min-width: 38px; height: 32px; padding: 0 8px; border: 0; border-radius: 999px;
  background: transparent; color: var(--texto-2); cursor: pointer;
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  transition: background .25s ease, color .25s ease;
}
.maquete-indice button:hover { color: var(--tinta); background: rgba(11, 31, 20, .06); }
.maquete-indice button.ativo { background: var(--verde); color: #fff; }
.maquete-legenda, .maquete-nota {
  position: absolute; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-2);
}
.maquete-legenda { left: 22px; bottom: 20px; display: flex; gap: 14px; align-items: baseline; max-width: calc(100% - 44px); }
.maquete-legenda span:first-child { color: var(--verde); font-weight: 500; }
.maquete-nota { right: 22px; top: 18px; font-size: 11px; color: var(--texto-3); }

.segmento {
  min-height: 64vh; display: flex; flex-direction: column; justify-content: center;
  padding: 40px 0; border-top: 1px solid rgba(11, 31, 20, .14);
  transition: opacity .5s ease;
}
.segmento:first-child { border-top: 0; min-height: 52vh; justify-content: flex-start; padding-top: 8px; }
.segmentos.com-maquete .segmento:not(.ativo):not(.segmento-outros) { opacity: .38; }
.segmento-figura { display: none; }
.segmento-numero { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; color: var(--oliva); margin-bottom: 18px; }
.segmento h3 { font-size: clamp(25px, 2.3vw, 34px); font-stretch: 106%; letter-spacing: -.02em; margin-bottom: 16px; }
.segmento p { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: var(--texto-2); margin-bottom: 24px; max-width: 30em; }
.segmento-outros { min-height: 0; padding: 36px 0 0; }
.segmento-outros p { color: var(--texto); font-size: 18px; }

@media (max-width: 1023px) {
  .segmentos-grade { grid-template-columns: 1fr; }
  .maquete { display: none; }
  .segmento, .segmento:first-child { min-height: 0; padding: 32px 0 44px; justify-content: flex-start; border-top: 1px solid rgba(11, 31, 20, .14); }
  .segmento:first-child { border-top: 0; padding-top: 0; }
  .segmento-figura { display: block; margin: 0 0 24px; border-radius: 6px; overflow: hidden; background: #E2E0D8; aspect-ratio: 4 / 3; }
  .segmento-figura img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------------------------------------------------------------- processo */
.processo { background: var(--branco); padding: clamp(80px, 10vw, 148px) 0; }
.processo-grade { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.processo-cabeca { position: sticky; top: 120px; }
.processo-cabeca .secao-intro { max-width: 26em; }
@media (max-width: 1023px) {
  .processo-grade { grid-template-columns: 1fr; }
  .processo-cabeca { position: static; }
}
.passos { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--tinta); }
.passo {
  display: grid; grid-template-columns: clamp(56px, 7vw, 96px) minmax(0, 1fr);
  gap: 10px clamp(16px, 3vw, 40px); align-items: baseline;
  padding: clamp(26px, 3vw, 38px) 0; border-bottom: 1px solid var(--linha);
}
.passo p { grid-column: 2; }
.passo-numero { font-weight: 300; font-stretch: 112%; font-size: clamp(30px, 3.6vw, 52px); line-height: 1; color: #858B78; transition: color .3s ease; }
.passo:hover .passo-numero { color: var(--oliva); }
.passo h3 { font-size: clamp(20px, 1.8vw, 25px); }
.passo p { color: var(--texto-2); font-size: clamp(16px, 1.2vw, 17px); line-height: 1.6; }
@media (max-width: 760px) {
  .passo { grid-template-columns: 48px minmax(0, 1fr); }
}

/* ---------------------------------------------------------------- financiamento */
.financiamento { padding: clamp(80px, 10vw, 148px) 0; }
.financiamento-grade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 6vw, 96px); }
.financiamento-texto { margin-top: clamp(20px, 2.4vw, 30px); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: var(--texto); max-width: 30em; }
.link-seta { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-weight: 620; color: var(--verde); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link-seta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--curva); }
.link-seta:hover svg { transform: translateX(4px); }
.cartao-prazo { margin-top: 22px; font-size: 16px; font-weight: 560; color: #fff; }
.numeros { margin: clamp(36px, 4vw, 56px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.numeros > div { border-top: 1px solid var(--linha); padding-top: 20px; display: flex; flex-direction: column; }
.numeros dt { order: 2; margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--texto-2); max-width: 16em; }
.numeros dd { order: 1; margin: 0; font-weight: 750; font-stretch: 112%; font-size: clamp(40px, 4.4vw, 64px); line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.numeros dd small, .taxas small, .mercado-numeros dd small { font-size: .4em; font-weight: 400; letter-spacing: 0; margin-left: 6px; }
small.prefixo { margin: 0 6px 0 0 !important; }
.fonte { order: 3; margin-top: 10px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-3); }
.financiamento-cartoes { display: flex; flex-direction: column; gap: 20px; }
.cartao { background: var(--branco); border: 1px solid var(--linha-suave); border-radius: 10px; padding: clamp(24px, 3vw, 40px); }
.cartao .rotulo { margin-bottom: 8px; }
.cartao-escuro { background: var(--verde); border-color: var(--verde); color: #fff; }
.cartao-sub { font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.taxas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(22px, 3vw, 32px); }
.taxas > div { border-top: 1px solid rgba(255, 255, 255, .24); padding-top: 18px; }
.taxas strong { display: block; font-weight: 750; font-stretch: 112%; font-size: clamp(36px, 3.8vw, 54px); line-height: 1; letter-spacing: -.035em; white-space: nowrap; }
.taxas span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .84); }
.cartao-nota { margin-top: 20px; font-size: 14px; line-height: 1.55; color: var(--texto-2); }
.cartao-escuro .cartao-nota { color: rgba(255, 255, 255, .68); }
.cartao-topo { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.cartao-topo .fonte { margin: 0; }
.barras { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.barra { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; }
.barra span { font-family: var(--mono); font-size: 14px; color: var(--texto-2); }
.barra div { height: 30px; background: #EDECE5; border-radius: 3px; overflow: hidden; }
.barra i { display: block; height: 100%; background: #A9A89C; }
.barra-atual i { background: #7C8E2A; }
.barra strong { min-width: 84px; text-align: right; font-size: 19px; white-space: nowrap; }
@media (max-width: 900px) { .financiamento-grade { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .numeros, .taxas { grid-template-columns: 1fr; gap: 20px; } }

/* ---------------------------------------------------------------- referência */
.referencia { background: var(--floresta); color: #fff; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.referencia-imagem { position: relative; min-height: clamp(300px, 46vw, 640px); overflow: hidden; }
.referencia-imagem img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.6s var(--curva); }
.referencia:hover .referencia-imagem img { transform: scale(1); }
.referencia-nota { position: absolute; left: 16px; bottom: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.referencia-texto { padding: clamp(48px, 7vw, 112px) var(--margem); align-self: center; max-width: 680px; }
.referencia-texto h2 { font-size: clamp(32px, 3.8vw, 56px); }
.ficha { margin: clamp(32px, 4vw, 48px) 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 32px); }
.ficha > div { border-top: 1px solid rgba(255, 255, 255, .22); padding: 18px 0 22px; }
.ficha dt { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.ficha dd { margin: 10px 0 0; font-size: clamp(20px, 2vw, 27px); font-weight: 700; line-height: 1.2; }
.referencia-rodape { margin-top: 18px; font-size: 15px; line-height: 1.55; color: rgba(255, 255, 255, .74); max-width: 30em; }
@media (max-width: 900px) { .referencia { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- princípios */
.principios { padding: clamp(80px, 10vw, 148px) 0 clamp(64px, 8vw, 112px); }
.principios-grade { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px); }
.principio { border-top: 2px solid var(--tinta); padding-top: 18px; }
.principio h3 { font-size: clamp(19px, 1.5vw, 21px); }
.principio p { margin-top: 10px; font-size: 16px; line-height: 1.6; color: var(--texto-2); }
.publico { margin-top: clamp(56px, 7vw, 96px); }
@media (max-width: 1023px) { .principios-grade { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .principios-grade { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- contato */
.contato { background: var(--floresta); color: #fff; padding: clamp(80px, 10vw, 140px) 0; }
.contato-grade { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contato-texto { position: sticky; top: 112px; }
.contato-texto h2 { font-weight: 800; font-stretch: 112%; font-size: clamp(38px, 5vw, 76px); line-height: .98; letter-spacing: -.04em; }
.contato-texto > p:not(.rotulo) { margin-top: clamp(18px, 2.4vw, 28px); font-size: clamp(17px, 1.35vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 28em; }
.contato-diretos { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.contato-diretos .botao-contorno { overflow-wrap: anywhere; white-space: normal; }

.formulario { background: var(--papel); color: var(--tinta); border-radius: 12px; padding: clamp(24px, 3.4vw, 44px); }
.campos { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px 16px; }
.campo { grid-column: span 3; display: flex; flex-direction: column; gap: 7px; }
.campo-largo { grid-column: 1 / -1; }
.campo-cidade { grid-column: span 4; }
.campo-uf { grid-column: span 2; }
.campo label { font-size: 14px; font-weight: 600; color: var(--texto); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid #CFCDC3; border-radius: 8px; background: var(--branco);
  font: inherit; font-size: 16px; color: var(--tinta);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.campo textarea { min-height: 112px; resize: vertical; line-height: 1.5; }
.campo select {
  appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314402A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--verde); box-shadow: 0 0 0 3px rgba(20, 64, 42, .14); }
.campo ::placeholder { color: #8B958E; }
.com-erro input, .com-erro select, .com-erro textarea { border-color: #A3392B; }
.campo-erro, .formulario-erro { color: #A3392B; font-size: 14px; }
.formulario-erro { margin-bottom: 18px; }
.campo-isca { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.consentimento { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; margin-top: 22px; align-items: start; }
.consentimento input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--verde); }
.consentimento label { font-size: 14px; line-height: 1.5; color: var(--texto-2); }
.consentimento .campo-erro { grid-column: 2; }
.botao-enviar { margin-top: 24px; width: 100%; }
.formulario-nota { margin-top: 12px; font-size: 13px; color: var(--texto-3); text-align: center; }
@media (max-width: 900px) {
  .contato-grade { grid-template-columns: 1fr; }
  .contato-texto { position: static; }
}
@media (max-width: 520px) {
  .campo, .campo-cidade { grid-column: 1 / -1; }
  .campo-uf { grid-column: 1 / span 3; }
}

/* ---------------------------------------------------------------- rodapé */
.rodape { background: var(--floresta); color: rgba(255, 255, 255, .78); padding: clamp(48px, 6vw, 72px) 0 0; overflow: hidden; }
.contato + .rodape, main + .rodape { border-top: 1px solid rgba(255, 255, 255, .1); }
.rodape-topo { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; }
.rodape-texto { font-size: 15px; margin-right: auto; max-width: 34em; }
.rodape-texto a, .rodape-links a { color: #fff; }
.rodape-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 15px; }
.rodape-links a { text-decoration: none; }
.rodape-links a:hover, .rodape-texto a:hover { color: var(--lima); }
.rodape-assinatura { margin-top: 28px; font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.rodape-palavra {
  margin: clamp(24px, 4vw, 48px) 0 0; white-space: nowrap; user-select: none;
  font-weight: 800; font-stretch: 125%; letter-spacing: -.05em; line-height: .74;
  /* a palavra mede ~6,28 vezes o corpo: ocupa exatamente a largura útil */
  font-size: min(calc((100vw - 2 * var(--margem)) / 6.35), 204px); color: #123A27;
  transform: translateY(.08em);
}

/* ---------------------------------------------------------------- números do mercado */
.mercado { background: var(--floresta); color: #fff; padding: clamp(40px, 5vw, 64px) 0 clamp(64px, 7vw, 96px); }
.mercado-numeros { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 40px); }
.mercado-numeros > div { display: flex; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: clamp(24px, 3vw, 40px); }
.mercado-numeros dd { order: 1; margin: 0; font-weight: 750; font-stretch: 112%; font-size: clamp(42px, 4.8vw, 74px); line-height: 1; letter-spacing: -.035em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mercado-numeros dt { order: 2; margin-top: 14px; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.5; color: rgba(255, 255, 255, .84); max-width: 17em; }
.mercado-numeros .fonte { color: rgba(255, 255, 255, .55); }
.mercado-destaque { border-top-color: var(--lima) !important; }
.mercado-destaque dd { color: var(--lima); }
@media (max-width: 900px) { .mercado-numeros { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; } }
@media (max-width: 420px) { .mercado-numeros dd { font-size: 38px; } }

/* ---------------------------------------------------------------- simulador */
.simulador { background: var(--maquete); padding: clamp(80px, 10vw, 148px) 0; }
.simulador-grade { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.simulador-entradas { display: flex; flex-direction: column; gap: 4px; }
.controle { padding: 20px 0 22px; border-top: 1px solid rgba(11, 31, 20, .14); }
.controle:first-child { border-top: 0; padding-top: 0; }
.controle-topo { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.controle-topo label { flex: 1 1 auto; min-width: 0; font-weight: 620; font-size: 16px; line-height: 1.35; }
.controle-valor { flex: none; display: inline-flex; align-items: baseline; gap: 8px; font-family: var(--mono); font-size: 14px; color: var(--texto-2); white-space: nowrap; }
.controle-valor input {
  width: 7.2ch; padding: 6px 8px; text-align: right;
  font: 600 18px/1.2 var(--sans); font-variant-numeric: tabular-nums; color: var(--tinta);
  background: transparent; border: 1px solid transparent; border-radius: 6px;
  -moz-appearance: textfield; appearance: textfield;
}
.controle-valor input::-webkit-outer-spin-button, .controle-valor input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.controle-valor input:hover { border-color: #C9C7BC; }
.controle-valor input:focus { outline: none; border-color: var(--verde); background: #fff; }
.controle-faixa {
  --pct: 50%;
  width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer;
  -webkit-appearance: none; appearance: none;
}
.controle-faixa::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--verde) var(--pct), #CFCCC1 var(--pct)); }
.controle-faixa::-moz-range-track { height: 3px; border-radius: 3px; background: #CFCCC1; }
.controle-faixa::-moz-range-progress { height: 3px; border-radius: 3px; background: var(--verde); }
.controle-faixa::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; margin-top: -9.5px; border-radius: 50%;
  background: #fff; border: 2px solid var(--verde); box-shadow: 0 2px 8px rgba(11, 31, 20, .18);
  transition: transform .2s var(--curva);
}
.controle-faixa::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 2px solid var(--verde); box-shadow: 0 2px 8px rgba(11, 31, 20, .18); }
.controle-faixa:hover::-webkit-slider-thumb, .controle-faixa:focus-visible::-webkit-slider-thumb { transform: scale(1.12); }
.controle-faixa:focus-visible { outline: none; }
.controle-faixa:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(181, 198, 90, .55); }
.controle-dica { margin-top: 8px; font-size: 13.5px; line-height: 1.5; color: var(--texto-3); }
.controle-duplo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.controle-duplo label { display: flex; flex-direction: column; gap: 8px; font-weight: 620; font-size: 16px; }
.controle-duplo select {
  min-height: 48px; padding: 10px 40px 10px 14px; border: 1px solid #CFCDC3; border-radius: 8px; background-color: #fff;
  font: inherit; font-weight: 500; font-size: 16px; color: var(--tinta); appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314402A' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.simulador-resultado {
  position: sticky; top: 104px;
  background: var(--floresta); color: #fff; border-radius: 12px;
  padding: clamp(26px, 3vw, 40px);
}
.simulador-resultado .rotulo { margin-bottom: 18px; }
.resultado-principal { padding-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.resultado-numero { display: block; font-weight: 780; font-stretch: 114%; font-size: clamp(48px, 5.4vw, 82px); line-height: 1; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.resultado-numero small { font-size: .38em; font-weight: 400; letter-spacing: 0; margin-left: 8px; color: var(--lima); }
.resultado-legenda { display: block; margin-top: 10px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.resultado-lista { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
.resultado-lista > div { padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.resultado-lista dt { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.resultado-lista dd { margin: 8px 0 0; font-size: clamp(19px, 1.7vw, 23px); font-weight: 680; font-variant-numeric: tabular-nums; }
.cobertura { margin-top: 22px; }
.cobertura-barra { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.cobertura-barra span { display: block; height: 100%; width: 0; background: var(--lima); border-radius: 6px; transition: width .6s var(--curva); }
.cobertura p { margin-top: 10px; font-size: 14px; color: rgba(255, 255, 255, .78); }
.cobertura p span { color: #fff; font-weight: 650; }
.botao-largo { width: 100%; margin-top: 26px; }
.resultado-compartilhar {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; padding: 6px 0;
  background: none; border: 0; color: rgba(255, 255, 255, .82); cursor: pointer;
  font-size: 14px; font-weight: 560; border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.resultado-compartilhar:hover { color: var(--lima); border-color: var(--lima); }
.resultado-compartilhar svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.como-calculamos { margin-top: 22px; border-top: 1px solid rgba(11, 31, 20, .14); padding-top: 18px; }
.como-calculamos summary {
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px;
  font-weight: 620; color: var(--verde);
}
.como-calculamos summary::-webkit-details-marker { display: none; }
.como-calculamos summary::after { content: "+"; font-family: var(--mono); font-size: 18px; line-height: 1; transition: transform .3s var(--curva); }
.como-calculamos[open] summary::after { transform: rotate(45deg); }
.como-calculamos ol { margin: 14px 0 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.55; color: var(--texto-2); }
.resultado-nota { margin-top: 16px; font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, .58); }
@media (max-width: 1023px) {
  .simulador-grade { grid-template-columns: 1fr; }
  .simulador-resultado { position: static; }
}
@media (max-width: 480px) {
  .resultado-lista { gap: 0 16px; }
  .resultado-lista dd { font-size: 19px; }
  .controle-valor input { width: 6.2ch; font-size: 17px; }
}
@media (max-width: 340px) { .resultado-lista { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- perguntas */
.perguntas { padding: 0 0 clamp(80px, 10vw, 140px); }
.perguntas-grade { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); border-top: 1px solid var(--linha); padding-top: clamp(56px, 7vw, 96px); }
.perguntas-lista { border-top: 1px solid var(--tinta); }
.pergunta { border-bottom: 1px solid var(--linha); }
.pergunta summary {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 650; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.35;
}
.pergunta summary::-webkit-details-marker { display: none; }
.pergunta summary:hover { color: var(--verde); }
.pergunta summary i {
  flex: none; width: 11px; height: 11px; margin: 0 4px 5px 0;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg); transition: transform .35s var(--curva);
}
.pergunta[open] summary i { transform: translateY(5px) rotate(225deg); }
.pergunta p { padding: 0 48px 24px 0; font-size: 17px; line-height: 1.65; color: var(--texto-2); max-width: 40em; }
@media (prefers-reduced-motion: no-preference) {
  .pergunta[open] p { animation: sobe .5s var(--curva) both; }
}
@media (max-width: 900px) { .perguntas-grade { grid-template-columns: 1fr; } .pergunta p { padding-right: 0; } }

/* ---------------------------------------------------------------- formulário: aviso */
.formulario-aviso {
  margin-bottom: 18px; padding: 12px 14px; border-radius: 8px;
  background: #EEF2D9; border: 1px solid #C9D58A; color: var(--verde); font-size: 14px; line-height: 1.5;
}

/* ---------------------------------------------------------------- barra de ação (celular) */
.barra-acao { display: none; }
@media (max-width: 900px) {
  .barra-acao {
    position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 25;
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; padding: 8px;
    background: rgba(243, 242, 236, .9); border-radius: 999px;
    -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
    box-shadow: 0 10px 30px -12px rgba(11, 31, 20, .35), 0 0 0 1px rgba(11, 31, 20, .06);
    transform: translateY(140%); opacity: 0; pointer-events: none;
    transition: transform .45s var(--curva), opacity .3s ease;
  }
  .barra-acao .botao { min-height: 46px; padding: 0 16px; font-size: 15px; }
  .barra-acao.visivel { transform: none; opacity: 1; pointer-events: auto; }
  .menu-aberto .barra-acao { opacity: 0; pointer-events: none; }
}

/* ---------------------------------------------------------------- revelação de imagem */
@media (prefers-reduced-motion: no-preference) {
  .js .revela-imagem img { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--curva), transform 1.6s var(--curva); }
  .js .revela-imagem.visivel img { clip-path: inset(0 0 0 0); }
}

/* ---------------------------------------------------------------- páginas simples */
.simples { padding: clamp(64px, 10vw, 140px) 0; min-height: 60vh; }
.simples-conteudo { max-width: 860px; }
.simples h1 { font-weight: 780; font-stretch: 110%; font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; letter-spacing: -.035em; }
.simples-conteudo > p:not(.rotulo) { margin-top: 22px; font-size: 18px; color: var(--texto-2); max-width: 36em; }
.simples-acoes { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.texto-legal h2 { font-size: 22px; font-stretch: 100%; letter-spacing: -.01em; margin-top: 40px; }
.texto-legal h2 + p { margin-top: 10px; }
.texto-legal .atualizacao { font-family: var(--mono); font-size: 13px; }
.texto-legal p:last-child { margin-top: 44px; }

/* ---------------------------------------------------------------- revelação ao rolar */
@media (prefers-reduced-motion: no-preference) {
  .js .revela { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s var(--curva); }
  .js .revela.visivel { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
