/* ==========================================================
   Trader Raiz — landing alternativa (tema claro)
   ========================================================== */

:root {
  --bg: #ffffff;
  --soft: #f7f7f5;
  --ink: #0b0b0d;
  --ink-2: #2a2b30;
  --muted: #464a52;
  --faint: #7c8088;
  --line: #ebebe8;
  --line-2: #e2e2de;

  --gold: #f5c400;
  --gold-ink: #8a6d00;
  --gold-soft: #fff8d6;
  --green: #12b76a;
  --red: #f04438;
  --blue: #2563eb;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-lg: 0 1px 2px rgba(16, 17, 20, .04), 0 12px 32px -8px rgba(16, 17, 20, .10), 0 40px 80px -24px rgba(16, 17, 20, .14);
  --shadow-sm: 0 1px 2px rgba(16, 17, 20, .05), 0 4px 14px -6px rgba(16, 17, 20, .08);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font: inherit; color: inherit; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 800px; }

.up { color: var(--green); }
.down { color: var(--red); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; letter-spacing: -.01em;
  cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background .2s, box-shadow .2s, border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-lg { height: 60px; padding: 0 34px; font-size: 17px; }
.btn-block { width: 100%; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #26272c; box-shadow: 0 8px 20px -8px rgba(11, 11, 13, .5); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffd21f; box-shadow: 0 8px 22px -8px rgba(245, 196, 0, .8); }
.btn-ghost { background: #fff; border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-line { background: transparent; border-color: var(--line-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-ghost-dark { background: transparent; border-color: rgba(255, 255, 255, .22); color: #fff; }
.btn-ghost-dark:hover { border-color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand img { width: 36px; height: 36px; }
/* mesmo nome do login do Clube, na versão clara (tema "papel e ouro") */
.logo-nome { font-family: "Inter", sans-serif; font-weight: 900; font-size: 20px; letter-spacing: -.01em; background: linear-gradient(90deg, #876516, #6e5010); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color .2s; }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-login { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.nav-login:hover { color: var(--ink); }

.burger { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.burger span:first-child { top: 16px; }
.burger span:last-child { top: 23px; }
.burger.is-open span:first-child { top: 19.5px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 19.5px; transform: rotate(-45deg); }

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 8px 24px 24px; border-bottom: 1px solid var(--line); background: #fff;
}
.mobile-menu a:not(.btn) { padding: 12px 0; font-size: 17px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 16px; }
.mobile-menu.is-open { display: flex; }

/* ---------- Tipografia de seção ---------- */
.section { padding: 128px 0; }
.section-tight { padding-top: 64px; }
.section-soft { background: var(--soft); }
.head { max-width: 720px; margin-bottom: 64px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker {
  font-family: var(--mono); font-size: 12px; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink);
  margin-bottom: 16px;
}
.title { font-size: clamp(34px, 5vw, 56px); line-height: 1.05; letter-spacing: -.035em; font-weight: 700; }
.title-xl-big { display: block; font-size: clamp(44px, 6.4vw, 80px); line-height: .95; letter-spacing: -.05em; font-weight: 800; margin-bottom: 10px; }
.title-xl-sub { display: block; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.2; letter-spacing: -.02em; font-weight: 600; color: var(--muted); }
.lead { margin-top: 20px; font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); line-height: 1.55; }
.head.center .lead { max-width: 560px; margin-left: auto; margin-right: auto; }

/* ---------- HERO ---------- */
.hero { padding: 48px 0 104px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 760px; z-index: -1;
  background:
    radial-gradient(40% 50% at 50% 30%, rgba(245, 196, 0, .16), transparent 70%),
    radial-gradient(30% 40% at 78% 60%, rgba(37, 99, 235, .07), transparent 70%);
}
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr);
  /* botões logo abaixo da sub-headline; o card ocupa as duas linhas */
  grid-template-rows: auto 1fr;
  grid-template-areas: "copy chart" "action chart";
  column-gap: 56px; row-gap: 32px; align-items: stretch;
}
.hero-copy { grid-area: copy; align-self: start; }
/* teste A/B: só a Hero sorteada aparece; sem JS, fica a a2 */
.hero-var { display: none; }
html:not([data-hero]) .hero-var[data-v="a2"],
html[data-hero="a2"] .hero-var[data-v="a2"],
html[data-hero="a3"] .hero-var[data-v="a3"],
html[data-hero="b1"] .hero-var[data-v="b1"] { display: block; }
.hero-action { grid-area: action; align-self: start; }
.payoff { grid-area: chart; }
.hero-title {
  font-size: clamp(40px, 4.9vw, 70px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800;
}
.mark {
  background: linear-gradient(transparent 60%, var(--gold) 60%, var(--gold) 92%, transparent 92%);
  padding: 0 .04em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.hero-sub { margin-top: 28px; font-size: clamp(16px, 1.5vw, 20px); color: var(--muted); line-height: 1.55; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* ---------- PAYOFF ---------- */
.payoff {
  background: #fff; border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.payoff-bar {
  display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap;
  padding: 10px 18px; border-bottom: 1px solid var(--line);
}
.payoff-dots { display: flex; gap: 6px; }
.payoff-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-2); }
.strat-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: var(--soft); border: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.strat-tabs::-webkit-scrollbar { display: none; }
.strat-tab {
  flex: none; border: 0; background: transparent; cursor: pointer;
  padding: 7px 12px; border-radius: 9px; font-size: 13px; font-weight: 600; color: var(--muted);
  transition: background .25s, color .25s, box-shadow .25s;
}
.strat-tab:hover { color: var(--ink); }
.strat-tab.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.payoff-sub { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 18px; border-bottom: 1px solid var(--line); }
.payoff-sub strong { font-family: var(--mono); font-size: 13px; }
.payoff-asset { display: flex; align-items: baseline; gap: 10px; }
.payoff-asset strong { font-family: var(--mono); font-size: 14px; }
.payoff-asset span { font-size: 14px; color: var(--muted); }
.payoff-legs { display: flex; gap: 6px; flex-wrap: wrap; }
.leg { font-family: var(--mono); font-size: 12px; padding: 5px 10px; border-radius: 8px; white-space: nowrap; }
.leg b { font-weight: 600; }
.leg-buy { background: rgba(18, 183, 106, .1); color: #067647; }
.leg-sell { background: rgba(240, 68, 56, .09); color: #b42318; }

.payoff-body { display: grid; grid-template-columns: 1fr; }
.payoff-chart { position: relative; padding: 8px 8px 2px 8px; min-height: 230px; }
#chartSvg { width: 100%; height: 100%; min-height: 220px; display: block; touch-action: pan-y; cursor: crosshair; user-select: none; overflow: visible; }
#chartSvg.is-dragging { cursor: ew-resize; }
.grid-line { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
.grid-label { font-family: var(--mono); font-size: 11px; fill: var(--faint); }
.zero-line { stroke: #c9cbcf; stroke-width: 1; stroke-dasharray: 4 4; vector-effect: non-scaling-stroke; }
.curve-exp { fill: none; stroke: var(--ink); stroke-width: 2; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; opacity: .55; }
.curve-now { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.curve-now.draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.6s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.cursor line { stroke: var(--ink); stroke-width: 1; opacity: .25; vector-effect: non-scaling-stroke; }
.dot-now { fill: #fff; stroke: var(--blue); stroke-width: 3; vector-effect: non-scaling-stroke; }
.dot-exp { fill: var(--ink); opacity: .55; }
.mk-line { stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.mk-spot { stroke: var(--gold-ink); }
.mk-be { stroke: var(--violet, #7a5af8); }
.mk-label { font-family: var(--mono); font-size: 11px; }
.handle { cursor: ew-resize; }
.handle rect { fill: #fff; stroke: var(--line-2); vector-effect: non-scaling-stroke; transition: stroke .2s; }
.handle:hover rect, .handle.is-active rect { stroke: var(--ink); }
.handle text { font-family: var(--mono); font-size: 11px; font-weight: 600; fill: var(--ink); pointer-events: none; }
.handle line { stroke: var(--ink); opacity: .14; vector-effect: non-scaling-stroke; }

.tip {
  position: absolute; top: 0; left: 0; pointer-events: none;
  min-width: 184px; padding: 10px 12px; border-radius: 12px;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm); font-size: 13px;
  transform: translate(var(--tx, 0), var(--ty, 0));
  transition: opacity .2s;
}
.tip-price { color: var(--muted); margin-bottom: 6px; }
.tip-price b { color: var(--ink); font-family: var(--mono); }
.tip-row { display: flex; align-items: center; gap: 8px; }
.tip-row b { margin-left: auto; font-family: var(--mono); font-weight: 600; }
.sw { display: inline-block; width: 14px; height: 3px; border-radius: 2px; }
.sw-now { background: var(--blue); }
.sw-exp { background: repeating-linear-gradient(90deg, var(--ink) 0 4px, transparent 4px 7px); opacity: .55; }

.drag-hint {
  white-space: nowrap;
  position: absolute; right: 20px; bottom: 48px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px; background: var(--ink); color: #fff;
  font-size: 12px; font-weight: 500; pointer-events: none;
  transition: opacity .4s, transform .4s;
}
.drag-hint.is-hidden { opacity: 0; transform: translateY(6px); animation: none; }
.hint-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: blink 1.2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.ctrl { border-radius: 12px; transition: background .3s, box-shadow .3s; }
.ctrl.is-demo { background: var(--gold-soft); box-shadow: 0 0 0 8px var(--gold-soft); }
.demo-strikes .handle rect { stroke: var(--gold-ink); stroke-width: 1.5; }

.payoff-side { border-top: 1px solid var(--line); padding: 2px 18px 14px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 20px; }
.payoff-side .ctrl { grid-column: span 2; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.stat span { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.stat b { font-family: var(--mono); font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ctrl { margin-top: 12px; }
.ctrl label { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.ctrl output { font-family: var(--mono); color: var(--muted); }
.ctrl-scale { display: flex; justify-content: space-between; font-size: 11px; color: var(--faint); margin-top: 6px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--ink) var(--p, 0%), var(--line) var(--p, 0%)); cursor: pointer; margin: 0; }
input[type="range"].range-vol { background: linear-gradient(90deg, var(--red), #c4b5fd 50%, var(--green)); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); transition: transform .15s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }


/* ---------- CTA no fim das seções ---------- */
.sec-cta { margin-top: 48px; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.sec-cta .btn { height: 60px; padding: 0 34px; font-size: 17px; }
.sec-cta .btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.sec-cta .btn:hover svg { transform: translateX(4px); }
.sec-cta span { font-size: 14px; color: var(--muted); }

/* ---------- TOUR ANIMADO (mock do sistema, tema claro "papel e ouro") ---------- */
.section-tour { background: linear-gradient(180deg, #fff, var(--soft)); }
.section-tour .lead { font-size: 15px; }
.trt-browser {
  position: relative; border-radius: 22px; overflow: hidden;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg);
}
.trt-chrome { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid var(--line); background: #fbfbfa; }
.trt-url {
  flex: 1; max-width: 420px; margin: 0 auto; padding: 6px 14px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); text-align: center;
  font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.trt-url span { color: var(--ink); }

/* o app é desenhado em 1120x640 e reduzido pela escala --s */
.trt-viewport { position: relative; height: calc(640px * var(--s, 1)); overflow: hidden; }
.app {
  --p-bg: #faf8f3; --p-card: #fff; --p-panel: #f3efe6; --p-line: #e2dccd; --p-ink: #1c1a17;
  --p-mut: #6e675a; --p-gold: #876516; --p-gold-2: #b8892a; --p-gold-soft: #f6ebd0;
  --p-green: #15803d; --p-red: #b91c1c;
  position: absolute; top: 0; left: 0; width: 1120px; height: 640px;
  transform: scale(var(--s, 1)); transform-origin: 0 0;
  background: var(--p-bg); color: var(--p-ink); font-family: var(--font); font-size: 13px;
  user-select: none;
}
.app svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.app-nav {
  position: relative; z-index: 3; height: 60px; display: flex; align-items: center; gap: 28px; padding: 0 28px;
  background: rgba(250, 248, 243, .92); border-bottom: 1px solid rgba(184, 137, 42, .25);
}
.app-logo { display: flex; align-items: center; gap: 8px; }
.app-logo img { width: 32px; height: 32px; }
.app-logo span { font-weight: 900; font-size: 18px; letter-spacing: -.01em; background: linear-gradient(90deg, #876516, #6e5010); -webkit-background-clip: text; background-clip: text; color: transparent; }
.app-menu { display: flex; gap: 6px; }
.app-ico {
  display: flex; align-items: center; gap: 2px; padding: 10px; border: 0; border-radius: 9px;
  background: transparent; color: #58524a; cursor: default; transition: background .25s, color .25s, transform .25s;
}
.app-ico svg { width: 19px; height: 19px; }
.app-ico .chev { width: 11px; height: 11px; transition: transform .25s; }
.app-ico.is-hover { background: var(--p-panel); color: var(--p-gold); transform: scale(1.08); }
.app-ico.is-on { background: linear-gradient(90deg, #b8892a, #9a7418); color: var(--p-bg); }
.app-ico.is-open .chev { transform: rotate(180deg); }
.app-right { margin-left: auto; display: flex; align-items: center; gap: 14px; color: #58524a; }
.app-bell svg { width: 19px; height: 19px; }
.app-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--p-gold-soft); color: var(--p-gold); font-weight: 700; font-size: 11px; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--p-line); }

.app-tip, .app-drop { position: absolute; top: 54px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); }
.app-tip {
  padding: 5px 10px; border-radius: 8px; background: var(--p-card); border: 1px solid rgba(184, 137, 42, .3);
  color: var(--p-gold); font-size: 12px; font-weight: 600; white-space: nowrap; transform: translate(-50%, 4px); box-shadow: 0 6px 16px rgba(28, 26, 23, .08);
}
.app-tip.is-on { opacity: 1; transform: translate(-50%, 0); }
.app-drop {
  width: 236px; padding: 6px 0; border-radius: 10px; background: var(--p-card); border: 1px solid rgba(184, 137, 42, .25);
  box-shadow: 0 18px 40px rgba(28, 26, 23, .14); transform: translate(-50%, -6px);
}
.app-drop.is-on { opacity: 1; transform: translate(-50%, 0); }
.app-drop .dh { padding: 9px 16px 3px; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #877f6f; }
.app-drop .dh + .di { margin-top: 0; }
.app-drop .dh:not(:first-child) { margin-top: 4px; border-top: 1px solid var(--p-line); padding-top: 10px; }
.app-drop .di { padding: 8px 16px; font-size: 13px; color: #45403a; opacity: 0; transform: translateY(-4px); transition: opacity .25s, transform .25s, background .2s, color .2s; }
.app-drop.is-on .di { opacity: 1; transform: none; }
.app-drop .di.is-hover { background: var(--p-gold-soft); color: var(--p-gold); font-weight: 600; }

.app-main { position: relative; height: 580px; }
.pg {
  position: absolute; inset: 0; padding: 24px 28px; display: flex; flex-direction: column; gap: 14px;
  opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .55s var(--ease); pointer-events: none;
}
.pg.is-on { opacity: 1; transform: none; }
.pg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pg-head h3 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.pg-head h3 small { font-size: 13px; font-weight: 500; color: var(--p-mut); margin-left: 6px; }
.pg-head p { font-size: 12.5px; color: var(--p-mut); margin-top: 2px; }
.pg-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--p-card); border: 1px solid var(--p-line); font-size: 11.5px; font-weight: 600; color: #45403a; }
.pg-btn { padding: 8px 14px; border-radius: 9px; background: linear-gradient(90deg, #b8892a, #9a7418); color: #fff; font-size: 12px; font-weight: 700; }
.pg-price { font-family: var(--mono); font-size: 20px; font-weight: 600; }
.pg-price em { font-style: normal; font-size: 13px; margin-left: 6px; }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: var(--p-green); box-shadow: 0 0 0 3px rgba(21, 128, 61, .15); display: inline-block; }
.app .up { color: var(--p-green); }
.app .down { color: var(--p-red); }
.sec { font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--p-gold); }

.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.kpis-6 { grid-template-columns: repeat(6, 1fr); }
.kpi { background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px; padding: 14px 16px; display: grid; gap: 3px; }
.kpi span { font-size: 11px; color: var(--p-mut); }
.kpi b { font-size: 20px; font-weight: 700; letter-spacing: -.02em; font-family: var(--mono); }
.kpi em { font-style: normal; font-size: 11.5px; color: var(--p-mut); }
.kpi em.up { color: var(--p-green); } .kpi em.down { color: var(--p-red); }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: minmax(0, 1fr); gap: 12px; flex: 1; min-height: 0; }
.cols-2 { grid-template-columns: 1fr 1fr; }
.card { background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 9px; transition: box-shadow .3s, border-color .3s; }
.card.is-hover, .kpi.is-hover, .post-x.is-hover, .t.is-hover { border-color: var(--p-gold-2); box-shadow: 0 0 0 3px rgba(184, 137, 42, .15); }
.card h4 { font-size: 12.5px; font-weight: 700; color: #45403a; }
.row { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; }
.bar { position: relative; height: 22px; display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; font-weight: 600; font-size: 11.5px; }
.bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 5px; z-index: -1; transform-origin: left; }
.bar { isolation: isolate; }
.bar.up::before { background: rgba(21, 128, 61, .14); }
.bar.down::before { background: rgba(185, 28, 28, .12); }
.bar.gold { color: var(--p-gold); }
.bar.gold::before { background: rgba(184, 137, 42, .18); }
.pg.is-on .bar::before { animation: grow-x .8s var(--ease) both; }
@keyframes grow-x { from { transform: scaleX(0); } }
.thermo { display: flex; justify-content: space-between; align-items: flex-end; }
.thermo span { display: block; font-size: 11px; color: var(--p-mut); }
.thermo b { font-size: 26px; font-weight: 700; }
.thermo .r { text-align: right; }
.gbar { height: 7px; border-radius: 9px; background: var(--p-panel); overflow: hidden; }
.gbar i { display: block; height: 100%; background: linear-gradient(90deg, #b8892a, #e2b54a); border-radius: inherit; }
.app .hint { font-size: 11.5px; color: var(--p-gold); font-weight: 600; }

/* carteira */
.tabs-x { display: flex; gap: 4px; border-bottom: 1px solid var(--p-line); }
.tx { padding: 8px 14px; font-size: 12.5px; font-weight: 600; color: var(--p-mut); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .25s, border-color .25s; }
.tx.is-on { color: var(--p-gold); border-color: var(--p-gold-2); }
.tx.is-hover { color: var(--p-gold); }
.cols-wide { grid-template-columns: 1.55fr 1fr; }
.curve { width: 100%; flex: 1 1 0; min-height: 120px; }
.curve-line { fill: none; stroke: #9a7418; stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pg.is-on .curve-line { animation: draw-l 1.6s var(--ease) .2s forwards; }
.pg.is-on .curve-area { animation: fade-in 1s ease .6s both; }
@keyframes fade-in { from { opacity: 0; } }
.ir-x { display: grid; grid-template-columns: 1fr 1fr .9fr; padding: 6px 0; border-top: 1px solid var(--p-line); font-family: var(--mono); font-size: 12px; }
.ir-x span:not(:first-child) { text-align: right; }
.ir-x-h { border-top: 0; font-family: var(--font); font-size: 10.5px; font-weight: 700; color: var(--p-mut); text-transform: uppercase; letter-spacing: .05em; padding-top: 0; }
.ir-x-on { background: var(--p-gold-soft); margin: 0 -8px; padding: 6px 8px; border-radius: 6px; border-top-color: transparent; font-weight: 700; }
.card-ir { gap: 5px; }
.darf-btn { align-self: flex-start; margin-top: auto; transition: transform .2s, box-shadow .2s; }
.darf-btn.is-hover { transform: scale(1.05); box-shadow: 0 0 0 4px rgba(184, 137, 42, .2); }
.darf-modal {
  position: absolute; inset: 0; z-index: 5; display: grid; place-items: center;
  background: rgba(28, 26, 23, .28); opacity: 0; pointer-events: none; transition: opacity .25s;
}
.darf-modal.is-on { opacity: 1; }
.darf-box {
  width: 400px; padding: 22px; border-radius: 16px; background: var(--p-card); display: grid; gap: 16px;
  box-shadow: 0 24px 60px rgba(28, 26, 23, .25); transform: translateY(14px) scale(.96); transition: transform .35s var(--ease);
}
.darf-modal.is-on .darf-box { transform: none; }
.darf-top { display: flex; align-items: center; gap: 12px; }
.darf-top b { display: block; font-size: 16px; }
.darf-top span { font-size: 12px; color: var(--p-mut); }
.darf-ok { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #dcf3e4; color: var(--p-green); }
.darf-ok svg { width: 20px; height: 20px; stroke-width: 3; }
.darf-rows { display: grid; }
.darf-rows div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--p-line); font-size: 12.5px; }
.darf-rows span { color: var(--p-mut); }
.darf-rows b { font-family: var(--mono); }
.darf-total b { font-size: 16px; color: var(--p-gold); }
.darf-code { height: 38px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--p-ink) 0 2px, transparent 2px 4px, var(--p-ink) 4px 5px, transparent 5px 8px, var(--p-ink) 8px 11px, transparent 11px 13px); opacity: .85; }
.darf-acts { display: flex; justify-content: flex-end; align-items: center; gap: 14px; font-size: 12px; font-weight: 600; color: var(--p-mut); }
.darf-copy { transition: transform .2s, box-shadow .2s, background .3s; }
.darf-copy.is-hover { transform: scale(1.05); box-shadow: 0 0 0 4px rgba(184, 137, 42, .2); }
.darf-copy.is-done { background: var(--p-green); }

/* ranking de volatilidade */
.rk { gap: 0; }
.rk-row { display: grid; grid-template-columns: 1fr .8fr 2.2fr 1fr; align-items: center; gap: 14px; padding: 11px 4px; border-top: 1px solid var(--p-line); font-family: var(--mono); font-size: 12.5px; transition: background .25s; }
.rk-row.is-hover { background: var(--p-gold-soft); border-radius: 8px; }
.rk-h { border-top: 0; font-family: var(--font); font-size: 10.5px; font-weight: 700; color: var(--p-mut); text-transform: uppercase; letter-spacing: .05em; }
.lt { font-style: normal; font-family: var(--font); font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 6px; justify-self: start; background: var(--p-panel); color: #45403a; }
.lt-hi { background: #fbe4e4; color: var(--p-red); }
.lt-lo { background: #dcf3e4; color: var(--p-green); }

/* Tauro */
.tauro-fab {
  position: absolute; right: 22px; bottom: 20px; z-index: 6; width: 56px; height: 56px; padding: 0; border-radius: 50%;
  border: 2px solid #e2b54a; background: #1c1a17; cursor: default; box-shadow: 0 10px 24px rgba(28, 26, 23, .25);
  transition: transform .25s var(--ease);
}
.tauro-fab img { width: 100%; height: 100%; border-radius: 50%; transform: scaleX(-1); }
.tauro-fab.is-hover { transform: scale(1.1); }
.tauro-panel {
  position: absolute; right: 22px; bottom: 88px; z-index: 7; width: 360px; height: 470px;
  display: flex; flex-direction: column; border-radius: 16px; overflow: hidden;
  background: var(--p-card); border: 1px solid rgba(184, 137, 42, .3); box-shadow: 0 24px 60px rgba(28, 26, 23, .22);
  opacity: 0; transform: translateY(16px) scale(.97); transform-origin: bottom right; pointer-events: none;
  transition: opacity .3s, transform .4s var(--ease);
}
.tauro-panel.is-on { opacity: 1; transform: none; }
.tauro-head { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--p-line); background: var(--p-bg); }
.tauro-head img { width: 40px; height: 40px; border-radius: 50%; transform: scaleX(-1); }
.tauro-head b { display: block; font-size: 14px; }
.tauro-head span { font-size: 11px; color: var(--p-gold); }
.tauro-body { flex: 1; min-height: 0; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.msg { max-width: 86%; padding: 9px 12px; border-radius: 14px; font-size: 12.5px; line-height: 1.5; animation: msg-in .35s var(--ease) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } }
.msg-me { align-self: flex-end; background: linear-gradient(90deg, #b8892a, #9a7418); color: #fff; border-bottom-right-radius: 4px; }
.msg-bot { align-self: flex-start; background: var(--p-panel); color: var(--p-ink); border-bottom-left-radius: 4px; }
.msg-bot b { color: var(--p-gold); }
.msg-link { display: inline-flex; margin-top: 8px; padding: 6px 10px; border-radius: 8px; background: var(--p-card); border: 1px solid rgba(184, 137, 42, .45); color: var(--p-gold); font-weight: 700; font-size: 12px; transition: background .2s, transform .2s; }
.msg-link.is-hover { background: var(--p-gold-soft); transform: scale(1.04); }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9a8f7a; animation: dots 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { opacity: .25; transform: translateY(-2px); } }
.tauro-input { display: flex; align-items: center; gap: 8px; margin: 0 12px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--p-line); font-size: 12.5px; min-height: 40px; }
.tauro-input span { flex: 1; color: var(--p-ink); }
.tauro-input span:empty::before { content: attr(data-ph); color: #9a8f7a; }
.tauro-input span.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 14px; margin-left: 1px; vertical-align: -2px; background: var(--p-ink); animation: blink 1s infinite; }
.tauro-send { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: linear-gradient(90deg, #b8892a, #9a7418); color: #fff; font-style: normal; }
.tauro-send svg { width: 14px; height: 14px; }
.tauro-foot { padding: 8px 14px 12px; font-size: 10px; color: var(--p-mut); text-align: center; }

/* open interest */
.oi { flex: 1; display: flex; align-items: flex-end; gap: 8px; min-height: 120px; padding-top: 6px; }
.oi i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: rgba(184, 137, 42, .3); transform-origin: bottom; }
.oi i.pk { background: linear-gradient(180deg, #b8892a, #9a7418); }
.pg.is-on .oi i { animation: grow-y .8s var(--ease) both; }
@keyframes grow-y { from { transform: scaleY(0); } }
.oi-x { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--p-mut); }

/* lucro x cotação */
.lxc { width: 100%; height: auto; display: block; }
.lxc-base { stroke: var(--p-line); stroke-width: 1; }
.lxc-bars rect { fill: rgba(184, 137, 42, .3); stroke: none; transform-origin: bottom; transform-box: fill-box; }
.pg.is-on .lxc-bars rect { animation: grow-y .7s var(--ease) both; }
.lxc-line { fill: none; stroke: var(--p-ink); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pg.is-on .lxc-line { animation: draw-l 1.2s var(--ease) .3s forwards; }
.app .lxc-x text { fill: var(--p-mut); stroke: none; font-family: var(--mono); font-size: 11px; text-anchor: middle; }
.lxc-leg { display: flex; gap: 18px; font-size: 11.5px; color: var(--p-mut); }
.lxc-leg span { display: inline-flex; align-items: center; gap: 6px; }
.lg-bar { width: 10px; height: 10px; border-radius: 2px; background: rgba(184, 137, 42, .45); }
.lg-line { width: 16px; height: 2.5px; border-radius: 2px; background: var(--p-ink); }
@keyframes draw-l { to { stroke-dashoffset: 0; } }

/* fórum */
.posts { display: grid; gap: 12px; }
.post-x { display: grid; grid-template-columns: 40px 1fr; gap: 14px; background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px; padding: 16px; transition: box-shadow .3s, border-color .3s; }
.pg.is-on .post-new { animation: slide-in .7s var(--ease) .2s both; }
@keyframes slide-in { from { opacity: 0; transform: translateY(-16px); } }
.av-x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 12px; color: #fff; }
.av-x.a1 { background: linear-gradient(135deg, #b8892a, #876516); }
.av-x.a2 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.post-c b { font-size: 13px; }
.post-c small { font-weight: 400; color: var(--p-mut); }
.post-c p { margin-top: 4px; font-size: 13px; line-height: 1.5; color: #45403a; }
.op { margin-top: 10px; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--p-bg); border: 1px dashed rgba(184, 137, 42, .45); font-size: 12px; }
.op svg { width: 120px; height: 40px; margin-left: auto; stroke: var(--p-green); stroke-width: 2.5; }
.op { transition: border-color .25s, box-shadow .25s, background .25s; }
.op.is-hover { border-style: solid; border-color: var(--p-gold-2); background: var(--p-gold-soft); box-shadow: 0 0 0 3px rgba(184, 137, 42, .15); }
.tag-x { padding: 3px 8px; border-radius: 6px; background: var(--p-gold-soft); color: var(--p-gold); font-size: 10.5px; font-weight: 700; }
.acts { margin-top: 10px; display: flex; gap: 18px; font-size: 12px; color: var(--p-mut); }

/* simulador */
.card-sim { padding-bottom: 10px; }
.sim-svg { width: 100%; flex: 1 1 0; min-height: 0; display: block; }
.sim-win { fill: rgba(21, 128, 61, .12); stroke: none; }
.sim-loss { fill: rgba(185, 28, 28, .1); stroke: none; }
.app .sim-zero { stroke: var(--p-line); stroke-width: 1.5; }
.sim-line { fill: none; stroke: var(--p-ink); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pg.is-on .sim-line { animation: draw-l 1.1s var(--ease) .25s forwards; }
.pg.is-on .sim-win, .pg.is-on .sim-loss { animation: fade-in .6s ease .9s both; }
.app .sim-spot { stroke: var(--p-gold-2); stroke-width: 1.5; stroke-dasharray: 5 5; }
.app .sim-dot { fill: var(--p-gold-2); stroke: #fff; stroke-width: 2.5; }
.pg.is-on .sim-dot { animation: fade-in .4s ease 1.2s both; }
.app .sim-x text { fill: var(--p-mut); stroke: none; font-family: var(--mono); font-size: 11px; text-anchor: middle; }
.sim-legs { gap: 0; }
.sim-legs h4 { margin-bottom: 6px; }
.sim-leg { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--p-line); font-size: 12.5px; }
.sim-leg b { font-family: var(--mono); }
.sim-leg span { font-family: var(--mono); color: var(--p-mut); font-size: 12px; }
.sim-leg-tot { grid-template-columns: 1fr auto; }
.sim-leg-tot span { font-family: var(--font); }
.sim-btn { align-self: flex-start; margin-top: auto; }

/* aprenda */
.learn { flex: 1; display: grid; grid-template-columns: 1.7fr 1fr; gap: 14px; min-height: 0; }
.player { position: relative; border-radius: 14px; overflow: hidden; background: radial-gradient(80% 90% at 30% 30%, #3a3020, #14110c); display: grid; place-items: center; }
.player > * { grid-area: 1 / 1; }
.lesson-cover { display: grid; place-items: center; gap: 14px; transition: opacity .3s; }
.lesson-mod { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #e2b54a; }
.play { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(4px); transition: transform .3s, background .3s; }
.play svg { width: 28px; height: 28px; fill: #fff; stroke: none; margin-left: 4px; }
.lesson-load { display: grid; justify-items: center; gap: 6px; color: #fff; opacity: 0; transition: opacity .3s; }
.lesson-load b { margin-top: 8px; font-size: 15px; }
.lesson-load span { font-size: 12px; opacity: .7; }
.spin { width: 40px; height: 40px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .18); border-top-color: #e2b54a; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.lesson-on { display: grid; justify-items: center; gap: 10px; color: #fff; opacity: 0; transition: opacity .4s; }
.eq { display: flex; align-items: flex-end; gap: 5px; height: 34px; }
.eq i { width: 6px; height: 30%; border-radius: 3px; background: #e2b54a; }
.lesson-time { font-family: var(--mono); font-size: 12px; opacity: .75; }
.player-cap { position: absolute; left: 16px; bottom: 26px; display: grid; gap: 2px; color: #fff; }
.player-cap b { font-size: 16px; }
.player-cap span { font-size: 12px; opacity: .7; }
.player-bar { position: absolute; left: 16px; right: 16px; bottom: 12px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.player-bar i { display: block; height: 100%; width: 0; background: #e2b54a; }
.player.is-hover .play { transform: scale(1.1); background: #b8892a; }
.player.is-loading .lesson-cover { opacity: 0; }
.player.is-loading .lesson-load { opacity: 1; }
.player.is-playing .lesson-cover, .player.is-playing .lesson-load { opacity: 0; }
.player.is-playing .lesson-on { opacity: 1; }
.player.is-playing .eq i { animation: eq .9s ease-in-out infinite alternate; }
.player.is-playing .eq i:nth-child(2) { animation-delay: -.3s; }
.player.is-playing .eq i:nth-child(3) { animation-delay: -.6s; }
.player.is-playing .eq i:nth-child(4) { animation-delay: -.45s; }
@keyframes eq { to { height: 100%; } }
.player.is-playing .player-bar i { animation: prog 40s linear forwards; }
@keyframes prog { to { width: 100%; } }
.lessons { gap: 0; }
.lessons h4 { display: flex; justify-content: space-between; align-items: baseline; }
.lessons h4 small { font-weight: 500; font-size: 11px; color: var(--p-mut); }
.lessons .gbar { margin: 8px 0 6px; }
.ls { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; padding: 9px 6px; border-top: 1px solid var(--p-line); font-size: 12.5px; transition: background .25s; }
.ls i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 700; background: var(--p-panel); color: var(--p-mut); }
.ls em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--p-mut); }
.ls-done i { background: #dcf3e4; color: var(--p-green); }
.ls-done span { color: var(--p-mut); }
.ls-next { font-weight: 700; }
.ls-next i { background: var(--p-gold-2); color: #fff; }
.ls.is-hover, .ls.is-playing { background: var(--p-gold-soft); border-radius: 8px; border-top-color: transparent; }

/* cursor */
.app-cursor {
  position: absolute; top: 0; left: 0; z-index: 9; width: 24px; height: 24px; pointer-events: none;
  transform: translate(var(--cx, 560px), var(--cy, 380px));
  transition: transform .7s cubic-bezier(.65, 0, .35, 1);
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .25));
}
.app-cursor svg { width: 24px; height: 24px; fill: #111; stroke: #fff; stroke-width: 1.4; }
.app-cursor .ripple { position: absolute; left: -14px; top: -14px; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #b8892a; opacity: 0; }
.app-cursor.is-click .ripple { animation: ripple .55s ease-out; }
.app-cursor.is-click svg { transform: scale(.86); transition: transform .12s; }
@keyframes ripple { from { opacity: .9; transform: scale(.3); } to { opacity: 0; transform: scale(1.6); } }

/* capa e etapas */
.trt-start {
  position: absolute; inset: 49px 0 0 0; z-index: 10; border: 0; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(255, 255, 255, .55); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  font-size: 17px; font-weight: 700; color: var(--ink); transition: opacity .4s, visibility .4s;
}
.trt-play { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); box-shadow: 0 0 0 10px rgba(11, 11, 13, .08); transition: transform .3s var(--ease); }
.trt-start:hover .trt-play { transform: scale(1.08); }
.trt-play svg { width: 30px; height: 30px; fill: var(--gold); margin-left: 4px; }
.trt.is-playing .trt-start { opacity: 0; visibility: hidden; }

.trt-steps { margin-top: 18px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.trt-step {
  position: relative; overflow: hidden; text-align: left; cursor: pointer;
  padding: 14px 16px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  display: grid; gap: 3px; transition: border-color .25s, box-shadow .25s;
}
.trt-step b { font-size: 14px; }
.trt-step span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.trt-step i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--gold); }
.trt-step.is-on { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.trt-step.is-on i { width: var(--prog, 0%); }
.trt-step.is-done i { width: 100%; background: var(--line-2); }
.trt-note { margin-top: 14px; text-align: center; font-size: 12.5px; color: var(--muted); }

@media (max-width: 900px) {
  .trt-steps { grid-template-columns: repeat(6, minmax(150px, 1fr)); overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .trt-steps::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
  .trt-browser { border-radius: 16px; }
  .trt-chrome { padding: 10px 12px; }
  .trt-chrome .payoff-dots { display: none; }
  .trt-start { inset: 41px 0 0 0; font-size: 15px; }
  .trt-play { width: 60px; height: 60px; }
}

/* ---------- TOUR (Visão simples) ---------- */
.tour-tabs {
  position: relative;
  display: flex; gap: 6px; justify-content: center; flex-wrap: wrap;
  margin-bottom: 28px;
}
.tour-tab {
  position: relative; overflow: hidden;
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2);
  background: #fff; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s, border-color .2s, background .2s;
}
.tour-tab:hover { color: var(--ink); }
.tour-tab span { position: relative; z-index: 1; }
.tour-tab i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--gold); }
.tour-tab.is-active { color: var(--ink); border-color: var(--ink); }
.tour-tab.is-active i { animation: fill var(--dur, 6s) linear forwards; }
.tour.is-paused .tour-tab.is-active i { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }

.tour-stage {
  position: relative; display: grid;
  background: var(--soft); border: 1px solid var(--line); border-radius: 28px;
  overflow: hidden; touch-action: pan-y;
}
.slide {
  grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center;
  padding: 56px;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(.99);
  transition: opacity .5s var(--ease), transform .6s var(--ease), visibility .5s;
}
.slide.is-active { opacity: 1; visibility: visible; transform: none; }
.slide-copy h3 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; letter-spacing: -.03em; font-weight: 700; }
.slide-copy p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.checks li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; }
.checks li::before {
  content: ""; width: 20px; height: 20px; flex: none; border-radius: 50%;
  background: var(--gold-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a6d00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* mocks */
.mock {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  box-shadow: var(--shadow-lg); font-size: 13px;
}
.mock-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.mock-head b { font-family: var(--mono); font-size: 15px; }
.mock-head span { color: var(--muted); font-size: 12px; }

.mock-grid table { width: 100%; border-collapse: collapse; font-family: var(--mono); font-size: 12.5px; font-variant-numeric: tabular-nums; }
.mock-grid th { font-family: var(--font); font-weight: 500; font-size: 11px; color: var(--faint); text-align: center; padding: 0 0 8px; text-transform: uppercase; letter-spacing: .04em; }
.mock-grid td { text-align: center; padding: 8px 0; border-top: 1px solid var(--line); }
.mock-grid .k { font-weight: 600; background: var(--soft); }
.mock-grid tr.atm td { background: var(--gold-soft); font-weight: 600; }

.iv-top { display: flex; justify-content: space-between; align-items: flex-end; }
.iv-top span { display: block; font-size: 12px; color: var(--muted); }
.iv-top b { font-size: 34px; letter-spacing: -.03em; font-weight: 700; }
.iv-rank { text-align: right; }
.iv-rank b { font-size: 34px; }
.iv-bar { margin-top: 14px; height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.iv-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), #ffdb4d); }
.iv-hint { margin-top: 8px; font-size: 12px; color: var(--gold-ink); font-weight: 500; }
.iv-list { margin-top: 18px; display: grid; }
.iv-list div { display: grid; grid-template-columns: 1fr auto 44px; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-family: var(--mono); }
.iv-list span { color: var(--muted); }
.iv-list em { font-style: normal; text-align: right; font-weight: 600; color: var(--gold-ink); }

.mock-comm { display: grid; gap: 8px; }
.seg { display: inline-flex; justify-self: start; padding: 3px; margin-bottom: 6px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.seg span { padding: 5px 12px; border-radius: 7px; color: var(--muted); }
.seg .on { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.post { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; }
.av-1 { background: linear-gradient(135deg, #f5c400, #d49b00); color: var(--ink); }
.av-2 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.av-3 { background: linear-gradient(135deg, #8b5cf6, #6941c6); }
.post-body { display: grid; gap: 4px; min-width: 0; }
.post-body b { font-size: 13px; font-weight: 600; }
.post-body small { font-weight: 400; color: var(--muted); font-size: 12px; }
.post-body span { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12.5px; font-weight: 600; }
.post-body .tag { font-family: var(--font); font-style: normal; }
.mini-btn { font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--ink); color: #fff; }
.tag { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 7px; justify-self: start; }
.t-gold { background: var(--gold-soft); color: var(--gold-ink); }
.t-blue { background: #eff4ff; color: #1d4ed8; }
.t-violet { background: #f4f0ff; color: #6941c6; }
.t-green { background: #ecfdf3; color: #067647; }
.pos-foot { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--muted); }

.m-row { display: flex; justify-content: space-between; align-items: baseline; }
.m-row span { color: var(--muted); }
.m-row b { font-size: 28px; letter-spacing: -.03em; }
.m-bar { margin-top: 16px; display: flex; height: 14px; border-radius: 99px; background: var(--line); overflow: hidden; }
.m-bar i { display: block; height: 100%; }
i.m-used { background: var(--ink); }
i.m-sim { background: repeating-linear-gradient(45deg, var(--gold) 0 6px, #ffdb4d 6px 12px); }
.m-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; color: var(--muted); font-size: 12px; }
.m-legend span { display: inline-flex; align-items: center; gap: 7px; }
.m-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.m-ok { margin-top: 20px; padding: 10px 12px; border-radius: 10px; background: #ecfdf3; color: #067647; font-weight: 600; font-size: 13px; }

.ir-row { display: grid; grid-template-columns: 1.3fr 1fr .8fr; padding: 11px 0; border-top: 1px solid var(--line); font-family: var(--mono); font-variant-numeric: tabular-nums; }
.ir-row span:not(:first-child) { text-align: right; }
.ir-h { border-top: 0; font-family: var(--font); font-size: 11px; color: var(--faint); text-transform: uppercase; letter-spacing: .04em; padding-top: 0; }
.ir-t { font-family: var(--font); font-weight: 600; }

.bars { display: flex; align-items: flex-end; gap: 10px; height: 200px; padding-top: 10px; }
.bars i { flex: 1; height: var(--h); position: relative; border-radius: 8px 8px 4px 4px; background: linear-gradient(180deg, var(--ink), #3a3b42); transform-origin: bottom; }
.slide.is-active .bars i { animation: grow .8s var(--ease) both; }
.bars i:nth-child(3) { background: linear-gradient(180deg, var(--gold), #ffdb4d); }
.bars i:nth-child(2) { animation-delay: .05s; } .bars i:nth-child(3) { animation-delay: .1s; } .bars i:nth-child(4) { animation-delay: .15s; }
.bars i:nth-child(5) { animation-delay: .2s; } .bars i:nth-child(6) { animation-delay: .25s; } .bars i:nth-child(7) { animation-delay: .3s; }
.bars em { position: absolute; bottom: -22px; left: 0; right: 0; text-align: center; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.mock-fund { padding-bottom: 36px; }
@keyframes grow { from { transform: scaleY(0); } }

/* ---------- BENEFÍCIOS (bento) ---------- */
.ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--gold-soft); }
.ico svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.b3-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px;
  padding: 7px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 600;
}
.b3-badge svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.marquee { margin-top: 96px; overflow: hidden; border-block: 1px solid var(--line); padding: 20px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 40s linear infinite; }
.marquee-track span { font-size: 15px; font-weight: 500; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
@keyframes scroll { to { transform: translateX(-50%); } }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.bx {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px;
  padding: 26px; border-radius: 22px; background: #fff; border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.bx:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.bx h3 { font-size: 18px; line-height: 1.3; letter-spacing: -.02em; font-weight: 700; }
.bx p { color: var(--muted); font-size: 15px; line-height: 1.5; }
.bx .big { font-size: clamp(38px, 4vw, 52px); line-height: 1; letter-spacing: -.045em; font-weight: 800; font-variant-numeric: tabular-nums; }
.bx-note { margin-top: auto; font-size: 11px; color: var(--faint); }

/* Parceiro B3 */
.bx-b3 { grid-column: span 2; grid-row: span 2; background: var(--ink); border-color: var(--ink); color: #fff; padding: 30px; }
.bx-b3 h3 { font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.035em; line-height: 1.1; }
.bx-b3 p { color: rgba(255, 255, 255, .66); max-width: 460px; }
.bx-b3 .b3-badge { margin: 0; background: var(--gold); color: var(--ink); }
.bx-b3 .b3-badge svg { stroke: var(--ink); }
.bx-b3 .bx-note { color: rgba(255, 255, 255, .35); }
.bx-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(18, 183, 106, .25); animation: blink 1.4s infinite; }
.feed { margin-top: 14px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; overflow: hidden; font-family: var(--mono); font-size: 13px; }
.feed-h, .feed-r { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr; gap: 8px; padding: 10px 14px; }
.feed-h { font-family: var(--font); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .04); }
.feed-r { border-top: 1px solid rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .85); }
.feed-r b { color: #fff; font-weight: 600; }
.feed-r span { border-radius: 5px; padding: 0 4px; margin: 0 -4px; transition: background 1.2s, color 1.2s; }
.feed-r span.flash-up { background: rgba(18, 183, 106, .28); color: #6ee7a8; transition: none; }
.feed-r span.flash-down { background: rgba(240, 68, 56, .28); color: #fca5a5; transition: none; }

/* contadores */
.bx-num, .bx-strat, .bx-hist { justify-content: flex-start; }
.dots-grid { margin-top: auto; height: 46px; background-image: radial-gradient(var(--gold) 1.6px, transparent 1.7px); background-size: 12px 12px; opacity: .45; -webkit-mask-image: linear-gradient(90deg, #000, transparent); mask-image: linear-gradient(90deg, #000, transparent); animation: dots-move 8s linear infinite; }
@keyframes dots-move { to { background-position: 120px 0; } }
.rotator { margin-top: auto; height: 34px; overflow: hidden; }
.rot-word { display: inline-flex; padding: 6px 12px; border-radius: 9px; background: var(--gold-soft); color: var(--gold-ink); font-size: 14px; font-weight: 700; animation: rot-in .5s var(--ease) both; }
@keyframes rot-in { from { opacity: 0; transform: translateY(14px); } }
.spark { margin-top: auto; width: 100%; height: 54px; }
.spark path { fill: none; stroke: var(--gold-ink); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.bx-hist.is-in .spark path { animation: draw 1.8s var(--ease) .4s forwards; }

/* estabilidade */
.pulse-bars { margin-top: auto; display: flex; align-items: flex-end; gap: 4px; height: 34px; }
.pulse-bars i { flex: 1; border-radius: 3px; background: var(--green); opacity: .75; height: 60%; animation: pulse-h 1.6s ease-in-out infinite; }
.pulse-bars i:nth-child(2n) { animation-delay: -.4s; } .pulse-bars i:nth-child(3n) { animation-delay: -.8s; } .pulse-bars i:nth-child(5n) { animation-delay: -1.1s; }
@keyframes pulse-h { 50% { height: 100%; } }

/* tudo conectado */
.bx-flow { grid-column: span 2; }
.flow { position: relative; margin-top: auto; display: flex; justify-content: space-between; gap: 6px; padding-top: 18px; }
.flow::before { content: ""; position: absolute; left: 6%; right: 6%; top: 4px; height: 2px; background: var(--line-2); }
.flow span { position: relative; padding: 8px 12px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; font-weight: 600; transition: background .3s, border-color .3s, color .3s; }
.flow span.is-on { background: var(--gold-soft); border-color: #e9d77a; color: var(--gold-ink); }
.flow-dot { position: absolute; top: -1px; left: 6%; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 5px rgba(245, 196, 0, .25); animation: flow-run 5s var(--ease) infinite; }
@keyframes flow-run { 0% { left: 6%; } 100% { left: calc(94% - 12px); } }

/* seu jeito */
.mode-sw { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border-radius: 10px; background: var(--soft); border: 1px solid var(--line); font-size: 13px; font-weight: 700; }
.mode-sw span { position: relative; z-index: 1; padding: 6px 12px; text-align: center; color: var(--muted); transition: color .3s; }
.mode-sw span.on { color: var(--ink); }
.mode-sw i { position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 8px; background: #fff; box-shadow: var(--shadow-sm); transition: transform .45s var(--ease); }
.mode-sw.is-b i { transform: translateX(100%); }
.mode-t { margin-top: 12px; font-size: 14px !important; transition: opacity .3s; }

/* qualquer corretora */
.broker { display: flex; flex-direction: column; align-items: flex-start; gap: 0; margin: 4px 0; font-size: 13px; font-weight: 700; }
.broker span { padding: 7px 11px; border-radius: 9px; background: var(--soft); border: 1px solid var(--line); white-space: nowrap; }
.broker span:last-child { background: var(--ink); color: #fff; border-color: var(--ink); }
.broker i { position: relative; width: 2px; height: 18px; margin-left: 22px; background: var(--line-2); overflow: hidden; }
.broker i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--gold); animation: slide-y 1.4s ease-in-out infinite; }
@keyframes slide-y { to { top: 100%; } }

/* ---------- DISPOSITIVOS ---------- */
.devices-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.app-icon { width: 96px; height: 96px; margin: 0 auto 24px; filter: drop-shadow(0 14px 24px rgba(16, 17, 20, .18)); }
.devices-head .lead { max-width: 540px; margin-left: auto; margin-right: auto; }
.devices-stage { position: relative; isolation: isolate; max-width: 1100px; margin: 0 auto; }
.devices-stage::before {
  content: ""; position: absolute; inset: 10% 5% 0; z-index: -1;
  background: radial-gradient(50% 50% at 50% 60%, rgba(245, 196, 0, .18), transparent 70%);
}
.devices-stage img { width: 100%; height: auto; filter: drop-shadow(0 40px 50px rgba(16, 17, 20, .18)); }
.os-pill {
  list-style: none; margin: 28px auto 0; padding: 6px; display: inline-flex; align-items: center; gap: 4px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.os-pill li {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink);
}
.os-pill li + li { position: relative; }
.os-pill li + li::before { content: ""; position: absolute; left: -3px; top: 28%; height: 44%; width: 1px; background: var(--line-2); }
.os-pill svg { width: 18px; height: 18px; fill: currentColor; }
.os-pill .os-line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* desktop: texto à esquerda, aparelhos à direita */
@media (min-width: 901px) {
  .devices { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
  .devices-head { text-align: left; margin: 0; }
  .devices-head .app-icon { margin-left: 0; }
  .devices-head .lead { margin-left: 0; }
  .devices-head .os-pill { margin-left: 0; }
}

/* ---------- PROVA SOCIAL ---------- */
.section-proof {
  background:
    radial-gradient(40% 30% at 15% 20%, rgba(245, 196, 0, .10), transparent 70%),
    radial-gradient(35% 30% at 85% 75%, rgba(37, 99, 235, .05), transparent 70%);
}
.wall { columns: 3 320px; column-gap: 28px; }
.shot {
  break-inside: avoid; margin: 0 0 28px; padding: 10px 10px 18px;
  background: #fff; border: 1px solid var(--line); border-radius: 22px;
  box-shadow: var(--shadow-lg);
  transform: rotate(var(--tilt, 0deg));
  transition: transform .5s var(--ease), box-shadow .5s;
}
.shot:nth-child(3n + 1) { --tilt: -1.2deg; }
.shot:nth-child(3n + 2) { --tilt: .9deg; }
.shot:nth-child(3n) { --tilt: -.6deg; }
.shot.reveal.is-in { transform: rotate(var(--tilt, 0deg)); }
.shot:hover, .shot.reveal.is-in:hover { transform: rotate(0deg) translateY(-6px) scale(1.015); box-shadow: 0 2px 4px rgba(16, 17, 20, .05), 0 30px 60px -20px rgba(16, 17, 20, .28); }
.shot-frame { border-radius: 14px; overflow: hidden; background: #0b141a; }
.shot-frame img { width: 100%; height: auto; }
.shot figcaption { padding: 16px 8px 0; display: grid; gap: 4px; }
.shot figcaption b { font-size: 17px; line-height: 1.35; letter-spacing: -.015em; font-weight: 700; }
.shot figcaption span { font-size: 13px; color: var(--muted); }
.shot-feat { padding: 12px 12px 22px; background: var(--ink); border-color: var(--ink); }
.shot-feat figcaption b { color: #fff; font-size: 21px; }
.shot-feat figcaption b::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--gold); margin-bottom: 12px; }
.shot-feat figcaption span { color: rgba(255, 255, 255, .6); }
.proofs-note { margin-top: 20px; text-align: center; font-size: 13px; color: var(--muted); }

/* ---------- PLANOS ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; max-width: 1080px; margin: 0 auto; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 28px 24px;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.plan-hot { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan-badge {
  /* selo sobre a borda de cima do card, centralizado */
  position: absolute; top: 0; left: 50%; transform: translate(-50%, -50%);
  padding: 5px 12px; border-radius: 999px; background: var(--gold); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
}
.plan-badge-soft { background: var(--gold-soft); color: var(--gold-ink); }
.plan-name { font-size: 14px; font-weight: 600; color: var(--muted); }
.plan-hot .plan-name { color: rgba(255, 255, 255, .6); }
.plan-price { margin-top: 18px; font-size: 44px; font-weight: 700; letter-spacing: -.045em; line-height: 1; font-variant-numeric: tabular-nums; }
.plan-price small { font-size: 16px; font-weight: 500; letter-spacing: 0; margin-left: 8px; color: var(--muted); }
.plan-price small.plan-x { margin: 0 6px 0 0; vertical-align: 14px; }
.plan-hot .plan-price small { color: rgba(255, 255, 255, .6); }
.plan-cash { margin-top: 8px; font-size: 14px; color: var(--muted); }
.plan-hot .plan-cash { color: rgba(255, 255, 255, .6); }
.plan-pitch { margin: 18px 0 22px; font-size: 15px; line-height: 1.45; min-height: 44px; }
.plan-list { list-style: none; padding: 22px 0 0; margin: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 14px; }
.plan-hot .plan-list { border-top-color: rgba(255, 255, 255, .12); }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list li::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 3px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312b76a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / contain no-repeat; }
.plan-hot .plan-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f5c400' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E"); }
.plan-list li.plan-no { color: var(--muted); text-decoration: line-through; text-decoration-color: rgba(127, 127, 127, .5); }
.plan-hot .plan-list li.plan-no { color: rgba(255, 255, 255, .45); }
.plan-list li.plan-no::before,
.plan-hot .plan-list li.plan-no::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa0a6' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.plan-note { margin: auto 0 0; padding-top: 20px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.plan-hot .plan-note { color: rgba(255, 255, 255, .6); }

.plans-foot { margin-top: 36px; display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.plans-foot span { display: inline-flex; align-items: center; gap: 8px; }
.plans-foot span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

/* ---------- JÁ SOU ALUNO ---------- */
.member-section { padding: 96px 0 0; }
.member {
  display: flex; align-items: center; gap: 28px;
  padding: 32px 36px; border-radius: 28px;
  background: linear-gradient(100deg, var(--gold-soft), #fff 70%);
  border: 1px solid #f0e3a6;
}
.member-icon { width: 64px; height: 64px; flex: none; }
.member-copy { flex: 1; }
.member-copy h2 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -.03em; line-height: 1.15; font-weight: 700; }
.member-copy p { margin-top: 6px; color: var(--muted); font-size: 16px; }
.member-actions { display: flex; gap: 10px; flex: none; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 24px 40px 24px 0; position: relative;
  font-size: 18px; font-weight: 600; letter-spacing: -.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; color: var(--muted); font-size: 16px; }
.faq details p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA FINAL ---------- */
.final { padding: 0 0 128px; }
.final-box {
  position: relative; overflow: hidden; text-align: center;
  background: var(--ink); color: #fff; border-radius: 32px; padding: 96px 24px;
}
.final-box::before {
  content: ""; position: absolute; inset: auto -20% -60% -20%; height: 120%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(245, 196, 0, .28), transparent 70%);
  pointer-events: none;
}
.final-box h2 { position: relative; font-size: clamp(44px, 8vw, 96px); letter-spacing: -.055em; line-height: .95; font-weight: 800; }
.final-box p { position: relative; margin-top: 18px; font-size: 19px; color: rgba(255, 255, 255, .65); }
.final-box .hero-ctas { position: relative; justify-content: center; margin-top: 36px; }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; color: var(--faint); display: grid; gap: 8px; }
.footer-risk { max-width: 860px; line-height: 1.6; }

/* ---------- PÁGINAS LEGAIS (termos, privacidade, aviso de risco) ---------- */
.legal { padding: 56px 0 96px; background: linear-gradient(180deg, var(--soft), #fff 320px); }
.legal-wrap { max-width: 780px; }
.legal-back { display: inline-block; margin-bottom: 32px; font-size: 14px; color: var(--muted); }
.legal-back:hover { color: var(--ink); }
.legal-title { margin-top: 12px; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; letter-spacing: -.035em; font-weight: 800; }
.legal-updated { margin-top: 14px; font-size: 14px; color: var(--muted); }
.legal-docs { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.legal-docs a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; font-size: 13.5px; font-weight: 500; color: var(--muted); transition: color .2s, border-color .2s; }
.legal-docs a:hover { color: var(--ink); border-color: var(--ink); }
.legal-docs a.is-on { color: var(--ink); border-color: var(--ink); font-weight: 600; }
.legal-content { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); font-size: 16.5px; line-height: 1.75; color: var(--ink-2); }
.legal-content p + p, .legal-content ul + p, .legal-content p + ul { margin-top: 16px; }
.legal-content h2 { margin: 44px 0 14px; font-size: clamp(20px, 2.4vw, 24px); line-height: 1.25; letter-spacing: -.02em; font-weight: 700; color: var(--ink); }
.legal-content ul { margin: 12px 0 0; padding-left: 22px; display: grid; gap: 6px; }
.legal-content li::marker { color: var(--gold-ink, #8a6d00); }
.legal-content strong { color: var(--ink); font-weight: 600; }
.legal-content a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 640px) {
  .legal { padding: 36px 0 72px; }
  .legal-content { font-size: 16px; }
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }

/* ---------- Responsivo ---------- */
@media (max-width: 1080px) {
  .member { flex-wrap: wrap; }
  .member-actions { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "chart" "action"; row-gap: 36px; }
  .hero-copy { max-width: 720px; padding-top: 0; }
  .hero-action { align-self: auto; }
  .hero-grid { grid-template-rows: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-login { display: none; }
  .burger { display: block; }
  .section { padding: 88px 0; }
  /* empilhado, o slide mais alto define a caixa: conteúdo colado no topo,
     sem vão em cima dos slides mais curtos */
  .slide { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; align-content: start; }
  .slide-copy p { margin-top: 10px; font-size: 16px; }
  .checks { margin-top: 16px; gap: 8px; }
  .mock-comm .post-extra, .mock-comm .pos-foot { display: none; }
  .tour-tabs { margin-bottom: 18px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bx-flow { grid-column: span 2; }
  .head { margin-bottom: 44px; }
  .marquee { margin-top: 64px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 72px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .btn-lg, .sec-cta .btn { height: 56px; padding: 0 22px; font-size: 16px; }
  .nav-actions .btn-sm { display: none; }
  .payoff { border-radius: 18px; }
  .payoff-bar { padding: 12px 14px; gap: 10px; }
  .payoff-dots { display: none; }
  .payoff-sub { padding: 10px 14px; }
  .strat-tabs { width: 100%; }
  .payoff-chart { min-height: 270px; padding: 8px 0 0; }
  #chartSvg { min-height: 260px; }
  .tip { min-width: 0; width: calc(100% - 56px); font-size: 12px; padding: 8px 10px; }
  .payoff-side { grid-template-columns: 1fr 1fr; padding: 8px 16px 20px; }
  .payoff-side .ctrl { grid-column: span 2; }
  .drag-hint { right: 12px; bottom: 40px; }
  .tour-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; margin: 0 -16px 20px; padding: 0 16px; scrollbar-width: none; }
  .tour-tabs::-webkit-scrollbar { display: none; }
  .tour-tab { flex: none; }
  .tour-stage { border-radius: 22px; }
  .pos-foot { flex-direction: column; gap: 2px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bx-b3, .bx-flow { grid-column: auto; grid-row: auto; }
  .bx { padding: 22px; }
  .feed-h, .feed-r { grid-template-columns: 1.4fr 1fr 1fr 1fr; padding: 9px 12px; }
  .feed-h span:nth-child(4), .feed-r span:nth-child(4) { display: none; }
  .flow { flex-wrap: wrap; justify-content: flex-start; }
  .flow::before, .flow-dot { display: none; }
  .plans { grid-template-columns: 1fr; }
  .wall { column-gap: 0; }
  .shot { --tilt: 0deg !important; }
  .member { padding: 24px 20px; gap: 16px; }
  .member-icon { width: 52px; height: 52px; border-radius: 14px; }
  .member-actions { flex-direction: column; }
  .member-section { padding-top: 72px; }
  .final-box { border-radius: 24px; padding: 72px 20px; }
  .final { padding-bottom: 88px; }
  .faq summary { font-size: 16px; }
}

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

/* ---------- Hero no celular: botões antes do gráfico, gráfico enxuto ---------- */
@media (max-width: 767px) {
  .hero-grid { grid-template-areas: "copy" "action" "chart"; row-gap: 28px; }
  /* sem controles de tempo/volatilidade e sem a linha de números: fica a curva */
  .payoff-side { display: none; }
}

/* ---------- TOUR NO CELULAR (só aparece até 767px) ----------
   Um celular com o sistema como ele é no telefone: barra do topo, menu
   lateral, telas numa coluna. O app é desenhado em 390x760 e reduzido pela
   escala --ms para caber na moldura. Classes com prefixo tm- para não
   colidir com o tour do desktop. */
.trtm { display: none; }
@media (max-width: 767px) {
  .trt { display: none; }
  .trtm { display: block; }
}
.trtm-phone {
  position: relative; width: min(330px, 100%); margin: 0 auto; padding: 9px;
  border-radius: 46px; background: #121214; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #2a2a2e;
}
.trtm-screen { position: relative; height: calc(760px * var(--ms, .8)); border-radius: 37px; overflow: hidden; background: #faf8f3; }
/* o navegador não pode usar as telas animadas como âncora de rolagem: elas
   se mexem o tempo todo e arrastariam a página junto */
.trtm-screen, .trt-viewport { overflow-anchor: none; }
.trtm .trt-start { inset: 9px; border-radius: 37px; }
.trtm.is-playing .trt-start { opacity: 0; visibility: hidden; }
.trtm-steps { margin-top: 18px; display: grid; grid-template-columns: repeat(6, minmax(140px, 1fr)); gap: 10px; overflow-x: auto; margin-left: -16px; margin-right: -16px; padding: 0 16px 4px; scrollbar-width: none; }
.trtm-steps::-webkit-scrollbar { display: none; }

.mapp {
  --p-bg: #faf8f3; --p-card: #fff; --p-panel: #f3efe6; --p-line: #e2dccd; --p-ink: #1c1a17;
  --p-mut: #6e675a; --p-gold: #876516; --p-gold-2: #b8892a; --p-gold-soft: #f6ebd0;
  --p-green: #15803d; --p-red: #b91c1c;
  position: absolute; top: 0; left: 0; width: 390px; height: 760px;
  transform: scale(var(--ms, .8)); transform-origin: 0 0; overflow: hidden;
  background: var(--p-bg); color: var(--p-ink); font-family: var(--font); font-size: 14px; user-select: none;
}
.mapp svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* barra de status e topo */
.tm-status { height: 44px; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 30px 8px; font-size: 14px; font-weight: 700; }
.tm-status i { display: inline-block; width: 22px; height: 11px; border-radius: 3px; border: 1.5px solid var(--p-ink); position: relative; }
.tm-status i::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: var(--p-ink); border-radius: 1px; }
.tm-top {
  position: relative; z-index: 4; height: 64px; display: flex; align-items: center; gap: 12px; padding: 0 16px;
  background: rgba(250, 248, 243, .95); border-bottom: 1px solid rgba(184, 137, 42, .25);
}
.tm-logo { display: flex; align-items: center; gap: 8px; }
.tm-logo img { width: 30px; height: 30px; }
.tm-logo span { font-weight: 900; font-size: 16px; background: linear-gradient(90deg, #876516, #6e5010); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tm-right { margin-left: auto; display: flex; align-items: center; gap: 14px; color: #58524a; }
.tm-right svg { width: 21px; height: 21px; }
.tm-tauro-btn { width: 28px; height: 28px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(184, 137, 42, .45); overflow: hidden; transition: background .2s, box-shadow .2s; }
.tm-tauro-btn img { width: 100%; height: 100%; transform: scaleX(-1); }
.tm-burger { width: 36px; height: 36px; border-radius: 10px; display: grid; place-content: center; gap: 4px; transition: background .2s; }
.tm-burger i { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--p-ink); }

/* conteúdo: cada página rola por dentro (.tm-in) */
.tm-main { position: absolute; top: 108px; left: 0; right: 0; bottom: 0; }
.tm-pg { position: absolute; inset: 0; overflow: hidden; opacity: 0; transform: translateX(18px); transition: opacity .35s var(--ease), transform .45s var(--ease); pointer-events: none; }
.tm-pg.is-on { opacity: 1; transform: none; }
.tm-in { padding: 16px 16px 40px; display: flex; flex-direction: column; gap: 12px; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.tm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.tm-head h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.tm-head h3 small { font-size: 13px; font-weight: 500; color: var(--p-mut); margin-left: 4px; }
.tm-head p { font-size: 12.5px; color: var(--p-mut); margin-top: 2px; }
.tm-chip { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--p-card); border: 1px solid var(--p-line); font-size: 11.5px; font-weight: 600; color: #45403a; }
.tm-live { width: 7px; height: 7px; border-radius: 50%; background: var(--p-green); box-shadow: 0 0 0 3px rgba(21, 128, 61, .15); }
.tm-price { flex: none; font-family: var(--mono); font-size: 16px; font-weight: 600; text-align: right; display: grid; }
.tm-price em { font-style: normal; font-size: 12px; }
.mapp .tm-up { color: var(--p-green); }
.mapp .tm-down { color: var(--p-red); }
.tm-btn { display: inline-flex; justify-content: center; padding: 12px 16px; border-radius: 11px; background: linear-gradient(90deg, #b8892a, #9a7418); color: #fff; font-size: 14px; font-weight: 700; transition: transform .2s, box-shadow .2s; }
.tm-btn-sm { flex: none; padding: 8px 12px; font-size: 12.5px; }
.tm-tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--p-line); overflow: hidden; white-space: nowrap; }
.tm-tabs span { padding: 8px 11px; font-size: 13px; font-weight: 600; color: var(--p-mut); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tm-tabs span.is-on { color: var(--p-gold); border-color: var(--p-gold-2); }

.tm-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tm-kpis-3 { grid-template-columns: repeat(3, 1fr); gap: 8px; }
.tm-kpi { background: var(--p-card); border: 1px solid var(--p-line); border-radius: 12px; padding: 11px 12px; display: grid; gap: 2px; transition: border-color .3s, box-shadow .3s; }
.tm-kpi span { font-size: 11px; color: var(--p-mut); }
.tm-kpi b { font-family: var(--mono); font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.tm-kpi em { font-style: normal; font-size: 11px; color: var(--p-mut); }
.tm-kpi-gold { background: var(--p-gold-soft); border-color: rgba(184, 137, 42, .35); }
.tm-card { background: var(--p-card); border: 1px solid var(--p-line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 9px; transition: border-color .3s, box-shadow .3s; }
.tm-card h4 { font-size: 13px; font-weight: 700; color: #45403a; display: flex; justify-content: space-between; align-items: baseline; }
.tm-card h4 small { font-weight: 500; font-size: 11px; color: var(--p-mut); }
.mapp .is-touch { border-color: var(--p-gold-2); box-shadow: 0 0 0 3px rgba(184, 137, 42, .18); }
.tm-btn.is-touch, .tm-op.is-touch { transform: scale(.97); }

.tm-row { display: grid; grid-template-columns: 66px 1fr; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; }
.tm-bar { position: relative; isolation: isolate; height: 22px; display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; font-family: var(--mono); font-weight: 600; font-size: 12px; }
.tm-bar::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 5px; z-index: -1; transform-origin: left; }
.tm-pg.is-on .tm-bar::before { animation: grow-x .8s var(--ease) both; }
.tm-bar-up::before { background: rgba(21, 128, 61, .14); }
.tm-bar-gold { color: var(--p-gold); }
.tm-bar-gold::before { background: rgba(184, 137, 42, .2); }
.tm-thermo { display: flex; justify-content: space-between; align-items: flex-end; }
.tm-thermo span { display: block; font-size: 11px; color: var(--p-mut); }
.tm-thermo b { font-size: 24px; font-weight: 700; }
.tm-r { text-align: right; }
.tm-gbar { height: 7px; border-radius: 9px; background: var(--p-panel); overflow: hidden; }
.tm-gbar i { display: block; height: 100%; background: linear-gradient(90deg, #b8892a, #e2b54a); border-radius: inherit; }

/* carteira */
.tm-irx { display: grid; grid-template-columns: 1fr 1fr .9fr; padding: 8px 0; border-top: 1px solid var(--p-line); font-family: var(--mono); font-size: 12.5px; }
.tm-irx span:not(:first-child) { text-align: right; }
.tm-irx-h { border-top: 0; padding-top: 0; font-family: var(--font); font-size: 10.5px; font-weight: 700; color: var(--p-mut); text-transform: uppercase; letter-spacing: .05em; }
.tm-irx-on { background: var(--p-gold-soft); margin: 0 -8px; padding: 8px; border-radius: 7px; border-top-color: transparent; font-weight: 700; }
.tm-darf-btn { margin-top: 4px; }

/* open interest */
.tm-oi { height: 110px; display: flex; align-items: flex-end; gap: 8px; }
.tm-oi i { flex: 1; height: var(--h); border-radius: 5px 5px 2px 2px; background: rgba(184, 137, 42, .3); transform-origin: bottom; }
.tm-oi i.pk { background: linear-gradient(180deg, #b8892a, #9a7418); }
.tm-pg.is-on .tm-oi i { animation: grow-y .8s var(--ease) both; }
.tm-axis { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; color: var(--p-mut); }

/* lucro x cotação */
.tm-lxc { width: 100%; height: auto; display: block; }
.mapp .tm-lxc-base { stroke: var(--p-line); stroke-width: 1; }
.tm-lxc-bars rect { fill: rgba(184, 137, 42, .32); stroke: none; transform-origin: bottom; transform-box: fill-box; }
.tm-pg.is-on .tm-lxc-bars rect { animation: grow-y .7s var(--ease) both; }
.tm-lxc-line { fill: none; stroke: var(--p-ink); stroke-width: 2.2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tm-pg.is-on .tm-lxc-line { animation: draw-l 1.2s var(--ease) .3s forwards; }
.mapp .tm-lxc-x text { fill: var(--p-mut); stroke: none; font-family: var(--mono); font-size: 9px; text-anchor: middle; }
.tm-leg { display: flex; gap: 16px; font-size: 11.5px; color: var(--p-mut); }
.tm-leg span { display: inline-flex; align-items: center; gap: 6px; }
.tm-lg-bar { width: 10px; height: 10px; border-radius: 2px; background: rgba(184, 137, 42, .45); }
.tm-lg-line { width: 14px; height: 2.5px; border-radius: 2px; background: var(--p-ink); }

/* ranking */
.tm-rk { gap: 0; padding: 6px 14px; }
.tm-rkx { display: grid; grid-template-columns: 64px 1fr 62px; align-items: center; gap: 10px; padding: 11px 0; border-top: 1px solid var(--p-line); font-family: var(--mono); font-size: 12.5px; transition: background .25s; }
.tm-rkx .lt { justify-self: end; }
.tm-rkx-h { border-top: 0; font-family: var(--font); font-size: 10.5px; font-weight: 700; color: var(--p-mut); text-transform: uppercase; letter-spacing: .05em; }
.tm-rkx-h span:last-child { text-align: right; }
.tm-rkx.is-touch { background: var(--p-gold-soft); border-radius: 8px; box-shadow: none; margin: 0 -8px; padding: 11px 8px; }

/* fórum */
.tm-post { background: var(--p-card); border: 1px solid var(--p-line); border-radius: 14px; padding: 14px; display: grid; gap: 8px; }
.tm-pg.is-on .tm-post-new { animation: slide-in .7s var(--ease) .2s both; }
.tm-post-top { display: flex; align-items: center; gap: 10px; }
.tm-post-top b { font-size: 13px; }
.tm-post-top small { font-weight: 400; color: var(--p-mut); }
.tm-av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 11px; color: #fff; }
.tm-a1 { background: linear-gradient(135deg, #b8892a, #876516); }
.tm-a2 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.tm-post p { font-size: 13.5px; line-height: 1.5; color: #45403a; }
.tm-op { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 11px; background: var(--p-bg); border: 1px dashed rgba(184, 137, 42, .5); font-size: 12.5px; transition: transform .2s, border-color .25s, background .25s, box-shadow .25s; }
.tm-op div { display: grid; gap: 4px; }
.tm-op svg { width: 90px; height: 34px; margin-left: auto; stroke: var(--p-green); stroke-width: 2.5; }
.tm-op.is-touch { border-style: solid; background: var(--p-gold-soft); }
.tm-tag { justify-self: start; padding: 2px 7px; border-radius: 6px; background: var(--p-gold-soft); color: var(--p-gold); font-size: 10.5px; font-weight: 700; }
.tm-acts { display: flex; gap: 16px; font-size: 12px; color: var(--p-mut); }

/* simulador */
.tm-sim { width: 100%; height: auto; display: block; }
.tm-sim-win { fill: rgba(21, 128, 61, .12); stroke: none; }
.tm-sim-loss { fill: rgba(185, 28, 28, .1); stroke: none; }
.mapp .tm-sim-zero { stroke: var(--p-line); stroke-width: 1.5; }
.tm-sim-line { fill: none; stroke: var(--p-ink); stroke-width: 2.6; stroke-dasharray: 1; stroke-dashoffset: 1; }
.tm-pg.is-on .tm-sim-line { animation: draw-l 1.1s var(--ease) .25s forwards; }
.tm-pg.is-on .tm-sim-win, .tm-pg.is-on .tm-sim-loss { animation: fade-in .6s ease .9s both; }
.mapp .tm-sim-spot { stroke: var(--p-gold-2); stroke-width: 1.5; stroke-dasharray: 4 4; }
.mapp .tm-sim-dot { fill: var(--p-gold-2); stroke: #fff; stroke-width: 2.5; }
.tm-pg.is-on .tm-sim-dot { animation: fade-in .4s ease 1.2s both; }
.mapp .tm-sim-x text { fill: var(--p-mut); stroke: none; font-family: var(--mono); font-size: 10px; text-anchor: middle; }
.tm-legs { gap: 0; }
.tm-legs h4 { margin-bottom: 6px; }
.tm-legx { display: grid; grid-template-columns: 66px 1fr auto; align-items: center; gap: 8px; padding: 10px 0; border-top: 1px solid var(--p-line); font-size: 12.5px; }
.tm-legx b { font-family: var(--mono); }
.tm-legx span { font-family: var(--mono); color: var(--p-mut); font-size: 12px; }

/* aprenda */
.tm-player { position: relative; height: 200px; border-radius: 14px; overflow: hidden; background: radial-gradient(80% 90% at 30% 30%, #3a3020, #14110c); display: grid; place-items: center; color: #fff; }
.tm-player > * { grid-area: 1 / 1; }
.tm-cover { display: grid; place-items: center; gap: 12px; transition: opacity .3s; }
.tm-cover span { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #e2b54a; }
.tm-play { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); }
.tm-play svg { width: 24px; height: 24px; fill: #fff; stroke: none; margin-left: 3px; }
.tm-load { display: grid; justify-items: center; gap: 10px; opacity: 0; transition: opacity .3s; }
.tm-load b { font-size: 14px; }
.tm-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .18); border-top-color: #e2b54a; animation: spin .8s linear infinite; }
.tm-on { display: grid; justify-items: center; gap: 8px; opacity: 0; transition: opacity .4s; }
.tm-eq { display: flex; align-items: flex-end; gap: 4px; height: 28px; }
.tm-eq i { width: 5px; height: 30%; border-radius: 3px; background: #e2b54a; }
.tm-time { font-family: var(--mono); font-size: 11.5px; opacity: .75; }
.tm-cap { position: absolute; left: 14px; bottom: 20px; display: grid; gap: 1px; }
.tm-cap b { font-size: 13.5px; }
.tm-cap span { font-size: 11px; opacity: .7; }
.tm-pbar { position: absolute; left: 14px; right: 14px; bottom: 10px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.tm-pbar i { display: block; height: 100%; width: 0; background: #e2b54a; }
.tm-player.is-loading .tm-cover { opacity: 0; }
.tm-player.is-loading .tm-load { opacity: 1; }
.tm-player.is-playing .tm-cover, .tm-player.is-playing .tm-load { opacity: 0; }
.tm-player.is-playing .tm-on { opacity: 1; }
.tm-player.is-playing .tm-eq i { animation: eq .9s ease-in-out infinite alternate; }
.tm-player.is-playing .tm-eq i:nth-child(2) { animation-delay: -.3s; }
.tm-player.is-playing .tm-eq i:nth-child(3) { animation-delay: -.6s; }
.tm-player.is-playing .tm-eq i:nth-child(4) { animation-delay: -.45s; }
.tm-player.is-playing .tm-pbar i { animation: prog 40s linear forwards; }
.tm-lessons { gap: 0; }
.tm-lessons .tm-gbar { margin: 8px 0 6px; }
.tm-ls { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; padding: 10px 6px; border-top: 1px solid var(--p-line); font-size: 13px; transition: background .25s; }
.tm-ls i { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 10.5px; font-weight: 700; background: var(--p-panel); color: var(--p-mut); }
.tm-ls em { font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--p-mut); }
.tm-ls-done i { background: #dcf3e4; color: var(--p-green); }
.tm-ls-done span { color: var(--p-mut); }
.tm-ls-next { font-weight: 700; }
.tm-ls-next i { background: var(--p-gold-2); color: #fff; }
.tm-ls.is-touch, .tm-ls.is-playing { background: var(--p-gold-soft); border-radius: 8px; border-top-color: transparent; box-shadow: none; }

/* menu lateral: 288px, pela direita, abaixo da barra (como no sistema) */
.tm-shade { position: absolute; left: 0; right: 0; top: 108px; bottom: 0; z-index: 5; background: rgba(28, 26, 23, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.tm-shade.is-on { opacity: 1; }
.tm-drawer {
  position: absolute; top: 108px; right: 0; bottom: 0; z-index: 6; width: 288px; padding: 12px 10px;
  display: flex; flex-direction: column; gap: 2px; overflow: hidden;
  background: linear-gradient(180deg, #fff, var(--p-bg)); border-left: 1px solid rgba(184, 137, 42, .3);
  box-shadow: -18px 0 40px rgba(28, 26, 23, .12); transform: translateX(105%); transition: transform .4s var(--ease);
}
.tm-drawer.is-on { transform: none; }
.tm-profile { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 8px; border-radius: 12px; border: 1px solid rgba(184, 137, 42, .25); background: var(--p-panel); }
.tm-profile b { display: block; font-size: 13.5px; }
.tm-profile small { font-size: 11.5px; color: var(--p-gold); }
.tm-pav { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--p-gold-soft); color: var(--p-gold); font-weight: 700; font-size: 11px; }
.tm-di { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 500; color: #45403a; transition: background .2s, color .2s; }
.tm-di svg { width: 19px; height: 19px; flex: none; }
.tm-di .tm-chev { width: 15px; height: 15px; margin-left: auto; transition: transform .25s; }
.tm-di.is-open .tm-chev { transform: rotate(180deg); }
.tm-di.is-on { background: linear-gradient(90deg, #b8892a, #9a7418); color: #fff; font-weight: 700; }
.mapp .tm-di.is-touch { background: var(--p-gold-soft); color: var(--p-gold); box-shadow: none; }
.tm-sub { display: none; margin: 2px 0 4px 34px; }
.tm-sub.is-on { display: grid; gap: 1px; animation: fade-in .3s ease both; }
.tm-sh { margin: 6px 0 2px; padding: 0 10px; font-size: 9.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #877f6f; }
.tm-si { padding: 8px 10px; border-radius: 8px; font-size: 13px; color: #58524a; transition: background .2s, color .2s; }
.mapp .tm-si.is-touch { background: var(--p-gold-soft); color: var(--p-gold); font-weight: 600; box-shadow: none; }
.tm-burger i { transition: transform .25s, opacity .2s; }
.tm-burger.is-open i:nth-child(2) { opacity: 0; }
.tm-burger.is-open i:first-child { transform: translateY(6px) rotate(45deg); }
.tm-burger.is-open i:last-child { transform: translateY(-6px) rotate(-45deg); }
.mapp .tm-burger.is-touch, .mapp .tm-tauro-btn.is-touch { background: var(--p-gold-soft); box-shadow: 0 0 0 4px var(--p-gold-soft); }

/* folha do DARF */
.tm-sheet {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 7; padding: 10px 20px 28px; display: grid; gap: 14px;
  background: #fff; border-radius: 22px 22px 0 0; box-shadow: 0 -20px 50px rgba(28, 26, 23, .25);
  transform: translateY(105%); transition: transform .45s var(--ease);
}
.tm-sheet.is-on { transform: none; }
.tm-grip { justify-self: center; width: 40px; height: 4px; border-radius: 4px; background: var(--p-line); }
.tm-darf-top { display: flex; align-items: center; gap: 12px; }
.tm-darf-top b { display: block; font-size: 16px; }
.tm-darf-top span { font-size: 12px; color: var(--p-mut); }
.tm-ok { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #dcf3e4; color: var(--p-green); }
.tm-ok svg { width: 20px; height: 20px; stroke-width: 3; }
.tm-darf-rows div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--p-line); font-size: 13px; }
.tm-darf-rows span { color: var(--p-mut); }
.tm-darf-rows b { font-family: var(--mono); }
.tm-darf-total b { font-size: 16px; color: var(--p-gold); }
.tm-code { height: 40px; border-radius: 4px; opacity: .85; background: repeating-linear-gradient(90deg, var(--p-ink) 0 2px, transparent 2px 4px, var(--p-ink) 4px 5px, transparent 5px 8px, var(--p-ink) 8px 11px, transparent 11px 13px); }
.tm-copy.is-done { background: var(--p-green); }

/* Tauro em tela cheia (sobe de baixo, como no sistema) */
.tm-chat {
  position: absolute; top: 44px; left: 0; right: 0; bottom: 0; z-index: 8; display: flex; flex-direction: column; background: #fff;
  opacity: 0; transform: translateY(24px); pointer-events: none; transition: opacity .25s ease-out, transform .3s ease-out;
}
.tm-chat.is-on { opacity: 1; transform: none; }
.tm-chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--p-line); background: var(--p-bg); }
.tm-chat-head img { width: 36px; height: 36px; border-radius: 50%; transform: scaleX(-1); }
.tm-chat-head b { display: block; font-size: 14.5px; }
.tm-chat-head span { font-size: 11.5px; color: var(--p-gold); }
.tm-x { margin-left: auto; font-style: normal; color: var(--p-mut); font-size: 16px; }
.tm-chat-body { flex: 1; min-height: 0; padding: 16px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; overflow: hidden; }
.tm-chat-input { display: flex; align-items: center; gap: 8px; margin: 0 14px; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--p-line); font-size: 13.5px; min-height: 46px; }
.tm-chat-input span { flex: 1; }
.tm-chat-input span:empty::before { content: attr(data-ph); color: #9a8f7a; }
.tm-chat-input span.is-typing::after { content: ""; display: inline-block; width: 1.5px; height: 15px; margin-left: 1px; vertical-align: -2px; background: var(--p-ink); animation: blink 1s infinite; }
.tm-send { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: linear-gradient(90deg, #b8892a, #9a7418); color: #fff; font-style: normal; }
.tm-send svg { width: 15px; height: 15px; }
.mapp .tm-send.is-touch { box-shadow: 0 0 0 4px var(--p-gold-soft); }
.tm-chat-foot { padding: 8px 16px 18px; font-size: 10.5px; color: var(--p-mut); text-align: center; }
.tm-msg { max-width: 86%; padding: 10px 13px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; animation: msg-in .3s var(--ease) both; }
.tm-msg-bot { align-self: flex-start; background: var(--p-panel); border-bottom-left-radius: 4px; }
.tm-msg-me { align-self: flex-end; background: linear-gradient(90deg, #b8892a, #9a7418); color: #fff; border-bottom-right-radius: 4px; }
.tm-link { display: inline-block; margin-top: 8px; color: var(--p-gold); font-weight: 700; border-bottom: 1px solid rgba(184, 137, 42, .4); transition: background .2s; }
.mapp .tm-link.is-touch { background: var(--p-gold-soft); box-shadow: none; }
.tm-typing { display: flex; gap: 4px; padding: 13px; }
.tm-typing i { width: 6px; height: 6px; border-radius: 50%; background: #877f6f; animation: dots 1s infinite; }
.tm-typing i:nth-child(2) { animation-delay: .15s; }
.tm-typing i:nth-child(3) { animation-delay: .3s; }

/* o dedo: um círculo que encosta na tela */
.tm-finger {
  position: absolute; top: 0; left: 0; z-index: 9; width: 38px; height: 38px; margin: -19px 0 0 -19px; pointer-events: none;
  border-radius: 50%; background: rgba(28, 26, 23, .22); border: 2px solid rgba(255, 255, 255, .85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .2);
  transform: translate(var(--fx, 300px), var(--fy, 600px)); opacity: 0;
  transition: transform .65s cubic-bezier(.65, 0, .35, 1), opacity .3s, background .15s;
}
.tm-finger.is-on { opacity: 1; }
.tm-finger i { position: absolute; inset: -2px; border-radius: 50%; border: 2px solid #b8892a; opacity: 0; }
.tm-finger.is-tap i { animation: ripple .55s ease-out; }
.tm-finger.is-tap { background: rgba(184, 137, 42, .35); }
