/*
 * Landing do apex (#102). Cores, raios e fontes vem de `folio-tokens.css`,
 * copia exata do painel (um teste confere): nenhuma cor escrita aqui.
 *
 * Movimento em camadas, todas desligadas por `prefers-reduced-motion`:
 * - cada cena entra com opacidade, deslocamento e desfoque ao ficar visivel;
 * - o hero tem o simbolo desenhando o proprio traco, halos respirando e fios
 *   que se desenham no fundo;
 * - a conversa, os cartoes, os numeros e o arquivo se animam na primeira vez
 *   que aparecem.
 * Sem JavaScript tudo aparece parado, e legivel: o estado escondido so existe
 * com a classe `js` no <html>.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  background: var(--canvas);
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 78% 18%, color-mix(in srgb, var(--primary) 9%, transparent), transparent 70%),
    radial-gradient(900px 600px at 10% 90%, color-mix(in srgb, var(--info) 7%, transparent), transparent 70%),
    var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grao: textura de papel sobre o escuro, bem leve. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

a {
  color: inherit;
}

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

.pular {
  position: absolute;
  left: -9999px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.pular:focus {
  left: var(--space-4);
  top: var(--space-4);
  z-index: 100;
  padding: var(--space-2) var(--space-4);
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--radius-sm);
}

/* ----------------------------------------------------------------- topo */

.topo {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 clamp(20px, 5vw, 56px);
  background: linear-gradient(var(--canvas), transparent);
}

.marca {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: -0.01em;
}
.marca__simbolo {
  width: 32px;
  height: 32px;
}

.topo__entrar {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  transition: color var(--duration), border-color var(--duration), background var(--duration);
}
.topo__entrar:hover {
  color: var(--ink);
  border-color: var(--control-border);
  background: var(--surface);
}

/* ------------------------------------------------------ navegacao por pontos */

.pontos {
  position: fixed;
  right: clamp(12px, 2.5vw, 36px);
  top: 50%;
  z-index: 40;
  transform: translateY(-50%);
}
.pontos ol {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.pontos a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
  text-decoration: none;
  color: var(--muted);
}
.pontos__traco {
  display: block;
  width: 14px;
  height: 1px;
  background: var(--control-border);
  transition: width 400ms ease, background 400ms ease;
}
.pontos__rotulo {
  order: -1;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 300ms ease, transform 300ms ease;
}
.pontos a:hover .pontos__rotulo,
.pontos a:focus-visible .pontos__rotulo,
.pontos a[aria-current="true"] .pontos__rotulo {
  opacity: 1;
  transform: none;
}
.pontos a[aria-current="true"] {
  color: var(--ink);
}
.pontos a[aria-current="true"] .pontos__traco {
  width: 40px;
  background: var(--primary);
}

/* ------------------------------------------------------------------ cenas */

