/* WebbIA™ Tech — hub consultivo
   Blocos claros, hero com retrato, faixa de números, portas, passos, casos,
   perguntas, página da consultoria e menu no celular. Carregado por último. */

/* ============================================================
   BLOCO CLARO dentro do site escuro
   Uso: <section class="section section-light" data-theme="light">
   O atributo traz os tokens claros de styles.css; a classe cobre o que o
   tema claro nunca definiu. Telas simuladas (.app-*) e formulários ficam
   só em bloco escuro.
   ============================================================ */
.section-light {
  --text-muted: #5E6283;
  --brand-light: #5B4BCC;
  --brand-glow: #7C6EE0;
  --accent-success: #0A7F5E;
  --shadow-glow: 0 0 0 1px var(--border-glow), 0 24px 60px -24px rgba(91,75,204,0.28);
  background: var(--bg-primary);
  color: var(--text-primary);
  margin-inline: clamp(8px, 1.4vw, 24px);
  border-radius: clamp(22px, 3vw, 40px);
  padding-block: clamp(48px, 7vw, 104px);
}
.section-light .btn-ghost { background: #fff; border-color: #8478D6; }
.section-light .btn-ghost:hover { background: #F1EEFC; border-color: var(--brand-primary); }
.section-light .btn-primary:hover { background: #4A3CB5; }
.section-light .eyebrow .dot { box-shadow: none; }
.section-light .card-glow {
  background: radial-gradient(circle at 0 0, rgba(91,75,204,0.07), transparent 55%), #fff;
}

/* A barra fixa passa sobre blocos claros: mais opaca para o texto não lavar. */
.nav { background: color-mix(in oklab, var(--bg-primary) 90%, transparent); }

.section-head h2 { text-wrap: balance; }
.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand-light); font-size: 14.5px; font-weight: 500;
  border-bottom: 1px solid color-mix(in oklab, var(--brand-light) 35%, transparent);
  padding-bottom: 2px;
  transition: border-color .2s ease, gap .2s ease;
}
.text-link:hover { border-color: var(--brand-light); gap: 11px; }

/* ============================================================
   HERO em duas colunas com retrato
   ============================================================ */
.hero-grid.hero-split {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
  gap: clamp(32px, 5vw, 72px);
}
.hero-split h1,
.hero-compact h1 {
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero-compact .hero-copy { max-width: 860px; }
.hero-lead { font-size: 18px; line-height: 1.6; max-width: 560px; color: var(--text-secondary); }

.hero-portrait {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 420px;
}
/* O brilho passa da largura do retrato; sem o corte, alarga a página no celular. */
.section-hero { overflow-x: clip; }
.hero-portrait::before {
  content: '';
  position: absolute;
  inset: -12% -14% -6%;
  z-index: -1;
  filter: blur(40px);
  background: radial-gradient(60% 55% at 50% 40%, rgba(91,75,204,0.45), transparent 70%);
  pointer-events: none;
}
.hero-portrait-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-glow);
  box-shadow: var(--shadow-glow);
  background: var(--bg-elevated);
}
.hero-portrait-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
}
/* A foto tem fundo claro: tom roxo no canto e degradê só na base, para a legenda. */
.hero-portrait-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 0 0, rgba(91,75,204,0.20), transparent 55%),
    linear-gradient(180deg, transparent 58%, rgba(5,8,20,0.55) 80%, rgba(5,8,20,0.92));
}
.hero-portrait-cap {
  position: absolute;
  left: 22px; right: 22px; bottom: 20px;
  z-index: 1;
  display: grid;
  gap: 3px;
}
.hero-portrait-cap strong { font-size: 17px; font-weight: 500; color: #fff; letter-spacing: -0.01em; }
.hero-portrait-cap span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.74);
}
.hero-portrait-chip {
  position: absolute;
  top: 24px; left: -22px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 14px;
  background: color-mix(in oklab, var(--bg-elevated) 94%, transparent);
  border: 1px solid var(--border-glow);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.7);
  font-size: 13px;
  line-height: 1.3;
  color: var(--text-primary);
}
.hero-portrait-chip small { display: block; font-size: 11px; color: var(--text-muted); }
.hero-portrait-chip-icon {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(91,75,204,0.16);
  color: var(--brand-glow);
  border: 1px solid var(--border-glow);
  flex-shrink: 0;
}

