/* ==========================================================================
   ECOSSISTEMA — "Funil neural" (proposta)
   Seção presa na tela que conta a jornada em capítulos conforme a rolagem:
   abertura → formação → preparação → indicação → fechamento.
   ========================================================================== */
.ecx {
  --gut: max(var(--pad-x), calc((100vw - 1312 * var(--u)) / 2));
  --line: rgb(255 255 255 / .07);
  position: relative;
  height: 1000vh;   /* 900vh de rolagem para os 5 capítulos */
  background: #000;
  color: #fff;
  overflow-x: clip;   /* corta as palavras gigantes sem quebrar o sticky */
}
.ecx-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

/* ---------- fundo: palavras de vendas gigantes + brilho ---------- */
.ecx-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ecx-words {
  position: absolute;
  left: 0;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 15vw;
  line-height: .9;
  letter-spacing: .01em;
  color: transparent;
  -webkit-text-stroke: 1px rgb(255 255 255 / .075);
  will-change: transform;
}
.ecx-words-1 { top: 9%; }
.ecx-words-2 { bottom: 9%; -webkit-text-stroke-color: rgb(var(--accent) / .09); }
.ecx-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(40% 50% at var(--gx, 70%) 50%, rgb(var(--accent) / .13), transparent 70%),
    radial-gradient(30% 40% at 15% 85%, rgb(var(--accent) / .05), transparent 70%);
  transition: --gx 1.2s var(--ease-out);
}
@property --gx { syntax: "<percentage>"; inherits: true; initial-value: 70%; }
.ecx-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / .06) 1px, transparent 1.3px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(60% 60% at 65% 50%, #000, transparent);
  mask-image: radial-gradient(60% 60% at 65% 50%, #000, transparent);
}

/* ---------- rede em forma de funil ---------- */
.ecx-net {
  position: absolute;
  right: var(--gut);
  top: 50%;
  width: 50%;
  aspect-ratio: 1000 / 600;
  container-type: inline-size;
  transform: translateY(-48%);
  transition: transform 1s var(--ease-out), opacity .8s ease;
}
.ecx[data-ch="0"] .ecx-net { transform: translate(4%, -48%) scale(.94); opacity: .85; }
.ecx[data-ch="2"] .ecx-net { transform: translate(3%, -48%) scale(.92); opacity: .38; }
.ecx-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }

