/* ==========================================================================
   SysVarejo — Landing page
   Direção de arte: "o balcão brasileiro". Papel de bobina, cupom fiscal,
   cartaz de oferta e tecla de PDV. Paleta da logo: verde #03CC7C, coral
   #FE7248 (o quadradinho da marca) e grafite.
   Sem Bootstrap: CSS próprio, leve, mobile first.
   ========================================================================== */

:root {
    --paper: #f7f4ee;
    --paper-2: #efeadf;
    --paper-3: #e6dfd0;
    --white: #fffefb;
    --line: #ddd5c6;
    --ink: #121417;
    --ink-2: #2b3036;
    --muted: #5f646b;

    --green: #03cc7c;
    --green-600: #00b36c;
    --green-700: #03784b;
    --green-900: #06402b;
    --green-50: #e0f7eb;

    --coral: #fe7248;
    --coral-700: #b8431f;
    --coral-50: #ffe7dd;

    --night: #0e1311;
    --night-2: #17201c;
    --night-line: #26332d;

    --f-display: 'Archivo', 'Arial Narrow', system-ui, sans-serif;
    --f-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
    --f-hand: 'Permanent Marker', 'Comic Sans MS', cursive;

    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --r-lg: 28px;
    --r: 18px;
    --r-sm: 12px;
    --topo-h: 68px;

    --ease-out: cubic-bezier(.2, .8, .2, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);

    /* Grão de papel: ruído SVG bem sutil, dá textura sem pesar. */
    --grao: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topo-h) + 12px); }
body {
    margin: 0;
    font-family: var(--f-display);
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper) var(--grao);
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 6px; }
.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pular {
    position: absolute; left: 12px; top: -60px; z-index: 200;
    background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 10px;
    text-decoration: none; font-weight: 600; transition: top .2s;
}
.pular:focus { top: 12px; }

.ico { width: 1em; height: 1em; fill: currentColor; flex-shrink: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Quadradinho coral da logo: o "pixel" da marca, usado como marcador. */
.pixel {
    display: inline-block; width: .62em; height: .62em; border-radius: 3px;
    background: var(--coral); flex-shrink: 0;
}

/* ---------- Tipografia ---------- */
.titulo {
    font-family: var(--f-display);
    font-weight: 800;
    font-stretch: 112%;
    font-size: clamp(2.1rem, 4.6vw, 3.7rem);
    line-height: 1.02;
    letter-spacing: -0.028em;
    text-wrap: balance;
}
.titulo em { font-style: normal; color: var(--green-700); }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); max-width: 58ch; text-wrap: pretty; }
.etq {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--f-mono); font-size: .78rem; font-weight: 600;
    letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
    margin-bottom: 18px;
}
.mao { font-family: var(--f-hand); font-weight: 400; letter-spacing: .01em; }

/* ---------- Botões (tecla de PDV) ---------- */
.btn {
    --sombra: var(--ink);
    --prof: 5px;
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px 24px;
    font-family: var(--f-display); font-size: 1.02rem; font-weight: 700; font-stretch: 105%;
    line-height: 1.1; text-decoration: none; white-space: nowrap;
    border: 2px solid var(--ink); border-radius: 14px;
    transform: translateY(0);
    transition: transform .14s var(--ease-out), box-shadow .14s var(--ease-out), background-color .2s, color .2s;
    -webkit-tap-highlight-color: transparent;
}
.btn .ico { font-size: 1.2em; }
.btn--tecla { background: var(--green); color: var(--ink); box-shadow: 0 var(--prof) 0 var(--sombra); }
.btn--tecla:hover { transform: translateY(2px); box-shadow: 0 calc(var(--prof) - 2px) 0 var(--sombra); }
.btn--tecla:active { transform: translateY(var(--prof)); box-shadow: 0 0 0 var(--sombra); }
.btn--tinta { background: var(--ink); color: var(--paper); box-shadow: 0 var(--prof) 0 var(--green-900); border-color: var(--ink); }
.btn--tinta:hover { transform: translateY(2px); box-shadow: 0 calc(var(--prof) - 2px) 0 var(--green-900); }
.btn--tinta:active { transform: translateY(var(--prof)); box-shadow: none; }
.btn--vazado { background: transparent; color: var(--ink); }
.btn--vazado:hover { background: var(--ink); color: var(--paper); }
.btn--sm { --prof: 3px; padding: 10px 16px; font-size: .92rem; border-radius: 11px; }
.btn--full { width: 100%; }

