/* ============================================================
   Raio-X do funil de vendas — Ploomes
   Estilos: mobile-first, responsivo, alinhado ao design system.
   Marca: roxo de site #843CFF, tinta #1E0C45, Manrope.
   ============================================================ */

/* ---------- Fonte da marca (auto-hospedada, sem CDN) ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/Manrope-VariableFont_wght.ttf') format('truetype-variations'),
       url('fonts/Manrope-VariableFont_wght.ttf') format('truetype');
}

/* ---------- Tokens ---------- */
:root {
  /* Marca (paleta de site, capturada em ploomes.com) */
  --brand:        #843CFF;
  --brand-strong: #7443F6;
  --brand-hover:  #6210C6;
  --ink:          #1E0C45;
  --ink-deep:     #14082E;
  --purple-soft:  #EBE5FF;
  --purple-pale:  #F5F1FF;

  /* Texto e superfícies */
  --text:         #1E0C45;
  --text-2:       #4B4660;
  --text-muted:   #6A6580;
  --white:        #FFFFFF;
  --canvas:       #FAFAFC;
  --surface:      #FFFFFF;
  --surface-2:    #F5F4F9;
  --border:       #E7E5EE;
  --border-strong:#D6D3E0;

  /* Semânticos */
  --success:      #10B981;
  --success-soft: #DCFCE7;
  --success-ink:  #047150;
  --warning:      #D97706;       /* âmbar com contraste reforçado p/ texto */
  --warning-soft: #FEF3C7;
  --warning-ink:  #92400E;
  --danger:       #EF4444;
  --danger-soft:  #FEE2E2;
  --danger-ink:   #991B1B;

  /* Tipografia */
  --font: 'Manrope', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Raios */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 28px;
  --r-pill: 999px;

  /* Sombras (tinta lavanda, nunca preto) */
  --sh-sm:   0 2px 6px rgba(29,13,71,.06);
  --sh-md:   0 8px 22px rgba(29,13,71,.08);
  --sh-lg:   0 18px 44px rgba(29,13,71,.12);
  --sh-card: 0 7px 18px 2px rgba(132,108,255,.18);
  --sh-brand:0 14px 34px rgba(132,60,255,.32);

  /* Movimento */
  --ease: cubic-bezier(.22,1,.36,1);
  --dur:  .2s;

  --maxw: 980px;
  --maxw-narrow: 560px;
}

/* ---------- Reset enxuto ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--canvas);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, p, ol, ul, fieldset, legend, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
button { font: inherit; color: inherit; }
a { color: var(--brand-hover); }
svg { display: block; }
img, svg { max-width: 100%; }

/* O atributo [hidden] precisa vencer regras de display:flex/inline-flex */
[hidden] { display: none !important; }

/* Ícones de traço genéricos */
.i {
  width: 1.15em; height: 1.15em; flex: 0 0 auto;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Acessibilidade ---------- */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--white); color: var(--ink);
  padding: 10px 16px; border-radius: var(--r-md);
  box-shadow: var(--sh-md); font-weight: 600; text-decoration: none;
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 16px; }

/* Foco visível — anel roxo de 2px (acessibilidade-first) */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}
.container--narrow { max-width: var(--maxw-narrow); }

