/* Pegada 7 · institucional · capítulos 2 a 10
   Sem movimento (ou sem JS) cada capítulo fica legível e empilhado.
   As cenas entram por classes que capitulos.js adiciona: .cap2--cena, .cap5--cena, .is-aceso, .is-visivel. */

.titulo-cap { font-family: var(--f-display); font-weight: 900; font-size: clamp(48px, 7vw, 128px); line-height: .88; letter-spacing: -0.01em; margin: 18px 0 0; max-width: 12em; text-wrap: balance; }
.cap2, .cap3, .cap4, .cap5, .cap6, .cap7, .cap8, .cap9, .cap10 { position: relative; padding: 16vh var(--gutter); }
.cap2, .cap3 { padding-top: 0; padding-bottom: 0; }

.convite {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; padding: 6px 0;
  background: none; border: 0; cursor: pointer; text-decoration: none;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ouro-claro);
  position: relative;
}
.convite::after { content: '→'; transition: transform .2s var(--ease-quart); }
.convite:hover::after { transform: translateX(4px); }

.placeholder {
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; text-align: center;
  padding: 20px; min-height: 140px;
  border: 1px dashed rgba(201,162,39,.38);
  background: repeating-linear-gradient(135deg, rgba(201,162,39,.035) 0 10px, transparent 10px 20px);
}
.placeholder span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--ouro-claro); }
.placeholder small { font-size: 12px; color: var(--texto-3); max-width: 30em; line-height: 1.4; }