/* ---------- Topo ---------- */
.topo {
    position: sticky; top: 0; z-index: 100;
    height: var(--topo-h);
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s;
}
.topo.is-rolou { border-bottom-color: var(--line); box-shadow: 0 8px 30px -22px rgba(18, 20, 23, .4); }
.topo__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.topo__logo { display: block; flex-shrink: 0; }
.topo__logo img { height: 28px; width: auto; }
.topo__nav { display: none; margin-left: auto; }
.topo__nav ul { display: flex; gap: 26px; }
.topo__nav a {
    text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--ink-2);
    text-underline-offset: 7px; text-decoration-thickness: 2px;
}
.topo__nav a:hover { text-decoration: underline; text-decoration-color: var(--green); color: var(--ink); }
.topo__acoes { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.topo__entrar { display: none; font-weight: 600; font-size: .95rem; text-decoration: none; }
.topo__entrar:hover { color: var(--green-700); }
.topo__menu {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    background: none; border: 2px solid var(--ink); border-radius: 11px; font-size: 1.35rem;
}

/* Menu do celular: folha que desce do topo */
.gaveta {
    position: fixed; inset: 0; z-index: 150;
    background: var(--ink); color: var(--paper);
    display: flex; flex-direction: column; padding: 18px var(--gutter) 28px;
    transform: translateY(-102%); transition: transform .38s var(--ease-out);
    visibility: hidden;
}
.gaveta.is-aberta { transform: none; visibility: visible; }
.gaveta__topo { display: flex; justify-content: space-between; align-items: center; height: 44px; margin-bottom: 30px; }
.gaveta__topo img { height: 26px; width: auto; }
.gaveta__fechar {
    display: grid; place-items: center; width: 44px; height: 44px; font-size: 1.2rem;
    background: none; border: 2px solid var(--paper); border-radius: 11px; color: var(--paper);
}
.gaveta nav a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 0; border-bottom: 1px dashed rgba(247, 244, 238, .2);
    font-size: 1.6rem; font-weight: 700; font-stretch: 110%; text-decoration: none;
}
.gaveta nav a .ico { color: var(--green); font-size: 1.1rem; }
.gaveta__rodape { margin-top: auto; display: grid; gap: 14px; }
.gaveta__rodape .btn--vazado { color: var(--paper); border-color: var(--paper); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(28px, 5vw, 64px) 0 clamp(64px, 8vw, 110px); overflow: clip; }
.hero__grade { display: grid; gap: 48px; align-items: center; }
.hero__kicker {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--f-mono); font-size: .8rem; font-weight: 600; letter-spacing: .1em;
    text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px;
}
.hero__titulo {
    display: block;
    font-weight: 850; font-stretch: 114%;
    font-size: clamp(2.5rem, 6.4vw, 4.6rem);
    line-height: .95; letter-spacing: -0.035em;
    text-wrap: balance;
}
.hero__titulo .risco { position: relative; white-space: nowrap; color: var(--ink); }
.hero__titulo .risco svg {
    position: absolute; left: -2%; bottom: -.14em; width: 104%; height: .42em;
    color: var(--green); z-index: -1; overflow: visible;
}
.hero__titulo .risco svg path { stroke-dasharray: 520; stroke-dashoffset: 520; animation: risca 1.1s .5s var(--ease-out) forwards; }
@keyframes risca { to { stroke-dashoffset: 0; } }
.hero__lead { margin-top: 26px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__garantias {
    display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px;
    font-family: var(--f-mono); font-size: .82rem; color: var(--ink-2);
}
.hero__garantias li { display: flex; align-items: center; gap: 8px; }
.hero__garantias .ico { color: var(--green-700); }

/* Palco: o balcão verde com o cupom e os objetos flutuando */
.palco {
    --px: 0; --py: 0;
    position: relative; width: 100%; max-width: 560px; margin-inline: auto;
    aspect-ratio: 1 / 1.08;
    container-type: inline-size;
}
.balcao {
    position: absolute; inset: 7% 4% 3% 6%;
    border-radius: var(--r-lg);
    background:
        repeating-linear-gradient(90deg, rgba(6, 64, 43, .07) 0 2px, transparent 2px 9px, rgba(6, 64, 43, .07) 9px 10px, transparent 10px 22px),
        radial-gradient(120% 90% at 20% 0%, #25e095 0%, var(--green) 45%, #02b56d 100%);
    box-shadow: inset 0 -10px 0 rgba(6, 64, 43, .16), 0 30px 60px -30px rgba(3, 120, 75, .55);
    transform: rotate(2deg);
}
.balcao::after {
    /* borda de balcão: faixa grafite embaixo */
    content: ''; position: absolute; left: 7%; right: 7%; bottom: -12px; height: 12px;
    background: var(--ink); border-radius: 0 0 10px 10px; opacity: .9;
}
.cupom-wrap {
    position: absolute; left: 50%; top: 12%;
    width: 57%;
    transform: translateX(-50%) rotate(-2.5deg);
    filter: drop-shadow(0 22px 26px rgba(18, 20, 23, .28)) drop-shadow(0 2px 2px rgba(18, 20, 23, .12));
    z-index: 3;
}
.cupom {
    --z: .6em;
    position: relative;
    background: var(--white);
    padding: 1.7em 1.7em calc(1.9em + var(--z));
    /* escala junto com o palco (cqi = % da largura do palco) */
    font-family: var(--f-mono); font-size: .72rem; font-size: clamp(.5rem, 2.1cqi, .74rem); line-height: 1.45; color: #2a2d31;
    -webkit-mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
    mask: conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) 50% / calc(2 * var(--z)) 100%;
}
.cupom__topo { text-align: center; display: grid; gap: 1px; }
.cupom__topo strong { font-size: 1.16em; letter-spacing: .04em; }
.cupom__topo span { color: #6b6f75; font-size: .92em; }
.cupom hr { border: 0; border-top: 1.5px dashed #c9c3b6; margin: .85em 0; }
.cupom__itens { display: grid; gap: .6em; }
.cupom__item { display: grid; grid-template-columns: 1fr auto; column-gap: 8px; }
.cupom__item .d { grid-column: 1 / -1; font-weight: 600; color: var(--ink); }
.cupom__item .q { color: #6b6f75; padding-left: 2.2ch; }
.cupom__item .v { font-weight: 600; color: var(--ink); }
.cupom__total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.cupom__total strong { font-size: 1.75em; letter-spacing: -.02em; color: var(--ink); }
.cupom__pag { display: flex; justify-content: space-between; color: #6b6f75; }
.cupom__barra {
    height: 2.9em; margin: 1em auto 0; width: 86%;
    background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px);
    opacity: .85;
}
.cupom__chave { text-align: center; font-size: .82em; color: #8a8e94; margin-top: .5em; letter-spacing: .05em; }
.cupom__selo {
    position: absolute; left: 1.2em; bottom: 5.2em;
    padding: .5em .85em; border: 2.5px solid var(--green-700); border-radius: 8px;
    color: var(--green-700); font-weight: 700; font-size: .95em; line-height: 1.15; letter-spacing: .06em;
    text-align: center; transform: rotate(-12deg);
    background: rgba(224, 247, 235, .85);
    mix-blend-mode: multiply;
}

/* Estados da impressão (controlados pelo JS; sem JS o cupom aparece completo) */
.cupom.is-imprimindo .cupom__item:not(.is-sai),
.cupom.is-imprimindo .cupom__fim:not(.is-sai),
.cupom.is-imprimindo .cupom__selo:not(.is-sai) { display: none; }
.cupom .is-sai { animation: imprime .42s var(--ease-out) both; }
.cupom .cupom__selo.is-sai { animation: carimba .5s var(--ease-spring) both; }
@keyframes imprime { from { clip-path: inset(0 0 100% 0); opacity: .2; transform: translateY(-4px); } to { clip-path: inset(0 0 0 0); opacity: 1; transform: none; } }
@keyframes carimba { 0% { opacity: 0; transform: rotate(-4deg) scale(1.9); } 60% { opacity: 1; } 100% { opacity: 1; transform: rotate(-12deg) scale(1); } }

/* Laser do leitor passando no cupom a cada "bip" */
.laser {
    position: absolute; left: 6%; right: 6%; top: 44%; height: 2px; z-index: 4;
    background: linear-gradient(90deg, transparent, var(--coral) 20%, #ff9b7d 50%, var(--coral) 80%, transparent);
    box-shadow: 0 0 12px 2px rgba(254, 114, 72, .7);
    opacity: 0; pointer-events: none;
}
.palco.is-bip .laser { animation: laser .38s ease-out; }
@keyframes laser { 0% { opacity: 0; transform: scaleX(.3); } 30% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1) translateY(10px); } }
.bip {
    position: absolute; left: 4%; top: 2%; z-index: 6;
    font-family: var(--f-hand); font-size: 1.3rem; color: var(--coral-700);
    transform: rotate(-12deg); opacity: 0; pointer-events: none;
}
.palco.is-bip .bip { animation: bip .5s var(--ease-out); }
@keyframes bip { 0% { opacity: 0; transform: rotate(-12deg) translateY(8px) scale(.7); } 35% { opacity: 1; transform: rotate(-12deg) scale(1.1); } 100% { opacity: 0; transform: rotate(-12deg) translateY(-14px); } }

/* Objetos 3D flutuantes (gerados no Higgsfield) */
.obj {
    position: absolute; z-index: var(--z, 2); width: var(--w, 120px);
    left: var(--l, auto); right: var(--r, auto); top: var(--t, auto); bottom: var(--b, auto);
    transform: translate3d(calc(var(--px) * var(--prof, 10px)), calc(var(--py) * var(--prof, 10px)), 0);
    transition: transform .6s var(--ease-out);
    pointer-events: none;
}
.obj img {
    width: 100%; height: auto;
    rotate: var(--rot, 0deg);
    animation: flutua var(--dur, 6s) ease-in-out var(--delay, 0s) infinite;
    filter: drop-shadow(0 18px 18px rgba(18, 20, 23, .18));
}
@keyframes flutua {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(3deg); }
}

/* Avisos que "pipocam" quando a venda termina */
.eco {
    position: absolute; z-index: 5;
    display: flex; align-items: center; gap: .8em;
    padding: .7em 1em .7em .7em;
    background: var(--white); border: 1.5px solid var(--ink); border-radius: 1.1em;
    box-shadow: 0 4px 0 var(--ink);
    font-size: .8rem; font-size: clamp(.62rem, 2.3cqi, .8rem); line-height: 1.2; white-space: nowrap;
    opacity: 1;
}
.eco b { display: block; font-weight: 700; font-size: 1.03em; }
.eco small { color: var(--muted); font-family: var(--f-mono); font-size: .85em; }
.eco__ico { display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: .7em; font-size: 1.25em; flex-shrink: 0; }
.eco__ico .ico { font-size: .8em; }
.eco__ico--verde { background: var(--green); color: var(--ink); }
.eco__ico--coral { background: var(--coral); color: var(--ink); }
.eco__ico--tinta { background: var(--ink); color: var(--green); }
.eco--1 { top: 1%; right: 0; }
.eco--2 { top: 44%; right: -7%; }
.eco--3 { bottom: 4%; left: -5%; }
.eco--4 { top: -7%; left: 19%; }
.palco.is-animando .eco { opacity: 0; transform: translateY(10px) scale(.92); }
.palco.is-animando .eco.is-sai { animation: pipoca .5s var(--ease-spring) forwards; }
@keyframes pipoca { to { opacity: 1; transform: none; } }

.nota-mao {
    position: absolute; z-index: 6; left: 27%; bottom: -10%;
    display: flex; align-items: flex-end; gap: 4px;
    font-family: var(--f-hand); color: var(--coral-700); font-size: 1.12rem; line-height: 1.05;
    transform: rotate(-6deg);
}
.nota-mao svg { width: 54px; height: 44px; color: var(--coral); margin-bottom: 18px; }

/* ---------- Fita (letreiro corrido) ---------- */
.fita-faixa { position: relative; z-index: 2; overflow: hidden; padding: 22px 0; margin: -48px 0 -22px; }
.fita {
    position: relative;
    background: var(--ink); color: var(--paper);
    padding: 15px 0; transform: rotate(-1.4deg) scale(1.04);
    overflow: hidden;
    border-top: 3px solid var(--green); border-bottom: 3px solid var(--green);
}
.fita__trilho { display: flex; width: max-content; animation: corre 42s linear infinite; }
.fita ul { display: flex; align-items: center; }
.fita li {
    display: flex; align-items: center; gap: 22px; padding-right: 22px;
    font-family: var(--f-mono); font-size: .86rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
    white-space: nowrap;
}
@keyframes corre { to { transform: translateX(-50%); } }

/* ---------- Seções ---------- */
.secao { padding: clamp(72px, 10vw, 136px) 0; position: relative; }
.secao--papel2 { background: var(--paper-2) var(--grao); }
.secao__cab { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.secao__cab .lead { margin-top: 18px; }
.secao__cab--centro { margin-inline: auto; text-align: center; }
.secao__cab--centro .lead { margin-inline: auto; }
.secao__cab--centro .etq { justify-content: center; }

/* Reveal ao rolar (só com JS; sem JS tudo aparece) */
.js .revela { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); transition-delay: var(--atraso, 0s); }
.js .revela.is-visivel { opacity: 1; transform: none; }

/* ---------- Como funciona: a reação em cadeia ---------- */
.cadeia { display: grid; gap: 48px; }
.cadeia__lado { align-self: start; }
.venda-card {
    margin-top: 34px; position: relative;
    background: var(--ink); color: var(--paper); border-radius: var(--r);
    padding: 22px 22px 24px; max-width: 420px;
    box-shadow: 0 6px 0 var(--green-900);
}
.venda-card__rot { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.venda-card__prod { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.venda-card__prod b { display: block; font-size: 1.15rem; font-stretch: 108%; }
.venda-card__prod span { font-family: var(--f-mono); font-size: .8rem; color: #b9c2bd; }
.venda-card__foto { position: relative; flex-shrink: 0; width: 64px; height: 64px; border-radius: 12px; overflow: hidden; background: #1c2521; }
.venda-card__foto img { width: 100%; height: 100%; animation: flutua 4s ease-in-out infinite; }
/* leitor passando no produto, de tempos em tempos */
.venda-card__laser {
    position: absolute; left: -10%; right: -10%; top: 10%; height: 2px;
    background: var(--coral); box-shadow: 0 0 10px 2px rgba(254, 114, 72, .85);
    opacity: 0; animation: varre 2.8s ease-in-out infinite;
}
@keyframes varre { 0%, 50% { top: 10%; opacity: 0; } 56% { opacity: 1; } 80% { top: 88%; opacity: 1; } 86%, 100% { top: 88%; opacity: 0; } }
.venda-card__prog { margin-top: 18px; padding-top: 16px; border-top: 1px dashed #37403b; }
.venda-card__conta { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: #9aa59f; }
.venda-card__conta b { color: var(--green); font-size: .95rem; letter-spacing: 0; }
.venda-card__barra { height: 6px; margin-top: 8px; border-radius: 99px; background: #26302b; overflow: hidden; }
.venda-card__barra i { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--green); box-shadow: 0 0 10px rgba(3, 204, 124, .7); transition: width .5s var(--ease-out); }
.venda-card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.venda-card__chips li {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px; border-radius: 99px; font-size: .74rem; font-weight: 650;
    background: var(--green); color: var(--ink); border: 1px solid var(--green);
    transition: background-color .35s, color .35s, border-color .35s, transform .45s var(--ease-spring);
}
.venda-card__chips li .ico { font-size: .85em; transition: opacity .3s; }
.js .venda-card__chips li:not(.is-on) { background: transparent; color: #8a948f; border-color: #3a443f; transform: scale(.94); }
.js .venda-card__chips li:not(.is-on) .ico { opacity: .2; }
.venda-card__tecla {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
    font-family: var(--f-mono); font-size: .78rem; color: #d7ddd9;
}
.venda-card__tecla kbd {
    font-family: var(--f-mono); font-weight: 600; font-size: .78rem;
    padding: 3px 8px; border-radius: 6px; background: var(--paper); color: var(--ink);
    box-shadow: 0 2px 0 var(--green);
}

/* trilho tracejado + fluxo verde que desce junto com a rolagem */
.efeitos-wrap { position: relative; }
.efeitos { display: grid; gap: 16px; }
.efeitos__trilho {
    position: absolute; z-index: 0; left: 23px;
    top: var(--t0, 46px); height: var(--th, calc(100% - 92px));
    border-left: 2px dashed var(--line);
}
.efeitos__fluxo {
    position: absolute; left: -4px; top: 0; width: 6px; height: 100%;
    border-radius: 6px; background: var(--green); box-shadow: 0 0 14px rgba(3, 204, 124, .6);
}
.js .efeitos__fluxo { height: var(--fluxo, 0px); }
.efeitos__fluxo::after {
    /* o "pacote" da venda descendo pelo trilho */
    content: ''; position: absolute; left: 50%; bottom: -10px; width: 20px; height: 20px; margin-left: -10px;
    border-radius: 50%; background: var(--green); border: 3px solid var(--white);
    box-shadow: 0 0 0 5px rgba(3, 204, 124, .22), 0 0 20px rgba(3, 204, 124, .9);
    animation: pulsa 1.3s ease-in-out infinite;
}
@keyframes pulsa { 50% { box-shadow: 0 0 0 10px rgba(3, 204, 124, .1), 0 0 28px rgba(3, 204, 124, 1); } }

.efeito {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 66px 1fr; gap: 16px; align-items: center;
    padding: 16px 56px 16px 0;
    background-color: var(--white);
    background-image: linear-gradient(100deg, transparent 35%, rgba(3, 204, 124, .2) 50%, transparent 65%);
    background-size: 260% 100%; background-position: 140% 0; background-repeat: no-repeat;
    border: 1.5px solid var(--ink); border-radius: var(--r); box-shadow: 0 5px 0 var(--ink);
}
.js .efeito.revela { transition: opacity .7s var(--ease-out), transform .7s var(--ease-out), border-color .4s, box-shadow .4s; }
.js .efeito:not(.is-ligado) { border-color: var(--line); box-shadow: 0 0 0 var(--ink); }
.efeito.is-ligado { animation: brilho 1.1s ease-out; }
@keyframes brilho { from { background-position: 140% 0; } to { background-position: -40% 0; } }

.efeito__ico {
    position: relative; display: grid; place-items: center;
    width: 84px; height: 84px; margin: -10px 0 -10px -18px;
    transition: transform .45s var(--ease-spring);
}
.efeito__ico::before {
    content: ''; position: absolute; inset: 8%; border-radius: 50%;
    background: radial-gradient(circle, rgba(3, 204, 124, .55), transparent 68%); opacity: 0;
}
.efeito.is-ligado .efeito__ico::before { animation: anel 1s ease-out; }
@keyframes anel { 0% { opacity: 1; transform: scale(.5); } 100% { opacity: 0; transform: scale(1.8); } }
.efeito__ico img {
    position: relative; width: 100%; height: auto;
    filter: drop-shadow(0 10px 10px rgba(18, 20, 23, .2));
    transition: transform .7s var(--ease-spring), filter .5s;
}
.js .efeito:not(.is-ligado) .efeito__ico img { transform: scale(.68) rotate(-14deg); filter: grayscale(1) opacity(.4); }
.efeito.is-ligado .efeito__ico img { animation: flutua 5.5s ease-in-out .8s infinite; }
.efeito:nth-child(2n).is-ligado .efeito__ico img { animation-duration: 6.6s; }
.efeito:hover .efeito__ico { transform: rotate(-8deg) scale(1.07); }
.efeito h3 { font-size: 1.12rem; font-weight: 750; font-stretch: 108%; letter-spacing: -.01em; margin-bottom: 4px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.efeito h3 small {
    font-family: var(--f-mono); font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    padding: 2px 8px; border-radius: 99px; background: var(--green); color: var(--ink);
    transition: background-color .4s, color .4s;
}
.js .efeito:not(.is-ligado) h3 small { background: transparent; color: var(--muted); }
.efeito p { color: var(--ink-2); font-size: .98rem; }
.efeito__ok {
    position: absolute; top: 50%; right: 16px; display: grid; place-items: center;
    width: 28px; height: 28px; border-radius: 50%; font-size: .85rem;
    background: var(--green); color: var(--ink); border: 1.5px solid var(--ink);
    transform: translateY(-50%) scale(1); transition: transform .5s var(--ease-spring) .15s;
}
.js .efeito:not(.is-ligado) .efeito__ok { transform: translateY(-50%) scale(0); }

/* ---------- Mercadoria chegando: esteira ponta a ponta ---------- */
.chegou {
    margin-top: clamp(48px, 7vw, 88px);
    display: grid; gap: 28px; align-items: center;
    background: var(--coral-50); border: 1.5px solid var(--ink); border-radius: var(--r-lg);
    padding: clamp(24px, 4vw, 44px);
    box-shadow: 0 6px 0 var(--ink);
}
.chegou h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; font-stretch: 110%; line-height: 1.1; letter-spacing: -.02em; }
.chegou p { margin-top: 12px; color: var(--ink-2); }
.chegou ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chegou li {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 7px 12px; border-radius: 999px; background: var(--white); border: 1.5px solid var(--ink);
    font-size: .86rem; font-weight: 600;
}
.chegou li .ico { color: var(--green-700); }

.esteira {
    --ciclo: 9s;
    container-type: inline-size;
    background: var(--white); border: 1.5px solid var(--ink); border-radius: 22px;
    background-image: radial-gradient(rgba(18, 20, 23, .07) 1px, transparent 1.2px);
    background-size: 14px 14px;
    overflow: hidden;
}
.esteira__cena { position: relative; aspect-ratio: 2 / 1.08; }
.esteira__cena > * { position: absolute; }
.esteira .ico { width: 1em; height: 1em; }

/* a esteira em si: faixa grafite com listras andando */
.esteira__faixa {
    left: 3%; right: 3%; bottom: 20%; height: 5.4cqi;
    border-radius: 99px; background-color: var(--ink);
    background-image: repeating-linear-gradient(90deg, transparent 0 10px, rgba(255, 255, 255, .1) 10px 18px);
    box-shadow: inset 0 3px 0 rgba(255, 255, 255, .14), 0 1.2cqi 0 rgba(18, 20, 23, .12);
    animation: esteira-anda .8s linear infinite;
}
@keyframes esteira-anda { to { background-position: 18px 0; } }

/* portal do SysVarejo, no meio da esteira */
.portal {
    left: 50%; bottom: calc(20% + 5cqi); width: 25cqi; height: 30cqi; margin-left: -12.5cqi;
    border: 2cqi solid var(--ink); border-bottom: 0; border-radius: 6cqi 6cqi 0 0;
}
.portal__marca {
    position: absolute; left: 50%; top: -6.4cqi; width: 10.5cqi; height: 10.5cqi; margin-left: -5.25cqi;
    display: grid; place-items: center; border-radius: 50%;
    background: var(--white); border: 1.5px solid var(--ink); box-shadow: 0 .8cqi 0 var(--ink);
    animation: marca-pulsa var(--ciclo) ease-in-out infinite;
}
.portal__marca img { width: 62%; height: auto; }
.portal__feixe {
    position: absolute; z-index: 4; inset: 1.2cqi .6cqi 0;
    background: repeating-linear-gradient(90deg, transparent 0 1.2cqi, rgba(254, 114, 72, .75) 1.2cqi 1.6cqi);
    box-shadow: inset 0 0 3cqi rgba(254, 114, 72, .6);
    opacity: 0; animation: feixe var(--ciclo) linear infinite;
}
.prateleira { right: 2%; bottom: calc(20% + 2.4cqi); width: 30cqi; z-index: 1; transform-origin: 50% 100%; animation: prateleira-pula var(--ciclo) ease-out infinite; }
.prateleira img { width: 100%; filter: drop-shadow(0 1.6cqi 1.4cqi rgba(18, 20, 23, .18)); }

/* a caixa com o XML viajando */
.viajante {
    z-index: 3; left: 5%; bottom: calc(20% + 4.4cqi); width: 20cqi;
    transform: translate(35cqi, 0) rotate(0deg) scale(1);
    animation: viaja var(--ciclo) var(--ease-out) infinite;
}
.viajante img { width: 100%; filter: drop-shadow(0 1.4cqi 1.2cqi rgba(18, 20, 23, .2)); }
.viajante__xml { position: absolute; right: -16%; top: -34%; width: 56%; transform: rotate(10deg); animation: xml-cai var(--ciclo) ease-out infinite; }

.bolha {
    z-index: 5; display: inline-flex; align-items: center; gap: .5em; white-space: nowrap;
    padding: .55em .9em; border-radius: 99px; background: var(--white); border: 1.5px solid var(--ink);
    box-shadow: 0 3px 0 var(--ink);
    font-size: .8rem; font-size: clamp(.58rem, 2.3cqi, .82rem); font-weight: 700;
}
.bolha .ico { color: var(--green-700); }
.bolha--1 { left: 24%; top: 34%; transform: translateX(-50%); background: var(--green); }
.bolha--1 .ico { color: var(--ink); }
.bolha--2 { right: 3%; top: 3%; background: var(--ink); color: var(--paper); box-shadow: 0 3px 0 var(--green-900); }
.bolha--2 .ico { color: var(--green); }
.bolha--3 { right: 5%; top: 17%; }
.bolha--1 { animation: bolha-1 var(--ciclo) ease-out infinite; }
.bolha--2 { animation: bolha-2 var(--ciclo) ease-out infinite; }
.bolha--3 { animation: bolha-3 var(--ciclo) ease-out infinite; }
.est {
    bottom: 5%; font-family: var(--f-mono); font-size: .66rem; font-size: clamp(.52rem, 1.8cqi, .7rem);
    font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.est { max-width: 31%; line-height: 1.25; }
.est--1 { left: 4%; }
.est--2 { left: 50%; transform: translateX(-50%); color: var(--ink); text-align: center; }
.est--3 { right: 4%; text-align: right; }
@container (max-width: 460px) {
    .bolha--3 { top: 31%; right: 3%; }
}

/* linha do tempo (um ciclo): chega → cai o XML → vai ao portal → confere → abastece */
@keyframes viaja {
    0%   { opacity: 0; transform: translate(0, -18cqi) rotate(-8deg) scale(1); }
    5%   { opacity: 1; transform: translate(0, 0) rotate(0deg) scale(1); }
    7%   { transform: translate(0, -1.4cqi) rotate(0deg) scale(1); }
    9%, 20% { transform: translate(0, 0) rotate(0deg) scale(1); }
    40%, 54% { transform: translate(35cqi, 0) rotate(0deg) scale(1); }
    71%, 75% { opacity: 1; transform: translate(62cqi, 0) rotate(0deg) scale(1); }
    84%, 100% { opacity: 0; transform: translate(66cqi, -7cqi) rotate(6deg) scale(.4); }
}
@keyframes xml-cai {
    0%, 8% { opacity: 0; transform: translate(0, -24cqi) rotate(-25deg); }
    14%  { opacity: 1; transform: translate(0, 0) rotate(12deg); }
    16%  { transform: translate(0, -1.2cqi) rotate(9deg); }
    18%, 42% { opacity: 1; transform: translate(0, 0) rotate(10deg); filter: none; }
    46%, 52% { transform: translate(0, 0) rotate(10deg); filter: drop-shadow(0 0 1.6cqi rgba(3, 204, 124, .95)); }
    56%, 100% { opacity: 1; transform: translate(0, 0) rotate(10deg); filter: none; }
}
@keyframes feixe { 0%, 40% { opacity: 0; } 43% { opacity: 1; } 46% { opacity: .35; } 49% { opacity: 1; } 54%, 100% { opacity: 0; } }
@keyframes marca-pulsa { 0%, 41%, 55%, 100% { transform: scale(1); } 45%, 50% { transform: scale(1.14); box-shadow: 0 .8cqi 0 var(--ink), 0 0 0 1.4cqi rgba(3, 204, 124, .35); } }
@keyframes prateleira-pula { 0%, 80%, 91%, 100% { transform: none; } 84% { transform: translateY(-2cqi) scaleY(1.03); } 87% { transform: translateY(0) scaleY(.98); } }
@keyframes bolha-1 { 0%, 44% { opacity: 0; transform: translate(-50%, 1.4cqi) scale(.85); } 48%, 70% { opacity: 1; transform: translate(-50%, 0) scale(1); } 75%, 100% { opacity: 0; transform: translate(-50%, -1cqi) scale(1); } }
@keyframes bolha-2 { 0%, 83% { opacity: 0; transform: translateY(1.4cqi) scale(.85); } 87%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-1cqi); } }
@keyframes bolha-3 { 0%, 86% { opacity: 0; transform: translateY(1.4cqi) scale(.85); } 90%, 96% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-1cqi); } }
.esteira.is-pausada *, .esteira.is-pausada { animation-play-state: paused !important; }

/* ---------- Recursos: tour pelas telas reais ---------- */
.tour { display: grid; gap: 20px; }
.tour__abas {
    display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
    margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 12px;
    scrollbar-width: none;
}
.tour__abas::-webkit-scrollbar { display: none; }
.tour__aba {
    position: relative; flex: 0 0 auto; scroll-snap-align: start;
    display: flex; align-items: center; gap: 10px; text-align: left;
    padding: 8px 16px 8px 8px; border-radius: 16px; overflow: hidden;
    background: var(--white); border: 1.5px solid var(--line); color: var(--ink);
    transition: border-color .3s, box-shadow .3s, background-color .3s;
}
.tour__aba:hover { border-color: var(--ink); }
.tour__aba.is-ativa { border-color: var(--ink); box-shadow: 0 4px 0 var(--ink); }
.tour__ico { display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; }
.tour__ico img { width: 100%; filter: grayscale(.9) opacity(.55); transform: scale(.86); transition: transform .6s var(--ease-spring), filter .4s; }
.tour__aba.is-ativa .tour__ico img, .tour__aba:hover .tour__ico img { filter: none; transform: scale(1.1) rotate(-6deg); }
.tour__txt b { display: block; font-size: .96rem; font-weight: 750; font-stretch: 106%; white-space: nowrap; }
.tour__txt small { display: none; }
.tour__prog {
    position: absolute; left: 0; bottom: 0; width: 100%; height: 3px;
    background: var(--green); transform: scaleX(0); transform-origin: left;
}
.tour__aba.is-ativa .tour__prog { animation: progresso var(--tempo, 6s) linear forwards; }
.tour.is-pausado .tour__prog, .tour.is-pausado .tela__zoom { animation-play-state: paused !important; }
.tour.is-manual .tour__prog { display: none; }
@keyframes progresso { to { transform: scaleX(1); } }

.tour__palco { min-width: 0; }
.janela {
    background: var(--white); border: 1.5px solid var(--ink); border-radius: 18px; overflow: hidden;
    box-shadow: 0 10px 0 var(--ink), 0 40px 70px -40px rgba(18, 20, 23, .45);
}
.janela__barra { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: var(--paper-2); border-bottom: 1.5px solid var(--ink); }
.janela__barra > i { width: 11px; height: 11px; flex-shrink: 0; border-radius: 50%; background: var(--green); border: 1px solid rgba(18, 20, 23, .2); }
.janela__barra > i:first-child { background: var(--coral); }
.janela__barra > i:nth-child(2) { background: #f5c451; }
.janela__url {
    flex: 1; min-width: 0; margin-left: 8px; display: flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 99px; background: var(--white); border: 1px solid var(--line);
    font-family: var(--f-mono); font-size: .74rem; color: var(--muted); white-space: nowrap; overflow: hidden;
}
.janela__url .ico { color: var(--green-700); }
.janela__url b { color: var(--ink); font-weight: 600; }
.janela__telas { --zoom: 1.7; position: relative; aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; }
.tela { position: absolute; inset: 0; margin: 0; }
.js .tela { opacity: 0; visibility: hidden; transform: scale(1.03); transition: opacity .55s var(--ease-out), transform .8s var(--ease-out), visibility 0s linear .55s; }
.js .tela.is-ativa { opacity: 1; visibility: visible; transform: none; transition: opacity .55s var(--ease-out), transform .8s var(--ease-out); }
.tela__zoom { position: absolute; inset: 0; transform-origin: var(--x) var(--y); }
.tela img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
/* aproxima devagar do ponto importante (a moldura de foco acompanha o zoom) */
.tela.is-ativa .tela__zoom { animation: aproxima var(--tempo, 6s) ease-in-out forwards; }
@keyframes aproxima { 0%, 12% { transform: scale(1); } 100% { transform: scale(var(--zoom)); } }
/* holofote: moldura verde em volta do elemento real e o resto levemente escurecido */
.tela__foco {
    position: absolute; z-index: 2; border-radius: 8px;
    border: 2.5px solid var(--green);
    box-shadow: 0 0 0 4px rgba(3, 204, 124, .28), 0 0 0 200vmax rgba(18, 20, 23, .32);
    animation: foco-pulsa 1.8s ease-in-out infinite;
}
@keyframes foco-pulsa { 50% { box-shadow: 0 0 0 8px rgba(3, 204, 124, .16), 0 0 0 200vmax rgba(18, 20, 23, .32); } }
.tela__foco em {
    position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%);
    padding: 6px 12px; border-radius: 99px; white-space: nowrap;
    background: var(--ink); color: var(--paper); box-shadow: 0 3px 0 var(--green);
    font-style: normal; font-weight: 700; font-size: .82rem;
}
.tela__foco--baixo em { bottom: auto; top: calc(100% + 10px); }
/* foco perto da borda direita: a legenda cresce para a esquerda e não vaza da janela */
.tela__foco--direita em { left: auto; right: 0; transform: none; }
.js .tela__foco { opacity: 0; transition: opacity .5s; }
.js .tela.is-ativa .tela__foco { opacity: 1; transition-delay: .9s; }
.tour__nota { display: flex; align-items: center; gap: 8px; margin-top: 22px; font-family: var(--f-mono); font-size: .76rem; color: var(--muted); }
.tour__nota .ico { color: var(--green-700); }

.extras { display: grid; gap: 16px; margin-top: 36px; }
.extra {
    display: flex; align-items: center; gap: 18px; padding: 20px;
    border-radius: var(--r-lg); background: var(--white); border: 1.5px solid var(--line);
    transition: border-color .25s, box-shadow .25s, transform .25s var(--ease-out);
}
.extra:hover { border-color: var(--ink); box-shadow: 0 6px 0 var(--ink); transform: translateY(-3px); }
.extra h3 { font-size: 1.12rem; font-weight: 760; font-stretch: 106%; letter-spacing: -.01em; line-height: 1.2; }
.extra p { margin-top: 6px; color: var(--ink-2); font-size: .94rem; }
.extra__img { width: 92px; flex-shrink: 0; }
.extra__img img { width: 100%; animation: flutua 6s ease-in-out infinite; filter: drop-shadow(0 10px 10px rgba(18, 20, 23, .18)); }
.extra--qr { background: var(--green-50); overflow: hidden; }
.extra__celular {
    width: 96px; flex-shrink: 0; aspect-ratio: 390 / 844; overflow: hidden;
    border: 3px solid var(--ink); border-radius: 20px; background: var(--white);
    box-shadow: 0 6px 0 var(--ink); transform: rotate(-4deg);
}
.extra__celular img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- Fiscal (seção escura) ---------- */
.fiscal { background: var(--night); color: var(--paper); overflow: hidden; }
.fiscal::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        linear-gradient(rgba(3, 204, 124, .06) 1px, transparent 1px) 0 0 / 100% 38px,
        radial-gradient(60% 50% at 85% 20%, rgba(3, 204, 124, .16), transparent 70%);
}
.fiscal .etq { color: #9aa59f; }
.fiscal .titulo em { color: var(--green); }
.fiscal .lead { color: #c9d0cc; }
.fiscal__grade { position: relative; display: grid; gap: 48px; align-items: center; }
.dores { display: grid; gap: 14px; margin-top: 36px; }
.dor { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; border-radius: var(--r); background: var(--night-2); border: 1px solid var(--night-line); }
.dor__ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(3, 204, 124, .12); color: var(--green); font-size: 1.15rem; }
.dor h3 { font-size: 1.04rem; font-weight: 720; font-stretch: 106%; }
.dor p { font-size: .93rem; color: #b9c2bd; margin-top: 2px; }
.fiscal__rodape { margin-top: 22px; font-family: var(--f-mono); font-size: .8rem; color: #9aa59f; }
.fiscal__visual { position: relative; min-height: 440px; }
.danfce {
    position: relative; z-index: 2; margin: 112px auto 0; width: min(340px, 84%);
    background: var(--white); color: var(--ink); border-radius: 16px; padding: 20px;
    font-family: var(--f-mono); font-size: .78rem; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
    transform: rotate(3deg);
}
.danfce__cab { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.danfce__cab b { font-family: var(--f-display); font-size: .95rem; font-stretch: 110%; }
.danfce__status { padding: 3px 8px; border-radius: 99px; background: var(--green); font-weight: 600; font-size: .64rem; letter-spacing: .06em; }
.danfce dl { display: grid; grid-template-columns: auto 1fr; gap: 5px 12px; margin: 0; }
.danfce dt { color: #7c8187; }
.danfce dd { margin: 0; text-align: right; font-weight: 600; }
.danfce__chave { margin-top: 10px; padding-top: 10px; border-top: 1.5px dashed var(--line); color: #7c8187; font-size: .6rem; word-break: break-all; }
.fiscal__nota { position: absolute; z-index: 1; width: clamp(150px, 40%, 250px); right: -6px; top: -10px; }
.fiscal__nota img { width: 100%; animation: flutua 7s ease-in-out infinite; filter: drop-shadow(0 20px 24px rgba(0, 0, 0, .45)); }
.aviso-cert {
    position: absolute; z-index: 4; left: 0; top: 0;
    display: flex; align-items: center; gap: 10px; max-width: 280px;
    padding: 12px 14px; border-radius: 14px; background: var(--coral); color: var(--ink);
    border: 1.5px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
    font-size: .82rem; line-height: 1.3; transform: rotate(-3deg);
}
.aviso-cert .ico { font-size: 1.3rem; }

/* ---------- API ---------- */
.api__grade { display: grid; gap: 48px; align-items: center; }
.api__lista { display: grid; gap: 12px; margin-top: 28px; }
.api__lista li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; font-size: .98rem; color: var(--ink-2); line-height: 1.45; }
.api__lista b { color: var(--ink); }
.api__ico { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: var(--ink); color: var(--green); font-size: 1rem; }
.api__cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; }
.api__cta p { font-size: .84rem; color: var(--muted); max-width: 38ch; line-height: 1.45; }
.api__visual { position: relative; padding: 46px 0 40px; max-width: 560px; width: 100%; margin-inline: auto; }
.terminal {
    position: relative; z-index: 2;
    background: #0f1412; color: #d9e0dc; border-radius: 20px; border: 1.5px solid var(--ink);
    box-shadow: 0 8px 0 var(--green-900), 0 30px 60px -30px rgba(0, 0, 0, .5); overflow: hidden;
}
.terminal__topo { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #161d1a; border-bottom: 1px solid #26332d; font-family: var(--f-mono); font-size: .72rem; color: #8a948f; }
.terminal__topo i { width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.terminal__topo i:first-child { background: var(--coral); }
.terminal__topo i:nth-child(2) { background: #f5c451; }
.terminal__topo span { margin-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.terminal__cod { margin: 0; padding: 16px 18px; font-family: var(--f-mono); font-size: .78rem; line-height: 1.65; white-space: pre; overflow-x: auto; }
.term__l, .term__r { display: inline-block; }
.t-verbo { color: var(--coral); }
.t-chave { color: #7fe8b9; }
.t-texto { color: #ffc9b5; }
.t-num { color: #f5c451; }
.t-ok { display: inline-block; color: var(--ink); background: var(--green); padding: 0 8px; border-radius: 6px; }
.terminal__resp { position: relative; border-top: 1px dashed #26332d; min-height: 110px; }
.terminal__espera { display: none; align-items: center; gap: 5px; padding: 18px; font-family: var(--f-mono); font-size: .74rem; color: #8a948f; }
.terminal__espera i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pula 1s infinite; }
.terminal__espera i:nth-child(2) { animation-delay: .15s; }
.terminal__espera i:nth-child(3) { animation-delay: .3s; margin-right: 6px; }
.js .terminal .term__l, .js .terminal .term__r { opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.js .terminal .is-sai { opacity: 1; transform: none; }
.terminal.is-esperando .terminal__espera { display: flex; }
.terminal.is-esperando .terminal__resp .terminal__cod { display: none; }
.api__plug { position: absolute; z-index: 3; right: -22px; top: -8px; width: 34%; max-width: 190px; pointer-events: none; }
.api__plug img { width: 100%; animation: flutua 6s ease-in-out infinite; filter: drop-shadow(0 18px 18px rgba(18, 20, 23, .25)); }
.api__selo {
    position: absolute; z-index: 3; left: -16px; bottom: 6px;
    display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px;
    background: var(--white); border: 1.5px solid var(--ink); border-radius: 14px; box-shadow: 0 5px 0 var(--ink);
    transform: rotate(-3deg);
}
.api__selo > .ico { width: 34px; height: 34px; padding: 7px; border-radius: 10px; background: var(--green); color: var(--ink); }
.api__selo b { display: block; font-size: .9rem; font-stretch: 106%; }
.api__selo small { font-family: var(--f-mono); font-size: .7rem; color: var(--muted); }
.js .api__selo { opacity: 0; transform: rotate(-3deg) translateY(12px) scale(.9); transition: opacity .4s, transform .6s var(--ease-spring); }
.js .api__selo.is-sai { opacity: 1; transform: rotate(-3deg); }

/* ---------- SysIA ---------- */
.sysia__grade { display: grid; gap: 44px; align-items: center; }
.chat {
    background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r-lg);
    box-shadow: 0 8px 0 var(--ink); overflow: hidden; max-width: 520px; margin-inline: auto; width: 100%;
}
.chat__topo { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1.5px solid var(--line); }
.chat__topo img { width: 38px; height: 38px; object-fit: contain; }
.chat__topo b { display: block; font-stretch: 108%; }
.chat__topo span { font-size: .78rem; color: var(--green-700); display: inline-flex; align-items: center; gap: 6px; }
.chat__topo span::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.chat__corpo { padding: 18px; display: grid; gap: 12px; background: var(--paper) var(--grao); }
.balao { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: .92rem; line-height: 1.45; }
.balao--eu { justify-self: end; background: var(--ink); color: var(--paper); border-bottom-right-radius: 5px; }
.balao--ia { justify-self: start; background: var(--white); border: 1.5px solid var(--line); border-bottom-left-radius: 5px; }
.balao--ia b { color: var(--green-700); }
.digitando { display: inline-flex; gap: 4px; padding: 14px 16px; }
.digitando i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: pula 1.1s infinite; }
.digitando i:nth-child(2) { animation-delay: .15s; }
.digitando i:nth-child(3) { animation-delay: .3s; }
@keyframes pula { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__rodape { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1.5px solid var(--line); font-size: .8rem; color: var(--muted); }
.chat__rodape span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--ink); }
.js .chat .balao, .js .chat .digitando { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease-out), transform .45s var(--ease-out); }
.js .chat .is-sai { opacity: 1; transform: none; }
.js .chat .digitando.is-some { display: none; }
.lista-check { display: grid; gap: 12px; margin-top: 26px; }
.lista-check li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; }
.lista-check .ico { width: 22px; height: 22px; padding: 4px; border-radius: 7px; background: var(--green); color: var(--ink); margin-top: 2px; }

/* ---------- Para quem: cartazes de oferta ---------- */
.cartazes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); }
.cartaz {
    --incl: -1.2deg;
    position: relative; display: flex; flex-direction: column;
    padding: 30px 22px 22px; min-height: 290px;
    background: var(--cor, var(--white)); border: 1.5px solid var(--ink); border-radius: 6px;
    box-shadow: 0 6px 0 var(--ink);
    transform: rotate(var(--incl));
    transition: transform .3s var(--ease-spring);
}
.cartaz:nth-child(3n+2) { --incl: 1.1deg; }
.cartaz:nth-child(3n) { --incl: -.4deg; }
.cartaz:hover { transform: rotate(0deg) translateY(-4px); }
.cartaz::before {
    /* fita adesiva segurando o cartaz */
    content: ''; position: absolute; top: -12px; left: 50%; width: 86px; height: 24px;
    transform: translateX(-50%) rotate(-3deg);
    background: rgba(255, 254, 251, .72); border: 1px solid rgba(18, 20, 23, .12);
    box-shadow: 0 1px 2px rgba(18, 20, 23, .08);
}
.cartaz__tag { font-family: var(--f-mono); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.cartaz h3 { font-family: var(--f-hand); font-weight: 400; font-size: 1.72rem; line-height: 1.02; margin-top: 8px; max-width: 12ch; }
.cartaz p { margin-top: 10px; font-size: .94rem; color: var(--ink-2); max-width: 26ch; position: relative; z-index: 1; }
.cartaz img { position: absolute; right: -8px; bottom: -10px; width: 118px; filter: drop-shadow(0 10px 10px rgba(18, 20, 23, .16)); transition: transform .4s var(--ease-spring); }
.cartaz:hover img { transform: rotate(-8deg) scale(1.08); }
.cartaz--verde { --cor: #b8f2d6; }
.cartaz--coral { --cor: #ffc7b3; }
.cartaz--amarelo { --cor: #fdf1a8; }
.cartaz--branco { --cor: var(--white); }
.cartaz--cta { --cor: var(--ink); color: var(--paper); justify-content: space-between; text-decoration: none; box-shadow: 0 6px 0 var(--green); }
.cartaz--cta .cartaz__tag, .cartaz--cta p { color: #c9d0cc; }
.cartaz--cta h3 { color: var(--green); }
.cartaz--cta .seta { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 700; }
.cartaz--cta .seta .ico { font-size: 1.2rem; transition: transform .25s; }
.cartaz--cta:hover .seta .ico { transform: translateX(5px); }

/* ---------- Passos ---------- */
.passos { display: grid; gap: 18px; counter-reset: passo; }
.passo { position: relative; padding: 26px 24px 26px; border-radius: var(--r-lg); background: var(--white); border: 1.5px solid var(--line); }
.passo__n {
    display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
    background: var(--ink); color: var(--green); font-family: var(--f-mono); font-weight: 600; font-size: 1.1rem;
    box-shadow: 0 4px 0 var(--green);
}
.passo h3 { margin-top: 18px; font-size: 1.3rem; font-weight: 780; font-stretch: 108%; letter-spacing: -.015em; }
.passo p { margin-top: 6px; color: var(--ink-2); }

/* ---------- Planos ---------- */
.planos { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); align-items: stretch; }
.plano {
    position: relative; display: flex; flex-direction: column;
    background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r-lg);
    padding: 34px 24px 24px;
}
.plano::before {
    /* furo de etiqueta de preço */
    content: ''; position: absolute; top: 14px; left: 50%; width: 12px; height: 12px; margin-left: -6px;
    border-radius: 50%; background: var(--paper-2); border: 1.5px solid var(--ink);
}
.plano--destaque { background: var(--green); box-shadow: 0 8px 0 var(--ink); }
.plano--destaque::before { background: var(--paper-2); }
.plano__selo {
    position: absolute; top: -15px; right: 18px;
    padding: 5px 12px; border-radius: 8px; background: var(--coral); border: 1.5px solid var(--ink);
    font-family: var(--f-hand); font-size: 1rem; transform: rotate(4deg);
}
.plano__nome { font-size: 1.5rem; font-weight: 820; font-stretch: 112%; letter-spacing: -.02em; }
.plano__desc { margin-top: 6px; font-size: .92rem; color: var(--ink-2); min-height: 2.9em; }
.plano__preco { display: flex; align-items: flex-start; gap: 4px; margin-top: 18px; font-stretch: 110%; }
.plano__preco small { font-size: 1rem; font-weight: 700; margin-top: 8px; }
.plano__preco b { font-size: 3.3rem; font-weight: 880; line-height: 1; letter-spacing: -.04em; }
.plano__preco span { font-size: 1.1rem; font-weight: 800; margin-top: 6px; }
.plano__preco em { font-style: normal; align-self: flex-end; font-size: .88rem; color: var(--ink-2); margin-bottom: 6px; margin-left: 2px; font-stretch: 100%; }
.plano__teste {
    display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; margin-top: 12px;
    padding: 4px 10px; border-radius: 99px; border: 1.5px dashed var(--ink);
    font-family: var(--f-mono); font-size: .72rem; font-weight: 600; letter-spacing: .04em;
}
.plano__lista { display: grid; align-content: start; gap: 9px; margin: 22px 0 26px; flex: 1; padding-top: 18px; border-top: 1.5px dashed var(--line); }
.plano--destaque .plano__lista { border-top-color: rgba(18, 20, 23, .25); }
.plano__lista li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; font-size: .94rem; line-height: 1.4; }
.plano__lista .ico { margin-top: 3px; color: var(--green-700); }
.plano--destaque .plano__lista .ico { color: var(--ink); }
.planos-nota { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 26px; margin-top: 40px; font-size: .92rem; color: var(--ink-2); }
.planos-nota span { display: inline-flex; align-items: center; gap: 8px; }
.planos-nota .ico { color: var(--green-700); }
.planos-vazio { text-align: center; max-width: 560px; margin: 0 auto; padding: 36px 24px; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r-lg); box-shadow: 0 6px 0 var(--ink); }
.planos-vazio p { margin: 10px 0 22px; color: var(--ink-2); }

/* ---------- Dúvidas ---------- */
.duvidas__grade { display: grid; gap: 40px; }
.duvidas__ajuda { margin-top: 26px; padding: 20px; border-radius: var(--r); background: var(--ink); color: var(--paper); max-width: 380px; }
.duvidas__ajuda p { color: #c9d0cc; font-size: .95rem; margin: 6px 0 16px; }
.pergunta { border-bottom: 1.5px dashed var(--line); }
.pergunta:first-child { border-top: 1.5px dashed var(--line); }
.pergunta summary {
    list-style: none; cursor: pointer;
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 20px 0; font-size: 1.1rem; font-weight: 700; font-stretch: 106%;
}
.pergunta summary::-webkit-details-marker { display: none; }
.pergunta summary .mais {
    display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0;
    border-radius: 10px; border: 1.5px solid var(--ink); transition: background-color .2s;
}
.pergunta summary .mais .ico { transition: transform .3s var(--ease-out); }
.pergunta[open] summary .mais { background: var(--green); }
.pergunta[open] summary .mais .ico { transform: rotate(45deg); }
.pergunta summary:hover { color: var(--green-700); }
.pergunta__resp { padding: 0 48px 22px 0; color: var(--ink-2); }
.pergunta__resp p + p { margin-top: 10px; }

/* ---------- CTA final ---------- */
.final { padding: clamp(40px, 6vw, 72px) 0 clamp(72px, 9vw, 120px); }
.final__caixa {
    position: relative; overflow: hidden;
    border-radius: 36px; border: 2px solid var(--ink);
    background:
        repeating-linear-gradient(90deg, rgba(6, 64, 43, .07) 0 2px, transparent 2px 9px, rgba(6, 64, 43, .07) 9px 10px, transparent 10px 22px),
        radial-gradient(90% 120% at 10% 0%, #2ae39a, var(--green) 55%, #02b56d);
    box-shadow: 0 10px 0 var(--ink);
    padding: clamp(40px, 7vw, 88px) clamp(22px, 6vw, 80px);
}
.final__txt { position: relative; z-index: 2; max-width: 640px; }
.final h2 { font-size: clamp(2.3rem, 6vw, 4.6rem); font-weight: 880; font-stretch: 118%; line-height: .95; letter-spacing: -.035em; }
.final p { margin-top: 20px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--green-900); max-width: 46ch; font-weight: 500; }
.final__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 32px; }
.final__ctas a.link { font-weight: 700; text-underline-offset: 5px; }
.final__adesivo {
    position: absolute; z-index: 3; top: 26px; right: 26px;
    padding: 10px 16px; background: var(--coral); border: 2px solid var(--ink); border-radius: 12px;
    font-family: var(--f-hand); font-size: 1.15rem; transform: rotate(8deg); box-shadow: 0 4px 0 var(--ink);
}
.final .obj { display: none; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--ink); color: #c9d0cc; padding: 64px 0 28px; font-size: .95rem; }
.rodape__grade { display: grid; gap: 36px; }
.rodape__marca img { height: 28px; width: auto; }
.rodape__marca p { margin-top: 14px; max-width: 34ch; }
.rodape h2 { font-family: var(--f-mono); font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #8a948f; margin-bottom: 14px; }
.rodape ul { display: grid; gap: 10px; }
.rodape a { text-decoration: none; color: var(--paper); display: inline-flex; align-items: center; gap: 8px; }
.rodape a:hover { color: var(--green); }
.rodape__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 48px; padding-top: 22px; border-top: 1px dashed #333a36; font-size: .82rem; color: #8a948f; }

/* ---------- CTA fixo (celular) e botão WhatsApp (desktop) ---------- */
.cta-fixa {
    position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px;
    background: var(--ink); color: var(--paper); border-radius: 18px; box-shadow: 0 12px 30px -8px rgba(18, 20, 23, .5);
    transform: translateY(140%); transition: transform .4s var(--ease-out);
}
.cta-fixa.is-on { transform: none; }
.cta-fixa p { font-size: .84rem; line-height: 1.25; flex: 1; }
.cta-fixa p b { display: block; font-size: .95rem; color: var(--green); }
.cta-fixa .btn { --prof: 3px; padding: 11px 14px; font-size: .9rem; box-shadow: 0 3px 0 var(--green-900); border-color: var(--green); }
.zap {
    display: none; position: fixed; z-index: 90; right: 24px; bottom: 24px;
    width: 60px; height: 60px; border-radius: 18px; place-items: center;
    background: var(--green); color: var(--ink); border: 2px solid var(--ink); box-shadow: 0 5px 0 var(--ink);
    font-size: 1.7rem; transition: transform .15s, box-shadow .15s;
}
.zap:hover { transform: translateY(2px); box-shadow: 0 3px 0 var(--ink); }

/* ==========================================================================
   Responsivo
   ========================================================================== */
@media (max-width: 599px) {
    .hero__ctas .btn { flex: 1 1 100%; }
    .palco { aspect-ratio: auto; height: 560px; max-width: 420px; }
    .balcao { inset: 5% 2% 3% 4%; }
    .cupom-wrap { top: 11%; width: 66%; }
    .cupom { font-size: .6rem; font-size: clamp(.5rem, 2.65cqi, .7rem); }
    .cupom__itens { gap: .45em; }
    .topo__in { gap: 12px; }
    .topo__logo img { height: 24px; }
    .topo__acoes { gap: 10px; }
    .topo .btn--sm { padding: 9px 12px; }
    .eco { font-size: clamp(.6rem, 3.1cqi, .72rem); }
    .eco--1 { top: 0; right: 0; }
    .eco--2 { top: auto; bottom: 14%; left: 0; right: auto; }
    .eco--3 { bottom: 3%; left: 7%; }
    .eco--4 { display: none; }
    .obj--esconde-cel { display: none; }
    .nota-mao { display: none; }
    .efeito { grid-template-columns: 54px 1fr; gap: 12px; padding: 14px 44px 14px 0; }
    .efeito__ico { width: 68px; height: 68px; margin: -8px 0 -8px -14px; }
    .efeito__ok { right: 12px; width: 24px; height: 24px; font-size: .75rem; }
    .efeitos__trilho { left: 19px; }
    .pergunta__resp { padding-right: 0; }
    .terminal__cod { font-size: .66rem; padding: 14px; }
    .tela__foco { border-width: 1.5px; border-radius: 5px; }
    .tela__foco em { font-size: .46rem; padding: 3px 7px; bottom: calc(100% + 5px); box-shadow: 0 2px 0 var(--green); }
    .tela__foco--baixo em { top: calc(100% + 5px); }
    .api__plug { right: -8px; top: 0; width: 30%; }
    .api__selo { left: -4px; }
    .final__adesivo { position: static; display: inline-block; margin-bottom: 18px; transform: rotate(-3deg); }
    body { padding-bottom: 84px; }
}

@media (min-width: 600px) {
    .extras { grid-template-columns: 1fr 1fr; }
    .extra--qr { grid-column: 1 / -1; }
    .passos { grid-template-columns: repeat(3, 1fr); }

    .rodape__grade { grid-template-columns: 1.4fr 1fr 1fr; }
    .rodape__marca { grid-column: 1 / -1; }
    .cta-fixa { display: none; }
    .zap { display: grid; }
}

@media (min-width: 600px) {
    .topo__entrar { display: inline; }
}

@media (min-width: 1100px) {
    .topo__nav { display: block; }
    .topo__acoes { margin-left: 0; }
    .topo__menu { display: none; }
}

@media (min-width: 900px) {
    :root { --topo-h: 76px; }
    .topo__logo img { height: 30px; }

    .hero__grade { grid-template-columns: 1.08fr .92fr; gap: 40px; }
    .hero { min-height: min(calc(100svh - var(--topo-h)), 860px); display: flex; align-items: center; }
    .hero > .wrap { width: 100%; }

    .cadeia { grid-template-columns: .9fr 1.1fr; gap: 64px; }
    .cadeia__lado { position: sticky; top: calc(var(--topo-h) + 40px); }

    .tour { grid-template-columns: 290px 1fr; gap: 28px; align-items: start; }
    .janela__telas { --zoom: 1.16; }
    .tour__abas { flex-direction: column; overflow: visible; margin: 0; padding: 0; gap: 8px; }
    .tour__aba { padding: 10px 14px 10px 8px; align-items: flex-start; }
    .tour__ico { width: 52px; height: 52px; }
    .tour__txt { padding-top: 4px; }
    .tour__txt b { white-space: normal; font-size: 1.02rem; }
    .tour__txt small {
        display: block; max-height: 0; overflow: hidden; opacity: 0;
        margin-top: 2px; font-size: .84rem; line-height: 1.4; color: var(--ink-2);
        transition: max-height .45s var(--ease-out), opacity .3s;
    }
    .tour__aba.is-ativa .tour__txt small { max-height: 8em; opacity: 1; }
    .extras { grid-template-columns: repeat(3, 1fr); }
    .extra--qr { grid-column: auto; }

    .fiscal__grade { grid-template-columns: 1.05fr .95fr; gap: 64px; }
    .chegou { grid-template-columns: .82fr 1.18fr; gap: 40px; }
    .api__grade { grid-template-columns: 1fr 1.05fr; gap: 72px; }
    .fiscal__visual { min-height: 460px; }
    .aviso-cert { left: -10px; }

    .sysia__grade { grid-template-columns: 1fr 1fr; gap: 72px; }
    .sysia__txt { order: 2; }

    .duvidas__grade { grid-template-columns: .8fr 1.2fr; gap: 72px; }
    .duvidas__lado { position: sticky; top: calc(var(--topo-h) + 40px); align-self: start; }

    .final .obj { display: block; }
    .final__txt { max-width: 58%; }

    .plano__desc { min-height: 4.3em; }
    .rodape__grade { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
    .rodape__marca { grid-column: auto; }
}

@media (min-width: 900px) and (max-width: 1099px) {
    .hero__titulo { font-size: clamp(2.6rem, 5.6vw, 4.2rem); }
    .eco--2 { right: -2%; }
    .eco--4 { left: -3%; }
}

@media (min-width: 1200px) {
    .dores { grid-template-columns: 1fr 1fr; }
    .eco--2 { right: -10%; }
}

/* Movimento reduzido: tudo parado, conteúdo no estado final */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .fita__trilho { animation: none; }
    .obj img, .fiscal__nota img { animation: none; }
    .hero__titulo .risco svg path { stroke-dashoffset: 0; }
    .esteira, .esteira * { animation: none !important; }
}
