/* ===== Brudam Trial — experiência imersiva conduzida por IA =====
   Porte vanilla do protótipo Claude Design (trial/styles.css).
   Tema CLARO é o padrão; escuro disponível via [data-theme="dark"] no <html>. */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --accent: #FF811B;
  --accent-2: #FFA53D;
  --bg: #16120D;
  --bg-2: #0F0C08;
  --surface: #1E1810;
  --surface-2: #251D14;
  --line: #322819;
  --line-2: #41331F;
  --ink: #F7F2EA;
  --ink-2: #B7AE9F;
  --ink-3: #8B8275;
  --green: #36B37E;
  --green-soft: #143726;
  --truck-body: #F7F2EA;
  --truck-edge: #41331F;
  --font-head: "Sora", system-ui, -apple-system, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --glow: color-mix(in srgb, var(--accent) 60%, transparent);
}

html, body { height: 100%; margin: 0; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-y: auto;
}
#trial-root { height: 100%; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; letter-spacing: -.02em; line-height: 1.05; margin: 0; }
.mono { font-family: var(--font-mono); }

/* ---------------- STAGE ---------------- */
.stage {
  position: relative; min-height: 100%; width: 100%;
  overflow: hidden;
  background:
    radial-gradient(1100px 680px at 18% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
    radial-gradient(900px 600px at 100% 110%, color-mix(in srgb, var(--accent-2) 9%, transparent), transparent 55%),
    var(--bg);
  display: flex; flex-direction: column;
}
.stage::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 40%, transparent 55%, rgba(0,0,0,.45) 100%);
}

/* partículas flutuantes (faíscas) */
.sparks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.spark {
  position: absolute; border-radius: 50%;
  background: var(--accent); opacity: 0; filter: blur(.3px);
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0% { transform: translateY(20px) scale(.6); opacity: 0; }
  12% { opacity: .55; }
  85% { opacity: .4; }
  100% { transform: translateY(-110vh) scale(1); opacity: 0; }
}

/* topo: marca + sair */
.topbar {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px 32px; flex-shrink: 0;
}
.tb-brand { display: flex; align-items: center; gap: 10px; }
.tb-logo { height: 30px; display: block; }
.tb-right { display: flex; align-items: center; gap: 22px; font-size: 14px; color: var(--ink-3); }
.tb-right a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.tb-right a:hover { color: var(--accent); }
.tb-secure { display: flex; align-items: center; gap: 7px; }

/* ---------------- LAYOUT DO FLUXO ---------------- */
.flow {
  position: relative; z-index: 4; flex: 1; min-height: 0;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 48px;
  max-width: 1180px; width: 100%; margin: 0 auto; padding: 0 40px 20px;
}
.flow--solo { grid-template-columns: 1fr; max-width: 880px; text-align: center; }
.flow[hidden] { display: none; }

/* #flow-mount cresce pra empurrar a estrada pro rodapé da tela */
#flow-mount { flex: 1 0 auto; min-height: 0; display: flex; flex-direction: column; }
#flow-mount .flow { flex: 1 0 auto; }

.conduct { display: flex; flex-direction: column; gap: 22px; align-self: center; }
.flow--solo .conduct { align-items: center; }

.step-tag {
  display: inline-flex; align-items: center; gap: 9px; align-self: flex-start;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em;
  color: var(--accent); text-transform: uppercase;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 26%, transparent);
  padding: 7px 13px; border-radius: 20px;
}
.flow--solo .step-tag { align-self: center; }
.step-tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.ai-line {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(30px, 4vw, 52px); line-height: 1.05; letter-spacing: -.025em;
  min-height: 1.05em;
}
.flow--solo .ai-line { font-size: clamp(36px, 6vw, 72px); }
.caret {
  display: inline-block; width: .055em; height: 1em; vertical-align: -.12em;
  background: var(--accent); margin-left: .06em; border-radius: 2px;
  animation: blink 1s steps(1) infinite; box-shadow: 0 0 12px var(--glow);
}
@keyframes blink { 50% { opacity: 0; } }