.ecx-funnel {
  fill: none;
  stroke: url(#ecx-funnel-grad);
  stroke-width: 1.4;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;            /* escondido até a montagem */
}
.ecx-funnel-fill { fill: url(#ecx-funnel-fill); opacity: 0; }
.ecx-stage-label, .ecx-band-label, .ecx-sep, .ecx-rail { opacity: 0; }

/* montagem do funil: do topo (esquerda) até o fechamento (direita) */
.ecx-net.is-building .ecx-funnel { animation: ecx-draw 1.7s cubic-bezier(.65, 0, .35, 1) .05s forwards; }
.ecx-net.is-building .ecx-funnel-fill { animation: ecx-fade 1.2s ease .6s forwards; }
.ecx-net.is-building .ecx-sep { animation: ecx-fade .6s ease 1.1s forwards; }
.ecx-net.is-building .ecx-stage-label[data-layer="1"] { animation: ecx-fade .5s ease .15s forwards; }
.ecx-net.is-building .ecx-stage-label[data-layer="2"] { animation: ecx-fade .5s ease .55s forwards; }
.ecx-net.is-building .ecx-stage-label[data-layer="3"] { animation: ecx-fade .5s ease .95s forwards; }
.ecx-net.is-building .ecx-band-label[data-band="com"],
.ecx-net.is-building .ecx-rail[data-band="com"] { animation: ecx-fade .6s ease .75s forwards; }
.ecx-net.is-building .ecx-band-label[data-band="acc"],
.ecx-net.is-building .ecx-rail[data-band="acc"] { animation: ecx-fade .6s ease 1.15s forwards; }
@keyframes ecx-draw { to { stroke-dashoffset: 0; } }
@media (min-width: 1101px) and (prefers-reduced-motion: no-preference) {
  .ecx-net:not(.is-building) .nn, .ecx-net:not(.is-building) .lk { opacity: 0; }  /* nada aparece antes da montagem */
}
@keyframes ecx-fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .ecx-funnel { stroke-dashoffset: 0; }
  .ecx-funnel-fill, .ecx-stage-label, .ecx-band-label, .ecx-sep, .ecx-rail { opacity: 1; }
}
.ecx-sep { stroke: rgb(255 255 255 / .06); stroke-dasharray: 2 6; vector-effect: non-scaling-stroke; }

.lk {
  stroke: rgb(255 255 255 / .055);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  transition: stroke .5s ease;
}
.lk.is-on { stroke: rgb(var(--accent) / .28); }
.lk-band { stroke: rgb(var(--accent) / .13); stroke-dasharray: 3 6; }
.lk-band.is-on { stroke: rgb(var(--accent) / .3); }
.lk.is-hover { stroke: rgb(var(--accent) / .85); }

.lead { fill: #fff; filter: url(#ecx-glow); }
.lead.s1 { fill: rgb(170 255 210); }
.lead.s2 { fill: rgb(var(--accent)); }
.lead.lead-band { fill: rgb(var(--accent)); }

/* comunidade e acompanhamento: faixas que envolvem o funil */
.nn-band { border-style: dashed; border-color: rgb(var(--accent) / .35); }
/* rótulo do grupo: etiqueta contornada na ponta do trilho */
.ecx-band-label {
  position: absolute;
  transform: translateY(-50%);
  padding: .5em .95em;
  border-radius: 999px;
  border: 1px solid rgb(var(--accent) / .45);
  background: rgb(8 14 11 / .9);
  font-size: max(10.5px, calc(var(--nn-fs, 15px) * .7));
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
  color: rgb(var(--accent));
  white-space: nowrap;
  pointer-events: none;
}
/* trilho tracejado que une as etiquetas da faixa ao rótulo */
.ecx-rail { fill: none; stroke: rgb(var(--accent) / .32); stroke-width: 1; stroke-dasharray: 2 5; vector-effect: non-scaling-stroke; }

.ecx-stage-label {
  position: absolute;
  top: -3.2cqw;
  transform: translateX(-50%);
  font-size: max(11px, calc(var(--nn-fs, 15px) * .74));
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / .45);
  white-space: nowrap;
  transition: color .5s ease;
}
.ecx-net[data-focus="1"] .ecx-stage-label[data-layer="1"],
.ecx-net[data-focus="2"] .ecx-stage-label[data-layer="2"],
.ecx-net[data-focus="3"] .ecx-stage-label[data-layer="3"],
.ecx-net[data-focus="all"] .ecx-stage-label { color: rgb(var(--accent)); }

/* nós (botões) */
.nn {
  position: absolute;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .62em 1.05em;
  border-radius: 999px;
  font-size: var(--nn-fs, 15px);
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  color: rgb(255 255 255 / .78);
  background: rgb(12 16 14 / .78);
  border: 1px solid rgb(255 255 255 / .1);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: color .35s, background .35s, border-color .35s, box-shadow .35s, opacity .5s, filter .5s;
}
.nn i {
  width: .55em; height: .55em; border-radius: 50%; flex: none;
  background: rgb(255 255 255 / .45);
  transition: background .35s, box-shadow .35s;
}
.nn-desc, .ecx-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* foco do capítulo: a camada ativa acende, as outras recuam (profundidade) */
.ecx-net[data-focus="1"] .nn:not([data-layer="1"]),
.ecx-net[data-focus="2"] .nn:not([data-layer="2"]),
.ecx-net[data-focus="3"] .nn:not([data-layer="3"]) { opacity: .34; filter: blur(.6px); }
.ecx-net[data-focus="1"] .nn[data-layer="1"],
.ecx-net[data-focus="2"] .nn[data-layer="2"],
.ecx-net[data-focus="3"] .nn[data-layer="3"],
.ecx-net[data-focus="all"] .nn,
.nn:hover, .nn:focus-visible, .nn.is-hover {
  color: #fff;
  background: rgb(var(--accent) / .12);
  border-color: rgb(var(--accent) / .55);
  box-shadow: 0 0 26px -4px rgb(var(--accent) / .35);
  opacity: 1;
  filter: none;
}
.ecx-net[data-focus="1"] .nn[data-layer="1"] i,
.ecx-net[data-focus="2"] .nn[data-layer="2"] i,
.ecx-net[data-focus="3"] .nn[data-layer="3"] i,
.ecx-net[data-focus="all"] .nn i,
.nn:hover i, .nn.is-hover i {
  background: rgb(var(--accent));
  box-shadow: 0 0 10px rgb(var(--accent));
}

/* nó final: sua vaga */
.nn-out {
  width: 13.5cqw; height: 13.5cqw;
  padding: 0;
  justify-content: center;
  flex-direction: column;
  gap: .3em;
  border-radius: 50%;
  font-size: calc(var(--nn-fs, 15px) * 1.15);
  text-align: center;
  white-space: normal;
  color: #fff;
  background: radial-gradient(circle, rgb(var(--accent) / .28), rgb(var(--accent) / .06) 62%, rgb(8 12 10 / .9) 72%);
  border: 1px solid rgb(var(--accent) / .55);
}
.nn-out .nn-label { font-size: .92em; line-height: 1.15; }
.nn-out small { font-size: .62em; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--accent)); }
.nn-out::before, .nn-out::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%;
  border: 1px solid rgb(var(--accent) / .5);
  animation: ecx-ring 3s var(--ease-out) infinite;
  pointer-events: none;
}
.nn-out::after { animation-delay: 1.5s; }
.nn-out.is-hit { box-shadow: 0 0 60px -6px rgb(var(--accent) / .8); border-color: rgb(var(--accent)); }
.ecx-net[data-focus="all"] .nn-out { box-shadow: 0 0 80px -10px rgb(var(--accent) / .9); }
@keyframes ecx-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(1.75); opacity: 0; } }

