/* ============================================================================
   sagazlab.io — HOME v2
   ADR-032 · 2026-08-08
   ----------------------------------------------------------------------------
   Layout derivado do artefato "Sagaz Lab Figma design", reescrito como CSS
   próprio: o artefato é um documento Claude Design (runtime `x-dc`, estilos
   inline, componente `DCLogic`) e não roda como site estático.

   O que veio do artefato, sem mexer: a grade de 1200, a escala tipográfica,
   a seção-problema em tinta, o cartão de formulário escuro dentro do hero,
   a faixa de CTA em vermelhão chapado e o rodapé em tinta.

   Depende de `brand-v2.css` para os tokens. Carregar nesta ordem:
     styles-v3.css  →  brand-v2.css  →  home-v2.css
   ============================================================================ */

/* ── Base da página ─────────────────────────────────────────────────────── */
.hv2 {
  --w: 1200px;
  --pad: 40px;
  font-family: "Archivo", sans-serif;
  color: var(--text-primary);
}
.hv2 :where(h1, h2, h3) { letter-spacing: -0.035em; text-wrap: balance; }
.hv2-wrap { max-width: var(--w); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.hv2-mono {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hv2-hero { border-bottom: 1px solid var(--border); }
.hv2-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
}
.hv2-hero-copy {
  padding: 80px 56px 80px 0;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.hv2-kicker {
  display: flex; align-items: center; gap: 10px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--teal);
}
.hv2-kicker::before { content: ""; width: 24px; height: 2px; background: var(--teal); flex: none; }
.hv2-hero h1 { margin: 0; font-size: clamp(38px, 5.2vw, 66px); line-height: 0.98; font-weight: 800; }
.hv2-lead { margin: 0; font-size: 1.19rem; line-height: 1.55; color: var(--text-secondary); max-width: 48ch; }

/* Prova — fatos conferíveis, não métrica de campanha */
.hv2-proof {
  display: flex; flex-wrap: wrap; gap: 26px;
  padding-top: 16px; margin-top: 6px;
  border-top: 1px solid var(--border);
  list-style: none; padding-left: 0;
}
.hv2-proof b { display: block; font-size: 2.1rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.hv2-proof span {
  display: block; margin-top: 6px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.69rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-secondary);
}
.hv2-proof a { color: var(--teal); text-decoration: underline; }

/* ── Cartão do formulário ───────────────────────────────────────────────── */
.hv2-form-slot { padding: 80px 0 80px 56px; display: flex; align-items: center; }
.hv2-card { background: #0F1417; padding: 34px; width: 100%; }
.hv2-card h2 { margin: 0; color: #F4F1EC; font-size: 1.44rem; font-weight: 700; line-height: 1.2; }
.hv2-card p  { margin: 8px 0 0; color: #9AA3AE; font-size: 0.91rem; line-height: 1.5; }
.hv2-fields  { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.hv2-card input, .hv2-card textarea {
  background: #171E22; border: 1px solid #2A3238; color: #F4F1EC;
  padding: 13px 14px; font-size: 0.94rem; width: 100%;
  font-family: inherit; border-radius: 0;
}
.hv2-card textarea { resize: vertical; min-height: 84px; }
.hv2-card input::placeholder, .hv2-card textarea::placeholder { color: #9AA3AE; }
.hv2-card input:focus-visible, .hv2-card textarea:focus-visible {
  outline: 3px solid #FF5A33; outline-offset: 2px; border-color: #FF5A33;
}
.hv2-card .hv2-label {
  display: block; color: #9AA3AE; font-family: "IBM Plex Mono", monospace;
  font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 5px;
}
.hv2-submit {
  background: #FF5A33; color: #0F1417; border: 0;
  padding: 15px 24px; font-size: 1rem; font-weight: 700;
  width: 100%; cursor: pointer; margin-top: 18px; min-height: 44px;
}
.hv2-submit:hover { background: #FF7A4D; }
.hv2-note { color: #9AA3AE; font-family: "IBM Plex Mono", monospace; font-size: 0.69rem; line-height: 1.6; margin-top: 14px; }
.hv2-erro { color: #FF7A4D; font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; margin-top: 12px; }
.hv2-ok { display: flex; flex-direction: column; gap: 16px; min-height: 352px; justify-content: center; }
.hv2-ok strong { color: #F4F1EC; font-size: 1.62rem; font-weight: 700; line-height: 1.15; }
.hv2-ok span { color: #9AA3AE; font-size: 0.94rem; line-height: 1.55; }
.hv2-ok[hidden] { display: none; }

/* ── Faixa de públicos ──────────────────────────────────────────────────── */
.hv2-strip { border-bottom: 1px solid var(--border); }
.hv2-strip .hv2-wrap {
  padding-top: 26px; padding-bottom: 26px;
  display: flex; align-items: center; gap: 40px; flex-wrap: wrap;
}
.hv2-strip ul {
  display: flex; gap: 38px; flex-wrap: wrap; align-items: center;
  list-style: none; margin: 0; padding: 0;
  font-size: 1.06rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text-secondary);
}

/* ── Seção em tinta ─────────────────────────────────────────────────────── */
.hv2-dark { background: #0F1417; color: #F4F1EC; }
.hv2-dark .hv2-wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.hv2-dark h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.04; font-weight: 800; }
.hv2-dark-head { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
.hv2-dark-head p { margin: 0; font-size: 1.12rem; line-height: 1.6; color: #9AA3AE; }
.hv2-cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #232A2F; border: 1px solid #232A2F; }
.hv2-cards3 > * { background: #0F1417; padding: 34px 30px; display: flex; flex-direction: column; gap: 12px; }
.hv2-num { font-family: "IBM Plex Mono", monospace; font-size: 0.75rem; letter-spacing: 0.14em; color: #FF5A33; }
.hv2-cards3 h3 { margin: 0; font-size: 1.37rem; font-weight: 700; line-height: 1.2; }
.hv2-cards3 p  { margin: 0; font-size: 0.97rem; line-height: 1.6; color: #9AA3AE; }

/* ── Método ─────────────────────────────────────────────────────────────── */
.hv2-sec { border-bottom: 1px solid var(--border); }
.hv2-sec .hv2-wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 44px; }
.hv2-sec h2 { margin: 0; font-size: clamp(30px, 4vw, 48px); line-height: 1.04; font-weight: 800; }
.hv2-sec-head {
  display: flex; justify-content: space-between; align-items: end; gap: 40px;
  border-bottom: 1px solid var(--border); padding-bottom: 24px;
}
.hv2-sec-head h2 { max-width: 16ch; }
.hv2-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hv2-step {
  background: var(--bg-card); border: 1px solid var(--border);
  padding: 32px; display: flex; flex-direction: column; gap: 14px;
}
.hv2-step:last-child { border-top: 3px solid var(--teal); }
.hv2-step:last-child .hv2-mono { color: var(--teal); }
.hv2-step img { width: 48px; height: auto; }
.hv2-step h3 { margin: 0; font-size: 1.5rem; font-weight: 700; line-height: 1.15; }
.hv2-step p  { margin: 0; font-size: 0.97rem; line-height: 1.6; color: var(--text-secondary); }

/* ── Prova / caso ───────────────────────────────────────────────────────── */
.hv2-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hv2-split > div { display: flex; flex-direction: column; gap: 28px; }
.hv2-split p { margin: 0; font-size: 1.12rem; line-height: 1.6; color: var(--text-secondary); }
.hv2-facts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  list-style: none; margin: 0; padding: 0;
}
.hv2-facts li { background: var(--bg-card); padding: 22px; }
.hv2-facts b { display: block; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em; }
.hv2-facts span { display: block; font-size: 0.88rem; color: var(--text-secondary); margin-top: 6px; line-height: 1.45; }
.hv2-case { background: #0F1417; padding: 44px 40px; display: flex; flex-direction: column; gap: 22px; }
.hv2-case img { width: 44px; height: auto; }
.hv2-case h3 { margin: 0; color: #F4F1EC; font-size: 1.62rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.02em; }
.hv2-case p  { margin: 0; color: #9AA3AE; font-size: 0.97rem; line-height: 1.6; }
.hv2-case a  { color: #FF5A33; font-weight: 600; }
.hv2-case-foot { border-top: 1px solid #232A2F; padding-top: 20px; }
.hv2-case-foot b { display: block; color: #F4F1EC; font-size: 0.94rem; font-weight: 600; }
.hv2-case-foot span {
  display: block; color: #9AA3AE; font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 5px;
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.hv2-faq-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.hv2-faq-list { border-top: 1px solid var(--border); }
.hv2-faq-item { border-bottom: 1px solid var(--border); }
.hv2-faq-q {
  width: 100%; background: none; border: 0; cursor: pointer;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 24px;
  padding: 22px 0; text-align: left; font-family: inherit;
  font-size: 1.19rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3;
  color: var(--text-primary); min-height: 44px;
}
.hv2-faq-q::after {
  content: "+"; font-family: "IBM Plex Mono", monospace;
  font-size: 1.12rem; color: var(--teal); line-height: 1.3; flex: none;
}
.hv2-faq-q[aria-expanded="true"]::after { content: "−"; }
.hv2-faq-a { font-size: 1rem; line-height: 1.6; color: var(--text-secondary); max-width: 62ch; padding: 0 0 22px; margin: 0; }
.hv2-faq-a[hidden] { display: none; }

/* ── CTA em vermelhão ───────────────────────────────────────────────────── */
.hv2-cta { background: var(--teal); }
.hv2-cta .hv2-wrap {
  padding-top: 88px; padding-bottom: 88px;
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center;
}
.hv2-cta img { width: 52px; height: auto; }
.hv2-cta h2 { margin: 0; color: #F4F1EC; font-size: clamp(32px, 4.4vw, 52px); line-height: 1.02; font-weight: 800; }
.hv2-cta p  { margin: 0; color: #FFE3DA; font-size: 1.12rem; line-height: 1.55; max-width: 44ch; }
.hv2-cta-actions { display: flex; flex-direction: column; gap: 14px; }
.hv2-cta-actions a {
  padding: 18px 28px; font-size: 1.06rem; font-weight: 600; text-align: center;
  min-height: 44px; display: block;
}
.hv2-cta-primary { background: #0F1417; color: #F4F1EC; }
.hv2-cta-primary:hover { background: #000; color: #F4F1EC; }
.hv2-cta-ghost { border: 1px solid #0F1417; color: #0F1417; }
.hv2-cta-ghost:hover { background: #0F1417; color: #F4F1EC; }
.hv2-cta-note { color: #FFE3DA; font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.1em; text-align: center; margin-top: 6px; }
.hv2-cta a:focus-visible { outline: 3px solid #0F1417; outline-offset: 3px; }

/* ── Responsivo ─────────────────────────────────────────────────────────── */
@media (max-width: 940px) {
  .hv2 { --pad: 24px; }
  .hv2-hero-grid, .hv2-split, .hv2-faq-grid, .hv2-dark-head,
  .hv2-cta .hv2-wrap { grid-template-columns: 1fr; gap: 32px; }
  .hv2-hero-copy { padding: 56px 0 40px; border-right: 0; }
  .hv2-form-slot { padding: 0 0 56px; }
  .hv2-cards3, .hv2-steps { grid-template-columns: 1fr; }
  .hv2-sec .hv2-wrap, .hv2-dark .hv2-wrap { padding-top: 64px; padding-bottom: 64px; }
  .hv2-sec-head { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 560px) {
  .hv2-facts { grid-template-columns: 1fr; }
  .hv2-strip .hv2-wrap { gap: 16px; }
  .hv2-strip ul { gap: 20px; font-size: 0.94rem; }
}