.cena {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100dvh;
  padding: 104px clamp(20px, 6vw, 96px) 72px;
  scroll-snap-align: start;
  overflow: hidden;
}
.cena + .cena::before {
  content: "";
  position: absolute;
  inset: 0 clamp(20px, 6vw, 96px) auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.cena__conteudo {
  position: relative;
  z-index: 3;
  max-width: 640px;
}
.cena__conteudo--centro {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.cena--dividida {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  max-width: 1280px;
  margin: 0 auto;
}
.cena--invertida .cena__conteudo {
  order: 2;
}

.sobretitulo {
  margin: 0 0 var(--space-4);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.titulo {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.3rem, 5.4vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.titulo em {
  font-style: italic;
  color: var(--primary);
}
.titulo--hero {
  font-size: clamp(2.8rem, 5.4vw, 5.6rem);
  line-height: 0.98;
}
.cena--hero .cena__conteudo {
  max-width: min(900px, 64%);
}
.titulo--hero .linha {
  display: block;
}
@media (min-width: 901px) {
  .titulo--hero .linha {
    white-space: nowrap;
  }
}
.titulo--final {
  font-size: clamp(2.6rem, 7vw, 6rem);
}

.lide {
  margin: var(--space-6) 0 0;
  max-width: 34em;
  font-size: clamp(1.02rem, 1.4vw, 1.2rem);
  color: var(--muted);
}
.cena__conteudo--centro .lide {
  margin-inline: auto;
}

.lista-leve {
  margin: var(--space-6) 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: var(--space-3);
  color: var(--ink);
}
.lista-leve li {
  display: flex;
  gap: var(--space-3);
  align-items: baseline;
}
.lista-leve li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 1px;
  translate: 0 -0.3em;
  background: var(--primary);
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-8);
}
.acoes--centro {
  justify-content: center;
}

.botao {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-6);
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease, border-color 200ms;
}
.botao span {
  transition: transform 200ms ease;
}
.botao:hover span {
  transform: translateX(4px);
}
.botao--primario {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--primary) 50%, transparent);
}
.botao--primario:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -12px color-mix(in srgb, var(--primary) 70%, transparent);
}
.botao--fantasma {
  border: 1px solid var(--line);
  color: var(--ink);
}
.botao--fantasma:hover {
  border-color: var(--control-border);
  background: var(--surface);
}
.botao--grande {
  min-height: 60px;
  padding: 0 var(--space-10);
  font-size: 1.05rem;
}

.nota {
  margin: var(--space-6) 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ------------------------------------------------------------------- hero */

.ceu {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.fios {
  width: 100%;
  height: 100%;
}
.fio {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.2;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: desenhar 5s ease-out 0.4s forwards;
}
.fio--2 {
  stroke: color-mix(in srgb, var(--primary) 35%, transparent);
  animation-delay: 0.9s;
  animation-duration: 6s;
}
.fio--3 {
  animation-delay: 1.4s;
}
.no {
  fill: var(--primary);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  animation: acender 3.6s ease-in-out 2s infinite;
}
.no--2 {
  animation-delay: 2.8s;
}
.no--3 {
  animation-delay: 3.4s;
}
.no--4 {
  animation-delay: 4.1s;
}

.orbe {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 74%;
  width: min(260px, 26vw);
  aspect-ratio: 1;
  translate: -50% -50%;
  animation: flutuar 7s ease-in-out infinite;
}
.orbe__simbolo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 46px color-mix(in srgb, var(--primary) 45%, transparent));
}
.orbe__halo {
  position: absolute;
  z-index: 1;
  inset: 50% auto auto 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  translate: -50% -50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 40%, transparent), transparent 68%);
  animation: respirar 6s ease-in-out infinite;
}
.orbe__halo--1 {
  width: 180%;
  filter: blur(8px);
}
.orbe__halo--2 {
  width: 260%;
  filter: blur(20px);
  opacity: 0.6;
  animation-delay: -2s;
  background: radial-gradient(circle, color-mix(in srgb, var(--info) 35%, transparent), transparent 70%);
}
.orbe__halo--3 {
  width: 360%;
  filter: blur(40px);
  opacity: 0.35;
  animation-delay: -4s;
}
.traco-desenha {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: desenhar 1.8s ease-out 0.5s forwards;
}
.traco-desenha--2 {
  animation-delay: 1.1s;
}
.traco-desenha--3 {
  animation-delay: 1.6s;
}

.rolar {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 28px;
  width: 26px;
  height: 42px;
  translate: -50% 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
}
.rolar span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 3px;
  height: 8px;
  translate: -50% 0;
  border-radius: 2px;
  background: var(--primary);
  animation: descer 1.8s ease-in-out infinite;
}

/* --------------------------------------------------------------- celular */

