/* ============================================================
   Clube Trader IA — estilos
   Tema único escuro (referência: nataliadalat.com.br)
   Tokens no :root → trocar aqui muda o site inteiro.
   ============================================================ */
:root, [data-layout="atual"] {
  color-scheme: dark;
  --bg: #050907;
  --bg-rgb: 5 9 7;
  --surface-rgb: 11 19 15;
  --line-rgb: 150 255 190;
  --accent-rgb: 46 229 138;
  --gain: #2EE58A;
  --gain-rgb: 46 229 138;
  --loss-rgb: 255 107 107;
  --accent-hover: #45F09A;
  --surface-4: #1C2E24;
  --msg-me: #1A3A2A;
  --text-2: #CFDDD3;
  --btn-bg: #2EE58A;
  --topbar-bg: #2EE58A;
  --metal: linear-gradient(var(--accent), var(--accent));
  --title-weight: 800;
  --title-track: -0.02em;
  --bg-2: #08100C;
  --surface: #0B130F;
  --surface-2: #101B15;
  --surface-3: #16241C;
  --line: rgb(var(--line-rgb) / .09);
  --line-2: rgb(var(--line-rgb) / .16);
  --text: #EAF3EC;
  --muted: #8FA89A;
  --faint: #5C7166;
  --accent: #2EE58A;
  --accent-2: #19C572;
  --accent-ink: #04130B;
  --accent-soft: rgb(var(--accent-rgb) / 0.12);
  --accent-glow: rgb(var(--accent-rgb) / 0.35);
  --loss: #FF6B6B;
  --loss-soft: rgba(255, 107, 107, 0.12);
  --warn: #F4C152;
  --warn-soft: rgba(244, 193, 82, 0.12);
  --info: #7CC4FF;
  --info-soft: rgba(124, 196, 255, 0.12);
  --telegram: #2AABEE;

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.pos { color: var(--gain); }
.neg { color: var(--loss); }
.muted { color: var(--muted); }

/* ---------- tipografia ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: var(--title-weight); letter-spacing: var(--title-track); line-height: 1.05; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(36px, 5.6vw, 64px); }
h2 { font-size: clamp(28px, 3.8vw, 44px); }
h3 { font-size: 20px; letter-spacing: -0.01em; line-height: 1.2; }
h4 { font-size: 16px; letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font: 700 12px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); max-width: 60ch; }
.hl { color: var(--accent); }

/* ---------- botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: var(--r-pill); border: 1px solid transparent;
  font-weight: 700; font-size: 15px; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn-bg); color: var(--accent-ink); box-shadow: 0 0 0 0 var(--accent-glow); }
.btn-primary:hover { background: var(--accent-hover); box-shadow: 0 8px 30px -6px var(--accent-glow); }
.btn-ghost { background: transparent; border-color: var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-soft { background: var(--surface-3); color: var(--text); }
.btn-soft:hover { background: var(--surface-4); }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-tg { background: var(--telegram); color: #fff; }
.btn-tg:hover { filter: brightness(1.08); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }
.link { color: var(--accent); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- chips / pills ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px;
  border-radius: var(--r-pill); font-size: 12px; font-weight: 700; background: var(--surface-3); color: var(--muted); white-space: nowrap;
}
.chip-accent { background: var(--accent-soft); color: var(--accent); }
.chip-warn { background: var(--warn-soft); color: var(--warn); }
.chip-info { background: var(--info-soft); color: var(--info); }
.chip-loss { background: var(--loss-soft); color: var(--loss); }
.chip-tg { background: rgba(42,171,238,.14); color: var(--telegram); }

/* ============================================================
   HEADER
   ============================================================ */
.topbar {
  background: var(--topbar-bg); color: var(--accent-ink); font-size: 13px; font-weight: 700; text-align: center;
  padding: 8px var(--gutter);
}
.topbar b { font-family: var(--f-mono); }
@media (max-width: 560px) { .topbar { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 12px; } .topbar .tb-longo { display: none; } }
#header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; }
.header {
  position: relative; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgb(var(--bg-rgb) / .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
/* painel de cotações (widget do TradingView), só na home */
#cotacoes { height: 46px; background: rgb(var(--bg-rgb)); border-bottom: 1px solid var(--line); overflow: hidden; }
#cotacoes[hidden] { display: none; }
#cotacoes iframe { color-scheme: light; } /* sem isso o navegador pinta fundo branco atrás do widget transparente */
.header-row { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 17px; letter-spacing: -0.01em; white-space: nowrap; }
.logo-mark {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none;
  background: #000; border: 1px solid var(--line-2);
  box-shadow: 0 0 22px -8px var(--accent-glow);
}
.logo-img { display: block; width: 76%; height: auto; }
.avatar .logo-img { width: 70%; }
.avatar.team { background: #000; border: 1px solid var(--line-2); }
.logo small { display: block; font: 600 10px/1 var(--f-mono); letter-spacing: 0.16em; color: var(--muted); margin-top: 3px; }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav a { padding: 8px 14px; border-radius: var(--r-pill); font-weight: 600; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); background: var(--surface-2); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.toggle-group { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px; }
.toggle-group button { border: 0; background: none; height: 28px; padding: 0 10px; border-radius: var(--r-pill); font: 700 12px/1 var(--f-mono); color: var(--muted); }
.toggle-group button[aria-pressed="true"] { background: var(--surface-3); color: var(--text); }
.icon-btn {
  position: relative; width: 42px; height: 42px; border-radius: var(--r-pill); display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
}
.icon-btn:hover { border-color: var(--line-2); }
.badge-count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px;
  background: var(--accent); color: var(--accent-ink); font: 800 11px/20px var(--f-mono); text-align: center;
}
.toggles-desk { display: flex; gap: 8px; }
.menu-btn { display: none; }
.mobile-nav { display: none; }

@media (max-width: 920px) {
  .nav, .header .toggles-desk { display: none; }
  .menu-btn { display: grid; }
  .mobile-nav { border-top: 1px solid var(--line); padding-block: 12px 18px; }
  .mobile-nav.open { display: grid; gap: 4px; }
  .mobile-nav a { padding: 12px 4px; font-weight: 700; font-size: 17px; border-bottom: 1px solid var(--line); }
  .mobile-nav .toggles { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
}

/* ============================================================
   HOME
   ============================================================ */
.hero { position: relative; padding-block: clamp(40px, 7vw, 88px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70%; height: 120%;
  background: radial-gradient(closest-side, rgb(var(--accent-rgb) / .16), transparent 70%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero h1 { margin-block: 18px 22px; }
.hero h1 .hl { display: block; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { color: var(--accent); }

.hero-card {
  position: relative; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-2);
  border-radius: var(--r-lg); padding: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.8), 0 0 0 1px rgb(var(--accent-rgb) / .04);
}
.hero-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.hero-card-head .t { font-family: var(--f-display); font-weight: 800; font-size: 22px; }
.hero-card-head .s { color: var(--muted); font-size: 13px; }
.hero-card .big { font: 800 40px/1 var(--f-mono); color: var(--accent); letter-spacing: -0.03em; }
.hero-card .big-l { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }
.hero-pilha { display: grid; gap: 16px; }
.hero-coms { display: grid; gap: 8px; }
.hero-com { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: rgb(var(--surface-rgb) / .6); }
.hero-com:hover { border-color: var(--line-2); background: var(--surface-3); }
.hero-com b { display: block; font-family: var(--f-display); font-size: 16px; }
.hero-com small { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.hero-com svg { flex: none; color: var(--muted); }
.hero-coms-all { display: inline-flex; margin-top: 16px; }
.float-metric {
  position: absolute; background: rgb(var(--surface-rgb) / .92); border: 1px solid var(--line-2); border-radius: 14px; padding: 10px 14px;
  backdrop-filter: blur(8px); box-shadow: 0 20px 40px -20px rgba(0,0,0,.9);
}
.float-metric .l { font: 700 10px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.float-metric .v { font: 800 22px/1.1 var(--f-mono); margin-top: 6px; }
.float-metric.m1 { top: -22px; left: 38%; }
.float-metric.m2 { bottom: 64px; left: -26px; }
.float-metric.m3 { bottom: -20px; right: 36px; }
@media (prefers-reduced-motion: no-preference) {
  .float-metric { animation: bob 6s ease-in-out infinite; }
  .float-metric.m2 { animation-delay: -2s; }
  .float-metric.m3 { animation-delay: -4s; }
}
@keyframes bob { 50% { transform: translateY(-6px); } }

.stats-bar { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats-bar .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stats-bar .s { padding: 26px 8px; text-align: center; }
.stats-bar .s + .s { border-left: 1px solid var(--line); }
.stats-bar .v { font: 800 clamp(26px, 3vw, 36px)/1 var(--f-mono); letter-spacing: -0.03em; }
.stats-bar .l { color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 8px; }

.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { margin-top: 14px; max-width: 22ch; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }

.market-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.market-card {
  position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line-2); padding: 30px;
  background: var(--surface); display: flex; flex-direction: column; gap: 16px; min-height: 300px;
  transition: border-color .2s ease, transform .2s ease;
}
.market-card:hover { border-color: rgb(var(--accent-rgb) / .45); transform: translateY(-2px); }
.market-card .tag { font: 800 64px/0.9 var(--f-display); letter-spacing: -0.04em; color: var(--accent); }
.market-card .tag.sm { font-size: 44px; }
.market-card h3 { font-size: 26px; }
.market-card p { color: var(--muted); max-width: 42ch; }
.market-card .subs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.market-card .subs a {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-pill);
  background: var(--surface-3); font-weight: 700; font-size: 14px;
}
.market-card .subs a:hover { background: var(--accent); color: var(--accent-ink); }
.market-card .subs a .n { font-family: var(--f-mono); font-size: 12px; opacity: .7; }
.market-card .ticker { position: absolute; right: -10px; top: 20px; font: 800 13px/1.9 var(--f-mono); color: var(--faint); text-align: right; opacity: .55; pointer-events: none; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { padding: 24px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); position: relative; }
.step .n { font: 800 13px/1 var(--f-mono); color: var(--accent); letter-spacing: .1em; }
.step h3 { font-size: 18px; margin-block: 14px 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 30px; right: -12px; width: 8px; height: 8px; border-top: 2px solid var(--faint); border-right: 2px solid var(--faint); transform: rotate(45deg);
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks li::before {
  content: "✓"; flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent); font-size: 13px; font-weight: 800;
}

.heat-mini { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 22px; }

.community-teaser { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; align-items: stretch; }
.chat-preview { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.chat-preview .ch-head { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.tg-dot { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--telegram); color: #fff; flex: none; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 14px 14px 14px 4px; background: var(--surface-3); font-size: 14px; }
.msg .who { font-weight: 800; font-size: 12px; color: var(--info); margin-bottom: 2px; }
.msg.team { background: var(--accent-soft); }
.msg.team .who { color: var(--accent); }
.msg.me { align-self: flex-end; border-radius: 14px 14px 4px 14px; background: var(--msg-me); }

.guarantee {
  display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-lg); border: 1px solid rgb(var(--accent-rgb) / .35);
  background: radial-gradient(120% 140% at 0% 0%, rgb(var(--accent-rgb) / .14), transparent 55%), var(--surface);
}
.seal {
  width: 112px; height: 112px; border-radius: 50%; display: grid; place-items: center; text-align: center;
  border: 2px dashed var(--accent); color: var(--accent); font: 800 13px/1.1 var(--f-mono); letter-spacing: .06em;
}
.seal b { display: block; font: 800 40px/1 var(--f-display); }
.guarantee h2 { font-size: clamp(24px, 3vw, 34px); }
.guarantee p { color: var(--muted); margin-top: 10px; max-width: 58ch; }

.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 0 20px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--f-mono); color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 18px; max-width: 70ch; }

/* ============================================================
   CARDS DE ROBÔ
   ============================================================ */
.robo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; }
.robo-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 18px; gap: 14px; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.robo-card:hover { border-color: rgb(var(--accent-rgb) / .4); transform: translateY(-2px); box-shadow: 0 20px 40px -24px rgb(var(--accent-rgb) / .35); }
.robo-card .top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; min-height: 26px; }
.robo-card .selos { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.chip-baixado svg { width: 12px; height: 12px; }
.robo-card .plat { font: 700 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.robo-card .plat i { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.robo-card h3 { font-size: 21px; }
.robo-card .meta { color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 4px; }
.robo-card .spark { height: 64px; margin-inline: -4px; }
.robo-card .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: 10px; overflow: hidden; }
.robo-card .kpis div { background: var(--surface-2); padding: 9px 10px; }
.robo-card .kpis .l { font-size: 11px; color: var(--muted); font-weight: 700; }
.robo-card .kpis .v { font: 700 15px/1.3 var(--f-mono); }
.robo-card .bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; margin-top: auto; padding-top: 4px; }
.robo-card .price .l { font-size: 12px; color: var(--muted); }
.robo-card .price .v { font: 800 22px/1.1 var(--f-mono); letter-spacing: -0.02em; }
.robo-card .price .v small { font: 600 13px var(--f-body); color: var(--muted); }
.rating { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); font-weight: 600; }
.rating .stars { color: var(--warn); letter-spacing: 1px; }

/* ============================================================
   LOJA
   ============================================================ */
.page-head { padding-block: clamp(32px, 5vw, 56px) 8px; }
.page-head h1 { font-size: clamp(32px, 4.6vw, 52px); margin-top: 14px; }
.page-head .lead { margin-top: 14px; }
.market-tabs { display: flex; gap: 8px; margin-top: 28px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.market-tabs button {
  background: none; border: 0; padding: 14px 18px; font-family: var(--f-display); font-weight: 800; font-size: 18px; color: var(--muted);
  border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; display: flex; gap: 10px; align-items: center;
}
.market-tabs button .n { font: 700 12px/1 var(--f-mono); background: var(--surface-3); padding: 4px 7px; border-radius: 6px; color: var(--muted); }
.market-tabs button[aria-selected="true"] { color: var(--text); border-bottom-color: var(--accent); }
.market-tabs button[aria-selected="true"] .n { background: var(--accent-soft); color: var(--accent); }

.subtabs { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.subtabs button {
  height: 40px; padding: 0 16px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line-2);
  font-weight: 700; font-size: 14px; color: var(--muted); display: inline-flex; gap: 8px; align-items: center;
}
.subtabs button .n { font-family: var(--f-mono); font-size: 12px; opacity: .7; }
.subtabs button:hover { color: var(--text); }
.subtabs button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.subtabs .folder { color: var(--faint); font: 700 12px/40px var(--f-mono); letter-spacing: .06em; margin-right: 4px; }

.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-block: 22px 20px; }
.field {
  height: 44px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line-2); padding: 0 16px; min-width: 0;
}
.field:focus { outline: none; border-color: var(--accent); }
.search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; }
.search input { border: 0; background: none; outline: none; width: 100%; height: 100%; }
select.field { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 19px, calc(100% - 15px) 19px; background-size: 5px 5px; background-repeat: no-repeat; }
.toolbar .count { color: var(--muted); font-size: 14px; font-weight: 600; margin-left: auto; }
.empty { text-align: center; padding: 60px 20px; border: 1px dashed var(--line-2); border-radius: var(--r-md); color: var(--muted); display: grid; gap: 14px; justify-items: center; }

.pack-banner {
  margin-top: 28px; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
  padding: 22px 26px; border-radius: var(--r-md); border: 1px solid rgb(var(--accent-rgb) / .3); background: linear-gradient(90deg, var(--accent-soft), transparent 70%), var(--surface);
}
.pack-banner h3 { font-size: 20px; }
.pack-banner p { color: var(--muted); margin-top: 4px; }

/* ============================================================
   DETALHE DO ROBÔ
   ============================================================ */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--muted); font-size: 14px; font-weight: 600; padding-top: 28px; }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { color: var(--faint); }
