/* Ficha do cliente. Identidade do site e do diagnóstico: claro, verde #0F2E25, Geist, botões em pílula.
   Editorial e calmo: tipografia grande, muito respiro, poucos elementos por tela. */
:root {
  --bg: #ffffff;
  --paper: #f7f6f3;
  --surface: #fafaf9;
  --surface-2: #f2f1ee;
  --line: #e7e5e0;
  --line-2: #d6d3cc;
  --text: #12211b;
  --text-2: #4a554f;
  --muted: #6b746e;
  --faint: #a3aaa5;
  --primary: #0f2e25;
  --primary-hover: #0b241d;
  --primary-active: #081a15;
  --primary-soft: #eaf0ed;
  --primary-soft-2: #d5e1dc;
  --success: #3b7a5d;
  --error: #b4432f;
  --error-soft: #f8ebe7;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Geist", "Helvetica Neue", Arial, sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 24px;
  --shadow-xs: 0 1px 2px rgba(15, 46, 37, .06);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .03), 0 8px 24px rgba(15, 46, 37, .06);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, .04), 0 24px 60px rgba(15, 46, 37, .12);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { position: relative; margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
/* Grade sutil e luz verde no topo, como no hero do site */
body::before { content: ""; position: absolute; inset: 0 0 auto; height: 560px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; opacity: .55;
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 0%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 70% 80% at 30% 0%, #000 10%, transparent 70%); }
body::after { content: ""; position: absolute; top: -160px; right: -120px; width: 620px; height: 520px; z-index: -1; pointer-events: none; background: radial-gradient(closest-side, rgba(15, 46, 37, .09), transparent); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--primary); }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
[tabindex="-1"]:focus { outline: none; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; color: var(--text); }
h1 em, h2 em { font-style: normal; color: var(--muted); }
b, strong { font-weight: 600; color: var(--text); }
[hidden] { display: none !important; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Topo */
.top { position: sticky; top: 0; z-index: 20; background: rgba(247, 246, 243, .78); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 14px; line-height: 1.15; letter-spacing: -.01em; }
.logo img { width: 34px; height: 34px; border-radius: 50%; }
.saved { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.saved::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); opacity: 0; transition: opacity .3s; }
.saved.is-on::before { opacity: 1; }
.saved.is-error { color: var(--error); }
.saved.is-error::before { background: var(--error); opacity: 1; }

.main { flex: 1; padding-top: 28px; padding-bottom: 72px; }

/* Cartão base */
.card { max-width: 720px; margin: 0 auto; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 20px; box-shadow: var(--shadow-sm); }
.card.is-loading { display: grid; justify-items: center; gap: 14px; padding: 72px 20px; text-align: center; border-color: transparent; background: transparent; box-shadow: none; }
.kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker--center { justify-content: center; }
.kicker--center::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.sub { margin: 0; color: var(--text-2); }

/* ---------- Abertura ---------- */
.intro { display: grid; gap: 28px; max-width: 1040px; margin: 0 auto; padding-top: 8px; animation: rise .6s var(--ease) both; }
.intro h1 { font-size: clamp(34px, 8.4vw, 64px); line-height: 1.02; letter-spacing: -.035em; margin-bottom: 20px; }
.intro h1 em { display: block; }
.lead { margin: 0; max-width: 540px; font-size: 17px; line-height: 1.6; color: var(--text-2); }
.facts { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; max-width: 520px; }
.facts li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center; color: var(--text-2); font-size: 15px; }
.facts svg { width: 36px; height: 36px; padding: 8px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); fill: none; stroke: var(--primary); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; box-shadow: var(--shadow-xs); }
.notice { margin: 24px 0 0; max-width: 520px; padding: 12px 16px; border-radius: var(--radius); background: var(--primary-soft); border: 1px solid var(--primary-soft-2); color: var(--primary); font-size: 14px; }
.intro__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.intro__hint { font-size: 14px; color: var(--muted); }

.map { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 20px 12px; box-shadow: var(--shadow-sm); }
.map__title { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.map__list { list-style: none; margin: 0; padding: 0; }
.map__list li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.map__list li:first-child { border-top: 0; }
.map__n { font-size: 13px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; padding-top: 1px; }
.map__t { display: grid; gap: 2px; }
.map__t b { font-size: 15px; font-weight: 600; }
.map__t small { font-size: 13px; line-height: 1.45; color: var(--muted); }
.map__list li.is-done .map__n { color: var(--success); }
.map__list li.is-done .map__n::after { content: " ✓"; }

/* ---------- Etapas ---------- */
.flow { display: grid; gap: 18px; max-width: 720px; margin: 0 auto; }
.steps-nav { display: none; }

.segs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; margin-bottom: 26px; }
.segs span { height: 4px; border-radius: 4px; background: var(--surface-2); transition: background .4s var(--ease); }
.segs span.is-done { background: var(--primary); }
.segs span.is-now { background: linear-gradient(90deg, var(--primary) 50%, var(--primary-soft-2) 50%); }

