/* ELCI DMAIC Projects · página pública v2 (estrutura de 14 blocos) e obrigado
   Visual do app: design system do Gestão Financeira (PR 197) com o ciano do tema escuro (PR 199).
   Tokens copiados de src/tokens.css do app: bloco claro e bloco escuro.
   Tema escuro por padrão; <html data-tema="claro"> troca para o claro (alternador no cabeçalho).
   Nenhuma cor fora do :root. Para trocar a identidade, altere só os dois blocos :root. */

@font-face {
  font-family: Geist;
  src: url('assets/fontes/geist-latin.woff2') format('woff2');
  font-style: normal; font-weight: 100 900; font-display: swap;
}

/* ---------- Tema escuro (padrão) ---------- */
:root {
  color-scheme: dark;
  --bg:            #000000;
  --bg-2:          #060607;
  --card:          #0a0a0b;
  --raised:        #18181b;
  --track:         #27272a;
  --border:        #27272a;
  --border-soft:   rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.2);
  --title: #ffffff;
  --text:  #fafafa;
  --muted: #a1a1aa;
  --btn:         #fafafa;
  --btn-ink:     #18181b;
  --btn-pressed: #e4e4e7;
  --accent:      #22d3ee;
  --accent-text: #22d3ee;
  --accent-ink:  #09090b;
  --accent-soft: rgba(34, 211, 238, 0.18);
  --accent-glow: rgba(34, 211, 238, 0.16);
  --accent-line: rgba(34, 211, 238, 0.45);
  --pos:         #95ff48;
  --pos-soft:    rgba(149, 255, 72, 0.14);
  --focus:       #d4d4d8;
  --neg-soft:    rgba(239, 68, 68, 0.16);
  --neg-text:    #fca5a5;
  --warn:        #ffec7e;
  --warn-soft:   rgba(255, 236, 126, 0.14);
  --row:         rgba(9, 9, 11, 0.5);
  --vidro:       rgba(0, 0, 0, 0.72);
  --sombra:      rgba(0, 0, 0, 0.55);
  --grade:       rgba(255, 255, 255, 0.045);
  --logo-filtro: none;
  --mascara:     #000000;   /* só canal alfa das máscaras, igual nos dois temas */

  /* Fonte */
  --font: Geist, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, monospace;
  --text-hero: clamp(38px, 6vw, 76px);
  --tracking-eyebrow: .08em;
  --tracking-title: -.01em;
  --tracking-display: -.035em;

  /* Forma (src/tokens.css, bloco 1) */
  --r-field: 16px;
  --r-num:   20px;
  --r-row:   24px;
  --r-pill:  9999px;
  --r-item:  10px;
  --btn-h:   56px;
  --target-min: 44px;

  /* Espaço (ritmo 8) */
  --e1: 8px; --e2: 16px; --e3: 24px; --e4: 32px; --e5: 40px; --e6: 48px; --e8: 64px; --e9: 72px; --e12: 96px; --e15: 120px;
  --largura: 720px;
  --largura-media: 960px;
  --largura-larga: 1200px;
  --topo-h: 64px;
}

/* ---------- Tema claro ---------- */
:root[data-tema="claro"] {
  color-scheme: light;
  --bg:            #ffffff;
  --bg-2:          #fafafa;
  --card:          #ffffff;
  --raised:        #f4f4f5;
  --track:         #e4e4e7;
  --border:        #d4d4d8;
  --border-soft:   #e4e4e7;
  --border-strong: rgba(9, 9, 11, 0.24);
  --title: #000000;
  --text:  #18181b;
  --muted: #52525b;
  --btn:         #18181b;
  --btn-ink:     #fafafa;
  --btn-pressed: #3f3f46;
  --accent:      #1a9eff;
  --accent-text: #0a66b8;
  --accent-ink:  #09090b;
  --accent-soft: rgba(26, 158, 255, 0.12);
  --accent-glow: rgba(26, 158, 255, 0.14);
  --accent-line: rgba(26, 158, 255, 0.5);
  --pos:         #15803d;
  --pos-soft:    #f0fdf4;
  --focus:       #18181b;
  --neg-soft:    #fef2f2;
  --neg-text:    #b91c1c;
  --warn:        #854d0e;
  --warn-soft:   #fefce8;
  --row:         rgba(244, 244, 245, 0.7);
  --vidro:       rgba(255, 255, 255, 0.82);
  --sombra:      rgba(9, 9, 11, 0.1);
  --grade:       rgba(9, 9, 11, 0.05);
  --logo-filtro: invert(1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + var(--e2)); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.6 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
@supports (overflow: clip) { body { overflow-x: clip; } }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; }
a:hover { color: var(--title); }
button { font: inherit; color: inherit; }
:is(a, button, summary, [tabindex]):focus-visible { outline: none; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--focus); border-radius: var(--r-item); }
.pular { position: absolute; left: -9999px; top: 0; display: inline-flex; align-items: center; min-height: var(--target-min); background: var(--btn); color: var(--btn-ink); padding: 0 var(--e3); border-radius: var(--r-pill); font-weight: 500; text-decoration: none; z-index: 80; }
.pular:focus { left: var(--e2); top: var(--e2); }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Trechos condicionados aos termos ---------- */
html:not([data-termos="publicados"]):not([data-termos="previa"]) [data-termos] { display: none !important; }
html[data-termos="previa"] [data-termos] { outline: 1px dashed var(--accent); outline-offset: 2px; }
html[data-termos="previa"] [data-termos]::after { content: " [CONDICIONADO À PUBLICAÇÃO DOS TERMOS]"; font: 600 11px/1.4 var(--font-mono); color: var(--accent-text); }

/* ---------- Marcas de revisão ----------
   .marca-preencher [A PREENCHER] · .marca-confirmar [CONFIRMAR].
   Nenhuma pode estar no HTML na publicação (ver README). ?marcas=0 esconde para leitura limpa. */
.marca-preencher, .marca-confirmar { font: 600 12px/1.4 var(--font-mono); padding: 2px 8px; border-radius: var(--r-item); display: inline; white-space: normal; }
.marca-preencher { color: var(--warn); background: var(--warn-soft); border: 1px dashed var(--warn); }
.marca-confirmar { color: var(--neg-text); background: var(--neg-soft); border: 1px dashed var(--neg-text); }
html[data-marcas="ocultas"] .marca-preencher, html[data-marcas="ocultas"] .marca-confirmar { display: none; }

/* ---------- Tipografia ---------- */
.eyebrow { font: 500 13px/1.3 var(--font); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--accent-text); margin: 0 0 var(--e2); }
h1, h2, h3 { font-family: var(--font); line-height: 1.15; margin: 0 0 var(--e3); letter-spacing: var(--tracking-title); color: var(--title); }
h1 { font-size: var(--text-hero); font-weight: 700; line-height: 1.02; letter-spacing: var(--tracking-display); overflow-wrap: break-word; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 650; letter-spacing: var(--tracking-display); line-height: 1.08; text-wrap: balance; }
h3 { font-size: 20px; font-weight: 600; margin-bottom: var(--e1); }
p { margin: 0 0 var(--e2); }
strong { color: var(--title); font-weight: 600; }
sup { font-size: .42em; line-height: 0; vertical-align: super; }
sup a { color: var(--accent-text); text-decoration: none; }
.lead { font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); }
.cabeca { max-width: var(--largura); margin: 0 0 var(--e8); }
.cabeca--centro { margin-left: auto; margin-right: auto; text-align: center; }
.cabeca p:last-child { margin-bottom: 0; }

/* ---------- Estrutura ---------- */
.secao { position: relative; padding: var(--e15) var(--e2); border-top: 1px solid var(--border-soft); }
.secao--alt { background: var(--bg-2); }
@media (max-width: 640px) { .secao { padding: var(--e12) var(--e2); } }
.miolo { max-width: var(--largura-larga); margin: 0 auto; }
.miolo--texto { max-width: var(--largura); margin: 0 auto; }
.miolo--medio { max-width: var(--largura-media); margin: 0 auto; }

/* ---------- Revelação ao rolar (só com JS; sem JS tudo aparece) ---------- */
.js .revelar { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--atraso, 0s); }
.js .revelar.visivel { opacity: 1; transform: none; }

/* ---------- Cabeçalho fixo ---------- */
.topo { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--topo-h); display: flex; align-items: center;
  background: var(--vidro); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s; }
.topo.rolou { border-bottom-color: var(--border-soft); }
.topo-in { width: 100%; max-width: var(--largura-larga); margin: 0 auto; padding: 0 var(--e2); display: flex; align-items: center; gap: var(--e3); }
.lockup { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-height: var(--target-min); }
.lockup img { height: 28px; width: auto; filter: var(--logo-filtro); }
.lockup .div { width: 1px; height: 24px; background: var(--border-strong); }
.lockup .pn { margin: 0; font: 700 16px/1 var(--font); letter-spacing: var(--tracking-title); color: var(--title); }
.lockup .pn span { display: block; font: 500 7px/1 var(--font); letter-spacing: .24em; color: var(--muted); margin-top: 3px; }
.topo nav { display: flex; gap: var(--e1); }
.topo nav a { display: inline-flex; align-items: center; min-height: var(--target-min); padding: 0 10px; color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: var(--r-pill); }
.topo nav a:hover { color: var(--title); }
.tema { display: inline-grid; place-items: center; width: var(--target-min); height: var(--target-min); border-radius: var(--r-pill); border: 1px solid var(--border-soft); background: transparent; color: var(--title); cursor: pointer; transition: border-color .15s; }
.tema:hover { border-color: var(--border-strong); }
.tema .ico { width: 18px; height: 18px; }
.tema .lua { display: none; }
:root[data-tema="claro"] .tema .sol { display: none; }
:root[data-tema="claro"] .tema .lua { display: block; }
.btn-topo { display: inline-flex; align-items: center; min-height: var(--target-min); padding: 0 20px; border-radius: var(--r-pill); background: var(--btn); color: var(--btn-ink); text-decoration: none; font: 600 15px/1 var(--font); transition: background .15s, transform .15s; }
.btn-topo:hover { background: var(--btn-pressed); color: var(--btn-ink); }
@media (max-width: 860px) { .topo nav { display: none; } }
@media (max-width: 400px) { .lockup img, .lockup .div { display: none; } .topo-in { gap: var(--e1); } }

