/* ============================================================
   odiegodiniz — Component classes (reutilizaveis)
   Carregue DEPOIS de tokens.css. Usa os tokens da marca.
   ============================================================ */

/* ---------- Tag / badge ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-weight: 500; font-size: var(--text-xs);
  letter-spacing: var(--track-mono); text-transform: uppercase;
  padding: 5px 10px; border: 1px solid var(--line); color: var(--ink-soft);
}
.tag-red { color: var(--on-red); background: var(--red-deep); border-color: var(--red-deep); }
.tag-ink { color: var(--bg); background: var(--ink); border-color: var(--ink); }
.tag-catalog { color: var(--red-text); border-color: var(--red-text); }

/* ---------- FAQ (accordion via <details>) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--font-display); font-weight: 500; font-size: var(--text-lg);
  letter-spacing: -.01em; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { flex-shrink: 0; width: 18px; height: 18px; position: relative; transition: transform var(--duration-base) var(--ease-out); }
.faq summary .ico::before,
.faq summary .ico::after { content: ""; position: absolute; background: var(--red-text); }
.faq summary .ico::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq summary .ico::after  { left: 8px; top: 0; width: 2px; height: 18px; transition: transform var(--duration-base) var(--ease-out); }
.faq details[open] summary .ico::after { transform: rotate(90deg); }
.faq .answer {
  padding: 0 0 24px; max-width: var(--measure);
  font-family: var(--font-body); font-size: var(--text-base); line-height: var(--lh-body); color: var(--ink-soft);
}

/* ---------- Pricing card ---------- */
.pricing-card {
  background: var(--surface); border: 1px solid var(--line); padding: 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.pricing-card.featured { border: 2px solid var(--ink); }
.pricing-card .plan { font-family: var(--font-display); font-weight: 500; font-size: var(--text-xl); }
.pricing-card .price { font-family: var(--font-display); font-weight: 700; font-size: 48px; line-height: 1; letter-spacing: -.03em; }
.pricing-card .price small { font-family: var(--font-mono); font-weight: 400; font-size: 13px; color: var(--ink-soft); letter-spacing: .04em; }
.pricing-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pricing-card li {
  font-family: var(--font-body); font-size: var(--text-base); color: var(--ink-soft);
  display: flex; gap: 10px; align-items: flex-start;
}
.pricing-card li::before {
  content: ""; flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px;
  background: var(--red-text);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='black' stroke-width='3'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* ---------- Testimonial ---------- */
.testimonial {
  border-left: 3px solid var(--red-text); padding: 6px 0 6px 28px;
}
.testimonial blockquote {
  margin: 0; font-family: var(--font-display); font-weight: 500; font-size: var(--text-2xl);
  line-height: 1.3; letter-spacing: -.01em; color: var(--ink);
}
.testimonial .by { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.testimonial .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--red-deep); flex-shrink: 0; }
.testimonial .who { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: .04em; color: var(--ink-soft); }
.testimonial .who b { color: var(--ink); font-weight: 500; display: block; text-transform: none; }

/* ---------- Form fields ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field label { font-family: var(--font-mono); font-size: var(--text-xs); letter-spacing: var(--track-mono); text-transform: uppercase; color: var(--ink-soft); }
.input, .textarea, .select {
  font-family: var(--font-body); font-size: var(--text-base); color: var(--ink);
  background: var(--bg); border: 1px solid var(--ink); border-radius: 0;
  padding: 14px 16px; width: 100%;
  transition: border-color var(--duration-fast) var(--ease-out);
}
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--red-text); border-width: 2px; padding: 13px 15px; }
.textarea { min-height: 140px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--ink-soft); }

/* ---------- Alerts (monocromatico — sem verde; estado pelo icone + borda) ---------- */
.alert {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px 18px; border: 1px solid var(--line); border-left-width: 3px;
  font-family: var(--font-body); font-size: var(--text-base); color: var(--ink);
  background: var(--surface);
}
.alert .a-ico { flex-shrink: 0; width: 20px; height: 20px; stroke-width: 1.5; fill: none; stroke-linecap: square; }
.alert b { font-family: var(--font-display); font-weight: 500; }
.alert-info    { border-left-color: var(--ink); }
.alert-info .a-ico    { stroke: var(--ink); }
.alert-success { border-left-color: var(--ink); }
.alert-success .a-ico { stroke: var(--ink); }
.alert-warning { border-left-color: var(--red-deep); }
.alert-warning .a-ico { stroke: var(--red-text); }
.alert-error   { border-left-color: var(--red-text); }
.alert-error .a-ico   { stroke: var(--red-text); }

/* ---------- Container ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ============================================================
   v2 — elementos adaptados do styleguide lendaria (universais)
   ============================================================ */

/* ---------- Grid 12 colunas ---------- */
.grid12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--gutter); }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-12 { grid-column: span 12; }
@media (max-width: 760px) {
  .grid12 { grid-template-columns: repeat(4, 1fr); gap: var(--gutter-mobile); }
  .col-3, .col-4, .col-6, .col-8, .col-9, .col-12 { grid-column: span 4; }
}

/* ---------- Marquee (divider animado) ---------- */
.marquee { overflow: hidden; background: var(--ink); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.marquee .track {
  display: flex; gap: 36px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 5vw, 52px);
  line-height: 1.2; letter-spacing: -.02em; text-transform: uppercase;
  color: var(--bg); padding: 10px 0; animation: marq 30s linear infinite; will-change: transform;
}
.marquee .track span { display: inline-flex; align-items: center; gap: 36px; }
.marquee .track span::after { content: "·"; color: var(--red-text-inv); }
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee .track { animation: none; } }