/* ============================================================
   PROVA do hero — quatro números numa linha e selos em texto
   ============================================================ */
.hero-proof { margin-top: clamp(32px, 4.5vw, 60px); }
.proof-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.proof-metric { display: grid; gap: 8px; padding: 26px 24px 24px 0; }
.proof-metric + .proof-metric { padding-left: 24px; border-left: 1px solid var(--border-subtle); }
.proof-metric strong {
  font-size: clamp(40px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--text-primary);
}
.proof-metric span { font-size: 14px; line-height: 1.45; color: var(--text-secondary); max-width: 200px; }
.proof-seals {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  font-size: 14px;
  color: var(--text-secondary);
}
.proof-seals li { display: inline-flex; align-items: center; gap: 8px; }
.proof-seals svg { color: var(--brand-glow); flex-shrink: 0; }

/* ============================================================
   BLOCOS DA HOME — ritmo mais fechado que o .section padrão
   ============================================================ */
.hub-block { padding-block: clamp(32px, 4vw, 56px); }
.hub-block.section-hero { padding-top: clamp(40px, 5.5vw, 72px); padding-bottom: clamp(28px, 3.5vw, 44px); }
.hub-block.section-light { padding-block: clamp(40px, 5vw, 72px); }
.hub-block .section-head { gap: 14px; margin-bottom: clamp(28px, 3.5vw, 44px); }
.hub-block h2 { font-size: clamp(30px, 3.9vw, 50px); }
main[data-screen-label="home"] + .footer { margin-top: clamp(40px, 5vw, 72px); }

/* ============================================================
   3 RAZÕES — a primeira (inteligência de negócio) vem em destaque
   ============================================================ */
.reasons-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(20px, 4vw, 64px);
  align-items: end;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.reasons-head h2 { text-wrap: balance; }
.reasons-lead { font-size: 17px; line-height: 1.6; color: var(--text-secondary); }
.reasons-lead strong { color: var(--text-primary); font-weight: 600; }