/* ---------- Botões ---------- */
.cta-grupo { margin: var(--e4) 0 0; }
.cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--btn-h); max-width: 100%;
  padding: 14px 32px; border-radius: var(--r-pill); background: var(--accent); color: var(--accent-ink);
  font: 650 17px/1.25 var(--font); text-decoration: none; text-align: center;
  box-shadow: 0 0 0 1px var(--accent-line), 0 10px 40px -8px var(--accent-glow);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.cta .ico { transition: transform .18s; }
.cta:hover { color: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 0 0 1px var(--accent-line), 0 16px 48px -6px var(--accent-glow); }
.cta:hover .ico { transform: translateX(3px); }
.cta:active { transform: translateY(0); filter: brightness(.95); }
.cta-nota { font-size: 14px; color: var(--muted); margin: var(--e2) 0 0; max-width: 520px; }
.centro .cta-nota { margin-left: auto; margin-right: auto; }
.cta-aviso { font: 600 12px/1.5 var(--font-mono); color: var(--warn); margin-top: var(--e1); overflow-wrap: anywhere; }
.botao-sec, .link-ver {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--target-min); max-width: 100%;
  padding: 10px 22px; border-radius: var(--r-pill); background: transparent; color: var(--title);
  border: 1px solid var(--border-strong); font: 500 15px/1.25 var(--font); text-decoration: none; cursor: pointer; transition: border-color .15s, background .15s;
}
.botao-sec:hover, .link-ver:hover { border-color: var(--title); color: var(--title); background: var(--raised); }
.link-ver .ico { width: 16px; height: 16px; }
.centro { text-align: center; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--topo-h) + var(--e9)) var(--e2) var(--e9); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--grade) 1px, transparent 1px), linear-gradient(90deg, var(--grade) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, var(--mascara) 30%, transparent 75%); mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, var(--mascara) 30%, transparent 75%); }
.hero::after { content: ""; position: absolute; width: 1100px; height: 700px; left: 50%; top: 120px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, var(--accent-glow), transparent); }
.hero-grid { position: relative; z-index: 1; max-width: var(--largura-larga); margin: 0 auto; display: grid; gap: var(--e8); justify-items: center; text-align: center; }
.hero-grid > * { min-width: 0; }
.hero-texto { max-width: 1040px; display: flex; flex-direction: column; align-items: center; }
.hero h1 { max-width: 1040px; }
.hero .lead { max-width: 720px; margin: var(--e3) auto 0; }
.fit { display: inline-flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 14px; border: 1px solid var(--border-soft); border-radius: var(--r-pill); background: var(--card); font: 500 14px/1.4 var(--font); color: var(--muted); margin: var(--e3) 0 0; }
.fit::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); flex: none; }
.hero-acoes { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--e2) var(--e3); margin-top: var(--e4); }
.hero-acoes .cta-grupo { margin: 0; }
.link-demo { display: inline-flex; align-items: center; gap: 10px; min-height: var(--target-min); color: var(--title); font-size: 16px; font-weight: 500; text-decoration: none; }
.link-demo .play { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-strong); transition: background .15s, border-color .15s; }
.link-demo .play .ico { width: 14px; height: 14px; fill: currentColor; }
.link-demo:hover { color: var(--title); }
.link-demo:hover .play { background: var(--raised); border-color: var(--title); }
.hero .cta-nota { max-width: 560px; margin: var(--e2) auto 0; }
.hero-visual { width: 100%; max-width: 1080px; }
.nota-1 { position: relative; z-index: 1; max-width: 1080px; margin: var(--e4) auto 0; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.nota-1 p { max-width: 820px; margin: 0 auto; }
@media (max-width: 640px) { .hero { padding-top: calc(var(--topo-h) + var(--e6)); } .hero-grid { gap: var(--e6); } .hero-acoes { flex-direction: column; gap: var(--e1); } .fit { border-radius: 16px; text-align: left; } .cta { padding: 14px 22px; font-size: 16px; } }

/* Moldura de navegador */
.browser { position: relative; margin: 0; border-radius: var(--r-num); overflow: hidden; background: var(--card); border: 1px solid var(--border-strong);
  box-shadow: 0 40px 80px -30px var(--sombra), 0 0 0 6px var(--raised); }
.browser .bar { height: 36px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--border-soft); background: var(--card); }
.browser .bar i { width: 9px; height: 9px; border-radius: var(--r-pill); background: var(--track); flex: none; }
.browser .bar span { margin-left: 12px; flex: 1; min-width: 0; max-width: 300px; height: 22px; border-radius: var(--r-pill); background: var(--raised);
  font: 400 12px/22px var(--font); color: var(--muted); padding: 0 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser .screen { aspect-ratio: 16 / 9; position: relative; background: var(--raised); }
.browser .screen video, .browser .screen img { width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-visual { position: relative; }
.hero-visual .browser { transform: perspective(2000px) rotateX(7deg); transform-origin: center top; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.hero-visual.reto .browser, .hero-visual:hover .browser { transform: none; }
@media (max-width: 760px) { .hero-visual .browser { transform: none; } }

/* ---------- 3.2 Faixa de fatos ---------- */
.fatos { padding: 0 var(--e2); }
.fatos ul { list-style: none; margin: 0 auto; padding: 0; max-width: var(--largura-larga); display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--border-soft); border-radius: var(--r-num); background: var(--card); overflow: hidden; }
.fatos li { display: flex; align-items: center; gap: 12px; padding: 22px 20px; font: 500 15px/1.35 var(--font); color: var(--title); border-left: 1px solid var(--border-soft); }
.fatos li:first-child { border-left: 0; }
.fatos .ico { color: var(--accent-text); width: 22px; height: 22px; }
.fatos b { font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 1080px) {
  .fatos ul { grid-template-columns: repeat(2, 1fr); }
  .fatos li { border-left: 0; border-top: 1px solid var(--border-soft); }
  .fatos li:nth-child(-n+2) { border-top: 0; }
  .fatos li:nth-child(even) { border-left: 1px solid var(--border-soft); }
  .fatos li:last-child { grid-column: 1 / -1; border-left: 0; }
}
@media (max-width: 480px) {
  .fatos ul { grid-template-columns: 1fr; }
  .fatos li, .fatos li:nth-child(even) { border-left: 0; border-top: 1px solid var(--border-soft); padding: 16px 18px; }
  .fatos li:first-child { border-top: 0; }
  .fatos li:nth-child(2) { border-top: 1px solid var(--border-soft); }
}

/* ---------- 3.3 Soa familiar ---------- */
.dores { display: grid; gap: var(--e2); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { .dores { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .dores { grid-template-columns: 1fr; } }
.dor { position: relative; display: flex; flex-direction: column; padding: var(--e4) var(--e3) var(--e3); border: 1px solid var(--border-soft); border-radius: var(--r-num); background: var(--card);
  transition: border-color .25s, transform .25s; }
.dor:hover { border-color: var(--border-strong); transform: translateY(-3px); }
.dor .num { font: 500 12px/1 var(--font-mono); color: var(--muted); margin-bottom: var(--e3); display: flex; align-items: center; justify-content: space-between; }
.dor .num .ico { color: var(--accent-text); width: 22px; height: 22px; }
.dor h3 { font-size: 22px; letter-spacing: -.02em; margin-bottom: var(--e2); }
.dor p { font-size: 16px; color: var(--muted); }
.dor p.fecho-dor { margin: auto 0 0; padding-top: var(--e2); border-top: 1px dashed var(--border-soft); color: var(--title); font-weight: 500; }
.dores-fecho { margin: var(--e6) 0 0; font: 600 clamp(20px, 2.2vw, 26px)/1.35 var(--font); letter-spacing: -.015em; color: var(--title); text-align: center; text-wrap: balance; }
.serve { margin: var(--e6) auto 0; max-width: var(--largura-media); display: grid; gap: var(--e3); padding: var(--e5) var(--e5); border-radius: var(--r-num);
  border: 1px solid var(--accent-line); background: linear-gradient(180deg, var(--accent-soft), transparent 70%), var(--card); }
.serve h3 { font-size: 24px; margin: 0; }
.serve p { margin: 0 0 var(--e2); font-size: 17px; }
.serve p:last-child { margin: 0; }
@media (min-width: 900px) { .serve { grid-template-columns: 220px 1fr; } }
@media (max-width: 640px) { .serve { padding: var(--e4) var(--e3); } }

/* ---------- 3.4 Mecanismo ---------- */
.mecanismo { display: grid; gap: var(--e8); align-items: start; }
@media (min-width: 1000px) { .mecanismo { grid-template-columns: 1fr 1.15fr; } .mecanismo .mec-video { position: sticky; top: calc(var(--topo-h) + var(--e4)); } }
.passos-mec { list-style: none; margin: var(--e4) 0 0; padding: 0; display: grid; gap: 0; counter-reset: mec; }
.passos-mec li { position: relative; padding: 0 0 var(--e4) 56px; counter-increment: mec; }
.passos-mec li::before { content: counter(mec, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--accent-line); color: var(--accent-text); font: 600 12px/1 var(--font-mono); background: var(--bg); }
.passos-mec li::after { content: ""; position: absolute; left: 18px; top: 40px; bottom: 4px; width: 1px; background: var(--border-soft); }
.passos-mec li:last-child::after { display: none; }
.passos-mec p { margin: 0; color: var(--muted); }
.passos-mec p:first-child { padding-top: 5px; }
.frase-mec { margin: var(--e4) 0 0; padding: var(--e3) var(--e4); border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 var(--r-num) var(--r-num) 0;
  font: 650 clamp(22px, 2.6vw, 30px)/1.25 var(--font); letter-spacing: -.02em; color: var(--title); }
.video-demo { margin: 0; }
.video-demo .moldura { position: relative; border-radius: var(--r-num); overflow: hidden; border: 1px solid var(--border-strong); aspect-ratio: 16 / 9; background: var(--card); box-shadow: 0 40px 80px -30px var(--sombra); }
.video-demo video { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--card); }
@media (max-width: 768px) { .video-demo .moldura { aspect-ratio: 4 / 5; } }
.play-grande { position: absolute; left: 50%; top: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 10px var(--accent-soft), 0 20px 50px -10px var(--accent-glow); transition: transform .2s; }
.play-grande:hover { transform: scale(1.06); }
.play-grande .ico { width: 28px; height: 28px; fill: currentColor; margin-left: 4px; }
.video-demo figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* ---------- 3.5 Bento ---------- */
.bento { display: grid; gap: var(--e2); grid-template-columns: repeat(12, 1fr); }
.cartao { grid-column: span 6; display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--border-soft); border-radius: var(--r-row); background: var(--card); overflow: hidden;
  transition: border-color .25s; }
.cartao:hover { border-color: var(--border-strong); }
.cartao--7 { grid-column: span 7; } .cartao--5 { grid-column: span 5; } .cartao--4 { grid-column: span 4; } .cartao--12 { grid-column: span 12; }
.cartao-texto { padding: var(--e4) var(--e4) var(--e3); }
.cartao-texto .rot { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/1 var(--font-mono); color: var(--accent-text); margin-bottom: var(--e2); }
.cartao h3 { font-size: 24px; letter-spacing: -.02em; margin-bottom: var(--e1); }
.cartao-texto p { margin: 0; color: var(--muted); font-size: 16px; }
.cartao .palco { position: relative; flex: 1; margin: 0 var(--e3) var(--e3); min-height: 280px; border-radius: var(--r-num); background: var(--bg-2); border: 1px solid var(--border-soft); overflow: hidden; display: flex; flex-direction: column; }
@media (max-width: 1080px) { .cartao, .cartao--7, .cartao--5, .cartao--4 { grid-column: span 6; } .cartao--12, .cartao--largo { grid-column: span 12; } }
@media (max-width: 760px) { .bento { grid-template-columns: 1fr; } .cartao, .cartao--7, .cartao--5, .cartao--4, .cartao--12, .cartao--largo { grid-column: auto; } .cartao-texto { padding: var(--e3) var(--e3) var(--e2); } .cartao .palco { margin: 0 var(--e2) var(--e2); } }
.bento-fecho { margin: var(--e4) 0 0; font-size: 14px; color: var(--muted); text-align: center; }

/* Mini-interfaces: peças comuns */
.mini { position: relative; flex: 1; display: flex; flex-direction: column; font: 400 13px/1.45 var(--font); color: var(--text); -webkit-user-select: none; user-select: none; }
.mini-barra { display: flex; align-items: center; gap: 8px; height: 34px; padding: 0 12px; border-bottom: 1px solid var(--border-soft); background: var(--card); font: 500 12px/1 var(--font); color: var(--muted); flex: none; }
.mini-barra::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.mini-barra em { margin-left: auto; font: 400 11px/1 var(--font-mono); font-style: normal; color: var(--muted); padding: 3px 8px; border: 1px solid var(--border-soft); border-radius: var(--r-pill); }
.mini-corpo { position: relative; flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.bt { display: inline-flex; align-items: center; justify-content: center; min-height: 28px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); font: 500 12px/1 var(--font); color: var(--title); background: var(--card); white-space: nowrap; transition: background .2s, transform .12s, border-color .2s; }
.bt-pri { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); }
.bt.pressionado { transform: scale(.94); }
.tag { display: inline-flex; align-items: center; min-height: 20px; padding: 0 8px; border-radius: var(--r-pill); font: 500 11px/1 var(--font); background: var(--raised); color: var(--muted); border: 1px solid var(--border-soft); transition: background .3s, color .3s; white-space: nowrap; }
.tag.ok { background: var(--pos-soft); color: var(--pos); border-color: transparent; }
.tag.ia { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
.caret { display: inline-block; width: 1.5px; height: 1.05em; margin-left: 1px; vertical-align: text-bottom; background: var(--accent); animation: piscar 1s steps(1) infinite; }
@keyframes piscar { 50% { opacity: 0; } }
.cursor { position: absolute; left: 0; top: 0; z-index: 5; width: 22px; height: 22px; color: var(--title); pointer-events: none; opacity: 0;
  transition: transform .75s cubic-bezier(.45,.05,.2,1), opacity .3s; filter: drop-shadow(0 2px 3px var(--sombra)); }
.cursor svg { width: 22px; height: 22px; fill: var(--bg); stroke: var(--title); stroke-width: 1.6; stroke-linejoin: round; }
.cursor.ativo { opacity: 1; }
.cursor::after { content: ""; position: absolute; left: -9px; top: -9px; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--accent); opacity: 0; transform: scale(.3); }
.cursor.clique::after { animation: clique .45s ease-out; }
@keyframes clique { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.4); } }
.aparece { opacity: 0; transform: translateY(6px); transition: opacity .4s, transform .4s; }
.aparece.on { opacity: 1; transform: none; }
.brilho { animation: brilho 1.1s ease-out; }
@keyframes brilho { 0% { box-shadow: 0 0 0 0 var(--accent-line); } 100% { box-shadow: 0 0 0 10px transparent; } }
.sel { background: var(--accent-soft); color: var(--title); border-radius: 3px; box-shadow: 0 0 0 1px var(--accent-line); }

