/* Site de Primeira — estilo único (landing + páginas legais).
   O movimento é CSS. O único JS (assets/demo.js) liga os vídeos dos sites de exemplo
   na hora certa da demonstração; sem ele, fica o print parado.
   "Pausar animações" é um checkbox nativo (#pausar) que fica antes do <header>,
   então o seletor "~" alcança a página inteira.
   As keyframes da demonstração do topo ficam no bloco GERADO (scratchpad/gera_keyframes.py). */

@font-face {
  font-family: "Jakarta";
  src: url("jakarta.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --marinho: #0e243b;
  --marinho-2: #13304e;
  --marinho-3: #0a1a2b;
  --laranja: #f5712f;
  --laranja-txt: #b84a14;   /* laranja para texto sobre claro (5,2:1) */
  --pessego: #ffe3d3;
  --texto: #142131;
  --texto-suave: #4a5868;
  --claro-suave: #aebccb;   /* texto suave sobre marinho (8,1:1) */
  --fundo: #ffffff;
  --papel: #f6f3ee;
  --borda: #e4e1da;
  --raio: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --topo: 68px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Jakarta", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--texto);
  background: var(--fundo);
  line-height: 1.6;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--laranja-txt); }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--laranja); outline-offset: 3px; border-radius: 6px; }
.pular { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--marinho); padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.pular:focus { top: 12px; }

