/* ZussCut — movimento (24/11/2026): abertura, banner da primeira tela, entrada das telas, esqueletos,
   respostas de toque, brilho no amarelo e a abelha viva. Só transform/opacity (60 fps); tudo some com
   prefers-reduced-motion. */

/* ---------- abertura do app (1x por sessão; clique pula) */
#zc-abertura {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; cursor: pointer;
  background: radial-gradient(60% 60% at 50% 45%, rgba(250, 204, 21, .22), transparent 70%), var(--bg);
  animation: zc-ab-sai .45s var(--ease) 1.95s forwards;
}
#zc-abertura.fora { animation: zc-ab-sai .25s ease forwards; }
@keyframes zc-ab-sai { to { opacity: 0; visibility: hidden; } }
.zc-ab-centro { position: relative; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.zc-ab-abelha {
  width: 96px; height: 96px; border-radius: 26px; background: url("/static/icone.svg") center/cover;
  box-shadow: 0 24px 50px -18px rgba(202, 138, 4, .9);
  animation: zc-ab-voo 1.05s cubic-bezier(.2, .9, .25, 1.05) both, zc-ab-pousa .5s var(--ease) 1.05s both;
}
@keyframes zc-ab-voo {
  0% { transform: translate(-42vw, 28vh) rotate(-28deg) scale(.45); opacity: 0; }
  20% { opacity: 1; }
  45% { transform: translate(-16vw, -10vh) rotate(14deg) scale(.7); }
  70% { transform: translate(6vw, 4vh) rotate(-10deg) scale(.95); }
  100% { transform: none; }
}
@keyframes zc-ab-pousa { 40% { transform: scale(1.12, .9); } 100% { transform: none; } }
.zc-ab-nome { display: flex; font: 800 46px/1 "Plus Jakarta Sans", Inter, sans-serif; letter-spacing: -.04em; color: var(--texto); }
.zc-ab-nome span { display: inline-block; opacity: 0; transform: translateY(18px) scale(.6); animation: zc-ab-letra .5s cubic-bezier(.3, 1.4, .5, 1) both; }
.zc-ab-nome span.c { color: var(--acento-texto); }
@keyframes zc-ab-letra { to { opacity: 1; transform: none; } }
.zc-ab-rastro { position: absolute; left: 50%; top: 48px; width: 70vw; height: 40vh; transform: translate(-100%, 0); pointer-events: none; overflow: visible; }
.zc-ab-rastro path { fill: none; stroke: var(--acento); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 12; opacity: .55; stroke-dashoffset: 400; animation: zc-ab-rastro 1.2s ease-out both; }
@keyframes zc-ab-rastro { from { stroke-dashoffset: 400; opacity: 0; } 30% { opacity: .55; } to { stroke-dashoffset: 0; opacity: 0; } }
.zc-ab-sub { font-weight: 700; color: var(--suave); font-size: 14px; opacity: 0; animation: zc-entra .5s var(--ease) 1.25s forwards; }

/* ---------- entrada das telas e cartões */
@keyframes zc-tela { from { opacity: 0; transform: translateY(12px); } }
#app > .pagina, #app > .zc-entrada, #app > .editor { animation: zc-tela .5s var(--ease) both; }
.grade-videos.zc-seq > * , .ini-modelos.zc-seq > * { animation: zc-entra .5s var(--ease) both; }
.tabela tbody tr { animation: zc-entra .45s var(--ease) both; }
.tabela tbody tr:nth-child(2) { animation-delay: 50ms; } .tabela tbody tr:nth-child(3) { animation-delay: 100ms; }
.tabela tbody tr:nth-child(4) { animation-delay: 150ms; } .tabela tbody tr:nth-child(n+5) { animation-delay: 200ms; }

/* toque com resposta */
.card-video:active, .ini-ag:active, .ini-modelo:active, .modelo:active, .zc-kpi:active, .mini-botao:active, .botao-topo:active, .aba:active, .fmt:active, .modo-b:active { transform: scale(.97); }
.zc-kpi, .ini-modelo .capa { transition: transform .25s var(--ease), box-shadow .25s; }
.zc-kpi:hover { transform: translateY(-3px); box-shadow: var(--sombra-alta); }
.ini-modelo:hover .capa { transform: translateY(-4px) rotate(-1deg); }

/* brilho que passa no amarelo */
.botao:not(.sec):not([disabled]), .botao-topo.ativo, .ini-criar, .zc-kpi.total { position: relative; overflow: hidden; isolation: isolate; }
.botao:not(.sec):not([disabled])::after, .botao-topo.ativo::after, .zc-kpi.total::after {
  content: ""; position: absolute; inset: -20% auto -20% -60%; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); transform: skewX(-18deg) translateX(0); opacity: 0;
}
.botao:not(.sec):not([disabled]):hover::after, .botao-topo.ativo:hover::after { animation: zc-brilho .8s var(--ease); }
.zc-cta::after, .zc-kpi.total::after { animation: zc-brilho 1.1s var(--ease) 1.2s, zc-brilho 1.1s var(--ease) 6s infinite; }
@keyframes zc-brilho { 0% { opacity: 0; transform: skewX(-18deg) translateX(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: skewX(-18deg) translateX(460%); } }

/* a abelha do logo está viva: zumbe de vez em quando e no hover */
.zc-logo { animation: zc-zumbe 7s ease-in-out 3s infinite; transform-origin: 50% 60%; }
.marca:hover .zc-logo { animation: zc-zumbe-rapido .5s ease-in-out 2; }
@keyframes zc-zumbe { 0%, 88%, 100% { transform: none; } 90% { transform: rotate(-10deg) translateY(-1px); } 93% { transform: rotate(8deg) translateY(-2px); } 96% { transform: rotate(-5deg); } }
@keyframes zc-zumbe-rapido { 25% { transform: rotate(-12deg) translateY(-2px); } 75% { transform: rotate(10deg) translateY(-1px); } }
.chip .bolinha { animation: zc-pulso-amarelo 2.4s ease-in-out infinite; }
@keyframes zc-pulso-amarelo { 50% { box-shadow: 0 0 0 6px rgba(var(--acento-rgb), 0); } 0%, 100% { box-shadow: 0 0 0 0 rgba(var(--acento-rgb), .45); } }

/* ---------- esqueletos */
.zc-esq i { display: block; border-radius: 18px; background: linear-gradient(100deg, var(--painel3) 30%, var(--painel2) 50%, var(--painel3) 70%) 0 0 / 300% 100%; animation: zc-esq 1.3s linear infinite; }
@keyframes zc-esq { to { background-position: -150% 0; } }
.zc-esq-modelos, .zc-esq-videos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.zc-esq-modelos i { aspect-ratio: 9/14; } .zc-esq-videos i { aspect-ratio: 9/12; }
.zc-esq-kpis { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 12px; grid-column: 1 / -1; }
.zc-esq-kpis i { height: 108px; border-radius: 22px; }
.zc-esq-linhas { display: grid; gap: 8px; }
.zc-esq-linhas i { height: 56px; border-radius: 14px; }
.zc-esq i:nth-child(2) { animation-delay: .1s; } .zc-esq i:nth-child(3) { animation-delay: .2s; } .zc-esq i:nth-child(4) { animation-delay: .3s; }

/* ---------- banner da primeira tela */
.zc-banner {
  position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 10px; align-items: center;
  min-height: 360px; border-radius: 30px; padding: 34px 36px; color: #1c1400; isolation: isolate;
  background: radial-gradient(80% 90% at 10% 0%, #fef9c3 0%, transparent 55%), radial-gradient(70% 80% at 100% 100%, #f59e0b 0%, transparent 60%),
              linear-gradient(135deg, #fde047 0%, #facc15 45%, #eab308 100%);
  box-shadow: 0 30px 60px -34px rgba(202, 138, 4, .9);
  animation: zc-tela .6s var(--ease) both;
}
.zc-banner::before { content: ""; position: absolute; width: 420px; height: 420px; right: 10%; top: -45%; border-radius: 50%; background: rgba(255, 255, 255, .5); filter: blur(60px); z-index: -1; animation: zc-flutua 9s ease-in-out infinite alternate; }
.zc-ban-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; position: relative; z-index: 2; }
.zc-ban-txt > * { animation: zc-entra .6s var(--ease) both; }
.zc-ban-txt > :nth-child(2) { animation-delay: 80ms; } .zc-ban-txt > :nth-child(3) { animation-delay: 160ms; } .zc-ban-txt > :nth-child(4) { animation-delay: 240ms; } .zc-ban-txt > :nth-child(5) { animation-delay: 320ms; }
.zc-banner .zc-selo { background: rgba(255, 255, 255, .6); border-color: transparent; color: #3b2a00; box-shadow: none; backdrop-filter: blur(6px); }
.zc-banner .zc-selo i { background: #1c1400; box-shadow: 0 0 0 3px rgba(28, 20, 0, .15); }
.zc-banner h1 { margin: 0; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; max-width: 560px; }
.zc-ban-dest { position: relative; color: #7c2d12; white-space: nowrap; }
.zc-ban-dest::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .16em; border-radius: 9px; background: #1c1400; transform-origin: left; animation: zc-risca .8s var(--ease) .6s both; opacity: .85; }
@keyframes zc-risca { from { transform: scaleX(0); } }
.zc-banner p { margin: 0; max-width: 470px; font-size: 16px; font-weight: 600; line-height: 1.5; color: rgba(28, 20, 0, .74); }
.zc-ban-bts { display: flex; gap: 10px; flex-wrap: wrap; }
.zc-ban-bts .botao { width: auto; padding: 14px 22px; font-size: 15px; }
.zc-cta { background: #1c1400 !important; color: #facc15 !important; box-shadow: 0 16px 30px -14px rgba(28, 20, 0, .8) !important; }
.zc-cta .icone { width: 19px; height: 19px; }
.zc-banner .botao.sec { background: rgba(255, 255, 255, .7); color: #1c1400; border: 0; }
.zc-banner small { color: rgba(28, 20, 0, .62); font-weight: 700; font-size: 12.5px; }

/* a cena: celular com a prévia, linha do tempo sendo cortada, agentes trabalhando (ciclo de 6 s) */
.zc-ban-cena { position: relative; height: 300px; }
.zc-ban-tel {
  position: absolute; right: 52%; top: 0; width: 150px; height: 266px; border-radius: 22px; overflow: hidden; z-index: 1;
  background: #1c1400 50% 8% / 150% no-repeat; box-shadow: 0 24px 40px -20px rgba(28, 20, 0, .8), 0 0 0 4px rgba(28, 20, 0, .9);
  animation: zc-tel-entra .8s var(--ease) .2s both, zc-tel-zoom 6s ease-in-out 1s infinite;
}
@keyframes zc-tel-entra { from { opacity: 0; transform: translateY(20px) rotate(-6deg); } }
@keyframes zc-tel-zoom { 0%, 40%, 100% { background-size: 150%; } 55%, 85% { background-size: 172%; } }
.zc-ban-vivo { position: absolute; left: 8px; top: 8px; display: flex; gap: 5px; align-items: center; font: 800 9.5px/1 "Plus Jakarta Sans", sans-serif; color: #fff; background: rgba(0, 0, 0, .55); padding: 5px 8px; border-radius: 999px; }
.zc-ban-vivo i { width: 6px; height: 6px; border-radius: 50%; background: #ff4d6d; animation: pulso 1.2s infinite; }
.zc-ban-flash { position: absolute; inset: 0; background: #ff4d6d; opacity: 0; mix-blend-mode: screen; animation: zc-flash 6s 1s infinite; }
@keyframes zc-flash { 0%, 22%, 30%, 100% { opacity: 0; } 25% { opacity: .45; } }
.zc-ban-leg { position: absolute; left: 6px; right: 6px; bottom: 44%; text-align: center; font: 800 15px/1.05 "Plus Jakarta Sans", sans-serif; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, .8); }
.zc-ban-leg span { display: inline-block; opacity: 0; animation: zc-palavra 6s 1s infinite; }
.zc-ban-leg span:nth-child(2) { animation-delay: 1.35s; }
.zc-ban-leg span.d { display: block; font-size: 25px; color: #facc15; text-shadow: 0 0 16px rgba(250, 204, 21, .9), 0 2px 8px #000; animation-delay: 1.7s; }
@keyframes zc-palavra { 0%, 38% { opacity: 0; transform: translateY(8px) scale(.8); } 44%, 90% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.zc-ban-aviso { position: absolute; left: 50%; top: 24%; transform: translate(-50%, -50%); white-space: nowrap; font: 800 10.5px/1 "Plus Jakarta Sans", sans-serif; color: #0a0b0f; background: var(--c); padding: 6px 9px; border-radius: 8px; box-shadow: 0 0 18px var(--c); opacity: 0; animation: zc-aviso 6s 1s infinite; }
@keyframes zc-aviso { 0%, 22% { opacity: 0; transform: translate(-50%, -50%) scale(.6); } 26%, 36% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 42%, 100% { opacity: 0; transform: translate(-50%, -60%) scale(.9); } }

.zc-ban-lt {
  position: absolute; left: 30%; right: 0; bottom: 6px; padding: 10px 12px 12px; border-radius: 18px; z-index: 2;
  background: rgba(255, 255, 255, .72); backdrop-filter: blur(10px); box-shadow: 0 20px 40px -24px rgba(28, 20, 0, .7);
  display: grid; gap: 6px; animation: zc-entra .7s var(--ease) .45s both;
}
html[data-tema="escuro"] .zc-ban-lt { background: rgba(20, 19, 24, .82); }
.zc-ban-faixa { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 8px; height: 22px; }
.zc-ban-faixa em { font: 800 10.5px/1 "Plus Jakarta Sans", sans-serif; font-style: normal; color: #55505e; }
html[data-tema="escuro"] .zc-ban-faixa em { color: #bdb8c4; }
.zc-ban-segs { display: flex; gap: 3px; height: 100%; }
.zc-ban-segs i { flex: 1 1 0; border-radius: 6px; background: linear-gradient(180deg, #8b5cf6, #6d28d9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.zc-ban-segs i.pausa { flex: .6 1 0; background: repeating-linear-gradient(135deg, #ff4d6dcc 0 4px, #ff4d6d66 4px 8px); animation: zc-corta 6s 1s infinite; }
@keyframes zc-corta { 0%, 20% { flex-grow: .6; opacity: 1; margin: 0; } 28%, 92% { flex-grow: 0; opacity: 0; margin: 0 -1.5px; } 100% { flex-grow: .6; opacity: 1; } }
.zc-ban-legs { display: flex; gap: 4px; height: 70%; }
.zc-ban-legs i { flex: 1; border-radius: 6px; background: color-mix(in srgb, var(--c) 35%, #fff); border: 1.5px solid var(--c); transform-origin: left; animation: zc-leg-pill 6s 1s infinite; }
.zc-ban-legs i:nth-child(2) { animation-delay: 1.15s; } .zc-ban-legs i:nth-child(3) { animation-delay: 1.3s; } .zc-ban-legs i:nth-child(4) { animation-delay: 1.45s; }
.zc-ban-legs i:nth-child(5) { animation-delay: 1.6s; } .zc-ban-legs i:nth-child(6) { animation-delay: 1.75s; }
@keyframes zc-leg-pill { 0%, 34% { transform: scaleX(0); opacity: 0; } 42%, 94% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.zc-ban-som { height: 9px; border-radius: 6px; overflow: hidden; background: color-mix(in srgb, var(--c) 25%, transparent); }
.zc-ban-som i { display: block; height: 100%; background: linear-gradient(90deg, color-mix(in srgb, var(--c) 50%, transparent), var(--c)); transform-origin: left; animation: zc-som 6s 1s infinite; }
@keyframes zc-som { 0%, 50% { transform: scaleX(0); } 70%, 100% { transform: none; } }
.zc-ban-agulha { position: absolute; top: 6px; bottom: 6px; left: 72px; width: 2px; border-radius: 2px; background: #1c1400; animation: zc-agulha 6s linear 1s infinite; }
html[data-tema="escuro"] .zc-ban-agulha { background: #fff; }
@keyframes zc-agulha { from { transform: translateX(0); } to { transform: translateX(calc(100cqw - 90px)); } }
.zc-ban-lt { container-type: inline-size; }

.zc-ban-cur { position: absolute; left: 0; top: 0; z-index: 4; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .35)); will-change: transform; }
.zc-ban-cur svg { width: 18px; height: 18px; }
.zc-ban-cur b { position: absolute; left: 13px; top: 15px; font: 800 10px/1 "Plus Jakarta Sans", sans-serif; color: #0a0b0f; background: var(--c); padding: 3px 6px; border-radius: 6px 6px 6px 2px; white-space: nowrap; }
.zc-ban-cur.c1 { animation: zc-cur1 6s ease-in-out 1s infinite; }
.zc-ban-cur.c2 { animation: zc-cur2 6s ease-in-out 1s infinite; }
.zc-ban-cur.c3 { animation: zc-cur3 6s ease-in-out 1s infinite; }
@keyframes zc-cur1 { 0% { transform: translate(60%, 230px); } 18%, 26% { transform: translate(min(30vw, 300px), 238px) scale(.9); } 50% { transform: translate(min(34vw, 380px), 170px); } 100% { transform: translate(60%, 230px); } }
@keyframes zc-cur2 { 0%, 30% { transform: translate(min(26vw, 270px), 120px); } 45% { transform: translate(min(31vw, 330px), 262px); } 70% { transform: translate(min(38vw, 420px), 262px); } 100% { transform: translate(min(26vw, 270px), 120px); } }
@keyframes zc-cur3 { 0% { transform: translate(min(9vw, 90px), 60px); } 50% { transform: translate(min(13vw, 140px), 110px); } 60% { transform: translate(min(13vw, 140px), 110px) scale(.9); } 100% { transform: translate(min(9vw, 90px), 60px); } }
.zc-ban-chip { position: absolute; z-index: 3; font: 800 11.5px/1 "Plus Jakarta Sans", sans-serif; padding: 8px 11px; border-radius: 999px; color: #1c1400; background: rgba(255, 255, 255, .85); box-shadow: 0 12px 24px -14px rgba(28, 20, 0, .7); border-left: 4px solid var(--c); }
.zc-ban-chip.k1 { right: 4%; top: 6%; animation: zc-chip 6s ease-in-out 1s infinite; }
.zc-ban-chip.k2 { right: 16%; top: 30%; animation: zc-chip 6s ease-in-out 2.6s infinite; }
@keyframes zc-chip { 0%, 100% { opacity: 0; transform: translateY(10px) scale(.9); } 12%, 60% { opacity: 1; transform: none; } 75% { opacity: 0; transform: translateY(-8px); } }
.zc-pausa, .zc-pausa * { animation-play-state: paused !important; }

@media (max-width: 860px) {
  .zc-banner { grid-template-columns: 1fr; padding: 24px 20px 18px; min-height: 0; border-radius: 24px; }
  .zc-banner h1 { font-size: 30px; }
  .zc-banner p { font-size: 14.5px; }
  .zc-ban-cena { height: 250px; margin-top: 6px; }
  .zc-ban-tel { right: auto; left: 0; width: 120px; height: 214px; }
  .zc-ban-lt { left: 34%; }
  .zc-ban-chip.k2 { display: none; }
  .zc-ban-cur.c1, .zc-ban-cur.c2 { display: none; }
  .zc-ab-nome { font-size: 38px; }
  .zc-ab-abelha { width: 80px; height: 80px; border-radius: 22px; }
  .zc-esq-kpis { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- menos movimento */
@media (prefers-reduced-motion: reduce) {
  #zc-abertura { display: none; }
  .zc-banner *, .zc-banner, .zc-seq > *, #app > .pagina, #app > .zc-entrada, #app > .editor, .tabela tbody tr, .zc-logo, .chip .bolinha, .zc-esq i,
  .botao::after, .zc-cta::after, .zc-kpi.total::after, .zc-aurora::before, .zc-aurora::after, .zc-abelha-voa { animation: none !important; }
  .zc-ban-leg span, .zc-ban-legs i { opacity: 1; transform: none; }
}