.step__head { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: end; margin-bottom: 10px; }
.step__n { font-size: clamp(44px, 11vw, 64px); line-height: .82; font-weight: 600; letter-spacing: -.05em; color: var(--primary-soft-2); font-variant-numeric: tabular-nums; }
.step__of { margin: 0 0 4px; font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.step h2 { font-size: clamp(24px, 6vw, 32px); line-height: 1.12; letter-spacing: -.03em; }
.step__intro { margin: 0 0 30px; max-width: 560px; color: var(--text-2); font-size: 15px; }
.step-anim { animation: stepIn .35s var(--ease) both; }
.step-anim--back { animation-name: stepBack; }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
@keyframes stepBack { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Campos ---------- */
.fields { display: grid; gap: 0; }
.q { margin: 0; padding: 22px 0; border: 0; border-top: 1px solid var(--line); min-width: 0; }
.fields > .q:first-child { border-top: 0; padding-top: 4px; }
.q__label { display: block; margin: 0 0 12px; padding: 0; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; color: var(--text); }
/* legend dentro do fieldset: sai da borda e ocupa a linha toda */
legend.q__label { float: left; width: 100%; }
legend.q__label + * { clear: both; }
.q__label .opt { font-weight: 400; color: var(--muted); font-size: 13px; margin-left: 8px; letter-spacing: 0; }
.q__label .req { color: var(--error); margin-left: 3px; }
.q__hint { margin: -6px 0 12px; font-size: 13px; color: var(--muted); }
.q__error { margin: 10px 0 0; font-size: 13px; font-weight: 500; color: var(--error); }
.q__error:empty { display: none; }
.q.is-invalid .q__label { color: var(--error); }
.q[data-showif]:not([hidden]) { animation: fadeIn .3s var(--ease) both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

.input { width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); color: var(--text); font-size: 16px; transition: border-color .15s, box-shadow .15s, background .15s; }
textarea.input { min-height: 104px; resize: vertical; line-height: 1.5; }
.input::placeholder { color: var(--faint); }
.input:hover { border-color: #c6c2b9; }
.input:focus { outline: none; background: var(--bg); border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15, 46, 37, .1); }
.q.is-invalid .input { border-color: var(--error); background: var(--bg); }

/* Opções */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px 10px 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--bg); color: var(--text); font-size: 15px; line-height: 1.25; text-align: left; cursor: pointer; box-shadow: var(--shadow-xs); transition: border-color .15s, background .15s, color .15s, box-shadow .2s, transform .12s; -webkit-tap-highlight-color: transparent; }
.chip:hover { border-color: var(--primary); box-shadow: 0 2px 10px rgba(15, 46, 37, .1); }
.chip:active { transform: scale(.97); }
.chip[aria-checked="true"], .chip[aria-pressed="true"] { border-color: var(--primary); background: var(--primary-soft); color: var(--primary); font-weight: 600; box-shadow: inset 0 0 0 1px var(--primary); }
.chip:disabled { opacity: .4; cursor: not-allowed; box-shadow: none; }
.chip:disabled:hover { border-color: var(--line-2); }
.mark { flex: none; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--line-2); background: var(--bg); transition: all .15s var(--ease); }
.mark::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform .18s var(--ease); }
.mark--box { border-radius: 6px; }
.mark--box::after { display: none; }
.mark svg { width: 12px; height: 12px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: all .18s var(--ease); }
.chip[aria-checked="true"] .mark, .chip[aria-pressed="true"] .mark { background: var(--primary); border-color: var(--primary); }
.chip[aria-checked="true"] .mark::after { transform: scale(1); }
.chip[aria-pressed="true"] .mark svg { opacity: 1; transform: none; }
.chip--sm { min-height: 40px; padding: 7px 14px 7px 11px; font-size: 14px; }