.robo-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; margin-top: 20px; padding-bottom: 80px; }
.robo-hero h1 { font-size: clamp(34px, 4.6vw, 54px); margin-block: 12px 12px; }
.robo-hero .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.robo-hero p { color: var(--muted); font-size: 17px; max-width: 62ch; margin-top: 4px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 2.4vw, 26px); }
.panel + .panel { margin-top: 18px; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.panel-head h2 { font-size: 20px; letter-spacing: -0.01em; }
.panel-head .sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.chart-box { width: 100%; overflow: hidden; }
.chart-box svg { display: block; width: 100%; height: auto; }
.metric-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r-md); overflow: hidden; }
.metric-grid > div { background: var(--surface-2); padding: 16px 18px; }
.metric-grid .l { font-size: 13px; color: var(--muted); font-weight: 600; }
.metric-grid .v { font: 800 24px/1.2 var(--f-mono); margin-top: 4px; letter-spacing: -0.02em; }
.heat-wrap { overflow-x: auto; }
.heat { border-collapse: separate; border-spacing: 2px; width: 100%; min-width: 0; table-layout: fixed; font-family: var(--f-mono); font-size: 11px; } /* UX-53: cabe na largura, sem cortar a coluna do ano */
.heat th { color: var(--muted); font-weight: 700; padding: 4px; text-align: center; }
.heat th:first-child, .heat td:first-child { text-align: left; }
.heat td { text-align: center; padding: 8px 2px; border-radius: 6px; font-variant-numeric: tabular-nums; }
.heat td.yr { font-weight: 800; color: var(--text); background: var(--surface-3); padding-inline: 8px; }
.heat .tot { font-weight: 800; }
.heat th:first-child { width: 42px; }
.heat th:last-child { width: 62px; }
.heat td { padding-inline: 1px; overflow: hidden; text-overflow: clip; }
@media (max-width: 700px) {
  .heat { min-width: 600px; }
  .heat th:first-child, .heat td.yr { position: sticky; left: 0; z-index: 1; }
  .heat th:last-child, .heat td.tot { position: sticky; right: 0; z-index: 1; background: var(--surface-2); }
}
.dica { display: inline-grid; place-items: center; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-2); font: 700 10px/1 var(--f-body); color: var(--muted); cursor: help; vertical-align: 1px; }
.dica:hover, .dica:focus { color: var(--text); border-color: var(--muted); }
@media (max-width: 640px) { svg[data-chart] .ch-lab { font-size: 15px; } } /* UX-12 */
.spec-list { display: grid; gap: 0; }
.spec-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-list div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--muted); font-weight: 600; margin: 0; }
.spec-list dd { margin: 0; font-weight: 700; text-align: right; }
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.review { background: var(--surface-2); border-radius: var(--r-md); padding: 18px; display: grid; gap: 10px; }
.review p { color: var(--muted); font-size: 15px; }
.review .who { font-weight: 700; font-size: 14px; }
.disclaimer { display: flex; gap: 12px; padding: 16px 18px; border-radius: var(--r-md); background: var(--warn-soft); color: #E9D9AE; font-size: 14px; margin-top: 18px; }
.disclaimer svg { color: var(--warn); flex: none; margin-top: 2px; }

/* card de compra fixo */
.buy { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid rgb(var(--accent-rgb) / .3); background: linear-gradient(180deg, var(--surface-2), var(--surface)); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 18px; }
.buy h2 { font-size: 20px; }
.period-opts { display: grid; gap: 8px; }
.period-opt {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 14px; border-radius: var(--r-md);
  border: 1px solid var(--line-2); background: var(--surface); cursor: pointer; transition: border-color .15s ease;
}
.period-opt:hover { border-color: rgb(var(--accent-rgb) / .4); }
.period-opt input { accent-color: var(--accent); width: 18px; height: 18px; margin: 0; }
.period-opt.sel { border-color: var(--accent); background: var(--accent-soft); }
.period-opt .t { font-weight: 800; }
.period-opt .d { font-size: 12px; color: var(--muted); }
.period-opt .p { text-align: right; font: 800 16px/1.2 var(--f-mono); }
.period-opt .p small { display: block; font: 600 11px var(--f-body); color: var(--muted); }
.buy .total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.buy .total .v { font: 800 30px/1 var(--f-mono); letter-spacing: -0.03em; }
.buy .total .l { color: var(--muted); font-size: 13px; }
.buy .inc { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.buy .inc li { display: flex; gap: 10px; }
.buy .inc li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.buy .pack-hint { font-size: 13px; color: var(--muted); padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface-3); }
.buy .pack-hint a { color: var(--accent); font-weight: 700; }
.buy .actions { display: grid; gap: 10px; }

/* ============================================================
   PLANOS
   ============================================================ */
.billing-switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line-2); margin-top: 26px; flex-wrap: wrap; }
.billing-switch button { border: 0; background: none; height: 40px; padding: 0 18px; border-radius: var(--r-pill); font-weight: 700; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }
.billing-switch button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.billing-switch .off { font: 800 11px/1 var(--f-mono); padding: 4px 6px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.billing-switch button[aria-pressed="true"] .off { background: rgba(4,19,11,.15); color: var(--accent-ink); }
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 34px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); }
.plan.hot { border-color: var(--accent); background: radial-gradient(120% 60% at 50% 0%, rgb(var(--accent-rgb) / .14), transparent 70%), var(--surface); box-shadow: 0 30px 60px -30px var(--accent-glow); }
.plan .ribbon { position: absolute; top: -13px; left: 24px; height: 26px; padding: 0 12px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink); font: 800 11px/26px var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.plan h3 { font-size: 22px; }
.plan .scope { color: var(--muted); font-size: 14px; margin-top: 4px; min-height: 42px; }
.plan .price .v { font: 800 36px/1 var(--f-mono); letter-spacing: -0.04em; }
.plan .price .v small { font: 600 14px var(--f-body); color: var(--muted); letter-spacing: 0; }
.plan .price .s { color: var(--muted); font-size: 13px; margin-top: 8px; min-height: 40px; }
.plan .price .strike { text-decoration: line-through; color: var(--faint); font-family: var(--f-mono); margin-right: 6px; }
.plan ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--accent); font-weight: 800; }
.plan .btn { margin-top: auto; }
.compare-wrap { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--r-lg); }
.compare { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { padding: 16px 18px; text-align: center; border-bottom: 1px solid var(--line); }
.compare th:first-child, .compare td:first-child { text-align: left; color: var(--muted); font-weight: 600; }
.compare thead th { font-family: var(--f-display); font-weight: 800; font-size: 16px; background: var(--surface); }
.compare thead th.hot { color: var(--accent); }
.compare tbody tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--accent); font-weight: 800; }
.compare .no { color: var(--faint); }