.reasons {
  display: grid;
  grid-template-columns: 1.22fr 1fr 1fr;
  gap: 20px;
  align-items: stretch;
}
.reason {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 1px 0 rgba(10,13,30,0.04), 0 20px 40px -24px rgba(91,75,204,0.22);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.reason:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--brand-primary) 45%, var(--border-subtle));
  box-shadow: 0 1px 0 rgba(10,13,30,0.04), 0 28px 48px -24px rgba(91,75,204,0.34);
}
.reason-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.reason-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(91,75,204,0.10);
  color: var(--brand-primary);
  border: 1px solid var(--border-glow);
}
.reason-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  color: var(--text-primary);
}
.reason h3 { font-size: 22px; line-height: 1.2; text-wrap: balance; }
.reason p { font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.reason-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.reason-chips li {
  font-size: 12.5px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
}
.reason-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border-subtle);
  display: grid;
  gap: 5px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
}
.reason-foot-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
/* Card escuro dentro do bloco claro: redefine os tokens só aqui. */
.reason.is-featured {
  --text-primary: #F0EEF8;
  --text-secondary: #CDC8F4;
  --text-muted: #AFABD6;
  --border-subtle: rgba(255,255,255,0.16);
  color: var(--text-primary);
  background:
    radial-gradient(110% 80% at 0% 0%, rgba(124,110,224,0.44), transparent 62%),
    linear-gradient(160deg, #241A52 0%, #0B0E22 100%);
  border-color: rgba(155,143,242,0.45);
  box-shadow: 0 30px 60px -28px rgba(31,22,68,0.7);
}
.reason.is-featured:hover { border-color: rgba(155,143,242,0.8); box-shadow: 0 34px 64px -26px rgba(31,22,68,0.8); }
.reason.is-featured h3 { font-size: 25px; }
.reason.is-featured .reason-icon { background: rgba(255,255,255,0.10); color: #fff; border-color: rgba(255,255,255,0.22); }

/* ============================================================
   3 PORTAS do hub
   ============================================================ */
.journey-cards.doors {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 0;
}
.door-card { padding: 28px; gap: 12px; cursor: default; border-radius: var(--radius-lg); }
.door-card:hover { transform: none; background: var(--bg-elevated); }
.door-card.is-featured:hover { background: linear-gradient(180deg, rgba(91,75,204,0.12), var(--bg-elevated)); }
.door-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.door-head .journey-card-icon { margin: 0; width: 40px; height: 40px; border-radius: 11px; }
.pill-brand { background: rgba(91,75,204,0.22); color: #D9D3FF; border: 1px solid rgba(155,143,242,0.5); }
.door-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-top: 8px;
}
.door-desc { font-size: 15px; line-height: 1.55; color: var(--text-secondary); }
.door-list { list-style: none; margin: 8px 0 0; padding: 0; }
.door-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px dashed var(--border-subtle);
  font-size: 13px;
  color: var(--text-muted);
}
.door-item > span:first-child { display: grid; gap: 2px; }
.door-item strong { color: var(--text-primary); font-weight: 500; font-size: 15px; }
a.door-item { transition: color .2s ease; }
a.door-item svg { color: var(--brand-light); flex-shrink: 0; transition: transform .2s ease; }
a.door-item:hover strong { color: var(--brand-glow); }
a.door-item:hover svg { transform: translate(2px, -2px); }
a.door-item:focus-visible, .door-cta:focus-visible, .text-link:focus-visible {
  outline: 2px solid var(--brand-glow);
  outline-offset: 3px;
  border-radius: 6px;
}
.door-foot { margin-top: auto; padding-top: 14px; }
.door-note { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.door-note a { color: var(--brand-light); border-bottom: 1px solid color-mix(in oklab, var(--brand-light) 35%, transparent); }

/* ============================================================
   COMO FUNCIONA — passos
   ============================================================ */
.process-grid.steps { gap: 24px; }
.steps .process-card {
  padding: 26px 0 0;
  border-top: 1px solid var(--border-subtle);
}
.steps .process-card::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 44px; height: 2px;
  background: var(--brand-primary);
}
.steps .process-num { margin-bottom: 14px; }
.steps .process-card h3 { font-size: 21px; margin-bottom: 10px; }
.steps .process-card p { font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.steps-foot { margin-top: clamp(28px, 4vw, 44px); font-size: 15px; color: var(--text-secondary); }
.steps-foot a { color: var(--brand-light); border-bottom: 1px solid color-mix(in oklab, var(--brand-light) 35%, transparent); }

/* ============================================================
   DÚVIDAS + CTA — um painel só no fim da home
   ============================================================ */
.cta-block.close-block { padding: clamp(24px, 3.6vw, 48px); }
.close-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.close-faq { display: grid; gap: 18px; justify-items: start; }
.close-faq .faq-list { width: 100%; }
.close-faq-title { font-size: 15px; font-weight: 500; color: var(--text-secondary); letter-spacing: 0; }
.close-block .faq-list { gap: 0; border-top: 1px solid var(--border-subtle); }
.close-block .faq-item { border: 0; border-bottom: 1px solid var(--border-subtle); border-radius: 0; background: none; }
.close-block .faq-item summary { padding: 17px 2px; }
.close-block .faq-item p { padding: 0 2px 18px; }
.close-cta { display: grid; gap: 16px; justify-items: start; }
.close-block .close-title { font-size: clamp(26px, 2.9vw, 38px); line-height: 1.12; text-wrap: balance; }
.close-cta p { font-size: 16px; line-height: 1.6; color: var(--text-secondary); max-width: 380px; }
.close-cta .hero-actions { margin-top: 6px; }
.faq-list { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  transition: border-color .2s ease;
}
.faq-item[open] { border-color: var(--border-glow); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex-shrink: 0; color: var(--brand-light); transition: transform .2s ease; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item summary:focus-visible { outline: 2px solid var(--brand-glow); outline-offset: 2px; border-radius: var(--radius-md); }
.faq-item p { padding: 0 22px 20px; max-width: 640px; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }

/* ============================================================
   CTA final
   ============================================================ */
.cta-center { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 18px; }
.cta-center h2 { max-width: 760px; }
.cta-center p { max-width: 540px; font-size: 17px; color: var(--text-muted); }
.cta-center .hero-actions { justify-content: center; margin-top: 14px; }

/* ============================================================
   PÁGINA /consultoria
   ============================================================ */
/* --- Teste rápido: perguntas à esquerda, resultado ao lado --- */
#teste-rapido { scroll-margin-top: 80px; }
.quiz {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.85fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.quiz-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-subtle); }
.quiz-row { border-bottom: 1px solid var(--border-subtle); }
.quiz-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: center;
  padding: 15px 0;
}
.quiz-q {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text-primary);
}
.quiz-n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; color: var(--text-muted); }
.quiz-opts { display: grid; grid-template-columns: repeat(3, auto); gap: 6px; }
.quiz-opt { position: relative; cursor: pointer; }
.quiz-opt input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.quiz-opt span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 78px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #8478D6;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.quiz-opt:hover span { border-color: var(--brand-primary); color: var(--text-primary); }
.quiz-opt input:checked + span { background: var(--brand-primary); border-color: var(--brand-primary); color: #fff; }
.quiz-opt input:focus-visible + span { outline: 2px solid var(--brand-primary); outline-offset: 2px; }

.quiz-result {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 16px;
  padding: 26px 26px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: #fff;
  box-shadow: 0 24px 60px -32px rgba(91,75,204,0.35);
}
.quiz-score { display: flex; align-items: baseline; gap: 12px; }
.quiz-count {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: var(--brand-primary);
  font-variant-numeric: tabular-nums;
}
.quiz-score span { font-size: 14.5px; line-height: 1.4; color: var(--text-secondary); }
.quiz-areas { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.quiz-areas li {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  font-size: 14px;
  color: var(--text-secondary);
}
.quiz-areas li.is-top { color: var(--text-primary); font-weight: 600; }
.quiz-meter { height: 8px; border-radius: 99px; background: #E7E2F6; overflow: hidden; }
.quiz-meter i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--brand-primary);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.quiz-read { min-height: 3em; font-size: 15px; line-height: 1.5; color: var(--text-primary); }
.quiz-cta { width: 100%; justify-content: center; }
.quiz-note { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); text-align: center; margin-top: -6px; }
.quiz-foot { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }

/* --- Método: cada eixo com o que o cliente recebe --- */
.axes .process-card { display: grid; align-content: start; }
/* "Você recebe" começa na mesma linha nos quatro eixos. */
@supports (grid-template-rows: subgrid) {
  .axes .process-card { grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
}
.steps .process-card .axis-get {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-subtle);
  font-size: 14.5px;
  color: var(--text-primary);
}
.axis-get span {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-light);
}

