/* =========================================================================
   ZIMO. APRESENTAÇÃO INTERATIVA "COMO FUNCIONA A ZIMO"
   Arquivo exclusivo da apresentação. Não depende de zimo-site.css.
   Os tokens abaixo são os mesmos publicados no site, replicados aqui para
   que a apresentação funcione sozinha em qualquer hospedagem estática.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. TOKENS
   ------------------------------------------------------------------------- */
:root {
  /* Cores do site */
  --bg-main: #ffffff;
  --bg-alt: #f5f6f8;
  --bg-dark: #101010;
  --bg-dark-card: #1a1a1a;
  --text-main: #0a0a0a;
  --text-muted: #626c7a;
  --text-light-muted: #a3a3a3;
  --accent-red: #FF2E2E;
  --accent-red-hover: #d61e1e;
  --accent-soft: rgba(255, 46, 46, .07);
  --accent-blue: #1B4DB1;
  --border: rgba(0, 0, 0, .08);
  --border-dark: rgba(255, 255, 255, .1);

  /* Tipografia do site */
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Raios do site */
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;

  /* Escala de espaçamento do site: 4 8 12 16 20 24 32 40 48 56 88 */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 20px;
  --s-6: 24px;
  --s-7: 32px;
  --s-8: 40px;
  --s-9: 48px;
  --s-10: 56px;
  --s-11: 88px;

  /* Apoio exclusivo da apresentação, derivado dos tokens acima */
  --surface: #161616;
  --surface-2: #1f1f1f;
  --ok: #2ecc71;
  --warn: #f5a623;
  --player-h: 72px;
  --topbar-h: 64px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* -------------------------------------------------------------------------
   2. BASE
   ------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg-dark);
  color: #fff;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  overscroll-behavior: none;
}

button { font-family: inherit; color: inherit; cursor: pointer; }

/* Padrão dos ícones. Todo SVG da apresentação é traçado, no estilo Lucide.
   O conteúdo inserido por <use> herda estas propriedades. */
.zp svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--accent-red);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* -------------------------------------------------------------------------
   3. LAYOUT GERAL
   ------------------------------------------------------------------------- */
.zp {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: var(--topbar-h) 1fr var(--player-h);
  background:
    radial-gradient(1100px 620px at 15% -10%, rgba(255, 46, 46, .10), transparent 60%),
    radial-gradient(900px 560px at 100% 110%, rgba(27, 77, 177, .16), transparent 60%),
    var(--bg-dark);
}

/* --- Barra superior --- */
.zp-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 0 var(--s-6);
  border-bottom: 1px solid var(--border-dark);
  background: rgba(16, 16, 16, .72);
  backdrop-filter: blur(10px);
  z-index: 30;
}

.zp-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  text-decoration: none;
  padding: var(--s-2);
  border-radius: var(--r-sm);
}
.zp-logo img { display: block; height: 26px; width: auto; }
.zp-logo__hint {
  font-size: 12px;
  color: var(--text-light-muted);
  letter-spacing: .02em;
}
.zp-logo:hover .zp-logo__hint { color: #fff; }

.zp-top__right { display: flex; align-items: center; gap: var(--s-3); }

/* --- Botões --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  padding: var(--s-3) var(--s-5);
  text-decoration: none;
  transition: background .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--accent-red); color: #fff; }
.btn--primary:hover { background: var(--accent-red-hover); }

.btn--ghost {
  background: transparent;
  border-color: var(--border-dark);
  color: #fff;
}
.btn--ghost:hover { border-color: rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .05); }

.btn--lg { font-size: 16px; padding: var(--s-4) var(--s-7); }

.btn--icon {
  width: 40px; height: 40px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--border-dark);
  color: var(--text-light-muted);
}
.btn--icon:hover { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--icon svg { width: 18px; height: 18px; }

/* -------------------------------------------------------------------------
   4. PALCO E ETAPAS
   ------------------------------------------------------------------------- */
.zp-stage {
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-7) var(--s-9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity .45s var(--ease), transform .45s var(--ease), visibility .45s;
  overflow: auto;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 2;
}

.slide__inner {
  width: 100%;
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(280px, 400px) 1fr;
  align-items: center;
  gap: var(--s-11);
}
.slide--center .slide__inner {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: var(--s-8);
  max-width: 900px;
}

.slide__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin: 0 0 var(--s-4);
}
.slide__eyebrow::before {
  content: "";
  width: 20px; height: 2px;
  background: var(--accent-red);
  border-radius: 2px;
}
.slide--center .slide__eyebrow::before { display: none; }

.slide__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 700;
  margin: 0 0 var(--s-5);
  text-wrap: balance;
}

.slide__text {
  font-size: clamp(15px, 1.25vw, 18px);
  color: #d7d9de;
  margin: 0;
  max-width: 46ch;
}
.slide--center .slide__text { margin-inline: auto; }

.slide__quote {
  margin: var(--s-6) 0 0;
  padding: var(--s-4) var(--s-5);
  border-left: 3px solid var(--accent-red);
  background: var(--accent-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  color: #fff;
}
.slide--center .slide__quote { border-left: 0; border-top: 3px solid var(--accent-red); border-radius: 0 0 var(--r-sm) var(--r-sm); }

.slide__note {
  margin: var(--s-5) 0 0;
  font-size: 13px;
  color: var(--text-light-muted);
}

.slide__cta { margin-top: var(--s-7); display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Área de animação */
.stage-art {
  position: relative;
  width: 100%;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide--center .stage-art { min-height: 300px; }

/* -------------------------------------------------------------------------
   5. PEÇAS REUTILIZÁVEIS DAS ANIMAÇÕES
   ------------------------------------------------------------------------- */
.card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: var(--r-md);
  padding: var(--s-4);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-3);
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.chip svg { width: 15px; height: 15px; color: var(--accent-red); }

/* Painel claro, usado quando a etapa simula uma interface */
.ui {
  background: var(--bg-main);
  color: var(--text-main);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  overflow: hidden;
}
.ui__bar {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.ui__dot { width: 9px; height: 9px; border-radius: 50%; background: #d5d8de; }
.ui__addr {
  flex: 1;
  margin-left: var(--s-3);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: var(--s-2) var(--s-3);
  font-size: 12px;
  color: var(--text-muted);
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ui__body { padding: var(--s-5); }

/* Selo de demonstração ilustrativa */
.seal {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  z-index: 5;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255, 46, 46, .9);
  padding: var(--s-1) var(--s-3);
  border-radius: 999px;
}

/* Cursor simulado */
.cursor {
  position: absolute;
  width: 22px; height: 22px;
  pointer-events: none;
  z-index: 6;
  opacity: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5));
}

/* -------------------------------------------------------------------------
   6. PLAYER INFERIOR
   ------------------------------------------------------------------------- */
.zp-player {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  padding: 0 var(--s-6);
  border-top: 1px solid var(--border-dark);
  background: rgba(16, 16, 16, .84);
  backdrop-filter: blur(10px);
  z-index: 30;
}

.zp-player__nav {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  border: 1px solid var(--border-dark);
  background: transparent;
  color: #fff;
  border-radius: 999px;
  padding: var(--s-3) var(--s-5);
  font-size: 14px;
  font-weight: 600;
  transition: background .2s var(--ease), border-color .2s var(--ease), opacity .2s;
}
.zp-player__nav:hover:not(:disabled) { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .35); }
.zp-player__nav:disabled { opacity: .32; cursor: not-allowed; }
.zp-player__nav svg { width: 16px; height: 16px; }
.zp-player__nav--next { background: var(--accent-red); border-color: var(--accent-red); }
.zp-player__nav--next:hover:not(:disabled) { background: var(--accent-red-hover); border-color: var(--accent-red-hover); }

.zp-player__center {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
}

.zp-player__meta {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-size: 12px;
  color: var(--text-light-muted);
}
.zp-player__count {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.zp-player__chapter {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-red);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zp-progress {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .12);
  overflow: visible;
}
.zp-progress__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-red), #ff6a4d);
  transition: width .45s var(--ease);
}
.zp-progress__marks {
  position: absolute;
  inset: -7px 0;
  display: block;
}
.zp-mark {
  position: absolute;
  top: 0;
  width: 20px; height: 20px;
  transform: translateX(-50%);
  padding: 0;
  border: 0;
  background: transparent;
}
.zp-mark::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 8px; height: 8px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, .3);
  border: 2px solid var(--bg-dark);
  transition: background .25s var(--ease), width .25s var(--ease), height .25s var(--ease);
}
.zp-mark:hover::after,
.zp-mark.is-done::after { background: #fff; }
.zp-mark.is-current::after { background: var(--accent-red); width: 12px; height: 12px; }

.zp-player__tools { display: flex; align-items: center; gap: var(--s-2); }

/* Dica de navegação, aparece só na primeira etapa */
.zp-hint {
  position: absolute;
  left: 50%;
  bottom: var(--s-5);
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--text-light-muted);
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: var(--s-2) var(--s-4);
  z-index: 10;
  transition: opacity .4s var(--ease);
}
.zp-hint[hidden] { display: none; }