/* ============================================================
   CARRINHO / CHECKOUT
   ============================================================ */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; padding-block: 28px 80px; }
.cart-item { display: grid; grid-template-columns: 1fr auto; gap: 14px 20px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item:first-child { padding-top: 0; }
.cart-item .n { font-family: var(--f-display); font-weight: 800; font-size: 19px; }
.cart-item .m { color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 4px; }
.cart-item .p { text-align: right; font: 800 18px/1.2 var(--f-mono); }
.cart-item .p small { display: block; font: 600 12px var(--f-body); color: var(--muted); }
.cart-item .ctrl { grid-column: 1 / -1; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px; }
.seg button { border: 0; background: none; height: 32px; padding: 0 12px; border-radius: var(--r-pill); font-size: 13px; font-weight: 700; color: var(--muted); }
.seg button[aria-pressed="true"] { background: var(--surface-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.text-btn { border: 0; background: none; color: var(--muted); font-size: 13px; font-weight: 700; padding: 6px; }
.text-btn:hover { color: var(--loss); }
.summary { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sum-row span:first-child { color: var(--muted); }
.sum-row.total { padding-top: 14px; border-top: 1px solid var(--line); align-items: baseline; }
.sum-row.total span:last-child { font: 800 28px/1 var(--f-mono); letter-spacing: -0.03em; }
.coupon { display: flex; gap: 8px; }
.coupon input { flex: 1; min-width: 0; }
.note { font-size: 13px; color: var(--muted); }
.note.ok { color: var(--accent); }
.note.err { color: var(--loss); }
/* regra de renovação junto do botão de assinar */
.renova-nota { font-size: 12px; line-height: 1.45; color: var(--muted); margin-top: 8px; text-align: left; }
.actions .renova-nota { margin-top: 2px; }
.fld-check .check { align-items: flex-start; }
.den-ops { display: grid !important; gap: 8px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.fld { display: grid; gap: 6px; }
.fld label { font-size: 13px; font-weight: 700; color: var(--muted); }
.fld input, .fld select, .fld textarea { height: 48px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); padding: 0 14px; width: 100%; }
.fld textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 110px; }
.fld input:focus, .fld select:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.fld .hint { font-size: 12px; color: var(--faint); }
.step-title { display: flex; gap: 12px; align-items: center; margin-bottom: 18px; }
.step-title .n { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 800 13px/1 var(--f-mono); }
.pay-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.pay-tabs.two { grid-template-columns: repeat(2, 1fr); }
.pay-tab {
  display: grid; justify-items: center; gap: 6px; padding: 14px 8px; border-radius: var(--r-md); background: var(--surface-2);
  border: 1px solid var(--line-2); font-weight: 700; font-size: 14px; color: var(--muted); text-align: center;
}
.pay-tab[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); color: var(--text); }
.pay-tab svg { color: var(--accent); }
.pix-box { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; padding: 16px; border-radius: var(--r-md); background: var(--surface-2); }
.qr { width: 140px; height: 140px; border-radius: 10px; background: #fff; padding: 10px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--accent); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.gateway-note { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--faint); justify-content: center; }
.success { max-width: 640px; margin: 0 auto; padding-block: 60px 100px; text-align: center; display: grid; gap: 18px; justify-items: center; }
.success .ok-ic { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); box-shadow: 0 0 0 10px rgb(var(--accent-rgb) / .05); }
.success ol { text-align: left; display: grid; gap: 10px; padding-left: 20px; color: var(--muted); }
.success ol li::marker { color: var(--accent); font-family: var(--f-mono); font-weight: 800; }

/* ============================================================
   COMUNIDADE
   ============================================================ */
/* a comunidade usa a largura da tela (o resto do site fica em --wrap) */
.wrap.wrap-largo { max-width: 1600px; }
.com-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr) 320px; gap: 24px; align-items: start; padding-block: 28px 80px; }
.com-layout.topic-view { grid-template-columns: minmax(0, 1fr) 320px; }
.cat-list { display: grid; gap: 2px; position: sticky; top: calc(var(--header-h) + 20px); }
.cat-list h4 { font: 700 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }
.cat-list button { border: 0; background: none; text-align: left; padding: 10px 12px; border-radius: 10px; font-weight: 600; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; }
.cat-list button:hover { color: var(--text); background: var(--surface); }
.cat-list button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); }
.cat-list button .n { font-family: var(--f-mono); font-size: 12px; color: var(--faint); }
.topic-list { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.topic { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.topic:last-child { border-bottom: 0; }
.topic:hover { background: var(--surface-2); }
.avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 800 14px/1 var(--f-display); background: var(--surface-3); color: var(--text); flex: none; }
.avatar.team { background: var(--accent); color: var(--accent-ink); }
.topic .ti { font-weight: 700; font-size: 16px; line-height: 1.35; }
.topic .tm { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; color: var(--muted); font-size: 13px; margin-top: 6px; }
.topic .st { text-align: right; font-family: var(--f-mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.topic .st b { display: block; color: var(--text); font-size: 16px; }
.post { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.post:last-of-type { border-bottom: 0; }
.post .ph { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.post .ph b { font-size: 15px; }
.post .pb { margin-top: 8px; color: var(--text-2); white-space: pre-wrap; overflow-wrap: anywhere; } /* respeita as quebras de linha (questionário dos testadores, 27/10/2026) */
.post.team .pb { padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); border: 1px solid rgb(var(--accent-rgb) / .2); color: var(--text); }
.tg-card { background: linear-gradient(180deg, rgba(42,171,238,.1), transparent 60%), var(--surface); border: 1px solid rgba(42,171,238,.3); border-radius: var(--r-lg); padding: 20px; display: grid; gap: 14px; }
.tg-card h3 { display: flex; gap: 10px; align-items: center; font-size: 18px; }
.tg-card p { color: var(--muted); font-size: 14px; }
.tg-group { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px; border-radius: 12px; background: var(--surface-2); }
.tg-group .nm { font-weight: 700; font-size: 14px; }
.tg-group .mm { font-size: 12px; color: var(--muted); }
.side-stack { display: grid; gap: 16px; position: sticky; top: calc(var(--header-h) + 20px); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.rules li { display: flex; gap: 10px; }
.rules li::before { content: "—"; color: var(--accent); }
.online { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.online i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

/* ============================================================
   ÁREA DO ASSINANTE
   ============================================================ */
.acc-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; padding-block: 28px 80px; }
.acc-nav { display: grid; gap: 2px; position: sticky; top: calc(var(--header-h) + 20px); }
.acc-user { display: flex; gap: 12px; align-items: center; padding: 6px 4px 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.acc-user .nm { font-weight: 800; }
.acc-user .sm { font-size: 12px; color: var(--muted); }
.acc-nav button { border: 0; background: none; text-align: left; padding: 11px 12px; border-radius: 10px; font-weight: 600; color: var(--muted); }
.acc-nav button:hover { color: var(--text); background: var(--surface); }
.acc-nav button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
.kpi-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.kpi .l { font-size: 13px; color: var(--muted); font-weight: 600; }
.kpi .v { font: 800 26px/1.2 var(--f-mono); margin-top: 6px; letter-spacing: -0.02em; }
.kpi .s { font-size: 12px; color: var(--faint); margin-top: 2px; }
.sub-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 20px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); }
.sub-row:last-child { border-bottom: 0; }
.sub-row .n { font-weight: 800; font-size: 17px; }
.sub-row .m { font-size: 13px; color: var(--muted); margin-top: 4px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sub-row .confirm { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px; border-radius: 12px; background: var(--loss-soft); font-size: 14px; }
.lic { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; display: grid; gap: 14px; background: var(--surface); }
.lic + .lic { margin-top: 14px; }
.lic-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: flex-start; }
.key { display: flex; gap: 8px; align-items: center; background: var(--surface-2); border: 1px dashed var(--line-2); border-radius: 10px; padding: 8px 8px 8px 14px; font: 600 14px var(--f-mono); overflow-x: auto; }
.key code { flex: 1; white-space: nowrap; }
.accts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.acct { display: inline-flex; gap: 8px; align-items: center; height: 34px; padding: 0 6px 0 12px; border-radius: var(--r-pill); background: var(--surface-3); font: 600 13px var(--f-mono); }
.acct button { border: 0; background: none; width: 24px; height: 24px; border-radius: 50%; color: var(--muted); }
.acct button:hover { background: var(--loss-soft); color: var(--loss); }
.acct-add { display: flex; gap: 8px; }
.acct-add input { width: 150px; height: 34px; border-radius: var(--r-pill); background: var(--surface-2); border: 1px solid var(--line-2); padding: 0 12px; font-family: var(--f-mono); font-size: 13px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: 14px; }
.table th { text-align: left; font: 700 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--line); }
.table td.num { text-align: right; }
.table th.r { text-align: right; }

/* ============================================================
   FOOTER, TOAST, MODAL
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-block: 56px 32px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer h4 { font: 700 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 14px; color: var(--muted); }
.footer ul a:hover { color: var(--accent); }
.footer .tag { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 36ch; }
.broker-partner { display: grid; justify-items: start; gap: 10px; margin-top: 22px; }
.broker-partner > span { color: var(--muted); font-size: 12px; }
.tickmill-logo { display: block; width: 160px; height: 28px; object-fit: contain; }
.broker-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.bingx-logo { display: block; width: 88px; height: 28px; object-fit: contain; } /* rodapé: Tickmill + BingX, 03/11/2026 */
.broker-partner a { display: inline-flex; padding-block: 4px; }
.legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 12px; color: var(--faint); line-height: 1.7; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 20px); opacity: 0; z-index: 90;
  background: var(--surface-3); border: 1px solid rgb(var(--accent-rgb) / .4); color: var(--text); padding: 12px 18px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 14px; display: flex; gap: 10px; align-items: center; transition: all .25s ease; pointer-events: none; max-width: calc(100% - 32px);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { color: var(--accent); flex: none; }

.modal-bg { position: fixed; inset: 0; background: rgba(0,0,0,.66); backdrop-filter: blur(4px); z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 28px; display: grid; gap: 16px; position: relative; }
.modal .x { position: absolute; top: 14px; right: 14px; }
.divider { display: flex; gap: 12px; align-items: center; color: var(--faint); font-size: 12px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1080px) {
  .plans { grid-template-columns: repeat(2, 1fr); }
  .com-layout { grid-template-columns: minmax(0, 1fr) 300px; }
  .com-layout .cat-col { grid-column: 1 / -1; }
  .cat-list { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .cat-list h4 { width: 100%; margin-bottom: 4px; }
  .cat-list button { background: var(--surface); }
}
@media (max-width: 920px) {
  .hero-grid, .split, .community-teaser, .robo-layout, .two-col { grid-template-columns: minmax(0, 1fr); }
  .hero-card { margin-inline: 12px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step::after { display: none; }
  .buy, .summary { position: static; }
  .com-layout, .com-layout.topic-view { grid-template-columns: minmax(0, 1fr); }
  .side-stack { position: static; }
  .acc-layout { grid-template-columns: minmax(0, 1fr); }
  .acc-nav { position: static; display: flex; overflow-x: auto; gap: 4px; scrollbar-width: none; }
  .acc-user { display: none; }
  .acc-nav button { white-space: nowrap; }
  .acc-nav button[aria-pressed="true"] { box-shadow: inset 0 -2px 0 var(--accent); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .guarantee { grid-template-columns: auto 1fr; }
  .guarantee .btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .stats-bar .wrap { grid-template-columns: 1fr 1fr; }
  .stats-bar .s:nth-child(3) { border-left: 0; }
  .stats-bar .s:nth-child(n+3) { border-top: 1px solid var(--line); }
  .market-grid, .steps, .plans, .form-grid, .kpi-row { grid-template-columns: minmax(0, 1fr); }
  .metric-grid { grid-template-columns: 1fr 1fr; }
  .guarantee { grid-template-columns: 1fr; text-align: left; }
  .float-metric.m2 { left: -8px; }
  .float-metric.m1 { left: auto; right: 8px; top: -30px; }
  .pix-box { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .topic { grid-template-columns: 36px minmax(0, 1fr); }
  .topic .st { grid-column: 2; text-align: left; }
  .topic .st b { display: inline; margin-right: 4px; }
  .pay-tabs { grid-template-columns: 1fr 1fr 1fr; }
  .logo small { display: none; }
  .header-actions .toggle-group { display: none; }
}

/* ============================================================
   GRÁFICOS (SVG gerado em js/app.js)
   ============================================================ */
.ch-line { fill: none; stroke: var(--accent); stroke-linejoin: round; stroke-linecap: round; }
.ch-dot { fill: var(--accent); stroke: var(--bg); stroke-width: 2; }
.ch-grid { stroke: var(--line); stroke-width: 1; }
.ch-grid-v { stroke-dasharray: 2 4; }
.ch-zero { stroke: var(--line-2); stroke-width: 1.2; }
.ch-lab { fill: var(--muted); font: 600 11px var(--f-mono); }
.ch-cap { fill: var(--faint); letter-spacing: .08em; text-transform: uppercase; font-size: 10px; }
.ch-val { fill: var(--text); font: 700 10px var(--f-mono); }
.ch-dd { fill: var(--loss); fill-opacity: .18; }
.ch-ddline { fill: none; stroke: var(--loss); stroke-width: 1.4; stroke-opacity: .85; }
.ch-barp { fill: var(--gain); }
.ch-bar { fill: var(--accent); }
.ch-barn { fill: var(--loss); }
.ch-cross { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 3 3; }
.ch-tipbg { fill: var(--surface-3); stroke: var(--line-2); }
.ch-tipt1 { fill: var(--text); font: 700 12px var(--f-mono); }
.ch-tipt2 { fill: var(--loss); font: 600 11px var(--f-mono); }
.ch-hit { cursor: crosshair; }
.spark { display: block; width: 100%; height: auto; }
/* robô ainda sem backtest cadastrado */
.sem-bt { display: grid; place-items: center; min-height: 64px; border: 1px dashed var(--line); border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 600; }


/* ============================================================
   LAYOUT NOVO — "Preto + Prata"
   Ativado por <html data-layout="novo"> (escolha em Admin → Aparência).
   Só troca tokens + alguns acabamentos metálicos; a estrutura é a mesma.
   ============================================================ */
[data-layout="novo"] {
  --bg: #050505; --bg-rgb: 5 5 5;
  --bg-2: #0A0A0B;
  --surface: #0E0F10; --surface-rgb: 14 15 16;
  --surface-2: #141618;
  --surface-3: #1C1F22;
  --surface-4: #262A2E;
  --line-rgb: 220 226 232;
  --line: rgb(220 226 232 / .08);
  --line-2: rgb(220 226 232 / .15);
  --text: #F2F4F6;
  --text-2: #D3D8DD;
  --muted: #9AA2AA;
  --faint: #5E656C;
  --accent: #D6DBE0; --accent-rgb: 214 219 224;
  --accent-2: #9EA6AE;
  --accent-ink: #0B0C0D;
  --accent-hover: #F1F4F7;
  --accent-soft: rgb(214 219 224 / .10);
  --accent-glow: rgb(214 219 224 / .28);
  --gain: #3FD48A; --gain-rgb: 63 212 138;
  --msg-me: #1E2226;
  --btn-bg: linear-gradient(180deg, #FAFBFC 0%, #D2D8DD 48%, #A4ACB4 100%);
  --topbar-bg: linear-gradient(90deg, #7D858C 0%, #E6EAED 50%, #7D858C 100%);
  --metal: linear-gradient(180deg, #FFFFFF 0%, #DCE1E5 45%, #8E969E 100%);
  --f-display: "Chakra Petch", "Arial Narrow", system-ui, sans-serif;
  --f-body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, Consolas, monospace;
  --title-weight: 700;
  --title-track: -0.005em;
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px; --r-pill: 6px;
}
[data-layout="novo"] body, body[data-layout="novo"] { background: var(--bg); }
[data-layout="novo"] .hl,
[data-layout="novo"] .hero-card .big,
[data-layout="novo"] .market-card .tag,
[data-layout="novo"] .seal b {
  background: var(--metal); -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-layout="novo"] .btn-primary { color: var(--accent-ink); box-shadow: inset 0 1px 0 rgb(255 255 255 / .6), 0 1px 0 rgb(0 0 0 / .6); }
[data-layout="novo"] .btn-primary:hover { background: var(--btn-bg); filter: brightness(1.07); box-shadow: inset 0 1px 0 rgb(255 255 255 / .7), 0 10px 30px -10px var(--accent-glow); }
[data-layout="novo"] .eyebrow { color: var(--muted); }
[data-layout="novo"] .eyebrow::before { background: var(--metal); box-shadow: none; transform: rotate(45deg); border-radius: 1px; }
[data-layout="novo"] .hero::before { background: radial-gradient(closest-side, rgb(214 219 224 / .10), transparent 70%); }
[data-layout="novo"] .subtabs button[aria-pressed="true"],
[data-layout="novo"] .billing-switch button[aria-pressed="true"],
[data-layout="novo"] .step-title .n,
[data-layout="novo"] .plan .ribbon,
[data-layout="novo"] .badge-count { background: var(--btn-bg); }
[data-layout="novo"] .topbar { color: var(--accent-ink); }
[data-layout="novo"] .market-tabs button[aria-selected="true"] { border-bottom-color: var(--accent); }


/* ============================================================
   CONTA DO CLIENTE E ASSINATURA DO CLUBE (js/clube.js)
   ============================================================ */
/* validação de formulário */
.fld-erro { color: var(--loss); font-size: 12px; font-weight: 600; min-height: 0; }
.fld-erro:empty { display: none; }
.fld input[aria-invalid="true"], .fld select[aria-invalid="true"] { border-color: var(--loss); box-shadow: 0 0 0 3px var(--loss-soft); }
.note.mock { color: var(--warn); }
.btn.mock { border: 1px dashed var(--warn); color: var(--warn); background: transparent; }
input.cod { font: 700 22px/1 var(--f-mono); letter-spacing: .4em; text-align: center; }

/* cabeçalho: usuário logado / criar conta */
.user-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px 0 4px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 14px; }
.user-btn:hover { border-color: var(--line-2); }
.user-btn .avatar { width: 34px; height: 34px; font-size: 13px; background: var(--accent); color: var(--accent-ink); }
@media (max-width: 920px) { .user-btn .nm { display: none; } .user-btn { padding: 0 4px; } }
/* 30/10/2026: no celular "Entrar" e "Assinar" continuam no canto superior direito (pedido do Rodolfo) */
@media (max-width: 520px) {
  .header .header-actions { gap: 6px; }
  .header .btn-entrar, .header .btn-criar { padding-inline: 10px; font-size: 13px; }
  .header .logo { gap: 8px; min-width: 0; }
  .header .logo > span:last-child { font-size: 13px; }
}
@media (max-width: 340px) { .header .logo > span:last-child { display: none; } }

/* convite sutil (cadastro progressivo) */
.convite {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 80; width: min(360px, calc(100% - 32px));
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 18px; display: grid; gap: 12px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); transform: translateY(24px); opacity: 0; transition: transform .35s ease, opacity .35s ease;
}
.convite.on { transform: none; opacity: 1; }
@media (prefers-reduced-motion: reduce) { .convite { transition: none; } }
.convite .x { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; }
.cv-head { display: flex; gap: 12px; align-items: center; padding-right: 30px; }
.cv-head b { display: block; font: var(--title-weight) 17px/1.2 var(--f-display); }
.cv-head small { color: var(--muted); font-size: 12px; }
.cv-bens { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: var(--muted); }
.cv-bens li::before { content: "✓ "; color: var(--accent); font-weight: 800; }
.cv-form { display: grid; gap: 8px; }
.cv-form .fld input { height: 40px; }
.cv-form .fld label { font-size: 12px; }
.cv-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.cv-foot .text-btn:first-child { color: var(--accent); }
@media (max-width: 560px) {
  .convite { right: 0; left: 0; bottom: 0; width: 100%; border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); max-height: 80vh; overflow-y: auto; }
  .cv-bens { display: none; }
}

/* cadastro em 2 passos (UX-36) e convite compacto no celular (UX-30) */
.cad-form { display: grid; gap: 12px; }
.cad-passo { display: grid; gap: 10px; }
.cv-form .cad-passo { gap: 8px; }
.cad-etapa { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--muted); }
.cad-etapa b { color: var(--text); }
.cad-trilho { flex: 1; height: 3px; border-radius: 2px; background: var(--surface-3); overflow: hidden; }
.cad-trilho i { display: block; width: 50%; height: 100%; background: var(--btn-bg); transition: width .2s ease; }
form.passo2 .cad-trilho i { width: 100%; }
.cad-acoes { display: flex; gap: 8px; }
.cad-acoes .btn-ghost { flex: none; }
.cv-abrir { display: none; }
@media (max-width: 560px) {
  .convite:not(.aberto) { gap: 10px; }
  .convite:not(.aberto) .cv-abrir { display: inline-flex; }
  .convite:not(.aberto) .cv-form, .convite:not(.aberto) .cv-foot .text-btn:last-child { display: none; }
}

/* janela de conta */
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface-2); border-radius: var(--r-pill); padding: 4px; }
.auth-tabs button { border: 0; background: none; height: 38px; border-radius: var(--r-pill); font-weight: 700; color: var(--muted); }
.auth-tabs button[aria-selected="true"] { background: var(--surface-3); color: var(--text); }
.modal { max-height: calc(100vh - 32px); overflow-y: auto; }

/* favoritos */
.robo-card-wrap { position: relative; display: flex; }
.robo-card-wrap .robo-card { flex: 1; }
.fav-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font-weight: 700; font-size: 13px; }
.fav-btn:hover { color: var(--loss); border-color: var(--loss); }
.fav-btn.on { color: var(--loss); border-color: rgb(var(--loss-rgb) / .5); background: var(--loss-soft); }
.fav-btn.sm { width: 38px; padding: 0; justify-content: center; }
.robo-card-wrap > .fav-btn { position: absolute; right: 14px; bottom: 14px; z-index: 2; }
.robo-card .bottom { padding-right: 46px; }
.robo-card .bottom .cap .l { font-size: 11px; color: var(--muted); font-weight: 700; }
.robo-card .bottom .cap .v { font: 700 15px/1.3 var(--f-mono); }
.robo-card .incluso { align-self: flex-start; font: 700 10px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }

/* caixa "Incluso no Clube": no topo no celular, lateral no computador */
.buy .inc { margin-top: 2px; }
.buy-top { display: none; margin-top: 18px; position: static; }
@media (max-width: 920px) { .buy-top { display: grid; } .buy-side { display: none; } }
/* arquivos do robô para o assinante baixar: o nome do arquivo encolhe com reticências; sem arquivo, "Em breve" */
.buy-arq { padding-inline: 16px; min-width: 0; }
.buy-arq svg { flex: none; }
.buy-arq span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.buy-arq small { flex: none; font: 600 12px/1 var(--f-mono); opacity: .75; }
.buy-arq:disabled { opacity: .6; cursor: progress; }
.robo-card .incluso.avulso { color: var(--warn, var(--text)); }
/* material da Biblioteca sem acesso: o que vem nele (sem links) e como liberar */
.bib-trava { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 32px 24px; margin-top: 18px; }
.bib-trava > svg { width: 28px; height: 28px; color: var(--muted); }
.bib-trava h2 { margin: 0; font-size: 22px; }
.bib-trava .row { flex-wrap: wrap; gap: 10px; }
.bib-previa { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 8px; width: min(100%, 520px); text-align: left; }
.bib-previa li { display: flex; align-items: center; gap: 10px; min-width: 0; }
.bib-previa li > span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.buy-embreve { height: 48px; display: grid; place-items: center; border: 1px dashed var(--line-2); border-radius: var(--r-pill); color: var(--muted); font-weight: 700; font-size: 15px; }

/* planos do Clube */
.plans.plans4 { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-inline: auto; }
@media (max-width: 1200px) { .plans.plans4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .plans.plans4 { grid-template-columns: minmax(0, 1fr); } }
.plans.plans3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; margin-inline: auto; }
@media (max-width: 920px) { .plans.plans3 { grid-template-columns: minmax(0, 1fr); } }
.plans.plans2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 700px; margin-inline: auto; }
.plans.plans1 { grid-template-columns: minmax(0, 1fr); max-width: 380px; margin-inline: auto; }
@media (max-width: 920px) { .plans.plans2 { grid-template-columns: minmax(0, 1fr); } }