/* dica ao passar o mouse num nó */
.ecx-tip {
  position: absolute;
  z-index: 6;
  width: 270px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgb(14 18 16 / .88);
  border: 1px solid rgb(var(--accent) / .35);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px -24px rgb(0 0 0 / .8);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .3s var(--ease-out);
}
.ecx-tip.is-on { opacity: 1; transform: none; }
.ecx-tip small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--accent)); margin-bottom: 6px; }
.ecx-tip strong { display: block; font-size: 15px; letter-spacing: -.01em; margin-bottom: 4px; }
.ecx-tip p { font-size: 13px; line-height: 1.4; color: rgb(255 255 255 / .75); }
/* dica automática: aparece sozinha num ponto até a pessoa descobrir o hover */
.ecx-tip .tip-hint {
  display: none;
  align-items: center;
  gap: 7px;
  margin-top: 11px;
  padding-top: 10px;
  border-top: 1px solid rgb(255 255 255 / .1);
  font-size: 12px;
  font-weight: 700;
  color: rgb(var(--accent));
}
.ecx-tip .tip-hint svg { width: 14px; height: 14px; flex: none; animation: tip-tap 1.2s ease-in-out infinite; }
.ecx-tip.is-hint .tip-hint { display: flex; }
@keyframes tip-tap { 50% { transform: translate(-2px, -2px) scale(.9); } }
.nn.is-hinted { animation: nn-hint 1.3s ease-out infinite; }
@keyframes nn-hint {
  from { box-shadow: 0 0 0 0 rgb(var(--accent) / .6), 0 0 26px -4px rgb(var(--accent) / .35); }
  to   { box-shadow: 0 0 0 16px rgb(var(--accent) / 0), 0 0 26px -4px rgb(var(--accent) / .35); }
}

/* ---------- textos de cada capítulo ---------- */
.ecx-copy {
  position: absolute;
  left: var(--gut);
  top: 50%;
  width: min(34%, calc(460 * var(--u)));
  transform: translateY(-50%);
  z-index: 3;
}
.ecx-chapter {
  position: absolute;
  left: 0; top: 50%;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(calc(-50% + 30px));
  transition: opacity .5s ease, transform .8s var(--ease-out), visibility 0s .8s;
}
.ecx-chapter.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%);
  transition: opacity .6s ease .1s, transform .9s var(--ease-out) .1s, visibility 0s;
}
.ecx-chapter.is-past { transform: translateY(calc(-50% - 30px)); }