/* 1. DNA */
.abas { display: flex; gap: 4px; padding: 3px; border-radius: var(--r-pill); background: var(--raised); overflow: hidden; }
.abas span { flex: 1 1 auto; text-align: center; padding: 6px 8px; border-radius: var(--r-pill); font: 500 11.5px/1.2 var(--font); color: var(--muted); white-space: nowrap; transition: background .3s, color .3s; }
.abas span.ativa { background: var(--card); color: var(--title); box-shadow: 0 1px 0 var(--border-soft), 0 0 0 1px var(--border-soft); }
.campo-rot { font: 500 11px/1 var(--font); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.campo { min-height: 58px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--card); color: var(--title); transition: border-color .3s; }
.campo.foco { border-color: var(--accent); }
.proposta { margin-top: auto; padding: 12px; border-radius: 14px; border: 1px solid var(--accent-line); background: var(--card); box-shadow: 0 12px 30px -16px var(--sombra); }
.proposta-tit { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 600 12px/1.2 var(--font); color: var(--title); }
.proposta-txt { margin: 0 0 10px; color: var(--text); }
.proposta-bt { display: flex; gap: 6px; flex-wrap: wrap; }
@media (max-width: 480px) { .abas { flex-wrap: wrap; border-radius: 14px; } .abas span { flex: 1 1 40%; font-size: 11px; } }

/* 2. Agentes por fase */
.fases-linha { position: relative; display: flex; justify-content: space-between; padding: 8px 4px 0; }
.fases-linha::before { content: ""; position: absolute; left: 22px; right: 22px; top: 27px; height: 2px; background: var(--track); }
.fases-linha .prog { position: absolute; left: 22px; top: 27px; height: 2px; width: 0; background: var(--accent); transition: width .8s cubic-bezier(.45,.05,.2,1); }
.fase-pt { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 54px; }
.fase-pt b { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--card); font: 650 14px/1 var(--font); color: var(--muted); transition: all .4s; }
.fase-pt small { font: 500 10.5px/1 var(--font); color: var(--muted); transition: color .4s; }
.fase-pt.ativa b { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 6px var(--accent-soft); }
.fase-pt.ativa small { color: var(--title); }
.fase-pt.feita b { border-color: var(--accent-line); color: var(--accent-text); }
.balao { margin-top: auto; padding: 14px; border-radius: 16px 16px 16px 4px; background: var(--card); border: 1px solid var(--border-soft); min-height: 96px; }
.balao small { display: flex; align-items: center; gap: 6px; font: 500 11px/1.2 var(--font); color: var(--accent-text); margin-bottom: 6px; }
.balao p { margin: 0; font: 500 15px/1.4 var(--font); color: var(--title); letter-spacing: -.01em; }