/* ================= CAP. 2 · O SISTEMA ================= */
.cap2__palco { padding: 16vh 0 8vh; }
.marcos { display: none; }
.frente {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 88px); align-items: center;
  padding: 9vh 0; border-top: 1px solid rgba(242,238,230,.08);
}
.frente__num { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro-claro); margin: 0; }
.frente h3 { font-family: var(--f-display); font-weight: 800; font-size: clamp(32px, 3.4vw, 58px); line-height: .98; margin: 14px 0 16px; text-wrap: balance; }
.frente__texto > p:not(.frente__num) { color: var(--texto-2); font-weight: 300; max-width: 30em; margin: 0; }
.frente__prova { margin: 0; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.frente__prova > .legenda { margin-top: 2px; }

.marcos ol { list-style: none; margin: 0; padding: 0 0 0 26px; display: flex; flex-direction: column; gap: 26px; }
.marcos__linha { position: absolute; left: 4px; top: 10px; bottom: 10px; width: 1px; background: rgba(242,238,230,.14); }
.marcos__progresso { position: absolute; inset: 0; background: linear-gradient(180deg, var(--ouro-brilho), var(--ouro)); transform-origin: top; transform: scaleY(0); transition: transform .6s var(--ease-quint); }
.marco {
  position: relative; display: block; text-align: left; background: none; border: 0; padding: 0; cursor: pointer;
  font-family: var(--f-display); font-weight: 800; font-size: 21px; line-height: 1.05; text-transform: uppercase; letter-spacing: .02em;
  color: var(--texto-3); transition: color .25s var(--ease-quart);
}
.marco__num { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .14em; margin-bottom: 4px; color: inherit; }
.marco::before { content: ''; position: absolute; left: -26px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: #2A261F; box-shadow: 0 0 0 3px var(--preto); transition: background-color .3s var(--ease-quart), box-shadow .3s var(--ease-quart); }
.marco:hover { color: var(--texto-2); }
.marco.is-passado::before { background: var(--ouro-escuro); }
.marco.is-ativo { color: var(--texto); }
.marco.is-ativo .marco__num { color: var(--ouro-claro); }
.marco.is-ativo::before { background: var(--ouro-brilho); box-shadow: 0 0 0 3px var(--preto), 0 0 16px rgba(245,215,110,.8); }

/* 01 tráfego */
.plataformas { display: flex; align-items: center; gap: 22px; margin: 0; font-family: var(--f-corpo); font-weight: 500; font-size: 18px; letter-spacing: -.01em; color: var(--texto-2); }
.plataformas span + span::before { content: ''; display: inline-block; width: 1px; height: 16px; background: rgba(242,238,230,.25); margin-right: 22px; vertical-align: -2px; }
.painel { width: min(440px, 100%); }
.painel__topo, .painel__eixo { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--texto-3); }
.painel__topo span:first-child { color: var(--texto); }
.painel__grafico { width: 100%; height: 130px; margin: 10px 0 6px; overflow: visible; }
.painel__linha { fill: none; stroke: var(--ouro-brilho); stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1000; stroke-dashoffset: 0; filter: drop-shadow(0 0 6px rgba(245,215,110,.5)); }
.painel__area { fill: url(#ouro); opacity: .14; }
/* Modelo de relatório (números ilustrativos; dado real de cliente não entra no site) */
.modelo { width: min(480px, 100%); padding: 20px 22px 22px; border-radius: 14px; background: linear-gradient(160deg, #17140F, #0E0C09 75%); box-shadow: inset 0 0 0 1px rgba(232,201,93,.2), 0 30px 70px rgba(0,0,0,.45); display: flex; flex-direction: column; gap: 18px; }
.modelo__topo { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-2); }
.modelo__selo { padding: 3px 8px; border-radius: 999px; color: var(--preto); background: var(--ouro-claro); letter-spacing: .12em; }
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; margin: 0; }
.kpis div { position: relative; display: flex; flex-direction: column-reverse; padding-top: 10px; border-top: 1px solid rgba(242,238,230,.1); }
.kpis dt { font-family: var(--f-mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-3); }
.kpis dd { margin: 0; font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 2.4vw, 36px); line-height: 1.05; font-variant-numeric: tabular-nums; }
.kpis__var { position: absolute; right: 0; top: 12px; font-family: var(--f-mono); font-size: 11px; color: #7FCB8E; }
.modelo .painel { width: 100%; }
.modelo .painel__grafico { height: 96px; }
.pizza { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; }
.pizza__grafico { width: 150px; height: 150px; transform: rotate(0deg); }
.pizza__fundo { fill: none; stroke: rgba(242,238,230,.06); stroke-width: 6; }
.pizza__fatia { fill: none; stroke-width: 6; }
.pizza__fatia--pedido { stroke: #FFF1BF; }
.pizza__fatia--orcamento { stroke: var(--ouro); }
.pizza__fatia--conversa { stroke: #6E5A2A; }
.pizza__fatia--furo { stroke: #D46A4C; }
.pizza__total { fill: var(--texto); font-family: var(--f-display); font-weight: 800; font-size: 8px; text-anchor: middle; }
.pizza__rotulo { fill: var(--texto-3); font-family: var(--f-mono); font-size: 2.6px; letter-spacing: .1em; text-transform: uppercase; text-anchor: middle; }
.pizza__legenda { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: var(--texto-2); line-height: 1.3; }
.pizza__legenda li { display: flex; align-items: baseline; gap: 8px; }
.pizza__legenda li::before { content: ''; flex: none; width: 9px; height: 9px; border-radius: 2px; transform: translateY(-1px); }
.pizza__legenda b { font-family: var(--f-display); font-weight: 800; font-size: 20px; color: var(--texto); }
.pizza__item--pedido::before { background: #FFF1BF; }
.pizza__item--orcamento::before { background: var(--ouro); }
.pizza__item--conversa::before { background: #6E5A2A; }
.pizza__item--furo::before { background: #D46A4C; }
.pizza__item--furo b { color: #D46A4C; }
.modelo__linha { list-style: none; margin: 0; padding: 0; }
.modelo__linha li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; border-top: 1px solid rgba(242,238,230,.08); font-size: 14px; color: var(--texto-2); }
.modelo__linha b { font-family: var(--f-display); font-weight: 800; font-size: 22px; color: var(--texto); font-variant-numeric: tabular-nums; }
.modelo__acao span { color: var(--ouro-brilho); font-weight: 500; }
.modelo__acao em { font-family: var(--f-serif); font-size: 17px; color: var(--ouro-claro); text-align: right; }

/* 02 conteúdo · celular */
.celular { position: relative; width: 230px; aspect-ratio: 9 / 19.5; border-radius: 36px; padding: 8px; background: #050504; box-shadow: inset 0 0 0 1px rgba(232,201,93,.32), 0 40px 90px rgba(0,0,0,.6), 0 0 80px rgba(201,162,39,.08); }
.celular__video { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; background: radial-gradient(80% 60% at 50% 40%, #2A2418, #0B0A08); }
.celular__poster { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; font-family: var(--f-serif); font-style: italic; font-size: 26px; line-height: 1.1; color: var(--ouro-claro); pointer-events: none; transition: opacity .4s var(--ease-quart); }
.celular.is-tocando .celular__poster { opacity: 0; }

/* 03 IA · conversa */
.conversa { width: min(400px, 100%); display: flex; flex-direction: column; gap: 9px; }
.conversa__hora { align-self: center; font-family: var(--f-mono); font-size: 11px; color: var(--texto-3); margin: 0 0 4px; }
.msg {
  margin: 0; padding: 11px 15px; border-radius: 16px; max-width: 86%; font-size: 15px; line-height: 1.4;
  opacity: 0; transform: translateY(8px); filter: blur(4px);
  transition: opacity .4s var(--ease-quint), transform .4s var(--ease-quint), filter .4s var(--ease-quint);
}
.msg.is-visivel, html.sem-movimento .msg { opacity: 1; transform: none; filter: none; }
.msg--in { background: #1C1A15; align-self: flex-start; border-bottom-left-radius: 4px; }
.msg--out { background: linear-gradient(135deg, rgba(201,162,39,.22), rgba(201,162,39,.1)); box-shadow: inset 0 0 0 1px rgba(232,201,93,.22); align-self: flex-end; border-bottom-right-radius: 4px; }
.msg--sistema { align-self: center; background: none; padding: 6px 0; font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--ouro-claro); }
.msg--sistema::before { content: '✓ '; }
.msg--digitando { display: none; gap: 4px; padding: 14px 16px; }
.msg--digitando.is-visivel { display: inline-flex; }
.msg--digitando i { width: 6px; height: 6px; border-radius: 50%; background: var(--ouro-claro); animation: digita 1s var(--ease-quart) infinite; }
.msg--digitando i:nth-child(2) { animation-delay: .15s; }
.msg--digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes digita { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }

/* 04 CRM · funil */
.funil { position: relative; width: min(560px, 100%); height: 210px; display: grid; grid-template-columns: repeat(5, 1fr); overflow: hidden; }
.funil__col { border-left: 1px solid rgba(242,238,230,.1); padding: 0 8px; font-family: var(--f-mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--texto-3); }
.funil__col span { display: block; padding-top: 2px; }
.funil__col--fim { background: linear-gradient(180deg, rgba(201,162,39,.09), transparent 80%); }
.funil__col--fim span { color: var(--ouro-claro); }
.chip { position: absolute; left: 0; top: 40px; width: 10px; height: 10px; border-radius: 50%; background: var(--ouro-claro); box-shadow: 0 0 10px rgba(232,201,93,.6); transition: background-color .3s, box-shadow .3s, opacity .8s var(--ease-quart); }
.chip--perdido { background: #D46A4C; box-shadow: 0 0 10px rgba(212,106,76,.5); opacity: 0; }
.chip--pedido { background: #FFF1BF; box-shadow: 0 0 18px rgba(245,215,110,.95); }
.chip--pedido:not(.chip--parado) { opacity: 0; transition-delay: .3s; }
.camadas { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 0; font-size: 13px; color: var(--texto-3); counter-reset: camada; }
.camadas li { display: flex; flex-direction: column; padding-right: 22px; margin-right: 14px; position: relative; }
.camadas li:not(:last-child)::after { content: '→'; position: absolute; right: 0; top: 2px; color: var(--ouro); font-family: var(--f-mono); }
.camadas b { font-family: var(--f-display); font-weight: 800; font-size: 18px; text-transform: uppercase; letter-spacing: .02em; color: var(--texto); }

/* 05 estratégia · relatório */
.relatorio-mini { width: min(440px, 100%); }
.relatorio-mini__titulo { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--texto-3); margin: 0 0 8px; }
.relatorio-mini ul { list-style: none; padding: 0; margin: 0; }
.relatorio-mini li { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 11px 0; border-bottom: 1px solid rgba(242,238,230,.08); font-size: 15px; }
.borrado { flex: 0 0 42%; height: 10px; border-radius: 6px; background: linear-gradient(90deg, rgba(232,201,93,.55), rgba(232,201,93,.12)); filter: blur(3px); }
.borrado--oxido { background: linear-gradient(90deg, rgba(212,106,76,.7), rgba(212,106,76,.15)); }
.relatorio-mini__acao span { color: var(--ouro-brilho); font-weight: 500; }
.relatorio-mini__acao em { font-family: var(--f-serif); font-size: 18px; color: var(--ouro-claro); }

/* ================= CAP. 3 · RELATÓRIO LINEAR ================= */
.cap3__palco { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: 9vh; padding: 96px 0 8vh; }
.cap3__intro { max-width: 32em; color: var(--texto-2); font-weight: 300; margin: 22px 0 0; }
.elos { position: relative; --p: 1; }
.elos::before, .elos::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 1px; }
.elos::before { background: rgba(242,238,230,.14); }
.elos::after { height: 2px; top: 5px; background: linear-gradient(90deg, var(--ouro-escuro), var(--ouro-brilho) 70%, #FFF1BF); transform-origin: left; transform: scaleX(var(--p)); box-shadow: 0 0 14px rgba(245,215,110,.5); }
.elos__lista { list-style: none; padding: 34px 0 0; margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.elo { position: relative; display: flex; flex-direction: column; gap: 8px; opacity: .3; transition: opacity .5s var(--ease-quint); }
.elo.is-aceso, html.sem-movimento .elo { opacity: 1; }
.elo__ponto { position: absolute; left: 0; top: -34px; width: 13px; height: 13px; border-radius: 50%; background: var(--preto); box-shadow: inset 0 0 0 1px rgba(242,238,230,.35); transition: background-color .4s, box-shadow .4s; z-index: 1; }
.elo.is-aceso .elo__ponto { background: var(--ouro-claro); box-shadow: 0 0 0 4px var(--preto), 0 0 14px rgba(232,201,93,.7); }
.elo--furo.is-aceso .elo__ponto { background: #D46A4C; box-shadow: 0 0 0 4px var(--preto), 0 0 14px rgba(212,106,76,.7); }
.elo--acao .elo__ponto { width: 19px; height: 19px; top: -37px; }
.elo--acao.is-aceso .elo__ponto { background: #FFF1BF; animation: farol 2.2s var(--ease-quint) infinite; }
@keyframes farol { 0%, 100% { box-shadow: 0 0 0 4px var(--preto), 0 0 16px rgba(245,215,110,.8); } 50% { box-shadow: 0 0 0 4px var(--preto), 0 0 36px rgba(245,215,110,1); } }
.elo b { font-family: var(--f-display); font-weight: 800; font-size: clamp(22px, 1.9vw, 30px); line-height: 1; }
.elo > span:last-child { font-size: 14px; color: var(--texto-3); line-height: 1.4; }
.elo--furo b { color: #D46A4C; }
.elo--acao b { color: var(--ouro-brilho); font-size: clamp(26px, 2.3vw, 38px); }

/* ================= CAP. 4 · GALERIA ================= */
.cap4__cabeca { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 40px; }
.cap4__cabeca > div, .cap4__cabeca > .rotulo { flex-basis: 100%; }
.arraste { margin: 0; font-family: var(--f-serif); font-style: italic; font-size: 24px; color: var(--ouro-claro); display: flex; align-items: center; gap: 12px; transition: opacity .4s var(--ease-quart); }
.arraste::before { content: '←  →'; font-family: var(--f-mono); font-style: normal; font-size: 13px; animation: arrasta 2.2s var(--ease-quint) infinite; }
@keyframes arrasta { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }
.arraste.is-oculta { opacity: 0; }
.galeria {
  display: flex; align-items: flex-end; gap: clamp(28px, 4vw, 64px);
  overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none;
  margin: 0 calc(-1 * var(--gutter)); padding: 48px var(--gutter) 28px; cursor: grab;
}
.galeria::-webkit-scrollbar { display: none; }
.galeria.is-arrastando { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.galeria.is-arrastando * { pointer-events: none; }
.galeria__item { flex: none; scroll-snap-align: start; margin: 0; }
.galeria__item .celular { width: 250px; }
.galeria__item--site { width: min(600px, 82vw); }
.galeria figcaption { margin-top: 16px; font-size: 14px; color: var(--texto-3); max-width: 270px; line-height: 1.4; }
.galeria figcaption b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 20px; color: var(--texto); text-transform: uppercase; letter-spacing: .02em; margin-bottom: 2px; }
.navegador { border-radius: 12px; overflow: hidden; background: #12100C; box-shadow: inset 0 0 0 1px rgba(242,238,230,.12), 0 30px 80px rgba(0,0,0,.5); }
.navegador__barra { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid rgba(242,238,230,.08); }
.navegador__barra i { width: 9px; height: 9px; border-radius: 50%; background: rgba(242,238,230,.18); }
.galeria__item--criativo img { display: block; width: 300px; height: auto; border-radius: 10px; box-shadow: inset 0 0 0 1px rgba(242,238,230,.12), 0 30px 80px rgba(0,0,0,.5); }
.galeria__trilho { height: 1px; background: rgba(242,238,230,.12); }
.galeria__trilho span { display: block; height: 1px; background: var(--ouro-claro); transform-origin: left; transform: scaleX(.08); transition: transform .2s linear; }

/* ================= CAP. 5 · PARA QUEM (capítulo claro) ================= */
.cap5 { background: var(--osso); color: #12100C; padding-top: 22vh; padding-bottom: 22vh; }
.cap5--cena { background: transparent; }
.cap5 .rotulo { color: inherit; opacity: .65; }
.cap5 .rotulo__num { color: #8A6A17; }
.para-quem { list-style: none; padding: 0; margin: 30px 0 9vh; font-family: var(--f-display); font-weight: 900; font-size: clamp(46px, 8vw, 150px); line-height: .92; letter-spacing: -.01em; }
.para-quem li { will-change: opacity, transform; }
.para-quem em { font-family: var(--f-serif); font-weight: 400; color: #8A6A17; }
.cap5__perfil { font-size: clamp(18px, 1.5vw, 22px); max-width: 30em; margin: 0 0 9vh; opacity: .82; }
.nao-somos { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px clamp(24px, 5vw, 80px); }
.nao-somos h3 { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; margin: 0; }
.nao-somos ul { list-style: none; padding: 0; margin: 0; counter-reset: nao; }
.nao-somos li { counter-increment: nao; display: flex; gap: 18px; padding: 14px 0; border-top: 1px solid color-mix(in srgb, currentColor 18%, transparent); font-size: 17px; }
.nao-somos li::before { content: counter(nao, decimal-leading-zero); font-family: var(--f-mono); font-size: 11px; opacity: .55; padding-top: 4px; }

.fundo-global { display: none; }
.fundo-global.is-ativo { display: block; position: fixed; inset: 0; z-index: -1; background: var(--preto); pointer-events: none; }

/* ================= CAP. 6 · OPERAMOS O QUE VENDEMOS ================= */
.cap6__fundo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.cap6__mesa { position: absolute; inset: 0; background: radial-gradient(45% 55% at 72% 45%, rgba(201,162,39,.09), transparent 70%), linear-gradient(180deg, transparent, var(--cinza-vulcanica) 50%, transparent); }
.cap6__grade { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px clamp(24px, 5vw, 80px); align-items: center; }
.cap6__texto { color: var(--texto-2); font-weight: 300; max-width: 30em; margin: 24px 0 0; }
.cap6__assinatura { margin: 22px 0 0; }
.cap6__assinatura em { font-family: var(--f-serif); font-size: clamp(24px, 2.2vw, 32px); color: var(--ouro-claro); }
.constelacao { margin: 0; }
.constelacao svg { width: 100%; height: auto; max-height: 78vh; overflow: visible; }
.orbita { fill: none; stroke: rgba(201,162,39,.2); stroke-dasharray: 2 7; }
.ligacao { stroke: rgba(232,201,93,.32); stroke-width: 1; }
.pulso { fill: #FFF1BF; filter: drop-shadow(0 0 6px rgba(245,215,110,.95)); }
.satelite { fill: rgba(232,201,93,.5); }
.no__halo { fill: rgba(201,162,39,.08); }
.no__corpo { fill: #15130F; stroke: var(--ouro); stroke-width: 1.2; }
.no__nucleo { display: none; }
.no__ia { fill: var(--ouro-claro); font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-anchor: middle; dominant-baseline: middle; }
.no__nome { fill: var(--texto); font-family: var(--f-display); font-weight: 800; font-size: 21px; text-transform: uppercase; letter-spacing: .03em; }
.centro__halo { fill: rgba(201,162,39,.12); transform-box: fill-box; transform-origin: center; animation: respira 4s var(--ease-quint) infinite; }
.centro__no { fill: url(#ouro); }
.centro__texto { fill: #12100C; font-family: var(--f-display); font-weight: 900; font-size: 17px; text-transform: uppercase; text-anchor: middle; }
@keyframes respira { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .5; } }
.casos { grid-column: 1 / -1; list-style: none; padding: 0; margin: 4vh 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: caso; }
.casos li { counter-increment: caso; position: relative; padding-top: 22px; color: var(--texto-2); font-size: 15px; line-height: 1.5; }
.casos li::before { content: 'Caso ' counter(caso, decimal-leading-zero) ' · operação da P7'; display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ouro-claro); margin-bottom: 10px; }
.casos li::after { content: ''; position: absolute; left: 0; top: 0; width: 44px; height: 1px; background: var(--ouro); }

/* ================= CAP. 7 · PEGADA ESTRATÉGICA ================= */
.cap7__faixa { position: relative; margin: 0 calc(-1 * var(--gutter)) 8vh; }
.placeholder--cinema { aspect-ratio: 21 / 8; min-height: 220px; border-left: 0; border-right: 0; background: radial-gradient(60% 90% at 30% 60%, rgba(201,162,39,.12), transparent 70%), repeating-linear-gradient(135deg, rgba(201,162,39,.03) 0 10px, transparent 10px 20px), #0E0C09; }
.ondas { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 90px; fill: var(--ouro); opacity: .75; }
.ondas rect { transform-box: fill-box; transform-origin: center; animation: onda 1.2s var(--ease-quart) infinite alternate; }
@keyframes onda { from { transform: scaleY(.25); } to { transform: scaleY(1); } }
.cap7__texto { max-width: 40em; }
.cap7__texto > p:not(.rotulo) { color: var(--texto-2); font-weight: 300; margin: 22px 0 28px; }
.cap7 { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; align-items: end; }
.cap7__faixa { grid-column: 1 / -1; }
.cap7__cortes { display: flex; gap: 18px; }
.placeholder--corte { width: 120px; aspect-ratio: 9 / 16; min-height: 0; padding: 8px; border-radius: 18px; }
.placeholder--corte:first-child { transform: rotate(-4deg) translateY(10px); }
.placeholder--corte:last-child { transform: rotate(3deg); }

/* ================= CAP. 8 · COMO COMEÇA ================= */
.cap8__escolha { max-width: 34em; color: var(--texto-2); font-weight: 300; margin: 26px 0 6vh; }
.portas { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); max-width: 1160px; }
.porta {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  padding: clamp(26px, 3vw, 44px); border-radius: 14px; text-decoration: none;
  background: linear-gradient(160deg, #17140F 0%, #0E0C09 70%);
  box-shadow: inset 0 0 0 1px rgba(232,201,93,.22);
  transition: box-shadow .3s var(--ease-quart), transform .35s var(--ease-quint);
}
.porta::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--ouro-escuro), var(--ouro-brilho), transparent); }
.porta::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 100% 0%, rgba(245,215,110,.14), transparent 70%); opacity: .5; transition: opacity .4s var(--ease-quart); }
.porta__letra { position: absolute; right: clamp(18px, 2vw, 32px); top: clamp(4px, 1vw, 12px); z-index: -1; font-family: var(--f-display); font-weight: 900; font-size: clamp(120px, 13vw, 200px); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(232,201,93,.22); transition: -webkit-text-stroke-color .4s var(--ease-quart), transform .5s var(--ease-quint); }
.porta__tag { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro-claro); }
.porta b { font-family: var(--f-display); font-weight: 800; font-size: clamp(28px, 2.6vw, 40px); line-height: 1; text-transform: uppercase; letter-spacing: .01em; max-width: 11em; text-wrap: balance; }
.porta__texto { font-size: 16px; color: var(--texto-2); font-weight: 300; max-width: 26em; }
.porta__olha { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; }
.porta__olha i { font-style: normal; font-size: 12px; padding: 5px 10px; border-radius: 999px; color: var(--texto-2); background: rgba(242,238,230,.05); box-shadow: inset 0 0 0 1px rgba(242,238,230,.1); }
.porta__seta { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 800; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; color: var(--ouro-brilho); }
.porta__seta::after { content: '→'; font-family: var(--f-mono); transition: transform .25s var(--ease-quart); }
.porta:hover, .porta:focus-visible { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--ouro-claro), 0 30px 70px rgba(0,0,0,.5), 0 0 60px rgba(201,162,39,.16); }
.porta:hover::after, .porta:focus-visible::after { opacity: 1; }
.porta:hover .porta__letra, .porta:focus-visible .porta__letra { -webkit-text-stroke-color: rgba(245,215,110,.55); transform: translateY(-4px); }
.porta:hover .porta__seta::after, .porta:focus-visible .porta__seta::after { transform: translateX(5px); }
.cap8__nota { font-size: 14px; color: var(--texto-3); margin: 18px 0 0; }

/* o caminho depois do diagnóstico: uma linha que acende */
.escada { list-style: none; padding: 30px 0 0; margin: 10vh 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 48px); position: relative; max-width: 1160px; }
.escada::before, .escada::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; }
.escada::before { background: rgba(242,238,230,.14); }
.escada::after { height: 2px; top: -.5px; background: linear-gradient(90deg, var(--ouro-brilho), var(--ouro) 60%, rgba(201,162,39,.2)); transform-origin: left; transform: scaleX(0); transition: transform 1.6s var(--ease-quint); }
.escada.is-acesa::after, html.sem-movimento .escada::after { transform: scaleX(1); }
.degrau { position: relative; display: flex; flex-direction: column; gap: 6px; opacity: .35; transition: opacity .6s var(--ease-quint); }
.escada.is-acesa .degrau, html.sem-movimento .degrau { opacity: 1; }
.escada.is-acesa .degrau--2 { transition-delay: .45s; }
.escada.is-acesa .degrau--3 { transition-delay: .9s; }
.degrau::before { content: ''; position: absolute; left: 0; top: -36px; width: 11px; height: 11px; border-radius: 50%; background: var(--preto); box-shadow: inset 0 0 0 1px rgba(242,238,230,.4); transition: background-color .4s, box-shadow .4s; }
.escada.is-acesa .degrau::before, html.sem-movimento .degrau::before { background: var(--ouro-claro); box-shadow: 0 0 0 4px var(--preto), 0 0 14px rgba(232,201,93,.7); }
.degrau__quando { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ouro-claro); }
.degrau b { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 2vw, 32px); line-height: 1; text-transform: uppercase; }
.degrau p { margin: 0; font-size: 15px; color: var(--texto-2); font-weight: 300; max-width: 24em; }

/* ================= CAP. 9 · PERGUNTAS ================= */

/* ================= CAP. 10 · FINAL ================= */
.cap10 { min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 12vh; padding-bottom: 12vh; }
.cap10 { overflow: hidden; isolation: isolate; }
.final__fundo { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.final__fundo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(11,10,8,.5), rgba(11,10,8,.9) 80%), linear-gradient(180deg, var(--preto), transparent 22%, transparent 78%, var(--preto)); }
.final__texto { position: relative; margin-top: 2vh; }
.final__texto .rotulo { justify-content: center; }
.final__texto .titulo-cap { margin-left: auto; margin-right: auto; font-size: clamp(44px, 6vw, 108px); }
.final__acoes { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 36px; }
.link-whats { font-size: 15px; color: var(--texto-2); text-underline-offset: 4px; }
.link-whats:hover { color: var(--ouro-claro); }

/* ================= Navegação por pegadas ================= */
.trilha-nav { position: fixed; right: 20px; top: 50%; transform: translateY(-50%); z-index: 55; display: none; flex-direction: column; gap: 9px; }
.trilha-nav a { position: relative; display: block; width: 7px; height: 11px; border-radius: 50% 50% 45% 45%; background: rgba(201,162,39,.38); transition: background-color .3s var(--ease-quart), box-shadow .3s, transform .3s var(--ease-quint); }
.trilha-nav a:nth-child(even) { margin-left: 8px; }
.trilha-nav a span { position: absolute; right: 22px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; padding: 5px 9px; border-radius: 4px; background: rgba(11,10,8,.88); font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; color: var(--texto); opacity: 0; pointer-events: none; transition: opacity .2s var(--ease-quart), transform .2s var(--ease-quart); }
.trilha-nav a:nth-child(even) span { right: 30px; }
.trilha-nav a:hover span, .trilha-nav a:focus-visible span { opacity: 1; transform: translate(0, -50%); }
.trilha-nav a.is-atual { background: var(--ouro-brilho); box-shadow: 0 0 12px rgba(245,215,110,.8); transform: scale(1.3); }
@media (min-width: 1100px) { .trilha-nav { display: flex; } }

/* ================= Pílula, trilha curta, rodapé ================= */
.pilula.is-bloqueada { opacity: 0; transform: translateY(16px); filter: blur(4px); pointer-events: none; }
.trilha--curta { height: 46vh; }
.rodape { align-items: end; }
.rodape > div { display: flex; align-items: center; gap: 14px; }
.rodape__marca { width: 27px; height: auto; }
.rodape__links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.rodape__links a { text-decoration: none; color: var(--texto-2); }
.rodape__links a:hover { color: var(--ouro-claro); }

/* Convite para testar a assistente no WhatsApp (frente 03) */
.experimente { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(242,238,230,.1); }
.experimente p { font-size: 15px; margin: 0 0 14px; color: var(--texto-2); }
.botao-whats {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 22px; border-radius: 999px; text-decoration: none;
  color: var(--texto); font-weight: 500;
  box-shadow: inset 0 0 0 1px rgba(232,201,93,.55);
  transition: box-shadow .2s var(--ease-quart), transform .1s var(--ease-quart);
}
.botao-whats:hover { box-shadow: inset 0 0 0 1px var(--ouro-claro), 0 0 32px rgba(201,162,39,.28); }
.botao-whats:active { transform: scale(.97); }
.botao-whats__ponto { width: 9px; height: 9px; border-radius: 50%; background: #5BBF73; box-shadow: 0 0 0 4px rgba(91,191,115,.18); animation: online 2.4s var(--ease-quint) infinite; }
@keyframes online { 50% { box-shadow: 0 0 0 7px rgba(91,191,115,0); } }

/* ================= CELULAR ================= */
@media (max-width: 860px) {
  .cap2__palco { padding-top: 12vh; }
  .frente, .cap6__grade, .nao-somos { grid-template-columns: 1fr; }
  .frente { padding: 7vh 0; gap: 28px; }
  .frente__prova { align-items: stretch; }
  .celular { margin: 0 auto; }
  .camadas li { margin-right: 10px; padding-right: 18px; }
  .cap3__palco { min-height: 0; padding: 14vh 0 10vh; gap: 6vh; }
  .elos::before, .elos::after { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; }
  .elos::after { width: 2px; left: 5px; transform-origin: top; transform: scaleY(var(--p)); background: linear-gradient(180deg, var(--ouro-escuro), var(--ouro-brilho) 70%, #FFF1BF); }
  .elos__lista { grid-template-columns: 1fr; padding: 0 0 0 40px; gap: 30px; }
  .elo__ponto { left: -40px; top: 4px; }
  .elo--acao .elo__ponto { left: -43px; top: 1px; }
  .galeria__item .celular { width: 220px; }
  .galeria__item--criativo img { width: 240px; }
  .cap7 { grid-template-columns: 1fr; }
  .cap7__cortes { margin-top: 32px; }
  .placeholder--cinema { aspect-ratio: 4 / 3; }
  .casos { grid-template-columns: 1fr; gap: 24px; }
  .portas { grid-template-columns: 1fr; gap: 14px; }
  .porta { padding: 24px 22px; gap: 10px; }
  .porta__letra { font-size: 110px; }
  .porta b { font-size: 27px; }
  .porta__texto { font-size: 15px; }
  .cap8__escolha { margin-bottom: 4vh; }
  .escada { grid-template-columns: 1fr; padding: 0 0 0 30px; margin-top: 7vh; gap: 28px; }
  .escada::before, .escada::after { top: 6px; bottom: 6px; left: 5px; right: auto; width: 1px; height: auto; }
  .escada::after { width: 2px; left: 4.5px; transform-origin: top; transform: scaleY(0); background: linear-gradient(180deg, var(--ouro-brilho), var(--ouro) 60%, rgba(201,162,39,.2)); }
  .escada.is-acesa::after, html.sem-movimento .escada::after { transform: scaleY(1); }
  .degrau::before { left: -30px; top: 3px; }
  .final__texto { margin-top: 0; }
  .botao-ouro { font-size: 19px; padding: 16px 26px; }

  /* respiro entre capítulos: no celular 16vh vira um buraco */
  .cap4, .cap6, .cap7, .cap8, .cap9 { padding-top: 10vh; padding-bottom: 10vh; }
  .cap5 { padding-top: 14vh; padding-bottom: 14vh; }
  .cap10 { min-height: 88svh; }
  .trilha { height: 34vh; }
  .trilha--curta { height: 24vh; }
  .modelo { width: 100%; padding: 18px 16px; }
  .pizza { grid-template-columns: 116px minmax(0, 1fr); gap: 14px; }
  .pizza__grafico { width: 116px; height: 116px; }
  .pizza__legenda { font-size: 13px; }
  .pizza__legenda b { font-size: 18px; }
  .modelo__acao { flex-direction: column; gap: 2px; }
  .modelo__acao em { text-align: left; }
  .frente__prova .painel, .frente__prova .relatorio-mini, .frente__prova .conversa { width: 100%; }
  .plataformas { font-size: 16px; }
  .experimente { margin-top: 22px; }
  .botao-whats { display: flex; justify-content: center; width: 100%; padding: 15px 18px; font-size: 15px; text-align: center; }
  .galeria { padding-top: 32px; gap: 20px; }
  .galeria figcaption { font-size: 13px; max-width: 240px; }
  .galeria figcaption b { font-size: 17px; }
}

/* Sites de clientes na galeria (cap. 4) e cortes do podcast (cap. 7) */
a.navegador { display: block; text-decoration: none; transition: transform .35s var(--ease-quint), box-shadow .35s var(--ease-quart); }
a.navegador:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(232,201,93,.4), 0 40px 90px rgba(0,0,0,.55); }
.navegador img { display: block; width: 100%; height: auto; aspect-ratio: 790 / 494; object-fit: cover; object-position: top; }
.navegador__barra { align-items: center; }
.navegador__url { margin-left: 12px; font-family: var(--f-mono); font-size: 11px; color: var(--texto-3); }
.cap7__cortes { gap: 22px; align-items: flex-end; }
.corte { margin: 0; }
.corte figcaption { margin-top: 10px; max-width: 150px; font-size: 13px; line-height: 1.3; color: var(--texto-2); }
.celular--corte { width: 150px; border-radius: 26px; padding: 6px; }
.celular--corte .celular__video { border-radius: 21px; }
.corte:nth-child(1) { transform: rotate(-3deg) translateY(12px); }
.corte:nth-child(3) { transform: rotate(3deg) translateY(6px); }
@media (max-width: 860px) {
  .cap7__cortes { overflow-x: auto; padding-bottom: 8px; }
  .celular--corte { width: 128px; }
}

/* Faixa do podcast com vídeo real ao fundo, e compilados com destaque (29/10) */
.faixa-cinema { position: relative; aspect-ratio: 21 / 8; min-height: 240px; overflow: hidden; background: #0E0C09; }
.faixa-cinema__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: blur(3px) brightness(.45) saturate(.7) sepia(.35); transform: scale(1.06); }
.faixa-cinema::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,10,8,.2), rgba(11,10,8,.85)), radial-gradient(60% 90% at 30% 60%, rgba(201,162,39,.16), transparent 70%); }
.cap7__faixa .ondas { z-index: 1; }
.corte figcaption b { display: block; color: var(--texto); font-weight: 500; }
.corte--destaque .celular--corte { width: 190px; border-radius: 30px; }
.corte--destaque { transform: rotate(-2deg); }
.corte:not(.corte--destaque) { transform: rotate(3deg) translateY(10px); }
@media (max-width: 860px) {
  .faixa-cinema { aspect-ratio: 4 / 3; }
  .corte--destaque .celular--corte { width: 160px; }
}