.ecx-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: max(11px, calc(13 * var(--u)));
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgb(var(--accent));
  margin-bottom: calc(18 * var(--u));
}
.ecx-kicker::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.ecx-h {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: max(46px, calc(104 * var(--u)));
  line-height: .9;
  letter-spacing: .005em;
  margin-bottom: calc(18 * var(--u));
}
.ecx-sub {
  font-size: max(20px, calc(30 * var(--u)));
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.12;
  margin-bottom: calc(16 * var(--u));
}
.ecx-p {
  font-size: max(14px, calc(17 * var(--u)));
  line-height: 1.45;
  color: rgb(255 255 255 / .7);
  max-width: 34em;
}
.ecx-metrics { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: calc(24 * var(--u)); }
.ecx-metrics li {
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgb(255 255 255 / .12);
  background: rgb(255 255 255 / .04);
  font-size: max(12px, calc(13.5 * var(--u)));
  font-weight: 600;
  color: rgb(255 255 255 / .85);
}
.ecx-metrics li b { color: rgb(var(--accent)); font-weight: 800; }
.ecx-hint {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: calc(30 * var(--u));
  font-size: max(12px, calc(13 * var(--u)));
  font-weight: 600;
  color: rgb(255 255 255 / .55);
}
.ecx-hint span {
  width: 22px; height: 34px; border-radius: 12px;
  border: 1.5px solid rgb(255 255 255 / .35);
  position: relative;
}
.ecx-hint span::after {
  content: ""; position: absolute; left: 50%; top: 7px;
  width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px;
  background: rgb(var(--accent));
  animation: ecx-scroll 1.6s var(--ease-out) infinite;
}
@keyframes ecx-scroll { from { transform: translateY(0); opacity: 1; } to { transform: translateY(12px); opacity: 0; } }

/* abertura: texto vazado; o cursor revela o texto preenchido */
.ecx-reveal { position: relative; isolation: isolate; cursor: default; }
/* trevo da marca (imagem do logo) que passeia atrás do texto */
.ecx-clover {
  position: absolute; left: 0; top: 0;
  width: 0; height: 0;
  opacity: .2;
  filter: drop-shadow(0 0 26px rgb(var(--accent) / .7));
  pointer-events: none;
  z-index: -1;
  will-change: transform, width, height;
}
.ecx-reveal .ecx-h { margin: 0; }
.ecx-reveal-base { color: transparent; -webkit-text-stroke: 1.5px rgb(255 255 255 / .9); }
.ecx-reveal-fill {
  position: absolute; inset: 0;
  color: rgb(var(--accent));
  /* recortado no formato do trevo da marca */
  -webkit-mask: url("assets/trevo.png") no-repeat;
  mask: url("assets/trevo.png") no-repeat;
  -webkit-mask-size: var(--d, 0px) var(--d, 0px);
  mask-size: var(--d, 0px) var(--d, 0px);
  -webkit-mask-position: var(--mx, 0px) var(--my, 0px);
  mask-position: var(--mx, 0px) var(--my, 0px);
  pointer-events: none;
}
.ecx-chapter[data-ch="0"] .ecx-sub { margin-top: calc(22 * var(--u)); }
.ecx-chapter[data-ch="0"] .ecx-kicker { margin-bottom: calc(30 * var(--u)); }
.ecx-chapter[data-ch="4"] .ecx-h { font-size: max(40px, calc(74 * var(--u))); }

/* fechamento: botão magnético */
.ecx-cta { margin-top: calc(30 * var(--u)); }
.ecx-cta .cta { width: auto; min-width: 0; padding: 0 calc(26 * var(--u)); }