/* ---------- Stat block (numero gigante + label) ---------- */
.stat { display: flex; flex-direction: column; }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 6vw, 64px); line-height: .85; letter-spacing: -.03em; color: var(--ink); }
.stat .n small { color: var(--red-text); font-size: .6em; }
.stat .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; }

/* ---------- Skeleton loader ---------- */
.skeleton { display: grid; gap: 10px; }
.skeleton span { height: 14px; display: block; border: 1px solid var(--line);
  background: repeating-linear-gradient(90deg, var(--surface) 0, var(--surface) 12px, var(--bg) 12px, var(--bg) 24px); }
.skeleton span:nth-child(2) { width: 74%; }
.skeleton span:nth-child(3) { width: 52%; }

/* ---------- Toast ---------- */
.toast { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center;
  border: 1px solid var(--ink); border-left-width: 3px; border-left-color: var(--red-text);
  background: var(--surface); padding: 12px 14px; font-family: var(--font-body); font-size: var(--text-base); }
.toast .t-ico { width: 28px; height: 28px; border: 1px solid var(--ink); display: inline-flex; align-items: center; justify-content: center; }
.toast .t-ico svg { width: 16px; height: 16px; stroke: var(--red-text); stroke-width: 2; fill: none; stroke-linecap: square; }
.toast b { font-family: var(--font-display); font-weight: 500; }

/* ---------- Empty state ---------- */
.empty { border: 1px dashed var(--ink); padding: 36px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.empty .glyph { width: 40px; height: 40px; background: var(--red-deep); position: relative; }
.empty .glyph::after { content: ""; position: absolute; bottom: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: var(--red-vivid); }
.empty p { font-family: var(--font-body); color: var(--ink-soft); max-width: 40ch; }

/* ---------- Progress bar ---------- */
.progress { height: 6px; background: var(--surface); border: 1px solid var(--line); }
.progress span { display: block; height: 100%; background: var(--red-vivid); }

/* ---------- Status pill ---------- */
.pill { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border: 1px solid var(--line); color: var(--ink-soft); }
.pill::before { content: ""; width: 7px; height: 7px; background: var(--ink-soft); flex-shrink: 0; }
.pill-active::before { background: var(--red-vivid); }
.pill-done::before { background: var(--ink); }

/* ---------- Coach tooltip (onboarding) ---------- */
.tooltip { background: var(--ink); color: var(--bg); border: 2px solid var(--red-vivid); padding: 16px; max-width: 320px; }
.tooltip h5 { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: -.01em; color: var(--red-text-inv); margin: 0 0 6px; }
.tooltip p { font-family: var(--font-body); font-size: 14px; color: var(--bg); margin: 0; }

/* ---------- Stamp (selo rotacionado) ---------- */
.stamp { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--ink); padding: 4px 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  transform: rotate(-3deg); background: var(--bg); color: var(--ink); }

/* ============================================================
   v3 — blocos de relatório/dossiê adaptados do RPG lendaria
   (ficha → perfil de concorrente; stat ribbon; subnav; SWOT; etc.)
   ============================================================ */