/* ---------- topo ---------- */
.topo { position: sticky; top: 0; z-index: 20; background: rgba(14, 36, 59, .9); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid rgba(255, 255, 255, .07); }
.topo .wrap { display: flex; align-items: center; gap: 16px; height: var(--topo); }
.marca { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -.01em; margin-right: auto; }
.marca img { width: 44px; height: auto; }
.marca b { color: var(--laranja); font-weight: 800; }
.topo nav { display: flex; gap: 4px; }
.topo nav a { color: #dfe7f0; text-decoration: none; font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; }
.topo nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.pausa { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: #fff; font-weight: 600; font-size: 14px; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px; padding: 7px 14px 7px 8px; user-select: none; white-space: nowrap; }
.pausa svg { width: 24px; height: 24px; flex: none; }
.pausa:hover { border-color: rgba(255, 255, 255, .6); }
.pausa .on { display: none; }
#pausar:checked ~ .topo .pausa { background: #fff; color: var(--marinho); }
#pausar:checked ~ .topo .pausa .off { display: none; }
#pausar:checked ~ .topo .pausa .on { display: inline; }
#pausar:focus-visible ~ .topo .pausa { outline: 3px solid var(--laranja); outline-offset: 3px; }

/* botões */
.botao { display: inline-flex; align-items: center; gap: 10px; background: var(--laranja); color: var(--marinho); font-weight: 800; text-decoration: none; border-radius: 999px; padding: 15px 26px; font-size: 16.5px; box-shadow: 0 10px 30px -10px rgba(245, 113, 47, .7); transition: transform .25s var(--ease), box-shadow .25s var(--ease); position: relative; overflow: hidden; isolation: isolate; }
.botao svg { width: 20px; height: 20px; }
.botao:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(245, 113, 47, .85); }
.botao::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); animation: brilho 5.5s var(--ease) 2s infinite; }
@keyframes brilho { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.botao.pequeno { padding: 9px 16px; font-size: 14px; box-shadow: none; }
.botao.pequeno::after { display: none; }
.link-sec { color: #fff; font-weight: 700; text-decoration: none; padding: 14px 6px; border-bottom: 2px solid rgba(255, 255, 255, .25); }
.link-sec:hover { border-color: var(--laranja); }
.aurora { position: absolute; z-index: -2; border-radius: 50%; pointer-events: none; will-change: transform; }
.aurora.a1 { width: 760px; height: 760px; right: -180px; top: -260px; background: radial-gradient(closest-side, rgba(245, 113, 47, .42), rgba(245, 113, 47, 0)); animation: flutua1 16s ease-in-out infinite alternate; }
.aurora.a2 { width: 620px; height: 620px; left: -220px; bottom: -320px; background: radial-gradient(closest-side, rgba(66, 120, 190, .35), rgba(66, 120, 190, 0)); animation: flutua2 19s ease-in-out infinite alternate; }
@keyframes flutua1 { to { transform: translate3d(-140px, 120px, 0) scale(1.12); } }
@keyframes flutua2 { to { transform: translate3d(160px, -90px, 0) scale(.92); } }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--marinho); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%); }
/* rodada 4: sem centramento vertical (empurrava tudo para baixo); conteúdo começa perto do menu */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); grid-template-areas: "texto palco" "acoes palco"; grid-template-rows: auto 1fr; column-gap: 48px; align-content: start; padding-top: clamp(20px, 4vh, 40px); padding-bottom: 32px; }
.hero-texto { grid-area: texto; align-self: start; padding-top: clamp(8px, 3vh, 32px); }
.hero-acoes { grid-area: acoes; align-self: start; }
.palco { grid-area: palco; align-self: start; }
.olho { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--pessego); margin: 0 0 16px; }
.olho::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--laranja); box-shadow: 0 0 0 0 rgba(245, 113, 47, .6); animation: pulso 2.2s ease-out infinite; }
@keyframes pulso { 70% { box-shadow: 0 0 0 10px rgba(245, 113, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 113, 47, 0); } }
.hero h1 { font-size: clamp(38px, min(5vw, 8.4vh), 74px); line-height: 1.02; margin: 0 0 18px; font-weight: 800; letter-spacing: -.035em; }
.hero h1 span { display: block; }
.hero h1 em { font-style: normal; color: var(--laranja); position: relative; display: inline-block; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .08em; border-radius: 9px; background: var(--laranja); transform-origin: left; transform: scaleX(0); animation: risca .9s var(--ease) .5s forwards; }
@keyframes risca { to { transform: scaleX(1); } }
.hero p.sub { font-size: clamp(16.5px, min(1.45vw, 2.5vh), 19.5px); color: #d3deea; margin: 0 0 22px; max-width: 40ch; }
.hero p.sub b { color: #fff; }
.preco-linha { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.preco-linha li { border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .05); border-radius: 999px; padding: 6px 14px; font-size: 14.5px; font-weight: 600; color: #e9eff6; }
.preco-linha li:first-child { background: #fff; color: var(--marinho); border-color: #fff; font-weight: 800; }
.acoes { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.hero small { color: var(--claro-suave); display: block; margin-top: 12px; font-size: 14px; }

/* palco: conversa + celular (o tamanho segue a altura da tela, para caber inteiro na 1ª dobra) */
.palco { --w: clamp(220px, min(24vw, calc((100vh - var(--topo) - 150px) / 2.164)), 330px); position: relative; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; }
@supports (height: 100svh) { .palco { --w: clamp(220px, min(24vw, calc((100svh - var(--topo) - 150px) / 2.164)), 330px); } }
.palco figcaption { order: 4; flex-basis: 100%; text-align: center; color: var(--claro-suave); font-size: 12.5px; margin-top: 10px; }
.celular { position: relative; width: var(--w); aspect-ratio: 390 / 844; border-radius: calc(var(--w) * .15); padding: calc(var(--w) * .035); background: linear-gradient(145deg, #2a4565, #0a1726 55%, #1d3654); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12) inset, 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 120px -30px rgba(245, 113, 47, .45); }
.palco > .celular { order: 2; flex: none; transform: rotate(2deg); }
.tela { position: relative; width: 100%; height: 100%; border-radius: calc(var(--w) * .12); overflow: hidden; background: linear-gradient(170deg, #17324f, #0c1c2e); transform: translateZ(0); }
.tela .vazio { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; color: #8a9db1; font-size: 13px; font-weight: 600; }
.tela .vazio img { width: 56px; margin: 0 auto; opacity: .55; }
.camada { position: absolute; inset: 0; }
.camada img, .camada video, .tela > img, .tela > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.camada video, .tela > video { opacity: 0; transition: opacity .25s linear; }
/* o site do modelo, vivo: página de 390 px de largura escalada (demo.js) para caber na tela do celular */
.camada iframe { position: absolute; left: 0; top: 0; width: 390px; height: 844px; border: 0; transform-origin: 0 0; opacity: 0; pointer-events: none; transition: opacity .45s linear; background: transparent; }
.camada.ao-vivo iframe { opacity: 1; }
.camada .print { transform-origin: 50% 0; }
.camada.ao-vivo video, .tela.ao-vivo > video { opacity: 1; }
.obra { position: absolute; inset: 0; background: var(--fundo-cena); }
.obra i { position: absolute; display: block; left: 7%; border-radius: 6px; background: var(--bloco); transform-origin: left center; }
.obra .b1 { top: 5%; height: 2.6%; width: 38%; }
.obra .b2 { top: 11%; height: 36%; width: 86%; border-radius: 18px; background: var(--bloco-2); }
.obra .b3 { top: 52%; height: 6%; width: 72%; }
.obra .b4 { top: 60%; height: 6%; width: 50%; }
.obra .b5 { top: 70%; height: 2.2%; width: 80%; opacity: .6; }
.obra .b6 { top: 79%; height: 6.5%; width: 56%; border-radius: 999px; background: var(--bloco-2); }
.obra .grade { position: absolute; inset: 0; background-image: linear-gradient(var(--linha) 1px, transparent 1px), linear-gradient(90deg, var(--linha) 1px, transparent 1px); background-size: 20px 20px; }
.varre { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 82%, rgba(245, 113, 47, .35) 99%, #ffb48c 100%); }
.pronto { position: absolute; left: 50%; top: 12%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; background: #fff; color: var(--marinho); font-weight: 800; font-size: 12.5px; padding: 7px 12px 7px 9px; border-radius: 999px; box-shadow: 0 10px 30px -8px rgba(0, 0, 0, .5); }
.pronto svg { width: 16px; height: 16px; color: #1c8a4a; }
.c1 { --fundo-cena: #b3132f; --bloco: #fdeee2; --bloco-2: #f4a9b8; --linha: rgba(255, 255, 255, .08); }
.c2 { --fundo-cena: #16100a; --bloco: #efe3cf; --bloco-2: #6b4a2b; --linha: rgba(255, 255, 255, .06); }
.c3 { --fundo-cena: #f1ece0; --bloco: #1f2a24; --bloco-2: #f3b04a; --linha: rgba(31, 42, 36, .1); }

/* a conversa (lembra um app de mensagens, sem logo e sem as cores de terceiros) */
/* rodada 1 de volta: o celular fica ATRÁS, a conversa sobreposta na frente (cobre ~40% dele) */
.conversa { order: 1; flex: none; margin-right: calc(var(--w) * -.42); position: relative; z-index: 2; width: min(330px, 60vw); height: calc(var(--w) * 2.164 * .74); display: flex; flex-direction: column; background: #ece6dd; color: var(--texto); border-radius: 26px; box-shadow: 0 30px 70px -25px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08); overflow: hidden; transform: rotate(-2deg); contain: layout paint; }
.conversa > header { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--marinho-2); color: #fff; font-weight: 800; font-size: 14px; }
.conversa > header .av { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.conversa > header .av img { width: 26px; }
.conversa > header small { display: block; font-weight: 600; font-size: 11.5px; color: var(--pessego); margin: 0; }
.conversa > header svg { width: 18px; height: 18px; margin-left: auto; color: #c9d6e3; }
.fio { position: relative; flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(transparent, #000 34px); mask-image: linear-gradient(transparent, #000 34px); background-image: radial-gradient(rgba(14, 36, 59, .07) 1px, transparent 1.3px); background-size: 14px 14px; }
.fio .cena { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px 10px 8px; }
.l { --mt: 6px; flex-shrink: 0; overflow: hidden; display: flex; flex-direction: column; margin-top: var(--mt); }
.l.cli { align-items: flex-end; }
.l.nos { align-items: flex-start; }
.msg { max-width: 86%; margin: 0; font-size: 13.5px; line-height: 1.38; padding: 7px 10px; border-radius: 12px; box-shadow: 0 1px 1px rgba(14, 36, 59, .12); }
.cli .msg { background: var(--marinho); color: #fff; border-top-right-radius: 3px; }
.nos .msg { background: #fff; color: var(--texto); border-top-left-radius: 3px; }
.vistos { display: inline-flex; vertical-align: -3px; margin-left: 6px; color: #ffb48c; }
.vistos svg { width: 16px; height: 12px; }
.msg.fotos { display: grid; grid-template-columns: repeat(3, 38px); gap: 4px; padding: 5px; }
.msg.fotos i { display: block; height: 38px; border-radius: 7px; }
.c1 .msg.fotos i:nth-child(1) { background: linear-gradient(135deg, #f0c9b5, #9b2338); } .c1 .msg.fotos i:nth-child(2) { background: linear-gradient(135deg, #e8d3c3, #6d4a3a); } .c1 .msg.fotos i:nth-child(3) { background: linear-gradient(135deg, #b3132f, #f4a9b8); }
.c2 .msg.fotos i:nth-child(1) { background: linear-gradient(135deg, #e3a35c, #6b3a14); } .c2 .msg.fotos i:nth-child(2) { background: linear-gradient(135deg, #f0d9b5, #a0521d); } .c2 .msg.fotos i:nth-child(3) { background: linear-gradient(135deg, #3a2a1c, #d98a3d); }
.c3 .msg.fotos i:nth-child(1) { background: linear-gradient(135deg, #f3e3c0, #7a6a4c); } .c3 .msg.fotos i:nth-child(2) { background: linear-gradient(135deg, #2c3a33, #f3b04a); } .c3 .msg.fotos i:nth-child(3) { background: linear-gradient(135deg, #d8d2c4, #46524b); }
.msg.fotos span { grid-column: 1 / -1; font-size: 11.5px; color: #cfd9e4; padding: 0 4px 1px; }
.digita .msg { display: flex; gap: 4px; padding: 10px 12px; }
.digita i { width: 6px; height: 6px; border-radius: 50%; background: #8b97a5; animation: pula 1s ease-in-out infinite; }
.digita i:nth-child(2) { animation-delay: .15s; } .digita i:nth-child(3) { animation-delay: .3s; }
@keyframes pula { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
.msg.cartao { padding: 4px; width: 86%; }
.cartao .capa { position: relative; height: 76px; border-radius: 9px; overflow: hidden; background: var(--marinho); }
.cartao .capa img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cartao .capa b { position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--marinho); }
.cartao .capa b svg { width: 16px; height: 16px; margin-left: 2px; }
.cartao strong { display: block; font-size: 13px; padding: 6px 6px 0; color: var(--marinho); }
.cartao span { display: block; font-size: 11.5px; padding: 0 6px 4px; color: var(--texto-suave); }
.conversa > footer { display: flex; align-items: center; gap: 8px; padding: 8px 10px; background: #ece6dd; }
.conversa > footer span { flex: 1; background: #fff; border-radius: 999px; padding: 7px 14px; font-size: 13px; color: #7d8794; }
.conversa > footer b { width: 34px; height: 34px; border-radius: 50%; background: var(--laranja); display: grid; place-items: center; color: var(--marinho); flex: none; }
.conversa > footer b svg { width: 16px; height: 16px; }

/* passos sob o palco (sincronizados com a cena) */
.etapas { order: 3; flex-basis: 100%; display: flex; justify-content: center; gap: 6px; margin: 16px 0 0; padding: 0; list-style: none; }
.etapas li { font-size: 12.5px; font-weight: 700; color: var(--claro-suave); border: 1px solid rgba(255, 255, 255, .16); border-radius: 999px; padding: 5px 12px; }
.etapas li b { margin-right: 4px; opacity: .7; }

/* ---------- seções ---------- */
section { padding: 112px 0; }
.rotulo { display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--laranja-txt); margin: 0 0 14px; }
h2 { font-size: clamp(32px, 4.2vw, 58px); line-height: 1.04; margin: 0 0 18px; letter-spacing: -.03em; color: var(--marinho); font-weight: 800; }
h2 em { font-style: normal; color: var(--laranja-txt); }
.intro { color: var(--texto-suave); margin: 0 0 48px; max-width: 58ch; font-size: 18px; }
.escuro { background: var(--marinho-3); color: #fff; }
.escuro h2 { color: #fff; }
.escuro h2 em, .escuro .rotulo { color: var(--laranja); }
.escuro .intro { color: var(--claro-suave); }

/* como funciona — linha do tempo */
.maquina { background: var(--papel); }
.maquina .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.maquina .cabeca { position: sticky; top: 120px; }
.trilho { position: relative; z-index: 0; isolation: isolate; list-style: none; margin: 0; padding: 0; }
.trilho::before, .trilho::after { content: ""; position: absolute; z-index: -1; left: 27px; top: 28px; bottom: 28px; width: 2px; background: var(--borda); }
.trilho::after { background: var(--laranja); transform-origin: top; transform: scaleY(1); }
.passo { position: relative; padding: 0 0 56px 88px; }
.passo:last-child { padding-bottom: 0; }
.passo .n { position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 18px; background: var(--marinho); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: 0 0 0 8px var(--papel); }
.passo h3 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.15; letter-spacing: -.02em; margin: 8px 0 10px; color: var(--marinho); }
.passo p { margin: 0 0 18px; color: var(--texto-suave); font-size: 17px; max-width: 48ch; }
.mini { display: flex; flex-wrap: wrap; gap: 8px; }
.mini span { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--borda); border-radius: 999px; padding: 7px 13px; font-size: 14px; font-weight: 700; color: var(--marinho); }
.mini svg { width: 16px; height: 16px; color: var(--laranja-txt); }

/* modelos */
.galeria { overflow: hidden; }
.esteira { display: flex; width: max-content; gap: 22px; padding: 6px 0; animation: corre 60s linear infinite; }
.esteira.volta { animation-direction: reverse; animation-duration: 70s; margin-top: 22px; }
.esteira:hover { animation-play-state: paused; }
.esteira ul { display: flex; gap: 22px; margin: 0; padding: 0; list-style: none; }
@keyframes corre { to { transform: translateX(calc(-50% - 11px)); } }
.mini-cel { width: 196px; margin: 0; }
.mini-cel .moldura { aspect-ratio: 390 / 844; border-radius: 28px; padding: 6px; background: linear-gradient(145deg, #2a4565, #0a1726); box-shadow: 0 0 0 1px rgba(255, 255, 255, .1) inset, 0 24px 50px -24px rgba(0, 0, 0, .8); }
.mini-cel img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 23px; }
.mini-cel figcaption { font-size: 13.5px; color: #dfe7f0; margin-top: 12px; font-weight: 700; }
.mini-cel figcaption span { display: block; color: var(--claro-suave); font-weight: 500; font-size: 12.5px; }
.aviso-modelo { display: inline-flex; align-items: center; gap: 8px; margin: 40px 0 0; font-size: 14px; color: var(--claro-suave); }
.aviso-modelo::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: #ffd43b; }

/* responsivo: o mesmo site no computador e no celular */
.dois-mundos { display: grid; grid-template-columns: 1.5fr .5fr; gap: 64px; align-items: center; margin-top: 104px; }
.vitrine { position: relative; padding: 0 70px 50px 0; }
.navegador { position: relative; border-radius: 16px; overflow: hidden; background: #1a2c40; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 50px 90px -40px rgba(0, 0, 0, .9); }
.navegador .barra { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #20354d; }
.navegador .barra i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.navegador .barra span { margin-left: 12px; flex: 1; max-width: 340px; height: 22px; border-radius: 999px; background: rgba(255, 255, 255, .08); }
.navegador .quadro { position: relative; overflow: hidden; }
.navegador .quadro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s linear; }
.navegador .quadro.ao-vivo video { opacity: 1; }
.navegador .quadro > * { animation: respira 14s ease-in-out infinite alternate; transform-origin: 70% 40%; }
@keyframes respira { to { transform: scale(1.06); } }
.vitrine .celular { --w: 170px; position: absolute; right: 0; bottom: 0; transform: rotate(4deg); }
.dois-mundos h3 { font-size: clamp(26px, 2.8vw, 36px); letter-spacing: -.025em; line-height: 1.1; margin: 0 0 14px; }
.dois-mundos p { color: var(--claro-suave); margin: 0 0 20px; font-size: 17px; }
.telas { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.telas li { display: inline-flex; align-items: center; gap: 7px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; }
.telas svg { width: 18px; height: 18px; color: var(--laranja); }

/* o que vem */
.itens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.itens li { background: var(--papel); border: 1px solid var(--borda); border-radius: var(--raio); padding: 28px 26px 30px; }
.itens .ico { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--marinho); color: var(--laranja); margin-bottom: 22px; }
.itens .ico svg { width: 24px; height: 24px; }
.itens h3 { font-size: 20px; line-height: 1.22; letter-spacing: -.015em; margin: 0 0 8px; color: var(--marinho); }
.itens p { margin: 0; color: var(--texto-suave); font-size: 16px; }

/* ajustes — o site muda de estilo ao vivo */
.ajustes .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.contas { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 22px; }
.contas div { border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); border-radius: 20px; padding: 20px 22px; }
.contas b { display: block; font-size: clamp(44px, 5vw, 64px); line-height: 1; letter-spacing: -.04em; color: var(--laranja); }
.contas span { display: block; margin-top: 6px; font-weight: 700; color: #e9eff6; }
.pode { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.pode li { border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14.5px; background: #fff; color: var(--marinho); }
.nota-dado { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--claro-suave); font-size: 15.5px; border-left: 3px solid var(--laranja); padding-left: 14px; }
.nota-dado b { color: #fff; }
.provador { --w: clamp(230px, 22vw, 300px); position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; min-height: calc(var(--w) * 2.164); }
.provador .celular { grid-column: 2; grid-row: 1; transform: rotate(-2deg); }
.provador .estilo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.provador .estilo + .estilo { clip-path: circle(0% at 50% 88%); }
.pedidos { grid-column: 1 / -1; grid-row: 1; justify-self: start; position: relative; z-index: 2; width: min(290px, 58%); height: 260px; }
.pedido { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; gap: 8px; }
.pedido .msg { font-size: 14.5px; padding: 10px 13px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); }
.pedido .msg.ped { align-self: flex-end; background: #fff; color: var(--texto); border-top-right-radius: 3px; }
.pedido .msg.res { align-self: flex-start; background: var(--laranja); color: var(--marinho); font-weight: 700; border-top-left-radius: 3px; }
.pedido small { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--laranja-txt); margin-bottom: 2px; }
.provador figcaption { grid-column: 1 / -1; text-align: right; color: var(--claro-suave); font-size: 12.5px; margin-top: 14px; }

/* preço */
.preco { position: relative; overflow: hidden; isolation: isolate; background: var(--marinho); color: #fff; }
.preco .aurora.a1 { top: auto; bottom: -380px; right: -200px; }
.preco .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.preco h2 { color: #fff; }
.preco .rotulo { color: var(--laranja); }
.valor { display: flex; align-items: flex-start; gap: 8px; line-height: .9; font-weight: 800; letter-spacing: -.05em; margin: 0 0 10px; }
.valor small { font-size: clamp(26px, 3vw, 40px); margin-top: .3em; color: var(--laranja); letter-spacing: -.02em; }
.valor strong { font-size: clamp(104px, 14vw, 196px); }
.valor-legenda { font-size: 19px; color: #e9eff6; margin: 0 0 30px; font-weight: 600; }
.garantias { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.garantias li { display: flex; gap: 14px; align-items: flex-start; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 18px 20px; }
.garantias svg { width: 22px; height: 22px; flex: none; color: var(--laranja); margin-top: 2px; }
.garantias b { display: block; font-size: 17px; }
.garantias span { color: var(--claro-suave); font-size: 15px; }

/* para quem */
.nichos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 0; padding: 0; list-style: none; }
.nichos li { position: relative; display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; background: var(--papel); border: 1px solid var(--borda); border-radius: var(--raio); padding: 14px 22px 14px 14px; overflow: hidden; }
.nichos .foto { height: 140px; border-radius: 14px; overflow: hidden; background: var(--marinho); }
.nichos .foto img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .6s var(--ease); }
.nichos li:hover .foto img { transform: scale(1.06); }
.nichos b { display: block; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.15; letter-spacing: -.02em; color: var(--marinho); }
.nichos span { display: block; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--texto-suave); }

/* dúvidas */
.duvidas { background: var(--papel); }
.duvidas .wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.duvidas .cabeca { position: sticky; top: 120px; }
details { background: #fff; border: 1px solid var(--borda); border-radius: 18px; padding: 0; margin-bottom: 12px; }
summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-weight: 700; font-size: 17px; cursor: pointer; color: var(--marinho); padding: 20px 22px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--papel) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e243b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0; padding: 0 22px 22px; color: var(--texto-suave); }

/* chamada final: a conversa nova, pronta para mandar */
.final { padding: 112px 0; }
.final-caixa { position: relative; overflow: hidden; isolation: isolate; display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; background: var(--marinho); color: #fff; border-radius: 36px; padding: 72px; }
.final-caixa .aurora.a1 { width: 620px; height: 620px; top: -300px; right: -240px; }
.final h2 { color: #fff; max-width: 16ch; }
.final h2 em { color: var(--laranja); }
.final p { color: #d3deea; margin: 0 0 30px; max-width: 46ch; font-size: 18px; }
.final small { display: block; margin-top: 14px; color: var(--claro-suave); font-size: 14px; }
.nova { background: #ece6dd; border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); transform: rotate(2deg); color: var(--texto); }
.nova header { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--marinho-2); color: #fff; font-weight: 800; font-size: 15px; }
.nova header .av { width: 38px; height: 38px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.nova header .av img { width: 28px; }
.nova header small { display: block; font-weight: 600; font-size: 12px; color: var(--pessego); }
.nova .vazia { height: 200px; display: grid; place-items: center; background-image: radial-gradient(rgba(14, 36, 59, .07) 1px, transparent 1.3px); background-size: 14px 14px; color: #6b7684; font-size: 13px; font-weight: 600; }
.nova .vazia span { background: #fff8d6; border-radius: 10px; padding: 6px 12px; }
.nova footer { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.nova footer span { flex: 1; background: #fff; border-radius: 999px; padding: 10px 16px; font-size: 15px; color: var(--texto); font-weight: 600; }
.nova footer span::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -.15em; background: var(--laranja); animation: cursor 1s steps(1) infinite; }
@keyframes cursor { 50% { opacity: 0; } }
.nova footer b { width: 42px; height: 42px; border-radius: 50%; background: var(--laranja); display: grid; place-items: center; color: var(--marinho); }
.nova footer b svg { width: 18px; height: 18px; }

/* ---------- rodapé ---------- */
footer.rodape { background: var(--marinho-3); color: #c3cfdc; padding: 56px 0 44px; font-size: 14px; }
footer.rodape .marca { margin-bottom: 22px; }
footer.rodape a { color: #fff; }
footer.rodape .links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 20px; }
footer.rodape p { margin: 4px 0; }

/* ---------- páginas legais ---------- */
.doc-topo { background: var(--marinho); color: #fff; position: relative; overflow: hidden; isolation: isolate; padding: 64px 0 56px; }
.doc-topo .aurora.a1 { width: 520px; height: 520px; top: -260px; animation: none; }
.doc-topo h1 { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.035em; margin: 0 0 10px; font-weight: 800; }
.doc-topo .versao { color: var(--claro-suave); margin: 0; }
.doc-topo .migalha { font-size: 14px; margin: 0 0 18px; }
.doc-topo .migalha a { color: var(--pessego); text-decoration: none; font-weight: 700; }
.doc-corpo { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 64px; padding-top: 56px; padding-bottom: 96px; align-items: start; }
.doc-corpo.sem-indice { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
.indice { position: sticky; top: 96px; font-size: 14.5px; }
.indice p { font-size: 12.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--texto-suave); margin: 0 0 10px; }
.indice ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--borda); }
.indice a { display: block; padding: 6px 0 6px 16px; margin-left: -2px; border-left: 2px solid transparent; color: var(--texto-suave); text-decoration: none; font-weight: 600; line-height: 1.35; }
.indice a:hover { color: var(--marinho); border-left-color: var(--laranja); }
.doc { max-width: 72ch; font-size: 17px; line-height: 1.75; }
.doc > p:first-child { font-size: 18px; }
.doc h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 52px 0 12px; scroll-margin-top: 90px; }
.doc h2:first-of-type { margin-top: 36px; }
.doc h3 { font-size: 19px; margin: 26px 0 8px; color: var(--marinho); }
.doc ul { padding-left: 22px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--laranja); }
.doc strong { color: var(--marinho); }
.doc table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; line-height: 1.55; margin: 0; }
.doc th, .doc td { border-bottom: 1px solid var(--borda); padding: 14px 16px; text-align: left; vertical-align: top; }
.doc th { background: var(--marinho); color: #fff; font-weight: 700; }
.doc tr:nth-child(even) td { background: var(--papel); }
.tabela { overflow-x: auto; border: 1px solid var(--borda); border-radius: 16px; margin: 14px 0 20px; -webkit-overflow-scrolling: touch; }

/* ---------- revelar na rolagem (CSS scroll-driven, 0 KB de JS) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .revela { animation: sobe linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes sobe { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
    .trilho::after { transform: scaleY(0); animation: enche linear both; animation-timeline: view(); animation-range: entry 40% cover 60%; }
    @keyframes enche { to { transform: scaleY(1); } }
    .valor strong { animation: aproxima linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    @keyframes aproxima { from { transform: scale(.82); opacity: .2; } to { transform: none; opacity: 1; } }
  }
}

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .topo nav { display: none; }
  .itens { grid-template-columns: repeat(2, 1fr); }
  .nichos { grid-template-columns: repeat(2, 1fr); }
  .final-caixa { padding: 56px; }
}
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; grid-template-areas: "texto" "palco" "acoes"; min-height: 0; padding-top: 36px; padding-bottom: 56px; }
  .palco { --w: min(50vw, 260px); margin: 22px auto 26px; width: 100%; max-width: 560px; }
  .palco figcaption, .etapas { justify-content: center; text-align: center; }
  .maquina .wrap, .preco .wrap, .duvidas .wrap, .ajustes .wrap, .dois-mundos, .final-caixa { grid-template-columns: 1fr; gap: 44px; }
  .maquina .cabeca, .duvidas .cabeca { position: static; }
  .provador { max-width: 560px; margin: 0 auto; width: 100%; }
  .nova { max-width: 420px; }
  .doc-corpo { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .indice { position: static; background: var(--papel); border-radius: 18px; padding: 18px 20px; }
  .indice ol { columns: 2; column-gap: 20px; border: 0; }
  .indice a { padding-left: 0; border: 0; }
}
@media (max-width: 640px) {
  :root { --topo: 62px; }
  section, .final { padding: 76px 0; }
  .wrap { padding: 0 16px; }
  .topo .wrap { gap: 10px; }
  .topo { background: var(--marinho); -webkit-backdrop-filter: none; backdrop-filter: none; }
  .marca { font-size: 17px; }
  .marca img { width: 38px; }
  .topo .botao.pequeno { display: none; }
  .pausa { padding: 6px 12px 6px 6px; font-size: 13px; }
  .pausa .longo { display: none; }
  .hero h1 { font-size: clamp(34px, 10vw, 44px); }
  .palco { --w: min(50vw, 210px); }
  .palco > .celular { transform: rotate(1.5deg); }
  .conversa { width: 60vw; border-radius: 18px; transform: rotate(-1.5deg); }
  .conversa > header { padding: 7px 8px; font-size: 11.5px; gap: 6px; }
  .conversa > header .av { width: 26px; height: 26px; }
  .conversa > header .av img { width: 20px; }
  .conversa > header small { font-size: 9.5px; }
  .conversa > header svg { display: none; }
  .fio .cena { padding: 6px 6px 5px; }
  .l { --mt: 4px; }
  .msg { font-size: 11px; padding: 5px 7px; line-height: 1.32; }
  .vistos { margin-left: 3px; } .vistos svg { width: 12px; height: 9px; }
  .msg.fotos { grid-template-columns: repeat(3, 24px); }
  .msg.fotos i { height: 24px; }
  .msg.fotos span { font-size: 9.5px; }
  .cartao .capa { height: 48px; }
  .cartao .capa b { width: 24px; height: 24px; margin: -12px 0 0 -12px; }
  .cartao strong { font-size: 11px; padding: 4px 4px 0; } .cartao span { font-size: 9.5px; padding: 0 4px 3px; }
  .conversa > footer { padding: 5px 6px; gap: 5px; }
  .conversa > footer span { font-size: 10.5px; padding: 5px 9px; }
  .conversa > footer b { width: 24px; height: 24px; } .conversa > footer b svg { width: 12px; height: 12px; }
  .pronto { font-size: 11px; padding: 5px 10px 5px 7px; }
  .etapas li { font-size: 11.5px; padding: 5px 10px; }
  .mini-cel { width: 150px; }
  .mini-cel .moldura { border-radius: 22px; padding: 5px; }
  .mini-cel img { border-radius: 18px; }
  .dois-mundos { margin-top: 72px; }
  .vitrine { padding: 0 44px 40px 0; }
  .vitrine .celular { --w: 104px; }
  .itens, .nichos { grid-template-columns: 1fr; }
  .nichos li { grid-template-columns: 88px 1fr; }
  .nichos .foto { height: 110px; }
  .contas { grid-template-columns: 1fr 1fr; }
  .provador { --w: min(50vw, 210px); }
  .pedidos { width: 62%; height: 230px; }
  .pedido .msg { font-size: 12.5px; padding: 7px 10px; }
  .final-caixa { padding: 40px 22px; border-radius: 26px; }
  .nova .vazia { height: 140px; }
  .indice ol { columns: 1; }
}

/* === GERADO === */
/* demonstração do topo: a cena 1 nasce no instante 9 s (prévia já no chat e no celular), sem atrasar o LCP */
.c1 { --d: -9s; } .c2 { --d: 7s; } .c3 { --d: 23s; }
.cena, .camada, .cena > *, .camada > *, .obra > i { animation-duration: 48s; animation-delay: var(--d); animation-iteration-count: infinite; animation-fill-mode: both; animation-timing-function: linear; }
.cena, .camada { animation-name: k-cena; }
@keyframes k-cena { 0%, 32.08% { opacity: 1; } 32.71%, 100% { opacity: 0; } }
.cena > .m1 { animation-name: k-m1; }
@keyframes k-m1 { 0%, 0.83% { max-height: 0; margin-top: 0; opacity: 0; transform: translateY(10px) scale(.96); animation-timing-function: cubic-bezier(.2,.8,.2,1); } 1.67%, 100% { max-height: 220px; margin-top: var(--mt); opacity: 1; transform: none; } }
.cena > .m2 { animation-name: k-m2; }
@keyframes k-m2 { 0%, 3.33% { max-height: 0; margin-top: 0; opacity: 0; transform: translateY(10px) scale(.96); animation-timing-function: cubic-bezier(.2,.8,.2,1); } 4.17%, 100% { max-height: 220px; margin-top: var(--mt); opacity: 1; transform: none; } }
.cena > .m3 { animation-name: k-m3; }
@keyframes k-m3 { 0%, 7.08% { max-height: 0; margin-top: 0; opacity: 0; transform: translateY(10px) scale(.96); animation-timing-function: cubic-bezier(.2,.8,.2,1); } 7.92%, 100% { max-height: 220px; margin-top: var(--mt); opacity: 1; transform: none; } }
.cena > .m4 { animation-name: k-m4; }
@keyframes k-m4 { 0%, 13.75% { max-height: 0; margin-top: 0; opacity: 0; transform: translateY(10px) scale(.96); animation-timing-function: cubic-bezier(.2,.8,.2,1); } 14.58%, 100% { max-height: 220px; margin-top: var(--mt); opacity: 1; transform: none; } }
.cena > .m5 { animation-name: k-m5; }
@keyframes k-m5 { 0%, 16.67% { max-height: 0; margin-top: 0; opacity: 0; transform: translateY(10px) scale(.96); animation-timing-function: cubic-bezier(.2,.8,.2,1); } 17.50%, 100% { max-height: 220px; margin-top: var(--mt); opacity: 1; transform: none; } }
.cena > .dig1 { animation-name: k-dig1; }
@keyframes k-dig1 { 0%, 5.00% { max-height: 0; margin-top: 0; opacity: 0; } 5.42%, 6.77% { max-height: 60px; margin-top: var(--mt); opacity: 1; } 7.08%, 100% { max-height: 0; margin-top: 0; opacity: 0; } }
.cena > .dig2 { animation-name: k-dig2; }
@keyframes k-dig2 { 0%, 10.42% { max-height: 0; margin-top: 0; opacity: 0; } 10.83%, 13.44% { max-height: 60px; margin-top: var(--mt); opacity: 1; } 13.75%, 100% { max-height: 0; margin-top: 0; opacity: 0; } }
.camada > .obra { animation-name: k-obra; }
@keyframes k-obra { 0%, 7.92% { opacity: 0; } 8.54%, 100% { opacity: 1; } }
.obra > .b1 { animation-name: k-b1; }
@keyframes k-b1 { 0%, 8.33% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2,.8,.2,1); } 9.38%, 100% { transform: scaleX(1); } }
.obra > .b2 { animation-name: k-b2; }
@keyframes k-b2 { 0%, 8.85% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2,.8,.2,1); } 9.90%, 100% { transform: scaleX(1); } }
.obra > .b3 { animation-name: k-b3; }
@keyframes k-b3 { 0%, 9.38% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2,.8,.2,1); } 10.42%, 100% { transform: scaleX(1); } }
.obra > .b4 { animation-name: k-b4; }
@keyframes k-b4 { 0%, 9.90% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2,.8,.2,1); } 10.94%, 100% { transform: scaleX(1); } }
.obra > .b5 { animation-name: k-b5; }
@keyframes k-b5 { 0%, 10.42% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2,.8,.2,1); } 11.46%, 100% { transform: scaleX(1); } }
.obra > .b6 { animation-name: k-b6; }
@keyframes k-b6 { 0%, 10.94% { transform: scaleX(0); animation-timing-function: cubic-bezier(.2,.8,.2,1); } 11.98%, 100% { transform: scaleX(1); } }
.camada > .varre { animation-name: k-varre; }
@keyframes k-varre { 0%, 7.92% { transform: translateY(-100%); opacity: 1; } 11.67% { transform: translateY(0); opacity: 1; } 12.29%, 100% { transform: translateY(0); opacity: 0; } }
.camada > .print { animation-name: k-print; }
@keyframes k-print { 0%, 11.67% { clip-path: inset(0 0 100% 0); transform: none; animation-timing-function: cubic-bezier(.7,0,.2,1); } 13.33% { clip-path: inset(0 0 0 0); transform: none; animation-timing-function: ease-in-out; } 32.08%, 100% { clip-path: inset(0 0 0 0); transform: scale(1.1) translateY(-7%); } }
.camada > .pronto { animation-name: k-pronto; }
@keyframes k-pronto { 0%, 13.33% { opacity: 0; transform: translate(-50%, 14px) scale(.9); animation-timing-function: cubic-bezier(.2,.8,.2,1); } 14.38%, 17.50% { opacity: 1; transform: translate(-50%, 0); } 18.33%, 100% { opacity: 0; transform: translate(-50%, 0); } }
.camada > video { animation-name: none; }
.etapas li { animation: 16s linear -9s infinite both; }
.etapas li:nth-child(1) { animation-name: k-e1; } .etapas li:nth-child(2) { animation-name: k-e2; } .etapas li:nth-child(3) { animation-name: k-e3; }
@keyframes k-e1 { 0%, 23.2% { color: var(--marinho); background: var(--laranja); border-color: var(--laranja); } 24.3%, 100% { color: var(--claro-suave); background: transparent; border-color: rgba(255,255,255,.16); } }
@keyframes k-e2 { 0%, 23.2% { color: var(--claro-suave); background: transparent; border-color: rgba(255,255,255,.16); } 24.3%, 39.5% { color: var(--marinho); background: var(--laranja); border-color: var(--laranja); } 40.5%, 100% { color: var(--claro-suave); background: transparent; border-color: rgba(255,255,255,.16); } }
@keyframes k-e3 { 0%, 39.5% { color: var(--claro-suave); background: transparent; border-color: rgba(255,255,255,.16); } 40.5%, 99.4% { color: var(--marinho); background: var(--laranja); border-color: var(--laranja); } 100% { color: var(--claro-suave); background: transparent; border-color: rgba(255,255,255,.16); } }
/* provador de ajustes: o mesmo site troca de estilo a cada pedido (ciclo de 18 s) */
.provador .estilo, .pedido .msg { animation-duration: 18s; animation-iteration-count: infinite; animation-fill-mode: both; animation-timing-function: linear; }
.provador .estilo.e1 { animation-name: k-est1; }
@keyframes k-est1 { 0%, 22.22% { clip-path: circle(0% at 50% 88%); animation-timing-function: cubic-bezier(.65,0,.25,1); } 28.33%, 100% { clip-path: circle(150% at 50% 88%); } }
.provador .estilo.e2 { animation-name: k-est2; }
@keyframes k-est2 { 0%, 55.56% { clip-path: circle(0% at 50% 88%); animation-timing-function: cubic-bezier(.65,0,.25,1); } 61.67%, 100% { clip-path: circle(150% at 50% 88%); } }
.provador .estilo.e3 { animation-name: k-est3; }
@keyframes k-est3 { 0%, 88.89% { clip-path: circle(0% at 50% 88%); animation-timing-function: cubic-bezier(.65,0,.25,1); } 95.00%, 100% { clip-path: circle(150% at 50% 88%); } }
.pedido .ped { animation-name: k-ped; } .pedido .res { animation-name: k-res; }
.pedido.p2 .msg { animation-delay: 6s; } .pedido.p3 .msg { animation-delay: 12s; }
@keyframes k-ped { 0%, 3.33% { opacity: 0; transform: translateY(12px) scale(.95); animation-timing-function: cubic-bezier(.2,.8,.2,1); } 5.56%, 30.00% { opacity: 1; transform: none; } 32.22%, 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes k-res { 0%, 15.56% { opacity: 0; transform: translateY(12px) scale(.95); animation-timing-function: cubic-bezier(.2,.8,.2,1); } 17.78%, 30.00% { opacity: 1; transform: none; } 32.22%, 100% { opacity: 0; transform: translateY(-8px); } }
/* === FIM DO GERADO === */

/* ---------- pausar animações (WCAG 2.2.2) ---------- */
#pausar:checked ~ * *, #pausar:checked ~ * *::before, #pausar:checked ~ * *::after { animation-play-state: paused !important; }
#pausar:checked ~ main .camada iframe { visibility: hidden; }

/* ---------- menos movimento (WCAG 2.3.3): estado final, parado ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero h1 em::after { transform: none; }
  .cena.c2, .cena.c3, .camada.c2, .camada.c3, .obra, .varre, .digita, .etapas, .pausa, video, .camada iframe { display: none !important; }
  .l { max-height: none !important; }
  .provador .estilo + .estilo { display: none; }
  .pedido + .pedido { display: none; }
  .esteira { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
  .esteira ul[aria-hidden] { display: none; }
  .esteira .mini-cel { scroll-snap-align: start; }
}