.ai-support {
  font-size: 18px; color: var(--ink-2); max-width: 460px;
  opacity: 0; transform: translateY(8px);
  transition: opacity .6s ease, transform .6s ease;
}
.flow--solo .ai-support { max-width: 560px; margin: 0 auto; }
.ai-support.show { opacity: 1; transform: none; }

.conduct-actions { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(8px); transition: opacity .6s ease .15s, transform .6s ease .15s; }
.conduct-actions.show { opacity: 1; transform: none; }
.flow--solo .conduct-actions { justify-content: center; }

/* ---------------- NÚCLEO DE INTELIGÊNCIA (símbolo Brudam) ---------------- */
.orb-wrap { position: relative; width: 132px; height: 132px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.flow--solo .orb-wrap { width: 168px; height: 168px; margin: 0 auto 4px; }

.guide-glow {
  position: absolute; inset: 4%; border-radius: 50%;
  background: radial-gradient(circle at 50% 46%, color-mix(in srgb, var(--accent) 55%, transparent) 0%, color-mix(in srgb, var(--accent) 16%, transparent) 45%, transparent 70%);
  filter: blur(7px);
  animation: orbPulse 3.6s ease-in-out infinite;
}
.guide-mark {
  position: relative; width: 58%; height: 58%;
  animation: guideFloat 4.4s ease-in-out infinite;
  filter: drop-shadow(0 5px 16px var(--glow));
}
.guide-mark path { fill: var(--accent); }
.guide-orbit {
  position: absolute; inset: -3%; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--accent) 26%, transparent);
  animation: orbSpin 7s linear infinite;
}
.guide-orbit-dot {
  position: absolute; top: -5px; left: 50%; transform: translateX(-50%);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 12px var(--glow), 0 0 4px #fff;
}
.orb-ring {
  position: absolute; inset: -10px; border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  animation: ringExpand 3.6s ease-out infinite;
}
.orb-ring:nth-child(2) { animation-delay: 1.8s; }
@keyframes orbPulse { 0%,100% { transform: scale(1); opacity: .92; } 50% { transform: scale(1.06); opacity: 1; } }
@keyframes orbSpin { to { transform: rotate(360deg); } }
@keyframes guideFloat { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-5px) scale(1.03); } }
@keyframes ringExpand { 0% { transform: scale(.82); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }
.orb-wrap.thinking .guide-orbit { animation-duration: 1.8s; }
.orb-wrap.thinking .guide-glow { animation-duration: 1.2s; }
.orb-wrap.thinking .guide-mark { animation-duration: 1.6s; }

.orb-row { display: flex; align-items: center; gap: 20px; }

/* ---------------- PAINEL INTERATIVO ---------------- */
.panel {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line); border-radius: 22px;
  padding: 34px; box-shadow: 0 40px 90px -40px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.04);
  animation: panelIn .5s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes panelIn { from { transform: translateY(16px); } to { transform: none; } }
.panel-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.panel-title { font-size: 22px; margin-bottom: 22px; }

/* campos */
.field { margin-bottom: 18px; }
.field-label { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.input-wrap { position: relative; display: flex; align-items: center; }
.input {
  width: 100%; background: var(--bg-2); border: 1.5px solid var(--line-2);
  border-radius: 12px; padding: 15px 16px; color: var(--ink); font-size: 16px;
  font-family: var(--font-body); transition: border-color .18s, box-shadow .18s;
}
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 16%, transparent); }
.input.mono { font-family: var(--font-mono); letter-spacing: .02em; }
.input-eye { position: absolute; right: 14px; background: none; border: none; color: var(--ink-3); cursor: pointer; display: flex; padding: 0; }
.input-eye:hover { color: var(--ink); }
.field-hint { font-size: 13px; color: var(--ink-3); margin-top: 8px; }

/* CNPJ busca */
.cnpj-row { display: flex; gap: 10px; }
.cnpj-row .input { flex: 1; }
.scan-note { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--green); margin-top: 10px; }
.scan-note svg { flex-shrink: 0; }