/* Lista curta escrita (serviços) */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tags:empty { display: none; }
.tag { display: inline-flex; align-items: center; gap: 2px; min-height: 38px; padding: 4px 6px 4px 14px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 500; animation: pop .25s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.tag button { display: grid; place-items: center; width: 28px; height: 28px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; opacity: .75; }
.tag button:hover { opacity: 1; background: rgba(255, 255, 255, .14); }
.tag svg, .file__rm svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.tag-add { display: flex; gap: 8px; }
.tag-add .input { flex: 1; min-width: 0; }

/* Cores */
.colors { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 14px; }
.swatch-wrap { position: relative; display: grid; justify-items: center; gap: 6px; }
.swatch { position: relative; width: 56px; height: 56px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 1px var(--line-2), 0 4px 12px rgba(0, 0, 0, .08); }
.swatch input { position: absolute; inset: -10px; width: calc(100% + 20px); height: calc(100% + 20px); border: 0; padding: 0; cursor: pointer; background: none; }
.swatch__rm { position: absolute; top: -4px; right: -6px; width: 24px; height: 24px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: var(--bg); color: var(--text-2); cursor: pointer; z-index: 1; font-size: 14px; line-height: 1; box-shadow: var(--shadow-xs); }
.swatch-wrap small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; text-transform: uppercase; letter-spacing: .04em; }
.add-round { width: 56px; height: 56px; border-radius: 50%; border: 1.5px dashed var(--line-2); background: var(--surface); color: var(--text-2); font-size: 24px; font-weight: 300; cursor: pointer; transition: border-color .15s, color .15s; }
.add-round:hover { border-color: var(--primary); color: var(--primary); }
.colors-none { margin-top: 14px; }

/* Canais: um controle segmentado por canal */
.channels { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); }
.channel { display: grid; gap: 10px; padding: 14px 16px; border-top: 1px solid var(--line); }
.channel:first-child { border-top: 0; }
.channel__name { font-size: 14.5px; font-weight: 600; }
.segmented { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: var(--surface-2); }
.seg-opt { min-height: 40px; padding: 6px 10px; border: 0; border-radius: 10px; background: none; color: var(--text-2); font-size: 13.5px; line-height: 1.2; cursor: pointer; transition: background .18s var(--ease), color .18s, box-shadow .18s; -webkit-tap-highlight-color: transparent; }
.seg-opt:hover { color: var(--text); }
.seg-opt[aria-checked="true"] { background: var(--bg); color: var(--primary); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px var(--primary-soft-2); }