/* Aviso de retomada */
.zp-resume {
  position: absolute;
  left: 50%;
  bottom: var(--s-6);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  border-radius: 999px;
  padding: var(--s-2) var(--s-2) var(--s-2) var(--s-5);
  font-size: 13px;
  z-index: 20;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .5);
}
.zp-resume[hidden] { display: none; }
.zp-resume .btn { font-size: 13px; padding: var(--s-2) var(--s-4); }

/* -------------------------------------------------------------------------
   7. RESPONSIVIDADE. Pontos de quebra do site: 1024, 860, 620, 400
   ------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .slide { padding: var(--s-6); }
  .slide__inner { gap: var(--s-8); grid-template-columns: minmax(240px, 340px) 1fr; }
}

@media (max-width: 860px) {
  .zp { grid-template-rows: var(--topbar-h) 1fr auto; }
  .slide__inner {
    grid-template-columns: 1fr;
    justify-items: stretch;
    text-align: left;
    gap: var(--s-6);
  }
  .slide--center .slide__inner { text-align: center; }
  .slide__title { font-size: clamp(24px, 6vw, 32px); }
  .slide__text { max-width: none; }
  .stage-art { min-height: 260px; }
  .zp-player {
    flex-wrap: wrap;
    padding: var(--s-3) var(--s-4);
    gap: var(--s-3);
    row-gap: var(--s-3);
  }
  .zp-player__center { order: -1; flex: 1 1 100%; }
  .zp-player__nav { flex: 1; justify-content: center; padding: var(--s-4) var(--s-4); }
  .zp-player__tools { flex: 0 0 auto; }
  .zp-hint { display: none; }
}

@media (max-width: 620px) {
  :root { --topbar-h: 56px; }
  .zp-top { padding: 0 var(--s-4); }
  .zp-logo__hint { display: none; }
  .zp-top .btn { font-size: 13px; padding: var(--s-3) var(--s-4); }
  .slide { padding: var(--s-5) var(--s-4); align-items: flex-start; }
  .slide__inner { align-content: start; }
  .zp-player__tools .btn--icon:nth-child(n+3) { display: none; }
}

@media (max-width: 400px) {
  .slide__title { font-size: 22px; }
  .slide__text { font-size: 14px; }
  .zp-player__meta { font-size: 11px; }
}

/* Telas baixas no desktop */
@media (max-height: 620px) and (min-width: 861px) {
  .stage-art { min-height: 240px; }
  .slide { padding: var(--s-5) var(--s-8); }
}

/* -------------------------------------------------------------------------
   8. MOVIMENTO REDUZIDO
   ------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* Pausa manual das animações, botão do player */
.zp.is-paused .stage-art *,
.zp.is-paused .slide * {
  animation-play-state: paused !important;
}

/* =========================================================================
   9. ANIMAÇÕES DAS ETAPAS
   Todas as animações rodam apenas quando o JavaScript coloca a classe
   .is-playing na etapa. Isso permite reiniciar a animação a qualquer momento.
   ========================================================================= */

/* Estado inicial comum. Sem a classe .is-playing nada se move. */
.anim [data-in] { opacity: 0; }
.slide.is-playing .anim [data-in] {
  animation: fadeUp .6s var(--ease) both;
  animation-delay: var(--d, 0s);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes popIn {
  0%   { opacity: 0; transform: scale(.82); }
  60%  { opacity: 1; transform: scale(1.04); }
  100% { opacity: 1; transform: scale(1); }
}
/* Mesma entrada, para elementos já centralizados por translate. */
@keyframes popInCentered {
  0%   { opacity: 0; transform: translate(-50%, -50%) scale(.82); }
  60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.04); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
@keyframes drawLine {
  from { stroke-dashoffset: var(--len, 400); }
  to   { stroke-dashoffset: 0; }
}
@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: .9; }
  50%      { transform: scale(1.35); opacity: .45; }
}

/* -------------------------------------------------------------------------
   ETAPA 1. Serviços conectados ao centro
   ------------------------------------------------------------------------- */
.a-hub {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 440 / 320;
}
.a-hub__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.a-hub__links line {
  stroke: rgba(255, 255, 255, .28);
  stroke-width: 1.5;
  stroke-dasharray: var(--len, 260);
  stroke-dashoffset: var(--len, 260);
}
.slide.is-playing .a-hub__links line {
  animation: drawLine .7s var(--ease) both;
  animation-delay: var(--d, 1.1s);
}
.a-hub__node {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.slide.is-playing .a-hub__node { animation: popInCentered .5s var(--ease) both; animation-delay: var(--d, 0s); }
.a-hub__center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 108px; height: 108px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-dark-card);
  border: 1px solid rgba(255, 46, 46, .5);
  box-shadow: 0 0 0 10px rgba(255, 46, 46, .07), 0 20px 50px rgba(0, 0, 0, .5);
  opacity: 0;
  z-index: 2;
}
.a-hub__center img { width: 62px; height: auto; }
.a-hub__center span {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  padding: var(--s-2);
}
.slide.is-playing .a-hub__center { animation: popInCentered .6s var(--ease) both; animation-delay: 1.7s; }

/* -------------------------------------------------------------------------
   ETAPA 2. Blocos desconectados
   ------------------------------------------------------------------------- */
.a-broken {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: var(--s-4);
  width: 100%;
  max-width: 560px;
}
.a-broken__item {
  position: relative;
  padding: var(--s-4) var(--s-3);
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px dashed rgba(255, 255, 255, .18);
  font-size: 13px;
  color: #cfd2d8;
  text-align: center;
  opacity: 0;
}
.slide.is-playing .a-broken__item {
  animation: fadeUp .5s var(--ease) both, wobble 2.6s ease-in-out infinite;
  animation-delay: var(--d, 0s), calc(var(--d, 0s) + .5s);
}
@keyframes wobble {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25%      { transform: translate(2px, -2px) rotate(.5deg); }
  75%      { transform: translate(-2px, 2px) rotate(-.5deg); }
}
.a-broken__alert {
  position: absolute;
  top: -7px; right: -7px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
  border: 2px solid var(--bg-dark);
}
.slide.is-playing .a-broken__alert { animation: pulseDot 1.8s ease-in-out infinite; animation-delay: 1.4s; }

/* -------------------------------------------------------------------------
   ETAPA 3. Tudo dentro de uma operação
   ------------------------------------------------------------------------- */