/* --- Mercado em gráficos: barras na mesma escala de 0 a 100% --- */
.charts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 4vw, 52px) clamp(32px, 6vw, 88px);
}
.chart { margin: 0; display: grid; gap: 14px; align-content: start; }
.chart figcaption { display: grid; gap: 4px; }
.chart h3 { font-size: 21px; text-wrap: balance; }
.chart-nota { font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.chart-bars { display: grid; gap: 8px; }
.chart-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) 74px;
  gap: 12px;
  align-items: center;
}
.chart-label { font-size: 14px; color: var(--text-secondary); }
.chart-track { display: block; height: 26px; border-radius: 6px; background: #E9E5F7; overflow: hidden; }
.chart-bar {
  display: block;
  height: 100%;
  width: calc(var(--v) * 1%);
  border-radius: 6px;
  background: #7C75B2;
  transform-origin: left center;
}
.chart-val {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 27px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}
.chart-row.is-key .chart-label { color: var(--text-primary); font-weight: 600; }
.chart-row.is-key .chart-bar { background: var(--brand-primary); }
.chart-row.is-key .chart-val { color: var(--brand-primary); }
/* As barras crescem quando o bloco entra na tela; sem script já nascem cheias. */
.charts.reveal-armed .chart-bar { transform: scaleX(0); }
.charts.reveal-armed.is-in .chart-bar { transform: none; transition: transform 1s cubic-bezier(.16,1,.3,1) .2s; }
.charts.reveal-armed.is-in .chart-row.is-key .chart-bar { transition-delay: .32s; }

/* --- Investimento: chamada e preço lado a lado, num painel só --- */
.invest-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.invest-body { display: grid; gap: 16px; justify-items: start; }
.invest-aside {
  display: grid;
  gap: 20px;
  padding-left: clamp(24px, 4vw, 56px);
  border-left: 1px solid var(--border-subtle);
}
.invest-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.invest-price .pricing-amount { font-size: clamp(48px, 5.4vw, 68px); }
.price-from {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.invest-conds {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--text-secondary);
}
.invest-conds li { display: flex; align-items: flex-start; gap: 10px; }
.invest-conds svg { color: var(--accent-success); margin-top: 3px; flex-shrink: 0; }
.invest-meio { font-size: 14px; line-height: 1.55; color: var(--text-muted); max-width: 560px; }
.invest-body .hero-actions { margin-top: 4px; }

/* ============================================================
   PÁGINA /produto — 3 planos lado a lado + complemento
   ============================================================ */
.plans-section { padding-top: 0; }
.plans-annual {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}
.pricing-grid.plans { gap: 20px; align-items: stretch; padding-top: 14px; }
.plan { gap: 14px; padding: 30px 28px 26px; }
.plan-head { display: flex; align-items: center; gap: 12px; }
.plan-icon {
  width: 40px; height: 40px;
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(91,75,204,0.14);
  color: var(--brand-glow);
  border: 1px solid var(--border-glow);
  flex-shrink: 0;
}
.plan-funcao {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  line-height: 1.4;
}
.plan .plan-name { font-size: 32px; line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; }
.plan .pricing-amount { font-size: 48px; }
.plan-desc { font-size: 15px; line-height: 1.55; color: var(--text-secondary); }
.plan .pricing-features { margin: 4px 0 6px; }
.plan-para {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border-subtle);
  display: grid;
  gap: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}