/* ---------- janela de ferramentas (capítulo preparação) ---------- */
.ecx-tool {
  --tint: 16 20 18;
  --tint-a: .66;
  --lg-blur: 18px;
  --rim-o: .7;
  position: absolute;
  right: var(--gut);
  top: 50%;
  z-index: 4;
  width: min(44%, calc(640 * var(--u)));
  border-radius: calc(26 * var(--u));
  visibility: hidden;
  transform: translateY(-50%) translateY(60px) scale(.94);
  transition: transform .7s var(--ease-out), visibility 0s .7s, box-shadow .4s ease;
  box-shadow: 0 40px 80px -30px rgb(0 0 0 / .9);
}
.ecx[data-ch="2"] .ecx-tool {
  visibility: visible;
  transform: translateY(-50%);
  transition: transform .9s var(--spring), visibility 0s;
}
.ecx-tool > :not(.lg-shine):not(.lg-sweep) { opacity: 0; transition: opacity .4s ease; }
/* fora do capítulo preparação a janela some e não pode "roubar" o mouse da rede */
@media (min-width: 1101px) {
  .ecx-tool { pointer-events: none; }
  .ecx[data-ch="2"] .ecx-tool { pointer-events: auto; }
  .ecx:not([data-ch="2"]) .tw-panel.is-active { visibility: hidden; }
}
.ecx[data-ch="2"] .ecx-tool > :not(.lg-shine):not(.lg-sweep) { opacity: 1; transition-delay: .15s; }

.tw-head {
  display: flex; align-items: center; gap: 8px;
  padding: calc(16 * var(--u)) calc(20 * var(--u));
  border-bottom: 1px solid rgb(255 255 255 / .08);
}
.tw-head i { width: 10px; height: 10px; border-radius: 50%; background: rgb(255 255 255 / .18); }
.tw-head i:first-child { background: rgb(var(--accent)); box-shadow: 0 0 10px rgb(var(--accent) / .8); }
.tw-head strong { margin-left: 8px; font-size: max(12px, calc(13.5 * var(--u))); font-weight: 700; letter-spacing: .01em; }
.tw-head span { margin-left: auto; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgb(var(--accent)); }

.tw-tabs { display: flex; gap: 6px; padding: calc(14 * var(--u)) calc(20 * var(--u)) 0; flex-wrap: wrap; }
.tw-tabs button {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: max(12px, calc(13 * var(--u)));
  font-weight: 700;
  color: rgb(255 255 255 / .6);
  border: 1px solid rgb(255 255 255 / .1);
  background: rgb(255 255 255 / .03);
  transition: color .3s, background .3s, border-color .3s;
}
.tw-tabs button[aria-selected="true"] { color: rgb(var(--on-accent)); background: rgb(var(--accent)); border-color: rgb(var(--accent)); }

.tw-body { position: relative; padding: calc(20 * var(--u)); min-height: max(300px, calc(360 * var(--u))); }
.tw-panel {
  position: absolute; inset: calc(20 * var(--u));
  opacity: 0; visibility: hidden;
  transform: translateX(14px);
  transition: opacity .35s ease, transform .5s var(--ease-out), visibility 0s .5s;
}
.tw-panel.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .4s ease, transform .6s var(--ease-out), visibility 0s; }
.tw-title { font-size: max(15px, calc(19 * var(--u))); font-weight: 700; letter-spacing: -.015em; margin-bottom: calc(14 * var(--u)); }
.tw-muted { color: rgb(255 255 255 / .55); font-size: 12px; font-weight: 600; letter-spacing: .02em; }

/* currículo */
.tw-cv { display: grid; grid-template-columns: auto 1fr; gap: calc(22 * var(--u)); align-items: center; }
.tw-ring { position: relative; width: max(110px, calc(140 * var(--u))); aspect-ratio: 1; }
.tw-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.tw-ring circle { fill: none; stroke-width: 9; }
.tw-ring .bg { stroke: rgb(255 255 255 / .08); }
.tw-ring .fg { stroke: rgb(var(--accent)); stroke-linecap: round; stroke-dasharray: 289; stroke-dashoffset: 289; filter: drop-shadow(0 0 6px rgb(var(--accent) / .6)); }
.tw-ring div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.tw-ring b { font-size: max(30px, calc(40 * var(--u))); font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.tw-ring small { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .55); margin-top: 4px; }