.celular {
  justify-self: center;
  width: min(340px, 100%);
  padding: 12px;
  border-radius: 44px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-overlay), 0 0 120px -40px color-mix(in srgb, var(--primary) 60%, transparent);
  rotate: 2deg;
}
.celular__tela {
  overflow: hidden;
  border-radius: 34px;
  background: var(--canvas);
  min-height: 470px;
}
.celular__topo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.celular__topo span:last-child {
  display: grid;
  line-height: 1.2;
}
.celular__topo small {
  color: var(--success);
  font-size: 0.72rem;
}
.celular__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: inset 0 0 0 6px var(--surface);
}

.conversa {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-4);
}
.bolha {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.4;
}
.bolha--eu {
  align-self: flex-end;
  background: var(--highlight);
  color: var(--on-highlight);
  border-bottom-right-radius: 6px;
}
.bolha--ele {
  align-self: flex-start;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-bottom-left-radius: 6px;
}
.bolha--audio {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 210px;
}
.audio__play {
  width: 0;
  height: 0;
  border-left: 10px solid currentColor;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.onda {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  flex: 1;
}
.onda i {
  display: block;
  width: 3px;
  height: 30%;
  border-radius: 2px;
  background: currentColor;
  opacity: 0.8;
  animation: onda 1.1s ease-in-out infinite;
}
.onda i:nth-child(3n) {
  animation-delay: -0.3s;
}
.onda i:nth-child(3n + 1) {
  animation-delay: -0.6s;
}
.onda i:nth-child(4n) {
  animation-delay: -0.9s;
}
.audio__tempo {
  font-size: 0.72rem;
  opacity: 0.8;
}
.bolha--digitando {
  display: flex;
  gap: 4px;
  padding: 14px 16px;
}
.bolha--digitando i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--muted);
  animation: pulo 1s ease-in-out infinite;
}
.bolha--digitando i:nth-child(2) {
  animation-delay: 0.15s;
}
.bolha--digitando i:nth-child(3) {
  animation-delay: 0.3s;
}
.etiqueta {
  display: table;
  margin-bottom: 4px;
  padding: 1px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: var(--info-bg);
  color: var(--info);
}
.etiqueta--feita {
  background: var(--success-bg);
  color: var(--success);
}

/* ---------------------------------------------------------------- cartoes */

.cartoes {
  position: relative;
  height: min(520px, 70vh);
  --mx: 0;
  --my: 0;
}
.cartao {
  position: absolute;
  width: min(260px, 70%);
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-overlay);
  backdrop-filter: blur(10px);
  transition: translate 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.cartao--1 {
  top: 2%;
  left: 4%;
  translate: calc(var(--mx) * 18px) calc(var(--my) * 14px);
}
.cartao--2 {
  top: 24%;
  right: 0;
  translate: calc(var(--mx) * -26px) calc(var(--my) * 20px);
}
.cartao--3 {
  bottom: 22%;
  left: 0;
  translate: calc(var(--mx) * 22px) calc(var(--my) * -16px);
}
.cartao--4 {
  bottom: 0;
  right: 8%;
  translate: calc(var(--mx) * -14px) calc(var(--my) * -22px);
}
.cartao__rotulo {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}
.cartao__titulo {
  margin: var(--space-2) 0 0;
  font-family: var(--font-display);
  font-size: 1.3rem;
  line-height: 1.2;
}
.cartao__meta {
  margin: var(--space-1) 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.cartao__meta--feita {
  color: var(--success);
}
.barra {
  margin-top: var(--space-3);
  height: 4px;
  border-radius: var(--radius-pill);
  background: var(--subtle);
  overflow: hidden;
}
.barra span {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--warning));
  transform-origin: left;
}
.grafico {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: var(--space-3);
}
.grafico__linha {
  fill: none;
  stroke: var(--primary);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 260;
  stroke-dashoffset: 0;
}

/* ---------------------------------------------------------------- numeros */