/* portão do fórum */
.gate { max-width: 720px; margin: clamp(32px, 6vw, 72px) auto 90px; display: grid; gap: 18px; justify-items: start; }
.gate h1 { font-size: clamp(28px, 4vw, 44px); }
.gate-blur { width: 100%; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; filter: blur(4px); opacity: .55; pointer-events: none; user-select: none; }

/* minha conta */
.acc-nav .acc-tab { display: block; border: 0; background: none; text-align: left; padding: 11px 12px; border-radius: 10px; font-weight: 600; color: var(--muted); font-size: 15px; }
.acc-nav .acc-tab:hover { color: var(--text); background: var(--surface); }
.acc-nav .acc-tab[aria-current="page"] { background: var(--surface-2); color: var(--text); box-shadow: inset 3px 0 0 var(--accent); }
.acc-nav .acc-tab.sair { color: var(--faint); margin-top: 8px; }
@media (max-width: 920px) { .acc-nav .acc-tab { white-space: nowrap; } .acc-nav .acc-tab[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); } }
.acc-h { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 18px; }
.clube-status { display: grid; gap: 12px; border-color: rgb(var(--accent-rgb) / .3); }
.fav-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.fav-item { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); }
.fav-item:hover { border-color: var(--line-2); }
.chip-btn { height: 34px; padding: 0 14px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); font-weight: 700; font-size: 13px; }
.chip-btn[aria-pressed="true"] { background: var(--surface-3); color: var(--text); border-color: var(--accent); }
.compra { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px 18px; display: grid; gap: 12px; margin-bottom: 12px; }
.compra.open { border-color: var(--line-2); }
.compra-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.compra-top h3 { font-size: 18px; margin-block: 4px; }
.compra-dir { display: grid; gap: 6px; justify-items: end; }
.compra-dir b { font-size: 20px; }
.compra-det { background: var(--surface-2); border-radius: var(--r-sm); padding: 4px 14px; }
.compra-sol { display: grid; gap: 6px; }
.compra-sol .sol { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.compra-acoes { display: flex; gap: 6px; flex-wrap: wrap; padding-top: 10px; border-top: 1px solid var(--line); }
.btn-xs { height: 30px; padding: 0 10px; font-size: 12px; gap: 6px; }
.btn-danger { background: var(--loss); color: #2A0606; }
.adm-confirm { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px; background: var(--loss-soft); font-size: 13px; }
.adm-confirm .row { margin-left: auto; }
.row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.ajuda-conta { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 10px 14px; }
.ajuda-conta summary { cursor: pointer; font-weight: 700; font-size: 14px; }
.ajuda-conta p { margin-top: 8px; }
a.period-opt { color: inherit; }

/* comunidades: cabeçalho da comunidade escolhida e bloqueio para não assinantes */
.com-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; padding: 18px 20px; border: 1px solid var(--line-2); border-radius: var(--r-lg); background: var(--surface); }
.com-head h2 { font-size: 22px; margin: 0; }
.com-head p { margin: 4px 0 0; }
/* seções da Comunidade (Discussões | Biblioteca): abas logo abaixo do cabeçalho */
.com-topo h1 { max-width: none; }
.com-secoes { display: flex; gap: 4px; margin-top: 22px; box-shadow: inset 0 -1px 0 var(--line); overflow-x: auto; overflow-y: hidden; }
.com-secoes a { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-bottom: 2px solid transparent; font-weight: 700; color: var(--muted); white-space: nowrap; }
.com-secoes a:hover { color: var(--text); }
.com-secoes a[aria-current="page"] { color: var(--text); border-bottom-color: var(--accent); }
.com-secoes svg { width: 16px; height: 16px; }
.com-secoes .n { font: 600 12px/1 var(--f-mono); color: var(--faint); padding: 3px 7px; border-radius: var(--r-pill); background: var(--surface-2); }
.bib-recentes { display: grid; gap: 4px; }
.bib-recentes h3 { font-size: 16px; margin-bottom: 8px; }
.bib-recentes a:not(.link) { display: grid; gap: 2px; padding: 9px 10px; margin-inline: -10px; border-radius: 10px; overflow-wrap: anywhere; }
.bib-recentes a:not(.link):hover { background: var(--surface-2); }
.bib-recentes b { font-size: 14px; line-height: 1.35; }
.bib-recentes .link { margin-top: 8px; }
/* biblioteca: grupos à esquerda, cartões de material à direita */
.com-layout.bib-layout { grid-template-columns: 220px minmax(0, 1fr); }
.bib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.bib-card { display: flex; flex-direction: column; gap: 10px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.bib-card:hover { border-color: var(--line-2); }
.bib-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bib-card h3 { font-size: 17px; line-height: 1.3; margin: 0; overflow-wrap: anywhere; }
.bib-card h3 a:hover { color: var(--accent); }
.bib-desc { margin: 0; color: var(--muted); font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bib-pe { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }
.bib-material { max-width: 980px; padding-block: 20px 80px; }
.bib-texto { margin-top: 16px; color: var(--text-2); white-space: pre-line; }
.bib-video { display: block; width: 100%; max-height: 70vh; margin-top: 20px; background: #000; border: 1px solid var(--line); border-radius: var(--r-lg); }
.bib-h2 { font-size: 20px; margin: 34px 0 14px; }
.bib-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.bib-itens { display: grid; gap: 12px; margin-top: 20px; }
.bib-item { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); min-width: 0; }
.bib-item-nm { flex: 1 1 220px; min-width: 0; display: grid; gap: 2px; overflow-wrap: anywhere; }
.bib-item-video { display: block; }
.bib-item-video h3 { font-size: 16px; margin: 0; overflow-wrap: anywhere; }
.bib-item-video .bib-video { margin-top: 12px; }
@media (max-width: 1080px) { .com-layout.bib-layout { grid-template-columns: minmax(0, 1fr); } }
/* filtros (abas) e etiquetas dos tópicos */
.com-filtros { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; }
.tag-chip { display: inline-flex; align-items: center; gap: 4px; height: 24px; padding: 0 9px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface-2); color: var(--muted); font: 600 12px/1 var(--f-mono); cursor: pointer; }
.tag-chip:hover { color: var(--text); border-color: var(--accent); }
.tag-chip[aria-pressed="true"] { color: var(--text); border-color: var(--accent); background: var(--surface-3); }
.tag-chip svg { width: 12px; height: 12px; }
.tag-linha { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
/* no celular, abas e etiquetas mais altas para o toque */
@media (max-width: 920px) {
  .com-filtros .seg button { height: 44px; padding: 0 14px; }
  .tag-chip { height: 36px; padding: 0 12px; font-size: 13px; }
}
/* cadastro do visitante (grupos abertos para todos) */
.vis-form { display: grid; gap: 14px; }
.vis-perg { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; min-width: 0; }
.vis-perg legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 8px; }
.vis-perg legend small { font-weight: 400; color: var(--muted); }
.vis-ops { display: flex; flex-wrap: wrap; gap: 8px; }
.vis-ops label { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--r-md); font-size: 14px; cursor: pointer; }
.vis-ops label:has(input:checked) { border-color: var(--accent); color: var(--text); }
.vis-ops input { accent-color: var(--accent); width: 16px; height: 16px; }
.vis-aviso { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.com-lock { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 24px; }
.com-lock > svg { width: 30px; height: 30px; color: var(--muted); }
.com-lock h2 { margin: 0; }
.com-cad svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 6px; color: var(--muted); }
.cat-list .com-nm { flex: 1; text-align: left; }

/* ---------------- Escritório dos robôs (#escritorio, js/escritorio.js + js/escritorio3d.js) ---------------- */
.esc { max-width: 1560px; padding-block: clamp(24px, 4vw, 44px) 72px; }
.esc-head { display: flex; flex-wrap: wrap; gap: 16px 28px; align-items: flex-end; justify-content: space-between; margin-bottom: 18px; }
.esc-head h1 { font-size: clamp(28px, 3.6vw, 44px); margin-block: 12px 6px; }
.esc-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.esc-relogio { padding: 6px 12px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); font-weight: 600; font-size: 14px; }
.esc-aviso { margin: 0 0 14px; padding: 10px 14px; border-radius: var(--r-md); background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.esc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
/* palco: a cena 3D e, por cima dela, os rótulos, a troca de andar e a tela do robô */
.esc-palco { position: relative; container-type: inline-size; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #1a2028 0%, #0b0d10 60%, #060708 100%); }
.esc-cena { position: relative; }
.esc-cena canvas { display: block; width: 100%; height: clamp(380px, 68vh, 760px); cursor: grab; touch-action: pan-y; }
.esc-rotulos { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.esc-rot { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 3px; will-change: transform; }
.esc-rot > * { pointer-events: auto; }
.esc-rot-n, .esc-rot-t, .esc-rot-andar { border: 0; font: 600 12px/1 var(--f-body); border-radius: 5px; padding: 4px 7px; white-space: nowrap; }
.esc-rot-n { background: rgb(11 12 13 / .86); color: #F2F4F6; box-shadow: inset 0 -2px 0 var(--cor); }
.esc-rot-t { background: #0E7A4E; color: #fff; font-family: var(--f-mono); padding-left: 10px; box-shadow: inset 4px 0 0 var(--cor); }
.esc-rot-t.neg { background: #B5403A; }
.esc-rot.compacto .esc-rot-n, .esc-rot.compacto .esc-balao { display: none; }
.esc-rot.so-tag:not(:hover) .esc-rot-n { display: none; }
.esc-rot.sel .esc-rot-n { background: var(--cor); color: #0B0C0D; }
.esc-balao { max-width: 190px; padding: 7px 10px; border: 2px solid var(--cor); border-radius: 9px; background: #F2F4F6; color: #0B0C0D; font: 500 12.5px/1.3 var(--f-body); text-align: left; white-space: normal; width: max-content; }
.esc-rot-andar { position: absolute; left: 0; top: 0; pointer-events: auto; padding: 6px 10px; background: rgb(11 12 13 / .86); color: #F2F4F6; font-size: 13px; box-shadow: inset 3px 0 0 var(--cor); cursor: pointer; }
.esc-rot-andar:hover { background: #1C1F22; }
.esc-vazio { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); max-width: min(360px, 80%); padding: 12px 16px; border-radius: var(--r-md); background: rgb(11 12 13 / .86); color: #D3D8DD; font-weight: 600; font-size: 14px; text-align: center; }
.esc-andares { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.esc-andares .chip-btn, .esc-abas .chip-btn { height: 30px; padding: 0 12px; font-size: 12.5px; }
.esc-andares .chip-btn { background: rgb(11 12 13 / .8); }
.esc [role="tab"][aria-selected="true"] { background: var(--surface-3); color: var(--text); border-color: var(--accent); }
.esc-dica { position: absolute; left: 14px; bottom: 10px; margin: 0; font-size: 12px; color: rgb(242 244 246 / .55); pointer-events: none; }
.esc-carga { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); font-weight: 600; background: rgb(6 7 8 / .7); }
/* tela do robô: os dados do MetaTrader ficam só aqui */
.esc-ficha { position: absolute; right: 12px; top: 12px; bottom: 12px; width: min(330px, calc(100% - 24px)); display: flex; flex-direction: column; border: 1px solid var(--line-2); border-radius: var(--r-md); background: rgb(var(--surface-rgb) / .95); backdrop-filter: blur(6px); font-size: 13.5px; }
.esc-ficha header { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; padding: 12px 12px 10px 14px; border-bottom: 1px solid var(--line); }
.esc-ficha header i { width: 14px; height: 14px; border-radius: 4px; }
.esc-ficha header b { display: block; font-size: 16px; line-height: 1.2; }
.esc-ficha header small { color: var(--muted); font-size: 12.5px; }
.esc-ficha-x { width: 30px; height: 30px; border: 1px solid var(--line-2); border-radius: var(--r-sm); background: none; font-size: 18px; line-height: 1; color: var(--muted); }
.esc-ficha-x:hover { color: var(--text); background: var(--surface-2); }
.esc-ficha-corpo { overflow-y: auto; padding: 12px 14px 14px; }
.esc-ficha h3 { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
.esc-ficha dl { display: grid; gap: 3px; margin: 0; }
.esc-ficha dl div { display: flex; justify-content: space-between; gap: 12px; }
.esc-ficha dt { color: var(--muted); }
.esc-ficha dd { margin: 0; text-align: right; }
.esc-ficha .link { margin-top: 14px; }
.esc-ficha .note { margin-top: 10px; }
.esc-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.esc-kpis div { padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); }
.esc-kpis span { display: block; color: var(--muted); font-size: 11.5px; }
.esc-kpis b { font-size: 15px; }
.esc-curva { display: block; width: 100%; height: 64px; margin-bottom: 8px; }
.esc-negocios { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.esc-negocios li { display: grid; grid-template-columns: 44px 1fr auto 86px; gap: 8px; }
.esc-negocios li span:last-child { text-align: right; }
/* coluna lateral */
.esc-lateral { display: grid; gap: 18px; min-width: 0; }
.esc-lateral .panel + .panel { margin-top: 0; }
.esc-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.esc-total h2 { font-size: 20px; }
.esc-total .chip-btn { flex: none; height: 30px; padding: 0 10px; font-size: 12px; }
.esc-bloco + .esc-bloco { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.esc-bloco-cab { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.esc-bloco-cab > span { display: grid; grid-template-columns: 10px auto; column-gap: 8px; align-items: center; }
.esc-bloco-cab i { width: 10px; height: 10px; border-radius: 3px; grid-row: span 2; }
.esc-bloco-cab b { font-size: 15px; line-height: 1.2; }
.esc-bloco-cab small { color: var(--muted); font-size: 12px; }
.esc-bloco-cab strong { font-size: 19px; }
.esc-robos { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.esc-robos button { width: 100%; display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; text-align: left; padding: 8px; border: 1px solid transparent; border-radius: var(--r-sm); background: none; }
.esc-robos button:hover { background: var(--surface-2); }
.esc-robos button[aria-pressed="true"] { border-color: var(--accent); background: var(--surface-2); }
.esc-robos i { width: 14px; height: 14px; border-radius: 4px; }
.esc-robos b { display: block; font-weight: 600; font-size: 15px; }
.esc-robos small { color: var(--muted); font-size: 12.5px; }
.esc-robos .num { font-weight: 600; font-size: 14px; }
.esc-abas { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.esc-falas { list-style: none; margin: 0; padding: 0; max-height: 300px; overflow-y: auto; display: grid; gap: 8px; font-size: 14px; }
.esc-falas time { color: var(--muted); font-variant-numeric: tabular-nums; margin-right: 6px; }
.esc-tv { margin-top: 8px; min-height: 460px; }
.esc-tv iframe { color-scheme: light; }
.esc-nota { margin-top: 14px; }
@media (max-width: 1180px) { .esc-grid { grid-template-columns: minmax(0, 1fr); } }
.esc-palco.com-ficha .esc-dica, .esc-palco.com-ficha .esc-zoom { display: none; }
.esc-zoom { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; }
.esc-zoom .chip-btn { width: 34px; padding: 0; font-size: 18px; background: rgb(11 12 13 / .8); }
/* robô selecionado: os dados aparecem nos monitores dele; esta barra identifica o robô e volta ao andar */
.esc-barra { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 8px 10px 8px 12px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: rgb(var(--surface-rgb) / .92); }
.esc-barra i { width: 12px; height: 12px; border-radius: 3px; flex: none; }
.esc-barra span { display: grid; margin-right: auto; min-width: 0; }
.esc-barra b { font-size: 15px; line-height: 1.2; }
.esc-barra small { color: var(--muted); font-size: 12.5px; }
.esc-barra .chip-btn { height: 30px; font-size: 12.5px; }
@container (min-width: 821px) { .esc-ficha { display: none; } }
@container (max-width: 820px) {
  .esc-ficha { position: static; width: auto; max-height: 70vh; margin: 10px; }
  .esc-barra { position: static; margin: 10px 10px 0; }
}

/* ---------------- Análise de Portfólio (#loja-portfolio, js/portfolio.js) ---------------- */
.pf { margin-block: 22px 28px; }
.pf-intro { color: var(--muted); max-width: 72ch; margin-bottom: 18px; }
.pf-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.pf-grid > * { min-width: 0; }
.pf-totais { display: flex; gap: 14px 36px; flex-wrap: wrap; margin-bottom: 16px; }
.pf-totais .l { font-size: 13px; color: var(--muted); font-weight: 600; }
.pf-totais .v { font: 800 28px/1.25 var(--f-mono); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.pf-totais small { color: var(--muted); font-size: 12.5px; }
.pf-ctrl { display: flex; gap: 10px 18px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; font-size: 14px; }
.pf-ctrl label { display: inline-flex; gap: 8px; align-items: center; color: var(--text-2); }
.pf-custo { display: inline-flex; gap: 10px; align-items: center; }
.pf-ctrl .field { height: 38px; }
.pf-ctrl input.field { width: 92px; font-family: var(--f-mono); }
.pf-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.pf-leg i { display: inline-block; width: 14px; height: 3px; border-radius: 2px; margin-right: 6px; vertical-align: middle; }
.pf .metric-grid .l + .v + .l { font-weight: 500; margin-top: 2px; }
.pf-filtro { margin-top: 0; }
.pf-grupo h3 { font: 700 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); padding: 18px 0 8px; border-bottom: 1px solid var(--line); }
.pf-robo { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pf-robo.on { box-shadow: inset 2px 0 0 var(--accent); padding-left: 12px; }
.pf-nome { min-width: 0; }
.pf-nome a { display: block; font-weight: 700; }
.pf-nome a:hover { color: var(--accent); }
.pf-nome small { color: var(--muted); font-size: 12.5px; }
.pf-step { display: flex; align-items: center; gap: 4px; flex: none; }
.pf-step button { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface-2); font: 700 16px/1 var(--f-mono); color: var(--text); }
.pf-step button:hover:not(:disabled) { border-color: var(--accent); }
.pf-step button:disabled { opacity: .35; cursor: default; }
.pf-step output { width: 30px; text-align: center; font: 700 15px var(--f-mono); font-variant-numeric: tabular-nums; }
.pf-salvar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.pf-salvar input { flex: 1 1 160px; height: 38px; }
.pf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pf-chip { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface-2); }
.pf-chip button { background: none; border: 0; height: 34px; padding: 0 12px; font-weight: 600; font-size: 13.5px; color: var(--text); }
.pf-chip button.x { padding: 0 12px 0 2px; color: var(--muted); }
.pf-chip button:hover { color: var(--accent); }
@media (max-width: 980px) { .pf-grid { grid-template-columns: minmax(0, 1fr); } .pf-grid aside { order: -1; } }

/* Biblioteca: página HTML em formato de catálogo (ex.: 100 estratégias), montada pela loja (CompCatalogoHtml em js/app.js) */
.bib-cat { margin-top: 24px; min-width: 0; }
.bib-cat-head { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
/* cabeçalho igual ao do HTML original (título grande em negrito, etiqueta e contagens com borda), nas cores do Clube */
.bib-cat-kicker { display: block; font: 700 12px/1.4 var(--f-body); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.bib-cat .bib-cat-head h2 { font-family: var(--f-body); font-size: clamp(32px, 5vw, 52px); font-weight: 800; line-height: 1.1; letter-spacing: -0.01em; margin: 14px 0; color: var(--text); }
.bib-cat .bib-cat-head p { color: var(--text); font-size: 16px; }
.bib-cat-stat { display: inline-block; padding: 5px 13px; border: 1px solid var(--line-2); border-radius: 30px; background: #000; color: var(--text); font-size: 14px; line-height: 1.5; }
.bib-cat-head p { margin: 0 0 12px; max-width: 760px; }
.bib-cat-stats { display: flex; gap: 8px; flex-wrap: wrap; }
.bib-cat-aviso { margin: 18px 0 0; font-size: 14px; line-height: 1.6; }
.bib-cat-tools { position: sticky; top: var(--header-h); z-index: 5; display: flex; gap: 10px; align-items: center; padding: 14px 0; margin-top: 8px; background: var(--bg); }
.bib-cat-tools .field.search { flex: 1 1 260px; min-width: 0; margin: 0; }
.bib-cat-sel { flex: 0 0 auto; width: auto; }
.bib-cat-lista { display: grid; }
.bib-cat-item { padding: 22px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.bib-cat-item[hidden] { display: none; }
.bib-cat-item h3 { font-size: 21px; margin: 6px 0 8px; overflow-wrap: anywhere; }
.bib-cat-desc { margin: 0 0 8px; font-size: 16px; line-height: 1.6; max-width: 920px; color: var(--text-2); }
.bib-cat-item .note { margin: 0 0 6px; overflow-wrap: anywhere; }
.bib-cat-nota { border-left: 2px solid var(--line-2); padding-left: 12px; }
.bib-cat-item details summary, .bib-cat-extra summary { cursor: pointer; padding: 10px 0; color: var(--accent); font-weight: 600; }
.bib-cat-item details summary .note { margin-left: 8px; font-weight: 400; }
.bib-cat-item details .btn { margin: 4px 0 10px; }
.bib-cat-code { margin: 0; max-height: 70vh; overflow: auto; padding: 18px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r-md); font: 13px/1.55 var(--f-mono); tab-size: 4; }
.bib-cat-code code { white-space: pre; }
.bib-cat-extra { margin-top: 12px; }
.bib-cat-texto { white-space: pre-wrap; font-size: 14px; line-height: 1.6; color: var(--text-2); overflow-wrap: anywhere; }
.bib-cat-rodape { margin-top: 24px; }
@media (max-width: 600px) { .bib-cat-tools { flex-wrap: wrap; } .bib-cat-tools .field.search { flex-basis: 100%; } }

/* Planos com abas de prazo (31/10/2026, Admin → Meios de pagamento; js/clube.js → CompPlanos) */
.pl-planos { display: grid; gap: 14px; }
.pz-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.pz-tab { display: grid; gap: 4px; text-align: left; padding: 14px 16px; border-radius: var(--r-md, 10px); border: 1px solid var(--line-2); background: var(--surface); color: var(--text); cursor: pointer; font: inherit; }
.pz-tab b { font-size: 15px; }
.pz-tab span { font-size: 12px; color: var(--muted); }
.pz-tab[aria-selected="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.pz-tab[aria-selected="true"] span { color: inherit; opacity: .8; }
.pz-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.pz-nota { font-size: 12px; color: var(--muted); margin: 0; }
.plans.pl-n1 { grid-template-columns: minmax(0, 380px); justify-content: center; }
.plans.pl-n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; margin-inline: auto; }
.plans.pl-n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.plans.pl-n4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .plans.pl-n4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .plans.pl-n3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 680px) { .plans.pl-n2, .plans.pl-n4 { grid-template-columns: minmax(0, 1fr); } }
.pl-planos .plans { margin-top: 10px; }
.pl-card { gap: 16px; }
.pl-card .price .v { font-size: 30px; }
.pl-card .price .s { min-height: 44px; display: grid; gap: 2px; }
.pl-card .price .s b { color: var(--text); font-weight: 600; }
.pl-card .pl-fino { font-size: 12px; color: var(--muted); }
.pl-card .btn { margin-top: 6px; }
.pl-card .pl-atual { opacity: .7; cursor: default; }
.pl-ql p { margin: 0 0 10px; font-size: 14px; }
.pl-bar { display: block; height: 5px; border-radius: 99px; background: var(--surface-3, rgba(255,255,255,.12)); overflow: hidden; }
.pl-bar i { display: block; height: 100%; border-radius: inherit; background: var(--text); }
.pl-card ul { margin-top: 6px; }
.pl-card .pl-rod { margin-top: auto; }
.troca-pl { margin-top: 14px; }
.troca-pl .period-opts { margin-top: 6px; }

/* Bloco de oferta (cards dos planos e Resumo do checkout): valor total riscado, HOJE POR, à vista no Pix, economia */
.of { display: grid; gap: 4px; }
.of-cheio { font: 500 13px var(--f-mono); color: var(--muted); }
.of-cheio s { color: var(--faint, var(--muted)); }
.of-hoje { font: 600 11px var(--f-mono); letter-spacing: .14em; color: var(--muted); margin-top: 6px; }
.of-grande { font: 800 34px/1.1 var(--f-mono); letter-spacing: -0.03em; color: var(--text); }
.of-grande .of-n { font: 700 16px var(--f-mono); color: var(--muted); letter-spacing: 0; }
.of-grande small { font: 600 13px var(--f-body); color: var(--muted); letter-spacing: 0; }
.of-linha { font-size: 13px; color: var(--muted); }
.of-linha b { color: var(--text); font-weight: 700; }
.of-fino { font: 500 12px var(--f-mono); color: var(--muted); margin-top: 4px; }
.pl-card .of-grande { font-size: 30px; }
.summary .of { padding: 12px 0 4px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }

/* Robô de membro (#robo-membro-<id>, 04/11/2026): linha onde começa o ao vivo na curva, lateral e dias ao vivo */
.ch-vivo { stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 4 4; opacity: .8; }
.ch-vivo-t { fill: var(--accent); font-weight: 700; }
.rm-lado { gap: 6px; }
.rm-lado .spec-list { margin: 0; }
.table.rm-dias { min-width: 0; }
.rm-dias td, .rm-dias th { padding: 8px 12px; }
.esc-robos .esc-rob-link { cursor: pointer; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color .15s; }
.esc-robos .esc-rob-link:hover, .esc-robos .esc-rob-link:focus-visible { text-decoration-color: currentColor; color: var(--accent); outline: none; }