.biz-card {
  margin-top: 16px; border: 1px solid color-mix(in srgb, var(--green) 35%, var(--line));
  background: color-mix(in srgb, var(--green) 9%, var(--bg-2));
  border-radius: 14px; padding: 18px; display: flex; gap: 14px;
  animation: panelIn .45s ease both;
}
.biz-ico { width: 38px; height: 38px; flex-shrink: 0; color: var(--green); }
.biz-name { font-family: var(--font-head); font-weight: 700; font-size: 15.5px; line-height: 1.3; }
.biz-meta { font-size: 13px; color: var(--ink-2); margin-top: 5px; }
.biz-meta b { color: var(--green); }
.biz-tag { font-family: var(--font-mono); font-size: 11px; color: var(--green); border: 1px solid color-mix(in srgb, var(--green) 40%, transparent); border-radius: 20px; padding: 4px 10px; white-space: nowrap; height: fit-content; }

/* erro inline */
.inline-err {
  display: flex; align-items: flex-start; gap: 9px; margin-top: 14px;
  background: color-mix(in srgb, #E5484D 12%, transparent);
  border: 1px solid color-mix(in srgb, #E5484D 30%, transparent);
  border-radius: 12px; padding: 12px 14px; font-size: 13.5px; color: #E5484D; line-height: 1.45;
}
.inline-err svg { flex-shrink: 0; margin-top: 2px; }

/* força de senha */
.pw-meter { display: flex; gap: 5px; margin-top: 10px; }
.pw-seg { height: 5px; flex: 1; border-radius: 3px; background: var(--line-2); transition: background .25s; }
.pw-checks { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; }
.pw-check { display: flex; align-items: center; gap: 5px; color: var(--ink-3); transition: color .2s; }
.pw-check.ok { color: var(--green); }
.pw-check .dot-o { width: 12px; text-align: center; }

/* lgpd / gift */
.lgpd { display: flex; gap: 11px; align-items: flex-start; margin-top: 18px; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; cursor: pointer; }
.lgpd input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
.lgpd a { color: var(--accent); text-decoration: none; }

.gift {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 12px; padding: 12px 15px; font-size: 13.5px; color: var(--ink-2);
}
.gift svg { flex-shrink: 0; }
.gift b { color: var(--ink); }

/* ações */
.panel-actions { display: flex; gap: 12px; margin-top: 24px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-head); font-weight: 700; font-size: 15.5px;
  padding: 15px 24px; border-radius: 13px; border: none; cursor: pointer;
  text-decoration: none; transition: transform .15s, box-shadow .2s, background .2s, opacity .2s;
}
.btn .ar { transition: transform .2s; }
.btn:hover .ar { transform: translateX(3px); }
.btn--primary { background-color: #F26A1B; color: #fff; box-shadow: 0 12px 28px -10px var(--glow); flex: 1; }
.btn--primary:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 18px 36px -12px var(--glow); }
.btn--primary:disabled { opacity: .4; filter: grayscale(.5); cursor: not-allowed; box-shadow: none; transform: none; }
.btn--ghost { background-color: transparent; color: var(--ink-2); border: 1.5px solid var(--line-2); }
.btn--ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn--lg { padding: 18px 34px; font-size: 17px; }
.btn--block { width: 100%; }
.spin-ico { display: inline-flex; }
.spin-ico svg { animation: orbSpin 1s linear infinite; }

/* ---------------- PROVISIONAMENTO ---------------- */
.prov { display: flex; flex-direction: column; gap: 4px; }
.prov-pct { font-family: var(--font-head); font-weight: 800; font-size: 56px; letter-spacing: -.03em; line-height: 1; }
.prov-pct span { font-size: 24px; color: var(--ink-3); }
.prov-stage { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; min-height: 1.2em; }
.prov-bar { height: 8px; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 20px; overflow: hidden; margin: 18px 0 6px; }
.prov-fill { height: 100%; border-radius: 20px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); box-shadow: 0 0 16px var(--glow); transition: width .5s cubic-bezier(.3,.8,.4,1); }
.prov-steps { display: flex; flex-direction: column; gap: 4px; margin-top: 18px; }
.prov-step { display: flex; align-items: center; gap: 13px; padding: 12px 4px; font-size: 15px; color: var(--ink-3); transition: color .3s; }
.prov-step.active { color: var(--ink); font-weight: 600; }
.prov-step.done { color: var(--ink-2); }
.prov-ico { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1.5px solid var(--line-2); background: var(--bg-2); transition: .3s; }
.prov-step.done .prov-ico { background: var(--green-soft); border-color: var(--green); color: var(--green); }
.prov-step.active .prov-ico { border-color: var(--accent); color: var(--accent); }
.prov-step.active .prov-ico svg { animation: orbSpin 1s linear infinite; }
.prov-step .prov-dot { font-size: 11px; color: var(--ink-3); }