.a-unified {
  position: relative;
  width: 100%;
  max-width: 560px;
  padding: var(--s-7) var(--s-5) var(--s-5);
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 46, 46, .35);
  background: linear-gradient(180deg, rgba(255, 46, 46, .06), transparent 60%);
  opacity: 0;
}
.slide.is-playing .a-unified { animation: fadeIn .6s var(--ease) both; animation-delay: 1.2s; }
.a-unified__tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--accent-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: var(--s-1) var(--s-4);
  border-radius: 999px;
}
.a-unified__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: var(--s-3);
}
.a-unified__item {
  padding: var(--s-3);
  border-radius: var(--r-sm);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  font-size: 13px;
  text-align: center;
  opacity: 0;
}
.slide.is-playing .a-unified__item {
  animation: slideHome .7s var(--ease) both;
  animation-delay: var(--d, 0s);
}
@keyframes slideHome {
  from { opacity: 0; transform: translate(var(--fx, 0), var(--fy, -24px)) scale(.9); }
  to   { opacity: 1; transform: none; }
}
.a-unified__foot {
  margin-top: var(--s-4);
  text-align: center;
  font-size: 13px;
  color: var(--text-light-muted);
  opacity: 0;
}
.slide.is-playing .a-unified__foot { animation: fadeIn .6s both; animation-delay: 2.4s; }

/* -------------------------------------------------------------------------
   ETAPA 4. IA e especialista
   ------------------------------------------------------------------------- */
.a-split {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-4);
  width: 100%;
  max-width: 620px;
}
.a-split__col {
  padding: var(--s-5);
  border-radius: var(--r-md);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  opacity: 0;
}
.slide.is-playing .a-split__col--left  { animation: inFromLeft .6s var(--ease) both; }
.slide.is-playing .a-split__col--right { animation: inFromRight .6s var(--ease) both; animation-delay: .2s; }
@keyframes inFromLeft  { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
@keyframes inFromRight { from { opacity: 0; transform: translateX(28px); }  to { opacity: 1; transform: none; } }
.a-split__head {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: var(--s-3);
}
.a-split__col--right .a-split__head { color: #7aa2ff; }
.a-split__list { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-2); }
.a-split__list li {
  font-size: 13px;
  color: #d7d9de;
  padding-left: var(--s-4);
  position: relative;
  opacity: 0;
}
.a-split__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: .5;
}
.slide.is-playing .a-split__list li { animation: fadeUp .4s var(--ease) both; animation-delay: var(--d, 0s); }
.a-split__join {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-red);
  color: #fff;
  opacity: 0;
  box-shadow: 0 0 0 8px rgba(255, 46, 46, .12);
}
.a-split__join svg { width: 24px; height: 24px; }
.slide.is-playing .a-split__join { animation: popIn .6s var(--ease) both; animation-delay: 1.8s; }

/* -------------------------------------------------------------------------
   ETAPA 5. Reunião inicial
   ------------------------------------------------------------------------- */
.a-meet {
  width: 100%;
  max-width: 520px;
  display: grid;
  gap: var(--s-5);
}
.a-meet__row { display: flex; align-items: center; justify-content: center; gap: var(--s-9); }
.a-person { text-align: center; opacity: 0; }
.slide.is-playing .a-person { animation: popIn .5s var(--ease) both; animation-delay: var(--d, 0s); }
.a-person__av {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 0 auto var(--s-2);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
}
.a-person__av svg { width: 30px; height: 30px; color: var(--accent-red); }
.a-person--right .a-person__av svg { color: #7aa2ff; }
.a-person__name { font-size: 13px; color: #d7d9de; }
.a-meet__wave {
  position: relative;
  height: 2px;
  background: rgba(255, 255, 255, .12);
  margin: 0 var(--s-8);
  border-radius: 2px;
  overflow: hidden;
}
.a-meet__wave::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent-red), transparent);
  transform: translateX(-100%);
}
.slide.is-playing .a-meet__wave::after { animation: sweep 2.2s linear infinite; animation-delay: .8s; }
@keyframes sweep { to { transform: translateX(100%); } }
.a-meet__notes { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }
.a-meet__notes .chip { opacity: 0; }
.slide.is-playing .a-meet__notes .chip { animation: popIn .45s var(--ease) both; animation-delay: var(--d, 0s); }

/* -------------------------------------------------------------------------
   ETAPA 6. Cartões do briefing
   ------------------------------------------------------------------------- */
.a-brief { width: 100%; max-width: 540px; display: grid; gap: var(--s-4); }
.a-brief__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--s-3);
}
.a-brief__card {
  padding: var(--s-3);
  border-radius: var(--r-sm);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  opacity: 0;
}
.slide.is-playing .a-brief__card { animation: fadeUp .45s var(--ease) both; animation-delay: var(--d, 0s); }
.a-brief__label { font-size: 12px; color: var(--text-light-muted); margin-bottom: var(--s-2); }
.a-brief__bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.a-brief__bar i { display: block; height: 100%; width: 0; background: var(--accent-red); border-radius: 999px; }
.slide.is-playing .a-brief__bar i {
  animation: fillBar .8s var(--ease) both;
  animation-delay: calc(var(--d, 0s) + .25s);
}
@keyframes fillBar { to { width: var(--w, 100%); } }
.a-brief__out {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: var(--s-4);
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 46, 46, .4);
  background: var(--accent-soft);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
}
.a-brief__out svg { width: 18px; height: 18px; color: var(--accent-red); }
.slide.is-playing .a-brief__out { animation: popIn .6s var(--ease) both; animation-delay: 2.2s; }

/* -------------------------------------------------------------------------
   ETAPAS 7 e 14. Fluxo em linha
   ------------------------------------------------------------------------- */
.a-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  width: 100%;
  max-width: 560px;
}
.a-flow__step {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3) var(--s-4);
  border-radius: 999px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  font-size: 13px;
  font-weight: 500;
  opacity: 0;
}
.a-flow__step svg { width: 15px; height: 15px; color: var(--accent-red); }
.slide.is-playing .a-flow__step { animation: popIn .45s var(--ease) both; animation-delay: var(--d, 0s); }
.a-flow__step.is-goal { border-color: rgba(255, 46, 46, .55); background: var(--accent-soft); }
.a-flow__arrow { color: var(--text-light-muted); opacity: 0; display: inline-grid; place-items: center; }
.a-flow__arrow svg { width: 16px; height: 16px; }
.slide.is-playing .a-flow__arrow { animation: fadeIn .3s both; animation-delay: var(--d, 0s); }

/* -------------------------------------------------------------------------
   ETAPA 8. Site em construção
   ------------------------------------------------------------------------- */