/* 3. Proposta e documento */
.divide { flex: 1; display: grid; grid-template-columns: 1fr 1.2fr; gap: 10px; }
.divide > div { min-width: 0; border-radius: 12px; border: 1px solid var(--border-soft); background: var(--card); padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.divide .lado-tit { display: flex; align-items: center; justify-content: space-between; gap: 6px; font: 600 12px/1.2 var(--font); color: var(--title); }
.msg-ia { padding: 10px 12px; border-radius: 12px 12px 12px 4px; background: var(--raised); color: var(--text); font-size: 12.5px; }
.msg-ia b { display: block; font: 500 11px/1.2 var(--font); color: var(--accent-text); margin-bottom: 4px; }
.sipoc-mini { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 12px; }
.sipoc-mini li { display: grid; grid-template-columns: 74px 1fr; gap: 8px; padding: 5px 8px; border-radius: 8px; background: var(--row); border: 1px solid var(--border-soft); }
.sipoc-mini li span:first-child { color: var(--muted); font-size: 11px; }
.sipoc-mini li span:last-child { color: var(--title); min-width: 0; overflow-wrap: anywhere; }
.divide .rodape-ed { margin-top: auto; display: flex; justify-content: flex-end; }
@media (max-width: 560px) { .divide { grid-template-columns: 1fr; } .divide .lado-ia .sipoc-mini { display: none; } }

/* 4. Mapa de processo */
.mapa { flex: 1; display: flex; align-items: center; justify-content: center; padding: 8px 0 40px; }
.etapa { position: relative; flex: 1 1 0; min-width: 0; padding: 10px 6px; text-align: center; border-radius: 10px; border: 1px solid var(--border-strong); background: var(--card); font: 500 12.5px/1.25 var(--font); color: var(--title); overflow-wrap: anywhere; }
.etapa small { display: block; font: 400 10px/1 var(--font-mono); color: var(--muted); margin-bottom: 4px; }
.seta { flex: 0 0 16px; height: 2px; background: var(--border-strong); position: relative; }
.seta::after { content: ""; position: absolute; right: -1px; top: -3px; border: 4px solid transparent; border-left: 6px solid var(--border-strong); border-right: 0; }
.seta.investigar { background: var(--warn); }
.seta.investigar::after { border-left-color: var(--warn); }
.ponto-inv { position: absolute; left: 50%; top: 50%; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--warn); animation: pulso 1.6s ease-out infinite; }
.ponto-inv-rot { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); font: 600 10px/1 var(--font-mono); color: var(--warn); white-space: nowrap; background: var(--warn-soft); padding: 4px 8px; border-radius: var(--r-pill); }
.ponto-inv-rot::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 26px; background: var(--warn); opacity: .6; }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 var(--warn-soft), 0 0 0 0 var(--warn); } 70% { box-shadow: 0 0 0 10px transparent, 0 0 0 4px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.mapa-rodape { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
@media (max-width: 480px) {
  .mapa { flex-direction: column; align-items: stretch; padding: 4px 0; }
  .etapa { flex: none; padding: 8px 10px; display: flex; align-items: center; gap: 10px; text-align: left; }
  .etapa small { margin: 0; }
  .seta { flex: 0 0 14px; width: 2px; height: 14px; align-self: center; }
  .seta::after { right: auto; left: -3px; top: auto; bottom: -1px; border: 4px solid transparent; border-top: 6px solid var(--border-strong); border-bottom: 0; }
  .seta.investigar { flex-basis: 30px; }
  .seta.investigar::after { border-left-color: transparent; border-top-color: var(--warn); }
  .ponto-inv-rot { left: 16px; top: 50%; transform: translateY(-50%); }
  .ponto-inv-rot::before { display: none; }
}

/* 5. Motor de cálculo */
.motor-topo { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.envio { flex: 1; min-width: 150px; display: flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px; border-radius: 10px; border: 1px dashed var(--border-strong); color: var(--muted); font-size: 12px; transition: border-color .3s, background .3s; }
.envio.cheio { border-style: solid; border-color: var(--accent-line); background: var(--accent-soft); color: var(--title); }
.envio .ico { width: 16px; height: 16px; }
.modelo { display: inline-flex; align-items: center; gap: 6px; font: 500 11.5px/1 var(--font); color: var(--accent-text); }
.modelo .ico { width: 14px; height: 14px; }
.histo { position: relative; height: 112px; display: flex; align-items: flex-end; gap: 4px; padding: 0 2px 0; border-bottom: 1px solid var(--border-strong); }
.histo i { flex: 1; height: 0; border-radius: 3px 3px 0 0; background: var(--accent); opacity: .85; transition: height .55s cubic-bezier(.3,.8,.3,1); }
.histo-eixo { display: flex; justify-content: space-between; font: 400 10px/1 var(--font-mono); color: var(--muted); margin-top: 4px; }
.leitura { padding: 10px 12px; border-radius: 12px; background: var(--card); border: 1px solid var(--border-soft); }
.leitura b { display: block; font: 600 11.5px/1.2 var(--font); color: var(--title); margin-bottom: 4px; }
.leitura p { margin: 0 0 4px; font-size: 12.5px; color: var(--text); }
.detalhes { font-size: 12px; }
.detalhes-bt { display: inline-flex; align-items: center; gap: 4px; color: var(--accent-text); font: 500 12px/1 var(--font); }
.detalhes-bt .ico { width: 14px; height: 14px; transition: transform .3s; }
.detalhes.aberto .detalhes-bt .ico { transform: rotate(180deg); }
.detalhes dl { margin: 6px 0 0; display: grid; grid-template-columns: repeat(5, auto); gap: 2px 12px; font: 400 11px/1.4 var(--font-mono); color: var(--muted); max-height: 0; overflow: hidden; transition: max-height .4s; }
.detalhes.aberto dl { max-height: 60px; }
.detalhes dt { color: var(--muted); } .detalhes dd { margin: 0; color: var(--title); }
@media (max-width: 480px) { .detalhes dl { grid-template-columns: repeat(3, auto); } .detalhes.aberto dl { max-height: 90px; } }

/* 6. Roteiro com checklist */
.rot-topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rot-topo b { font: 600 13px/1.2 var(--font); color: var(--title); }
.barra { height: 6px; border-radius: var(--r-pill); background: var(--track); overflow: hidden; }
.barra i { display: block; height: 100%; width: 25%; background: var(--accent); border-radius: inherit; transition: width .7s cubic-bezier(.45,.05,.2,1); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.checklist li { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: 10px; border: 1px solid var(--border-soft); background: var(--card); transition: border-color .4s, background .4s; }
.checklist li.atual { border-color: var(--accent-line); background: var(--accent-soft); }
.caixa { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 5px; border: 1.5px solid var(--border-strong); display: grid; place-items: center; transition: background .25s, border-color .25s; }
.caixa svg { width: 12px; height: 12px; fill: none; stroke: var(--accent-ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s .1s; }
.checklist li.feito .caixa { background: var(--accent); border-color: var(--accent); }
.checklist li.feito .caixa svg { stroke-dashoffset: 0; }
.checklist li.feito span:last-child { color: var(--muted); }
.legenda-mini { margin-top: auto; font: 500 12px/1.3 var(--font); color: var(--muted); display: flex; align-items: center; gap: 6px; }
.legenda-mini .ico { width: 14px; height: 14px; color: var(--accent-text); }

/* 7. Mandala: anéis concêntricos (fases, células de ferramentas, órbita dos agentes) */
.md-palco { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 12px 12px 14px; }
.md-roda { position: relative; width: min(100%, 320px); }
.mandala2 { display: block; width: 100%; height: auto; overflow: visible; }
.mandala2 .md-halo { fill: var(--accent-soft); opacity: .35; filter: blur(14px); }
.mandala2 .md-orbita { fill: none; stroke: var(--accent-line); stroke-width: .8; stroke-dasharray: 1 5; opacity: .7; }
.mandala2 .md-orbita.fina { stroke: var(--border-soft); stroke-dasharray: none; }
.mandala2 .md-seg { fill: var(--raised); stroke: var(--border-strong); stroke-width: .6; transition: fill .6s, stroke .6s; }
.mandala2 .md-cel { fill: var(--card); stroke: var(--border-soft); stroke-width: .6; transition: fill .6s, stroke .6s, opacity .6s; }
.mandala2 .md-rot { fill: var(--muted); font: 650 10.5px var(--font); letter-spacing: .05em; text-transform: uppercase; transition: fill .6s; }
.mandala2 .md-fase.on .md-seg { fill: var(--accent-soft); stroke: var(--accent); filter: drop-shadow(0 0 6px var(--accent-line)); }
.mandala2 .md-fase.on .md-cel { fill: var(--accent-soft); stroke: var(--accent-line); }
.mandala2 .md-fase.on .md-rot { fill: var(--title); }
.mandala2 .md-cel.alvo { fill: var(--accent); stroke: var(--accent); filter: drop-shadow(0 0 5px var(--accent-line)); }
.mandala2 .md-nucleo { fill: var(--bg); stroke: var(--accent-line); stroke-width: 1; }
.mandala2 .md-nucleo-t { fill: var(--title); font: 700 11px var(--font); letter-spacing: .14em; text-anchor: middle; dominant-baseline: central; }
.mandala2 .md-nucleo-s { fill: var(--accent-text); font: 500 7px var(--font-mono); letter-spacing: .3em; text-anchor: middle; dominant-baseline: central; }
.mandala2 .md-agentes { transform-origin: 150px 150px; animation: girar 60s linear infinite; }
.mandala2 .md-pontos { transform-origin: 150px 150px; animation: girar 90s linear infinite reverse; }
.mandala2 .md-pontos circle { fill: var(--accent); opacity: .5; }
.mandala2 .md-ag circle { fill: var(--bg); stroke: var(--accent); stroke-width: 1.4; transition: fill .5s; }
.mandala2 .md-ag .md-ag-in { fill: var(--accent); stroke: none; }
.mandala2 .md-ag.on circle:first-child { fill: var(--accent-soft); filter: drop-shadow(0 0 6px var(--accent)); }
.md-legenda { width: min(100%, 320px); display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border-soft); background: var(--card); }
.md-idx { font: 600 12px/1 var(--font-mono); color: var(--accent-text); }
.md-legenda b { display: block; font: 650 14px/1.2 var(--font); color: var(--title); letter-spacing: .02em; text-transform: uppercase; }
.md-legenda small { display: block; font: 500 12px/1.3 var(--font); color: var(--muted); }
.ficha { position: absolute; right: -4px; bottom: 6px; width: min(200px, 66%); padding: 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--accent-line); box-shadow: 0 16px 40px -14px var(--sombra); }
.ficha b { display: block; font: 600 13px/1.2 var(--font); color: var(--title); }
.ficha small { display: block; font: 500 11px/1.3 var(--font); color: var(--accent-text); margin: 2px 0 6px; }
.ficha p { margin: 0 0 8px; font-size: 12px; color: var(--muted); }

/* Radar C-PQP (Gestão por Indicadores) */
.radar { width: 100%; max-width: 180px; display: block; margin: 0 auto; overflow: visible; }
.radar .grade-r { fill: none; stroke: var(--border-soft); }
.radar .eixo { stroke: var(--border-soft); }
.radar .area { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 1.5; }
.radar .classe { fill: var(--card); stroke: var(--border-strong); stroke-width: 1.5; transition: fill .4s, stroke .4s; }
.radar .classe.on { fill: var(--accent); stroke: var(--accent); }
.radar .classe.vazia { stroke: var(--warn); fill: var(--warn-soft); animation: pulso 1.6s ease-out infinite; }
.radar text { fill: var(--muted); font: 500 9.5px var(--font); text-anchor: middle; dominant-baseline: central; }
.resp { display: grid; gap: 8px; align-content: start; }
.resp div { padding: 8px 10px; border-radius: 10px; background: var(--row); border: 1px solid var(--border-soft); font-size: 12.5px; color: var(--text); }
.resp b { display: block; font: 600 11px/1.2 var(--font); color: var(--accent-text); margin-bottom: 2px; letter-spacing: .02em; }

/* 05. Project Charter */
.doc-topo { display: flex; align-items: center; justify-content: space-between; gap: 8px; font: 600 13px/1.3 var(--font); color: var(--title); }
.charter { margin: 0; display: grid; gap: 6px; }
.charter > div { display: grid; grid-template-columns: 92px 1fr; gap: 8px; padding: 7px 9px; border-radius: 9px; background: var(--row); border: 1px solid var(--border-soft); font-size: 12px; transition: border-color .4s, background .4s; }
.charter dt { color: var(--muted); font: 500 11px/1.35 var(--font); display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.charter dd { margin: 0; color: var(--title); min-width: 0; }
.charter .trecho { border-color: var(--accent-line); background: var(--accent-soft); }
.charter .trecho.salvo { border-color: var(--border-soft); background: var(--row); }
.charter .trecho.brilho { animation: brilho 1.1s ease-out; }
@media (max-width: 420px) { .charter > div { grid-template-columns: 1fr; gap: 2px; } }

/* 06. Detetive da Causa Raiz: espinha de peixe e matriz de hipóteses */
.det { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; align-items: stretch; }
.espinha { display: flex; flex-direction: column; justify-content: center; gap: 0; min-width: 0; }
.ossos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.osso { position: relative; display: flex; flex-direction: column; gap: 5px; padding: 0 0 0 10px; border-left: 1.5px solid var(--border-strong); min-width: 0; }
.ossos.cima .osso { padding-bottom: 12px; transform: skewX(-14deg); }
.ossos.baixo .osso { padding-top: 12px; transform: skewX(14deg); }
.ossos .osso > * { transform: skewX(14deg); }
.ossos.baixo .osso > * { transform: skewX(-14deg); }
.ossos.baixo .osso { flex-direction: column-reverse; }
.osso b { font: 600 10.5px/1 var(--font-mono); color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.causa { display: block; padding: 6px 8px; border-radius: 8px; border: 1px dashed var(--border-strong); background: var(--card); font: 500 11.5px/1.3 var(--font); color: var(--muted); opacity: .35; transition: all .45s; }
.causa.on { opacity: 1; border-color: var(--accent-line); color: var(--title); }
.causa.escolhida { border-style: solid; border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 12px var(--accent-line); }
.coluna { position: relative; height: 34px; display: flex; align-items: center; justify-content: flex-end; }
.coluna::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--border-strong); }
.cabeca-peixe { position: relative; padding: 6px 10px; border-radius: 8px; background: var(--btn); color: var(--btn-ink); font: 650 11.5px/1.2 var(--font); white-space: nowrap; }
.hip { padding: 12px; border-radius: 12px; border: 1px solid var(--accent-line); background: var(--card); display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--text); }
.hip p { margin: 0; }
.hip .hip-tit { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; font: 600 13px/1.3 var(--font); color: var(--title); }
.hip p b { display: block; font: 600 11px/1.2 var(--font); color: var(--accent-text); margin-bottom: 2px; }
.hip .bt { align-self: flex-start; margin-top: auto; }
@media (max-width: 760px) { .det { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .ossos { gap: 5px; } .causa { font-size: 10.5px; padding: 5px 6px; } .osso { padding-left: 7px; } }

/* ---------- 3.6 Marquee ---------- */
.faixa { padding: var(--e12) 0; border-top: 1px solid var(--border-soft); overflow: hidden; }
.faixa h2 { text-align: center; padding: 0 var(--e2); margin-bottom: var(--e6); font-size: clamp(26px, 3.4vw, 40px); }
.trilho { display: flex; width: max-content; gap: 10px; padding: 5px 0; animation: correr 120s linear infinite; }
.trilho--volta { animation-duration: 60s; animation-direction: reverse; margin-top: 10px; }
.marquee { -webkit-mask-image: linear-gradient(90deg, transparent, var(--mascara) 8%, var(--mascara) 92%, transparent); mask-image: linear-gradient(90deg, transparent, var(--mascara) 8%, var(--mascara) 92%, transparent); }
.marquee:hover .trilho { animation-play-state: paused; }
.trilho span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--border-soft); background: var(--card); font: 500 15px/1 var(--font); color: var(--text); white-space: nowrap; }
.trilho span.ag { border-color: var(--accent-line); color: var(--accent-text); background: var(--accent-soft); }
.trilho--volta span { font-weight: 600; }
@keyframes correr { to { transform: translateX(-50%); } }

/* ---------- 3.7 Catálogo ---------- */
.catalogo { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 var(--e6); counter-reset: cat; }
.catalogo li { position: relative; padding: 18px 0 18px 52px; border-top: 1px solid var(--border-soft); counter-increment: cat; font-size: 16px; color: var(--muted); transition: color .2s; }
.catalogo li:hover { color: var(--text); }
.catalogo li::before { content: counter(cat, decimal-leading-zero); position: absolute; left: 0; top: 20px; font: 500 12px/1.4 var(--font-mono); color: var(--accent-text); }
.catalogo strong { color: var(--title); }
@media (max-width: 760px) { .catalogo { grid-template-columns: 1fr; } }
.lista-completa { margin-top: var(--e4); display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: var(--e2); }
.grupo { padding: var(--e3); border-radius: var(--r-num); border: 1px solid var(--border-soft); background: var(--card); }
.grupo h3 { font-size: 16px; margin-bottom: var(--e2); }
.grupo ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.grupo li { padding: 5px 10px; border-radius: var(--r-pill); background: var(--raised); font-size: 13px; color: var(--text); }
.bt-lista[aria-expanded="true"] .ico { transform: rotate(180deg); }
.bt-lista .ico { transition: transform .3s; }

/* ---------- 3.8 Fundador ---------- */
.fundador { display: grid; gap: var(--e6); align-items: center; max-width: var(--largura-media); margin: 0 auto; }
@media (min-width: 820px) { .fundador { grid-template-columns: 300px 1fr; } }
.foto-moldura { position: relative; width: 100%; max-width: 300px; }
.foto-moldura::after { content: ""; position: absolute; inset: 12px -12px -12px 12px; border-radius: var(--r-row); border: 1px solid var(--accent-line); z-index: -1; }
.foto-vilson { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-row); border: 1px solid var(--border-soft); position: relative; }
.fundador .stack { position: relative; z-index: 0; }