.tw-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.tw-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: max(12.5px, calc(14 * var(--u)));
  font-weight: 500;
  color: rgb(255 255 255 / .35);
  transition: color .4s ease;
}
.tw-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / .2);
  transition: background .4s, border-color .4s;
}
.tw-list li.is-on { color: rgb(255 255 255 / .92); }
.tw-list li.is-on::before {
  border-color: rgb(var(--accent));
  background: rgb(var(--accent)) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5.8 10.3 2.8 2.8 5.6-5.8' fill='none' stroke='%2303140b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% no-repeat;
}

/* linkedin */
.tw-li { border-radius: 16px; overflow: hidden; border: 1px solid rgb(255 255 255 / .08); background: rgb(255 255 255 / .03); margin-bottom: calc(14 * var(--u)); }
.tw-li-banner { height: 54px; background: linear-gradient(120deg, rgb(var(--accent) / .55), rgb(20 80 50 / .6)); }
.tw-li-body { padding: 0 16px 14px; }
.tw-li-avatar { width: 58px; height: 58px; border-radius: 50%; margin-top: -29px; border: 3px solid #0d110f; background: linear-gradient(140deg, #3a4a42, #1b2420); }
.tw-li-name { font-size: 15px; font-weight: 800; margin-top: 8px; }
.tw-li-head { min-height: 2.6em; font-size: 13px; line-height: 1.35; color: rgb(255 255 255 / .8); margin-top: 3px; }
.tw-li-head .caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 2px; vertical-align: -2px; background: rgb(var(--accent)); animation: ecx-caret 1s steps(1) infinite; }
@keyframes ecx-caret { 50% { opacity: 0; } }
.tw-meter { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.tw-meter > div { flex: 1; height: 6px; border-radius: 6px; background: rgb(255 255 255 / .08); overflow: hidden; }
.tw-meter > div > span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, rgb(var(--accent) / .5), rgb(var(--accent))); }
.tw-meter b { font-size: 12px; font-weight: 800; color: rgb(var(--accent)); min-width: 82px; text-align: right; }

/* chat (entrevista / negociação) */
.tw-chat { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.tw-bubble {
  max-width: 86%;
  padding: 11px 14px;
  border-radius: 16px;
  font-size: max(12.5px, calc(14 * var(--u)));
  line-height: 1.4;
  background: rgb(255 255 255 / .07);
  border: 1px solid rgb(255 255 255 / .08);
  transition: opacity .4s ease, transform .5s var(--ease-out);
}
.tw-bubble small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .45); margin-bottom: 4px; }
.tw-bubble.me { align-self: flex-end; background: rgb(var(--accent) / .14); border-color: rgb(var(--accent) / .35); }
.tw-bubble.coach { border-color: rgb(var(--accent) / .45); }
.tw-bubble.coach small { color: rgb(var(--accent)); }
.tw-bubble.is-off { opacity: 0; transform: translateY(8px); }
.tw-wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.tw-wave i { width: 3px; border-radius: 2px; background: rgb(var(--accent)); animation: ecx-wave 1s ease-in-out infinite; }
.tw-wave i:nth-child(odd) { animation-delay: -.35s; }
.tw-wave i:nth-child(3n) { animation-delay: -.6s; }
@keyframes ecx-wave { 0%, 100% { height: 5px; } 50% { height: 20px; } }