.plan-para span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.plan-cta { width: 100%; justify-content: center; margin-top: 4px; }
.plan-nota { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }

.addon {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  padding: 26px 28px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  scroll-margin-top: 96px;
}
.addon-copy { display: grid; gap: 10px; justify-items: start; }
.addon h3 { font-size: 26px; }
.addon p { font-size: 15px; line-height: 1.55; color: var(--text-secondary); max-width: 620px; }
.addon-buy { display: grid; gap: 14px; justify-items: end; }
.addon .pricing-amount { font-size: 40px; }
.plan { scroll-margin-top: 96px; }

.next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.next-card { display: grid; align-content: start; gap: 12px; padding: 30px; }
.next-card h3 { font-size: 24px; text-wrap: balance; }
.next-card p { font-size: 15.5px; line-height: 1.6; color: var(--text-secondary); }
.next-card .hero-actions { margin-top: 6px; }
/* Quatro segmentos em 2 × 2, para o card não ficar mais alto que o vizinho. */
.next-card .door-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }

/* ============================================================
   ROLAGEM — entrada em sequência, âncoras suaves, blocos que assentam
   ============================================================ */
/* Filhos de um grid entram um depois do outro. Usa `translate`, não
   `transform`, para não brigar com o hover dos cards. */
.reveal.reveal-armed.stagger { opacity: 1; transform: none; }
.reveal.reveal-armed.stagger > * {
  opacity: 0;
  translate: 0 22px;
  transition:
    opacity .7s cubic-bezier(.2,.7,.2,1) var(--stagger, 0ms),
    translate .7s cubic-bezier(.2,.7,.2,1) var(--stagger, 0ms),
    transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.reveal.reveal-armed.stagger.is-in > * { opacity: 1; translate: 0 0; }
.reveal.stagger > :nth-child(2) { --stagger: 90ms; }
.reveal.stagger > :nth-child(3) { --stagger: 180ms; }
.reveal.stagger > :nth-child(4) { --stagger: 270ms; }
.reveal.stagger > :nth-child(n+5) { --stagger: 340ms; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; scroll-padding-top: 88px; }

  /* Bloco claro "assenta" ao entrar na tela. Só onde o navegador tem
     animação ligada à rolagem; nos demais o bloco fica parado. */
  @supports (animation-timeline: view()) {
    .section-light {
      animation: block-rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 45%;
    }
  }
}
@keyframes block-rise {
  from { scale: 0.972; translate: 0 36px; }
  to { scale: 1; translate: 0 0; }
}

/* ============================================================
   MENU — botão no celular
   ============================================================ */
