/* ===== Storytelling: História + Portfólio ===== */

/* Barra de progresso de leitura */
.progress { position: fixed; top: 72px; left: 0; right: 0; height: 2px; z-index: 49; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(var(--p, 0));
    background: linear-gradient(90deg, var(--cyan), var(--cyan-2)); box-shadow: 0 0 12px rgba(1,173,207,.7); }

/* Reveal genérico */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Abertura da história ---------- */
.st-intro { position: relative; overflow: hidden; min-height: calc(100vh - 72px); display: flex; align-items: center; }
.st-intro__inner { position: relative; max-width: 900px; }
.st-intro h1 { font-size: clamp(40px, 6.4vw, 84px); font-weight: 700; margin: 20px 0 26px; animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.st-intro .lead { font-size: 21px; animation: rise 1s .2s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; margin-top: 56px; color: var(--muted); font-size: 14px; animation: rise 1s .5s both; }
.scroll-cue span { width: 24px; height: 38px; border: 2px solid var(--line-2); border-radius: 14px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--cyan); animation: wheel 1.6s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* ---------- Cenas ---------- */
.scene { position: relative; padding: 90px 0; border-top: 1px solid var(--line); }
.scene:nth-of-type(even) { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.scene__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.scene--rev .scene__visual { order: 2; }
.scene__visual { position: sticky; top: 120px; height: calc(100vh - 180px); max-height: 620px; display: grid; place-items: center; }
.scene__text { position: relative; padding: 6vh 0; }
.scene__num { position: absolute; top: -10px; right: 0; font-size: 150px; line-height: 1; font-weight: 700; color: transparent;
    -webkit-text-stroke: 1px rgba(1,173,207,.18); pointer-events: none; }
.scene__label { font-family: var(--mono); font-size: 13px; color: var(--cyan); letter-spacing: .1em; text-transform: uppercase; }
.scene h2 { font-size: clamp(30px, 3.4vw, 44px); margin: 12px 0 30px; max-width: 520px; }
.scene p { color: #c3d0d6; font-size: 18.5px; line-height: 1.8; margin-bottom: 26px; }
.scene p strong { color: var(--text); font-weight: 600; }
.scene p em { color: var(--text); }
.scene .aside { padding: 18px 22px; border-radius: 14px; background: rgba(1,173,207,.06); border: 1px dashed rgba(1,173,207,.3); font-size: 17px; }
.pull { margin: 10px 0 30px; padding: 26px 30px; border-left: 3px solid var(--cyan); border-radius: 0 14px 14px 0;
    background: rgba(1,173,207,.08); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.35; font-weight: 600; color: var(--text); }

.vis { width: 100%; max-width: 480px; border-radius: 22px; border: 1px solid var(--line-2);
    background: linear-gradient(180deg, var(--surface), rgba(6,26,36,.9));
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 90px -30px rgba(1,173,207,.3); overflow: hidden; position: relative; }

/* Os loops só rodam quando a cena está na tela */
.vis * { animation-play-state: paused !important; }
.is-playing .vis * { animation-play-state: running !important; }

/* Cap 1: computador */
.pc__bar { display: flex; gap: 7px; align-items: center; padding: 13px 16px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--muted); }
.pc__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.pc__bar i:nth-child(2) { background: #febc2e; } .pc__bar i:nth-child(3) { background: #28c840; }
.pc__bar span { margin-left: 8px; }
.pc__files { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 10px; padding: 34px 26px 40px; min-height: 330px; }
.pc__files span { display: flex; flex-direction: column; align-items: center; gap: 8px; animation: vanish 9s calc(var(--i) * .22s) infinite; }
.pc__files b { width: 40px; height: 48px; border-radius: 6px; background: linear-gradient(160deg, #2b4552, #1a2d36); border: 1px solid var(--line-2); position: relative; }
.pc__files b::after { content: ""; position: absolute; left: 9px; right: 9px; top: 14px; height: 3px; background: rgba(1,173,207,.6); box-shadow: 0 7px 0 rgba(232,232,232,.2), 0 14px 0 rgba(232,232,232,.2); }
.pc__files em { font: 11px var(--mono); color: var(--muted); font-style: normal; }
@keyframes vanish { 0%, 18% { opacity: 1; transform: scale(1); } 24%, 92% { opacity: 0; transform: scale(.4) rotate(-12deg); } 100% { opacity: 1; transform: scale(1); } }
.pc__format { position: absolute; left: 50%; top: 56%; width: 78%; transform: translate(-50%, -50%); padding: 22px; border-radius: 14px;
    background: #0a1820; border: 1px solid rgba(1,173,207,.4); text-align: center; animation: fmt 9s infinite; }
.pc__format strong { font-size: 16px; }
.pc__format small { display: block; margin-top: 10px; color: var(--muted); font-size: 13px; }
.pc__bar2 { height: 8px; border-radius: 6px; background: var(--line); margin-top: 14px; overflow: hidden; }
.pc__bar2 i { display: block; height: 100%; background: var(--cyan); animation: fill 9s infinite; transform-origin: left; }
@keyframes fmt { 0%, 52% { opacity: 0; transform: translate(-50%, -40%); } 56%, 88% { opacity: 1; transform: translate(-50%, -50%); } 92%, 100% { opacity: 0; } }
@keyframes fill { 0%, 56% { transform: scaleX(0); } 86%, 100% { transform: scaleX(1); } }

/* Cap 2: linha do tempo */
.vis--timeline { padding: 34px 34px 38px; }
.tl__year { font-size: 64px; font-weight: 700; line-height: 1; display: block; margin-bottom: 26px; }
.vis--timeline ol { position: relative; display: grid; gap: 18px; }
.vis--timeline ol::before { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 2px; background: var(--line-2); }
.vis--timeline ol::after { content: ""; position: absolute; left: 25px; top: 10px; bottom: 10px; width: 2px; background: var(--cyan);
    transform-origin: top; transform: scaleY(0); transition: transform 2.4s ease .2s; }
.is-playing .vis--timeline ol::after { transform: scaleY(1); }
.vis--timeline li { position: relative; display: flex; gap: 18px; align-items: center; opacity: .25; transform: translateX(-8px);
    transition: opacity .6s, transform .6s; transition-delay: calc(var(--i) * .6s + .3s); }
.is-playing .vis--timeline li { opacity: 1; transform: none; }
.vis--timeline li b { width: 52px; height: 52px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 22px;
    background: #0a1820; border: 1px solid rgba(1,173,207,.35); z-index: 1; }
.vis--timeline strong { display: block; font-size: 17px; }
.vis--timeline span { color: var(--muted); font-size: 14px; }

/* Cap 3: conversa */
.chat__head { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.chat__head b { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(1,173,207,.12); font-size: 20px; }
.chat__head strong { display: block; font-size: 15px; } .chat__head span { font-size: 12px; color: var(--muted); }
.chat__body { padding: 26px 20px 30px; display: flex; flex-direction: column; gap: 12px; min-height: 340px; }
.msg, .typing { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.45; margin: 0;
    opacity: 0; transform: translateY(12px) scale(.96); }
.is-playing .msg, .is-playing .typing { animation: pop .45s var(--t) cubic-bezier(.2,.8,.3,1.2) forwards !important; }
.msg--in { background: #1c2f38; border-bottom-left-radius: 6px; align-self: flex-start; }
.msg--out { background: var(--cyan); color: var(--bg); font-weight: 600; border-bottom-right-radius: 6px; align-self: flex-end; font-size: 16px; }
.typing { align-self: flex-end; background: #1c2f38; display: flex; gap: 5px; }
.is-playing .typing { animation: pop .3s var(--t) forwards, gone .2s calc(var(--t) + 1.3s) forwards !important; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: bounce 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes pop { to { opacity: 1; transform: none; } }
@keyframes gone { to { opacity: 0; height: 0; padding: 0; margin: -6px 0; } }
@keyframes bounce { 50% { transform: translateY(-4px); } }

/* Cap 4: versões */
.vis--versions { padding: 28px; display: grid; gap: 14px; }
.ver { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line);
    background: rgba(11,34,45,.6); opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .6s, border-color .6s;
    transition-delay: calc(var(--i) * .55s); }
.is-playing .ver { opacity: 1; transform: none; }
.ver__tag { width: 48px; height: 48px; flex: none; border-radius: 12px; display: grid; place-items: center; font: 600 14px var(--mono);
    background: #0a1820; color: var(--cyan); border: 1px solid rgba(1,173,207,.3); }
.ver strong { display: block; font-size: 16px; } .ver span { font-size: 13px; color: var(--muted); }
.ver .badge { margin-left: auto; }
.badge { font-style: normal; font-size: 11px; padding: 4px 10px; border-radius: 999px; background: rgba(1,173,207,.15); color: var(--cyan); white-space: nowrap; }
.badge--warn { background: rgba(254,188,46,.12); color: #febc2e; }
.ver--web { border-color: rgba(1,173,207,.5); box-shadow: 0 0 40px -10px rgba(1,173,207,.5); }
.ver__years { text-align: center; color: var(--muted); font-size: 14px; margin-top: 6px; opacity: 0; transition: opacity .6s 2.4s; }
.ver__years strong { color: var(--text); }
.is-playing .ver__years { opacity: 1; }

/* Cap 5: post */
.ig__head { display: flex; gap: 12px; align-items: center; padding: 14px 18px; }
.ig__head img { width: 38px; height: 38px; padding: 8px; border-radius: 50%; background: #0a1820; border: 1px solid rgba(1,173,207,.4); }
.ig__head strong { display: block; font-size: 14px; } .ig__head span { font-size: 12px; color: var(--muted); }
.ig__media { aspect-ratio: 16 / 10; background: radial-gradient(circle at 30% 20%, rgba(1,173,207,.35), transparent 60%), #0a1820; display: grid; place-items: center; }
.ig__screen { width: 64%; padding: 18px; border-radius: 12px; background: #f4f7f8; color: #1B262C; display: grid; gap: 8px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); }
.ig__screen strong { font-size: 15px; }
.ig__screen span { height: 8px; border-radius: 4px; background: #d5dee2; } .ig__screen .short { width: 60%; }
.ig__screen em { font-style: normal; justify-self: start; font-size: 11px; padding: 6px 10px; border-radius: 6px; background: var(--cyan); color: #fff; margin-top: 4px; }
.ig__actions { display: flex; gap: 10px; align-items: center; padding: 12px 18px 4px; font-size: 13px; color: var(--muted); }
.heart { color: #ff4d6d; font-size: 22px; display: inline-block; }
.is-playing .heart { animation: like 2.4s infinite !important; }
@keyframes like { 0%, 70%, 100% { transform: scale(1); } 80% { transform: scale(1.35); } }
.ig__comments { padding: 4px 18px 22px; display: grid; gap: 8px; min-height: 110px; }
.ig__comments p { margin: 0; font-size: 14px; color: #c3d0d6; opacity: 0; transform: translateY(8px); }
.ig__comments strong { color: var(--text); margin-right: 6px; }
.is-playing .ig__comments p { animation: pop .5s var(--t) forwards !important; }

/* Cap 6: hub de módulos */
.vis--hub { aspect-ratio: 1; max-width: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(1,173,207,.14), transparent 65%), var(--bg-2); }
.hub__core { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px; border-radius: 26px; display: grid; place-items: center;
    background: #0a1820; border: 1px solid rgba(1,173,207,.5); box-shadow: 0 0 60px -6px rgba(1,173,207,.6); z-index: 2; }
.hub__core img { width: 50px; }
.is-playing .hub__core { animation: glow 3s infinite !important; }
@keyframes glow { 50% { box-shadow: 0 0 90px 0 rgba(1,173,207,.8); } }
.hub__mod { position: absolute; left: 50%; top: 50%; padding: 8px 14px; border-radius: 999px; font-size: 13px; white-space: nowrap;
    background: #0d2530; border: 1px solid var(--line-2);
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(-160px) rotate(calc(-1 * var(--a))) scale(.6);
    opacity: 0; transition: opacity .5s, transform .7s cubic-bezier(.2,.8,.3,1.2), border-color .5s; transition-delay: calc(var(--i) * .25s); }
.is-playing .hub__mod { opacity: 1; border-color: rgba(1,173,207,.55);
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(-160px) rotate(calc(-1 * var(--a))) scale(1); }

/* ---------- Epílogo ---------- */
.st-end { position: relative; overflow: hidden; padding: 120px 0; text-align: center; border-top: 1px solid var(--line);
    background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(1,173,207,.12), transparent 70%); }
.st-end .hero__pattern { mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent 80%); -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent 80%); }
.st-end__inner { position: relative; max-width: 860px; }
.st-end__lead { color: var(--muted); font-size: 19px; margin: 18px auto 34px; max-width: 680px; }
.st-end blockquote { margin: 0; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.22; font-weight: 600; letter-spacing: -.02em; }
.st-end .sign { margin-top: 40px; font-weight: 600; font-size: 20px; }
.st-end .sign span { display: block; font-weight: 400; font-size: 15px; color: var(--muted); }

/* ---------- Portfólio ---------- */
.pf-hero { padding: 90px 0 64px; }
.pf-hero__inner { position: relative; max-width: 860px; }
.pf-hero .lead { margin-top: 22px; max-width: 640px; }
.pf-index { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.pf-index a { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 15px; transition: border-color .2s, background .2s; }
.pf-index a:hover { border-color: var(--cyan); background: rgba(1,173,207,.08); }
.pf-index b { font: 500 12px var(--mono); color: var(--cyan); margin-right: 6px; }

.cs { padding: 80px 0 30px; border-top: 1px solid var(--line); }
.cs--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.cs__head { display: flex; gap: 28px; align-items: flex-start; margin-bottom: 30px; }
.cs__n { font-size: 96px; line-height: .9; font-weight: 700; color: transparent; -webkit-text-stroke: 1px rgba(1,173,207,.45); }
.cs__head h2 { font-size: clamp(32px, 4vw, 50px); margin: 8px 0 8px; }
.cs__head p { color: var(--muted); font-size: 18px; }
.cs__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; }
.beat { min-height: 40vh; padding: 20px 0; display: flex; flex-direction: column; justify-content: center; opacity: .28; transition: opacity .5s; }
.beat.is-active { opacity: 1; }
.beat__label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--cyan); text-transform: uppercase; letter-spacing: .1em; }
.beat__label::before { content: ""; width: 26px; height: 2px; background: var(--cyan); }
.beat h3 { font-size: clamp(24px, 2.6vw, 32px); margin: 14px 0 14px; }
.beat p { color: #c3d0d6; font-size: 18px; }

.cs__visual { position: sticky; top: 130px; height: calc(100vh - 200px); max-height: 560px; }
.layer { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(24px) scale(.97);
    transition: opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.cs__visual[data-step="1"] [data-layer="1"], .cs__visual[data-step="2"] [data-layer="2"],
.cs__visual[data-step="3"] [data-layer="3"], .cs__visual[data-step="4"] [data-layer="4"] { opacity: 1; transform: none; }
.layer .window, .layer .tablet { width: 100%; }

/* Papéis + relógio */
.papers { position: relative; width: 330px; height: 380px; }
.paper { position: absolute; left: 50%; top: 50%; width: 220px; height: 290px; margin: -145px 0 0 -110px; border-radius: 6px; background: #eef3f5;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); padding: 30px 26px; display: grid; gap: 14px; align-content: start;
    transform: rotate(calc((var(--i) - 2.5) * 5deg)) translate(calc((var(--i) - 2.5) * 10px), calc(var(--i) * -6px)); }
.paper span { height: 8px; border-radius: 4px; background: #c9d4d9; } .paper .short { width: 55%; }
.cs__visual[data-step="1"] .paper { animation: shuffle 3s calc(var(--i) * .2s) ease-in-out infinite; }
@keyframes shuffle { 50% { margin-top: -152px; } }
.clock { position: absolute; right: -6px; top: -6px; width: 86px; height: 86px; border-radius: 50%; background: #0a1820; border: 3px solid var(--cyan); z-index: 5;
    box-shadow: 0 0 40px -6px rgba(1,173,207,.7); }
.clock::before, .clock i { content: ""; position: absolute; left: 50%; bottom: 50%; width: 3px; margin-left: -1.5px; border-radius: 2px; background: var(--text); transform-origin: bottom; }
.clock::before { height: 22px; animation: spin 12s linear infinite; }
.clock i { height: 30px; background: var(--cyan); animation: spin 1.5s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Mini versões */
.mini-versions { display: grid; gap: 14px; width: min(100%, 360px); }
.mini-versions span { padding: 18px 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); font: 600 18px var(--mono); color: var(--cyan);
    display: flex; justify-content: space-between; align-items: center; opacity: 0; transform: translateX(-20px); }
.mini-versions em { font: 400 14px var(--font); color: var(--muted); font-style: normal; }
.mini-versions .on { border-color: rgba(1,173,207,.6); box-shadow: 0 0 40px -10px rgba(1,173,207,.6); }
.cs__visual[data-step="2"] .mini-versions span { animation: slidein .5s calc(var(--i) * .3s + .2s) forwards; }
@keyframes slidein { to { opacity: 1; transform: none; } }

/* Janela + chips */
.chips { position: absolute; left: 0; right: 0; bottom: 6%; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.chips span { padding: 8px 14px; border-radius: 999px; font-size: 13px; background: #0d2530; border: 1px solid rgba(1,173,207,.5); opacity: 0; transform: translateY(14px); }
.cs__visual[data-step="3"] .chips span { animation: slidein .45s calc(var(--i) * .15s + .4s) forwards; }

/* Resultado */
.result { text-align: center; display: grid; justify-items: center; gap: 10px; }
.result__check { width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; font-size: 56px; color: var(--bg); background: var(--cyan);
    box-shadow: 0 0 0 14px rgba(1,173,207,.12), 0 0 80px rgba(1,173,207,.6); margin-bottom: 18px; }
.cs__visual[data-step="4"] .result__check { animation: popin .6s cubic-bezier(.2,.8,.3,1.4) both; }
@keyframes popin { from { transform: scale(.3); opacity: 0; } }
.result strong { font-size: 26px; } .result span { color: var(--muted); font-family: var(--mono); }

/* Sócios */
.partners { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 60px; }
.partner { display: grid; justify-items: center; gap: 8px; }
.partner b { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; background: #0d2530; border: 2px solid var(--line-2); }
.partner span { font: 14px var(--mono); color: var(--muted); }
.cs__visual[data-step="1"] .partner b { animation: wobble 2.4s calc(var(--i) * .3s) ease-in-out infinite; }
@keyframes wobble { 25% { transform: rotate(-6deg); } 75% { transform: rotate(6deg); } }
.question { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -62%); font-size: 64px; font-weight: 700; color: var(--cyan); text-shadow: 0 0 30px rgba(1,173,207,.8); }

/* Celular */
.phone { width: 270px; padding: 34px 18px 22px; border-radius: 36px; background: #0d1418; border: 2px solid #22313a; position: relative; display: grid; gap: 10px;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 80px -30px rgba(1,173,207,.4); }
.phone__notch { position: absolute; top: 10px; left: 50%; width: 80px; height: 14px; margin-left: -40px; border-radius: 10px; background: #22313a; }
.phone strong { font-size: 17px; margin-bottom: 4px; }
.tx { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 12px; background: var(--surface); font-size: 13px; opacity: 0; transform: translateX(30px); }
.tx .in { color: #3ddc97; } .tx .out { color: #ff8a8a; }
.cs__visual[data-step="2"] .tx { animation: slidein .45s calc(var(--i) * .35s + .3s) forwards; }
.offline { font-size: 11px; color: #febc2e; text-align: center; margin-top: 6px; }

/* Barras do fechamento */
.bars { display: flex; align-items: flex-end; gap: 22px; height: 320px; padding: 0 10px; border-bottom: 1px solid var(--line-2); }
.bar { width: 70px; height: var(--h); border-radius: 12px 12px 0 0; background: linear-gradient(180deg, var(--cyan), rgba(1,173,207,.25)); position: relative;
    transform-origin: bottom; transform: scaleY(0); }
.bar--muted { background: linear-gradient(180deg, #4b6370, rgba(75,99,112,.2)); }
.bar span { position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%); font-size: 13px; color: var(--muted); white-space: nowrap; }
.cs__visual[data-step="3"] .bar { animation: grow .8s calc(var(--i) * .2s + .2s) cubic-bezier(.2,.8,.3,1.1) forwards; }
@keyframes grow { to { transform: scaleY(1); } }

/* Pix */
.pix { position: relative; width: 340px; height: 300px; }
.pix .partner { position: absolute; }
.pix .p1 { left: 0; top: 0; } .pix .p2 { right: 0; top: 0; } .pix .p3 { left: 0; bottom: 30px; } .pix .p4 { right: 0; bottom: 30px; }
.pix .partner b { border-color: rgba(1,173,207,.6); }
.arrow { position: absolute; height: 2px; background: var(--cyan); font-size: 12px; color: var(--cyan); transform-origin: left; transform: scaleX(0); }
.arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left-color: var(--cyan); }
.arrow.a1 { left: 92px; right: 92px; top: 42px; }
.arrow.a2 { left: 92px; right: 92px; top: 200px; }
.arrow em { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font-style: normal; font-weight: 600; }
.cs__visual[data-step="4"] .arrow { animation: grow-x .7s .3s forwards; } .cs__visual[data-step="4"] .a2 { animation-delay: .7s; }
@keyframes grow-x { to { transform: scaleX(1); } }
.stamp { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -60%) rotate(-8deg); padding: 10px 20px; border: 3px solid #3ddc97; color: #3ddc97;
    border-radius: 10px; font-weight: 700; font-size: 20px; white-space: nowrap; opacity: 0; }
.cs__visual[data-step="4"] .stamp { animation: stamp .4s 1.3s cubic-bezier(.2,.8,.3,1.4) forwards; }
@keyframes stamp { from { opacity: 0; transform: translate(-50%, -60%) rotate(-8deg) scale(2); } to { opacity: 1; transform: translate(-50%, -60%) rotate(-8deg) scale(1); } }

/* Rabisco */
.sketch { width: 100%; padding: 18px; border-radius: 6px; background: #f7f3e8; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); transform: rotate(-2deg); }
.sketch path { fill: none; stroke: #2d3a8c; stroke-width: 2.4; stroke-linecap: round; }
.sketch text { font: italic 15px "Comic Sans MS", "Marker Felt", cursive; fill: #2d3a8c; }
.sketch .stain { fill: none; stroke: rgba(120,72,30,.35); stroke-width: 8; }
.layer--plan .plan__walls path { stroke-dasharray: 1200; }
.cs__visual[data-step="2"] .plan--draw .plan__walls path { stroke-dashoffset: 1200; animation: draw-walls 2.2s .2s ease forwards; }
@keyframes draw-walls { to { stroke-dashoffset: 0; } }
.plan__area { fill: rgba(1,173,207,.0); stroke: none; }
.cs__visual[data-step="3"] .plan__area { animation: area 2.4s .6s infinite alternate; }
@keyframes area { to { fill: rgba(1,173,207,.14); } }
.plan__areatxt { font: 600 18px var(--font) !important; fill: #01799a !important; opacity: 0; }
.cs__visual[data-step="3"] .plan__areatxt { animation: slidein .5s 1s forwards; }

/* Exportação */
.export { display: flex; align-items: center; gap: 22px; width: 100%; justify-content: center; }
.file { width: 110px; height: 136px; border-radius: 10px; background: #eef3f5; color: #1B262C; display: grid; place-items: center; align-content: center; gap: 6px; flex: none;
    box-shadow: 0 20px 40px -10px rgba(0,0,0,.6); }
.file b { font-size: 24px; color: #01799a; } .file span { font: 12px var(--mono); }
.cs__visual[data-step="4"] .file { animation: fly 2.6s ease-in-out infinite; }
@keyframes fly { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(16px) rotate(4deg); } }
.export__arrow { width: 60px; height: 2px; background: var(--cyan); position: relative; flex: none; }
.export__arrow::after { content: ""; position: absolute; right: -2px; top: -5px; border: 6px solid transparent; border-left-color: var(--cyan); }
.cad { flex: 1; max-width: 280px; border-radius: 12px; overflow: hidden; background: #212830; border: 1px solid #3a4651; }
.cad__bar { padding: 8px 12px; font-size: 12px; background: #2b333c; color: #e05050; font-weight: 600; }
.cad svg path { fill: none; stroke: #e8e8e8; stroke-width: 4; }
.cad svg { padding: 10px; }

/* Sites: zoom no hover */
.site__img { overflow: hidden; }
.site__img img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.site:hover .site__img img { transform: scale(1.08); }

/* ---------- Portfólio resumido (home) ---------- */
.section__head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.section__head--row > div { max-width: 640px; }
.pcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcard { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); display: flex; flex-direction: column;
    transition: border-color .35s, transform .35s, box-shadow .35s; }
.pcard:hover { border-color: rgba(1,173,207,.5); transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(1,173,207,.45); }
.pcard__media { aspect-ratio: 16 / 10; overflow: hidden; background: #0a1820; position: relative; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.pcard:hover .pcard__media img { transform: scale(1.08); }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(11,34,45,.9)); }
.pcard__media--plan { display: grid; place-items: center; padding: 18px; background: #f4f7f8; }
.pcard__media--plan::after { display: none; }
.plan--loop .plan__walls path { stroke-dasharray: 100; stroke-dashoffset: 100; animation: loopdraw 5s ease-in-out infinite; }
@keyframes loopdraw { 0% { stroke-dashoffset: 100; } 45%, 80% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: -100; } }
.pcard__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.pcard h3 { font-size: 23px; margin: 8px 0 10px; }
.pcard p { color: var(--muted); font-size: 15.5px; margin-bottom: 18px; }
.pcard p b { color: var(--text); font-weight: 600; }
.pcard__more { margin-top: auto; color: var(--cyan); font-weight: 600; font-size: 15px; }
.pcard__more span { display: inline-block; transition: transform .2s; }
.pcard:hover .pcard__more span { transform: translateX(4px); }

/* ---------- Responsivo ---------- */
@media (max-width: 980px) {
    .scene__grid, .cs__grid { grid-template-columns: 1fr; gap: 30px; }
    .scene--rev .scene__visual { order: 0; }
    .scene__visual { position: relative; top: 0; height: auto; max-height: none; }
    .scene__num { font-size: 100px; }
    .cs__visual { top: 72px; height: 46vh; max-height: 380px; order: -1; z-index: 2;
        background: linear-gradient(180deg, var(--bg) 85%, transparent); margin: 0 -20px; padding: 10px 20px; }
    .beat { min-height: 34vh; }
    .layer { padding: 10px 20px; }
    .papers { transform: scale(.75); }
    .pcards { grid-template-columns: 1fr 1fr; }
    .section__head--row { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
    .progress { top: 72px; }
    .scene { padding: 60px 0; }
    .scene p { font-size: 17px; }
    .vis--hub { max-width: 340px; }
    .hub__mod { font-size: 11px; padding: 6px 10px;
        transform: translate(-50%, -50%) rotate(var(--a)) translateY(-120px) rotate(calc(-1 * var(--a))) scale(.6); }
    .is-playing .hub__mod { transform: translate(-50%, -50%) rotate(var(--a)) translateY(-120px) rotate(calc(-1 * var(--a))) scale(1); }
    .pc__files { grid-template-columns: repeat(3, 1fr); }
    .cs__n { font-size: 64px; }
    .cs__head { gap: 16px; }
    .pcards { grid-template-columns: 1fr; }
    .partners { gap: 20px 40px; transform: scale(.85); }
    .pix, .bars, .phone { transform: scale(.82); }
    .export { transform: scale(.85); }
    .st-end { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] { opacity: 1; transform: none; }
}
.pcard__media--plan svg { width: 100%; height: 100%; }

/* Caos de arquivos */
.chaos { position: relative; width: 100%; height: 100%; }
.chaos span { position: absolute; left: 50%; top: 50%; padding: 12px 16px; border-radius: 12px; font-size: 14px; white-space: nowrap;
    background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 16px 30px -12px rgba(0,0,0,.7);
    transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; }
.cs__visual[data-step="2"] .chaos span { animation: chaos-in .5s calc(var(--i) * .15s) forwards, drift 4s calc(var(--i) * .3s + .6s) ease-in-out infinite alternate; }
@keyframes chaos-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.6); } to { opacity: 1; transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)); } }
@keyframes drift { from { opacity: 1; transform: translate(-50%, -50%) translate(var(--x), var(--y)) rotate(var(--r)); }
    to { opacity: 1; transform: translate(-50%, -50%) translate(calc(var(--x) + 10px), calc(var(--y) - 12px)) rotate(calc(var(--r) * -1)); } }

/* Geração de documentos */
.gen { display: flex; align-items: center; gap: 30px; }
.gen__form { width: 230px; padding: 20px; border-radius: 14px; background: #f4f7f8; color: #1B262C; display: grid; gap: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); }
.gen__form strong { font-size: 15px; margin-bottom: 4px; }
.gen__form span { display: flex; justify-content: space-between; font-size: 12px; padding: 8px 10px; border-radius: 8px; background: #e3eaed; }
.gen__form i { font-style: normal; color: #5d7480; } .gen__form b { color: #0a8a5a; font-weight: 600; }
.gen__form em { font-style: normal; text-align: center; font-size: 13px; font-weight: 600; padding: 10px; border-radius: 8px; background: var(--cyan); color: #fff; margin-top: 4px; }
.cs__visual[data-step="4"] .gen__form em { animation: press .4s .3s; }
@keyframes press { 50% { transform: scale(.94); } }
.gen__docs { display: grid; gap: 12px; }
.gen__doc { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 12px; background: var(--surface); border: 1px solid rgba(1,173,207,.45);
    font-size: 15px; font-weight: 500; opacity: 0; transform: translateX(-24px); }
.gen__doc b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: var(--cyan); color: var(--bg); }
.cs__visual[data-step="4"] .gen__doc { animation: slidein .45s calc(var(--i) * .25s + .8s) forwards; }
@media (max-width: 760px) {
    .chaos span { font-size: 11px; padding: 8px 10px; }
    .gen { transform: scale(.78); }
}

/* Alje: conta complicada */
.calc { width: min(100%, 380px); display: grid; gap: 12px; }
.calc p { margin: 0; display: flex; justify-content: space-between; padding: 14px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-2);
    font: 15px var(--mono); opacity: 0; transform: translateY(12px); }
.calc b { color: #febc2e; }
.calc__hard { border-color: rgba(255,95,87,.5) !important; }
.calc__hard b { color: inherit; font-size: 20px; }
.cs__visual[data-step="2"] .calc p { animation: slidein .45s calc(var(--i) * .3s + .2s) forwards; }
.cs__visual[data-step="2"] .calc__hard { animation: slidein .45s 1.4s forwards, shake .5s 2s 2 !important; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.duo { display: flex; align-items: flex-end; gap: 34px; }
.duo .bars { height: 260px; gap: 14px; padding-bottom: 0; }
.duo .bar { width: 52px; }
.cs__visual[data-step="3"] .tx { animation: slidein .45s calc(var(--i) * .3s + .2s) forwards; }

/* DocCAD: redesenhando */
.redraw { display: flex; align-items: center; gap: 18px; width: 100%; justify-content: center; }
.redraw__paper { width: 170px; flex: none; padding: 10px; border-radius: 6px; background: #f7f3e8; transform: rotate(-4deg); box-shadow: 0 20px 40px -14px rgba(0,0,0,.7); }
.redraw__paper path { fill: none; stroke: #2d3a8c; stroke-width: 4; }
.redraw__paper text { font: italic 26px "Marker Felt", cursive; fill: #2d3a8c; }
.redraw__arrow { font: 12px var(--mono); color: var(--muted); white-space: nowrap; }
.redraw .cad { position: relative; }
.redraw__line { stroke-dasharray: 100; stroke-dashoffset: 100; }
.cs__visual[data-step="2"] .redraw__line { animation: slowdraw 6s linear infinite; }
@keyframes slowdraw { 0% { stroke-dashoffset: 100; } 80%, 100% { stroke-dashoffset: 45; } }
.redraw__q { position: absolute; right: 12px; bottom: 12px; font: 12px var(--mono); color: #febc2e; padding: 4px 8px; border: 1px dashed #febc2e; border-radius: 6px; opacity: 0; }
.cs__visual[data-step="2"] .redraw__q { animation: blinkq 1.4s 1s infinite; }
@keyframes blinkq { 50% { opacity: 1; } }
.plan__late { opacity: 0; }
.cs__visual[data-step="3"] .plan__late { animation: slidein .6s 2.2s forwards; }
.cs__visual[data-step="3"] .plan--draw .plan__walls path { stroke-dashoffset: 1200; animation: draw-walls 2s .2s ease forwards; }
.cs__visual[data-step="3"] .plan__area { animation: area 2.4s 2.6s infinite alternate; }
.cs__visual[data-step="3"] .plan__areatxt { animation: slidein .5s 2.8s forwards; }
@media (max-width: 760px) {
    .duo { transform: scale(.72); gap: 18px; }
    .redraw { transform: scale(.8); }
}
@media (max-width: 760px) {
    .chips { display: none; }
}

/* ===== Portfólio em formato de livro ===== */
.book { display: grid; grid-template-columns: 1fr 1fr; gap: 0; position: relative; overflow: hidden; outline: none;
    border: 1px solid var(--line-2); border-radius: 26px; perspective: 1800px;
    background: linear-gradient(90deg, #0c2430 0%, #0b222d 48%, #071a23 50%, var(--bg-2) 100%);
    box-shadow: 0 50px 100px -40px rgba(0,0,0,.9), 0 0 120px -50px rgba(1,173,207,.35); }
.book:focus-visible { box-shadow: 0 0 0 2px var(--cyan); }
/* lombada */
.book::after { content: ""; position: absolute; left: 50%; top: 0; bottom: 64px; width: 60px; transform: translateX(-50%); pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,.4) 45%, rgba(255,255,255,.04) 52%, transparent); }
/* brilho de página virando */
.book::before { content: ""; position: absolute; top: 0; bottom: 64px; left: 0; width: 50%; z-index: 3; pointer-events: none; opacity: 0;
    background: linear-gradient(90deg, transparent, rgba(1,173,207,.10) 60%, rgba(255,255,255,.08) 80%, transparent); }
.book.is-turning::before { animation: sheen .7s ease; }
.book[data-dir="prev"].is-turning::before { animation-name: sheen-back; }
@keyframes sheen { from { opacity: 1; transform: translateX(100%); } to { opacity: 0; transform: translateX(-30%); } }
@keyframes sheen-back { from { opacity: 1; transform: translateX(-20%); } to { opacity: 0; transform: translateX(110%); } }

.book .cs__beats { display: grid; padding: 60px 64px 48px; align-content: center; }
.book .beat { grid-area: 1 / 1; min-height: 0; padding: 0; justify-content: flex-start;
    opacity: 0; visibility: hidden; transform-origin: right center; transform: rotateY(14deg) translateX(-24px);
    transition: opacity .45s ease, transform .65s cubic-bezier(.2,.7,.2,1), visibility 0s .65s; }
.book[data-dir="prev"] .beat:not(.is-active) { transform-origin: left center; transform: rotateY(-14deg) translateX(24px); }
.book .beat.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .12s, .12s, 0s; }
.book .beat h3 { font-size: clamp(26px, 2.8vw, 36px); }
.beat__cta { margin-top: 24px; }

.book .cs__visual { position: relative; top: 0; height: 500px; max-height: none; }

.book__nav { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px;
    height: 64px; padding: 0 18px; border-top: 1px solid var(--line); background: rgba(3,17,25,.55); position: relative; z-index: 4; }
.book__dots { display: flex; gap: 8px; }
.book__dot { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; cursor: pointer;
    border: 1px solid var(--line-2); background: none; color: var(--muted); font: 500 13px var(--font); transition: all .25s; }
.book__dot b { font: 500 11px var(--mono); color: var(--cyan); }
.book__dot:hover { border-color: rgba(1,173,207,.5); color: var(--text); }
.book__dot[aria-current="step"] { border-color: var(--cyan); background: rgba(1,173,207,.14); color: var(--text); }
.book__arrow { height: 44px; min-width: 44px; padding: 0 12px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    cursor: pointer; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); transition: all .25s; font: 600 14px var(--font); }
.book__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.book__arrow:hover:not(:disabled) { border-color: var(--cyan); color: var(--cyan); }
.book__arrow--next:not(:disabled) { background: var(--cyan); border-color: var(--cyan); color: var(--bg); }
.book__arrow--next:hover:not(:disabled) { color: var(--bg); transform: translateX(2px); box-shadow: 0 8px 24px -8px rgba(1,173,207,.7); }
.book__arrow:disabled { opacity: .3; cursor: default; }
.book__nexttxt { display: none; padding-left: 6px; }
.book__arrow.is-last .book__nexttxt { display: inline; }
.book__arrow.is-last:disabled .book__nexttxt { display: none; }
.cs { padding-bottom: 80px; }

@media (max-width: 980px) {
    .book { grid-template-columns: 1fr; background: linear-gradient(180deg, var(--bg-2), #0b222d); }
    .book::after, .book::before { display: none; }
    .book .cs__visual { order: -1; position: relative; top: 0; height: 320px; margin: 0; padding: 0; background: none; border-bottom: 1px solid var(--line); }
    .book .cs__beats { padding: 30px 24px 28px; }
    .book .beat { transform: translateX(-30px); }
    .book[data-dir="prev"] .beat:not(.is-active) { transform: translateX(30px); }
    .book__dot span { display: none; }
    .book__dot { padding: 8px 10px; }
}
@media (max-width: 760px) {
    .book .cs__visual { height: 280px; }
    .book .beat h3 { font-size: 24px; }
    .book .beat p { font-size: 16.5px; }
    .book__dot b { font-size: 10px; }
    .book__nav { padding: 0 12px; }
}
@media (max-width: 980px) {
    .book .cs__beats { order: 1; }
    .book__nav { order: 0; border-top: 0; border-bottom: 1px solid var(--line); }
    .book__arrow.is-last .book__nexttxt { display: none; }
}

/* ===== Nossa história em formato de livro ===== */
.book .layer.is-current { opacity: 1; transform: none; }
.hb { padding: 70px 0 100px; border-top: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); scroll-margin-top: 80px; }
[data-book] .cs__beats { padding: 52px 56px 44px; }
[data-book] .cs__visual { height: 600px; }
[data-book] .beat h3 { font-size: clamp(26px, 2.6vw, 34px); margin: 12px 0 20px; }
[data-book] .beat p { font-size: 16.5px; line-height: 1.75; margin-bottom: 16px; color: #c3d0d6; }
[data-book] .beat p strong, [data-book] .beat p em { color: var(--text); }
[data-book] .beat .aside { padding: 14px 18px; border-radius: 14px; background: rgba(1,173,207,.06); border: 1px dashed rgba(1,173,207,.3); font-size: 15.5px; }
[data-book] .pull { margin: 6px 0 20px; padding: 18px 22px; font-size: 22px; }
[data-book] .sign { margin-top: 26px; font-weight: 600; font-size: 19px; color: var(--text); }
[data-book] .sign span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
[data-book] .layer .vis { max-width: 440px; }
[data-book] .vis--hub { max-width: 440px; }
.book__dot span { white-space: nowrap; }

.vis--end { aspect-ratio: 1; display: grid; place-items: center; align-content: center; gap: 30px; text-align: center; border-radius: 50%;
    background: radial-gradient(circle, rgba(1,173,207,.18), transparent 65%), var(--bg-2); }
.end__glow { width: 130px; height: 130px; border-radius: 34px; display: grid; place-items: center; background: #0a1820; border: 1px solid rgba(1,173,207,.5);
    animation: glow 3s infinite; }
.end__glow img { width: 70px; }
.end__photo { position: relative; width: min(180px, 36%); aspect-ratio: 4 / 5; border-radius: 26px; border: 1px solid rgba(1,173,207,.5); animation: glow 3s infinite; }
.end__photo > img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.end__badge { position: absolute; right: -16px; bottom: -16px; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #0a1820; border: 1px solid rgba(1,173,207,.5); }
.end__badge img { width: 30px; }
.vis--end:has(.end__photo) { gap: 26px; }
.vis--end:has(.end__photo) p { font-size: clamp(15px, 1.7vw, 20px); padding: 0 12%; }
.vis--end p { margin: 0; font-size: 22px; font-weight: 600; line-height: 1.3; }

@media (max-width: 1100px) {
    [data-book] .book__dot span { display: none; }
    [data-book] .book__dot { padding: 8px 10px; }
}
@media (max-width: 980px) {
    [data-book] .cs__visual { height: 360px; overflow: hidden; }
    [data-book] .layer .vis { transform: scale(.74); }
    [data-book] .cs__beats { padding: 28px 22px 26px; }
}
@media (max-width: 760px) {
    .hb { padding: 30px 0 60px; }
    .hb .container { width: calc(100% - 20px); }
    [data-book] .cs__visual { height: 320px; }
    [data-book] .layer .vis { transform: scale(.66); }
    [data-book] .book__dot { padding: 6px 8px; }
    [data-book] .book__dots { gap: 4px; }
    [data-book] .book__arrow { min-width: 40px; height: 40px; }
}
/* barra do livro acompanha a leitura */
.book { overflow: clip; }
.book__nav { position: sticky; bottom: 0; background: rgba(3,17,25,.88); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 0 0 26px 26px; }
@media (max-width: 980px) { .book__nav { position: relative; border-radius: 0; } }

/* ===== Livro v2: páginas curtas e cenas contínuas ===== */
[data-book].book { height: clamp(520px, calc(100vh - 120px), 660px); grid-template-rows: 1fr auto; }
[data-book] .cs__beats { padding: 44px 52px 30px; overflow: hidden; align-content: center; }
[data-book] .cs__visual { height: auto; min-height: 0; }
[data-book] .beat__label { font-size: 12px; }
[data-book] .beat h3 { font-size: clamp(28px, 2.8vw, 38px); margin: 14px 0 20px; }
[data-book] .beat p { font-size: 17.5px; line-height: 1.75; }
[data-book] .layer { padding: 26px; }
.hb { padding: 50px 0 80px; }

/* nav com capítulos, contador e barra */
.book__mid { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.book__meta { display: flex; align-items: center; gap: 10px; font: 11px var(--mono); color: var(--muted); }
.book__bar { width: 140px; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.book__bar i { display: block; height: 100%; background: var(--cyan); transform-origin: left; transition: transform .5s ease; }
[data-book] .book__nav { height: 78px; }
[data-book] .book__dot { padding: 6px 12px; font-size: 12.5px; }

/* sequência genérica */
[data-book] .s { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .55s cubic-bezier(.2,.8,.3,1.2); }
[data-book] .s.on { opacity: 1; transform: none; }

/* sobrescreve as versões antigas (rolagem) dentro do livro */
[data-book] .is-playing .ver.s:not(.on), [data-book] .ver__years.s:not(.on) { opacity: 0; transform: translateY(16px); }
[data-book] .ver.s.on, [data-book] .ver__years.s.on { opacity: 1; transform: none; transition-delay: 0s; }
[data-book] .vis--timeline ol::after { display: none; }
[data-book] .vis--timeline li.s:not(.on) { opacity: .18; transform: translateX(-8px); transition-delay: 0s; }
[data-book] .vis--timeline li.s.on { opacity: 1; transform: none; transition-delay: 0s; }
[data-book] .vis--timeline li.s.on b { border-color: var(--cyan); box-shadow: 0 0 24px -4px rgba(1,173,207,.7); }
.tl__year small { font-size: 20px; color: var(--muted); font-weight: 500; }
[data-book] .vis--timeline { padding: 26px 30px 30px; }
[data-book] .vis--timeline ol { gap: 12px; }
[data-book] .tl__year { font-size: 48px; margin-bottom: 18px; }
[data-book] .is-playing .hub__mod:not(.on) { opacity: 0; border-color: var(--line-2);
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(-160px) rotate(calc(-1 * var(--a))) scale(.6); transition-delay: 0s; }
[data-book] .hub__mod.on { opacity: 1; border-color: rgba(1,173,207,.55); transition-delay: 0s;
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(-160px) rotate(calc(-1 * var(--a))) scale(1); }
[data-book] .msg.s, [data-book] .typing.s { animation: none !important; }
[data-book] .typing.s:not(.on) { display: none; }
[data-book] .ig__comments p.s { animation: none !important; }

/* 1: aparelho */
.vis--gadget { aspect-ratio: 1; display: grid; place-items: center; background: radial-gradient(circle, rgba(1,173,207,.12), transparent 60%), var(--bg-2); }
.gadget { position: relative; width: 200px; height: 140px; }
.gd { position: absolute; animation: explode 4.5s ease-in-out infinite; }
.gd--board { inset: 0; border-radius: 14px; background: #0f3b44; border: 2px solid #1d6672; animation: none; }
.gd--board i { position: absolute; height: 2px; background: #3fb7c9; opacity: .6; }
.gd--board i:nth-child(1) { left: 20px; right: 90px; top: 40px; } .gd--board i:nth-child(2) { left: 110px; right: 20px; top: 90px; } .gd--board i:nth-child(3) { left: 40px; width: 2px; height: 60px; top: 50px; }
.gd--chip { left: 70px; top: 40px; width: 60px; height: 60px; border-radius: 8px; background: #1B262C; border: 2px solid var(--cyan); display: grid; place-items: center; font: 600 12px var(--mono); color: var(--cyan); }
.gd--batt { left: 140px; top: 20px; width: 40px; height: 26px; border-radius: 5px; background: #febc2e; }
.gd--cover { left: -6px; top: -6px; width: 212px; height: 152px; border-radius: 16px; background: rgba(232,232,232,.08); border: 2px solid rgba(232,232,232,.5); }
.gd--screw { width: 14px; height: 14px; border-radius: 50%; background: #c3d0d6; left: 93px; top: 63px; }
.gd--screw::after { content: ""; position: absolute; left: 3px; right: 3px; top: 6px; height: 2px; background: #1B262C; }
@keyframes explode { 0%, 15% { transform: none; } 45%, 70% { transform: translate(var(--dx), var(--dy)) rotate(var(--r)); } 100% { transform: none; } }
.gadget__q { position: absolute; bottom: 14%; font: 600 15px var(--mono); color: var(--cyan); animation: pulseq 4.5s infinite; }
@keyframes pulseq { 0%, 30% { opacity: 0; } 45%, 75% { opacity: 1; } 90%, 100% { opacity: 0; } }

/* 2: crachá */
.vis--badge { max-width: 300px !important; padding: 36px 26px 30px; border-radius: 20px; background: linear-gradient(180deg, #0f2a36, #0a1c25); text-align: center; overflow: visible; }
.badge__clip { position: absolute; top: -14px; left: 50%; width: 60px; height: 22px; margin-left: -30px; border-radius: 6px; background: #2b4552; }
.badge__top { font: 600 12px var(--mono); letter-spacing: .3em; color: var(--cyan); }
.badge__avatar { width: 84px; height: 84px; margin: 16px auto 18px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 700;
    background: radial-gradient(circle at 30% 30%, #1aa9c4, #0a5f70); color: #fff; }
.vis--badge p { display: flex; justify-content: space-between; margin: 0 0 8px; padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,.04); font-size: 13px; }
.vis--badge p i { font-style: normal; color: var(--muted); } .vis--badge .warn { color: #febc2e; }
.badge__stamp { position: absolute; right: -14px; bottom: 24px; padding: 6px 14px; border: 3px solid #3ddc97; color: #3ddc97; border-radius: 8px; font-weight: 700; transform: rotate(-12deg) !important; }
[data-book] .badge__stamp.s:not(.on) { transform: rotate(-12deg) scale(1.8) !important; }

/* 3: código */
.vis--code pre { margin: 0; padding: 22px 24px; min-height: 260px; font: 14.5px/1.9 var(--mono); color: #b9cbd3; white-space: pre; }
.vis--code b { color: #ff7ab2; font-weight: 500; } .vis--code em { color: var(--text); font-style: normal; } .vis--code u { color: #5d7480; text-decoration: none; }
[data-book] .vis--code .s { display: inline; transform: none; }

/* 5: notificações */
.vis--notif { max-width: 340px !important; padding: 22px 16px 26px; border-radius: 34px; background: linear-gradient(180deg, #102a36, #071820); display: grid; gap: 10px; }
.notif__time { text-align: center; font-size: 34px; font-weight: 300; margin-bottom: 6px; }
.notif { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgba(232,232,232,.08); backdrop-filter: blur(8px); }
.notif b { font-size: 22px; } .notif strong { display: block; font-size: 13px; } .notif span { font-size: 13px; color: #c3d0d6; }
.notif__badge { justify-self: center; margin-top: 6px; padding: 8px 14px; border-radius: 999px; background: var(--cyan); color: var(--bg); font-weight: 700; font-size: 13px; }

/* 6: hacker */
.vis--hack { background: #000; border-color: #0f3; aspect-ratio: 1; box-shadow: 0 0 80px -20px rgba(0,255,80,.4); }
.rain { position: absolute; inset: 0; display: flex; justify-content: space-around; overflow: hidden; opacity: .35; }
.rain span { writing-mode: vertical-rl; text-orientation: upright; font: 13px/1 var(--mono); color: #00ff66; letter-spacing: 2px; animation: rain var(--s) linear infinite; animation-delay: var(--d); }
@keyframes rain { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
.hack__term { position: absolute; left: 22px; right: 22px; bottom: 22px; padding: 16px 18px; background: rgba(0,0,0,.85); border: 1px solid #0f3; border-radius: 8px; font: 13.5px/1.8 var(--mono); color: #00ff66; }
.hack__term p { margin: 0; }
.hack__err { color: #ff5f57 !important; font-weight: 700; }
.hack__sad { color: #8fa3ad !important; font-size: 12px; }

/* 7: cozinha */
.vis--kitchen { display: grid; grid-template-rows: 1fr 1fr; aspect-ratio: 1; }
.kt { position: relative; display: grid; place-items: center; }
.kt--front { background: rgba(232,232,232,.04); border-bottom: 1px dashed var(--line-2); }
.kt__label { position: absolute; top: 12px; left: 16px; font: 11px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.plate { width: 150px; height: 96px; border-radius: 12px; background: #f4f7f8; padding: 16px; display: grid; gap: 8px; align-content: start; animation: float 3s ease-in-out infinite; }
.plate i { height: 8px; border-radius: 4px; background: #d5dee2; } .plate i:first-child { width: 60%; background: #1B262C; }
.plate b { height: 18px; width: 70px; border-radius: 5px; background: var(--cyan); }
@keyframes float { 50% { transform: translateY(-6px); } }
.gears { position: relative; width: 150px; height: 100px; }
.gears i { position: absolute; border-radius: 50%; border: 8px dotted var(--cyan); animation: spin 4s linear infinite; }
.gears .g1 { width: 70px; height: 70px; left: 10px; top: 14px; }
.gears .g2 { width: 50px; height: 50px; left: 76px; top: 0; animation-direction: reverse; animation-duration: 3s; border-color: #5fd8f0; }
.gears .g3 { width: 40px; height: 40px; left: 86px; top: 54px; animation-duration: 2.4s; border-color: #2b8ea0; }
.flow { position: absolute; right: 26px; top: 40px; display: grid; gap: 8px; }
.flow span { width: 70px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--cyan), transparent); animation: flow 1.6s linear infinite; }
.flow span:nth-child(2) { animation-delay: .3s; width: 50px; } .flow span:nth-child(3) { animation-delay: .6s; } .flow span:nth-child(4) { animation-delay: .9s; width: 40px; }
@keyframes flow { from { transform: translateX(-20px); opacity: 0; } 50% { opacity: 1; } to { transform: translateX(20px); opacity: 0; } }

/* 9: escritório */
.vis--office { aspect-ratio: 1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 30px; gap: 10px; }
.office__house { width: 100%; }
.office__house path { fill: none; stroke: var(--cyan); stroke-width: 4; stroke-linejoin: round; stroke-dasharray: 100; animation: drawhouse 5s ease-in-out infinite; }
@keyframes drawhouse { 0% { stroke-dashoffset: 100; } 40%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 100; } }
.office__name { position: absolute; left: 30px; bottom: 30px; font: 12px var(--mono); color: var(--muted); }
.office__pile { display: flex; flex-direction: column-reverse; gap: 4px; }
.office__pile span { padding: 8px 12px; border-radius: 6px; background: #eef3f5; color: #1B262C; font-size: 12px; font-weight: 600; box-shadow: 0 6px 12px -6px rgba(0,0,0,.6); }
.office__pile span:nth-child(odd) { transform: rotate(-2deg); } .office__pile span:nth-child(even) { transform: rotate(2deg); }
[data-book] .office__pile .s:not(.on) { transform: translateY(-30px); }

/* 11: amnésia */
.vis--amnesia { min-height: 360px; }
.amn__form { padding: 24px; display: grid; gap: 14px; }
.amn__form label { display: grid; gap: 6px; font-size: 12px; color: var(--muted); }
.amn__form label span { padding: 10px 12px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--text); font-size: 14px; min-height: 40px; }
[data-book] .amn__form label span.s:not(.on) { color: transparent; }
.amn__btn { font-style: normal; justify-self: start; padding: 10px 16px; border-radius: 8px; background: var(--cyan); color: var(--bg); font-weight: 700; font-size: 13px; }
.amn__pdf { justify-self: start; padding: 8px 12px; border-radius: 8px; border: 1px dashed var(--line-2); font: 12px var(--mono); }
.amn__close { position: absolute; top: 12px; right: 14px; font: 12px var(--mono); color: #ff8a8a; }
.amn__gone { position: absolute; inset: 44px 0 0; display: grid; place-content: center; text-align: center; gap: 6px; background: rgba(6,26,36,.96); }
.amn__gone strong { font-size: 26px; } .amn__gone span { color: var(--muted); }

/* 13: internet */
.vis--cloud { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(1,173,207,.14), transparent 65%), var(--bg-2); }
.cloud { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 70px; text-align: center; z-index: 2; line-height: 1; }
.cloud span { display: block; font: 600 12px var(--mono); color: #3ddc97; margin-top: 4px; }
.dev { position: absolute; left: 50%; top: 50%; font-size: 38px; z-index: 2;
    transform: translate(-50%, -50%) rotate(var(--a)) translateY(-150px) rotate(calc(-1 * var(--a))); animation: bob 3s ease-in-out infinite; }
.dev:nth-child(3) { animation-delay: .5s; } .dev:nth-child(4) { animation-delay: 1s; } .dev:nth-child(5) { animation-delay: 1.5s; }
@keyframes bob { 50% { margin-top: -8px; } }
.links { position: absolute; inset: 0; }
.links path { fill: none; stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 6 8; animation: dash 1s linear infinite; opacity: .7; }
@keyframes dash { to { stroke-dashoffset: -28; } }

/* 15: marca */
.vis--brand { aspect-ratio: 1; display: grid; place-content: center; justify-items: center; gap: 14px; background: radial-gradient(circle, rgba(1,173,207,.16), transparent 65%), var(--bg-2); }
.brand__from { font: 600 16px var(--mono); color: var(--muted); padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 999px; }
.brand__arrow { font-size: 26px; color: var(--cyan); }
.brand__sym { width: 110px; height: 110px; border-radius: 30px; display: grid; place-items: center; background: #0a1820; border: 1px solid rgba(1,173,207,.5); box-shadow: 0 0 60px -6px rgba(1,173,207,.7); }
.brand__sym img { width: 60px; }
[data-book] .brand__sym.s:not(.on) { transform: scale(.3) rotate(-20deg); }
.brand__word { width: 230px; }

/* 17: saiu de casa */
.vis--out { aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(1,173,207,.14), transparent 65%), var(--bg-2); }
.out__home { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 64px; text-align: center; line-height: 1; }
.out__home span { display: block; font: 12px var(--mono); color: var(--muted); margin-top: 6px; }
.out__card { position: absolute; left: 50%; top: 50%; padding: 10px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap;
    background: #0d2530; border: 1px solid rgba(1,173,207,.55); box-shadow: 0 0 30px -10px rgba(1,173,207,.6);
    transform: translate(-50%, -50%) translate(var(--x), var(--y)) !important; }
[data-book] .out__card.s:not(.on) { transform: translate(-50%, -50%) scale(.4) !important; }

/* 18: ironia */
.vis--irony { aspect-ratio: 1; display: grid; grid-template-columns: 1fr 1fr; }
.ir { position: relative; display: grid; place-items: center; }
.ir--then { border-right: 1px dashed var(--line-2); background: rgba(255,95,87,.04); }
.ir--now { background: rgba(61,220,151,.05); }
.ir__label { position: absolute; top: 16px; font: 600 13px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.ir__bin, .ir__folder { font-size: 64px; margin-top: 90px; }
.ir__file { position: absolute; font-size: 28px; top: 30%; }
.ir--then .ir__file { animation: tobin 3s ease-in infinite; }
.ir--then .f1 { left: 25%; } .ir--then .f2 { left: 45%; animation-delay: 1s; } .ir--then .f3 { left: 62%; animation-delay: 2s; }
@keyframes tobin { 0% { transform: translateY(-40px); opacity: 0; } 20% { opacity: 1; } 70% { transform: translateY(80px) rotate(40deg); opacity: 1; } 85%, 100% { transform: translateY(100px) scale(.3); opacity: 0; } }
.ir--now .ir__file { animation: tofolder 3s ease-in-out infinite; }
.ir--now .g1 { left: 22%; } .ir--now .g2 { left: 44%; animation-delay: 1s; } .ir--now .g3 { left: 64%; animation-delay: 2s; }
@keyframes tofolder { 0% { transform: translateY(-40px); opacity: 0; } 20% { opacity: 1; } 75% { transform: translateY(80px); opacity: 1; } 90%, 100% { transform: translateY(90px) scale(.5); opacity: 0; } }
.ir__ok { position: absolute; bottom: 18%; color: #3ddc97; font-size: 14px; }

/* responsivo do livro v2 */
@media (max-width: 980px) {
    [data-book].book { height: auto; }
    [data-book] .cs__visual { height: 340px; }
    [data-book] .beat p { font-size: 16.5px; }
    [data-book] .book__nav { height: auto; padding: 10px 12px; }
    [data-book] .book__bar { width: 100px; }
}
@media (max-width: 760px) {
    [data-book] .cs__visual { height: 300px; }
    [data-book] .layer .vis { transform: scale(.68); }
    [data-book] .beat h3 { font-size: 26px; }
}
@media (max-width: 760px) {
    [data-book] .book__dots { display: none; }
    [data-book] .book__nav { min-width: 0; }
    [data-book].book { grid-template-columns: minmax(0, 1fr); }
    [data-book] .book__count { font-size: 12px; }
}

/* ---------- Prints reais animados (portfólio) ---------- */
.shots { width: 100%; display: grid; gap: 14px; }
.shots__stage { position: relative; aspect-ratio: 1905 / 829; overflow: hidden; background: #f4f7f8; }
.window .shots__stage img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top left; }
.shot { opacity: 0; transform-origin: var(--o, 50% 50%); }
.shot:first-child { opacity: 1; }
.cs__visual[data-step="3"] .shot { animation: shotShow 12s calc(var(--i) * 3s) infinite both; }
@keyframes shotShow {
    0%   { opacity: 0; transform: scale(1); }
    3%   { opacity: 1; }
    25%  { opacity: 1; transform: scale(1.35); }
    28%, 100% { opacity: 0; transform: scale(1.35); }
}
.shots__cursor { position: absolute; left: 60%; top: 85%; width: 22px; height: 22px; opacity: 0; z-index: 2; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 22'%3E%3Cpath d='M1 1v17l4.5-4.5 3 7 3-1.3-3-6.8H15z' fill='%23fff' stroke='%23031119' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat; }
.cs__visual[data-step="3"] .shots__cursor { animation: shotCursor 12s infinite both; }
@keyframes shotCursor {
    0%, 52% { opacity: 0; left: 62%; top: 85%; transform: none; }
    55% { opacity: 1; left: 62%; top: 85%; }
    63% { left: 88.7%; top: 29.4%; transform: none; }
    65% { transform: scale(.75); }
    67% { transform: none; }
    73% { opacity: 1; left: 88.7%; top: 29.4%; }
    76%, 100% { opacity: 0; left: 88.7%; top: 29.4%; }
}
.shots__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.shots__steps li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 13px; line-height: 1.25; color: var(--muted);
    border: 1px solid var(--line); background: rgba(11,34,45,.5); }
.shots__steps b { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; background: #12303c; color: var(--cyan); }
.cs__visual[data-step="3"] .shots__steps li { animation: stepOn 12s calc(var(--i) * 3s) infinite both; }
.cs__visual[data-step="3"] .shots__steps b { animation: stepDot 12s calc(var(--i) * 3s) infinite both; }
@keyframes stepOn { 0% { color: var(--muted); border-color: var(--line); background: rgba(11,34,45,.5); } 1%, 27% { color: var(--text); border-color: rgba(1,173,207,.6); background: rgba(1,173,207,.12); } 28%, 100% { color: var(--muted); border-color: var(--line); background: rgba(11,34,45,.5); } }
@keyframes stepDot { 0% { background: #12303c; color: var(--cyan); } 1%, 27% { background: var(--cyan); color: var(--bg); } 28%, 100% { background: #12303c; color: var(--cyan); } }

.shot-zoom { transform-origin: var(--o, 50% 50%); }
.cs__visual[data-step="4"] .shot-zoom { animation: shotZoom 9s .6s ease-in-out infinite both; }
@keyframes shotZoom { 0%, 12% { transform: scale(1); } 40%, 80% { transform: scale(2.1); } 100% { transform: scale(1); } }
.shots__badge { justify-self: center; display: flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
    background: rgba(6,26,36,.92); border: 1px solid rgba(61,220,151,.4); opacity: 0; transform: translateY(10px); }
.shots__badge b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: #3ddc97; color: #04241a; }
.cs__visual[data-step="4"] .shots__badge { animation: slidein .5s 1.4s forwards; }

.layer .tablet--portrait { width: auto; height: 100%; padding: 12px; border-radius: 26px; }
.tablet__screen { height: 100%; aspect-ratio: 900 / 1295; overflow: hidden; border-radius: 12px; background: #fff; }
.tablet__screen img { width: 100%; height: 100%; object-fit: cover; transform-origin: 48% 42%; }
.cs__visual[data-step="4"] .shot-pan { animation: shotPan 10s .4s ease-in-out infinite both; }
@keyframes shotPan { 0%, 10% { transform: scale(1); } 40% { transform: scale(1.7) translate(4%, 8%); } 70% { transform: scale(1.7) translate(-2%, -10%); } 92%, 100% { transform: scale(1); } }

@media (max-width: 760px) {
    .shots__steps { grid-template-columns: 1fr 1fr; gap: 6px; }
    .shots__steps li { font-size: 12px; padding: 6px 8px; }
    .shots__badge { font-size: 12.5px; padding: 8px 14px; }
}
.badge-float { position: absolute; left: 0; right: 0; bottom: 7%; display: flex; justify-content: center; }
.badge-float .shots__badge { box-shadow: 0 14px 30px -10px rgba(0,0,0,.8); }

/* ---------- DocCAD desenhando (gerado: linha do tempo de 20s) ---------- */
.dc { position: relative; height: 100%; aspect-ratio: 900 / 1295; overflow: hidden; border-radius: 12px; background: #fff; }
.dc img, .dc svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.dc-wall { fill: none; stroke: #111; stroke-width: 6; stroke-linecap: square; stroke-dasharray: 100; stroke-dashoffset: 0; }
.dc-off { fill: none; stroke: #111; stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: 0; }
.dc-dim { fill: none; stroke: #01799a; stroke-width: 2.5; }
.dc-dimt { font: 600 24px var(--font); fill: #01799a; text-anchor: middle; }
.dc-area { fill: rgba(1,173,207,.18); stroke: #01ADCF; stroke-width: 3; stroke-dasharray: 10 7; }
.dc-areat { font: 700 28px var(--font); fill: #01799a; text-anchor: middle; }
.dc-room { font: 500 24px var(--font); fill: #3b4a52; text-anchor: middle; }
.dc-tool { fill: rgba(1,173,207,.35); stroke: #01ADCF; stroke-width: 2.5; }
.dcg-tool { opacity: 0; }
@keyframes dt1 { 0%, 0.50% { opacity: 0; } 1.50%, 11.00% { opacity: 1; } 12.00%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dt1 { animation: dt1 20s linear infinite both; }
@keyframes dw1 { 0%, 1.50% { stroke-dashoffset: 100; opacity: 1; } 8.50%, 92.00% { stroke-dashoffset: 0; opacity: 1; } 94.50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cs__visual[data-step="3"] .dw1 path { animation: dw1 20s linear infinite both; }
@keyframes dw2 { 0%, 8.50% { stroke-dashoffset: 100; opacity: 1; } 10.00%, 92.00% { stroke-dashoffset: 0; opacity: 1; } 94.50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cs__visual[data-step="3"] .dw2 path { animation: dw2 20s linear infinite both; }
@keyframes dt2 { 0%, 11.00% { opacity: 0; } 12.00%, 20.00% { opacity: 1; } 21.00%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dt2 { animation: dt2 20s linear infinite both; }
@keyframes dw3 { 0%, 12.00% { stroke-dashoffset: 100; opacity: 1; } 18.00%, 92.00% { stroke-dashoffset: 0; opacity: 1; } 94.50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cs__visual[data-step="3"] .dw3 path { animation: dw3 20s linear infinite both; }
@keyframes dt3 { 0%, 20.00% { opacity: 0; } 21.00%, 26.00% { opacity: 1; } 27.00%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dt3 { animation: dt3 20s linear infinite both; }
@keyframes dt4 { 0%, 26.00% { opacity: 0; } 27.00%, 43.00% { opacity: 1; } 44.00%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dt4 { animation: dt4 20s linear infinite both; }
@keyframes dw4 { 0%, 27.00% { stroke-dashoffset: 100; opacity: 1; } 29.25%, 92.00% { stroke-dashoffset: 0; opacity: 1; } 94.50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cs__visual[data-step="3"] .dw4 path { animation: dw4 20s linear infinite both; }
@keyframes dw5 { 0%, 29.50% { stroke-dashoffset: 100; opacity: 1; } 31.75%, 92.00% { stroke-dashoffset: 0; opacity: 1; } 94.50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cs__visual[data-step="3"] .dw5 path { animation: dw5 20s linear infinite both; }
@keyframes dw6 { 0%, 32.00% { stroke-dashoffset: 100; opacity: 1; } 34.25%, 92.00% { stroke-dashoffset: 0; opacity: 1; } 94.50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cs__visual[data-step="3"] .dw6 path { animation: dw6 20s linear infinite both; }
@keyframes dw7 { 0%, 34.50% { stroke-dashoffset: 100; opacity: 1; } 36.75%, 92.00% { stroke-dashoffset: 0; opacity: 1; } 94.50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cs__visual[data-step="3"] .dw7 path { animation: dw7 20s linear infinite both; }
@keyframes dw8 { 0%, 37.00% { stroke-dashoffset: 100; opacity: 1; } 39.25%, 92.00% { stroke-dashoffset: 0; opacity: 1; } 94.50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cs__visual[data-step="3"] .dw8 path { animation: dw8 20s linear infinite both; }
@keyframes dw9 { 0%, 39.50% { stroke-dashoffset: 100; opacity: 1; } 41.75%, 92.00% { stroke-dashoffset: 0; opacity: 1; } 94.50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cs__visual[data-step="3"] .dw9 path { animation: dw9 20s linear infinite both; }
@keyframes dt5 { 0%, 43.00% { opacity: 0; } 44.00%, 49.00% { opacity: 1; } 50.00%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dt5 { animation: dt5 20s linear infinite both; }
@keyframes dwo { 0%, 44.00% { stroke-dashoffset: 100; opacity: 1; } 48.50%, 92.00% { stroke-dashoffset: 0; opacity: 1; } 94.50%, 100% { stroke-dashoffset: 0; opacity: 0; } }
.cs__visual[data-step="3"] .dwo path { animation: dwo 20s linear infinite both; }
@keyframes dt6 { 0%, 49.00% { opacity: 0; } 50.00%, 63.00% { opacity: 1; } 64.00%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dt6 { animation: dt6 20s linear infinite both; }
@keyframes dd1 { 0%, 50.00% { opacity: 0; transform: translateY(6px); } 52.00%, 92.00% { opacity: 1; transform: none; } 94.50%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dd1 { animation: dd1 20s linear infinite both; }
@keyframes dd2 { 0%, 53.00% { opacity: 0; transform: translateY(6px); } 55.00%, 92.00% { opacity: 1; transform: none; } 94.50%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dd2 { animation: dd2 20s linear infinite both; }
@keyframes dd3 { 0%, 56.00% { opacity: 0; transform: translateY(6px); } 58.00%, 92.00% { opacity: 1; transform: none; } 94.50%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dd3 { animation: dd3 20s linear infinite both; }
@keyframes dd4 { 0%, 59.00% { opacity: 0; transform: translateY(6px); } 61.00%, 92.00% { opacity: 1; transform: none; } 94.50%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dd4 { animation: dd4 20s linear infinite both; }
@keyframes dt7 { 0%, 63.00% { opacity: 0; } 64.00%, 75.00% { opacity: 1; } 76.00%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dt7 { animation: dt7 20s linear infinite both; }
@keyframes da1 { 0%, 64.00% { opacity: 0; transform: translateY(6px); } 66.50%, 92.00% { opacity: 1; transform: none; } 94.50%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .da1 { animation: da1 20s linear infinite both; }
@keyframes da2 { 0%, 66.50% { opacity: 0; transform: translateY(6px); } 68.50%, 92.00% { opacity: 1; transform: none; } 94.50%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .da2 { animation: da2 20s linear infinite both; }
@keyframes dl0 { 0%, 66.50% { opacity: 0; transform: translateY(6px); } 68.00%, 92.00% { opacity: 1; transform: none; } 94.50%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dl0 { animation: dl0 20s linear infinite both; }
@keyframes dl1 { 0%, 68.00% { opacity: 0; transform: translateY(6px); } 69.50%, 92.00% { opacity: 1; transform: none; } 94.50%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dl1 { animation: dl1 20s linear infinite both; }
@keyframes dl2 { 0%, 69.50% { opacity: 0; transform: translateY(6px); } 71.00%, 92.00% { opacity: 1; transform: none; } 94.50%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dl2 { animation: dl2 20s linear infinite both; }
@keyframes dl3 { 0%, 71.00% { opacity: 0; transform: translateY(6px); } 72.50%, 92.00% { opacity: 1; transform: none; } 94.50%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dl3 { animation: dl3 20s linear infinite both; }
@keyframes dl4 { 0%, 72.50% { opacity: 0; transform: translateY(6px); } 74.00%, 92.00% { opacity: 1; transform: none; } 94.50%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dl4 { animation: dl4 20s linear infinite both; }
@keyframes dl5 { 0%, 74.00% { opacity: 0; transform: translateY(6px); } 75.50%, 92.00% { opacity: 1; transform: none; } 94.50%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dl5 { animation: dl5 20s linear infinite both; }
@keyframes dl6 { 0%, 75.50% { opacity: 0; transform: translateY(6px); } 77.00%, 92.00% { opacity: 1; transform: none; } 94.50%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .dl6 { animation: dl6 20s linear infinite both; }
@keyframes dw2 { 0%, 8.50% { stroke-dashoffset: 100; stroke: #111; opacity: 1; } 10.00%, 21.00% { stroke-dashoffset: 0; stroke: #111; opacity: 1; } 22.00%, 23.50% { stroke-dashoffset: 0; stroke: #e5484d; opacity: 1; } 25.00%, 100% { stroke-dashoffset: 0; stroke: #e5484d; opacity: 0; } }
.cs__visual[data-step="3"] .dw2 path { animation: dw2 20s linear infinite both; }
.dcg { transform-box: view-box; }

/* ---------- DocCAD: tocando em Exportar DXF (12s) ---------- */
.dxf { position: absolute; inset: 0; display: grid; place-items: center; }
.dxf .tablet--portrait { height: 100%; width: auto; }
.dxf__screen { position: relative; }
.dxf__screen img { position: absolute; inset: 0; }
.dxf__menu { opacity: 0; }
.dxf__hl { position: absolute; left: 1.4%; top: 18.6%; width: 26.6%; height: 3.6%; border-radius: 8px; background: rgba(1,173,207,.45); opacity: 0; }
.dxf__tap { position: absolute; left: 55%; top: 60%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; opacity: 0; z-index: 3;
    background: rgba(3,17,25,.28); border: 2px solid rgba(255,255,255,.95); box-shadow: 0 0 0 4px rgba(1,173,207,.35), 0 6px 16px rgba(0,0,0,.4); }
.dxf__file { position: absolute; left: 50%; top: 42%; z-index: 4; width: 84px; padding: 12px 8px; margin-left: -42px; border-radius: 10px; text-align: center;
    background: #eef3f5; color: #1B262C; box-shadow: 0 18px 40px -10px rgba(0,0,0,.7); opacity: 0; }
.dxf__file b { display: block; font-size: 20px; color: #01799a; }
.dxf__file span { font: 11px var(--mono); }
.dxf__cad { position: absolute; right: -2%; bottom: 20%; width: 52%; z-index: 3; border-radius: 12px; overflow: hidden; background: #212830; border: 1px solid #3a4651;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); opacity: 0; }
.dxf__cadimg { aspect-ratio: 4 / 3; overflow: hidden; background: #212830; }
.dxf__cadimg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transform: scale(1.5); filter: invert(1) hue-rotate(180deg) brightness(1.1); opacity: 0; }
.dxf__badge { opacity: 0; }

.cs__visual[data-step="4"] .dxf__tap { animation: dxTap 12s infinite both; }
.cs__visual[data-step="4"] .dxf__menu { animation: dxMenu 12s infinite both; }
.cs__visual[data-step="4"] .dxf__hl { animation: dxHl 12s infinite both; }
.cs__visual[data-step="4"] .dxf__file { animation: dxFile 12s infinite both; }
.cs__visual[data-step="4"] .dxf__cad { animation: dxCad 12s infinite both; }
.cs__visual[data-step="4"] .dxf__cadimg img { animation: dxCadImg 12s infinite both; }
.cs__visual[data-step="4"] .dxf__badge { animation: dxBadge 12s infinite both; }
@keyframes dxTap {
    0%, 6% { opacity: 0; left: 55%; top: 60%; transform: none; }
    9% { opacity: 1; left: 55%; top: 60%; }
    19% { left: 6.2%; top: 4.6%; transform: none; }
    21% { transform: scale(.7); } 23% { transform: none; }
    32% { left: 13%; top: 20.4%; transform: none; }
    34% { transform: scale(.7); } 36% { transform: none; }
    39% { opacity: 1; left: 13%; top: 20.4%; }
    42%, 100% { opacity: 0; left: 13%; top: 20.4%; }
}
@keyframes dxMenu { 0%, 22% { opacity: 0; } 24%, 38% { opacity: 1; } 41%, 100% { opacity: 0; } }
@keyframes dxHl { 0%, 34% { opacity: 0; } 35%, 38% { opacity: 1; } 41%, 100% { opacity: 0; } }
@keyframes dxFile {
    0%, 41% { opacity: 0; transform: scale(.4); }
    46% { opacity: 1; transform: scale(1); }
    50% { opacity: 1; transform: scale(1); }
    60% { opacity: 1; transform: translate(120px, 90px) scale(.7); }
    64%, 100% { opacity: 0; transform: translate(120px, 90px) scale(.5); }
}
@keyframes dxCad { 0%, 48% { opacity: 0; transform: translateX(40px); } 55%, 94% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes dxCadImg { 0%, 60% { opacity: 0; } 66%, 100% { opacity: 1; } }
@keyframes dxBadge { 0%, 64% { opacity: 0; transform: translateY(10px); } 68%, 94% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@media (max-width: 760px) {
    .dxf__cad { width: 56%; right: 0; }
    .dxf__file { width: 70px; margin-left: -35px; }
}

/* ---------- Vídeo do sistema Documentar Engenharia (gerado por tools/gen_video_de.py) ---------- */
.vid__stage { container-type: inline-size; }
.vid__cam { position: absolute; inset: 0; transform-origin: 0 0; }
.vid__scr { position: absolute; inset: 0; }
.window .vid__cam img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: top left; }
.vid__cov { position: absolute; transform-origin: right center; }
.vid__ph { opacity: 0; }
.vid__txt { position: absolute; transform: translateY(-50%); font: 400 0.68cqw "Plus Jakarta Sans", var(--font); color: #1e293b; white-space: nowrap; clip-path: inset(0 100% 0 0); }
.vid__cur { position: absolute; left: 50%; top: 70%; width: 1.3cqw; height: 1.8cqw; opacity: 0; z-index: 5; }
.vid__cur i { position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 22'%3E%3Cpath d='M1 1v17l4.5-4.5 3 7 3-1.3-3-6.8H15z' fill='%23fff' stroke='%23031119' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain; transform-origin: 0 0; }
.vid__cur s { position: absolute; left: -1.4cqw; top: -1.4cqw; width: 2.8cqw; height: 2.8cqw; border-radius: 50%; background: rgba(1,173,207,.45); opacity: 0; }
@keyframes vs0 { 0%, 12.12% { opacity: 1; } 12.31%, 98.08% { opacity: 0; } 100% { opacity: 1; } }
.cs__visual[data-step="3"] .vs0 { animation: vs0 26s linear infinite both; }
@keyframes vs1 { 0%, 12.12% { opacity: 0; } 12.31%, 44.04% { opacity: 1; } 44.23%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .vs1 { animation: vs1 26s linear infinite both; }
@keyframes vs2 { 0%, 44.04% { opacity: 0; } 44.23%, 63.27% { opacity: 1; } 63.46%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .vs2 { animation: vs2 26s linear infinite both; }
@keyframes vs3 { 0%, 63.27% { opacity: 0; } 63.46%, 74.81% { opacity: 1; } 75.00%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .vs3 { animation: vs3 26s linear infinite both; }
@keyframes vs4 { 0%, 74.81% { opacity: 0; } 75.00%, 98.08% { opacity: 1; } 99.62%, 100% { opacity: 0; } }
.cs__visual[data-step="3"] .vs4 { animation: vs4 26s linear infinite both; }
.vid__scr:not(.vs0) { opacity: 0; }
@keyframes vc0 { 0%, 15.96% { transform: scaleX(1); } 19.23%, 100% { transform: scaleX(0); } }
.cs__visual[data-step="3"] .vc0 { animation: vc0 26s infinite both; animation-timing-function: steps(21, end); }
@keyframes vc1 { 0%, 21.15% { transform: scaleX(1); } 23.08%, 100% { transform: scaleX(0); } }
.cs__visual[data-step="3"] .vc1 { animation: vc1 26s infinite both; animation-timing-function: steps(15, end); }
@keyframes vc2 { 0%, 24.62% { transform: scaleX(1); } 26.54%, 100% { transform: scaleX(0); } }
.cs__visual[data-step="3"] .vc2 { animation: vc2 26s infinite both; animation-timing-function: steps(13, end); }
@keyframes vc3 { 0%, 28.08% { transform: scaleX(1); } 29.81%, 100% { transform: scaleX(0); } }
.cs__visual[data-step="3"] .vc3 { animation: vc3 26s infinite both; animation-timing-function: steps(14, end); }
@keyframes vc4 { 0%, 30.38% { transform: scaleX(1); } 31.15%, 100% { transform: scaleX(0); } }
.cs__visual[data-step="3"] .vc4 { animation: vc4 26s infinite both; animation-timing-function: steps(7, end); }
@keyframes vc5 { 0%, 31.15% { transform: scaleX(1); } 31.92%, 100% { transform: scaleX(0); } }
.cs__visual[data-step="3"] .vc5 { animation: vc5 26s infinite both; animation-timing-function: steps(6, end); }
@keyframes vc6 { 0%, 31.92% { transform: scaleX(1); } 32.88%, 100% { transform: scaleX(0); } }
.cs__visual[data-step="3"] .vc6 { animation: vc6 26s infinite both; animation-timing-function: steps(10, end); }
@keyframes vc7 { 0%, 33.08% { transform: scaleX(1); } 33.85%, 100% { transform: scaleX(0); } }
.cs__visual[data-step="3"] .vc7 { animation: vc7 26s infinite both; animation-timing-function: steps(9, end); }
@keyframes vc8 { 0%, 33.85% { transform: scaleX(1); } 35.00%, 100% { transform: scaleX(0); } }
.cs__visual[data-step="3"] .vc8 { animation: vc8 26s infinite both; animation-timing-function: steps(17, end); }
@keyframes vc9 { 0%, 35.00% { transform: scaleX(1); } 35.38%, 100% { transform: scaleX(0); } }
.cs__visual[data-step="3"] .vc9 { animation: vc9 26s infinite both; animation-timing-function: steps(2, end); }
@keyframes vc10 { 0%, 35.38% { transform: scaleX(1); } 36.35%, 100% { transform: scaleX(0); } }
.cs__visual[data-step="3"] .vc10 { animation: vc10 26s infinite both; animation-timing-function: steps(14, end); }
@keyframes vc11 { 0%, 36.35% { transform: scaleX(1); } 37.12%, 100% { transform: scaleX(0); } }
.cs__visual[data-step="3"] .vc11 { animation: vc11 26s infinite both; animation-timing-function: steps(10, end); }
@keyframes vc12 { 0%, 37.12% { transform: scaleX(1); } 37.69%, 100% { transform: scaleX(0); } }
.cs__visual[data-step="3"] .vc12 { animation: vc12 26s infinite both; animation-timing-function: steps(2, end); }
@keyframes vt0p { 0%, 47.69% { opacity: 0; } 47.88%, 100% { opacity: 1; } }
@keyframes vt0 { 0%, 47.88% { clip-path: inset(0 100% 0 0); } 50.58%, 100% { clip-path: inset(0 0 0 0); } }
.cs__visual[data-step="3"] .vt0p { animation: vt0p 26s linear infinite both; }
.cs__visual[data-step="3"] .vt0 { animation: vt0 26s infinite both; animation-timing-function: steps(9, end); }
@keyframes vt1p { 0%, 52.88% { opacity: 0; } 53.08%, 100% { opacity: 1; } }
@keyframes vt1 { 0%, 53.08% { clip-path: inset(0 100% 0 0); } 55.38%, 100% { clip-path: inset(0 0 0 0); } }
.cs__visual[data-step="3"] .vt1p { animation: vt1p 26s linear infinite both; }
.cs__visual[data-step="3"] .vt1 { animation: vt1 26s infinite both; animation-timing-function: steps(14, end); }
@keyframes vt2p { 0%, 57.12% { opacity: 0; } 57.31%, 100% { opacity: 1; } }
@keyframes vt2 { 0%, 57.31% { clip-path: inset(0 100% 0 0); } 58.27%, 100% { clip-path: inset(0 0 0 0); } }
.cs__visual[data-step="3"] .vt2p { animation: vt2p 26s linear infinite both; }
.cs__visual[data-step="3"] .vt2 { animation: vt2 26s infinite both; animation-timing-function: steps(3, end); }
@keyframes vcur { 0.00% { left: 50.39%; top: 57.78%; opacity: 0; } 1.92% { left: 50.39%; top: 57.78%; opacity: 1; } 8.46% { left: 3.94%; top: 22.80%; opacity: 1; } 13.46% { left: 3.94%; top: 22.80%; opacity: 1; } 15.38% { left: 31.50%; top: 22.80%; opacity: 1; } 19.23% { left: 31.50%; top: 22.80%; opacity: 1; } 20.58% { left: 68.24%; top: 22.80%; opacity: 1; } 22.88% { left: 68.24%; top: 22.80%; opacity: 1; } 24.04% { left: 31.50%; top: 32.09%; opacity: 1; } 26.54% { left: 31.50%; top: 32.09%; opacity: 1; } 27.50% { left: 68.24%; top: 32.09%; opacity: 1; } 30.00% { left: 68.24%; top: 32.09%; opacity: 1; } 39.23% { left: 16.27%; top: 78.53%; opacity: 1; } 43.46% { left: 16.27%; top: 78.53%; opacity: 1; } 44.62% { left: 39.90%; top: 69.84%; opacity: 1; } 46.92% { left: 26.25%; top: 56.21%; opacity: 1; } 51.15% { left: 26.25%; top: 56.21%; opacity: 1; } 52.31% { left: 55.12%; top: 56.21%; opacity: 1; } 55.38% { left: 55.12%; top: 56.21%; opacity: 1; } 56.54% { left: 82.94%; top: 56.21%; opacity: 1; } 59.23% { left: 82.94%; top: 56.21%; opacity: 1; } 63.85% { left: 57.74%; top: 69.84%; opacity: 1; } 66.92% { left: 39.37%; top: 40.89%; opacity: 1; } 68.85% { left: 39.37%; top: 40.89%; opacity: 1; } 72.69% { left: 88.66%; top: 29.43%; opacity: 1; } 75.38% { left: 88.66%; top: 29.43%; opacity: 1; } 76.54% { left: 88.66%; top: 29.43%; opacity: 0; } 100.00% { left: 50.39%; top: 57.78%; opacity: 0; } }
.cs__visual[data-step="3"] .vid__cur { animation: vcur 26s linear infinite both; }
@keyframes vclk { 0% { transform: none; } 8.92% { transform: none; } 9.23% { transform: scale(.72); } 9.81% { transform: none; } 15.27% { transform: none; } 15.58% { transform: scale(.72); } 16.15% { transform: none; } 20.46% { transform: none; } 20.77% { transform: scale(.72); } 21.35% { transform: none; } 23.92% { transform: none; } 24.23% { transform: scale(.72); } 24.81% { transform: none; } 27.38% { transform: none; } 27.69% { transform: scale(.72); } 28.27% { transform: none; } 39.69% { transform: none; } 40.00% { transform: scale(.72); } 40.58% { transform: none; } 47.00% { transform: none; } 47.31% { transform: scale(.72); } 47.88% { transform: none; } 52.19% { transform: none; } 52.50% { transform: scale(.72); } 53.08% { transform: none; } 56.42% { transform: none; } 56.73% { transform: scale(.72); } 57.31% { transform: none; } 67.00% { transform: none; } 67.31% { transform: scale(.72); } 67.88% { transform: none; } 73.15% { transform: none; } 73.46% { transform: scale(.72); } 74.04% { transform: none; } 100% { transform: none; } }
.cs__visual[data-step="3"] .vid__cur i { animation: vclk 26s linear infinite both; }
@keyframes vrip { 0% { opacity: 0; transform: scale(.3); } 9.15% { opacity: 0; transform: scale(.3); } 9.23% { opacity: .9; transform: scale(.4); } 10.77% { opacity: 0; transform: scale(1.4); } 15.50% { opacity: 0; transform: scale(.3); } 15.58% { opacity: .9; transform: scale(.4); } 17.12% { opacity: 0; transform: scale(1.4); } 20.69% { opacity: 0; transform: scale(.3); } 20.77% { opacity: .9; transform: scale(.4); } 22.31% { opacity: 0; transform: scale(1.4); } 24.15% { opacity: 0; transform: scale(.3); } 24.23% { opacity: .9; transform: scale(.4); } 25.77% { opacity: 0; transform: scale(1.4); } 27.62% { opacity: 0; transform: scale(.3); } 27.69% { opacity: .9; transform: scale(.4); } 29.23% { opacity: 0; transform: scale(1.4); } 39.92% { opacity: 0; transform: scale(.3); } 40.00% { opacity: .9; transform: scale(.4); } 41.54% { opacity: 0; transform: scale(1.4); } 47.23% { opacity: 0; transform: scale(.3); } 47.31% { opacity: .9; transform: scale(.4); } 48.85% { opacity: 0; transform: scale(1.4); } 52.42% { opacity: 0; transform: scale(.3); } 52.50% { opacity: .9; transform: scale(.4); } 54.04% { opacity: 0; transform: scale(1.4); } 56.65% { opacity: 0; transform: scale(.3); } 56.73% { opacity: .9; transform: scale(.4); } 58.27% { opacity: 0; transform: scale(1.4); } 67.23% { opacity: 0; transform: scale(.3); } 67.31% { opacity: .9; transform: scale(.4); } 68.85% { opacity: 0; transform: scale(1.4); } 73.38% { opacity: 0; transform: scale(.3); } 73.46% { opacity: .9; transform: scale(.4); } 75.00% { opacity: 0; transform: scale(1.4); } 100% { opacity: 0; } }
.cs__visual[data-step="3"] .vid__cur s { animation: vrip 26s linear infinite both; }
@keyframes vcam { 0.00% { transform: translate(-0.00%, -0.00%) scale(1); } 3.85% { transform: translate(-0.00%, -0.00%) scale(1); } 7.69% { transform: translate(0.00%, 0.00%) scale(1.45); } 11.73% { transform: translate(0.00%, 0.00%) scale(1.45); } 12.50% { transform: translate(-0.00%, -0.00%) scale(1); } 13.85% { transform: translate(-0.00%, -0.00%) scale(1); } 16.15% { transform: translate(-18.15%, 0.00%) scale(1.45); } 29.62% { transform: translate(-18.15%, 0.00%) scale(1.45); } 33.08% { transform: translate(-0.00%, -0.00%) scale(1); } 44.04% { transform: translate(-0.00%, -0.00%) scale(1); } 44.42% { transform: translate(-0.00%, -0.00%) scale(1); } 46.54% { transform: translate(-19.75%, -35.25%) scale(1.55); } 58.85% { transform: translate(-19.75%, -35.25%) scale(1.55); } 62.31% { transform: translate(-0.00%, -0.00%) scale(1); } 63.85% { transform: translate(-0.00%, -0.00%) scale(1); } 66.15% { transform: translate(-43.00%, -7.00%) scale(1.5); } 74.42% { transform: translate(-43.00%, -7.00%) scale(1.5); } 75.19% { transform: translate(-0.00%, -0.00%) scale(1); } 76.92% { transform: translate(-0.00%, -0.00%) scale(1); } 79.23% { transform: translate(-100.00%, 0.00%) scale(2.0); } 94.62% { transform: translate(-100.00%, 0.00%) scale(2.0); } 97.69% { transform: translate(-0.00%, -0.00%) scale(1); } 100.00% { transform: translate(-0.00%, -0.00%) scale(1); } }
.cs__visual[data-step="3"] .vid__cam { animation: vcam 26s ease-in-out infinite both; }
@keyframes vch0 { 0%, 12.12% { color: var(--muted); border-color: var(--line); background: rgba(11,34,45,.5); } 12.31%, 44.04% { color: var(--text); border-color: rgba(1,173,207,.6); background: rgba(1,173,207,.12); } 44.23%, 100% { color: var(--muted); border-color: var(--line); background: rgba(11,34,45,.5); } }
@keyframes vcd0 { 0%, 12.12% { background: #12303c; color: var(--cyan); } 12.31%, 44.04% { background: var(--cyan); color: var(--bg); } 44.23%, 100% { background: #12303c; color: var(--cyan); } }
.cs__visual[data-step="3"] .vid .shots__steps li:nth-child(1) { animation: vch0 26s linear infinite both; }
.cs__visual[data-step="3"] .vid .shots__steps li:nth-child(1) b { animation: vcd0 26s linear infinite both; }
@keyframes vch1 { 0%, 44.04% { color: var(--muted); border-color: var(--line); background: rgba(11,34,45,.5); } 44.23%, 63.27% { color: var(--text); border-color: rgba(1,173,207,.6); background: rgba(1,173,207,.12); } 63.46%, 100% { color: var(--muted); border-color: var(--line); background: rgba(11,34,45,.5); } }
@keyframes vcd1 { 0%, 44.04% { background: #12303c; color: var(--cyan); } 44.23%, 63.27% { background: var(--cyan); color: var(--bg); } 63.46%, 100% { background: #12303c; color: var(--cyan); } }
.cs__visual[data-step="3"] .vid .shots__steps li:nth-child(2) { animation: vch1 26s linear infinite both; }
.cs__visual[data-step="3"] .vid .shots__steps li:nth-child(2) b { animation: vcd1 26s linear infinite both; }
@keyframes vch2 { 0%, 63.27% { color: var(--muted); border-color: var(--line); background: rgba(11,34,45,.5); } 63.46%, 74.81% { color: var(--text); border-color: rgba(1,173,207,.6); background: rgba(1,173,207,.12); } 75.00%, 100% { color: var(--muted); border-color: var(--line); background: rgba(11,34,45,.5); } }
@keyframes vcd2 { 0%, 63.27% { background: #12303c; color: var(--cyan); } 63.46%, 74.81% { background: var(--cyan); color: var(--bg); } 75.00%, 100% { background: #12303c; color: var(--cyan); } }
.cs__visual[data-step="3"] .vid .shots__steps li:nth-child(3) { animation: vch2 26s linear infinite both; }
.cs__visual[data-step="3"] .vid .shots__steps li:nth-child(3) b { animation: vcd2 26s linear infinite both; }
@keyframes vch3 { 0%, 74.81% { color: var(--muted); border-color: var(--line); background: rgba(11,34,45,.5); } 75.00%, 97.88% { color: var(--text); border-color: rgba(1,173,207,.6); background: rgba(1,173,207,.12); } 98.08%, 100% { color: var(--muted); border-color: var(--line); background: rgba(11,34,45,.5); } }
@keyframes vcd3 { 0%, 74.81% { background: #12303c; color: var(--cyan); } 75.00%, 97.88% { background: var(--cyan); color: var(--bg); } 98.08%, 100% { background: #12303c; color: var(--cyan); } }
.cs__visual[data-step="3"] .vid .shots__steps li:nth-child(4) { animation: vch3 26s linear infinite both; }
.cs__visual[data-step="3"] .vid .shots__steps li:nth-child(4) b { animation: vcd3 26s linear infinite both; }
/* ---------- fim do vídeo ---------- */
.pcard__media--phone { background: radial-gradient(circle at 50% 30%, rgba(1,173,207,.25), transparent 70%), #0a1820; }
.pcard__media--phone img { width: 46%; height: auto; margin: 7% auto 0; object-fit: contain; border-radius: 16px; border: 6px solid #0d1418; outline: 1px solid #22313a; }

/* ---------- Vídeo do app Alje (gerado por tools/gen_video_alje.py) ---------- */
.va { position: absolute; inset: 0; }
.va__web { position: absolute; right: 0; top: 0; width: 77%; }
.va__webstage { position: relative; aspect-ratio: 1214 / 819; overflow: hidden; background: #f4f6fa; }
.va__webcam { position: absolute; inset: 0; transform-origin: 0 0; }
.window .va__webcam img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.va__webafter { opacity: 0; }
.va__webnew { position: absolute; border: 2px solid #01ADCF; border-radius: 6px; background: rgba(1,173,207,.10); opacity: 0; }
.va__sync { position: absolute; width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; z-index: 8; opacity: 0;
    background: #5fd8f0; box-shadow: 0 0 0 6px rgba(1,173,207,.35), 0 0 30px 8px rgba(1,173,207,.7); }
.va__phone { position: absolute; left: -2%; bottom: 0; height: 47%; z-index: 4; aspect-ratio: 600 / 1250; padding: 8px; border-radius: 30px; background: #0d1418; border: 2px solid #22313a;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.85), 0 0 90px -30px rgba(1,173,207,.3); }
.va__phone::before { content: ""; position: absolute; top: 15px; left: 50%; width: 30%; height: 16px; margin-left: -15%; border-radius: 10px; background: #0d1418; z-index: 6; }
.va__screen { position: relative; height: 100%; overflow: hidden; border-radius: 26px; background: #f4f6fa; container-type: inline-size; }
.va__cam { position: absolute; inset: 0; transform-origin: 0 0; }
.va__scr { position: absolute; inset: 0; }
.va__scr > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.va__cov { position: absolute; background: #fff; opacity: 0; }
.va__txt { position: absolute; transform: translateY(-50%); color: #16213a; white-space: nowrap; font-family: var(--font); line-height: 1; clip-path: inset(0 100% 0 0); }
.va__pop { position: absolute; display: grid; padding: 1.2cqw; border-radius: 3cqw; background: #fff; box-shadow: 0 3cqw 8cqw -2cqw rgba(15,23,42,.35); opacity: 0; transform-origin: top; }
.va__pop span { padding: 3.4cqw 4cqw; border-radius: 2cqw; font-size: 4cqw; color: #16213a; }
.va__press { position: absolute; border-radius: 4cqw; background: rgba(0,0,0,.18); opacity: 0; }
.va__new { position: absolute; border-radius: 3cqw; border: .7cqw solid #01ADCF; background: rgba(1,173,207,.08); opacity: 0; }
.va__tap { position: absolute; left: 50%; top: 70%; width: 9cqw; height: 9cqw; margin: -4.5cqw 0 0 -4.5cqw; opacity: 0; z-index: 5; }
.va__tap i { position: absolute; inset: 0; border-radius: 50%; background: rgba(3,17,25,.22); border: .6cqw solid rgba(255,255,255,.95); box-shadow: 0 0 0 1.2cqw rgba(1,173,207,.35), 0 1.5cqw 4cqw rgba(0,0,0,.35); }
.va__tap s { position: absolute; inset: -40%; border-radius: 50%; background: rgba(1,173,207,.4); opacity: 0; }
.va__badge { position: absolute; left: 24%; right: 0; bottom: 8%; display: flex; justify-content: center; opacity: 0; z-index: 7; }
.va__badge p { opacity: 1; transform: none; box-shadow: 0 14px 30px -10px rgba(0,0,0,.8); }
@keyframes vas0 { 0%, 21.00% { opacity: 1; } 21.33%, 96.67% { opacity: 0; } 100% { opacity: 1; } }
#alje .cs__visual[data-step="3"] .vas0 { animation: vas0 15s linear infinite both; }
@keyframes vas1 { 0%, 21.00% { opacity: 0; } 21.33%, 61.67% { opacity: 1; } 62.00%, 100% { opacity: 0; } }
#alje .cs__visual[data-step="3"] .vas1 { animation: vas1 15s linear infinite both; }
@keyframes vas2 { 0%, 61.67% { opacity: 0; } 62.00%, 96.33% { opacity: 1; } 99.33%, 100% { opacity: 0; } }
#alje .cs__visual[data-step="3"] .vas2 { animation: vas2 15s linear infinite both; }
.va__scr:not(.vas0) { opacity: 0; }
@keyframes vat0 { 0%, 26.67% { clip-path: inset(0 100% 0 0); } 31.33%, 100% { clip-path: inset(0 0 0 0); } }
#alje .cs__visual[data-step="3"] .vat0 { animation: vat0 15s infinite both; animation-timing-function: steps(6, end); }
@keyframes vat1 { 0%, 35.67% { clip-path: inset(0 100% 0 0); } 39.00%, 100% { clip-path: inset(0 0 0 0); } }
#alje .cs__visual[data-step="3"] .vat1 { animation: vat1 15s infinite both; animation-timing-function: steps(5, end); }
@keyframes vat2c { 0%, 48.67% { opacity: 0; } 49.00%, 100% { opacity: 1; } }
#alje .cs__visual[data-step="3"] .vat2c { animation: vat2c 15s linear infinite both; }
@keyframes vat2 { 0%, 49.00% { clip-path: inset(0 100% 0 0); } 49.07%, 100% { clip-path: inset(0 0 0 0); } }
#alje .cs__visual[data-step="3"] .vat2 { animation: vat2 15s infinite both; animation-timing-function: steps(11, end); }
@keyframes vapop { 0%, 42.67% { opacity: 0; transform: translateY(-2%) scale(.97); } 44.00%, 48.33% { opacity: 1; transform: none; } 49.00%, 100% { opacity: 0; } }
#alje .cs__visual[data-step="3"] .va__pop { animation: vapop 15s linear infinite both; }
@keyframes vaopt { 0%, 47.00% { background: transparent; } 47.33%, 100% { background: #e8f0fe; } }
#alje .cs__visual[data-step="3"] .va__pop span:first-child { animation: vaopt 15s linear infinite both; }
@keyframes vapress { 0%, 57.00% { opacity: 0; } 57.67% { opacity: 1; } 60.00%, 100% { opacity: 0; } }
#alje .cs__visual[data-step="3"] .va__press { animation: vapress 15s linear infinite both; }
@keyframes vanew { 0%, 64.67% { opacity: 0; } 66.67% { opacity: 1; } 70.00% { opacity: .45; } 73.33% { opacity: 1; } 76.67% { opacity: .45; } 80.00%, 93.33% { opacity: 1; } 96.00%, 100% { opacity: 0; } }
#alje .cs__visual[data-step="3"] .va__new { animation: vanew 15s linear infinite both; }
@keyframes vatap { 0.00% { left: 50.00%; top: 65.36%; opacity: 0; } 5.33% { left: 50.00%; top: 65.36%; opacity: 0; } 6.67% { left: 50.00%; top: 65.36%; opacity: 1; } 15.67% { left: 73.68%; top: 46.63%; opacity: 1; } 17.67% { left: 73.68%; top: 46.63%; opacity: 1; } 25.67% { left: 50.00%; top: 28.98%; opacity: 1; } 27.67% { left: 50.00%; top: 28.98%; opacity: 1; } 34.33% { left: 50.00%; top: 42.05%; opacity: 1; } 36.33% { left: 50.00%; top: 42.05%; opacity: 1; } 41.67% { left: 50.00%; top: 53.71%; opacity: 1; } 43.67% { left: 50.00%; top: 53.71%; opacity: 1; } 47.00% { left: 34.19%; top: 59.33%; opacity: 1; } 49.00% { left: 34.19%; top: 59.33%; opacity: 1; } 57.00% { left: 50.00%; top: 81.68%; opacity: 1; } 59.00% { left: 50.00%; top: 81.68%; opacity: 1; } 59.67% { left: 50.00%; top: 81.68%; opacity: 0; } 100.00% { left: 50.00%; top: 65.36%; opacity: 0; } }
#alje .cs__visual[data-step="3"] .va__tap { animation: vatap 15s ease-in-out infinite both; }
@keyframes vatapc { 0% { transform: none; } 15.33% { transform: none; } 16.00% { transform: scale(.7); } 17.00% { transform: none; } 25.33% { transform: none; } 26.00% { transform: scale(.7); } 27.00% { transform: none; } 34.00% { transform: none; } 34.67% { transform: scale(.7); } 35.67% { transform: none; } 41.33% { transform: none; } 42.00% { transform: scale(.7); } 43.00% { transform: none; } 46.67% { transform: none; } 47.33% { transform: scale(.7); } 48.33% { transform: none; } 56.67% { transform: none; } 57.33% { transform: scale(.7); } 58.33% { transform: none; } 100% { transform: none; } }
#alje .cs__visual[data-step="3"] .va__tap i { animation: vatapc 15s linear infinite both; }
@keyframes vatapr { 0% { opacity: 0; } 15.87% { opacity: 0; transform: scale(.4); } 16.00% { opacity: .8; transform: scale(.5); } 19.00% { opacity: 0; transform: scale(1.6); } 25.87% { opacity: 0; transform: scale(.4); } 26.00% { opacity: .8; transform: scale(.5); } 29.00% { opacity: 0; transform: scale(1.6); } 34.53% { opacity: 0; transform: scale(.4); } 34.67% { opacity: .8; transform: scale(.5); } 37.67% { opacity: 0; transform: scale(1.6); } 41.87% { opacity: 0; transform: scale(.4); } 42.00% { opacity: .8; transform: scale(.5); } 45.00% { opacity: 0; transform: scale(1.6); } 47.20% { opacity: 0; transform: scale(.4); } 47.33% { opacity: .8; transform: scale(.5); } 50.33% { opacity: 0; transform: scale(1.6); } 57.20% { opacity: 0; transform: scale(.4); } 57.33% { opacity: .8; transform: scale(.5); } 60.33% { opacity: 0; transform: scale(1.6); } 100% { opacity: 0; } }
#alje .cs__visual[data-step="3"] .va__tap s { animation: vatapr 15s linear infinite both; }
@keyframes vacam { 0.00% { transform: translate(-0.00%, -0.00%) scale(1); } 6.67% { transform: translate(-0.00%, -0.00%) scale(1); } 12.00% { transform: translate(-18.00%, -6.64%) scale(1.18); } 20.33% { transform: translate(-18.00%, -6.64%) scale(1.18); } 21.67% { transform: translate(-0.00%, -0.00%) scale(1); } 23.33% { transform: translate(-0.00%, -0.00%) scale(1); } 26.00% { transform: translate(-9.00%, 0.00%) scale(1.18); } 39.33% { transform: translate(-9.00%, 0.00%) scale(1.18); } 42.00% { transform: translate(-9.00%, -18.00%) scale(1.18); } 52.00% { transform: translate(-9.00%, -18.00%) scale(1.18); } 55.33% { transform: translate(-0.00%, -0.00%) scale(1); } 61.67% { transform: translate(-0.00%, -0.00%) scale(1); } 63.33% { transform: translate(-0.00%, -0.00%) scale(1); } 66.67% { transform: translate(-7.50%, 0.00%) scale(1.15); } 92.00% { transform: translate(-7.50%, 0.00%) scale(1.15); } 96.67% { transform: translate(-0.00%, -0.00%) scale(1); } 100.00% { transform: translate(-0.00%, -0.00%) scale(1); } }
#alje .cs__visual[data-step="3"] .va__cam { animation: vacam 15s ease-in-out infinite both; }
@keyframes vawa { 0%, 68.67% { opacity: 0; } 70.67%, 96.00% { opacity: 1; } 98.67%, 100% { opacity: 0; } }
#alje .cs__visual[data-step="3"] .va__webafter { animation: vawa 15s linear infinite both; }
@keyframes vawn { 0%, 70.67% { opacity: 0; } 72.67% { opacity: 1; } 76.00% { opacity: .4; } 79.33% { opacity: 1; } 82.67% { opacity: .4; } 86.00%, 95.33% { opacity: 1; } 98.00%, 100% { opacity: 0; } }
#alje .cs__visual[data-step="3"] .va__webnew { animation: vawn 15s linear infinite both; }
@keyframes vawcam { 0.00% { transform: translate(-0.00%, -0.00%) scale(1); } 69.33% { transform: translate(-0.00%, -0.00%) scale(1); } 73.33% { transform: translate(-11.60%, -6.00%) scale(1.12); } 93.33% { transform: translate(-11.60%, -6.00%) scale(1.12); } 97.33% { transform: translate(-0.00%, -0.00%) scale(1); } 100.00% { transform: translate(-0.00%, -0.00%) scale(1); } }
#alje .cs__visual[data-step="3"] .va__webcam { animation: vawcam 15s ease-in-out infinite both; }
@keyframes vasync { 0%, 62.33% { opacity: 0; left: 12%; top: 72%; transform: scale(.5); } 63.33% { opacity: 1; left: 12%; top: 72%; transform: scale(1); } 68.67% { opacity: 1; left: 50%; top: 36%; transform: scale(1); } 70.00%, 100% { opacity: 0; left: 50%; top: 36%; transform: scale(2.2); } }
#alje .cs__visual[data-step="3"] .va__sync { animation: vasync 15s cubic-bezier(.5,0,.3,1) infinite both; }
@keyframes vabadge { 0%, 73.33% { opacity: 0; transform: translateY(10px); } 76.00%, 94.67% { opacity: 1; transform: none; } 97.33%, 100% { opacity: 0; } }
#alje .cs__visual[data-step="3"] .va__badge { animation: vabadge 15s linear infinite both; }
/* ---------- fim do vídeo Alje ---------- */
.sites__grid--2 { grid-template-columns: 1fr 1fr; gap: 22px; }
.sites__grid--2 .site img { aspect-ratio: 4 / 3; object-position: center; }
.site span b { font-weight: 600; font-size: 16px; }
.site span small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); margin-top: 2px; }
.site span { align-items: center; }
@media (max-width: 760px) { .sites__grid--2 { grid-template-columns: 1fr; } }