.a-wire { width: 100%; max-width: 520px; position: relative; }
.a-wire .ui__body { display: grid; gap: var(--s-3); min-height: 236px; }
.sk {
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  opacity: 0;
}
.slide.is-playing .sk { animation: fadeUp .45s var(--ease) both; animation-delay: var(--d, 0s); }
.sk--head { height: 34px; }
.sk--hero { height: 78px; }
.sk--row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-3); background: none; }
.sk--row span { display: block; height: 46px; background: var(--bg-alt); border-radius: var(--r-sm); }
.sk--line { height: 10px; width: 70%; }
.sk.is-color { background: linear-gradient(90deg, rgba(255, 46, 46, .22), rgba(27, 77, 177, .18)); }
.sk.is-text { background: #e4e6ea; }
.a-wire__stamp {
  position: absolute;
  right: var(--s-4); bottom: var(--s-4);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
}
.a-wire__stamp svg { width: 14px; height: 14px; }
.a-wire__stamp--sent { background: rgba(245, 166, 35, .16); color: #b9791a; border: 1px solid rgba(245, 166, 35, .5); }
.a-wire__stamp--ok { background: rgba(46, 204, 113, .16); color: #1c7a45; border: 1px solid rgba(46, 204, 113, .5); }
.slide.is-playing .a-wire__stamp--sent { animation: stampInOut 1.6s var(--ease) both; animation-delay: 2.2s; }
.slide.is-playing .a-wire__stamp--ok { animation: popIn .5s var(--ease) both; animation-delay: 3.7s; }
@keyframes stampInOut {
  0%   { opacity: 0; transform: scale(.9); }
  15%  { opacity: 1; transform: scale(1); }
  85%  { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(.96); }
}

/* -------------------------------------------------------------------------
   ETAPA 9. Páginas de captação
   ------------------------------------------------------------------------- */
.a-pages { width: 100%; max-width: 560px; display: grid; gap: var(--s-4); justify-items: center; }
.a-pages__main {
  width: 180px;
  padding: var(--s-3);
  border-radius: var(--r-sm);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  text-align: center;
  font-size: 13px;
  opacity: 0;
}
.slide.is-playing .a-pages__main { animation: fadeUp .5s var(--ease) both; }
.a-pages__fan {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: var(--s-3);
  width: 100%;
}
.a-page {
  padding: var(--s-3);
  border-radius: var(--r-sm);
  background: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border);
  opacity: 0;
}
.slide.is-playing .a-page { animation: splitOut .6s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes splitOut {
  from { opacity: 0; transform: translateY(-26px) scale(.92); }
  to   { opacity: 1; transform: none; }
}
.a-page__t {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: var(--s-2);
  line-height: 1.25;
}
.a-page__l { display: block; height: 5px; background: var(--bg-alt); border-radius: 999px; margin-bottom: var(--s-1); }
.a-page__l:nth-child(3) { width: 78%; }
.a-page__b {
  display: block;
  margin-top: var(--s-2);
  height: 16px;
  border-radius: 999px;
  background: var(--accent-red);
  opacity: .85;
}

/* -------------------------------------------------------------------------
   ETAPA 10. Uma página para cada intenção
   ------------------------------------------------------------------------- */
.a-intent { width: 100%; max-width: 560px; display: grid; gap: var(--s-3); }
.a-intent__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--s-3);
  opacity: 0;
}
.slide.is-playing .a-intent__row { animation: fadeUp .5s var(--ease) both; animation-delay: var(--d, 0s); }
.a-intent__q {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-3);
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-dark);
  font-size: 13px;
  color: #d7d9de;
}
.a-intent__q svg { width: 14px; height: 14px; flex: none; color: var(--text-light-muted); }
.a-intent__arrow { color: var(--accent-red); display: grid; place-items: center; }
.a-intent__arrow svg { width: 18px; height: 18px; }
.a-intent__p {
  padding: var(--s-3);
  border-radius: var(--r-sm);
  background: var(--bg-main);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
}

/* -------------------------------------------------------------------------
   ETAPAS 11, 12 e 15. Busca simulada
   ------------------------------------------------------------------------- */
.a-search { width: 100%; max-width: 540px; position: relative; }
.a-search__field {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  margin-bottom: var(--s-4);
}
.a-search__field svg { width: 16px; height: 16px; color: var(--text-muted); flex: none; }
.a-typed {
  font-size: 14px;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  width: max-content;
  max-width: 0;
  border-right: 2px solid var(--accent-red);
}
.slide.is-playing .a-typed {
  animation: typing var(--dur, 2s) steps(var(--chars, 30)) both, caret .7s step-end 8;
  animation-delay: var(--d, .4s);
}
@keyframes typing { to { max-width: 100%; } }
@keyframes caret { 50% { border-color: transparent; } }

.a-result {
  padding: var(--s-3);
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  margin-bottom: var(--s-2);
  opacity: 0;
}
.slide.is-playing .a-result { animation: fadeUp .4s var(--ease) both; animation-delay: var(--d, 0s); }
.a-result__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: var(--s-1);
  background: var(--accent-soft);
  color: var(--accent-red-hover);
  border: 1px solid rgba(255, 46, 46, .3);
}
.a-result__t {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-blue);
  margin-bottom: var(--s-1);
}
.a-result__u { font-size: 11px; color: #2c8a53; margin-bottom: var(--s-1); }
.a-result__d { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.a-result.is-highlight {
  border-color: var(--accent-red);
  background: var(--accent-soft);
  box-shadow: 0 0 0 4px rgba(255, 46, 46, .1);
}
.slide.is-playing .a-result.is-highlight {
  animation: fadeUp .4s var(--ease) both, glow 1.8s ease-in-out 2 alternate;
  animation-delay: var(--d, 0s), calc(var(--d, 0s) + .4s);
}
@keyframes glow {
  from { box-shadow: 0 0 0 0 rgba(255, 46, 46, .18); }
  to   { box-shadow: 0 0 0 10px rgba(255, 46, 46, 0); }
}
.a-search__callout {
  position: absolute;
  right: calc(-1 * var(--s-4));
  top: 96px;
  transform: translateX(100%);
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: var(--accent-red);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  white-space: nowrap;
  opacity: 0;
}
.slide.is-playing .a-search__callout { animation: fadeIn .5s both; animation-delay: 1.8s; }
@media (max-width: 1024px) {
  .a-search__callout { position: static; transform: none; margin-top: var(--s-3); white-space: normal; }
}

/* -------------------------------------------------------------------------
   ETAPA 13. Comparação de cenários
   ------------------------------------------------------------------------- */
.a-compare { width: 100%; max-width: 560px; display: grid; gap: var(--s-4); }
.a-compare__case {
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  opacity: 0;
}
.slide.is-playing .a-compare__case { animation: fadeUp .5s var(--ease) both; animation-delay: var(--d, 0s); }
.a-compare__case.is-good { border-color: rgba(46, 204, 113, .45); }
.a-compare__head {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-bottom: var(--s-3);
}
.a-compare__case.is-good .a-compare__head { color: var(--ok); }
.a-compare__seq { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-2); }
.a-compare__pill {
  padding: var(--s-2) var(--s-3);
  border-radius: 999px;
  font-size: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border-dark);
}
.a-compare__pill.is-dead { color: var(--text-light-muted); text-decoration: line-through; }
.a-compare__pill.is-win { border-color: rgba(46, 204, 113, .5); color: #b6f0d0; }
.a-compare__sep { color: var(--text-light-muted); font-size: 12px; }

/* -------------------------------------------------------------------------
   ETAPA 14. Jornada do clique
   ------------------------------------------------------------------------- */
.a-journey { width: 100%; max-width: 560px; }
.a-journey__track {
  position: relative;
  height: 3px;
  background: rgba(255, 255, 255, .12);
  border-radius: 999px;
  margin: var(--s-6) 0 var(--s-5);
}
.a-journey__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--accent-red);
  border-radius: 999px;
}
.slide.is-playing .a-journey__fill { animation: fillBar 3s linear both; animation-delay: .3s; --w: 100%; }
.a-journey__dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 14px; height: 14px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255, 46, 46, .25);
  opacity: 0;
}
.slide.is-playing .a-journey__dot { animation: runDot 3s linear both; animation-delay: .3s; }
@keyframes runDot {
  0%   { left: 0; opacity: 1; }
  100% { left: 100%; opacity: 1; }
}
.a-journey__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-2);
  text-align: center;
}
.a-journey__step {
  font-size: 11px;
  color: var(--text-light-muted);
  opacity: .35;
  transition: opacity .3s var(--ease), color .3s var(--ease);
}
.a-journey__step svg { width: 18px; height: 18px; display: block; margin: 0 auto var(--s-1); }
.slide.is-playing .a-journey__step {
  animation: lightUp .4s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes lightUp {
  to { opacity: 1; color: #fff; }
}
@media (max-width: 620px) {
  .a-journey__steps { grid-template-columns: repeat(3, 1fr); gap: var(--s-3); }
}

/* =========================================================================
   10. BLOCOS DIDÁTICOS
   Peças usadas para ensinar um conceito na tela, com rótulo, numeração e
   legenda. A regra é simples: nada aparece sem estar nomeado.
   ========================================================================= */

/* --- Índice da abertura --- */
.a-index { width: 100%; max-width: 480px; display: grid; gap: var(--s-3); }
.a-index__item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  font-size: 14px;
  color: #d7d9de;
  text-align: left;
  opacity: 0;
}
.slide.is-playing .a-index__item { animation: fadeUp .5s var(--ease) both; animation-delay: var(--d, 0s); }
.a-index__n {
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 46, 46, .4);
  color: var(--accent-red);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
}

