/* Traktofy · tela de entrada e cadastro, feita do zero (a pedido do dono).
   A tela é um iPhone 17 Pro Max azul: as vendas caem da ilha, o widget soma o faturado, o líquido e a sua parte e o acesso fica numa
   folha de vidro embaixo da tela do iPhone. Tudo acompanha o mouse em camadas (fundo, grade, luz, vendas caindo, iPhone e o reflexo do
   vidro), suavizado num laço só (login.js). No celular a moldura some e a própria tela da pessoa vira o iPhone.
   Só anima transform/translate/scale/opacity; nenhum desfoque é animado. */
body.tk2 { --ink:#0d1530; --muted:#6f7da3; --blue:#0b6bff; --blue2:#2f95ff; --cyan:#00d1ff; --good:#12a36b; --bad:#ff5a64;
  --sk1:#e9efff; --sk2:#d6e2ff; --sk3:#f4f7ff; --capi:#0d1530; --capm:#55628a;
  --mx:0; --my:0; --px:50vw; --py:40vh;
  margin:0 !important; padding:0 !important; display:block !important; max-width:none !important; min-height:100vh; min-height:100svh; background:var(--sk1); color:var(--ink); font-family:Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
html[data-theme="neod"] body.tk2 { --sk1:#050a1c; --sk2:#0d2366; --sk3:#081536; --capi:#eef3ff; --capm:#93a1c6; }
body.tk2 * { box-sizing:border-box; }
body.tk2 button { font:inherit; color:inherit; }
body.tk2 main { max-width:none; margin:0; }

/* ---------- a cena ---------- */
.au { position:relative; min-height:100vh; min-height:100svh; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:clamp(40px, 6vw, 120px); padding:40px clamp(32px, 7vw, 130px); overflow:hidden; isolation:isolate;
  background:radial-gradient(120% 90% at 25% 15%, var(--sk2) 0%, var(--sk3) 45%, var(--sk1) 100%); user-select:none; -webkit-user-select:none; }
.au-bg { position:absolute; inset:0; z-index:-1; pointer-events:none; }
.au-bg i { position:absolute; border-radius:50%; will-change:transform; }
.au-bg .b1 { width:64vmax; height:64vmax; left:-18vmax; top:-26vmax; background:radial-gradient(closest-side, rgba(47,149,255,.45), transparent); animation:auFloat 18s ease-in-out infinite alternate; translate:calc(var(--mx) * -70px) calc(var(--my) * -50px); }
.au-bg .b2 { width:50vmax; height:50vmax; right:-16vmax; bottom:-22vmax; background:radial-gradient(closest-side, rgba(0,209,255,.26), transparent); animation:auFloat 22s ease-in-out infinite alternate-reverse; translate:calc(var(--mx) * 90px) calc(var(--my) * 60px); }
.au-bg .b3 { width:32vmax; height:32vmax; left:38%; top:48%; background:radial-gradient(closest-side, rgba(122,92,255,.2), transparent); animation:auFloat 26s ease-in-out infinite alternate; translate:calc(var(--mx) * -40px) calc(var(--my) * 70px); }
html:not([data-theme="neod"]) .au-bg .b1 { background:radial-gradient(closest-side, rgba(47,149,255,.32), transparent); } html:not([data-theme="neod"]) .au-bg .b2 { background:radial-gradient(closest-side, rgba(0,209,255,.22), transparent); }
@keyframes auFloat { from { transform:translate3d(0,0,0); } to { transform:translate3d(4vmax,3vmax,0); } }
.au-wave { position:absolute; left:-4%; right:-4%; bottom:-2%; width:108%; height:44%; opacity:.55; translate:calc(var(--mx) * -30px) calc(var(--my) * -12px); }
.au-wave path { fill:rgba(47,149,255,.08); stroke:rgba(110,190,255,.3); stroke-width:1.5; vector-effect:non-scaling-stroke; transition:d .9s cubic-bezier(.2,.8,.2,1); }
.au::after { content:''; position:absolute; inset:-60px; z-index:-1; pointer-events:none; background-image:linear-gradient(rgba(130,160,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(130,160,255,.07) 1px, transparent 1px); background-size:46px 46px;
  -webkit-mask-image:radial-gradient(60% 55% at 60% 45%, #000, transparent); mask-image:radial-gradient(60% 55% at 60% 45%, #000, transparent); translate:calc(var(--mx) * -24px) calc(var(--my) * -18px); }
.au-spot { position:absolute; left:0; top:0; z-index:-1; width:720px; height:720px; margin:-360px 0 0 -360px; border-radius:50%; pointer-events:none; background:radial-gradient(closest-side, rgba(80,170,255,.16), transparent); translate:var(--px) var(--py); will-change:translate; }

/* as vendas que caem no fundo, em profundidade (as de perto maiores, mais rápidas e mais mexidas pelo mouse) */
.au-rain { position:absolute; inset:0; z-index:-1; pointer-events:none; overflow:hidden; }
.au-rain > span { position:absolute; left:var(--x); top:0; translate:calc(var(--mx) * var(--d) * -120px) calc(var(--my) * var(--d) * -60px); }
.au-rain > span > i { display:flex; align-items:center; gap:6px; padding:6px 11px 6px 7px; border-radius:99px; font-style:normal; font-size:calc(9px + var(--d) * 5px); font-weight:700; color:#e9f2ff; white-space:nowrap; opacity:0;
  background:rgba(20,34,72,.55); box-shadow:inset 0 0 0 1px rgba(255,255,255,.12); animation:auRain var(--t) linear var(--w) infinite; scale:calc(.7 + var(--d) * .45); }
.au-rain > span > i b { color:#4ade80; } .au-rain > span > i img { width:1.5em; height:1.5em; border-radius:.4em; }
html:not([data-theme="neod"]) .au-rain > span > i { background:rgba(255,255,255,.7); color:#0d1530; box-shadow:inset 0 0 0 1px rgba(16,30,80,.08), 0 8px 18px -12px rgba(10,30,90,.4); } html:not([data-theme="neod"]) .au-rain > span > i b { color:#0f9a5f; }
@keyframes auRain { 0% { transform:translate3d(0,-12vh,0) rotate(-4deg); opacity:0; } 12% { opacity:var(--a); } 85% { opacity:var(--a); } 100% { transform:translate3d(0,112vh,0) rotate(5deg); opacity:0; } }

/* o lado do texto (só no computador) */
.au-cap { position:relative; z-index:1; max-width:460px; color:var(--capi); translate:calc(var(--mx) * 16px) calc(var(--my) * 12px); }
.au-brand { display:flex; align-items:center; gap:12px; margin-bottom:clamp(26px, 6vh, 64px); } .au-brand img { width:44px; height:44px; border-radius:13px; box-shadow:0 10px 22px -12px rgba(11,107,255,1); }
.au-wm svg { display:block; height:26px; width:auto; color:var(--capi); }
.au-cap h2 { margin:0; font-family:'Space Grotesk', Inter, sans-serif; font-size:clamp(36px, 3.8vw, 58px); font-weight:700; letter-spacing:-.035em; line-height:1.02; }
.au-cap h2 em { font-style:normal; background:linear-gradient(90deg, #4aa3ff, #00d1ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.au-cap > p { margin:16px 0 0; color:var(--capm); font-size:16.5px; line-height:1.5; }
.au-feats { list-style:none; margin:30px 0 0; padding:0; display:grid; gap:10px; }
.au-feats li { display:flex; align-items:baseline; gap:10px; padding:12px 16px; border-radius:16px; background:rgba(130,160,255,.07); box-shadow:inset 0 0 0 1px rgba(130,160,255,.12); font-size:14.5px; transition:translate .4s cubic-bezier(.3,1.5,.5,1), background .25s; }
.au-feats li:hover { translate:6px 0; background:rgba(130,160,255,.12); }
.au-feats li b { font-weight:700; } .au-feats li span { color:var(--capm); }
.au-feats li::before { content:''; flex:none; width:8px; height:8px; border-radius:50%; background:linear-gradient(135deg, #2f95ff, #00d1ff); box-shadow:0 0 10px rgba(0,209,255,.7); translate:0 -1px; }
.au-cap .au-hint { margin-top:22px; font-size:12.5px; color:var(--capm); opacity:.75; }
.au-foot { display:flex; align-items:center; flex-wrap:wrap; gap:5px; margin:26px 0 0; color:var(--capm); font-size:12.5px; }
.au-foot svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:1.8; } .au-foot a { color:inherit; } .au-foot a:hover { color:var(--capi); }
.au-foot.m { display:none; }

/* ---------- o iPhone 17 Pro Max azul ---------- */
.ph-wrap { --h:min(88vh, 860px); position:relative; z-index:1; height:var(--h); width:calc(var(--h) / 2.08); perspective:1800px; -webkit-tap-highlight-color:transparent; }
.ph { position:absolute; inset:0; border-radius:calc(var(--h) * .085); padding:calc(var(--h) * .0125); cursor:pointer;
  background:linear-gradient(135deg, #3a5288 0%, #1e2f58 22%, #15213f 50%, #26406f 78%, #3b5690 100%);
  box-shadow:inset 0 0 0 1.5px rgba(160,190,255,.35), inset 0 0 0 4px rgba(10,16,40,.9), 0 2px 0 rgba(255,255,255,.08), 0 50px 90px -34px rgba(0,0,0,.85), 0 20px 50px -24px rgba(11,107,255,.5);
  transform:translateY(var(--lift, 0px)) rotateX(var(--rx, 5deg)) rotateY(var(--ry, -9deg)) rotateZ(var(--rz, 1deg)); transform-style:preserve-3d; will-change:transform; }
.ph::before { content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:linear-gradient(115deg, rgba(255,255,255,.24) 0%, rgba(255,255,255,0) 28%, rgba(255,255,255,0) 70%, rgba(255,255,255,.1) 100%); }
.ph-k { position:absolute; width:4px; border-radius:2px; background:linear-gradient(90deg, #172647, #4a66a3); }
.ph-k.k1 { left:-3px; top:17%; height:5%; } .ph-k.k2 { left:-3px; top:25%; height:8%; } .ph-k.k3 { left:-3px; top:35%; height:8%; }
.ph-k.k4 { right:-3px; top:27%; height:12%; background:linear-gradient(270deg, #172647, #4a66a3); } .ph-k.k5 { right:-3px; top:55%; height:7%; background:linear-gradient(270deg, #172647, #4a66a3); }
.ph-scr { position:relative; height:100%; border-radius:calc(var(--h) * .073); overflow:hidden; background:#02040c; box-shadow:0 0 0 1px #000; font-size:calc(var(--h) * .0185); color:#fff; }
.ph-wall { position:absolute; inset:-6%; background:radial-gradient(90% 60% at 20% 0%, #1b4fb8 0%, rgba(27,79,184,0) 60%), radial-gradient(80% 50% at 100% 100%, rgba(0,180,255,.35), transparent 70%), linear-gradient(180deg, #0a1638, #050a1d 70%); translate:calc(var(--mx) * 18px) calc(var(--my) * 14px); }
.ph-glare { position:absolute; inset:0; z-index:9; pointer-events:none; background:linear-gradient(115deg, transparent 38%, rgba(255,255,255,.09) 48%, rgba(255,255,255,.02) 56%, transparent 64%); translate:calc(var(--mx) * 70%) 0; }
.ph-bar { position:absolute; left:0; right:0; top:0; height:calc(var(--h) * .065); display:flex; align-items:center; justify-content:space-between; padding:0 calc(var(--h) * .045) 0 calc(var(--h) * .055); font-size:calc(var(--h) * .022); z-index:3; }
.ph-bar b { font-weight:600; letter-spacing:-.01em; }
.ph-sig { display:flex; align-items:center; gap:calc(var(--h) * .008); } .ph-sig svg { height:calc(var(--h) * .015); width:auto; fill:#fff; }
.ph-bat { position:relative; width:calc(var(--h) * .034); height:calc(var(--h) * .016); border-radius:4px; border:1.5px solid rgba(255,255,255,.55); padding:1.5px; } .ph-bat i { display:block; height:100%; width:78%; border-radius:2px; background:#fff; }
.ph-isl { position:absolute; left:50%; top:calc(var(--h) * .015); width:calc(var(--h) * .16); height:calc(var(--h) * .046); margin-left:calc(var(--h) * -.08); border-radius:99px; background:#000; z-index:6; }
.ph-isl i { position:absolute; right:22%; top:50%; width:calc(var(--h) * .015); height:calc(var(--h) * .015); margin-top:calc(var(--h) * -.0075); border-radius:50%; background:radial-gradient(circle at 35% 35%, #3b4d7a, #0a0f22 60%); }
.ph-home { position:absolute; left:50%; bottom:calc(var(--h) * .01); width:34%; height:4px; margin-left:-17%; border-radius:3px; background:rgba(255,255,255,.7); z-index:8; }
.ph-shadow { position:absolute; left:10%; right:10%; bottom:-36px; height:40px; border-radius:50%; background:radial-gradient(closest-side, rgba(0,0,0,.5), transparent); z-index:-1; translate:calc(var(--mx) * -30px) 0; }

/* o widget da Traktofy */
.pw { position:absolute; left:5%; right:5%; top:calc(var(--h) * .075); z-index:2; padding:1.15em 1.2em 1em; border-radius:1.6em; background:linear-gradient(160deg, rgba(255,255,255,.13), rgba(255,255,255,.045)); box-shadow:inset 0 0 0 1px rgba(255,255,255,.13), inset 0 1px 0 rgba(255,255,255,.2); }
.pw::after { content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; box-shadow:0 0 0 2px rgba(74,222,128,.55), 0 0 30px rgba(74,222,128,.25); opacity:0; }
.pw.hit::after { animation:pwHit .9s cubic-bezier(.2,.8,.2,1); } @keyframes pwHit { 0% { opacity:0; scale:1; } 25% { opacity:1; } 100% { opacity:0; scale:1.04; } }
.pw-top { display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:.95em; }
.pw-brand { display:flex; align-items:center; gap:.4em; font-weight:700; letter-spacing:-.01em; } .pw-brand img { width:1.35em; height:1.35em; border-radius:.35em; }
.pw-live { display:flex; align-items:center; gap:.35em; color:rgba(220,232,255,.7); font-size:.92em; } .pw-live i { width:.42em; height:.42em; border-radius:50%; background:#22c55e; animation:auPulse 2.2s ease-out infinite; }
@keyframes auPulse { 0% { box-shadow:0 0 0 0 rgba(34,197,94,.6); } 70% { box-shadow:0 0 0 .5em rgba(34,197,94,0); } 100% { box-shadow:0 0 0 0 rgba(34,197,94,0); } }
.pw-lbl { margin-top:1em; color:rgba(220,232,255,.72); font-size:.92em; font-weight:600; transition:opacity .2s; }
.pw-row { display:flex; align-items:baseline; gap:.5em; min-width:0; }
.pw-val { font-family:'Space Grotesk', Inter, sans-serif; font-size:2.6em; font-weight:700; letter-spacing:-.035em; font-variant-numeric:tabular-nums; white-space:nowrap; }
.pw-plus { font-size:.95em; font-weight:800; color:#4ade80; opacity:0; translate:0 .5em; transition:opacity .3s, translate .5s cubic-bezier(.3,1.6,.5,1); white-space:nowrap; } .pw-plus.on { opacity:1; translate:0 0; }
.pw-seg { position:relative; display:grid; grid-template-columns:repeat(3,1fr); margin-top:.8em; padding:.2em; border-radius:.75em; background:rgba(0,0,0,.28); box-shadow:inset 0 0 0 1px rgba(255,255,255,.06); }
.pw-seg button { position:relative; z-index:1; height:2.15em; border:0; background:none; color:rgba(220,232,255,.62); font-size:.86em; font-weight:700; cursor:pointer; transition:color .25s; }
.pw-seg button.on { color:#fff; }
.pw-th { position:absolute; top:.2em; bottom:.2em; left:.2em; width:calc((100% - .4em) / 3); border-radius:.6em; background:linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.1)); box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 4px 10px -4px rgba(0,0,0,.5); translate:calc(var(--m, 0) * 100%) 0; transition:translate .55s cubic-bezier(.3,1.35,.5,1); }
.pw-ch { display:block; width:100%; height:3.6em; margin-top:.8em; overflow:visible; }
.pw-ch path { transition:d .7s cubic-bezier(.2,.8,.2,1); } #pw-dot { fill:#fff; stroke:#00d1ff; stroke-width:2; transition:cx .7s cubic-bezier(.2,.8,.2,1), cy .7s cubic-bezier(.2,.8,.2,1); }
.pw-foot { display:flex; justify-content:space-between; margin-top:.35em; color:rgba(220,232,255,.6); font-size:.86em; font-variant-numeric:tabular-nums; }

/* as notificações que caem da ilha */
.ph-nots { position:absolute; left:4.5%; right:4.5%; top:calc(var(--h) * .385); height:calc(var(--h) * .24); z-index:2; }
.nt { position:absolute; left:0; right:0; top:0; display:flex; gap:.75em; padding:.85em .9em; border-radius:1.4em; background:rgba(30,38,68,.8); box-shadow:inset 0 0 0 1px rgba(255,255,255,.1), 0 10px 24px -12px rgba(0,0,0,.7); font-size:.93em; line-height:1.3;
  translate:0 var(--y, 0px); scale:var(--s, 1); opacity:var(--o, 1); transform-origin:50% 0; transition:translate .6s cubic-bezier(.3,1.25,.5,1), scale .6s cubic-bezier(.3,1.25,.5,1), opacity .4s; will-change:translate; }
.nt-ic { flex:none; width:2.6em; height:2.6em; border-radius:.7em; background:#0b1530; display:grid; place-items:center; box-shadow:inset 0 0 0 1px rgba(255,255,255,.08); } .nt-ic img { width:72%; height:72%; }
.nt-b { flex:1; min-width:0; }
.nt-h { display:flex; justify-content:space-between; gap:6px; color:rgba(220,232,255,.6); font-size:.84em; font-weight:600; letter-spacing:.04em; text-transform:uppercase; } .nt-h small { font-size:1em; letter-spacing:0; text-transform:none; }
.nt-t { font-weight:700; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.nt-s { color:rgba(220,232,255,.75); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; } .nt-s em { font-style:normal; font-weight:800; color:#4ade80; }

/* ---------- o acesso: a folha de vidro dentro do iPhone ---------- */
.ph-sheet { position:absolute; left:0; right:0; bottom:0; z-index:7; padding:.9em 1.25em 2.1em; border-radius:2em 2em 0 0; cursor:default; user-select:text; -webkit-user-select:text;
  background:linear-gradient(180deg, rgba(22,30,58,.86), rgba(10,15,34,.96)); box-shadow:inset 0 1px 0 rgba(255,255,255,.14), inset 0 0 0 1px rgba(255,255,255,.06), 0 -24px 50px -20px rgba(0,0,0,.8);
  -webkit-backdrop-filter:blur(18px) saturate(1.6); backdrop-filter:blur(18px) saturate(1.6); transition:translate .5s cubic-bezier(.3,1.3,.5,1); }
.sh-grab { display:block; width:2.6em; height:.3em; margin:0 auto .8em; border-radius:99px; background:rgba(255,255,255,.22); }
.au-tabs { position:relative; display:grid; grid-template-columns:1fr 1fr; padding:.22em; border-radius:.9em; background:rgba(255,255,255,.06); box-shadow:inset 0 0 0 1px rgba(255,255,255,.07); margin-bottom:1em; }
.au-tabs button { position:relative; z-index:1; height:2.3em; border:0; background:none; border-radius:.7em; font-size:.95em; font-weight:600; color:rgba(220,232,255,.6); cursor:pointer; transition:color .25s; }
.au-tabs button[aria-selected="true"] { color:#fff; }
.au-th { position:absolute; top:.22em; bottom:.22em; left:.22em; width:calc(50% - .22em); border-radius:.7em; background:linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.09)); box-shadow:inset 0 1px 0 rgba(255,255,255,.25), 0 6px 14px -8px rgba(0,0,0,.7); transition:translate .5s cubic-bezier(.3,1.35,.5,1); }
.au-tabs.is-signup .au-th { translate:100% 0; }
.au-h { margin:0 0 .15em; font-family:'Space Grotesk', Inter, sans-serif; font-size:1.45em; font-weight:700; letter-spacing:-.03em; line-height:1.15; }
.au-h small { display:block; margin-top:.25em; font-family:Inter, sans-serif; font-size:.55em; font-weight:500; letter-spacing:0; color:rgba(220,232,255,.6); }
.au-form { display:grid; gap:.6em; animation:auIn .45s cubic-bezier(.2,.8,.2,1) both; }
.au-form.leaving { animation:auOut .16s ease-in both; }
@keyframes auIn { from { opacity:0; translate:0 .7em; } to { opacity:1; translate:0 0; } }
@keyframes auOut { to { opacity:0; translate:0 -.4em; } }

/* campo com o nome que sobe quando a pessoa digita */
.fl { position:relative; }
.fl input { width:100%; height:3.3em; padding:1.35em 2.7em .35em 2.7em; border:0; border-radius:.95em; background:rgba(255,255,255,.06); box-shadow:inset 0 0 0 1px rgba(255,255,255,.1); color:#fff; font:inherit; font-size:1em; outline:none; transition:box-shadow .2s, background .2s; -webkit-text-fill-color:#fff; caret-color:#4aa3ff; }
.fl input:-webkit-autofill { -webkit-box-shadow:inset 0 0 0 1px rgba(255,255,255,.1), inset 0 0 0 60px #17213f; -webkit-text-fill-color:#fff; }
.fl input:hover { box-shadow:inset 0 0 0 1px rgba(110,180,255,.4); }
.fl input:focus { background:rgba(47,149,255,.1); box-shadow:inset 0 0 0 1.5px #3d9bff, 0 0 0 .25em rgba(47,149,255,.18), 0 0 24px -6px rgba(47,149,255,.6); }
.fl label { position:absolute; left:2.75em; top:1.05em; color:rgba(220,232,255,.55); font-size:.98em; pointer-events:none; transform-origin:0 0; transition:translate .25s cubic-bezier(.2,.8,.2,1), scale .25s cubic-bezier(.2,.8,.2,1), color .2s; white-space:nowrap; }
.fl label small { font-size:.85em; opacity:.7; margin-left:.3em; }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label { translate:0 -.62em; scale:.74; color:#6db4ff; }
.fl input:not(:focus):not(:placeholder-shown) + label { color:rgba(220,232,255,.5); }
.fl-i { position:absolute; left:.95em; top:1.05em; width:1.25em; height:1.25em; fill:none; stroke:rgba(220,232,255,.5); stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; pointer-events:none; transition:stroke .2s; }
.fl input:focus ~ .fl-i { stroke:#6db4ff; }
.fl-eye { position:absolute; right:.45em; top:.6em; width:2.2em; height:2.2em; display:grid; place-items:center; border:0; border-radius:.65em; background:none; color:rgba(220,232,255,.55); cursor:pointer; }
.fl-eye:hover { color:#fff; background:rgba(255,255,255,.08); }
.fl-eye svg { width:1.25em; height:1.25em; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; } .fl-eye .sl { opacity:0; transition:opacity .2s; } .fl-eye[aria-pressed="true"] .sl { opacity:1; }
.fl.bad input { box-shadow:inset 0 0 0 1.5px var(--bad), 0 0 0 .25em rgba(255,90,100,.15); } .fl.bad label { color:var(--bad); }
.fl.good input { box-shadow:inset 0 0 0 1.5px #34d399; } .fl.good .fl-i { stroke:#34d399; }
.au-caps { margin:-.2em .2em 0; font-size:.82em; color:#ffc24a; }
.au-err { margin:0; padding:.6em .8em; border-radius:.8em; background:rgba(255,90,100,.14); color:#ff8f96; font-size:.86em; font-weight:600; }
.au-meter { display:grid; grid-template-columns:repeat(4,1fr) auto; gap:.3em; align-items:center; margin:-.2em .15em .1em; }
.au-meter i { height:.25em; border-radius:3px; background:rgba(255,255,255,.1); transition:background .25s; }
.au-meter span { min-width:4em; text-align:right; font-size:.78em; font-weight:700; color:rgba(220,232,255,.6); }
.au-meter[data-s="1"] i:nth-child(-n+1) { background:var(--bad); } .au-meter[data-s="2"] i:nth-child(-n+2) { background:#e8a317; }
.au-meter[data-s="3"] i:nth-child(-n+3) { background:#2f95ff; } .au-meter[data-s="4"] i { background:#34d399; }
.ph-sheet.shake { animation:auShake .42s cubic-bezier(.36,.07,.19,.97); }
@keyframes auShake { 10%, 90% { translate:-1px 0; } 20%, 80% { translate:3px 0; } 30%, 50%, 70% { translate:-6px 0; } 40%, 60% { translate:6px 0; } }

/* o botão: um brilho passa por ele, a seta anda ao passar o mouse; carregando gira; deu certo vira o certinho */
.au-btn { position:relative; display:flex; align-items:center; justify-content:center; gap:.5em; height:3.3em; margin-top:.3em; border:0; border-radius:.95em; background:linear-gradient(180deg, #3aa0ff, #0b6bff); color:#fff !important; font-size:1em; font-weight:700; cursor:pointer; overflow:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35), 0 14px 30px -14px rgba(11,107,255,1); transition:translate .35s cubic-bezier(.3,1.6,.5,1), box-shadow .25s, filter .2s; }
.au-btn::after { content:''; position:absolute; top:0; bottom:0; left:-40%; width:40%; background:linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform:translateX(0); animation:auBtnShine 4.5s ease-in-out infinite; pointer-events:none; }
@keyframes auBtnShine { 0%, 62% { transform:translateX(0); } 100% { transform:translateX(360%); } }
.au-btn:hover { translate:0 -1px; box-shadow:inset 0 1px 0 rgba(255,255,255,.35), 0 18px 36px -14px rgba(11,107,255,1); } .au-btn:active { translate:0 1px; filter:brightness(.95); }
.au-btn .arr { width:1.1em; height:1.1em; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; transition:translate .35s cubic-bezier(.3,1.6,.5,1); } .au-btn:hover .arr { translate:.25em 0; }
.au-btn .spin { position:absolute; width:1.4em; height:1.4em; border-radius:50%; border:2.5px solid rgba(255,255,255,.35); border-top-color:#fff; opacity:0; animation:auSpin .8s linear infinite; }
.au-btn .chk { position:absolute; width:1.5em; height:1.5em; fill:none; stroke:#fff; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; opacity:0; scale:.5; transition:opacity .2s, scale .45s cubic-bezier(.3,1.6,.5,1); }
.au-btn.loading .btx, .au-btn.loading .arr, .au-btn.ok .btx, .au-btn.ok .arr { opacity:0; } .au-btn.loading .spin { opacity:1; } .au-btn.ok .chk { opacity:1; scale:1; } .au-btn.ok { background:linear-gradient(180deg, #34d399, #12a36b); }
.au-btn:disabled { cursor:default; }
.au-btn.ghost { background:rgba(255,255,255,.08); box-shadow:inset 0 0 0 1px rgba(255,255,255,.12); } .au-btn.ghost::after { display:none; }
@keyframes auSpin { to { rotate:360deg; } }
.au-alt { margin:.35em 0 0; text-align:center; color:rgba(220,232,255,.6); font-size:.9em; }
.au-link { border:0; background:none; padding:0; color:#6db4ff !important; font-weight:700; cursor:pointer; } .au-link:hover { text-decoration:underline; }
.au-done { display:grid; justify-items:center; gap:.4em; text-align:center; padding:.6em 0; animation:auIn .45s cubic-bezier(.2,.8,.2,1) both; }
.au-done p { margin:0 0 .6em; color:rgba(220,232,255,.65); } .au-done .au-btn { width:100%; }
.au-ok { width:3.6em; height:3.6em; fill:none; stroke:#34d399; stroke-width:3; stroke-linecap:round; stroke-linejoin:round; } .au-ok circle { opacity:.25; }
.au-ok path { stroke-dasharray:40; stroke-dashoffset:40; animation:auDraw .6s .15s cubic-bezier(.2,.8,.2,1) forwards; } @keyframes auDraw { to { stroke-dashoffset:0; } }

/* entrada da tela: o iPhone sobe com mola, o texto vem em seguida e a folha sobe por último */
.au.in .ph-wrap { animation:auPhIn 1.1s cubic-bezier(.2,.9,.25,1.05) both; }
.au.in .au-cap > * { animation:auIn .7s cubic-bezier(.2,.8,.2,1) both; }
.au.in .au-cap > :nth-child(2) { animation-delay:.08s; } .au.in .au-cap > :nth-child(3) { animation-delay:.16s; } .au.in .au-cap > :nth-child(4) { animation-delay:.24s; } .au.in .au-cap > :nth-child(n+5) { animation-delay:.32s; }
.au.in .ph-sheet { animation:auSheetIn .8s .45s cubic-bezier(.2,.9,.25,1.05) both; }
@keyframes auPhIn { from { opacity:0; transform:translate3d(0,60px,0) scale(.94); } to { opacity:1; transform:none; } }
@keyframes auSheetIn { from { transform:translate3d(0,100%,0); } to { transform:none; } }

/* ---------- celular: a moldura some e a tela da pessoa vira o iPhone ---------- */



@media (prefers-reduced-motion: reduce) {
  .au-bg i, .pw-live i, .au-rain, .au-btn::after { animation:none !important; } .au-rain { display:none; }
  .nt, .pw-th, .pw-plus, .ph-sheet { transition:none; } .au.in .ph-wrap, .au.in .au-cap > *, .au.in .ph-sheet { animation:none; }
}
@media (min-width:960px) {
  .au-rain { -webkit-mask-image:linear-gradient(90deg, transparent 0%, transparent 42%, rgba(0,0,0,.5) 54%, #000 64%); mask-image:linear-gradient(90deg, transparent 0%, transparent 42%, rgba(0,0,0,.5) 54%, #000 64%); }   /* as vendas caem em volta do iPhone, nunca por cima do texto */
  .ph-nots { top:calc(var(--h) * .415); }
}
body.tk2 { overflow-x:clip !important; } html:has(body.tk2) { overflow-x:clip; background:var(--sk1, #050a1c); }   /* sem a faixa da barra de rolagem na lateral */
@media (min-width:1100px) { html:has(body.tk2) { scrollbar-gutter:auto; overflow-y:auto; } }

/* ========== rodada 2 (a pedido do dono, com mais animação, textos melhores, mais interativo, celular melhor) ========== */
/* o título troca junto com o iPhone (Faturado, Líquido, Meu valor) e os cartões ao lado mostram qual está na tela */
.au-kick { display:inline-flex; align-items:center; gap:8px; margin:0 0 18px; padding:6px 13px 6px 10px; border-radius:99px; font-size:12.5px; font-weight:700; letter-spacing:.02em; color:var(--capi); background:rgba(130,160,255,.1); box-shadow:inset 0 0 0 1px rgba(130,160,255,.2); }
.au-kick i { width:7px; height:7px; border-radius:50%; background:#22c55e; animation:auPulse 2.2s ease-out infinite; }
.au-cap h2.au-rt { display:grid; min-height:2.08em; }
.au-rt b { grid-area:1 / 1; font-weight:inherit; opacity:0; translate:0 .4em; transition:opacity .45s, translate .75s cubic-bezier(.2,.8,.2,1); }
.au-rt b.on { opacity:1; translate:0 0; } .au-rt b.out { opacity:0; translate:0 -.4em; }
.au-cap .au-sub { max-width:430px; }
.au-feats li { position:relative; overflow:hidden; align-items:center; gap:12px; padding:12px 14px; cursor:pointer; }
.au-feats li::before { display:none; }
.au-feats li::after { content:''; position:absolute; inset:0; pointer-events:none; background:radial-gradient(170px circle at var(--sx, 50%) var(--sy, 50%), rgba(120,180,255,.2), transparent 70%); opacity:0; transition:opacity .25s; }
.au-feats li:hover::after { opacity:1; }
.au-feats .fi { position:relative; z-index:1; flex:none; width:38px; height:38px; border-radius:12px; display:grid; place-items:center; background:rgba(130,160,255,.13); color:var(--capi); transition:background .3s, color .3s, scale .4s cubic-bezier(.3,1.6,.5,1); }
.au-feats .fi svg { width:19px; height:19px; fill:none; stroke:currentColor; stroke-width:1.9; stroke-linecap:round; stroke-linejoin:round; }
.au-feats .ft { position:relative; z-index:1; display:grid; gap:1px; } .au-feats .ft b { font-size:14.5px; } .au-feats .ft small { font-size:12.5px; color:var(--capm); }
.au-feats li.on { background:rgba(47,149,255,.14); box-shadow:inset 0 0 0 1px rgba(47,149,255,.42), 0 12px 28px -18px rgba(11,107,255,.9); }
.au-feats li.on .fi { background:linear-gradient(150deg, #3aa0ff, #0b6bff); color:#fff; scale:1.06; box-shadow:0 8px 16px -8px rgba(11,107,255,.9); }
.au-feats li:hover { translate:5px 0; }
.au-feats .fp { position:absolute; left:0; right:0; bottom:0; height:2px; transform-origin:0 50%; scale:0 1; background:linear-gradient(90deg, #2f95ff, #00d1ff); box-shadow:0 0 8px rgba(0,209,255,.6); }
.au-feats li.on .fp { animation:fpRun 4.5s linear forwards; } .au-feats li.on.pin .fp { animation:none; scale:1 1; opacity:.55; }
@keyframes fpRun { to { scale:1 1; } }
.au-hint .kb { display:inline-block; padding:1px 7px; margin-right:2px; border-radius:6px; background:rgba(130,160,255,.15); color:var(--capi); font-weight:700; }

/* a ilha do iPhone conversa com quem está entrando: Olá, cadeado na senha, Entrando, deu certo ou tente de novo */
.ph-isl { display:flex; align-items:center; justify-content:center; overflow:hidden; transition:width .55s cubic-bezier(.3,1.3,.5,1), margin-left .55s cubic-bezier(.3,1.3,.5,1); }
.ph-isl.x { width:calc(var(--h) * .31); margin-left:calc(var(--h) * -.155); }
.ph-isl i { transition:opacity .2s; } .ph-isl.x i { opacity:0; }
.isl-c { display:flex; align-items:center; gap:.45em; max-width:100%; padding:0 .9em; font-size:calc(var(--h) * .0165); font-weight:700; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; opacity:0; transition:opacity .2s; }
.ph-isl.x .isl-c { opacity:1; transition-delay:.15s; }
.isl-c svg { flex:none; width:1.25em; height:1.25em; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; }
.isl-c.ok { color:#4ade80; } .isl-c.err { color:#ff8a91; } .isl-c.lock svg { color:#6db4ff; }
.isl-c .sp { flex:none; width:1.1em; height:1.1em; border-radius:50%; border:2px solid rgba(255,255,255,.3); border-top-color:#fff; animation:auSpin .8s linear infinite; }

/* luz que segue o dedo/mouse dentro do acesso */
.ph-sheet::before { content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none; background:radial-gradient(260px circle at var(--sx, 50%) var(--sy, -20%), rgba(80,160,255,.16), transparent 70%); }
.ph-sheet > * { position:relative; z-index:1; }
.ph-sheet .au-h { display:block; }

/* faíscas quando a venda pousa e o "tranco" do iPhone */
.spk { position:absolute; z-index:3; width:6px; height:6px; margin:-3px 0 0 -3px; border-radius:50%; background:#4ade80; box-shadow:0 0 10px #4ade80; pointer-events:none; }

/* deu certo: o iPhone "desbloqueia" antes de abrir o painel */
.au.unlock .ph-sheet { translate:0 106% !important; transition:translate .6s cubic-bezier(.55,0,.75,.2); }
.au.unlock .pw, .au.unlock .ph-nots { translate:0 -35%; opacity:0; transition:translate .7s cubic-bezier(.55,0,.75,.2), opacity .5s; }
.au.unlock .ph-wall { scale:1.1; transition:scale .9s cubic-bezier(.2,.8,.2,1); }

/* celular */

@media (prefers-reduced-motion: reduce) { .au-feats li.on .fp { animation:none; scale:1 1; } .au-rt b { transition:none; } }

/* entrando na conta: o texto e o fundo saem, o iPhone se aproxima e a tela escurece no azul-noite da abertura do painel */
.au.zoom .au-cap { opacity:0; translate:-24px 0; transition:opacity .45s, translate .6s cubic-bezier(.65,0,.2,1); }
.au.zoom .au-rain, .au.zoom .au-wave, .au.zoom .au-spot { opacity:0; transition:opacity .5s; }
.au.zoom .ph-glare, .au.zoom .ph-shadow { opacity:0; transition:opacity .3s; }
.au-veil { position:fixed; inset:0; z-index:100; pointer-events:none; opacity:0; background:radial-gradient(80% 60% at 50% 40%, #0d2366, #050a1c 70%); }

/* ---------- celular: o acesso sempre inteiro na tela (a pedido do dono) ---------- */



/* ---------- celular: o mesmo iPhone azul do computador, do tamanho da tela (a pedido do dono) ---------- */
@media (max-width:959px) {
  .au { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:0; min-height:100svh; padding:calc(env(safe-area-inset-top, 0px) + 10px) 10px calc(env(safe-area-inset-bottom, 0px) + 10px); overflow:visible !important; overflow-x:clip !important; }
  .au-cap, .au-spot, .ph-shadow { display:none; }
  .ph-wrap { --h:min(calc(100svh - 20px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)), calc((100vw - 16px) * 2.08)); }
  .ph { cursor:default; transform:none !important; }   /* no celular ele fica de frente (o toque cai sempre onde a pessoa mirou) */
  .fl input { font-size:16px; height:calc(var(--h) * .061); padding:calc(var(--h) * .025) calc(var(--h) * .05) calc(var(--h) * .006); }   /* 16 px: com menos o iPhone dá zoom ao tocar; o tamanho do campo continua o do iPhone */
  .ph-nots { top:calc(var(--h) * .415); }
  .au-rain > span > i { scale:calc(.5 + var(--d) * .3); }
  .ph-sheet { -webkit-backdrop-filter:none; backdrop-filter:none; background:linear-gradient(180deg, rgba(24,33,64,.97), rgba(10,15,34,.99)); }   /* sem desfoque: é o que mais pesava no celular */
  .au:not(.in):not(.zoom) .ph-wrap { animation:phFloat 7s ease-in-out infinite; }   /* o iPhone flutua de leve; para quando a pessoa toca num campo */
  .au:focus-within .ph-wrap { animation-play-state:paused; }
  .au-bg .b3 { display:none; }
}
@keyframes phFloat { 0%, 100% { translate:0 0; rotate:0deg; } 50% { translate:0 -6px; rotate:.5deg; } }
@media (prefers-reduced-motion: reduce) { .au .ph-wrap { animation:none !important; } }