.tw-bars { display: grid; gap: 9px; transition: opacity .4s ease; }
.tw-bars.is-off { opacity: 0; }
.tw-bar { display: grid; grid-template-columns: 96px 1fr 34px; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; color: rgb(255 255 255 / .75); }
.tw-bar > div { height: 6px; border-radius: 6px; background: rgb(255 255 255 / .08); overflow: hidden; }
.tw-bar > div > span { display: block; height: 100%; width: 0; background: rgb(var(--accent)); border-radius: inherit; }
.tw-bar b { text-align: right; color: #fff; }

.tw-options { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.tw-options span {
  padding: 8px 12px; border-radius: 12px;
  font-size: 12.5px; font-weight: 600;
  border: 1px solid rgb(255 255 255 / .12);
  color: rgb(255 255 255 / .7);
  transition: background .4s, border-color .4s, color .4s, opacity .4s;
}
.tw-options.is-picked span { opacity: .45; }
.tw-options.is-picked span.good { opacity: 1; color: rgb(var(--on-accent)); background: rgb(var(--accent)); border-color: rgb(var(--accent)); }
.tw-result {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: .04em;
  color: rgb(var(--accent));
  background: rgb(var(--accent) / .1);
  border: 1px solid rgb(var(--accent) / .4);
  transition: opacity .4s ease, transform .5s var(--spring);
}
.tw-result.is-off { opacity: 0; transform: scale(.9); }

/* ---------- trilha de follow-up (progresso + navegação) ---------- */
.ecx-track {
  position: absolute;
  left: var(--gut); right: var(--gut);
  bottom: max(18px, calc(28 * var(--u)));
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}
.ecx-track-cap, .ecx-day {
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / .45);
  white-space: nowrap;
}
.ecx-day b { color: rgb(var(--accent)); font-weight: 700; }
.ecx-day::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; background: rgb(var(--accent)); box-shadow: 0 0 10px rgb(var(--accent)); animation: ecx-blink 1.6s ease-in-out infinite; }
@keyframes ecx-blink { 50% { opacity: .3; } }
.ecx-steps { position: relative; list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); }
.ecx-steps::before, .ecx-steps::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px;
  background: rgb(255 255 255 / .12);
}
.ecx-steps::after { right: auto; width: var(--prog, 0%); background: rgb(var(--accent)); box-shadow: 0 0 10px rgb(var(--accent)); }
.ecx-steps button {
  display: block; width: 100%;
  padding-top: 12px;
  text-align: left;
  font-size: max(11.5px, calc(12.5 * var(--u)));
  font-weight: 700;
  color: rgb(255 255 255 / .4);
  transition: color .3s;
}
.ecx-steps button span { color: rgb(255 255 255 / .25); margin-right: 6px; font-weight: 800; }
.ecx-steps button[aria-current="step"], .ecx-steps button:hover { color: #fff; }
.ecx-steps button[aria-current="step"] span { color: rgb(var(--accent)); }

.ecx-chips { display: none; }

/* ---------- celular: capítulos empilhados, sem tela presa ---------- */
@media (max-width: 1100px) {
  .ecx { height: auto; padding: 72px 0 64px; }
  .ecx-pin { position: relative; height: auto; overflow: visible; display: flex; flex-direction: column; gap: 44px; padding: 0 var(--pad-x); }
  .ecx-net, .ecx-track, .ecx-tip, .ecx-words-2, .ecx-hint { display: none; }
  .ecx-words { font-size: 30vw; top: 0; }
  .ecx-copy { display: contents; }
  .ecx-chapter, .ecx-chapter.is-active, .ecx-chapter.is-past {
    position: static; width: auto;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .ecx-chapter[data-ch="0"] { order: 0; }
  .ecx-chapter[data-ch="1"] { order: 1; }
  .ecx-chapter[data-ch="2"] { order: 2; }
  .ecx-tool { order: 3; }
  .ecx-chapter[data-ch="3"] { order: 4; }
  .ecx-chapter[data-ch="4"] { order: 5; }
  .ecx-h { font-size: 52px; }
  .ecx-chapter[data-ch="4"] .ecx-h { font-size: 44px; }
  .ecx-chapter[data-ch="3"] .ecx-metrics { display: none; }   /* no celular as etiquetas já mostram estes itens */
  .ecx-sub { font-size: 24px; }
  .ecx-tool, .ecx[data-ch="2"] .ecx-tool {
    position: relative; right: auto; top: auto;
    width: 100%; visibility: visible; transform: none;
    border-radius: 22px;
  }
  .ecx-tool > :not(.lg-shine):not(.lg-sweep) { opacity: 1; }
  .tw-body { min-height: 380px; }
  .tw-cv { grid-template-columns: 1fr; justify-items: center; }
  .ecx-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 20px; }
  .ecx-chips li {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 12px; border-radius: 999px;
    font-size: 13px; font-weight: 600;
    color: rgb(255 255 255 / .85);
    background: rgb(var(--accent) / .08);
    border: 1px solid rgb(var(--accent) / .3);
  }
  .ecx-chips li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgb(var(--accent)); box-shadow: 0 0 8px rgb(var(--accent)); }
}

@media (prefers-reduced-motion: reduce) {
  .ecx-words { transform: none !important; }
}