/* --- Página de resultados com zonas nomeadas --- */
.a-serp { width: 100%; max-width: 520px; }
.serp-zone {
  position: relative;
  padding: var(--s-5) var(--s-3) var(--s-3);
  border-radius: var(--r-sm);
  border: 1px dashed transparent;
  margin-bottom: var(--s-4);
  opacity: 0;
}
.slide.is-playing .serp-zone { animation: fadeIn .5s both; animation-delay: var(--d, 0s); }
.serp-zone__label {
  position: absolute;
  top: -11px; left: var(--s-3);
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: var(--s-1) var(--s-3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--bg-main);
  opacity: 0;
}
.slide.is-playing .serp-zone__label { animation: popIn .45s var(--ease) both; animation-delay: var(--dl, 0s); }
.serp-zone--paid { border-color: rgba(255, 46, 46, .55); background: rgba(255, 46, 46, .04); }
.serp-zone--paid .serp-zone__label { color: var(--accent-red-hover); border: 1px solid rgba(255, 46, 46, .55); }
.serp-zone--organic { border-color: rgba(27, 77, 177, .45); background: rgba(27, 77, 177, .04); }
.serp-zone--organic .serp-zone__label { color: var(--accent-blue); border: 1px solid rgba(27, 77, 177, .45); }
.serp-zone__hint {
  display: block;
  margin-top: var(--s-2);
  font-size: 11px;
  color: var(--text-muted);
}

/* --- Peça ampliada com marcadores numerados e legenda --- */
.a-zoom { width: 100%; max-width: 520px; display: grid; gap: var(--s-5); }
.a-zoom__stage { position: relative; }
.a-zoom__card {
  position: relative;
  /* O respiro maior à esquerda é o corredor dos marcadores numerados,
     para que eles nunca fiquem por cima do texto. */
  padding: var(--s-5) var(--s-5) var(--s-5) var(--s-9);
  border-radius: var(--r-md);
  background: var(--bg-main);
  color: var(--text-main);
  border: 2px solid var(--accent-red);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  opacity: 0;
}
.slide.is-playing .a-zoom__card { animation: popIn .55s var(--ease) both; }
/* A linha anotada carrega o próprio marcador, então ele acompanha o texto
   mesmo quando a frase quebra em duas linhas no celular. */
.zline { position: relative; }
.marker {
  position: absolute;
  left: -36px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .35);
  opacity: 0;
  z-index: 4;
}
.slide.is-playing .marker { animation: popInY .4s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes popInY {
  0%   { opacity: 0; transform: translateY(-50%) scale(.7); }
  60%  { opacity: 1; transform: translateY(-50%) scale(1.15); }
  100% { opacity: 1; transform: translateY(-50%) scale(1); }
}
.a-zoom__legend { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-3); }
.a-zoom__legend li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--s-3);
  align-items: start;
  font-size: 13px;
  color: #d7d9de;
  opacity: 0;
}
.slide.is-playing .a-zoom__legend li { animation: fadeUp .45s var(--ease) both; animation-delay: var(--d, 0s); }
.a-zoom__n {
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-red);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
}

/* Cursor que se move até o anúncio e clica */
.a-click {
  position: absolute;
  left: 12%; top: 108%;
  width: 22px; height: 22px;
  color: #fff;
  opacity: 0;
  z-index: 5;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .6));
}
.slide.is-playing .a-click { animation: clickPath 2.4s var(--ease) both; animation-delay: 1.9s; }
@keyframes clickPath {
  0%   { opacity: 0; left: 12%; top: 108%; transform: scale(1); }
  15%  { opacity: 1; }
  55%  { opacity: 1; left: 30%; top: 34%; transform: scale(1); }
  70%  { opacity: 1; left: 30%; top: 34%; transform: scale(.8); }
  85%, 100% { opacity: 1; left: 30%; top: 34%; transform: scale(1); }
}
.a-click__ring {
  position: absolute;
  left: 30%; top: 34%;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  border: 2px solid var(--accent-red);
  opacity: 0;
  z-index: 4;
}
.slide.is-playing .a-click__ring { animation: ringOut .8s ease-out both; animation-delay: 3.6s; }
@keyframes ringOut {
  0%   { opacity: .9; transform: scale(.4); }
  100% { opacity: 0; transform: scale(3.4); }
}

/* --- Lista de posições, usada para mostrar o efeito do SEO --- */
.a-rank {
  width: 100%;
  max-width: 520px;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: var(--s-3);
  --rowh: 66px;
}
.a-rank__pos, .a-rank__list { display: grid; gap: var(--s-2); }
.a-rank__pos span {
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .06);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-light-muted);
}
.a-rank__row {
  height: 58px;
  padding: 0 var(--s-4);
  display: grid;
  align-content: center;
  border-radius: var(--r-sm);
  background: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border);
  opacity: 0;
}
.a-rank__t { font-family: var(--font-heading); font-size: 13px; font-weight: 600; color: var(--accent-blue); }
.a-rank__u { font-size: 11px; color: #2c8a53; }
.slide.is-playing .a-rank__row { animation: fadeIn .4s both; animation-delay: var(--d, 0s); }
.a-rank__row.is-you {
  border: 2px solid var(--accent-red);
  box-shadow: 0 10px 30px rgba(255, 46, 46, .2);
}
.slide.is-playing .a-rank__row.is-you {
  animation: fadeIn .4s both, climb 3.4s var(--ease) both;
  animation-delay: var(--d, 0s), 1.4s;
}
@keyframes climb {
  0%, 18%   { transform: none; }
  38%       { transform: translateY(calc(var(--rowh) * -1)); }
  63%       { transform: translateY(calc(var(--rowh) * -2)); }
  88%, 100% { transform: translateY(calc(var(--rowh) * -3)); }
}
/* Cada linha acima desce no exato momento em que é ultrapassada. */
.slide.is-playing .a-rank__row.shift-1 { animation: fadeIn .4s both, downAt1 3.4s var(--ease) both; animation-delay: var(--d, 0s), 1.4s; }
.slide.is-playing .a-rank__row.shift-2 { animation: fadeIn .4s both, downAt2 3.4s var(--ease) both; animation-delay: var(--d, 0s), 1.4s; }
.slide.is-playing .a-rank__row.shift-3 { animation: fadeIn .4s both, downAt3 3.4s var(--ease) both; animation-delay: var(--d, 0s), 1.4s; }
@keyframes downAt3 {
  0%, 33%   { transform: none; }
  43%, 100% { transform: translateY(var(--rowh)); }
}
@keyframes downAt2 {
  0%, 58%   { transform: none; }
  68%, 100% { transform: translateY(var(--rowh)); }
}
@keyframes downAt1 {
  0%, 83%   { transform: none; }
  93%, 100% { transform: translateY(var(--rowh)); }
}
.a-rank__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  margin-top: var(--s-4);
  grid-column: 1 / -1;
  justify-self: start;
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 46, 46, .4);
  color: #ffb3b3;
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
}
.a-rank__badge svg { width: 14px; height: 14px; color: var(--accent-red); }
.slide.is-playing .a-rank__badge { animation: fadeUp .5s var(--ease) both; animation-delay: 1.2s; }