/* ---------- 3.9 Como funciona ---------- */
.tres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--e2); counter-reset: tres; position: relative; }
.tres li { position: relative; padding: var(--e4); border-radius: var(--r-num); border: 1px solid var(--border-soft); background: var(--card); counter-increment: tres; }
.tres li::before { content: counter(tres); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--e3); border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 700 18px/1 var(--font); box-shadow: 0 0 0 6px var(--accent-soft); }
.tres h3 { font-size: 20px; }
.tres p { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 860px) { .tres { grid-template-columns: 1fr; } }
.tres-fecho { margin: var(--e4) 0 0; text-align: center; font: 600 18px/1.4 var(--font); color: var(--title); }

/* ---------- 3.10 Chat ---------- */
.comparar { width: 100%; border-collapse: separate; border-spacing: 0; margin: var(--e6) 0 var(--e4); font-size: 16px; }
.comparar th, .comparar td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--border-soft); vertical-align: top; }
.comparar thead th { font: 500 12px/1.3 var(--font); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--border-strong); }
.comparar tbody th { font-weight: 600; color: var(--title); width: 22%; }
.comparar td { color: var(--muted); }
.comparar .elci { background: var(--accent-soft); color: var(--title); }
.comparar thead .elci { color: var(--accent-text); border-radius: var(--r-item) var(--r-item) 0 0; }
.comparar tbody tr:last-child .elci { border-radius: 0 0 var(--r-item) var(--r-item); }
@media (max-width: 680px) {
  .comparar thead { display: none; }
  .comparar, .comparar tbody, .comparar tr, .comparar th, .comparar td { display: block; width: 100%; }
  .comparar tr { padding: 14px 0; border-bottom: 1px solid var(--border-soft); }
  .comparar tbody th { width: 100%; padding: 0 0 8px; border: 0; }
  .comparar td { padding: 8px 12px; border: 0; border-radius: var(--r-item); }
  .comparar td::before { content: attr(data-rotulo); display: block; font: 500 11px/1.3 var(--font); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
  .comparar td.elci::before { color: var(--accent-text); }
  .comparar tbody tr:last-child .elci { border-radius: var(--r-item); }
}
.chat-fecho { font: 600 clamp(19px, 2vw, 22px)/1.45 var(--font); letter-spacing: -.01em; color: var(--title); max-width: var(--largura); }

/* ---------- 3.11 Preço ---------- */
.preco-card { position: relative; display: grid; border-radius: var(--r-row); border: 1px solid var(--accent-line); background: var(--card); overflow: hidden;
  box-shadow: 0 0 0 6px var(--accent-soft), 0 50px 100px -40px var(--accent-glow); }
@media (min-width: 960px) { .preco-card { grid-template-columns: 1.15fr 1fr; } }
.preco-card > div { padding: var(--e6) var(--e5); min-width: 0; }
.preco-card .lado-preco { background: var(--bg-2); border-left: 1px solid var(--border-soft); }
@media (max-width: 959px) { .preco-card .lado-preco { border-left: 0; border-top: 1px solid var(--border-soft); } }
@media (max-width: 640px) { .preco-card > div { padding: var(--e4) var(--e3); } }
.selo-plano { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: var(--r-pill); background: var(--accent-soft); color: var(--accent-text); font: 500 12px/1 var(--font); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; margin-bottom: var(--e3); }
.preco-titulo { font-size: clamp(44px, 6vw, 72px); font-weight: 700; letter-spacing: -.045em; line-height: 1; margin-bottom: var(--e4); font-variant-numeric: tabular-nums; }
.subrot { font: 500 13px/1.3 var(--font); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--muted); margin: 0 0 var(--e2); }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; font-size: 16px; color: var(--text); }
.checks li .ico { position: absolute; left: 0; top: 3px; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-text); stroke-width: 3; }
.regras { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.regras li { padding: 12px 14px; border-radius: 14px; background: var(--row); border: 1px solid var(--border-soft); font-size: 15px; color: var(--muted); }
.lado-preco .cta { width: 100%; }

/* ---------- 3.12 Garantia ---------- */
.garantia { position: relative; overflow: hidden; }
.garantia-in { display: grid; gap: var(--e6); align-items: center; max-width: var(--largura-media); margin: 0 auto; }
@media (min-width: 860px) { .garantia-in { grid-template-columns: 240px 1fr; } }
.selo14 { position: relative; width: 220px; height: 220px; margin: 0 auto; display: grid; place-items: center; }
.selo14 svg.anel { position: absolute; inset: 0; width: 100%; height: 100%; animation: girar 40s linear infinite; }
.selo14 svg.anel text { fill: var(--muted); font: 500 10.5px var(--font); letter-spacing: .2em; text-transform: uppercase; }
.selo14 .miolo14 { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; align-content: center; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.selo14 b { font: 700 64px/0.9 var(--font); letter-spacing: -.05em; color: var(--title); }
.selo14 small { font: 500 13px/1 var(--font); color: var(--accent-text); letter-spacing: .1em; text-transform: uppercase; margin-top: 6px; }
.garantia .letra-miuda { font-size: 15px; color: var(--muted); }

/* ---------- 3.13 FAQ (acordeão) ---------- */
.faq { max-width: var(--largura-media); margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border-radius: var(--r-num); border: 1px solid var(--border-soft); background: var(--card); transition: border-color .2s; }
.faq-item:hover { border-color: var(--border-strong); }
.faq-item h3 { margin: 0; font-size: inherit; }
.faq-bt { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--e2); min-height: 64px; padding: 18px var(--e3); background: none; border: 0; cursor: pointer; text-align: left; font: 600 18px/1.4 var(--font); color: var(--title); border-radius: var(--r-num); }
.faq-bt .mais { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border-soft); display: grid; place-items: center; transition: transform .3s, background .3s; }
.faq-bt .mais .ico { width: 16px; height: 16px; }
.faq-bt[aria-expanded="true"] .mais { transform: rotate(45deg); background: var(--accent-soft); border-color: var(--accent-line); color: var(--accent-text); }
.faq-painel { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .35s ease; }
.faq-painel > div { overflow: hidden; }
.js .faq-item:not(.aberto) .faq-painel { grid-template-rows: 0fr; }
.js .faq-item:not(.aberto) .faq-painel > div { visibility: hidden; transition: visibility 0s .35s; }
.faq-painel p { margin: 0; padding: 0 var(--e3) var(--e3); color: var(--muted); font-size: 17px; }
.faq-item.aberto { border-color: var(--border-strong); }
.faq-suporte { max-width: var(--largura-media); margin: var(--e4) auto 0; font-size: 15px; color: var(--muted); text-align: center; }
@media (max-width: 640px) { .faq-bt { font-size: 16.5px; padding: 16px 18px; } .faq-painel p { padding: 0 18px 18px; font-size: 16px; } }