/* ---------- Tipografia utilitária ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brand);
}
.eyebrow--success { color: var(--success-ink); }
.lead { font-size: clamp(1.0625rem, 1rem + .4vw, 1.1875rem); color: var(--text-2); }
.micro { font-size: .75rem; color: var(--text-muted); }

/* ---------- Botões ---------- */
.btn {
  --btn-pad-y: 12px; --btn-pad-x: 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border: 1px solid transparent; border-radius: var(--r-md);
  font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn--sm { --btn-pad-y: 8px; --btn-pad-x: 14px; font-size: .9375rem; }
.btn--lg { --btn-pad-y: 15px; --btn-pad-x: 28px; font-size: 1.0625rem; }

.btn--primary { background: var(--brand); color: var(--white); box-shadow: var(--sh-brand); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--primary:active { transform: scale(.985); box-shadow: var(--sh-md); }
.btn--primary[disabled] { opacity: .7; cursor: progress; }

.btn--ghost { background: var(--white); color: var(--ink); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--purple-pale); border-color: var(--brand-strong); }

.btn--text {
  background: transparent; color: var(--brand-hover);
  padding-inline: 8px; box-shadow: none; border-radius: var(--r-sm);
}
.btn--text:hover { text-decoration: underline; }

/* Botão branco sobre fundo roxo (CTA final) */
.btn--invert { background: var(--white); color: var(--brand-hover); }
.btn--invert:hover { background: var(--purple-pale); }
.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* Spinner do botão */
.btn__spinner {
  display: inline-block;
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.45); border-top-color: #fff;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Logo ---------- */
.logo { height: 30px; width: auto; }
.logo--sm { height: 24px; }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.site-header__logo { display: inline-flex; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 460px at 80% -10%, var(--purple-pale), transparent 60%),
    radial-gradient(900px 420px at 0% 0%, #FBF7FF, transparent 55%);
  padding-block: clamp(40px, 7vw, 80px) clamp(56px, 8vw, 96px);
  text-align: center;
}
.hero__inner { max-width: 720px; }
.hero__title {
  font-size: clamp(2rem, 1.4rem + 3.4vw, 3.25rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -.03em; color: var(--ink);
  text-wrap: balance;
  margin-bottom: 18px;
}
.hero__subtitle { margin-inline: auto; max-width: 600px; }
.hero__actions { margin-top: 28px; }
.hero__trust {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; font-size: .9375rem; color: var(--text-muted);
  font-weight: 500;
}
.hero__trust .i { color: var(--success); }
.hero__scroll {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; margin-top: 30px;
  border-radius: var(--r-pill);
  color: var(--brand); background: var(--white);
  box-shadow: var(--sh-card);
  animation: bob 2.4s var(--ease) infinite;
}
.hero__scroll svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

/* ---------- Painéis (passos) ---------- */
.panel { padding-block: clamp(40px, 6vw, 72px); }
.panel__inner { }
.panel__head { max-width: 640px; margin-bottom: 32px; }
.panel--result .panel__head { margin-bottom: 0; }
.panel__title {
  font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.25rem);
  font-weight: 800; letter-spacing: -.02em; color: var(--ink);
  line-height: 1.15; margin-top: 10px; text-wrap: balance;
}
.panel__title:focus { outline: none; }
.panel__intro { margin-top: 14px; color: var(--text-2); font-size: 1.0625rem; }
.panel__hint {
  display: flex; align-items: flex-start; gap: 8px;
  margin-top: 16px; padding: 12px 14px;
  background: var(--purple-pale); border-radius: var(--r-md);
  color: var(--text-2); font-size: .9375rem;
}
.panel__hint .i { color: var(--brand); margin-top: 2px; }

/* ---------- Campos ---------- */
.field { margin-bottom: 20px; }
.field__label {
  display: block; font-weight: 700; font-size: .9375rem;
  color: var(--ink); margin-bottom: 6px;
}
.field__opt { font-weight: 500; color: var(--text-muted); }
.field__help { display: block; font-size: .8125rem; color: var(--text-muted); margin-bottom: 8px; line-height: 1.45; }

.control {
  width: 100%; padding: 13px 15px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  appearance: none;
}
.control::placeholder { color: #A7A2B8; }
.control:hover { border-color: var(--brand-strong); }
.control:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(132,60,255,.18);
}
.control[aria-invalid="true"] {
  border-color: var(--danger);
}
.control[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(239,68,68,.18); }

/* Select com seta própria */
.select-wrap { position: relative; }
.select-wrap select.control { padding-right: 44px; cursor: pointer; }
.select-wrap__caret {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; pointer-events: none; color: var(--text-2);
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* Campo com sufixo (dias) */
.control-affix { position: relative; }
.control-affix .control { padding-right: 56px; }
.control-affix__suffix {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: .9375rem; color: var(--text-muted); pointer-events: none;
}

.field__error {
  display: flex; align-items: flex-start; gap: 6px;
  margin-top: 7px; font-size: .8125rem; font-weight: 600; color: var(--danger-ink);
}
.field__error::before {
  content: ""; flex: 0 0 auto; width: 16px; height: 16px; margin-top: 1px;
  background: var(--danger); border-radius: 50%;
  -webkit-mask: no-repeat center / 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M11 7h2v8h-2zm0 10h2v2h-2z'/%3E%3C/svg%3E");
          mask: no-repeat center / 11px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M11 7h2v8h-2zm0 10h2v2h-2z'/%3E%3C/svg%3E");
}
.field__warn {
  margin-top: 7px; font-size: .8125rem; font-weight: 600; color: var(--warning-ink);
  background: var(--warning-soft); padding: 8px 11px; border-radius: var(--r-sm);
}

/* Grupos */
.field-group { margin-top: 8px; margin-bottom: 24px; }
.field-group__legend {
  font-weight: 700; font-size: 1rem; color: var(--ink); margin-bottom: 14px;
  padding-top: 8px; border-top: 1px solid var(--border); width: 100%;
}
.grid-2 { display: grid; gap: 0 20px; }

/* Checkbox LGPD */
.field--check { margin-top: 4px; }
.checkbox { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; }
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox__box {
  flex: 0 0 auto; width: 22px; height: 22px; margin-top: 1px;
  border: 1.5px solid var(--border-strong); border-radius: 6px;
  background: var(--surface); display: grid; place-items: center;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.checkbox__box svg { width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity var(--dur) var(--ease); }
.checkbox input:checked + .checkbox__box { background: var(--brand); border-color: var(--brand); }
.checkbox input:checked + .checkbox__box svg { opacity: 1; }
.checkbox input:focus-visible + .checkbox__box { outline: 2px solid var(--brand); outline-offset: 2px; }
.checkbox__text { font-size: .875rem; color: var(--text-2); line-height: 1.5; }

/* ---------- Funil de entrada ---------- */
.funil-form { margin-top: 4px; }
.funnel-input {
  max-width: 620px; margin: 28px auto 8px;
  display: flex; flex-direction: column; align-items: stretch;
}
.funnel-input__stage {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  padding: 20px 20px 4px;
  margin-inline: auto; width: 100%;
}
/* estreitamento progressivo (some no mobile) */
.funnel-input__stage--2 { width: 94%; }
.funnel-input__stage--3 { width: 88%; }
.funnel-input__stage .field:last-child { margin-bottom: 16px; }
.funnel-input__tag {
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}

/* Conector com taxa calculada ao vivo */
.funnel-rate {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; padding-block: 6px;
}
.funnel-rate__line { width: 2px; height: 14px; background: var(--border-strong); }
.funnel-rate__chip {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  padding: 7px 14px; background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--r-pill);
  box-shadow: var(--sh-sm);
}
.funnel-rate__label { font-size: .8125rem; font-weight: 600; color: var(--text-2); }
.funnel-rate__value { font-size: 1rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.funnel-rate.is-active { opacity: 1; }

/* Pílula de status */
.status-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: var(--r-pill);
  font-size: .75rem; font-weight: 700; white-space: nowrap;
  background: var(--surface-2); color: var(--text-2);
}
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill--below { background: var(--danger-soft); color: var(--danger-ink); }
.status-pill--mid   { background: var(--warning-soft); color: var(--warning-ink); }
.status-pill--above { background: var(--success-soft); color: var(--success-ink); }

.form-alert {
  display: flex; align-items: flex-start; gap: 10px;
  margin: 20px auto 0; max-width: 620px;
  padding: 13px 16px; border-radius: var(--r-md);
  background: var(--danger-soft); color: var(--danger-ink);
  font-weight: 600; font-size: .9375rem;
}
.form-alert::before {
  content: ""; flex: 0 0 auto; width: 20px; height: 20px;
  background: var(--danger-ink);
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2 1 21h22L12 2zm0 6 6.5 11h-13L12 8zm-1 4h2v3h-2zm0 4h2v2h-2z'/%3E%3C/svg%3E");
          mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2 1 21h22L12 2zm0 6 6.5 11h-13L12 8zm-1 4h2v3h-2zm0 4h2v2h-2z'/%3E%3C/svg%3E");
}
.form-alert--info { background: var(--purple-pale); color: var(--brand-hover); }
.form-alert--info::before { background: var(--brand-hover); }

.funil-form__submit, .lead-form__submit {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 28px;
}
.funil-form__submit { justify-content: center; }

/* ---------- Captura ---------- */
.lead-form { margin-top: 8px; }
.captura-back { margin-top: 14px; text-align: center; }

/* ============================================================
   DIAGNÓSTICO
   ============================================================ */
.panel--result { background: var(--canvas); }

.diag-hero { text-align: center; max-width: 720px; margin: 0 auto 8px; }
.seal {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 12px; border-radius: var(--r-pill);
  font-weight: 700; font-size: .9375rem; margin-bottom: 16px;
}
.seal svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.seal--ok    { background: var(--success-soft); color: var(--success-ink); }
.seal--one   { background: var(--warning-soft); color: var(--warning-ink); }
.seal--multi { background: #FFEAD6; color: #9A3412; }
.seal--crit  { background: var(--danger-soft); color: var(--danger-ink); }

.diag-title {
  font-size: clamp(1.7rem, 1.3rem + 2vw, 2.5rem);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.12;
  color: var(--ink); text-wrap: balance; margin-bottom: 14px;
}
.diag-lead { font-size: 1.0625rem; color: var(--text-2); }
.diag-lead strong { color: var(--ink); }

/* Frase de impacto — o número que converte */
.impact {
  margin: 26px auto 0; max-width: 680px;
  background: linear-gradient(180deg, #fff, var(--purple-pale));
  border: 1px solid var(--purple-soft);
  border-radius: var(--r-xl); padding: 22px 24px;
  box-shadow: var(--sh-card); text-align: center;
}
.impact__eyebrow { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); }
.impact__big {
  font-size: clamp(1.8rem, 1.4rem + 2vw, 2.6rem); font-weight: 800;
  color: var(--ink); letter-spacing: -.02em; margin: 6px 0 4px; line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.impact__sub { font-size: .9375rem; color: var(--text-2); }

/* Funil visual do resultado */
.diag-block { margin-top: 40px; }
.diag-block__title {
  font-size: 1.25rem; font-weight: 800; color: var(--ink);
  letter-spacing: -.01em; margin-bottom: 18px;
}
.diag-funnel {
  max-width: 560px; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center;
}
.diag-funnel__bar {
  width: 100%; min-width: 9rem;
  background: var(--brand); color: #fff;
  border-radius: var(--r-md);
  padding: 14px 18px;
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  box-shadow: var(--sh-card);
}
.diag-funnel__bar--2 { background: #7733F0; }
.diag-funnel__bar--3 { background: #5E22C9; }
.diag-funnel__bar--4 { background: var(--ink); }
.diag-funnel__name { font-weight: 600; font-size: .9375rem; opacity: .92; }
.diag-funnel__num { font-weight: 800; font-size: 1.5rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.diag-funnel__link {
  display: inline-flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: center;
  margin-block: 9px; padding: 5px 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-pill); box-shadow: var(--sh-sm);
}
.diag-funnel__link svg { width: 14px; height: 14px; color: var(--text-muted); fill: currentColor; }
.diag-funnel__rate { font-size: .875rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.diag-funnel__rate-label { font-size: .75rem; color: var(--text-muted); font-weight: 600; }

/* Leitura por etapa */
.stage-reads { display: grid; gap: 14px; }
.stage-read {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 18px 20px; box-shadow: var(--sh-sm);
}
.stage-read__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.stage-read__name { font-weight: 800; color: var(--ink); font-size: 1rem; }
.stage-read__meta { display: inline-flex; align-items: center; gap: 10px; }
.stage-read__rate { font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.stage-read__text { font-size: .9375rem; color: var(--text-2); }
.stage-read.is-weak { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--sh-card); }
.stage-read__flag {
  display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: var(--r-pill);
  background: var(--purple-soft); color: var(--brand-hover); font-size: .6875rem; font-weight: 800;
  letter-spacing: .04em; text-transform: uppercase;
}

/* Recomendações */
.recs { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 24px; box-shadow: var(--sh-sm); }
.recs__sub { font-size: .9375rem; color: var(--text-2); margin-bottom: 16px; }
.recs__sub strong { color: var(--ink); }
.rec-list { display: grid; gap: 12px; }
.rec-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .9375rem; color: var(--text); }
.rec-list .tick {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: var(--purple-soft); display: grid; place-items: center; margin-top: 1px;
}
.rec-list .tick svg { width: 14px; height: 14px; fill: none; stroke: var(--brand-hover); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.recs__reinforce {
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border);
  font-size: .9375rem; color: var(--text-2);
}
.recs__reinforce strong { color: var(--ink); }

/* Compartilhar */
.share {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin-top: 28px; padding: 18px 20px;
  background: var(--surface); border: 1px dashed var(--border-strong);
  border-radius: var(--r-lg);
}
.share__text { font-size: .9375rem; color: var(--text-2); margin-right: auto; }
.share__text strong { color: var(--ink); }
.btn--share {
  background: var(--white); color: var(--brand-hover); border-color: var(--border-strong);
  box-shadow: var(--sh-sm); font-size: .9375rem; --btn-pad-y: 10px; --btn-pad-x: 16px;
}
.btn--share:hover { background: var(--purple-pale); border-color: var(--brand-strong); }
.btn--share svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* CTA final (bloco roxo) */
.cta-final {
  position: relative; overflow: hidden;
  margin-top: 44px; border-radius: var(--r-2xl);
  background: var(--brand);
  color: #fff; padding: clamp(32px, 5vw, 52px);
  text-align: center; box-shadow: var(--sh-lg);
}
.cta-final::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 120% at 50% -20%, rgba(255,255,255,.16), transparent 55%),
              radial-gradient(80% 80% at 110% 120%, rgba(20,8,46,.45), transparent 60%);
}
.cta-final > * { position: relative; }
.cta-final__logo { height: 28px; margin: 0 auto 18px; }
.cta-final__open { font-size: 1.0625rem; font-weight: 600; color: #EADBFF; max-width: 640px; margin: 0 auto 6px; }
.cta-final__title {
  font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.125rem); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.15; max-width: 680px; margin: 4px auto 14px; text-wrap: balance;
}
.cta-final__body { font-size: 1.0625rem; color: #E7D8FF; max-width: 640px; margin: 0 auto 26px; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-final__trust { margin-top: 18px; font-size: .875rem; color: #D6C2FF; }

/* Conteúdos relacionados */
.related { margin-top: 44px; }
.related__title { font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-bottom: 18px; }
.related__grid { display: grid; gap: 18px; }
.related-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px; text-decoration: none;
  box-shadow: var(--sh-sm); color: var(--ink);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--sh-card); border-color: var(--brand-strong); }
.related-card__kind {
  align-self: flex-start; font-size: .6875rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  color: var(--brand); background: var(--purple-soft); padding: 3px 10px; border-radius: var(--r-pill); margin-bottom: 14px;
}
.related-card__title { font-size: 1.0625rem; font-weight: 700; line-height: 1.3; }
.related-card__more {
  margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px;
  font-weight: 700; font-size: .875rem; color: var(--brand-hover);
}
.related-card__more svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* Refazer */
.diag-redo { margin-top: 36px; text-align: center; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--white); border-top: 1px solid var(--border); padding-block: 36px; }
.site-footer__inner { text-align: center; }
.site-footer .logo { margin: 0 auto 14px; }
.site-footer__note { color: var(--text-2); font-size: .9375rem; max-width: 460px; margin: 0 auto 10px; }
.site-footer__legal { max-width: 520px; margin: 0 auto; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(12px);
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: var(--r-pill);
  font-weight: 600; font-size: .9375rem; box-shadow: var(--sh-lg);
  opacity: 0; transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  z-index: 60;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Animação de entrada dos passos ---------- */
.panel[data-step][hidden] { display: none; }
.step-enter { animation: stepIn .42s var(--ease) both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (min-width: 560px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-2 .field { margin-bottom: 20px; }
}
@media (min-width: 720px) {
  .container { padding-inline: 32px; }
  .stage-reads { gap: 16px; }
  .related__grid { grid-template-columns: repeat(3, 1fr); }
  .diag-funnel__bar { padding: 18px 24px; }
}
@media (max-width: 559px) {
  /* No mobile o funil não estreita, para os campos respirarem */
  .funnel-input__stage--2,
  .funnel-input__stage--3 { width: 100%; }
  .btn--lg { width: 100%; }
  .funil-form__submit .btn, .lead-form__submit .btn--primary { width: 100%; }
  .site-header__cta { display: none; }
  .cta-final__actions .btn { width: 100%; }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero__scroll { animation: none; }
}