/* --- Três pilares, usado para destrinchar um conceito em partes --- */
.a-pillars { width: 100%; max-width: 520px; display: grid; gap: var(--s-3); }
.a-pillar {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  opacity: 0;
}
.slide.is-playing .a-pillar { animation: fadeUp .5s var(--ease) both; animation-delay: var(--d, 0s); }
.a-pillar__ic {
  width: 40px; height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  border: 1px solid rgba(255, 46, 46, .3);
}
.a-pillar__ic svg { width: 18px; height: 18px; color: var(--accent-red); }
.a-pillar__t { font-family: var(--font-heading); font-size: 14px; font-weight: 600; margin: 0 0 2px; }
.a-pillar__d { font-size: 12.5px; color: var(--text-light-muted); margin: 0; line-height: 1.45; }

/* --- Conversa com uma inteligência artificial --- */
.a-chat { width: 100%; max-width: 520px; }
.a-chat .ui__body { display: grid; gap: var(--s-4); }
.a-chat__q {
  justify-self: end;
  max-width: 88%;
  margin: 0;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md) var(--r-md) var(--s-1) var(--r-md);
  background: var(--bg-alt);
  color: var(--text-main);
  font-size: 14px;
  opacity: 0;
}
.slide.is-playing .a-chat__q { animation: fadeUp .45s var(--ease) both; animation-delay: .4s; }
.a-chat__a { display: grid; grid-template-columns: 30px 1fr; gap: var(--s-3); align-items: start; }
.a-chat__av {
  width: 30px; height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 46, 46, .3);
  color: var(--accent-red);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  opacity: 0;
}
.slide.is-playing .a-chat__av { animation: fadeIn .4s both; animation-delay: 1.2s; }
/* As duas peças ocupam a mesma célula, então a resposta não empurra o layout. */
.a-chat__slot { display: grid; }
.a-chat__typing, .a-chat__resp { grid-area: 1 / 1; }
.a-chat__typing { display: flex; align-items: center; gap: 5px; height: 30px; opacity: 0; }
.a-chat__typing i {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  display: block;
}
.slide.is-playing .a-chat__typing { animation: showThenHide 1.9s linear both; animation-delay: 1.3s; }
.slide.is-playing .a-chat__typing i { animation: bounceDot 1s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes showThenHide {
  0% { opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { opacity: 0; }
}
@keyframes bounceDot {
  0%, 100% { transform: translateY(0); opacity: .5; }
  50%      { transform: translateY(-4px); opacity: 1; }
}
.a-chat__resp {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-main);
  opacity: 0;
}
.slide.is-playing .a-chat__resp { animation: fadeUp .5s var(--ease) both; animation-delay: 3.2s; }
.a-chat__resp mark {
  background: var(--accent-soft);
  color: var(--accent-red-hover);
  font-weight: 600;
  padding: 1px 5px;
  border-radius: 5px;
  box-decoration-break: clone;
}
.a-chat__note {
  margin: var(--s-3) 0 0;
  font-size: 11px;
  color: var(--text-muted);
}

/* --- Comparativo em duas colunas --- */
.a-table { width: 100%; max-width: 560px; display: grid; gap: var(--s-2); }
.a-table__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); opacity: 0; }
.slide.is-playing .a-table__row { animation: fadeUp .45s var(--ease) both; animation-delay: var(--d, 0s); }
.a-table__cell {
  padding: var(--s-3);
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border-dark);
  font-size: 12.5px;
  color: var(--text-light-muted);
}
.a-table__cell--zimo {
  background: var(--accent-soft);
  border-color: rgba(255, 46, 46, .4);
  color: #fff;
  font-weight: 500;
}
.a-table__row--head .a-table__cell {
  background: none;
  border: 0;
  padding: 0 var(--s-3) var(--s-1);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.a-table__row--head .a-table__cell--zimo { color: var(--accent-red); }

/* --- Site no ar --- */
.a-launch { width: 100%; max-width: 480px; display: grid; gap: var(--s-4); justify-items: center; }
.a-launch .ui { width: 100%; }
.a-launch__live {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 12px;
  font-weight: 600;
  color: #b6f0d0;
  opacity: 0;
}
.a-launch__live i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  display: block;
}
.slide.is-playing .a-launch__live { animation: fadeIn .5s both; animation-delay: 1.1s; }
.slide.is-playing .a-launch__live i { animation: pulseDot 1.8s ease-in-out infinite; animation-delay: 1.4s; }
.a-launch__mails { display: flex; flex-wrap: wrap; gap: var(--s-2); justify-content: center; }
.a-launch__mails .chip { opacity: 0; }
.slide.is-playing .a-launch__mails .chip { animation: popIn .45s var(--ease) both; animation-delay: var(--d, 0s); }

/* --- Passos numerados em coluna --- */
.a-steps { width: 100%; max-width: 500px; display: grid; gap: var(--s-2); position: relative; }
.a-step {
  display: grid;
  grid-template-columns: 30px 1fr;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  opacity: 0;
}
.slide.is-playing .a-step { animation: fadeUp .45s var(--ease) both; animation-delay: var(--d, 0s); }
.a-step__n {
  width: 30px; height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .07);
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-light-muted);
}
.a-step__t { font-size: 13.5px; }
.a-step__d { display: block; font-size: 12px; color: var(--text-light-muted); margin-top: 2px; }
.a-step.is-now { border-color: rgba(255, 46, 46, .5); background: var(--accent-soft); }
.a-step.is-now .a-step__n { background: var(--accent-red); color: #fff; }

/* --- Calendário de publicações --- */
.a-calendar { width: 100%; max-width: 460px; display: grid; gap: var(--s-4); }
.a-calendar__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--s-2); }
.a-calendar__day {
  aspect-ratio: 1;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--border-dark);
  display: grid;
  place-items: center;
  opacity: 0;
}
.a-calendar__day::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent-red);
  transform: scale(0);
}
.slide.is-playing .a-calendar__day { animation: fadeIn .2s both; animation-delay: var(--d, 0s); }
.slide.is-playing .a-calendar__day::after { animation: popIn .3s var(--ease) both; animation-delay: calc(var(--d, 0s) + .1s); }
.a-calendar__foot {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  justify-content: center;
}
.a-calendar__foot .chip { opacity: 0; }
.slide.is-playing .a-calendar__foot .chip { animation: popIn .45s var(--ease) both; animation-delay: var(--d, 0s); }

/* --- Gráfico de barras --- */
.a-chart { width: 100%; max-width: 480px; }
.a-chart__plot {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: var(--s-3);
  height: 200px;
  padding-bottom: var(--s-3);
  border-bottom: 1px solid var(--border-dark);
}
.a-chart__bar {
  height: 0;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  background: linear-gradient(180deg, var(--accent-red), rgba(255, 46, 46, .35));
}
.slide.is-playing .a-chart__bar { animation: growBar .8s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes growBar { to { height: var(--h, 50%); } }
.a-chart__labels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-3);
  margin-top: var(--s-2);
  font-size: 11px;
  color: var(--text-light-muted);
  text-align: center;
}

/* --- Quadro de contatos, quatro colunas --- */
.a-board { width: 100%; max-width: 560px; position: relative; }
.a-board__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.a-board__col { min-width: 0; }
.a-board__head {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  padding: 0 var(--s-1) var(--s-2);
  min-height: 30px;
  opacity: 0;
}
.slide.is-playing .a-board__head { animation: fadeIn .4s both; animation-delay: var(--d, 0s); }
.a-board__lane {
  min-height: 92px;
  padding: var(--s-2);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, .04);
  border: 1px dashed var(--border-dark);
  opacity: 0;
}
.slide.is-playing .a-board__lane { animation: fadeIn .4s both; animation-delay: var(--d, 0s); }
.a-card-lead {
  padding: var(--s-3);
  border-radius: var(--r-sm);
  background: var(--bg-main);
  color: var(--text-main);
  border: 1px solid var(--border);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
  opacity: 0;
}
.a-card-lead__n { font-family: var(--font-heading); font-size: 12px; font-weight: 700; }
.a-card-lead__s { display: block; font-size: 10.5px; color: var(--text-muted); margin-top: 2px; }
.slide.is-playing .a-card-lead { animation: popIn .45s var(--ease) both; animation-delay: var(--d, 0s); }