/* ---------- 3.14 CTA final ---------- */
.final { text-align: center; overflow: hidden; }
.final::before { content: ""; position: absolute; left: 50%; top: 0; width: 1000px; height: 600px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, var(--accent-glow), transparent); }
.final .miolo--texto { position: relative; }
.final h2 { font-size: clamp(36px, 5.4vw, 64px); }
.final p { font-size: 19px; color: var(--muted); }
.final .cta-grupo { margin-top: var(--e5); }

/* ---------- Rodapé ---------- */
.rodape { padding: var(--e6) var(--e2) calc(var(--e6) + env(safe-area-inset-bottom)); text-align: center; font-size: 14px; color: var(--muted); border-top: 1px solid var(--border-soft); }
.rodape nav a { display: inline-flex; align-items: center; min-height: var(--target-min); color: var(--text); margin: 0 var(--e1); }
.rodape nav a:hover { color: var(--accent-text); }
.rodape img { width: 96px; margin: 0 auto var(--e2); opacity: .8; filter: var(--logo-filtro); }

/* ---------- CTA fixo no celular ---------- */
.fixo { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; border-radius: var(--r-pill); background: var(--vidro); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--border-strong);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.fixo p { margin: 0; font: 600 15px/1.2 var(--font); color: var(--title); }
.fixo p small { display: block; font: 400 12px/1.3 var(--font); color: var(--muted); }
.fixo .btn-topo { background: var(--accent); color: var(--accent-ink); }
.fixo.on { transform: none; }
@media (max-width: 760px) { .fixo { display: flex; } }
body:has(#aviso-cookies:not([hidden])) .fixo { display: none; }

/* ---------- Aviso de cookies ---------- */
.cookies {
  position: fixed; left: var(--e2); right: var(--e2); bottom: var(--e2); z-index: 70; max-width: var(--largura-media); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--e2) var(--e3); padding: var(--e2) var(--e3);
  background: var(--raised); border: 1px solid var(--border-strong); border-radius: var(--r-row); font-size: 15px; color: var(--text); box-shadow: 0 20px 50px -20px var(--sombra);
}
.cookies p { margin: 0; flex: 1 1 320px; }
.cookies-botoes { display: flex; flex-wrap: wrap; gap: var(--e1); }

/* ---------- Obrigado ---------- */
.topo-obr { position: static; background: transparent; justify-content: center; }
.topo-obr .lockup { margin: 0; }
.obrigado { padding: var(--e8) var(--e2) var(--e12); position: relative; }
.obrigado h1 { font-size: clamp(36px, 5vw, 56px); }
.passos { list-style: none; padding: 0; margin: var(--e4) 0; display: grid; gap: var(--e2); counter-reset: passo; }
.passos > li { position: relative; padding: var(--e3) var(--e3) var(--e3) 80px; border-radius: var(--r-num); background: var(--card); border: 1px solid var(--border-soft); counter-increment: passo; }
.passos > li::before { content: counter(passo); position: absolute; left: var(--e3); top: var(--e3); width: 36px; height: 36px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--accent-ink); font: 700 16px/36px var(--font); text-align: center; box-shadow: 0 0 0 5px var(--accent-soft); }
.passos h2 { font-size: 20px; font-weight: 600; letter-spacing: -.01em; margin-bottom: var(--e1); }
.passos p:last-child { margin-bottom: 0; }
@media (max-width: 480px) { .passos > li { padding-left: var(--e3); padding-top: 76px; } }
.nota { padding: var(--e2) var(--e3); border: 1px solid var(--border-soft); background: var(--card); border-radius: var(--r-row); margin: 0 0 var(--e3); }
.nota p:last-child { margin-bottom: 0; }
.destaque { font-weight: 500; font-size: 1.15em; color: var(--title); line-height: 1.4; }
.assinatura-vilson { font-weight: 600; font-size: 22px; color: var(--title); }
.oferta { border: 1px solid var(--border-soft); border-radius: var(--r-num); padding: var(--e6) var(--e4); background: var(--card); }
.oferta h3 { margin-top: var(--e4); font: 500 13px/1.3 var(--font); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--muted); }
.preco { font: 700 40px/1.1 var(--font); font-variant-numeric: tabular-nums; letter-spacing: -.03em; color: var(--title); margin: var(--e2) 0 var(--e1); }
.lista { padding-left: 1.2em; margin: 0 0 var(--e3); }
.lista li { margin-bottom: var(--e1); }
.lista li::marker { color: var(--accent-text); }
.upsell { margin: var(--e6) 0; }
.upsell .cta-grupo { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--e2); }
.upsell .cta-nota { text-align: center; margin-left: auto; margin-right: auto; }
@media (max-width: 640px) { .oferta { padding: var(--e4) var(--e3); } }

/* ---------- Movimento reduzido: sem animação, tudo no estado final ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .revelar { opacity: 1; transform: none; }
  .trilho { animation: none; flex-wrap: wrap; width: auto; justify-content: center; padding: 0 var(--e2); }
  .trilho [aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .hero-visual .browser { transform: none; }
}

/* ---------- Preço reorganizado e CTAs extras (mesa redonda, 23/11) ---------- */
.preco-pergunta { max-width: var(--largura); margin: 0 auto var(--e6); text-align: center; font: 600 clamp(20px, 2.4vw, 28px)/1.35 var(--font); letter-spacing: -.015em; color: var(--title); text-wrap: balance; }
.preco-dia { margin: calc(-1 * var(--e3)) 0 var(--e4); font-size: 16px; color: var(--accent-text); font-weight: 500; }
.blocos-oferta { display: grid; gap: 10px; }
.blocos-oferta > div { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border-soft); background: var(--row); }
.blocos-oferta h3 { margin: 0 0 4px; font: 600 13px/1.3 var(--font); letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--accent-text); }
.blocos-oferta p { margin: 0; font-size: 15.5px; color: var(--text); }
.preco-miudo { margin: var(--e3) 0 0; font-size: 13px; color: var(--muted); }
.regra-curta { font-size: 15px; color: var(--text); margin: 0 0 var(--e2); }
.regras-ac .faq-bt { font-size: 15px; min-height: 52px; padding: 12px 16px; }
.regras-ac .regras { padding: 0 12px 12px; }
.cta-duplo { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--e2); }
.cta-duplo .cta-nota, .cta-duplo .cta-aviso { flex: 0 0 100%; margin-top: 0; }

/* ---------- Rodada de 24/11: cards refeitos e novos ---------- */
.cartao-fecho { margin: 0 var(--e3) var(--e3); font-size: 14px; color: var(--muted); }
.cartao-fecho em { color: var(--text); font-style: normal; }
.cartao-texto .apoio { margin-top: var(--e1); font-size: 14.5px; }
.leg-mini { margin: 0; min-height: 2.6em; display: flex; align-items: center; font: 600 13px/1.3 var(--font); color: var(--title); transition: opacity .35s; }
.leg-mini.troca { opacity: 0; }
.tag-vazia:empty { display: none; }
@media (max-width: 760px) { .cartao-fecho { margin: 0 var(--e2) var(--e2); } }