.nav-cta { height: 40px; padding: 0 18px; font-size: 13px; }
.nav-links .nav-cta { margin-left: 12px; }
.nav-cta-bar, .nav-toggle { display: none; }
.nav-toggle {
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  flex-shrink: 0;
}
.nav-toggle:focus-visible { outline: 2px solid var(--brand-glow); outline-offset: 2px; }
.nav-toggle .i-close, .nav.is-open .nav-toggle .i-open { display: none; }
.nav.is-open .nav-toggle .i-close { display: block; }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1000px) {
  .hero-grid.hero-split { grid-template-columns: minmax(0, 1fr) minmax(240px, 320px); gap: 32px; }
  .hero-portrait-chip { left: -12px; }
  .journey-cards.doors { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr 1fr; }
  .reason.is-featured { grid-column: 1 / -1; }
  .quiz { grid-template-columns: 1fr; }
  .quiz-result { position: static; }
  .pricing-grid.plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .addon { max-width: 560px; margin-inline: auto; }
}
@media (max-width: 900px) {
  .proof-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-metric:nth-child(3) { padding-left: 0; border-left: 0; }
  .proof-metric:nth-child(n+3) { border-top: 1px solid var(--border-subtle); }
  .reasons-head { grid-template-columns: 1fr; align-items: start; }
  .close-grid { grid-template-columns: 1fr; }
  .close-cta p { max-width: none; }
  .next-grid { grid-template-columns: 1fr; }
  .charts { grid-template-columns: 1fr; }
  .invest-panel { grid-template-columns: 1fr; }
  .invest-aside { padding-left: 0; padding-top: 24px; border-left: 0; border-top: 1px solid var(--border-subtle); }
}
@media (max-width: 720px) {
  .hero-grid.hero-split { grid-template-columns: 1fr; }
  .hero-split h1, .hero-compact h1 { font-size: clamp(30px, 8.4vw, 40px); }
  .hero-lead { font-size: 16.5px; }
  .hero-portrait { justify-self: center; max-width: 340px; }
  .hero-portrait-img { aspect-ratio: 1 / 1; object-position: 50% 22%; }
  .hero-portrait-chip { top: 14px; left: 14px; }
  .door-card { padding: 24px 22px; }
  .door-title { font-size: 26px; }
  .plan { padding: 26px 22px 22px; }
  .addon { grid-template-columns: 1fr; padding: 24px 22px; }
  .addon-buy { justify-items: start; }
  .next-card { padding: 24px 22px; }
  .next-card .door-list { grid-template-columns: 1fr; }
  .faq-item summary { padding: 16px 18px; font-size: 15.5px; }
  .faq-item p { padding: 0 18px 18px; }

  .nav-row { gap: 10px; }
  .nav-row .logo { margin-right: auto; }
  .nav-cta-bar { display: inline-flex; height: 38px; padding: 0 14px; font-size: 12px; }
  .nav-cta-bar svg { display: none; }
  html.js .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad-x) 16px;
    background: var(--bg-elevated);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 24px 40px -20px rgba(0,0,0,0.6);
  }
  .nav.is-open .nav-links { display: flex; }
  .nav-links .nav-link {
    display: block;
    padding: 14px 4px;
    font-size: 16px;
    border-radius: 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  .nav-links .nav-link:nth-last-child(2) { border-bottom: none; }
  .nav-links .nav-link.active::after, .nav-links .nav-cta { display: none; }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 640px) {
  .quiz-group { grid-template-columns: 1fr; padding: 16px 0 18px; }
  .quiz-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-left: 38px; }
  .quiz-opt span { min-width: 0; min-height: 44px; padding: 0 8px; }
  .quiz-result { padding: 22px 20px 20px; }
  .chart-row { grid-template-columns: 92px minmax(0, 1fr) 66px; gap: 10px; }
  .chart-val { font-size: 24px; }
  .reasons { grid-template-columns: 1fr; }
  .reason { padding: 24px 22px; }
  .reason.is-featured h3 { font-size: 22px; }
  .proof-metric { padding: 20px 14px 18px 0; }
  .proof-metric + .proof-metric { padding-left: 14px; }
  .proof-metric:nth-child(3) { padding-left: 0; }
  .proof-seals { gap: 8px 18px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal.reveal-armed.stagger > * { opacity: 1; translate: none; transition: none; }
  .page-anim { animation: none; }
  .faq-item summary svg, .text-link, a.door-item svg { transition: none; }
  .quiz-meter i, .quiz-opt span { transition: none; }
  .charts .chart-bar { transform: none !important; transition: none !important; }
}