/* ---------- Breadcrumbs ---------- */
.crumbs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.crumbs a { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.crumbs .here { color: #fff; background: var(--red-deep); padding: 3px 8px; }

/* ---------- Anatomia de seção (tag + título + número fantasma) ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.sec-tag { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; padding: 6px 12px; border: 1px solid var(--ink); margin-bottom: 14px; }
.sec-tag .dot { width: 8px; height: 8px; background: var(--red-vivid); }
.sec-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 4vw, 48px); line-height: 1; letter-spacing: -.02em; margin: 0; }
.sec-num { font-family: var(--font-display); font-weight: 700; font-size: 56px; line-height: 1; color: var(--red-deep); opacity: .12; }

/* ---------- Sticky subnav com progresso de scroll ---------- */
.subnav-wrap { position: sticky; top: var(--nav-height); z-index: 15; background: var(--surface); border-bottom: 1px solid var(--ink); }
/* affordance de scroll: fade na borda direita avisa que ha mais itens (>~8) */
.subnav-wrap::after { content: ""; position: absolute; top: 0; bottom: 1px; right: 0; width: 36px; pointer-events: none; background: linear-gradient(to right, transparent, var(--surface)); }
.subnav { display: flex; align-items: center; gap: 0; padding: 0 var(--gutter); height: 48px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.subnav > a { scroll-snap-align: start; }
.subnav::-webkit-scrollbar { display: none; }
.subnav .lbl { color: var(--red-text); padding-right: 18px; margin-right: 6px; border-right: 1px solid var(--line); flex-shrink: 0; }
.subnav a { padding: 10px 14px; color: var(--ink); border-bottom: 2px solid transparent; display: inline-flex; gap: 8px; flex-shrink: 0; transition: color var(--duration-fast) var(--ease-out); }
.subnav a:hover { color: var(--red-text); }
.subnav a.is-active { color: var(--ink); border-bottom-color: var(--red-vivid); }
.subnav a .n { color: var(--ink-soft); }
.subnav a.is-active .n { color: var(--red-text); }
/* .prog dentro do subnav = SO para navs curtos (<= ~8 itens). Em navs que
   rolam na horizontal, o progresso vai pra fora da tela — use .scroll-progress. */
.subnav .prog { margin-left: auto; padding-left: 18px; border-left: 1px solid var(--line); display: flex; align-items: center; gap: 8px; flex-shrink: 0; color: var(--ink-soft); }
.subnav .prog .bar { width: 120px; height: 6px; background: var(--line); }
.subnav .prog .bar > i { display: block; height: 100%; background: var(--red-vivid); width: 0; transition: width var(--duration-base) var(--ease-out); }

/* ---------- Scroll progress (linha fina full-width no topo, SEMPRE visivel) ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: transparent; z-index: 40; pointer-events: none; }
.scroll-progress > i { display: block; height: 100%; width: 0; background: var(--red-vivid); transition: width 80ms linear; }

/* ---------- Card de perfil / dossiê (ficha → competitor profile) ---------- */
.profile { border: 1px solid var(--line); background: var(--surface); display: flex; flex-direction: column; }
.profile .p-head { background: var(--ink); color: var(--bg); display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.profile .p-head .name { font-family: var(--font-display); font-weight: 700; font-size: 18px; letter-spacing: -.02em; text-transform: none; }
.profile .p-head .score { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--red-text-inv); }
.profile .p-body { padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; }
.profile .p-row { display: grid; grid-template-columns: 100px 1fr; gap: 12px; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: 10px; }
.profile .p-row:last-child { border-bottom: 0; padding-bottom: 0; }
.profile .p-row .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.profile .p-row .v { font-family: var(--font-body); font-weight: 500; font-size: 14px; line-height: 1.4; }
.profile .p-bar { height: 8px; background: var(--bg); border: 1px solid var(--line); }
.profile .p-bar > i { display: block; height: 100%; background: var(--red-vivid); }

/* ---------- Stat ribbon (6 colunas com barra) ---------- */
/* auto-fit: reflui pela QUANTIDADE de itens, nao por colunas fixas (6, 9, 12 stats adaptam) */
.stat-ribbon { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border: 1px solid var(--ink); }
.stat-ribbon .col { padding: 14px 16px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.stat-ribbon .col:last-child { border-right: 0; }
.stat-ribbon .col.hl { background: var(--ink); color: var(--bg); }
.stat-ribbon .k { font-family: var(--font-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.stat-ribbon .col.hl .k { color: var(--bg); opacity: .6; }
.stat-ribbon .v { font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1; display: flex; align-items: baseline; gap: 3px; }
.stat-ribbon .col.hl .v { color: var(--red-text-inv); }
.stat-ribbon .v .total { font-family: var(--font-mono); font-size: 11px; font-weight: 400; color: var(--ink-soft); }
.stat-ribbon .b { height: 6px; background: var(--surface); border: 1px solid var(--line); }
.stat-ribbon .col.hl .b { background: var(--ink-soft); border-color: var(--bg); }
.stat-ribbon .b > i { display: block; height: 100%; background: var(--red-vivid); }
@media (max-width: 760px) { .stat-ribbon { grid-template-columns: repeat(2, 1fr); } .stat-ribbon .col { border-bottom: 1px solid var(--line); } }

/* ---------- Info-row (ícone + chave/valor) ---------- */
.info-row { display: grid; grid-template-columns: 48px 1fr; border: 1px solid var(--line); }
.info-row .ic { background: var(--ink); display: flex; align-items: center; justify-content: center; }
.info-row .ic svg { width: 20px; height: 20px; stroke: var(--bg); stroke-width: 1.5; fill: none; stroke-linecap: square; }
.info-row .kv { padding: 12px 14px; display: flex; flex-direction: column; gap: 3px; }
.info-row .kv .k { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.info-row .kv .v { font-family: var(--font-body); font-weight: 500; font-size: 14px; }

/* ---------- Process flow (passos numerados) ---------- */
.flow { display: flex; align-items: stretch; flex-wrap: wrap; }
.flow .step { background: var(--surface); border: 1px solid var(--ink); padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 150px; margin-right: -1px; }
.flow .step .n { width: 28px; height: 28px; background: var(--red-deep); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.flow .step .t { font-family: var(--font-display); font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: -.01em; }
.flow .step .d { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); line-height: 1.4; }
.flow .step.feat { background: var(--ink); color: var(--bg); }
.flow .step.feat .d { color: var(--ink-soft); }

/* ---------- SWOT / dual-grid (forças vs riscos) ---------- */
.swot { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .swot { grid-template-columns: 1fr; } }
.swot-card { border: 1px solid var(--ink); display: flex; flex-direction: column; }
.swot-card .h { padding: 10px 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; display: flex; justify-content: space-between; }
.swot-pos .h { background: var(--ink); color: var(--bg); }
.swot-neg .h { background: var(--red-deep); color: #fff; }
.swot-card .b { padding: 20px 16px; display: flex; flex-direction: column; gap: 10px; }
.swot-card .b ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.swot-card .b li { font-family: var(--font-body); font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Tier table (níveis / progressão) ---------- */
.tier-list { border: 1px solid var(--ink); }
.tier-row { display: grid; grid-template-columns: 80px 1fr 1.4fr 180px; border-bottom: 1px solid var(--line); }
.tier-row:last-child { border-bottom: 0; }
.tier-row > div { padding: 16px; border-right: 1px solid var(--line); }
.tier-row > div:last-child { border-right: 0; }
.tier-row .lv { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--red-text); line-height: 1; }
.tier-row .nm { font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; }
.tier-row .ds { font-family: var(--font-body); font-size: 14px; color: var(--ink-soft); }
.tier-row .rq { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink-soft); }
.tier-row.cap { background: var(--surface); }
@media (max-width: 760px) { .tier-row { grid-template-columns: 1fr 1fr; } .tier-row > div { border-right: 0; } }

/* ---------- Ticker bar (alerta com pulso) ---------- */
.ticker-bar { background: var(--ink); color: var(--bg); padding: 10px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.ticker-bar .tk { display: flex; align-items: center; gap: 10px; }
.ticker-bar .pulse { width: 8px; height: 8px; background: var(--red-text-inv); display: inline-block; animation: pulse 1.4s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
.ticker-bar a { color: var(--red-text-inv); text-decoration: underline; text-underline-offset: 4px; }
@media (prefers-reduced-motion: reduce) { .ticker-bar .pulse { animation: none; } }

/* ---------- Severity (severidade — limpo, sem caveira) ---------- */
.severity { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.severity .dots { display: inline-flex; gap: 3px; }
.severity .dots i { width: 8px; height: 8px; background: var(--line); display: inline-block; }
.severity .dots i.on { background: var(--red-vivid); }
.severity .dots i.crit { background: var(--red-deep); }

/* ---------- Paper-grid (textura sutil de fundo) ---------- */
.paper-grid { position: relative; }
.paper-grid::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; }
.paper-grid > * { position: relative; z-index: 1; }

/* ============================================================
   v4 — padrões surfados lendo manifesto / cultura / vinheta / cacada
   de primeira mão (TOC rail, toggle PT/EN, perfil c/ imagem, counter,
   cycle-board, vs-table, step-row, photo-block, capítulo).
   ============================================================ */

/* ---------- Toggle PT/EN (as duas faces: blog PT-BR + freelancer EN) ---------- */
.lang-toggle { display: inline-flex; gap: 6px; }
.lang-toggle button { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; background: transparent; border: 1px solid var(--ink); color: var(--ink); padding: 7px 12px; cursor: pointer; transition: all var(--duration-fast) var(--ease-out); }
.lang-toggle button.on { background: var(--ink); color: var(--bg); }
[data-lang="en"] .lang-pt, [data-lang="pt"] .lang-en { display: none; }

/* ---------- TOC rail (índice lateral sticky para artigos longos) ---------- */
/* max-height + scroll interno: com 20+ itens o rail rola dentro de si, nunca some no rodape */
.toc-rail { position: sticky; top: calc(var(--nav-height) + 24px); align-self: start; border-top: 2px solid var(--ink); padding-top: 16px; max-height: calc(100vh - var(--nav-height) - 48px); overflow-y: auto; scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 28px), transparent); }
.toc-rail::-webkit-scrollbar { display: none; }
.toc-rail .title { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 20px; }
.toc-rail ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.toc-rail a { display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
.toc-rail a .n { background: var(--ink); color: var(--bg); text-align: center; padding: 4px 0; }
.toc-rail a:hover { color: var(--red-text); }
.toc-rail a:hover .n, .toc-rail a.is-active .n { background: var(--red-vivid); color: #fff; }
.toc-rail a.is-active { color: var(--ink); }

/* ---------- Capítulo (número vazado + statement/body) ---------- */
.chapter { display: grid; grid-template-columns: 90px 1fr; gap: 32px; padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.chapter:last-child { border-bottom: 0; margin-bottom: 0; }
.chapter-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 6vw, 72px); line-height: .92; color: var(--bg); -webkit-text-stroke: 2px var(--ink); }
.chapter-kicker { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: 14px; }
.chapter-title { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4vw, 48px); line-height: 1; letter-spacing: -.02em; margin: 0; max-width: 16ch; }
.chapter-body { margin-top: 24px; display: grid; grid-template-columns: 1fr .72fr; gap: 32px; align-items: start; }
.chapter-body .statement { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.01em; margin: 0; }
.chapter-body .statement .hl { color: var(--red-text); }
.chapter-body .body-copy { font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .chapter { grid-template-columns: 1fr; gap: 16px; } .chapter-num { font-size: 56px; } .chapter-body { grid-template-columns: 1fr; } }

/* ---------- Perfil com imagem (.beast.v-A → competitor profile c/ foto) ---------- */
.profile-img { border: 1px solid var(--ink); display: grid; grid-template-columns: 1.2fr 1fr; }
.profile-img .pic { border-right: 1px solid var(--ink); min-height: 300px; position: relative; }
.profile-img .data { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 760px) { .profile-img { grid-template-columns: 1fr; } .profile-img .pic { border-right: 0; border-bottom: 1px solid var(--ink); min-height: 220px; } }

/* ---------- PhotoBlock (placeholder de imagem listrado + cantos) ---------- */
.photo-block { aspect-ratio: 4/3; background: var(--surface); border: 1px solid var(--ink); position: relative;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft);
  background-image: repeating-linear-gradient(135deg, transparent 0 11px, rgba(142,27,34,.05) 11px 12px); }
.photo-block .corner { position: absolute; width: 12px; height: 12px; border: 2px solid var(--red-deep); }
.photo-block .corner.tl { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.photo-block .corner.tr { top: 8px; right: 8px; border-left: 0; border-bottom: 0; }
.photo-block .corner.bl { bottom: 8px; left: 8px; border-right: 0; border-top: 0; }
.photo-block .corner.br { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

/* ---------- Counter (número grande; JS faz o tick-up) ---------- */
.counter { display: flex; flex-direction: column; gap: 12px; }
.counter .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(48px, 7vw, 84px); line-height: .85; letter-spacing: -.03em; color: var(--red-text); font-variant-numeric: tabular-nums; }
.counter .n small { font-size: .55em; }
.counter .bar { height: 4px; background: var(--red-vivid); opacity: .55; max-width: 320px; }
.counter .l { font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }

/* ---------- Cycle-board (dois ciclos opostos lado a lado) ---------- */
.cycle-board { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--ink); }
.cycle-panel { padding: 28px; }
.cycle-panel + .cycle-panel { border-left: 1px solid var(--ink); }
.cycle-panel.dark { background: var(--ink); color: var(--bg); }
.cycle-panel h4 { font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: -.02em; margin: 0 0 6px; }
.cycle-loop { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.cycle-node { border: 1px solid var(--line); min-height: 72px; padding: 12px; display: flex; align-items: flex-end; font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; line-height: .95; }
.cycle-panel:not(.dark) .cycle-node.hot { background: var(--red-deep); color: #fff; border-color: var(--red-deep); }
.cycle-panel.dark .cycle-node { border-color: var(--ink-soft); }
.cycle-panel.dark .cycle-node.hot { color: var(--red-text-inv); border-color: var(--red-text-inv); }
@media (max-width: 760px) { .cycle-board { grid-template-columns: 1fr; } .cycle-panel + .cycle-panel { border-left: 0; border-top: 1px solid var(--ink); } }

/* ---------- VS-table (tabela comparativa) ---------- */
.vs-table { border: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; }
.vs-table > div { padding: 14px 18px; border-top: 1px solid var(--line); font-family: var(--font-body); font-size: 15px; line-height: 1.35; }
.vs-table > div:nth-child(2n) { border-left: 1px solid var(--ink); }
.vs-table > div:nth-child(1), .vs-table > div:nth-child(2) { border-top: 0; background: var(--surface); font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; letter-spacing: -.01em; }

/* ---------- Step-row (tracker de processo: done/now/upcoming/locked) ---------- */
.step-row { display: grid; grid-template-columns: 48px 24px 1fr auto; gap: 14px; align-items: center; padding: 14px 12px; border-bottom: 1px solid var(--line); }
.step-row.now { background: var(--surface); }
.step-row .num { font-family: var(--font-mono); font-size: 13px; color: var(--ink-soft); text-align: center; }
.step-row .ico svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: square; }
.step-row.done .ico svg, .step-row.now .ico svg { stroke: var(--red-text); }
.step-row .t { font-family: var(--font-body); font-weight: 600; font-size: 15px; }
.step-row.done .t { text-decoration: line-through; color: var(--ink-soft); }
.step-row.locked { color: var(--ink-soft); }
.step-row .meta { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }

/* ============================================================
   v5 — largura real lida em cacada/heroi/styleguide/manifesto/cultura
   (re-tematizada pra paleta odiegodiniz, sem RPG/caveira)
   ============================================================ */

/* ---------- bcard — card versátil base ---------- */
.bcard { background: var(--surface); border: 1px solid var(--ink); padding: 24px; position: relative; display: flex; flex-direction: column; gap: 14px; }
.bcard.ink { background: var(--ink); color: var(--bg); }
.bcard.red { background: var(--red-deep); color: #fff; border-color: var(--red-deep); }
.bcard.shadow { box-shadow: 8px 8px 0 var(--ink); }
.bcard .corner-num { position: absolute; top: 14px; right: 16px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }
.bcard h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; letter-spacing: -.01em; margin: 0; }
.bcard p { font-family: var(--font-body); font-size: 14px; line-height: 1.5; margin: 0; }

/* ---------- feature-card — glyph + título + body + tags ---------- */
.feature-card { background: var(--surface); border: 1px solid var(--ink); padding: 24px; display: grid; grid-template-columns: 56px 1fr; gap: 16px 18px; align-items: start; }
.feature-card .glyph { grid-row: 1 / 3; width: 56px; height: 56px; background: var(--red-deep); display: flex; align-items: center; justify-content: center; }
.feature-card .glyph svg { width: 26px; height: 26px; stroke: #fff; stroke-width: 1.5; fill: none; stroke-linecap: square; }
.feature-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; letter-spacing: -.02em; margin: 0; align-self: center; }
.feature-card .fbody { grid-column: 1 / 3; display: flex; flex-direction: column; gap: 10px; }
.feature-card .fbody p { font-family: var(--font-body); font-size: 14px; line-height: 1.45; margin: 0; color: var(--ink-soft); }
.feature-card .tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- service-card — header + body + destaque + nota ---------- */
.service-card { border: 1px solid var(--ink); display: flex; flex-direction: column; }
.service-card .top { background: var(--surface); border-bottom: 1px solid var(--ink); padding: 18px; }
.service-card .top h4 { font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: -.02em; margin: 0; }
.service-card .sbody { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.service-card .func { font-family: var(--font-body); font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
.service-card .power { border: 1px solid var(--ink); background: var(--red-deep); color: #fff; padding: 12px 14px; }
.service-card .power .k { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.service-card .power .v { font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; }
.service-card .note { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 10px; }
.service-card .note b { display: block; color: var(--ink); margin-bottom: 4px; }

/* ---------- deck — grade de cards (ícone + tipo + peso) ---------- */
.deck { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 2px; }
.deck-card { background: var(--surface); border: 1px solid var(--ink); padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 200px; transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out); }
.deck-card:hover { transform: translate(-2px,-2px); box-shadow: 4px 4px 0 var(--ink); }
.deck-card .ico-box { width: 44px; height: 44px; background: var(--red-deep); display: flex; align-items: center; justify-content: center; }
.deck-card .ico-box svg { width: 22px; height: 22px; stroke: #fff; stroke-width: 1.5; fill: none; stroke-linecap: square; }
.deck-card h4 { font-family: var(--font-display); font-weight: 700; font-size: 18px; text-transform: uppercase; margin: 0; }
.deck-card .type { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--red-text); }
.deck-card p { font-family: var(--font-body); font-size: 13px; line-height: 1.45; margin: 0; color: var(--ink-soft); }
.deck-card .foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink-soft); }
.weight { display: inline-flex; gap: 3px; }
.weight i { width: 7px; height: 7px; background: var(--line); }
.weight i.on { background: var(--red-vivid); }

/* ---------- matrix — passos + linha de exemplo ---------- */
.matrix { border: 1px solid var(--ink); display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); }
.matrix .cell { border-right: 1px solid var(--line); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.matrix .cell:last-child { border-right: 0; background: var(--surface); }
.matrix .cell .n { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1; color: var(--red-text); }
.matrix .cell h4 { font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; margin: 0; }
.matrix .cell p { font-family: var(--font-body); font-size: 13px; line-height: 1.4; margin: 0; color: var(--ink-soft); }
.matrix-ex { border: 1px solid var(--ink); border-top: 0; background: var(--ink); color: var(--bg); display: grid; grid-template-columns: repeat(auto-fit, minmax(130px,1fr)); }
.matrix-ex .ex { border-right: 1px solid var(--ink-soft); padding: 16px; }
.matrix-ex .ex:last-child { border-right: 0; }
.matrix-ex .ex .k { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--red-text-inv); }
.matrix-ex .ex .v { font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; }

/* ---------- hero-dossier — retrato + ficha (lead de perfil) ---------- */
.hero-dossier { border: 1px solid var(--ink); box-shadow: 12px 12px 0 var(--red-deep); padding: 20px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; background: var(--surface); }
.hero-dossier .portrait { position: relative; border: 1px solid var(--ink); background: var(--bg); min-height: 320px; }
.hero-dossier .hd-data { background: var(--ink); color: var(--bg); padding: 18px; position: relative; display: flex; flex-direction: column; gap: 12px; }
.hero-dossier .hd-data .row { display: grid; grid-template-columns: 74px 1fr; gap: 10px; border-bottom: 1px dashed var(--ink-soft); padding-bottom: 8px; }
.hero-dossier .hd-data .row:last-child { border-bottom: 0; }
.hero-dossier .hd-data .row .k { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink-soft); }
.hero-dossier .hd-data .row .v { font-family: var(--font-body); font-weight: 600; font-size: 13px; }
@media (max-width: 760px) { .hero-dossier { grid-template-columns: 1fr; } }

/* ---------- score-list — dimensões com barra listrada ---------- */
.score-list { border: 1px solid var(--ink); }
.score-row { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 14px; align-items: center; padding: 13px 18px; border-bottom: 1px dashed var(--line); }
.score-row:last-child { border-bottom: 0; }
.score-row .name { font-family: var(--font-display); font-weight: 500; font-size: 16px; text-transform: uppercase; }
.score-row .bar { height: 12px; background: var(--surface); border: 1px solid var(--ink); }
.score-row .bar > i { display: block; height: 100%; background: repeating-linear-gradient(-40deg, var(--red-vivid) 0 8px, var(--red-deep) 8px 11px); }
.score-row .val { font-family: var(--font-display); font-weight: 700; font-size: 22px; min-width: 56px; text-align: right; }
.score-row .val .total { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }

/* ---------- checklist — grade numerada 2-col ---------- */
.checklist { border: 1px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; }
.checklist .item { padding: 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.checklist .item:nth-child(2n) { border-right: 0; }
.checklist .item .n { width: 36px; height: 36px; background: var(--red-deep); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; }
.checklist .item h4 { font-family: var(--font-display); font-weight: 500; font-size: 14px; text-transform: uppercase; margin: 0 0 4px; }
.checklist .item p { font-family: var(--font-body); font-size: 13px; line-height: 1.45; margin: 0; color: var(--ink-soft); }
@media (max-width: 760px) { .checklist { grid-template-columns: 1fr; } .checklist .item { border-right: 0; } }

/* ---------- outcome — painel de resultado (loop-reward) ---------- */
.outcome { background: var(--red-deep); color: #fff; border: 1px solid var(--red-deep); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.outcome .k { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.outcome .list { display: flex; flex-direction: column; gap: 4px; font-family: var(--font-mono); font-size: 12px; }
.outcome .list span { display: flex; justify-content: space-between; }

/* ---------- highlight inline (sublinhado / sólido) ---------- */
.hl-line { position: relative; display: inline-block; }
.hl-line::after { content: ""; position: absolute; left: -2px; right: -2px; bottom: 0; height: 8px; background: var(--red-vivid); opacity: .3; z-index: -1; }
.hl-solid { background: var(--red-deep); color: #fff; padding: 0 .1em; }

/* ---------- proof — ponto de prova numerado ---------- */
.proof { border-top: 2px solid var(--red-deep); padding-top: 12px; }
.proof .pn { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: .9; color: var(--red-text); display: block; margin-bottom: 8px; }
.proof .pt { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; line-height: 1.5; color: var(--ink-soft); }

/* ---------- line-list — lista numerada mono ---------- */
.line-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.line-list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--font-body); font-size: 16px; line-height: 1.45; }
.line-list .mark { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--red-text); }

/* ---------- dark-break — band escura de statement ---------- */
.dark-break { background: var(--ink); color: var(--bg); padding: var(--space-9) 0; position: relative; overflow: hidden; }
.dark-break .db-inner { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; }
.dark-break h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 6vw, 72px); line-height: .96; letter-spacing: -.03em; text-transform: uppercase; margin: 0; max-width: 14ch; }
.dark-break .big-ghost { font-family: var(--font-display); font-weight: 700; font-size: clamp(80px, 14vw, 170px); line-height: .8; color: var(--red-text-inv); }
@media (max-width: 760px) { .dark-break .db-inner { grid-template-columns: 1fr; } }

/* ---------- value-tile — folio + glifo + título (tile quadrado) ---------- */
.value-tile { background: var(--surface); border: 1px solid var(--ink); aspect-ratio: 1/1; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; position: relative; }
.value-tile.ink { background: var(--ink); color: var(--bg); }
.value-tile .folio { position: absolute; top: 16px; right: 18px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); }
.value-tile .vt-glyph { align-self: center; margin: 18px 0; }
.value-tile .vt-glyph .mk { width: 64px; height: 64px; background: var(--red-deep); position: relative; display: inline-block; }
.value-tile .vt-glyph .mk::after { content: ""; position: absolute; bottom: -8px; right: -8px; width: 26px; height: 26px; border-radius: 50%; background: var(--red-vivid); }
.value-tile h4 { font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; letter-spacing: -.02em; margin: 0; }
.value-tile .sub { font-family: var(--font-body); font-size: 13px; line-height: 1.4; color: var(--ink-soft); margin: 4px 0 0; }

/* ---------- spec-row — chave / valor / meta ---------- */
.spec-row { display: grid; grid-template-columns: 100px 1fr 180px; gap: 24px; align-items: baseline; padding: 16px 0; border-bottom: 1px solid var(--line); }
.spec-row .k { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink-soft); }
.spec-row .v { font-family: var(--font-body); font-size: 15px; }
.spec-row .meta { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink-soft); text-align: right; }
@media (max-width: 760px) { .spec-row { grid-template-columns: 1fr; gap: 6px; } .spec-row .meta { text-align: left; } }

/* ---------- ghost-number — número fantasma gigante ---------- */
.ghost-number { font-family: var(--font-display); font-weight: 700; color: var(--red-deep); opacity: .08; line-height: .8; user-select: none; pointer-events: none; font-size: clamp(120px, 22vw, 360px); }

/* ---------- code-block — bloco mono (dado/código) ---------- */
.code-block { border: 1px solid var(--ink); background: var(--surface); padding: 16px 18px; font-family: var(--font-mono); font-size: 13px; line-height: 1.6; color: var(--ink); white-space: pre-wrap; }
.code-block .cm { color: var(--ink-soft); }
.code-block .hl { color: var(--red-text); }

/* ---------- coachmark — hotspot de onboarding ---------- */
.coach { position: relative; min-height: 200px; border: 2px dashed var(--ink); background: var(--surface); padding: 22px; }
.coach .hotspot { position: absolute; top: 40px; left: 40px; width: 148px; height: 50px; border: 3px solid var(--red-vivid); background: rgba(236,58,43,.12); }

/* ---------- status pills extras (monocromático) ---------- */
.pill-warn::before { background: var(--red-deep); }
.pill-error::before { background: var(--red-vivid); }

/* ============================================================
   v6 — minerado das INSTÂNCIAS RPG (bestiario / heroi) que têm
   <style> inline próprio, não no cacada.css. Re-tematizado.
   ============================================================ */

/* ---------- Image frame anotado + bubbles (screenshot de concorrente) ---------- */
.img-frame { position: relative; border: 1px solid var(--ink); background: var(--bg); overflow: hidden; box-shadow: 8px 8px 0 var(--red-deep); }
.img-frame .img-area { position: relative; min-height: 320px; background: var(--surface); display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink-soft); }
.img-frame .ov-tl { position: absolute; top: 16px; left: 16px; z-index: 3; background: var(--ink); color: var(--bg); padding: 8px 12px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.img-frame .ov-tr { position: absolute; top: 16px; right: 16px; z-index: 3; display: flex; gap: 8px; }
.img-frame .chip { background: var(--red-deep); color: #fff; padding: 6px 10px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.img-frame .cap { display: flex; justify-content: space-between; gap: 14px; padding: 12px 16px; border-top: 1px solid var(--ink); background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; }
.img-bubble { position: absolute; z-index: 3; background: var(--bg); border: 1px solid var(--ink); padding: 8px 12px; font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; box-shadow: 4px 4px 0 var(--ink); max-width: 200px; }
.img-bubble.red { background: var(--red-deep); color: #fff; }
.img-bubble b { font-family: var(--font-display); font-weight: 700; font-size: 12px; display: block; }

/* ---------- Stats-panel com aba de canto (data:tab) ---------- */
.stats-panel { background: var(--ink); color: var(--bg); border: 1px solid var(--ink); box-shadow: 12px 12px 0 var(--red-deep); padding: 24px; display: flex; flex-direction: column; gap: 18px; position: relative; }
.stats-panel[data-tab]::after { content: attr(data-tab); position: absolute; top: -12px; right: 24px; background: var(--red-vivid); color: #fff; font-family: var(--font-mono); font-size: 11px; padding: 5px 10px; }
.stats-panel .srow { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.stats-panel .sb { display: flex; flex-direction: column; gap: 6px; }
.stats-panel .sb .k { font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); text-transform: uppercase; }
.stats-panel .sb .v { font-family: var(--font-display); font-weight: 700; font-size: 24px; }
.stats-panel .sb .v.red { color: var(--red-text-inv); }

/* ---------- Bar-mini-row (barra compacta rotulada) ---------- */
.bar-mini-row { display: grid; grid-template-columns: 90px 1fr 40px; align-items: center; gap: 10px; }
.bar-mini-row .k { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink-soft); }
.bar-mini { height: 12px; background: var(--surface); border: 1px solid var(--ink); }
.bar-mini > i { display: block; height: 100%; background: var(--red-vivid); }
.bar-mini-row .v { font-family: var(--font-mono); font-size: 11px; text-align: right; color: var(--red-text); }

/* ---------- Warning-card (alerta vermelho com citação grande) ---------- */
.warning-card { background: var(--red-deep); color: #fff; border: 1px solid var(--ink); box-shadow: 12px 12px 0 var(--ink); padding: 40px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.warning-card .big-q { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 5vw, 56px); line-height: .92; text-transform: uppercase; }
.warning-card .wlbl { display: inline-block; background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; padding: 6px 12px; margin-bottom: 18px; }
.warning-card p { font-size: 15px; line-height: 1.55; color: #fde9eb; margin: 0; }
@media (max-width: 760px) { .warning-card { grid-template-columns: 1fr; padding: 28px; } }

/* ---------- Key-question (pergunta-âncora) ---------- */
.key-question { background: var(--red-deep); color: #fff; border: 1px solid var(--ink); padding: 40px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.key-question .klbl { background: var(--ink); color: var(--bg); font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; padding: 6px 12px; align-self: flex-start; }
.key-question .q { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 4vw, 48px); line-height: .92; text-transform: uppercase; margin: 0; }
@media (max-width: 760px) { .key-question { grid-template-columns: 1fr; padding: 28px; } }

/* ---------- Quote-strip (pill + citação + label) ---------- */
.quote-strip { background: var(--ink); color: var(--bg); border: 1px solid var(--ink); display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 24px; }
.quote-strip .q { font-family: var(--font-display); font-weight: 500; font-size: clamp(20px, 2vw, 30px); line-height: 1.1; color: var(--red-text-inv); margin: 0; }
.quote-strip .k { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 760px) { .quote-strip { grid-template-columns: 1fr; } }

/* ---------- Score-tiles (tiles de dimensão c/ barra listrada + featured) ---------- */
.score-tiles { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.score-tile { padding: 24px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); display: flex; flex-direction: column; gap: 12px; }
.score-tile:nth-child(3n) { border-right: 0; }
.score-tile .head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; }
.score-tile h4 { font-family: var(--font-display); font-weight: 700; font-size: 24px; text-transform: uppercase; margin: 0; }
.score-tile .val { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: .95; }
.score-tile .val .total { font-size: 16px; color: var(--ink-soft); }
.score-tile .bar { height: 14px; background: var(--surface); border: 1px solid var(--ink); }
.score-tile .bar > i { display: block; height: 100%; background: repeating-linear-gradient(-40deg, var(--red-vivid) 0 10px, var(--red-deep) 10px 14px); }
.score-tile .desc { font-size: 13px; line-height: 1.45; color: var(--ink-soft); margin: 0; }
.score-tile.featured { background: var(--ink); color: var(--bg); }
.score-tile.featured h4, .score-tile.featured .val { color: var(--red-text-inv); }
@media (max-width: 760px) { .score-tiles { grid-template-columns: 1fr; } .score-tile { border-right: 0; } }

/* ---------- Summary-board (board multi-coluna) ---------- */
.summary-board { background: var(--surface); border: 1px solid var(--ink); display: grid; grid-template-columns: 1.4fr 1fr 1fr; }
.summary-board .col { padding: 28px; border-right: 1px solid var(--ink); display: flex; flex-direction: column; gap: 16px; }
.summary-board .col:last-child { border-right: 0; }
.summary-board .col.dark { background: var(--ink); color: var(--bg); }
.summary-board .sr .k { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; color: var(--ink-soft); }
.summary-board .sr .v { font-family: var(--font-display); font-weight: 700; font-size: 22px; text-transform: uppercase; line-height: 1.05; }
.summary-board .sr .v.lg { font-size: 32px; }
@media (max-width: 760px) { .summary-board { grid-template-columns: 1fr; } .summary-board .col { border-right: 0; border-bottom: 1px solid var(--ink); } }

/* ---------- Side-card (imagem + corpo) ---------- */
.side-card { background: var(--ink); color: var(--bg); border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--red-deep); display: flex; flex-direction: column; }
.side-card .sc-img { border-bottom: 2px solid var(--red-deep); background: var(--surface); height: 280px; position: relative; overflow: hidden; }
.side-card .sc-body { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.side-card .sc-body h4 { font-family: var(--font-display); font-weight: 700; font-size: 20px; text-transform: uppercase; margin: 0; }
.side-card .sc-body p { font-family: var(--font-mono); font-size: 11px; line-height: 1.5; color: var(--ink-soft); margin: 0; }