/* Arquivos */
.drop { position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 16px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); background: var(--surface); text-align: center; cursor: pointer; transition: border-color .15s, background .15s; }
.drop:hover, .drop.is-over { border-color: var(--primary); background: var(--primary-soft); }
.drop > span:first-child { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: 50%; background: var(--bg); box-shadow: var(--shadow-xs); }
.drop svg { width: 22px; height: 22px; fill: none; stroke: var(--primary); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.drop b { font-weight: 600; font-size: 15px; }
.drop small { color: var(--muted); font-size: 13px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.files { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 12px; margin-top: 14px; }
.files:empty { display: none; }
.file { position: relative; display: grid; gap: 6px; animation: pop .25s var(--ease) both; }
.file__thumb { width: 100%; aspect-ratio: 1; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); object-fit: cover; display: grid; place-items: center; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: .06em; overflow: hidden; }
.file__name { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file__rm { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(18, 33, 27, .72); color: #fff; cursor: pointer; backdrop-filter: blur(4px); }
.file.is-uploading .file__thumb { opacity: .5; animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.file.is-error .file__thumb { outline: 2px solid var(--error); outline-offset: -2px; }
.file.is-error .file__name { color: var(--error); }

/* Consentimento */
.consent { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); font-size: 14px; color: var(--text-2); cursor: pointer; transition: border-color .15s; }
.consent:hover { border-color: var(--primary); }
.consent input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--primary); }

/* Botões */
.actions { display: flex; gap: 10px; align-items: center; margin-top: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.actions .btn--primary { margin-left: auto; }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border: 1px solid var(--primary); border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; font-size: 16px; letter-spacing: -.005em; text-decoration: none; cursor: pointer; box-shadow: 0 1px 2px rgba(0, 0, 0, .1), 0 8px 20px rgba(15, 46, 37, .18); transition: background .15s, transform .12s, box-shadow .2s; -webkit-tap-highlight-color: transparent; }
.btn:hover { background: var(--primary-hover); box-shadow: 0 2px 4px rgba(0, 0, 0, .1), 0 14px 32px rgba(15, 46, 37, .24); }
.btn:active { background: var(--primary-active); transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--lg { min-height: 58px; padding: 0 30px; font-size: 17px; }
.btn--ghost { background: transparent; color: var(--text-2); border-color: var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: var(--bg); color: var(--primary); border-color: var(--primary); box-shadow: none; }
.btn--sm { min-height: 46px; padding: 0 18px; font-size: 15px; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn .spinner { display: none; }
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn__icon { display: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
.spinner--dark { width: 28px; height: 28px; border-color: var(--primary-soft-2); border-top-color: var(--primary); }
@keyframes spin { to { transform: rotate(360deg); } }

.alert { margin: 18px 0 0; padding: 12px 16px; border-radius: var(--radius); background: var(--error-soft); border: 1px solid rgba(180, 67, 47, .25); color: var(--error); font-size: 14px; font-weight: 500; }
.alert:empty { display: none; }

/* Enviado */
.done { text-align: center; display: grid; justify-items: center; gap: 14px; padding-top: 44px; padding-bottom: 40px; animation: rise .5s var(--ease) both; }
.done .kicker { margin: 4px 0 0; }
.done__icon { width: 72px; height: 72px; display: grid; place-items: center; border-radius: 50%; background: var(--primary); color: #fff; box-shadow: 0 0 0 10px var(--primary-soft); animation: popIn .5s var(--ease) both .1s; }
@keyframes popIn { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.done__icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.done h1 { font-size: clamp(28px, 7vw, 42px); line-height: 1.08; letter-spacing: -.03em; max-width: 520px; }
.done .sub { max-width: 480px; font-size: 15px; }
.done .btn { margin-top: 4px; }
.timeline { list-style: none; margin: 14px 0 8px; padding: 0; display: grid; gap: 0; width: 100%; max-width: 480px; text-align: left; }
.timeline li { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding-bottom: 20px; }
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 15.5px; top: 34px; bottom: 4px; width: 1px; background: var(--line-2); }
.timeline__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-size: 13px; font-weight: 600; }
.timeline b { display: block; font-size: 15px; margin-top: 5px; }
.timeline p { margin: 2px 0 0; font-size: 14px; color: var(--text-2); }

@media (min-width: 640px) {
  .card { padding: 40px 44px 34px; }
  .main { padding-top: 48px; }
  .map { padding: 26px 26px 14px; }
  .segmented { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 960px) {
  .main { padding-top: 64px; }
  .intro { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: start; padding-top: 24px; }
  .map { position: sticky; top: 96px; }
  .flow { max-width: none; grid-template-columns: 230px minmax(0, 720px); justify-content: center; gap: 48px; align-items: start; }
  .steps-nav { display: block; position: sticky; top: 100px; }
  .steps-nav ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; counter-reset: s; }
  .steps-nav li { counter-increment: s; }
  .steps-nav button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 42px; padding: 6px 10px; border: 0; border-radius: 12px; background: none; color: var(--muted); font-size: 14px; text-align: left; cursor: pointer; transition: background .15s, color .15s; }
  .steps-nav button::before { content: counter(s); display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .steps-nav button:hover:not(:disabled) { color: var(--primary); background: rgba(255, 255, 255, .7); }
  .steps-nav button:disabled { cursor: default; opacity: .5; }
  .steps-nav button.is-done { color: var(--text-2); }
  .steps-nav button.is-done::before { content: ""; background: var(--primary-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230f2e25' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--primary-soft-2); }
  .steps-nav button[aria-current="step"] { color: var(--text); font-weight: 600; background: var(--bg); box-shadow: var(--shadow-xs); }
  .steps-nav button[aria-current="step"]::before { content: counter(s); background: var(--primary); border-color: var(--primary); color: #fff; }
}

/* Celular: botões fixos embaixo, para não precisar rolar até eles */
@media (max-width: 639px) {
  .wrap { padding: 0 16px; }
  .card { padding: 22px 18px; border-radius: 20px; }
  .flow .card { margin: 0 -4px; }
  .intro h1 { font-size: clamp(32px, 9vw, 40px); }
  .lead { font-size: 16px; }
  .intro__cta .btn { width: 100%; }
  .intro__hint { width: 100%; text-align: center; }
  .actions { position: sticky; bottom: 0; z-index: 5; margin: 12px -18px -22px; padding: 12px 18px calc(12px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 0 0 20px 20px; }
  .actions .btn--primary { flex: 1; }
  .step__n { font-size: 46px; }
}

.footer { padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--primary); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