/* ---------------- ESTRADA + CAMINHÃO ---------------- */
.road-wrap { position: relative; z-index: 4; flex-shrink: 0; padding: 0 40px 26px; max-width: 1180px; width: 100%; margin: 28px auto 0; }
.road-wrap[hidden] { display: none; }
.road {
  position: relative; height: 64px; border-radius: 16px;
  background: linear-gradient(180deg, #1b150e, #120d08);
  border: 1px solid var(--line); overflow: hidden;
}
.road-lane { position: absolute; left: 0; right: 0; top: 50%; height: 2px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, var(--line-2) 0 22px, transparent 22px 44px); }
.road-fill { position: absolute; left: 0; top: 0; bottom: 0; background: linear-gradient(90deg, color-mix(in srgb, var(--accent) 22%, transparent), color-mix(in srgb, var(--accent) 7%, transparent)); border-right: 2px solid var(--accent); transition: width .9s cubic-bezier(.4,0,.2,1); width: 4%; }
.road-pins { position: absolute; inset: 0; }
.road-pin { position: absolute; top: 50%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 5px; }
.road-pin i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); border: 2px solid var(--bg); transition: .3s; }
.road-pin.done i { background: var(--accent); box-shadow: 0 0 10px var(--glow); }
.road-pin.active i { background: #fff; box-shadow: 0 0 12px var(--glow); transform: scale(1.2); }
.road-pin span { font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; }
.road-pin.done span, .road-pin.active span { color: var(--ink-2); }
.truck { position: absolute; top: 50%; left: 4%; transform: translate(-50%,-50%); transition: left .9s cubic-bezier(.4,0,.2,1); z-index: 3; filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)); }
.truck svg { display: block; }
.truck-wheel { transform-origin: center; transform-box: fill-box; animation: orbSpin .6s linear infinite; }

/* ---------------- CONFETE ---------------- */
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 50; overflow: hidden; }
.conf { position: absolute; top: -16px; width: 9px; height: 14px; border-radius: 2px; will-change: transform; animation: confFall linear forwards; }
@keyframes confFall {
  0% { transform: translateY(-20px) rotateZ(0deg); opacity: 1; }
  100% { transform: translateY(104vh) rotateZ(720deg); opacity: .9; }
}

/* tela pronto */
.ready-badge { width: 96px; height: 96px; margin: 0 auto 8px; border-radius: 50%; background: color-mix(in srgb, var(--green) 16%, transparent); border: 2px solid var(--green); display: flex; align-items: center; justify-content: center; color: var(--green); animation: popIn .5s cubic-bezier(.2,1.4,.5,1) both; }
@keyframes popIn { from { transform: scale(.4); } to { transform: scale(1); } }
.ready-meta { display: flex; gap: 28px; justify-content: center; margin: 26px 0 30px; flex-wrap: wrap; opacity: 0; transform: translateY(8px); transition: .6s; }
.ready-meta.show { opacity: 1; transform: none; }
.ready-stat { text-align: center; }
.ready-stat b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--accent); }
.ready-stat span { font-size: 13px; color: var(--ink-3); }
.ready-url { font-family: var(--font-mono); font-size: 14px; color: var(--accent); background: color-mix(in srgb, var(--accent) 9%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent); border-radius: 10px; padding: 10px 16px; margin: 0 auto 8px; display: inline-block; word-break: break-all; }
.ready-email { font-size: 13px; color: var(--ink-3); margin-top: 16px; }
.ready-email b { color: var(--ink-2); }