/* 03. Gestão de projetos */
.gp-palco { position: relative; flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 14px; min-height: 360px; }
.gp-folhas { position: absolute; inset: 14px 14px 60px; transition: opacity .9s; }
.gp-folhas.dissolve { opacity: 0; }
.folha { position: absolute; display: inline-flex; align-items: center; min-height: 54px; padding: 10px 14px 10px 12px; border-radius: 6px; background: var(--card); border: 1px solid var(--border-strong);
  font: 600 12.5px/1.2 var(--font); color: var(--title); box-shadow: 0 10px 24px -12px var(--sombra); white-space: nowrap; }
.folha::before { content: ""; width: 14px; height: 18px; margin-right: 8px; border-radius: 2px; border: 1.5px solid var(--muted); flex: none; }
.f1 { left: 4%; top: 6%; animation: voa1 3.2s ease-in-out infinite alternate; }
.f2 { left: 40%; top: 2%; animation: voa2 2.8s ease-in-out infinite alternate; }
.f3 { left: 66%; top: 24%; animation: voa3 3.6s ease-in-out infinite alternate; }
.f4 { left: 12%; top: 46%; animation: voa2 3s ease-in-out infinite alternate-reverse; }
.f5 { left: 46%; top: 50%; animation: voa1 3.4s ease-in-out infinite alternate-reverse; }
.f6 { left: 28%; top: 26%; animation: voa3 2.6s ease-in-out infinite alternate; z-index: 2; }
@keyframes voa1 { 0% { transform: translate(0, 0) rotate(-6deg); } 100% { transform: translate(18%, 30%) rotate(5deg); } }
@keyframes voa2 { 0% { transform: translate(0, 0) rotate(4deg); } 100% { transform: translate(-22%, 24%) rotate(-7deg); } }
@keyframes voa3 { 0% { transform: translate(0, 0) rotate(-3deg); } 100% { transform: translate(-30%, -18%) rotate(8deg); } }
.gp-q { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); padding: 5px 10px; border-radius: var(--r-pill); background: var(--warn-soft); color: var(--warn); border: 1px solid var(--warn); font: 600 11.5px/1 var(--font); white-space: nowrap; }
.gp-quadro { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 14px; border: 1px solid transparent; transition: border-color .8s; }
.gp-quadro.on { border-color: var(--accent-line); }
.gp-tit { margin: 0; font: 650 16px/1.2 var(--font); color: var(--title); letter-spacing: -.01em; }
.gp-grid { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 8px; }
.gp-b { min-width: 0; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--border-soft); background: var(--card); display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--muted); }
.gp-b small { font: 600 11px/1.2 var(--font); color: var(--accent-text); letter-spacing: .03em; text-transform: uppercase; }
.gp-b > b { font: 700 20px/1 var(--font); color: var(--title); }
.gp-fases { grid-row: span 2; }
.gp-fase { display: grid; grid-template-columns: 1fr auto; gap: 4px 8px; align-items: center; }
.gp-fase span { font: 600 12px/1.2 var(--font); color: var(--title); }
.gp-fase em { font-style: normal; font-size: 11px; color: var(--muted); }
.gp-fase > i { grid-column: 1 / -1; height: 5px; border-radius: var(--r-pill); background: var(--track); overflow: hidden; }
.gp-fase > i > i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.gp-prep span { color: var(--muted); font-weight: 500; }
.gp-parou { margin: 2px 0 0; padding: 6px 8px; border-radius: 8px; background: var(--accent-soft); color: var(--title); font-size: 11.5px; }
.gp-rev svg { width: 54px; height: 54px; transform: rotate(-90deg); }
.gp-anel { fill: none; stroke: var(--track); stroke-width: 4; }
.gp-anel-v { fill: none; stroke: var(--accent); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 60 100; }
.gp-docs { grid-column: 1 / -1; }
.gp-docs p { margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 8px; border-radius: 8px; background: var(--row); }
.gp-docs p b { color: var(--title); font-size: 12px; margin-right: auto; }
@media (max-width: 760px) { .gp-grid { grid-template-columns: 1fr 1fr; } .gp-fases { grid-row: auto; grid-column: 1 / -1; } .gp-palco { min-height: 420px; } .folha { min-height: 44px; font-size: 11.5px; } }

/* 05. Mapa de processo: fluxograma de raias e Mapa LSS */
.mapa-palco { position: relative; flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 12px; }
.sl-rolar { overflow-x: auto; transition: opacity .6s, transform .6s; -webkit-overflow-scrolling: touch; }
.sl-rolar.sai { opacity: 0; transform: scale(1.06); }
.sl { display: block; width: 100%; min-width: 560px; height: auto; }
.sl-raia { fill: var(--card); stroke: var(--border-soft); }
.sl-raia.alt { fill: var(--bg-2); }
.sl-rr { fill: var(--muted); font: 600 9px var(--font); letter-spacing: .04em; text-transform: uppercase; }
.sl-n { opacity: 0; transition: opacity .45s; }
.sl-n.on { opacity: 1; }
.sl-at, .sl-doc { fill: var(--raised); stroke: var(--border-strong); stroke-width: 1; }
.sl-dec { fill: var(--raised); stroke: var(--accent-line); stroke-width: 1; }
.sl-ini { fill: var(--card); stroke: var(--title); stroke-width: 1.2; }
.sl-fim { fill: var(--card); stroke: var(--title); stroke-width: 3.5; }
.sl-esp { fill: var(--card); stroke: var(--title); stroke-width: 1.2; }
.sl-rel { fill: none; stroke: var(--title); stroke-width: 1.2; stroke-linecap: round; }
.sl-t { fill: var(--title); font: 500 8.6px var(--font); text-anchor: middle; }
.sl-t.sm { font-size: 7.6px; }
.sl-sim, .sl-nao { font: 700 8.5px var(--font); text-anchor: middle; }
.sl-sim { fill: var(--accent-text); } .sl-nao { fill: var(--neg-text); }
.sl-seta, .sl-ret { fill: none; stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .5s ease-out; }
.sl-seta { stroke: var(--muted); }
.sl-ret { stroke: var(--neg-text); stroke-width: 1.6; }
.sl-seta.on, .sl-ret.on { stroke-dashoffset: 0; }
.sl-retrot { fill: var(--neg-text); font: 600 8.5px var(--font); text-anchor: middle; }
.sl-n.editado .sl-at { stroke: var(--accent); }
.lss { position: absolute; inset: 12px 12px 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; pointer-events: none; }
.lss-xs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: min(100%, 520px); }
.lss-x { position: relative; display: flex; align-items: center; gap: 6px; padding: 7px 9px; border-radius: 8px; border: 1px solid var(--border-strong); background: var(--card); font: 500 11.5px/1.25 var(--font); color: var(--title); opacity: 0; transform: translateY(14px); transition: opacity .45s, transform .45s, border-color .4s; }
.lss-x.on { opacity: 1; transform: none; }
.lss-x b { flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; margin-left: auto; border-radius: 5px; background: var(--raised); font: 700 10px/1 var(--font-mono); color: var(--accent-text); }
.lss-x b.crit { margin-left: 0; background: var(--neg-soft); color: var(--neg-text); }
.lss-x .alta { position: absolute; right: -6px; top: -9px; background: var(--neg-soft); color: var(--neg-text); border-color: transparent; opacity: 0; transition: opacity .4s; }
.lss-x.alvo { border-color: var(--neg-text); }
.lss-x.alvo .alta { opacity: 1; }
.lss-at { position: relative; padding: 12px 18px; border-radius: 10px; border: 1.5px solid var(--accent); background: var(--accent-soft); font: 650 14px/1.2 var(--font); color: var(--title); }
.lss-at::before, .lss-at::after { content: ""; position: absolute; left: 50%; width: 1.5px; height: 10px; background: var(--accent-line); }
.lss-at::before { bottom: 100%; } .lss-at::after { top: 100%; }
.lss-at small { margin-right: 8px; font: 600 11px/1 var(--font-mono); color: var(--accent-text); }
.lss-y { padding: 8px 12px; border-radius: 8px; border: 1px dashed var(--border-strong); background: var(--card); font: 500 12px/1.25 var(--font); color: var(--muted); transition: all .4s; }
.lss-y.ok { border-style: solid; border-color: var(--accent-line); color: var(--title); }
.lss-leg { margin: 0; font-size: 11px; color: var(--muted); text-align: center; }
.lss-leg b { color: var(--accent-text); font-family: var(--font-mono); }
.lss-inv { color: var(--neg-text); opacity: 0; transition: opacity .4s; }
.lss-inv.on { opacity: 1; }
.mapa-rodape { display: flex; align-items: center; gap: 8px; }
.mapa-rodape .leg-mini { flex: 1; }
@media (max-width: 480px) { .lss-xs { grid-template-columns: 1fr; } .lss { inset: 8px 8px 64px; } .mapa-palco { min-height: 400px; } }