/* Trilha do cartão que atravessa o quadro.
   Fica sobreposta às raias e repete a mesma grade das colunas. Como o cartão
   ocupa uma célula inteira, cada passo da animação vale exatamente 100% da
   largura dele mais o vão, que é a distância de uma coluna para a outra.
   O topo de 38px é a altura do cabeçalho mais o respiro abaixo dele. */
.a-board__track {
  position: absolute;
  left: 0; right: 0;
  top: 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-2);
  pointer-events: none;
}
.a-board__track .a-card-lead { grid-column: 1; grid-row: 1; }
.a-board--demo .a-board__lane { padding: 0; }

.slide.is-playing .a-card-lead.is-moving {
  animation: popIn .45s var(--ease) both, moveLane 4.4s var(--ease) both;
  animation-delay: var(--d, 0s), calc(var(--d, 0s) + .6s);
}
@keyframes moveLane {
  0%, 16%   { transform: translateX(0); }
  28%, 44%  { transform: translateX(calc(100% + var(--s-2))); }
  56%, 72%  { transform: translateX(calc(200% + var(--s-2) * 2)); }
  84%, 100% { transform: translateX(calc(300% + var(--s-2) * 3)); }
}

/* Aviso que só aparece no celular, onde o quadro vira duas colunas. */
.a-board__note {
  display: none;
  margin: var(--s-3) 0 0;
  font-size: 11px;
  color: var(--text-light-muted);
  text-align: center;
}