/* ============================================================
   PÁGINA /sobre — história, equipe, mercado e tecnologias
   ============================================================ */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.story-copy { display: grid; gap: 16px; }
.story-copy h2 { margin-top: 4px; text-wrap: balance; }
.story-copy p { font-size: 16.5px; line-height: 1.65; color: var(--text-secondary); }
.story-side { margin: 0; display: grid; }
.story-side > div { display: grid; gap: 6px; padding: 20px 0; border-top: 1px solid var(--border-subtle); }
.story-side > div:last-child { border-bottom: 1px solid var(--border-subtle); }
.story-side dt { font-family: var(--font-display); font-style: italic; font-size: 24px; line-height: 1.1; color: var(--brand-primary); }
.story-side dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-secondary); }

.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.person {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
}
.person-photo {
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-glow);
  background: var(--bg-elevated-2);
}
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.person-body { display: grid; gap: 10px; align-content: start; }
.person-cargo {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-glow);
}
.person h3 { font-size: 24px; }
.person-papel { font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.person-list { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.person-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--text-secondary); }
.person-list svg { color: var(--accent-success); margin-top: 3px; flex-shrink: 0; }

.market-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.market-stat { display: grid; align-content: start; gap: 10px; padding-top: 22px; border-top: 2px solid var(--brand-primary); }
.market-stat-value {
  font-weight: 400;
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--brand-primary);
}
.market-stat p { font-size: 15.5px; line-height: 1.55; color: var(--text-primary); }
.market-source { font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.market-source a { color: var(--brand-light); border-bottom: 1px solid color-mix(in oklab, var(--brand-light) 35%, transparent); }
.market-sub { margin: clamp(28px, 4vw, 44px) 0 16px; font-size: 20px; }
.market-cases { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.market-case { display: grid; align-content: start; gap: 8px; padding-top: 18px; border-top: 1px solid var(--border-subtle); }
.market-case strong { font-size: 18px; font-weight: 500; color: var(--text-primary); }
.market-case p { font-size: 15px; line-height: 1.55; color: var(--text-secondary); }
.market-news {
  margin-top: 20px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px 26px;
  border-radius: var(--radius-lg);
  border: 1px dashed color-mix(in oklab, var(--brand-primary) 40%, var(--border-subtle));
  background: rgba(91,75,204,0.05);
}
.market-news .pill { background: var(--brand-primary); color: #fff; white-space: nowrap; margin-top: 2px; }
.market-news p { font-size: 15.5px; line-height: 1.6; color: var(--text-primary); }
.market-note { margin-top: 18px; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.market-note a { color: var(--brand-light); border-bottom: 1px solid color-mix(in oklab, var(--brand-light) 35%, transparent); }

.stack-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 28px;
}
.stack-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--border-subtle);
}
/* Todos os logos no mesmo quadro de 48px e na mesma cor, via máscara. */
.stack-logo {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-subtle);
}
.stack-logo i {
  display: block;
  width: 24px; height: 24px;
  background: var(--text-primary);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
.stack-text { display: grid; gap: 2px; min-width: 0; }
.stack-item strong { font-size: 16.5px; font-weight: 500; color: var(--text-primary); }
.stack-item small { font-size: 13.5px; color: var(--text-secondary); }
.stack-note { margin-top: 14px; font-size: 12.5px; color: var(--text-muted); }

@media (max-width: 1000px) {
  .people { grid-template-columns: 1fr; }
  .market-stats, .market-cases { grid-template-columns: 1fr 1fr; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .market-stats, .market-cases { grid-template-columns: 1fr; }
  .market-news { grid-template-columns: 1fr; gap: 10px; padding: 20px; }
  .market-news .pill { justify-self: start; }
}
@media (max-width: 520px) {
  .person { grid-template-columns: 1fr; }
  .person-photo { max-width: 240px; }
}

/* /contato — o select tomava a largura da opção mais longa e alargava a
   página no celular. Campos e colunas passam a respeitar a coluna. */
.contato-grid > * { min-width: 0; }
.field select, .field input, .field textarea { width: 100%; min-width: 0; }