/* 08. Motor de cálculo (refeito) */
.detalhes-motor { list-style: none; margin: var(--e2) 0 0; padding: 0; display: grid; gap: 8px; }
.detalhes-motor li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); }
.detalhes-motor .ico { width: 16px; height: 16px; margin-top: 3px; color: var(--accent-text); }
.detalhes-motor b { color: var(--title); font-weight: 600; }
.motor2 { display: grid; grid-template-columns: 1fr 1.25fr; gap: 12px; }
.mt-col { min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.mt-baixar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.mt-baixar .bt .ico { width: 13px; height: 13px; margin-right: 5px; }
.mt-baixar .bt.brilha { animation: brilho 1.1s ease-out; border-color: var(--accent); }
.mt-csv { font: 500 11.5px/1 var(--font); color: var(--accent-text); text-decoration: underline; }
.mt-grade { padding: 8px; border-radius: 10px; border: 1px solid var(--border-soft); background: var(--card); font-size: 11.5px; transition: border-color .4s; }
.mt-grade.sel { border-color: var(--accent); background: var(--accent-soft); }
.mt-grade-t { margin: 0 0 4px; font: 600 11px/1.2 var(--font); color: var(--accent-text); }
.mt-linha { display: grid; grid-template-columns: 1fr 1fr; padding: 3px 4px; border-top: 1px solid var(--border-soft); color: var(--title); font-family: var(--font-mono); }
.mt-linha:first-of-type { border-top: 0; color: var(--muted); font-family: var(--font); }
.detalhes .limites { max-height: 0; overflow: hidden; transition: max-height .5s; }
.detalhes.aberto .limites { max-height: 160px; }
.detalhes .limites p { margin: 6px 0 0; font-size: 12px; color: var(--muted); }
.leitura b .tag { margin-left: 6px; }
.mt-fim { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.chips-analises { list-style: none; margin: 0 var(--e3) var(--e3); padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips-analises li { padding: 4px 10px; border-radius: var(--r-pill); border: 1px solid var(--border-soft); font-size: 12.5px; color: var(--muted); }
@media (max-width: 640px) { .motor2 { grid-template-columns: 1fr; } .chips-analises { margin: 0 var(--e2) var(--e2); } }

/* 09. Roteiro com checklist (etapas reais) */
.rt-abas { display: flex; gap: 4px; padding: 3px; border-radius: var(--r-pill); background: var(--raised); align-self: flex-start; }
.rt-abas span { padding: 5px 14px; border-radius: var(--r-pill); font: 500 12px/1.2 var(--font); color: var(--muted); transition: all .3s; }
.rt-abas span.on { background: var(--card); color: var(--title); box-shadow: 0 0 0 1px var(--border-soft); }
.rt-cena { display: grid; gap: 10px; }
.rt-cab { margin: 0 0 6px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.rt-cab b { color: var(--title); }
.rt-lista { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.rt-lista li { display: flex; gap: 8px; align-items: flex-start; padding: 6px 8px; border-radius: 8px; font-size: 12px; color: var(--muted); border: 1px solid transparent; transition: all .4s; }
.rt-lista li > b { flex: none; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--border-strong); font: 600 10px/1 var(--font); }
.rt-lista li em { display: none; font-style: normal; font-size: 10.5px; color: var(--accent-text); }
.rt-lista li.feita > b { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-size: 0; }
.rt-lista li.feita > b::after { content: "✓"; font-size: 10px; }
.rt-lista li.feita em { display: block; }
.rt-lista li span { display: flex; flex-direction: column; gap: 2px; }
.rt-lista li.atual { border-color: var(--accent-line); background: var(--accent-soft); color: var(--title); font-weight: 600; }
.rt-lista .rt-mais { display: none; }
.rt-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.chip { padding: 5px 9px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); font-size: 11px; color: var(--text); transition: all .3s; }
.chip.pressionado { background: var(--accent-soft); border-color: var(--accent); }
.rt-check .msg-ia { margin-top: 8px; }
.checklist li.feito2 .caixa { background: var(--accent); border-color: var(--accent); }
.checklist li.feito2 .caixa svg { stroke-dashoffset: 0; }
@media (max-width: 480px) { .rt-longa li:nth-child(n+6):not(.rt-mais) { display: none; } .rt-longa .rt-mais { display: block; font-style: italic; } }

/* 10. Mandala: fichas */
.md-palco { position: relative; }
.md-ficha { position: absolute; inset: 10px; z-index: 3; overflow: hidden; display: flex; flex-direction: column; gap: 6px; padding: 14px; border-radius: 14px; background: var(--card); border: 1px solid var(--accent-line); box-shadow: 0 20px 50px -16px var(--sombra); font-size: 12px; color: var(--muted); pointer-events: none; }
.md-f-cab { margin: 0; font: 600 10px/1 var(--font-mono); letter-spacing: .1em; color: var(--accent-text); }
.md-f-tit { font: 650 16px/1.2 var(--font); color: var(--title); }
.md-ficha p { margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.md-ficha p strong { display: block; font: 600 11px/1.3 var(--font); color: var(--title); }
.md-ficha .md-f-fases { display: flex; flex-wrap: wrap; gap: 4px; -webkit-line-clamp: unset; }
.md-ficha .md-f-fases strong { flex: 0 0 100%; }
.md-ficha .bt { align-self: flex-start; margin-top: auto; }
.mandala2 .md-cel.alvo { fill: var(--accent); stroke: var(--accent); }

/* 11. Raio-X Lean */
.rx { display: grid; grid-template-columns: .8fr 1.6fr; gap: 12px; }
.rx-conversa { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.bal-eu { align-self: flex-end; max-width: 92%; padding: 9px 11px; border-radius: 12px 12px 4px 12px; background: var(--accent-soft); border: 1px solid var(--accent-line); color: var(--title); font-size: 12.5px; min-height: 36px; }
.bal-eu:empty, .bal-eu span:empty { }
.rx-rel { min-width: 0; padding: 10px; border-radius: 12px; border: 1px solid var(--border-soft); background: var(--card); display: flex; flex-direction: column; gap: 8px; }
.rx-tit { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.rx-tit b { font: 650 13px/1.2 var(--font); color: var(--title); }
.rx-tit span { font: 500 11px/1.2 var(--font-mono); color: var(--muted); }
.rx-grade { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.rx-grade li { padding: 7px 8px; border-radius: 9px; border: 1px solid var(--border-soft); background: var(--row); display: flex; flex-direction: column; gap: 4px; transition: all .5s; }
.rx-q { margin: 0; display: flex; align-items: center; gap: 6px; font: 600 11.5px/1.2 var(--font); color: var(--title); }
.rx-q b { flex: none; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 5px; background: var(--raised); font: 700 10px/1 var(--font); }
.rx-st { align-self: flex-start; font-size: 10px; }
.rx-st.rel { background: var(--accent-soft); color: var(--accent-text); border-color: var(--accent-line); }
.rx-pv, .rx-np { margin: 0; font-size: 10.5px; line-height: 1.35; color: var(--muted); }
.rx-pv strong, .rx-np strong { color: var(--text); font-weight: 600; }
.rx-np { color: var(--title); }
.rx-grade li.on { border-color: var(--accent-line); background: var(--accent-soft); }
.rx-grade li.on .rx-q b { background: var(--accent); color: var(--accent-ink); }
.rx-rodape { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.rx-rodape p { margin: 0; flex: 1 1 200px; font-size: 10.5px; color: var(--muted); }
@media (max-width: 760px) { .rx { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .rx-grade { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { .folha { animation: none !important; } }
.mt-col .envio { flex: none; min-height: 40px; }
.rx-pv strong, .rx-np strong { display: block; }
.lss-x .alta { right: 40px; }
@media (min-width: 1081px) { .cartao--5 .rt-cena { grid-template-columns: 1fr 1fr; } }
.gp-b .bt { white-space: normal; text-align: center; min-height: 32px; padding: 6px 12px; }

/* ---------- Oferta de lançamento (só com <html data-fase="lancamento">, ligado por fase.js) ---------- */
:root { --faixa-h: 0px; }
:root[data-fase="lancamento"] { --faixa-h: 34px; }
@media (max-width: 640px) { :root[data-fase="lancamento"] { --faixa-h: 50px; } }
html { scroll-padding-top: calc(var(--topo-h) + var(--faixa-h) + var(--e2)); }
.faixa-lanc { position: fixed; inset: 0 0 auto 0; z-index: 61; height: var(--faixa-h); margin: 0; padding: 0 var(--e2); display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--accent-soft); border-bottom: 1px solid var(--accent-line); color: var(--title); font: 500 13px/1.3 var(--font); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
:root[data-fase="lancamento"] .faixa-lanc { background: var(--vidro); box-shadow: inset 0 0 0 100vmax var(--accent-soft); }
.topo { top: var(--faixa-h); }
.hero { padding-top: calc(var(--topo-h) + var(--faixa-h) + var(--e9)); }
@media (max-width: 640px) { .hero { padding-top: calc(var(--topo-h) + var(--faixa-h) + var(--e6)); } .faixa-lanc { font-size: 12px; } }
.preco-lanc { display: inline-block; font-size: clamp(64px, 8vw, 96px); line-height: .95; letter-spacing: -.05em; }
.preco-futuro { margin: calc(-1 * var(--e2)) 0 var(--e2); display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.preco-futuro del { font: 600 20px/1.2 var(--font); color: var(--muted); text-decoration-thickness: 2px; }
.preco-futuro .rot-futuro { font: 600 20px/1.2 var(--font); color: var(--accent-text); }
.preco-explica { margin: 0 0 var(--e4); padding: 12px 14px; border-radius: 14px; border: 1px solid var(--accent-line); background: var(--accent-soft); }
.preco-explica p { margin: 0 0 6px; font-size: 15px; color: var(--text); }
.preco-explica p:first-child { font-weight: 600; color: var(--title); }
.preco-explica p:last-child { margin: 0; }
:root[data-fase="lancamento"] .preco-dia { margin-top: 0; }
.nota-preco { border-color: var(--accent-line); background: var(--accent-soft); } .nota-preco .miudo { font-size: 14px; color: var(--muted); }
/* Raio-X: seletor real "Contexto" (context-choice.js) */
.rx-ctx { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.rx-ctx-rot { font: 600 11px/1 var(--font); color: var(--muted); letter-spacing: .04em; text-transform: uppercase; margin-right: 2px; }
.rx-op { padding: 5px 10px; border-radius: var(--r-pill); border: 1px solid var(--border-strong); font: 500 11.5px/1.2 var(--font); color: var(--muted); background: var(--card); transition: all .3s; }
.rx-op.on { border-color: var(--accent); background: var(--accent-soft); color: var(--title); }
.rx-ctx-txt { margin: 0; font-size: 11.5px; line-height: 1.4; color: var(--muted); }