.numeros {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-6);
  margin: var(--space-12) 0 0;
  text-align: left;
}
.numero {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-6) 0 0;
  border-top: 1px solid var(--line);
}
.numero dt {
  font-size: 0.9rem;
  color: var(--muted);
}
.numero dd {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  line-height: 1;
  color: var(--ink);
}
.numero small {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--muted);
}
.roleta {
  display: inline-flex;
  overflow: hidden;
  height: 1em;
  line-height: 1;
}
.roleta__digito {
  display: inline-block;
  height: 1em;
  overflow: hidden;
}
.roleta__faixa {
  display: flex;
  flex-direction: column;
  transition: transform 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.roleta__faixa span {
  height: 1em;
}

/* ---------------------------------------------------------------- arquivo */

.arquivo {
  justify-self: center;
  width: min(440px, 100%);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-overlay), 0 0 120px -50px color-mix(in srgb, var(--info) 60%, transparent);
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}
.arquivo__cabeca {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--line);
  background: var(--surface-raised);
  color: var(--muted);
}
.arquivo__zip {
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--on-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.arvore {
  margin: 0;
  padding: var(--space-4) var(--space-5) var(--space-6);
  list-style: none;
  display: grid;
  gap: 6px;
}
.arvore li {
  position: relative;
  padding-left: 22px;
}
.arvore li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 11px;
  height: 13px;
  border-radius: 2px;
  border: 1px solid var(--control-border);
}
.arvore .pasta {
  color: var(--primary);
}
.arvore .pasta::before {
  border-color: var(--primary);
  background: color-mix(in srgb, var(--primary) 20%, transparent);
  height: 10px;
  top: 0.55em;
}
.arvore .dentro {
  margin-left: 22px;
  color: var(--muted);
}

/* ------------------------------------------------------------------ final */

.cena--final {
  flex-direction: column;
  justify-content: center;
}
.cena--final::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: -40%;
  width: 120vmax;
  aspect-ratio: 1;
  translate: -50% 0;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--primary) 16%, transparent), transparent 60%);
}
.rodape {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-2);
  padding: var(--space-6) clamp(20px, 6vw, 96px);
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

/* -------------------------------------------------------- lista de espera */

.nota__link {
  color: var(--primary);
  font-weight: 600;
  text-underline-offset: 3px;
}