/* ---------------- ACESSO CONVERSACIONAL ---------------- */
.qa { display: flex; flex-direction: column; gap: 22px; margin: 6px 0; }
.q-field { animation: panelIn .45s cubic-bezier(.2,.7,.2,1) both; }
.q-field[hidden] { display: none; }
.q-label { font-family: var(--font-head); font-weight: 700; font-size: 18px; color: var(--ink); margin-bottom: 11px; letter-spacing: -.01em; }
.q-affirm { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--green); margin-bottom: 12px; }
.cinput-wrap { position: relative; display: flex; align-items: center; }
.cinput {
  width: 100%; background: transparent; border: none;
  border-bottom: 2px solid var(--line-2); padding: 9px 2px;
  font-family: var(--font-body); font-size: 22px; color: var(--ink);
  transition: border-color .2s;
}
.cinput::placeholder { color: var(--ink-3); font-size: 19px; }
.cinput:focus { outline: none; border-bottom-color: var(--accent); }
.cinput-wrap .input-eye { position: absolute; right: 2px; }
.q-hint { font-size: 13px; color: var(--ink-3); margin-top: 9px; }
.panel--chat .pw-meter { margin-top: 14px; }

/* ---------------- PLANO: RECOMENDAÇÃO ---------------- */
.rec-badge { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 16px; }
.rec-badge.is-rec { color: var(--accent); }
.rec-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 9px currentColor; }
.plan-pills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan-pill { position: relative; text-align: left; background: var(--bg-2); border: 1.5px solid var(--line-2); border-radius: 13px; padding: 15px 14px; cursor: pointer; transition: transform .18s, border-color .18s, background .18s; display: flex; flex-direction: column; gap: 4px; }
.plan-pill:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent) 45%, var(--line-2)); }
.plan-pill.sel { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--bg-2)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent); }
.pill-flag { position: absolute; top: -9px; left: 12px; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 10px; letter-spacing: .04em; padding: 3px 9px; border-radius: 20px; }
.pill-name { font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--ink); }
.pill-price { font-family: var(--font-head); font-weight: 800; font-size: 17px; color: var(--ink); }
.pill-price i { font-style: normal; font-size: 11px; color: var(--ink-3); font-weight: 600; }
.why { margin-top: 16px; background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; animation: panelIn .4s cubic-bezier(.2,.7,.2,1) both; }
.why-head { font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 6px; }
.why-text { font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.why-reasons { list-style: none; margin-top: 13px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.why-reasons li { display: flex; align-items: flex-start; gap: 9px; font-size: 14px; color: var(--ink); }
.why-reasons li svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }

/* ================= TEMA CLARO (padrão) ================= */
[data-theme="light"] {
  --bg: #FBFAF6;
  --bg-2: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #F5F3EE;
  --line: #EBE7DF;
  --line-2: #DCD6CB;
  --ink: #1A150E;
  --ink-2: #5C554C;
  --ink-3: #908779;
  --green: #1B7A4B;
  --green-soft: #E7F4EC;
  --truck-body: #2A2118;
  --truck-edge: #DCD6CB;
}
[data-theme="light"] body { color: var(--ink); }
[data-theme="light"] .stage {
  background:
    radial-gradient(1100px 680px at 18% -8%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 60%),
    radial-gradient(880px 560px at 102% 108%, color-mix(in srgb, var(--accent-2) 10%, transparent), transparent 55%),
    var(--bg);
}
[data-theme="light"] .stage::after {
  background: radial-gradient(120% 120% at 50% 38%, transparent 62%, rgba(120,86,40,.05) 100%);
}
[data-theme="light"] .panel {
  background: linear-gradient(180deg, #FFFFFF 0%, #FCFBF8 100%);
  box-shadow: 0 30px 70px -34px rgba(80,50,15,.28), 0 4px 14px -6px rgba(80,50,15,.10);
}
[data-theme="light"] .road { background: linear-gradient(180deg, #FFFFFF, #F2EFE8); }
[data-theme="light"] .input { box-shadow: inset 0 1px 2px rgba(80,50,15,.05); }
[data-theme="light"] .spark { opacity: 0; mix-blend-mode: multiply; }
[data-theme="light"] .biz-tag { background: #fff; }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width: 880px) {
  body { overflow: auto; }
  .stage { min-height: 100%; height: auto; }
  .flow { grid-template-columns: 1fr; gap: 28px; padding: 16px 20px 30px; }
  .conduct { order: 1; }
  .panel { order: 2; padding: 24px; }
  .orb-wrap { width: 92px; height: 92px; }
  .ai-line { font-size: clamp(26px, 7vw, 38px); }
  .road-wrap { padding: 0 16px 18px; }
  .road-pin span { display: none; }
  .plan-pills { grid-template-columns: 1fr; }
  .topbar { padding: 16px 20px; }
  .tb-right a:not(.tb-secure) { display: none; }
}
@media (max-width: 480px) {
  .pill-price { font-size: 15px; }
  .prov-pct { font-size: 44px; }
}

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

/* ---------------- VERIFICAÇÃO (e-mail + SMS antes do tenant) ---------------- */
.vrf-list { display: flex; flex-direction: column; gap: 14px; margin-top: 10px; }
.vrf-row {
  border: 1px solid var(--line); border-radius: 16px; padding: 16px 16px 18px;
  background: color-mix(in srgb, var(--surface) 60%, transparent);
  transition: border-color .25s, background .25s;
}
.vrf-row.is-done { border-color: color-mix(in srgb, var(--green) 55%, var(--line)); background: color-mix(in srgb, var(--green-soft) 45%, transparent); }
.vrf-head { display: flex; align-items: center; gap: 11px; }
.vrf-ico {
  width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.vrf-row.is-done .vrf-ico { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); border-color: color-mix(in srgb, var(--green) 40%, transparent); }
.vrf-meta { min-width: 0; flex: 1; }
.vrf-title { font-family: var(--font-head); font-weight: 700; font-size: 15px; letter-spacing: -.01em; color: var(--ink); }
.vrf-dest { font-size: 12.5px; color: var(--ink-2); margin-top: 1px; word-break: break-all; }
.vrf-status {
  margin-left: auto; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px;
  background: color-mix(in srgb, var(--accent-2) 14%, transparent); color: var(--accent-2);
  border: 1px solid color-mix(in srgb, var(--accent-2) 26%, transparent);
}
.vrf-row.is-done .vrf-status { background: color-mix(in srgb, var(--green) 16%, transparent); color: var(--green); border-color: color-mix(in srgb, var(--green) 38%, transparent); }
.vrf-body { margin-top: 12px; }
.vrf-poll { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); }
.vrf-poll b { color: var(--ink-2); font-weight: 600; }
.vrf-link { background: none; border: 0; padding: 0; cursor: pointer; color: var(--accent); font: inherit; font-weight: 600; font-size: 12.5px; }
.vrf-link:disabled { color: var(--ink-3); cursor: default; }
.vrf-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 11px; }
.otp { display: flex; gap: 9px; }
.otp input {
  width: 46px; height: 54px; text-align: center; font-family: var(--font-mono); font-size: 22px; font-weight: 600;
  color: var(--ink); background: var(--surface-2); border: 1.5px solid var(--line-2); border-radius: 12px;
  outline: none; transition: border-color .18s, box-shadow .18s;
}
.otp input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.otp input.filled { border-color: color-mix(in srgb, var(--accent) 55%, var(--line-2)); }
.otp input:disabled { opacity: .6; }
.vrf-err { color: #E5484D; font-size: 12.5px; margin-top: 8px; }
.vrf-done-msg { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--green); font-weight: 600; margin-top: 10px; }
@media (max-width: 560px) {
  .otp input { width: 40px; height: 48px; font-size: 19px; }
  .otp { gap: 7px; }
  .vrf-foot { flex-direction: column; align-items: flex-start; }
}
