/* CEO Digital — mesmo visual do Radar de Estoque: azul-petróleo, branco e dourado em gradiente */
:root {
  --bg: #062530;
  --surface: #0B3440;
  --surface-2: #0E3D49;
  --selected: #10434F;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --gold: #D6AD59;
  --gold-light: #F0D18A;
  --gold-grad: linear-gradient(135deg, #F7E3A6 0%, #E2BE6C 28%, #C9973F 62%, #E9C87A 100%);
  --text: #FFFFFF;
  --muted: #A9C6CC;
  --ok: #6FD3A8;
  --warn: #F0D18A;
  --bad: #F08A7E;
  --radius: 10px;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --brand: 'Cinzel', Georgia, serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font: 16px/1.55 var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(214, 173, 89, 0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(21, 82, 98, 0.55), transparent 60%),
    var(--bg);
  background-attachment: fixed;
}
::selection { background: rgba(214, 173, 89, 0.3); color: var(--gold-light); }
a { color: var(--gold-light); }
a:hover { color: var(--gold); }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -0.01em; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--gold); color: var(--bg); padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

.muted { color: var(--muted); }
.small { font-size: 0.82rem; }
.kicker {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  background: linear-gradient(90deg, #F7E3A6, #D6AD59 55%, #C9973F);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gold-text {
  background: linear-gradient(90deg, #F7E3A6, #D6AD59 55%, #C9973F);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ───────── Cabeçalho e rodapé ───────── */
.top { position: sticky; top: 0; z-index: 20; background: rgba(6, 37, 48, 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in, .foot-in { max-width: 1040px; margin: 0 auto; padding: 12px max(16px, env(safe-area-inset-left)); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; }
.brand-name { font: 700 1.05rem var(--brand); letter-spacing: 0.12em; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-by { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.06em; }
.top-actions, .foot-links { display: flex; gap: 6px; flex-wrap: wrap; }
.link-btn { background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px 8px; border-radius: 6px; font-size: 0.82rem; font-weight: 600; }
.link-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.foot { margin-top: auto; border-top: 1px solid var(--line); color: rgba(169, 198, 204, 0.75); font-size: 0.8rem; }
.foot-in { flex-wrap: wrap; padding-block: 18px; }
.foot strong { color: rgba(255, 255, 255, 0.85); letter-spacing: 0.08em; }

main { flex: 1; display: flex; flex-direction: column; outline: none; }
.wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 28px 16px 40px; }
.wrap-wide { max-width: 1000px; }
.intro-static h1 { font-size: 1.8rem; margin-bottom: 12px; }
.intro-static h2 { font-size: 1.1rem; margin: 20px 0 8px; }
.intro-static ul { color: var(--muted); }

/* ───────── Botões (iguais ao Radar) ───────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 12px 22px; border-radius: 8px; cursor: pointer;
  font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none;
}
.btn-gold {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--bg); background: var(--gold-grad); border: 1px solid rgba(255, 236, 186, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(122, 82, 22, 0.35), 0 8px 24px -8px rgba(214, 173, 89, 0.55), 0 2px 6px rgba(0, 0, 0, 0.25);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.btn-gold::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%); transform: translateX(-120%); transition: transform 0.7s ease; }
.btn-gold:hover { color: var(--bg); transform: translateY(-1px); filter: brightness(1.05); }
.btn-gold:hover::after { transform: translateX(120%); }
.btn-gold:disabled { transform: none; filter: grayscale(0.3); opacity: 0.6; cursor: not-allowed; }
.btn-ghost {
  color: var(--text);
  background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(135deg, rgba(247, 227, 166, 0.85), rgba(201, 151, 63, 0.35) 50%, rgba(233, 200, 122, 0.85)) border-box;
  border: 1px solid transparent;
  transition: background 0.2s ease, transform 0.2s ease;
}
.btn-ghost:hover { color: var(--text); background: linear-gradient(var(--surface-2), var(--surface-2)) padding-box, linear-gradient(135deg, #F7E3A6, #C9973F 50%, #E9C87A) border-box; transform: translateY(-1px); }
.btn-wa { color: #fff; background: #1f8f4e; border: 1px solid #2fbf6a; }
.btn-wa:hover { color: #fff; background: #23a35a; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ───────── Introdução ───────── */
.hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: 40px; }
.hero h1 { font-size: clamp(1.7rem, 5vw, 2.6rem); font-weight: 800; max-width: 680px; }
.hero .lead { color: var(--muted); max-width: 600px; font-size: 1.02rem; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chip { font-size: 0.78rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line-2); border-radius: 99px; padding: 5px 12px; background: rgba(11, 52, 64, 0.6); }
.hero-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; width: 100%; margin-top: 10px; text-align: left; }
.mini { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.mini h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 10px 0 4px; }
.mini p { font-size: 0.85rem; color: var(--muted); }
.ico { width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; background: var(--selected); border: 1px solid rgba(214, 173, 89, 0.35); color: var(--gold); }
.ico svg { width: 18px; height: 18px; }

/* ───────── Pergunta ───────── */
.progress-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin-bottom: 8px; }
.progress-head b { color: var(--text); }
.progress-head .pct { color: var(--gold); }
.bar { height: 6px; border-radius: 99px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #C9973F, #E2BE6C 50%, #F7E3A6); transition: width 0.35s ease; }
.stagebar { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.stagebar span { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-2); border-radius: 99px; padding: 3px 10px; }
.stagebar span.on { color: var(--bg); background: var(--gold-grad); border-color: transparent; }
.stagebar span.done { color: var(--gold-light); border-color: rgba(214, 173, 89, 0.4); }

.q { margin-top: 28px; }
.q-meta { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--gold); margin-bottom: 10px; }
.q-meta span { color: var(--muted); }
.q h2 { font-size: clamp(1.25rem, 3.6vw, 1.6rem); font-weight: 800; }
.why { margin-top: 10px; color: var(--muted); font-size: 0.9rem; display: flex; gap: 8px; align-items: flex-start; }
.why svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--gold); }
.hint { margin-top: 6px; font-size: 0.82rem; color: var(--gold-light); }