/* --- Termos e ações da otimização --- */
.a-terms { width: 100%; max-width: 520px; display: grid; gap: var(--s-2); }
.a-term {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-sm);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  font-size: 13px;
  opacity: 0;
}
.slide.is-playing .a-term { animation: fadeUp .45s var(--ease) both; animation-delay: var(--d, 0s); }
.a-term__tag {
  font-size: 11px;
  font-weight: 700;
  padding: var(--s-1) var(--s-3);
  border-radius: 999px;
  white-space: nowrap;
}
.a-term__tag--out { background: rgba(255, 46, 46, .14); color: #ff9b9b; border: 1px solid rgba(255, 46, 46, .4); }
.a-term__tag--up { background: rgba(46, 204, 113, .14); color: #b6f0d0; border: 1px solid rgba(46, 204, 113, .45); }
.a-term__tag--test { background: rgba(245, 166, 35, .14); color: #f3c98b; border: 1px solid rgba(245, 166, 35, .45); }
.a-term__tag--wait { background: rgba(255, 255, 255, .07); color: var(--text-light-muted); border: 1px solid var(--border-dark); }
.a-term.is-out { opacity: .55; }
.a-term.is-out .a-term__label { text-decoration: line-through; }

/* --- Computador na nuvem --- */
.a-machine { width: 100%; max-width: 460px; display: grid; gap: var(--s-4); justify-items: center; }
.a-machine__box {
  width: 100%;
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: #0d0d0d;
  border: 1px solid var(--border-dark);
  font-family: var(--font-heading);
  font-size: 12.5px;
}
.a-machine__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-3);
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-light-muted);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.a-machine__on { display: inline-flex; align-items: center; gap: var(--s-2); color: #b6f0d0; }
.a-machine__on i { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); display: block; }
.slide.is-playing .a-machine__on i { animation: pulseDot 1.6s ease-in-out infinite; }
.a-machine__task {
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: var(--s-3);
  padding: var(--s-2) 0;
  color: #d7d9de;
  opacity: 0;
}
.slide.is-playing .a-machine__task { animation: fadeIn .35s both; animation-delay: var(--d, 0s); }
.a-machine__ok { color: var(--ok); opacity: 0; }
.a-machine__ok svg { width: 16px; height: 16px; }
.slide.is-playing .a-machine__ok { animation: popIn .35s var(--ease) both; animation-delay: calc(var(--d, 0s) + .5s); }
.a-machine__clock { font-size: 11px; color: var(--text-light-muted); }

/* --- Agentes com status --- */
.a-agents {
  width: 100%;
  max-width: 560px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--s-3);
}
.a-agent {
  padding: var(--s-3);
  border-radius: var(--r-sm);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  opacity: 0;
}
.slide.is-playing .a-agent { animation: fadeUp .45s var(--ease) both; animation-delay: var(--d, 0s); }
.a-agent__t { font-family: var(--font-heading); font-size: 12.5px; font-weight: 600; margin-bottom: var(--s-2); }
.a-agent__st {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-size: 10.5px;
  font-weight: 600;
  padding: 2px var(--s-2);
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  color: var(--text-light-muted);
}
.a-agent__st i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: block; }
.a-agent__st--run { color: #f3c98b; border-color: rgba(245, 166, 35, .45); }
.slide.is-playing .a-agent__st--run i { animation: pulseDot 1.4s ease-in-out infinite; }
.a-agent__st--done { color: #b6f0d0; border-color: rgba(46, 204, 113, .45); }
.a-agent__st--wait { color: #ff9b9b; border-color: rgba(255, 46, 46, .4); }

/* --- Painel de resultados --- */
.a-dash {
  width: 100%;
  max-width: 560px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: var(--s-3);
}
/* Todos os cartões têm a mesma altura. O rótulo fica no topo e o número
   encosta na base, então a leitura de baixo fica alinhada em toda a grade. */
.a-kpi {
  padding: var(--s-4);
  border-radius: var(--r-md);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  min-height: 104px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s-3);
  opacity: 0;
}
.slide.is-playing .a-kpi { animation: fadeUp .45s var(--ease) both; animation-delay: var(--d, 0s); }
.a-kpi__l { font-size: 11px; color: var(--text-light-muted); display: block; line-height: 1.35; }
.a-kpi__v {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.a-kpi--main { border-color: rgba(255, 46, 46, .45); background: var(--accent-soft); }
.a-kpi--main .a-kpi__v { color: var(--accent-red); }

/* --- Formulário sendo preenchido --- */
.a-form { width: 100%; max-width: 420px; }
.a-form__t { font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: var(--text-main); margin: 0 0 var(--s-3); }
.a-form__field {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: var(--s-3);
  margin-bottom: var(--s-2);
  font-size: 13px;
  color: var(--text-main);
  overflow: hidden;
  white-space: nowrap;
}
.a-form__field span { display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; }
.slide.is-playing .a-form__field span {
  animation: typing .7s steps(18) both;
  animation-delay: var(--d, 0s);
}
.a-form__btn {
  margin-top: var(--s-3);
  padding: var(--s-3);
  border-radius: var(--r-sm);
  background: var(--accent-red);
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  opacity: .5;
}
.slide.is-playing .a-form__btn { animation: pressBtn .5s var(--ease) both; animation-delay: 2.6s; }
@keyframes pressBtn {
  0%   { opacity: .5; transform: none; }
  60%  { opacity: 1; transform: scale(.97); }
  100% { opacity: 1; transform: none; }
}
.a-form__arrow {
  display: grid;
  place-items: center;
  color: var(--accent-red);
  opacity: 0;
}
.a-form__arrow svg { width: 22px; height: 22px; }
.slide.is-playing .a-form__arrow { animation: fadeIn .4s both; animation-delay: 3.1s; }

/* --- Grupos do que está incluso --- */
.a-groups {
  width: 100%;
  max-width: 560px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  gap: var(--s-4);
}
/* Nomeia a qual plano a lista pertence, para a tela não prometer
   o que os outros planos não incluem. */
.a-groups__tag {
  grid-column: 1 / -1;
  justify-self: start;
  margin: 0;
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(255, 46, 46, .4);
  color: var(--accent-red);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
}
.slide.is-playing .a-groups__tag { animation: popIn .45s var(--ease) both; }

.a-group {
  padding: var(--s-5);
  border-radius: var(--r-md);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  opacity: 0;
}
.slide.is-playing .a-group { animation: fadeUp .5s var(--ease) both; animation-delay: var(--d, 0s); }
.a-group__t {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin: 0 0 var(--s-3);
}
.a-group ul { margin: 0; padding: 0; list-style: none; display: grid; gap: var(--s-2); }
.a-group li {
  position: relative;
  padding-left: var(--s-5);
  font-size: 12.5px;
  color: #d7d9de;
}
.a-group li svg {
  position: absolute;
  left: 0; top: 3px;
  width: 13px; height: 13px;
  color: var(--ok);
}

/* --- Planos. Três cartões lado a lado, o do meio em destaque --- */
.a-plans {
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: var(--s-4);
}
.a-plan {
  display: flex;
  flex-direction: column;
  padding: var(--s-5);
  border-radius: var(--r-lg);
  background: var(--bg-dark-card);
  border: 1px solid var(--border-dark);
  text-align: left;
  opacity: 0;
}
.slide.is-playing .a-plan { animation: fadeUp .55s var(--ease) both; animation-delay: var(--d, 0s); }
.a-plan--main {
  border-color: rgba(255, 46, 46, .5);
  background: linear-gradient(180deg, rgba(255, 46, 46, .08), transparent 60%);
}
.a-plan__n { font-family: var(--font-heading); font-size: 16px; font-weight: 700; margin: 0 0 var(--s-2); }
.a-plan__for {
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-light-muted);
  margin: 0 0 var(--s-4);
  min-height: 34px;
}
.a-plan__tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-red);
  margin-bottom: var(--s-1);
}
.a-plan__p { font-family: var(--font-heading); font-size: 28px; font-weight: 700; line-height: 1; margin: 0; }
.a-plan__p small { font-size: 13px; font-weight: 500; color: var(--text-light-muted); }
.a-plan__p--sob { font-size: 19px; }
.a-plan__note { font-size: 11px; line-height: 1.4; color: var(--text-muted); margin: var(--s-2) 0 0; }
.a-plan__rule { height: 1px; background: var(--border-dark); margin: var(--s-4) 0; }
.a-plan ul { margin: 0 0 var(--s-4); padding: 0; list-style: none; display: grid; gap: var(--s-2); }
.a-plan li { font-size: 12.5px; line-height: 1.4; color: #d7d9de; padding-left: var(--s-5); position: relative; }
.a-plan li svg { position: absolute; left: 0; top: 3px; width: 13px; height: 13px; color: var(--ok); }
.a-plan li.is-lead { padding-left: 0; font-weight: 600; color: #fff; }
.a-plan__cta { margin-top: auto; }
.a-plan__cta .btn { width: 100%; }

.a-plans__foot {
  grid-column: 1 / -1;
  margin: 0;
  padding: var(--s-3) var(--s-4);
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border-dark);
  text-align: center;
  font-size: 13px;
  color: var(--text-light-muted);
  opacity: 0;
}
.a-plans__foot strong { color: #fff; font-family: var(--font-heading); }
.slide.is-playing .a-plans__foot { animation: fadeUp .5s var(--ease) both; animation-delay: .9s; }

/* Telas que precisam da largura inteira, como a dos planos. */
.slide--wide .slide__inner { max-width: 1060px; }
.slide--wide .stage-art { min-height: 0; }

@media (max-width: 1024px) {
  .a-plans { gap: var(--s-3); }
  .a-plan { padding: var(--s-4); }
  .a-plan__n { font-size: 14px; }
  .a-plan__p { font-size: 24px; }
  .a-plan li { font-size: 12px; }
}
@media (max-width: 860px) {
  .a-plans { grid-template-columns: 1fr; max-width: 460px; }
  .a-plan__for { min-height: 0; }
}

/* Encerramento. Só texto e um botão, então o bloco fica centralizado. */
.slide--closing .slide__inner { max-width: 720px; }
.slide--closing .stage-art { display: none; }

/* --- Resumo final --- */
.a-final { width: 100%; max-width: 560px; display: grid; gap: var(--s-5); justify-items: center; }
.a-final__line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: var(--s-2);
}
.a-final__word {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  padding: var(--s-2) var(--s-4);
  border-radius: 999px;
  border: 1px solid var(--border-dark);
  background: var(--bg-dark-card);
  opacity: 0;
}
.slide.is-playing .a-final__word { animation: popIn .4s var(--ease) both; animation-delay: var(--d, 0s); }
.a-final__claim {
  font-family: var(--font-heading);
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 700;
  text-align: center;
  opacity: 0;
}
.slide.is-playing .a-final__claim { animation: fadeUp .6s var(--ease) both; animation-delay: 1.6s; }

/* -------------------------------------------------------------------------
   AJUSTES DAS ANIMAÇÕES NO CELULAR
   ------------------------------------------------------------------------- */
@media (max-width: 620px) {
  /* Etapa 4. Os dois lados passam a ficar um sobre o outro. */
  .a-split { grid-template-columns: 1fr; gap: var(--s-3); }
  .a-split__col { padding: var(--s-4); }
  .a-split__join { justify-self: center; width: 44px; height: 44px; }
  .a-split__list { grid-template-columns: 1fr 1fr; display: grid; }

  /* Etapa 5. Reunião mais compacta. */
  .a-meet__row { gap: var(--s-7); }
  .a-person__av { width: 56px; height: 56px; }

  /* Etapa 10. Busca e página empilhadas, com a seta apontando para baixo. */
  .a-intent__row { grid-template-columns: 1fr; gap: var(--s-2); justify-items: stretch; }
  .a-intent__arrow { transform: rotate(90deg); justify-self: center; }

  /* Etapa 8. Menos altura no painel simulado. */
  .a-wire .ui__body { min-height: 200px; gap: var(--s-2); }
  .sk--hero { height: 60px; }

  /* Etapa 11 e 12. Texto do resultado menor. */
  .a-result__t { font-size: 13px; }
  .a-typed { font-size: 13px; }

  /* Blocos didáticos. Mais espaço para o texto quebrar em duas linhas. */
  .a-index__item { font-size: 13px; padding: var(--s-3); }
  .serp-zone { padding: var(--s-5) var(--s-2) var(--s-2); }
  .serp-zone__label { font-size: 10px; right: var(--s-2); }
  .a-zoom { gap: var(--s-4); }
  .a-zoom__card { padding: var(--s-4) var(--s-4) var(--s-4) var(--s-5); }
  .a-zoom__legend li { font-size: 12px; }
  .a-rank { --rowh: 78px; grid-template-columns: 26px 1fr; }
  .a-rank__pos span, .a-rank__row { height: 70px; }
  .a-rank__row { padding: 0 var(--s-3); }

  /* Comparativo e quadro de contatos viram lista, para não espremer. */
  .a-table__cell { font-size: 12px; padding: var(--s-2) var(--s-3); }
  .a-board__cols { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
  .a-board__lane { min-height: 74px; }
  /* Com duas colunas o cartão não atravessa o quadro, porque o movimento
     ficaria ilegível. Ele apenas aparece na primeira raia. */
  .a-board__track { grid-template-columns: repeat(2, 1fr); gap: var(--s-3); }
  .slide.is-playing .a-card-lead.is-moving { animation: popIn .45s var(--ease) both; }
  .a-board__note { display: block; }
  .a-groups { grid-template-columns: 1fr; }
  .a-group { padding: var(--s-4); }
  .a-chart__plot { height: 150px; }
  .a-dash { grid-template-columns: repeat(2, 1fr); }
  .a-kpi { padding: var(--s-3); }
  .a-kpi__v { font-size: 20px; }
  .a-steps { gap: var(--s-2); }
  .a-step { padding: var(--s-3); gap: var(--s-3); }
  .a-calendar__grid { gap: 5px; }
}