.espera {
  display: flex;
  gap: var(--space-2);
  width: min(520px, 100%);
  margin: var(--space-8) auto 0;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(8px);
  transition: border-color 200ms ease, box-shadow 200ms ease;
}
.espera:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--primary) 14%, transparent);
}
.espera__campo {
  flex: 1;
  min-width: 0;
  padding: 0 var(--space-5);
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.espera__campo::placeholder {
  color: var(--muted);
}
.espera__campo:focus {
  outline: none;
}
.espera__botao {
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 600;
}
.espera__botao:disabled {
  opacity: 0.6;
  cursor: progress;
}
.espera__armadilha {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.espera__estado {
  min-height: 1.6em;
  margin: var(--space-4) 0 0;
  font-size: 0.95rem;
}
.espera__estado[data-tom="ok"] {
  color: var(--success);
}
.espera__estado[data-tom="erro"] {
  color: var(--danger);
}
/* Sem JS, o servico volta para `/#lista-ok` ou `/#lista-erro`. */
.espera__retorno {
  display: none;
  margin: var(--space-2) 0 0;
  font-size: 0.95rem;
}
.espera__retorno:target {
  display: block;
}
.espera__retorno--ok {
  color: var(--success);
}
.espera__retorno--erro {
  color: var(--danger);
}
.espera__privacidade {
  margin: var(--space-2) 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.espera--feita {
  border-color: var(--success);
}
.ja-tenho {
  margin: var(--space-10) 0 0;
  font-size: 0.95rem;
  color: var(--muted);
}
.ja-tenho a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

@media (max-width: 480px) {
  .espera {
    flex-direction: column;
    border-radius: var(--radius-lg);
  }
  .espera__campo {
    min-height: 48px;
  }
}

/* ------------------------------------------------------ estado com JS ligado */

/* So com JS: sem ele, tudo aparece parado e legivel. */
.js .cena__conteudo,
.js .celular,
.js .cartao,
.js .arquivo {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
  transition:
    opacity 900ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 900ms cubic-bezier(0.2, 0.7, 0.2, 1),
    translate 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js .visivel .cena__conteudo,
.js .visivel .celular,
.js .visivel .cartao,
.js .visivel .arquivo {
  opacity: 1;
  transform: none;
  filter: none;
}
.js .visivel .celular {
  transition-delay: 150ms;
}
.js .visivel .cartao--1 {
  transition-delay: 120ms;
}
.js .visivel .cartao--2 {
  transition-delay: 240ms;
}
.js .visivel .cartao--3 {
  transition-delay: 360ms;
}
.js .visivel .cartao--4 {
  transition-delay: 480ms;
}
.js .visivel .arquivo {
  transition-delay: 150ms;
}

.js .cena--hero .titulo .linha {
  opacity: 0;
  transform: translateY(0.4em);
  filter: blur(8px);
  transition: opacity 1s ease, transform 1s cubic-bezier(0.2, 0.7, 0.2, 1), filter 1s ease;
}
.js .cena--hero.visivel .titulo .linha {
  opacity: 1;
  transform: none;
  filter: none;
}
.js .cena--hero.visivel .titulo .linha + .linha {
  transition-delay: 250ms;
}

/* A conversa: cada bolha entra no seu passo. */
.js [data-conversa] .bolha {
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  transition: opacity 400ms ease, transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
.js [data-conversa] .bolha.mostra {
  opacity: 1;
  transform: none;
}
.js [data-conversa] .bolha--digitando:not(.mostra) {
  display: none;
}

/* O arquivo: cada linha entra em sequencia. */
.js [data-arvore] li {
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 350ms ease, transform 350ms ease;
}
.js [data-arvore] li.mostra {
  opacity: 1;
  transform: none;
}

.js .barra span {
  transform: scaleX(0);
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1) 600ms;
}
.js .visivel .barra span {
  transform: scaleX(1);
}
.js .grafico__linha {
  stroke-dashoffset: 260;
  transition: stroke-dashoffset 2s ease 700ms;
}
.js .visivel .grafico__linha {
  stroke-dashoffset: 0;
}

/* ------------------------------------------------------------- keyframes */

@keyframes desenhar {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes acender {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.6);
  }
  40% {
    opacity: 1;
    transform: scale(1.6);
  }
}
@keyframes flutuar {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-16px) rotate(2deg);
  }
}
@keyframes respirar {
  0%,
  100% {
    scale: 0.92;
    opacity: 0.55;
  }
  50% {
    scale: 1.08;
    opacity: 0.9;
  }
}
@keyframes descer {
  0% {
    opacity: 0;
    transform: translateY(-4px);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(14px);
  }
}
@keyframes onda {
  0%,
  100% {
    height: 25%;
  }
  50% {
    height: 100%;
  }
}
@keyframes pulo {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* ---------------------------------------------------------------- celular */

@media (max-width: 900px) {
  .cena--dividida {
    grid-template-columns: 1fr;
  }
  .cena--invertida .cena__conteudo {
    order: 0;
  }
  .cena--hero .cena__conteudo {
    max-width: none;
  }
  .orbe {
    left: 50%;
    top: 20%;
    width: min(150px, 38vw);
    opacity: 0.55;
  }
  .cena--hero .cena__conteudo {
    padding-top: 26vh;
  }
  .numeros {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .pontos {
    display: none;
  }
  .cartoes {
    height: 460px;
  }
  .celular {
    rotate: 0deg;
  }
}

@media (max-width: 480px) {
  .numeros {
    grid-template-columns: 1fr;
  }
  .rodape {
    position: static;
    margin-top: var(--space-12);
  }
  .cena--final {
    padding-bottom: 0;
  }
}

/* --------------------------------------------------- movimento reduzido */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .fio,
  .traco-desenha {
    stroke-dashoffset: 0;
  }
  .no {
    opacity: 0.8;
  }
}
