/* Cadastro de casas (03/10/2026). Identidade da Torna, a mesma da landing (assets/landing/landing.css):
   verde #103d2e, verde de destaque #17613f, limão #c5ed8e, fundo claro. Sem estilo embutido na página:
   a política de conteúdo só aceita este arquivo. */
:root {
  --ink: #132c24;
  --muted: #63706a;
  --green: #103d2e;
  --green-hover: #205239;
  --accent: #17613f;
  --access: #087557;
  --lime: #c5ed8e;
  --vivo: #6bbf6b;
  --paper: #f5f7f3;
  --line: #e0e6df;
  --field-line: #dfe6db;
  --field-bg: #fafcf9;
  --focus: #559223;
  --err: #b42318;
  --radius: 22px;
  color-scheme: light;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; background: #fff; }
body {
  min-height: 100vh; display: flex; flex-direction: column;
  background: #fff; color: var(--ink);
  font: 15px/1.6 Inter, 'Segoe UI', Arial, sans-serif; -webkit-font-smoothing: antialiased;
}
fieldset { border: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
.wrap { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }

/* Cabeçalho igual ao da landing */
.site-header { background: #fff; border-bottom: 1px solid #e9eee7; }
.nav-shell { display: flex; align-items: center; justify-content: space-between; min-height: 80px; gap: 20px; }
.brand { display: inline-flex; }
.brand img { width: 132px; }
.access {
  display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 12px 26px;
  background: var(--access); color: #fff; border-radius: 28px; font-size: 14px; font-weight: 700; text-decoration: none;
  box-shadow: 0 4px 12px #07583b0d;
}
.access:hover { background: #065f46; }

/* Faixa verde com o convite e o cartão branco do formulário (como a seção de contato da landing) */
.hero {
  flex: 1; position: relative; isolation: isolate; color: #fff;
  background: radial-gradient(ellipse at 50% 0%, #2b644542, transparent 65%), var(--green);
}
.layout {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 72px; align-items: start;
  padding: 64px 0 80px;
}
.pitch { padding-top: 40px; }
.eyebrow { font-size: 12px; line-height: 1.5; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: #bad89c; }
.pitch h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.1; letter-spacing: -.045em; font-weight: 760; margin: 14px 0 18px; }
.pitch h1 span { display: block; color: var(--lime); }
.pitch-lead { font-size: 15px; color: #bed3c4; max-width: 420px; }
.bullets { list-style: none; display: grid; gap: 12px; margin: 26px 0; font-size: 14px; color: #bfd1c2; }
.bullets li { position: relative; padding-left: 26px; }
.bullets li::before { content: '✓'; position: absolute; left: 0; font-weight: 800; color: var(--lime); }
.bullets strong { color: #fff; font-weight: 650; }
.pitch-talk { border-top: 1px solid #ffffff27; padding-top: 22px; margin-top: 28px; font-size: 13px; color: #bdd0bd; max-width: 420px; }
.pitch-talk a { color: #fff; font-weight: 700; text-decoration: none; }
.pitch-talk a:hover { text-decoration: underline; }

.card {
  background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px;
  box-shadow: 0 20px 70px #05190f29;
}
.card h2 { font-size: 24px; line-height: 1.3; letter-spacing: -.03em; font-weight: 760; margin-bottom: 6px; }
.card .lead { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.card a { font-weight: 600; }
.steps { display: flex; gap: 10px; margin-bottom: 20px; list-style: none; }
.steps li { flex: 1; font-size: 12px; font-weight: 700; color: var(--muted); padding-top: 8px; border-top: 3px solid var(--line); }
.steps li[aria-current="step"] { color: var(--ink); border-top-color: var(--accent); }
.steps li.done { color: var(--ink); border-top-color: var(--vivo); }

.field { margin-bottom: 16px; min-width: 0; }
.field label { display: block; font-size: 13px; font-weight: 650; margin-bottom: 6px; color: var(--ink); }
.field input, .field select {
  width: 100%; min-height: 48px; padding: 11px 13px; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--field-bg); border: 1px solid var(--field-line); border-radius: 10px;
}
.field input::placeholder { color: #8a988e; }
.field input:focus, .field select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px #17613f1f; }
.field input[readonly] { background: var(--paper); color: var(--muted); }
.field select {
  appearance: none; padding-right: 36px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 19px) 50%, calc(100% - 14px) 50%; background-size: 5px 5px; background-repeat: no-repeat;
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--err); }
.help { font-size: 12.5px; color: #6b7e70; margin-top: 6px; }
.error { font-size: 12.5px; color: var(--err); margin-top: 6px; font-weight: 600; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 110px; gap: 14px; }
.row.half { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.pw { position: relative; }
.pw input { padding-right: 88px; }
.pw button {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%); min-height: 36px; padding: 0 12px;
  font: inherit; font-size: 13px; font-weight: 700; color: var(--accent); background: none; border: 0; border-radius: 8px; cursor: pointer;
}

.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--accent); }

/* Campo-isca: fora da tela para pessoas e leitores de tela; robôs preenchem. */
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.actions { display: flex; gap: 10px; margin-top: 20px; }
.btn {
  flex: 1; min-height: 50px; padding: 13px 22px; border: 1px solid transparent; border-radius: 12px; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 750; line-height: 1.3; color: #fff; background: var(--green);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none;
  transition: background .18s;
}
.card a.btn { font-weight: 750; }
.btn:hover { background: var(--green-hover); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.btn.ghost { flex: 0 0 auto; background: #fff; border-color: var(--field-line); color: var(--ink); }
.btn.ghost:hover { background: var(--paper); }
.spinner { width: 16px; height: 16px; border: 2px solid #ffffff59; border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 2.4s; } .btn { transition: none; } }

.notice { border-radius: 10px; padding: 12px 14px; font-size: 13.5px; margin-bottom: 16px; }
.notice.err { background: #fef3f2; border: 1px solid #fecdca; color: #912018; }
.notice.ok { background: #eef5e5; border: 1px solid #cfe3bd; color: #29482d; }
.small { font-size: 12.5px; color: var(--muted); margin-top: 16px; text-align: center; }

.done-panel { text-align: left; }
.done-panel .big {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  font-size: 26px; line-height: 1; margin-bottom: 16px; background: #eef5e5;
}
.done-panel p { color: var(--muted); margin-bottom: 12px; }
.done-panel p strong { color: var(--ink); overflow-wrap: anywhere; }

/* Rodapé igual ao da landing */
.site-footer { background: #0a281f; color: #829e8c; padding: 22px 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; }
.footer-bottom nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-bottom a { color: #cfdfc3; text-decoration: none; }
.footer-bottom a:hover { text-decoration: underline; }

@media (max-width: 920px) {
  .layout { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px 0 48px; }
  .pitch, .card { width: 100%; max-width: 560px; margin-inline: auto; }
  .pitch { padding-top: 0; }
  .pitch h1 { font-size: 34px; margin-bottom: 0; }
  .pitch-lead, .bullets, .pitch-talk { display: none; }
}
@media (max-width: 600px) {
  .wrap { width: calc(100% - 32px); }
  .nav-shell { min-height: 64px; }
  .brand img { width: 111px; }
  .access { min-height: 40px; padding: 9px 18px; font-size: 13px; }
  .pitch h1 { font-size: 30px; }
  .card { padding: 24px 18px; border-radius: 18px; }
  .row.half { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .row { grid-template-columns: minmax(0, 1fr) 92px; }
}