.opts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.opt {
  width: 100%; text-align: left; cursor: pointer; display: flex; align-items: center; gap: 14px; min-height: 56px;
  padding: 14px 16px; border-radius: 8px; color: var(--muted); background: var(--surface); border: 1px solid var(--line);
  transition: border-color 0.15s, background 0.15s, color 0.15s, transform 0.15s;
}
.opt:hover { border-color: var(--line-2); background: #0D3A46; color: var(--text); }
.opt .n { flex: none; width: 26px; height: 26px; border-radius: 6px; display: grid; place-items: center; font: 600 0.75rem ui-monospace, monospace; background: rgba(255, 255, 255, 0.06); color: var(--muted); }
.opt .t { flex: 1; min-width: 0; font-size: 0.95rem; font-weight: 500; line-height: 1.35; overflow-wrap: anywhere; }
.opt .mk { flex: none; width: 18px; height: 18px; border: 1.5px solid rgba(255, 255, 255, 0.25); border-radius: 50%; display: grid; place-items: center; }
.opt.multi .mk { border-radius: 5px; }
.opt[aria-checked="true"] { background: var(--selected); border-color: var(--gold); color: var(--text); box-shadow: 0 0 15px rgba(214, 173, 89, 0.15); }
.opt[aria-checked="true"] .n { background: var(--gold); color: var(--bg); font-weight: 800; }
.opt[aria-checked="true"] .mk { background: var(--gold); border-color: var(--gold); }
.opt[aria-checked="true"] .mk::after { content: ''; width: 5px; height: 9px; border: solid var(--bg); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.opt.soft .t { font-style: italic; }

.field { margin-top: 22px; }
.field .fl { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 10px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { cursor: pointer; font-size: 0.88rem; font-weight: 600; color: var(--text); background: var(--surface); border: 1px solid var(--line-2); border-radius: 99px; padding: 9px 15px; min-height: 40px; }
.pill:hover { border-color: var(--gold); }
.pill[aria-checked="true"] { background: var(--gold-grad); color: var(--bg); border-color: transparent; }

.err { margin-top: 18px; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(240, 138, 126, 0.45); background: rgba(90, 20, 20, 0.35); color: #F7C1BA; font-size: 0.86rem; }
.nav { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.keys { margin-top: 14px; text-align: center; font-size: 0.7rem; color: rgba(169, 198, 204, 0.55); }
.keys kbd { background: rgba(255, 255, 255, 0.1); color: var(--text); border-radius: 4px; padding: 1px 5px; font-family: inherit; }

/* ───────── Panoramas entre etapas ───────── */
.inter { text-align: center; }
.inter .kicker { display: block; }
.inter h2 { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; margin: 12px auto 12px; max-width: 760px; }
.inter .sub { color: var(--muted); max-width: 640px; margin: 0 auto; }
.svc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; margin: 26px 0; text-align: left; }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 8px; transition: border-color 0.2s, transform 0.2s; }
.svc:hover { border-color: rgba(214, 173, 89, 0.4); transform: translateY(-2px); }
.svc.hl { border-color: rgba(214, 173, 89, 0.55); box-shadow: 0 0 24px rgba(214, 173, 89, 0.08); }
.svc h3 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.svc.hl h3 { color: var(--gold-light); }
.svc p { font-size: 0.86rem; color: var(--muted); }
.svc ul { margin: 2px 0 0; padding: 0; list-style: none; font-size: 0.8rem; color: rgba(255, 255, 255, 0.85); display: flex; flex-direction: column; gap: 4px; }
.svc li::before { content: '✓ '; color: var(--gold); font-weight: 700; }
.quote { max-width: 560px; margin: 0 auto 26px; padding: 14px 18px; border-radius: 8px; background: rgba(11, 52, 64, 0.55); border: 1px solid var(--line); font-style: italic; font-size: 0.92rem; }
.inter-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.step-msg { display: flex; width: fit-content; max-width: 100%; gap: 10px; align-items: center; margin: 0 auto 20px; padding: 8px 14px; border-radius: 99px; border: 1px solid rgba(214, 173, 89, 0.35); background: rgba(214, 173, 89, 0.07); font-size: 0.8rem; color: var(--gold-light); font-weight: 600; text-align: left; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(214, 173, 89, 0.25); }
.dots i.on { background: var(--gold); }

/* Vitrine ao vivo: celular → planilha → agenda → WhatsApp */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 26px 0; text-align: left; counter-reset: f; }
.fcard { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(14px); animation: rise 0.55s ease forwards; }
.fcard:nth-child(2) { animation-delay: 0.45s; }
.fcard:nth-child(3) { animation-delay: 0.9s; }
.fcard:nth-child(4) { animation-delay: 1.35s; }
.fcard:not(:last-child)::after { content: '→'; position: absolute; right: -11px; top: 50%; transform: translateY(-50%); color: var(--gold); font-weight: 800; z-index: 2; }
@keyframes rise { to { opacity: 1; transform: none; } }
.fcard h3 { font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.fcard h3 .ico { width: 30px; height: 30px; }
.fcard p { font-size: 0.8rem; color: var(--muted); }
.mock { border-radius: 8px; border: 1px solid var(--line-2); background: #072b36; padding: 10px; font-size: 0.74rem; line-height: 1.45; min-height: 110px; }
.mock-phone { display: flex; justify-content: center; }
.mock-phone .ph { width: 74px; height: 120px; border-radius: 14px; border: 2px solid var(--line-2); padding: 8px 6px; display: flex; flex-direction: column; gap: 5px; background: var(--bg); }
.mock-phone .ph i { display: block; height: 7px; border-radius: 3px; background: var(--surface-2); }
.mock-phone .ph i.g { background: var(--gold); width: 60%; }
.mock-phone .ph i.s { background: var(--selected); border: 1px solid var(--gold); height: 12px; }
.sheet { width: 100%; border-collapse: collapse; font-size: 0.68rem; }
.sheet th, .sheet td { border: 1px solid rgba(255, 255, 255, 0.12); padding: 4px 5px; text-align: left; vertical-align: top; overflow-wrap: normal; word-break: normal; }
.sheet th { background: rgba(214, 173, 89, 0.16); color: var(--gold-light); font-weight: 700; }
.sheet tr.new td { background: rgba(111, 211, 168, 0.1); animation: flash 1.4s ease 1.2s 2; }
@keyframes flash { 50% { background: rgba(111, 211, 168, 0.35); } }
.cal-ev { border-left: 3px solid var(--gold); background: rgba(214, 173, 89, 0.1); padding: 6px 8px; border-radius: 4px; }
.cal-ev b { display: block; color: var(--gold-light); }
.wa-bub { background: #134d37; border-radius: 8px 8px 8px 2px; padding: 7px 9px; color: #e7fff1; white-space: pre-line; }
.wa-bub small { display: block; text-align: right; color: rgba(231, 255, 241, 0.6); font-size: 0.62rem; }

/* Ciclo de acompanhamento */
.cycle { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 26px 0 18px; text-align: left; }
.cyc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; position: relative; }
.cyc .num { font: 800 1.6rem var(--font); }
.cyc h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin: 4px 0 6px; }
.cyc p { font-size: 0.82rem; color: var(--muted); }
.hours { max-width: 640px; margin: 0 auto 22px; padding: 16px 18px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(214, 173, 89, 0.14), rgba(11, 52, 64, 0.6)); border: 1px solid rgba(214, 173, 89, 0.4); text-align: left; display: flex; gap: 16px; align-items: center; }
.hours .big { font: 800 2rem var(--font); flex: none; }
.hours p { font-size: 0.9rem; }

/* ───────── Processando ───────── */
.proc { text-align: center; padding-top: 80px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.spin { width: 44px; height: 44px; border-radius: 50%; border: 3px solid var(--surface-2); border-top-color: var(--gold); animation: sp 0.9s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }
.proc ul { list-style: none; padding: 0; margin: 8px 0 0; color: var(--muted); font-size: 0.86rem; display: flex; flex-direction: column; gap: 4px; }
.proc li { opacity: 0; animation: rise 0.4s ease forwards; }
.proc li:nth-child(2) { animation-delay: 0.35s; } .proc li:nth-child(3) { animation-delay: 0.7s; }

/* ───────── Resultado ───────── */
.res-head { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 26px; box-shadow: inset 0 1px 0 rgba(240, 209, 138, 0.18), 0 20px 40px -24px rgba(0, 0, 0, 0.6); }
.gauge { position: relative; width: 168px; height: 168px; }
.gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.gauge .val { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.gauge .val b { font: 800 2.7rem var(--font); line-height: 1; }
.gauge .val span { font-size: 0.7rem; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 4px; }
.res-head h1 { font-size: clamp(1.4rem, 3.6vw, 2rem); font-weight: 800; margin: 8px 0; }
.res-head .lvl-text { color: var(--muted); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-top: 14px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.kpi span { display: block; font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.kpi b { display: block; font-size: 1.05rem; margin-top: 4px; }
.sec { margin-top: 26px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.sec h2 { font-size: 1.2rem; font-weight: 800; margin: 6px 0 4px; }
.sec > p { color: var(--muted); font-size: 0.9rem; }
.dimbars { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.dimrow { display: grid; grid-template-columns: minmax(130px, 220px) 1fr 44px; gap: 12px; align-items: center; font-size: 0.88rem; }
.dimrow .track { height: 10px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line); overflow: hidden; }
.dimrow .track i { display: block; height: 100%; width: 0; border-radius: 99px; transition: width 1s cubic-bezier(.2, .8, .2, 1); }
.dimrow b { text-align: right; font-variant-numeric: tabular-nums; }
.lv-bad { background: var(--bad); } .lv-mid { background: var(--warn); } .lv-good { background: var(--ok); }
.prio { display: grid; gap: 12px; margin-top: 18px; }
.prio-item { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 16px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.prio-item .pn { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; background: var(--gold-grad); color: var(--bg); }
.prio-item h3 { font-size: 0.98rem; }
.prio-item p { font-size: 0.88rem; color: var(--muted); margin-top: 4px; }
.help { border-color: rgba(214, 173, 89, 0.45); }
.help .svc-grid { margin-top: 16px; }
.help-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.help-cta p { flex: 1 1 260px; margin: 0; }
.prio-item .svc-tag { display: inline-block; margin-top: 8px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-light); border: 1px solid rgba(214, 173, 89, 0.4); border-radius: 99px; padding: 2px 10px; }
.blind { margin-top: 16px; padding: 14px 16px; border-radius: var(--radius); border: 1px dashed rgba(214, 173, 89, 0.5); font-size: 0.9rem; }
.share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.preview { margin-top: 16px; white-space: pre-line; font-size: 0.82rem; background: #134d37; color: #e7fff1; padding: 12px 14px; border-radius: 10px 10px 10px 2px; max-width: 520px; }
.toast { min-height: 1.3em; margin-top: 8px; font-size: 0.85rem; color: var(--gold-light); }

/* Formulário */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 6px; }
.form label .opt-l { color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: 0; }
.form label .req { color: var(--gold); }
.form input[type=text], .form input[type=email], .form input[type=tel] {
  width: 100%; min-height: 46px; padding: 11px 12px; border-radius: 8px; font: inherit; font-size: 0.95rem; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2);
}
.form input::placeholder { color: rgba(169, 198, 204, 0.45); }
.form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.84rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--gold); flex: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ok-box { margin-top: 18px; padding: 18px; border-radius: var(--radius); border: 1px solid rgba(111, 211, 168, 0.45); background: rgba(16, 80, 55, 0.3); }
.ok-box h3 { color: var(--ok); font-size: 1rem; }
.ok-box p { margin-top: 6px; font-size: 0.9rem; }

/* Diálogos */
.dlg { padding: 0; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); color: var(--text); width: min(920px, calc(100vw - 24px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.dlg-sm { width: min(440px, calc(100vw - 24px)); }
.dlg::backdrop { background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(3px); }
.dlg-in { position: relative; padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.dlg-in h2 { font-size: 1.35rem; font-weight: 800; }
.dlg-x { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border-radius: 8px; background: none; border: 0; color: var(--muted); font-size: 1.6rem; cursor: pointer; }
.dlg-x:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.dlg-actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.dlg .svc-grid { margin: 12px 0; }
.prose h3 { font-size: 0.92rem; margin-top: 10px; color: var(--gold-light); }
.prose p, .prose li { font-size: 0.88rem; color: var(--muted); }
.prose ul { margin: 0; padding-left: 20px; }

.fade { animation: fadeIn 0.35s ease both; }
.slide-next { animation: inN 0.35s ease both; }
.slide-prev { animation: inP 0.35s ease both; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes inN { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }
@keyframes inP { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: none; } }

/* ───────── Responsivo ───────── */
@media (max-width: 860px) {
  .flow, .cycle { grid-template-columns: 1fr 1fr; }
  .fcard:nth-child(2)::after { display: none; }
}
@media (max-width: 600px) {
  .wrap { padding-top: 20px; }
  .hero { padding-top: 16px; }
  .flow, .cycle { grid-template-columns: 1fr; }
  .fcard:not(:last-child)::after { content: '↓'; right: 50%; top: auto; bottom: -15px; transform: translateX(50%); }
  .fcard:nth-child(2)::after { display: block; }
  .res-head { grid-template-columns: 1fr; justify-items: center; text-align: center; padding: 22px 16px; }
  .gauge { width: 150px; height: 150px; }
  .sec { padding: 20px 16px; }
  .dimrow { grid-template-columns: 1fr 40px; gap: 6px 10px; }
  .dimrow .track { grid-column: 1 / -1; grid-row: 2; }
  .form { grid-template-columns: 1fr; }
  .nav .btn { flex: 1; }
  .keys { display: none; }
  .hours { flex-direction: column; text-align: center; }
  .share .btn, .inter-actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition: none !important; }
  .fcard, .proc li { opacity: 1; transform: none; }
}

/* ───────── Impressão / PDF ───────── */
@media print {
  body { background: #fff !important; color: #111 !important; }
  .no-print, .top, .foot, .share, .lead-sec, .nav { display: none !important; }
  .sec, .res-head, .kpi, .prio-item { background: #fafafa !important; border-color: #ddd !important; color: #111 !important; box-shadow: none !important; break-inside: avoid; }
  .muted, .sec > p, .prio-item p, .res-head .lvl-text, .kpi span { color: #444 !important; }
  .gold-text, .kicker { color: #8a5f12 !important; background: none !important; }
  .gauge .val b { color: #111 !important; }
}

/* ───────── v2: topo só com a marca, uma pergunta por página, acabamento premium ───────── */
.top { position: static; background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; }
.top-in { justify-content: center; padding-top: 18px; padding-bottom: 6px; }
.brand { align-items: center; }
body.in-question .brand-by { display: none; }

.qwrap { max-width: 760px; min-height: calc(100vh - 150px); min-height: calc(100svh - 150px); display: flex; flex-direction: column; gap: 22px; padding-top: 14px; }
.qhead { display: flex; flex-direction: column; gap: 10px; }
.qhead .bar { height: 4px; border: 0; background: rgba(255, 255, 255, 0.07); }
.qhead .bar i { box-shadow: 0 0 12px rgba(240, 209, 138, 0.6); }
.qhead .progress-head { margin: 0; text-transform: none; letter-spacing: 0.02em; font-size: 0.85rem; }
.qhead .count b { font-size: 1.05rem; color: var(--gold-light); }
.qhead .pct { font-weight: 700; }

.qcard {
  position: relative; flex: 1 0 auto;
  padding: 34px 32px 30px; border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(16, 67, 79, 0.72), rgba(9, 45, 56, 0.72)) padding-box,
    linear-gradient(150deg, rgba(247, 227, 166, 0.55), rgba(214, 173, 89, 0.08) 35%, rgba(255, 255, 255, 0.04) 65%, rgba(233, 200, 122, 0.35)) border-box;
  border: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(240, 209, 138, 0.16), 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 0 80px -40px rgba(214, 173, 89, 0.35);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.qcard .q-meta { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); margin-bottom: 14px; letter-spacing: 0.16em; }
.qcard .q-meta::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: var(--gold-grad); }
.qcard h2 { font-size: clamp(1.45rem, 4.2vw, 2.05rem); font-weight: 800; line-height: 1.2; }
.qcard .why { margin-top: 12px; font-size: 0.92rem; }
.qcard .hint { margin-top: 10px; }

.qcard .opts { margin-top: 26px; gap: 12px; }
.qcard .opts.two { display: grid; grid-template-columns: 1fr 1fr; }
.qcard .opt {
  min-height: 62px; padding: 16px 18px; border-radius: 14px; color: rgba(255, 255, 255, 0.86);
  background: rgba(6, 37, 48, 0.55); border: 1px solid rgba(255, 255, 255, 0.09);
  opacity: 0; transform: translateY(8px); animation: optIn 0.4s ease forwards; animation-delay: var(--d, 0ms);
  transition: border-color 0.18s, background 0.18s, transform 0.18s, box-shadow 0.18s, opacity 0.25s;
}
@keyframes optIn { to { opacity: 1; transform: none; } }
.qwrap:not(.slide-next):not(.slide-prev) .opt { animation: none; opacity: 1; transform: none; }
.qcard .opt:hover { transform: translateY(-2px); border-color: rgba(214, 173, 89, 0.55); background: rgba(16, 67, 79, 0.85); color: #fff; box-shadow: 0 12px 26px -16px rgba(214, 173, 89, 0.6); }
.qcard .opt:active { transform: scale(0.985); }
.qcard .opt .n { width: 32px; height: 32px; border-radius: 9px; font: 800 0.8rem var(--font); color: var(--gold-light); background: rgba(214, 173, 89, 0.1); border: 1px solid rgba(214, 173, 89, 0.3); }
.qcard .opt .t { font-size: 1rem; }
.qcard .opt[aria-checked="true"] {
  color: #fff; border-color: rgba(240, 209, 138, 0.9);
  background: linear-gradient(135deg, rgba(214, 173, 89, 0.24), rgba(16, 67, 79, 0.9));
  box-shadow: 0 0 0 1px rgba(240, 209, 138, 0.35), 0 14px 34px -14px rgba(214, 173, 89, 0.7);
}
.qcard .opt[aria-checked="true"] .n { background: var(--gold-grad); color: var(--bg); border-color: transparent; }
.qcard .opt.picked { animation: pick 0.42s ease; }
@keyframes pick { 0% { transform: scale(1); } 40% { transform: scale(1.025); } 100% { transform: scale(1); } }
.leaving-soon .opt:not([aria-checked="true"]) { opacity: 0.35; }

.qwrap .nav { margin-top: 0; padding-top: 0; border-top: 0; min-height: 50px; }
.back { display: inline-flex; align-items: center; gap: 4px; background: none; border: 0; color: var(--muted); font-weight: 600; font-size: 0.9rem; cursor: pointer; padding: 10px 8px 10px 0; }
.back:hover { color: var(--text); }
.back svg { width: 18px; height: 18px; }
.tap-hint { font-size: 0.82rem; color: rgba(169, 198, 204, 0.6); }
.qwrap .nav .btn { flex: none; min-width: 180px; }

@media (max-width: 600px) {
  .qwrap { min-height: calc(100svh - 140px); gap: 16px; }
  .qcard { padding: 24px 18px 20px; border-radius: 18px; }
  .qcard .opts.two { grid-template-columns: 1fr; }
  .qcard .opt { min-height: 56px; padding: 13px 14px; }
  .qwrap .nav .btn { min-width: 0; flex: 1; }
  .tap-hint { text-align: right; }
}

/* ───────── v3: cadastro antes do resultado ───────── */
.gate-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: start; padding-top: 10px; }
.gate-copy h1 { font-size: clamp(1.6rem, 4.4vw, 2.3rem); font-weight: 800; margin: 10px 0 12px; }
.gate-form { padding: 26px; border-radius: 20px;
  background: linear-gradient(180deg, rgba(16, 67, 79, 0.72), rgba(9, 45, 56, 0.72)) padding-box,
    linear-gradient(150deg, rgba(247, 227, 166, 0.55), rgba(214, 173, 89, 0.08) 35%, rgba(255, 255, 255, 0.04) 65%, rgba(233, 200, 122, 0.35)) border-box;
  border: 1px solid transparent; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7), 0 0 80px -40px rgba(214, 173, 89, 0.35); }
.gate-form .form { margin-top: 0; }
.gate-teaser { position: relative; margin: 22px 0 18px; padding: 18px; border-radius: 16px; border: 1px solid var(--line-2); background: rgba(6, 37, 48, 0.55); display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: center; overflow: hidden; }
.gt-ring { width: 96px; height: 96px; border-radius: 50%; border: 10px solid rgba(214, 173, 89, 0.55); border-right-color: rgba(255, 255, 255, 0.08); display: grid; place-items: center; filter: blur(2px); }
.gt-ring b { font-size: 1.5rem; }
.gt-bars { display: flex; flex-direction: column; gap: 9px; filter: blur(3px); }
.gt-bars i { display: block; height: 9px; border-radius: 9px; background: linear-gradient(90deg, #C9973F, #F7E3A6); opacity: 0.7; }
.gt-lock { position: absolute; inset: auto 12px 12px auto; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--bg); background: var(--gold-grad); border-radius: 99px; padding: 4px 10px; }
.gate-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.92rem; }
.gate-list li::before { content: '✓  '; color: var(--gold); font-weight: 800; }
.gate .inter-actions { justify-content: flex-start; }
.ok-box p + p { margin-top: 10px; }
@media (max-width: 820px) {
  .gate-grid { grid-template-columns: 1fr; gap: 20px; }
  .gate-teaser { grid-template-columns: 72px 1fr; }
  .gt-ring { width: 72px; height: 72px; border-width: 8px; }
  .gate-form { padding: 20px 16px; }
}
.form .consent { text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 0.86rem; margin-bottom: 0; }

/* Selo de sigilo na tela de preenchimento */
.seal { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(247, 227, 166, 0.16), rgba(201, 151, 63, 0.06)) padding-box,
    linear-gradient(#0A3540, #0A3540) padding-box,
    linear-gradient(135deg, #F7E3A6, #C9973F 55%, #E9C87A) border-box;
  border: 1px solid transparent; box-shadow: 0 10px 30px -18px rgba(214, 173, 89, 0.8); }
.seal-ico { flex: none; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-grad); color: var(--bg); }
.seal-ico svg { width: 20px; height: 20px; }
.seal strong { display: block; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase;
  background: linear-gradient(90deg, #F7E3A6, #D6AD59 55%, #C9973F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.seal p { margin-top: 5px; font-size: 0.9rem; line-height: 1.5; color: var(--gold-light); }
.priv-seal { border-left: 3px solid var(--gold); padding-left: 12px; color: var(--gold-light) !important; }
@media print { .seal { display: none; } }
