:root {
  --bg: #131518;
  --bg-2: #181b1f;
  --card: #1c2025;
  --line: #2a2f36;
  --text: #e9ebe6;
  --muted: #a3a9ae;
  --lime: #c8f23a;
  --lime-dim: rgba(200, 242, 58, 0.14);
  --coral: #ff8a65;
  --sky: #5cc8ff;
  --lilac: #b69cff;
  --amber: #ffc94d;
  --radius: 18px;
  --f-head: "Space Grotesk", system-ui, sans-serif;
  --f-body: "DM Sans", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--lime); color: var(--bg); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--lime); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 500; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.mono { font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.02em; }
.lime { color: var(--lime); }

/* NAV */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px max(20px, calc((100% - 1160px) / 2));
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(19, 21, 24, 0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.logo { font-family: var(--f-head); font-weight: 600; font-size: 20px; text-decoration: none; letter-spacing: -0.02em; }
.logo span { color: var(--lime); }
.nav-links { display: flex; gap: 28px; }
.nav-links a { text-decoration: none; color: var(--muted); font-size: 15px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* BUTTONS */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border-radius: 999px;
  font-family: var(--f-body); font-size: 16px; font-weight: 500; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transform: translate(var(--mx), var(--my));
  transition: transform 0.35s var(--ease), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn-lime { background: var(--lime); color: #11140a; }
.btn-lime:hover { box-shadow: 0 0 0 6px var(--lime-dim), 0 10px 40px rgba(200, 242, 58, 0.25); }
.btn-ghost { background: rgba(255, 255, 255, 0.03); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--lime); color: var(--lime); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-lg { min-height: 58px; padding: 0 32px; font-size: 17px; }

/* HERO */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
#orb { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.4s var(--ease); }
#orb.ready { opacity: 1; }
.hero-glow { position: absolute; z-index: -2; width: 70vmax; height: 70vmax; right: -25vmax; top: -15vmax; background: radial-gradient(closest-side, rgba(200, 242, 58, 0.09), transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px; opacity: 0.18; mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 10%, transparent 65%); }
.hero-inner { position: relative; }
.tag { display: inline-flex; align-items: center; gap: 10px; color: var(--lime); padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(19, 21, 24, 0.6); margin-bottom: 28px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 var(--lime); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(200, 242, 58, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(200, 242, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(200, 242, 58, 0); } }

.hero-title { font-size: clamp(44px, 8.4vw, 104px); line-height: 0.98; max-width: 11ch; margin-bottom: 26px; }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero-title .w > span { display: inline-block; }

.rotator { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: clamp(19px, 2.3vw, 24px); color: var(--muted); margin-bottom: 18px; }
.rot-window { display: inline-block; height: 1.5em; overflow: hidden; vertical-align: bottom; }
.rot-list { display: flex; flex-direction: column; }
.rot-list span { display: block; height: 1.5em; line-height: 1.5em; color: var(--text); font-family: var(--f-head); font-weight: 600; border-bottom: 2px solid var(--lime); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); max-width: 46ch; margin-bottom: 34px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 56px; }

.stats { display: flex; flex-wrap: wrap; gap: 14px 44px; }
.stats li { display: flex; flex-direction: column; }
.stats strong { font-family: var(--f-head); font-size: 34px; font-weight: 600; line-height: 1.1; }
.stats span:not(.count) { color: var(--muted); font-size: 14px; }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 1.5px solid var(--line); border-radius: 20px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--lime); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* MARQUEE */
.marquee { border-block: 1px solid var(--line); background: var(--bg-2); overflow: hidden; padding: 22px 0; display: flex; flex-direction: column; gap: 14px; transform: rotate(-1.5deg) scale(1.04); margin: 10px 0; }
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 34s linear infinite; }
.marquee span { font-family: var(--f-head); font-size: clamp(22px, 3vw, 32px); font-weight: 500; color: var(--muted); white-space: nowrap; }
.marquee i { color: var(--lime); font-style: normal; font-size: 18px; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track.reverse { animation-direction: reverse; animation-duration: 40s; }
.marquee-track.reverse span { color: transparent; -webkit-text-stroke: 1px #59616a; font-family: var(--f-head); }

/* SECTIONS */
.section { padding: clamp(90px, 13vw, 160px) 0; position: relative; }
.kicker { color: var(--lime); margin-bottom: 18px; }
.h2 { font-size: clamp(32px, 5vw, 58px); line-height: 1.05; max-width: 18ch; margin-bottom: 26px; }
.h2.big { font-size: clamp(36px, 6.4vw, 78px); max-width: 16ch; }
.h2 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.h2 .w > span { display: inline-block; }
.body { color: var(--muted); max-width: 58ch; margin-bottom: 16px; font-size: 18px; }

/* ABOUT */
.about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.avatar { position: relative; width: min(340px, calc(100% - 90px)); aspect-ratio: 1; margin-inline: auto; }
.avatar-ph, .avatar img { position: absolute; inset: 9%; width: 82%; height: 82%; border-radius: 50%; object-fit: cover; }
.avatar img { border: 1px solid var(--line); background: var(--card); }
.avatar-ph { display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #2b3138, var(--card)); border: 1px solid var(--line); font-family: var(--f-head); font-size: clamp(60px, 9vw, 96px); font-weight: 600; color: var(--lime); }
.avatar-badge { position: absolute; right: 6%; bottom: 12%; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; color: var(--lime); }
.avatar-badge::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); margin-right: 8px; vertical-align: 1px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* CARDS */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 50px; }
.card {
  --gx: 50%; --gy: 50%;
  position: relative; padding: 34px 28px 32px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); overflow: hidden;
  transition: border-color 0.3s, transform 0.5s var(--ease);
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(380px circle at var(--gx) var(--gy), rgba(200, 242, 58, 0.11), transparent 45%); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.card:hover { border-color: rgba(200, 242, 58, 0.45); transform: translateY(-6px); }
.card:hover::before { opacity: 1; }
.card-num { position: absolute; top: 24px; right: 26px; color: var(--muted); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--lime-dim); color: var(--lime); margin-bottom: 28px; }
.card h3 { font-size: 24px; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 16px; }

/* TOOLS */
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 46px; }
.tool { display: flex; align-items: center; gap: 14px; padding: 22px 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); transition: border-color 0.3s, background 0.3s; }
.tool:hover { border-color: rgba(200, 242, 58, 0.45); background: #20252b; }
.tool-name { font-family: var(--f-head); font-weight: 600; font-size: 21px; }
.pill { font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 11px; }
.tool-free { margin-left: auto; color: var(--lime); }
.tool-free.pago { color: var(--muted); }

/* GUIDE */
.guide { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: clamp(32px, 5vw, 60px); border-radius: 28px; background: linear-gradient(140deg, #1d2226, #161a1d); border: 1px solid var(--line); position: relative; overflow: hidden; }
.guide::after { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; bottom: -200px; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 242, 58, 0.16), transparent); pointer-events: none; }
.guide .h2 { margin-bottom: 16px; }
.guide .body { margin-bottom: 0; }
.guide-form { position: relative; z-index: 1; }
.guide-form label { display: block; font-size: 15px; font-weight: 500; margin-bottom: 10px; }
.field { display: flex; gap: 8px; padding: 6px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); transition: border-color 0.2s; }
.field:focus-within { border-color: var(--lime); }
.field input { flex: 1; min-width: 0; background: transparent; border: 0; color: var(--text); font: inherit; font-size: 16px; padding: 0 16px; }
.field input:focus { outline: none; }
.field input::placeholder { color: #7d848a; }
.form-msg { min-height: 1.6em; margin-top: 10px; font-size: 15px; color: var(--lime); }
.form-msg.err { color: #ff8a7a; }
.form-note { font-size: 14px; color: var(--muted); }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 50px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--f-head); font-size: 20px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--lime); font-size: 20px; transition: transform 0.35s var(--ease), background 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--lime-dim); }
.faq details p { color: var(--muted); padding: 0 50px 24px 0; }

/* PARTNER */
.partner { text-align: center; border-top: 1px solid var(--line); background: radial-gradient(ellipse at 50% 120%, rgba(200, 242, 58, 0.1), transparent 60%); }
.partner-inner { display: flex; flex-direction: column; align-items: center; }
.partner .h2 { margin-inline: auto; }
.partner .body { margin-bottom: 36px; }

/* FOOTER */
.footer { border-top: 1px solid var(--line); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.social { display: flex; gap: 24px; }
.social a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.social a:hover { color: var(--lime); }
.copy { color: var(--muted); }


/* ===== LIVELY LAYER ===== */
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; background: var(--lime); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px var(--lime); }

.hero-spot { position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(520px circle at var(--sx, 30%) var(--sy, 40%), rgba(200, 242, 58, 0.07), transparent 60%); }
/* "o trabalho chato.": white letters with neon comet streaks racing through them
   (bright head + fading tail, decelerating like the Mesa Pronta QR trail) */
@property --s1 { syntax: '<percentage>'; inherits: false; initial-value: -170%; }
@property --s2 { syntax: '<percentage>'; inherits: false; initial-value: -170%; }
@property --s3 { syntax: '<percentage>'; inherits: false; initial-value: -170%; }
@property --s4 { syntax: '<percentage>'; inherits: false; initial-value: -170%; }
.hero-title .lime {
  --comet: linear-gradient(90deg, rgba(200,242,58,0) 0%, rgba(200,242,58,0.45) 40%, #c8f23a 80%, #eaff9e 96%, rgba(200,242,58,0) 100%);
  background-image: var(--comet), var(--comet), var(--comet), var(--comet), linear-gradient(#f4f6f1, #f4f6f1);
  background-size: 55% 0.14em, 38% 0.09em, 60% 0.16em, 42% 0.1em, 100% 100%;
  background-position: var(--s1) 22%, var(--s2) 36%, var(--s3) 70%, var(--s4) 82%, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: comet1 5s cubic-bezier(.3,.55,.3,1) infinite 1.8s,
             comet2 5s cubic-bezier(.3,.55,.3,1) infinite 2.05s,
             comet3 5s cubic-bezier(.3,.55,.3,1) infinite 1.95s,
             comet4 5s cubic-bezier(.3,.55,.3,1) infinite 2.25s;
}
@keyframes comet1 { 0% { --s1: -170%; } 32% { --s1: 260%; } 32.01%, 100% { --s1: -170%; } }
@keyframes comet2 { 0% { --s2: -170%; } 32% { --s2: 260%; } 32.01%, 100% { --s2: -170%; } }
@keyframes comet3 { 0% { --s3: -170%; } 32% { --s3: 260%; } 32.01%, 100% { --s3: -170%; } }
@keyframes comet4 { 0% { --s4: -170%; } 32% { --s4: 260%; } 32.01%, 100% { --s4: -170%; } }

.chips { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.chip { position: absolute; left: var(--x); top: var(--y); padding: 9px 16px; border-radius: 999px; background: rgba(28, 32, 37, 0.72); border: 1px solid var(--line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font: 500 14px var(--f-body); color: var(--text); white-space: nowrap; animation: float 6s ease-in-out infinite; animation-delay: var(--d); translate: var(--px, 0) var(--py, 0); transition: translate 0.6s var(--ease); }
.chip::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--c, var(--lime)); box-shadow: 0 0 10px var(--c, var(--lime)); margin-right: 8px; vertical-align: 1px; }
.chip-lime { background: var(--lime); color: #11140a; border-color: var(--lime); font-weight: 500; box-shadow: 0 10px 40px rgba(200, 242, 58, 0.3); }
.chip-lime::before { background: #11140a; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }

.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.7), transparent); transform: skewX(-20deg); animation: shine 3.8s ease-in-out infinite; }
@keyframes shine { 0%, 65% { left: -60%; } 100% { left: 130%; } }

/* Pains */
.pains-section { overflow: hidden; }
.aurora { position: absolute; z-index: -1; width: 900px; height: 600px; left: 50%; top: 20%; translate: -50% 0; background: radial-gradient(closest-side, rgba(200, 242, 58, 0.12), transparent), radial-gradient(closest-side at 70% 60%, rgba(120, 200, 255, 0.06), transparent); filter: blur(30px); animation: aurora 14s ease-in-out infinite alternate; pointer-events: none; }
@keyframes aurora { from { transform: translate(-8%, -4%) scale(1); } to { transform: translate(8%, 6%) scale(1.15); } }
.pains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 36px 0 30px; }
.pain { width: 100%; height: 100%; display: flex; align-items: center; gap: 16px; text-align: left; padding: 22px 22px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--text); font: 500 18px/1.4 var(--f-body); cursor: pointer; transition: border-color 0.25s, background 0.25s, transform 0.35s var(--ease); }
.pain:hover { border-color: #3b424b; transform: translateY(-3px); }
.box { flex: none; width: 28px; height: 28px; border-radius: 8px; border: 1.5px solid #4a525b; display: grid; place-items: center; transition: background 0.25s, border-color 0.25s, transform 0.35s var(--ease); }
.box::after { content: ""; width: 12px; height: 7px; border-left: 2.5px solid #11140a; border-bottom: 2.5px solid #11140a; transform: rotate(-45deg) scale(0); margin-top: -3px; transition: transform 0.3s var(--ease); }
.pain[aria-pressed="true"] { border-color: var(--lime); background: linear-gradient(140deg, rgba(200, 242, 58, 0.1), var(--card) 60%); }
.pain[aria-pressed="true"] .box { background: var(--lime); border-color: var(--lime); transform: scale(1.08); }
.pain[aria-pressed="true"] .box::after { transform: rotate(-45deg) scale(1); }
.pain-result { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px 26px; border-radius: 18px; border: 1px dashed var(--line); transition: border-color 0.3s, background 0.3s; }
.pain-result.on { border-color: var(--lime); border-style: solid; background: rgba(200, 242, 58, 0.06); }
.pain-msg { font-family: var(--f-head); font-size: 21px; font-weight: 500; max-width: 34ch; }

/* Speed bars */
.speed { display: flex; flex-direction: column; gap: 26px; margin-top: 46px; }
.speed-task { font-family: var(--f-head); font-size: 20px; font-weight: 500; margin-bottom: 10px; }
.bars { display: flex; flex-direction: column; gap: 8px; }
.bar { position: relative; display: flex; align-items: center; height: 34px; border-radius: 10px; width: var(--w, 0%); min-width: 74px; transition: width 1.4s var(--ease); }
.bar em { font-style: normal; font: 13px var(--f-mono); padding: 0 12px; white-space: nowrap; }
.bar-before { background: #2a2f36; color: var(--muted); }
.bar-after { background: var(--lime); color: #11140a; box-shadow: 0 0 24px rgba(200, 242, 58, 0.25); transition-delay: 0.25s; }
.legend { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 30px; color: var(--muted); }
.lg { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.lg-before { background: #2a2f36; } .lg-after { background: var(--lime); }
.legend .note { margin-left: auto; }

/* Avatar (new) */
.avatar-halo { position: absolute; inset: 4%; border-radius: 50%; background: radial-gradient(closest-side, rgba(200, 242, 58, 0.25), transparent 75%); animation: halo 3.2s ease-in-out infinite; }
@keyframes halo { 0%, 100% { transform: scale(0.95); opacity: 0.6; } 50% { transform: scale(1.08); opacity: 1; } }
.avatar-arc { position: absolute; inset: 4%; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 55%, rgba(200, 242, 58, 0.15) 70%, var(--lime) 92%, #f4ffd0 100%); -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); mask: radial-gradient(closest-side, transparent calc(100% - 4px), #000 calc(100% - 3px)); animation: spin 3.5s linear infinite; filter: drop-shadow(0 0 8px rgba(200, 242, 58, 0.6)); }
.orbit { position: absolute; inset: 2cqw; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, 0.09); animation: spin 18s linear infinite; }
.avatar { container-type: inline-size; }
.arm { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)); }
.pin { position: absolute; left: 0; top: -48cqw; width: 0; height: 0; transform-origin: 0 0; transform: rotate(calc(-1 * var(--a))); animation: unspin 18s linear infinite; }
.orb-chip { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%); padding: 6px 13px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font: 500 13px var(--f-body); color: var(--text); white-space: nowrap; box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4); }
.orb-chip::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime); margin-right: 7px; vertical-align: 1px; }
.orb-lime { background: var(--lime); color: #11140a; border-color: var(--lime); }
.orb-lime::before { background: #11140a; }
@keyframes unspin { from { rotate: 0deg; } to { rotate: -360deg; } }
.avatar-ph { transition: transform 0.6s var(--ease); }
.avatar:hover .avatar-ph, .avatar:hover img { transform: scale(1.04); }

/* Guide extras */
.checks { margin-top: 18px; display: grid; gap: 8px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--lime-dim); }
.checks li::after { content: ""; position: absolute; left: 5px; top: 9px; width: 8px; height: 4px; border-left: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(-45deg); }
.pdf { position: relative; width: 160px; aspect-ratio: 3 / 4; margin: 0 auto 26px; padding: 18px 16px; border-radius: 12px; background: linear-gradient(160deg, #262b31, #191c20); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; box-shadow: 18px 22px 0 -6px rgba(200, 242, 58, 0.12), 0 30px 60px rgba(0, 0, 0, 0.45); transform: rotate(-6deg); animation: float 7s ease-in-out infinite; }
.pdf strong { font-family: var(--f-head); font-size: 34px; color: var(--lime); line-height: 1; margin-top: 18px; }
.pdf span { font-size: 13px; color: var(--muted); line-height: 1.3; }
.pdf-tag { align-self: flex-start; background: var(--lime); color: #11140a !important; padding: 2px 8px; border-radius: 6px; font-size: 11px !important; }
.pdf-by { margin-top: auto; font-size: 11px !important; }

/* Tilt cards */
.card.tilt { transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0)); }
.card.tilt:hover { --ty: -6px; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.card-icon { transition: transform 0.5s var(--ease); }
.card:hover .card-icon { transform: rotate(-8deg) scale(1.1); }

/* Sticky CTA (mobile) */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta { position: fixed; z-index: 55; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(28, 32, 37, 0.92); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--text); text-decoration: none; font-size: 15px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); transform: translateY(140%); transition: transform 0.5s var(--ease); }
  .sticky-cta.show { transform: none; }
  .sticky-btn { background: var(--lime); color: #11140a; font-weight: 500; padding: 10px 18px; border-radius: 999px; }
  .footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}

@media (max-width: 900px) {
  .chips { display: none; }
  .pains { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pain { font-size: 16px; padding: 18px; }
  .pain-result { flex-direction: column; align-items: stretch; text-align: left; }
  .pain-result .btn { width: 100%; }
  .pain-msg { font-size: 19px; }
  .speed-task { font-size: 17px; }
  .legend .note { margin-left: 0; width: 100%; }
  .marquee span { font-size: 22px; }
}


/* ===== COLOR LAYER ===== */
.hero-mesh { position: absolute; inset: -10%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(40% 35% at 78% 22%, rgba(182, 156, 255, 0.20), transparent 70%),
    radial-gradient(35% 30% at 92% 70%, rgba(92, 200, 255, 0.16), transparent 70%),
    radial-gradient(30% 30% at 60% 85%, rgba(255, 138, 101, 0.14), transparent 70%),
    radial-gradient(35% 35% at 15% 10%, rgba(200, 242, 58, 0.08), transparent 70%);
  animation: mesh 18s ease-in-out infinite alternate; }
@keyframes mesh { from { transform: translate3d(-2%, 0, 0) rotate(0deg); } to { transform: translate3d(2%, 3%, 0) rotate(4deg); } }
.hero-glow { display: none; }
.marquee i:nth-of-type(4n+1) { color: var(--lime); }
.marquee i:nth-of-type(4n+2) { color: var(--sky); }
.marquee i:nth-of-type(4n+3) { color: var(--lilac); }
.marquee i:nth-of-type(4n) { color: var(--coral); }
.kicker { display: inline-flex; align-items: center; gap: 8px; }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--lime), var(--sky)); }
.aurora { background: radial-gradient(closest-side, rgba(182, 156, 255, 0.16), transparent), radial-gradient(closest-side at 70% 60%, rgba(92, 200, 255, 0.12), transparent), radial-gradient(closest-side at 20% 70%, rgba(200, 242, 58, 0.10), transparent); }
.pains li:nth-child(4n+1) .pain { --c: var(--lime); }
.pains li:nth-child(4n+2) .pain { --c: var(--sky); }
.pains li:nth-child(4n+3) .pain { --c: var(--lilac); }
.pains li:nth-child(4n) .pain { --c: var(--coral); }
.pain[aria-pressed="true"] { border-color: var(--c); background: linear-gradient(140deg, color-mix(in srgb, var(--c) 14%, transparent), var(--card) 65%); }
.pain[aria-pressed="true"] .box { background: var(--c); border-color: var(--c); }
.bar-after { background: linear-gradient(90deg, var(--lime), var(--sky)); }
.speed-row:nth-child(2) .bar-after { background: linear-gradient(90deg, var(--sky), var(--lilac)); }
.speed-row:nth-child(3) .bar-after { background: linear-gradient(90deg, var(--lilac), var(--coral)); }
.speed-row:nth-child(4) .bar-after { background: linear-gradient(90deg, var(--coral), var(--amber)); }
.card { --c: var(--lime); }
.card-icon { background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.card::before { background: radial-gradient(380px circle at var(--gx) var(--gy), color-mix(in srgb, var(--c) 16%, transparent), transparent 45%); }
.card:hover { border-color: color-mix(in srgb, var(--c) 55%, transparent); }
.card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--c); opacity: 0.85; }
.orb-coral { background: var(--coral); color: #2a0f06; border-color: var(--coral); }
.orb-sky { background: var(--sky); color: #04202e; border-color: var(--sky); }
.orb-coral::before, .orb-sky::before { background: currentColor; }
.avatar-arc { background: conic-gradient(from 0deg, transparent 0 45%, rgba(92, 200, 255, 0.4) 62%, var(--lilac) 75%, var(--coral) 88%, var(--lime) 100%); }
.avatar-halo { background: radial-gradient(closest-side, rgba(182, 156, 255, 0.28), rgba(92, 200, 255, 0.10) 55%, transparent 78%); }

/* Bento showcase */
.showcase-section { overflow: hidden; }
.bento { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 18px; margin-top: 44px; align-items: stretch; }
.demo { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: #0f1113; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(182, 156, 255, 0.08); position: relative; }
.demo::before { content: ""; position: absolute; inset: -1px; border-radius: 22px; padding: 1px; background: linear-gradient(140deg, var(--coral), var(--lilac) 40%, transparent 70%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.demo-top { display: flex; align-items: center; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.demo-top span { width: 11px; height: 11px; border-radius: 50%; background: #3a3f46; }
.demo-top span:nth-child(1) { background: var(--coral); } .demo-top span:nth-child(2) { background: var(--amber); } .demo-top span:nth-child(3) { background: var(--lime); }
.demo-top p { margin-left: auto; color: var(--muted); font-size: 12px; }
.demo-body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 22px 18px; min-height: 300px; }
.msg { max-width: 90%; padding: 13px 16px; border-radius: 16px; font-size: 15px; line-height: 1.5; }
.msg-user { align-self: flex-end; background: #262b31; border-bottom-right-radius: 4px; }
.msg-ai { align-self: flex-start; display: flex; gap: 10px; background: linear-gradient(140deg, rgba(255, 138, 101, 0.12), rgba(182, 156, 255, 0.10)); border: 1px solid rgba(255, 138, 101, 0.25); border-bottom-left-radius: 4px; }
.msg-ai p { white-space: pre-line; }
.ai-badge { flex: none; width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: var(--coral); color: #2a0f06; font-size: 13px; }
.typed::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: var(--lime); vertical-align: -2px; animation: blink 1s steps(1) infinite; }
.typed.done::after { display: none; }
@keyframes blink { 50% { opacity: 0; } }
.msg-ai.thinking p { display: none; }
.msg-ai.thinking::after { content: ""; width: 34px; height: 10px; background: radial-gradient(circle, var(--muted) 45%, transparent 50%) 0 50% / 11px 10px repeat-x; animation: dots 1s linear infinite; }
@keyframes dots { to { background-position: 11px 50%; } }
.msg.hide { opacity: 0; transform: translateY(8px); }
.msg { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.demo-input { display: flex; align-items: center; justify-content: space-between; margin: 0 14px 14px; padding: 12px 12px 12px 16px; border-radius: 14px; background: #1a1d21; border: 1px solid var(--line); color: #6f767d; }
.send { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--coral); color: #2a0f06; font-weight: 600; }

.show-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.show-card { --c: var(--lime); position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px; border-radius: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 13%, var(--card)), var(--card) 55%); border: 1px solid color-mix(in srgb, var(--c) 28%, var(--line)); overflow: hidden; transition: transform 0.45s var(--ease), border-color 0.3s, box-shadow 0.3s; }
.show-card:hover { transform: translateY(-5px); border-color: var(--c); box-shadow: 0 18px 50px color-mix(in srgb, var(--c) 18%, transparent); }
.show-card::after { content: ""; position: absolute; width: 140px; height: 140px; right: -50px; top: -50px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 35%, transparent), transparent); pointer-events: none; }
.show-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-size: 22px; background: color-mix(in srgb, var(--c) 20%, transparent); }
.show-card h3 { font-size: 19px; line-height: 1.25; }
.show-card p { color: var(--muted); font-size: 15px; flex: 1; }
.copy { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); background: color-mix(in srgb, var(--c) 12%, transparent); color: var(--text); font: 500 14px var(--f-body); cursor: pointer; transition: background 0.2s, color 0.2s; }
.copy::before { content: "⧉"; color: var(--c); }
.copy:hover { background: var(--c); color: #111; }
.copy:hover::before { color: #111; }
.copy.ok { background: var(--c); color: #111; }
.copy.ok::before { content: "✓"; color: #111; }

.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom)); z-index: 70; translate: -50% 0; padding: 12px 20px; border-radius: 999px; background: var(--lime); color: #11140a; font-weight: 500; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(16px); transition: opacity 0.3s, transform 0.4s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: none; }

.disclaimer { width: 100%; font-size: 13px; color: #7d848a; margin-top: 6px; }
.btn-ghost:hover { border-color: var(--sky); color: var(--sky); }
.progress span { background: linear-gradient(90deg, var(--lime), var(--sky), var(--lilac), var(--coral)); box-shadow: none; }

@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .show-grid { grid-template-columns: 1fr; }
  .demo-body { min-height: 260px; }
  .msg { font-size: 14px; }
}

/* ANIMATION INITIAL STATES (only when JS + motion allowed) */
.anim .reveal-up, .anim .reveal-card { opacity: 0; transform: translateY(34px); }
.anim .hero-title .w > span, .anim .h2.split .w > span { transform: translateY(110%); }
.anim .tag { opacity: 0; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .about, .faq-wrap, .guide { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .about .avatar { width: min(270px, calc(100% - 100px)); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 104px 0 80px; align-items: flex-end; }
  .hero-title { font-size: clamp(42px, 13vw, 64px); }
  .tools { grid-template-columns: 1fr; }
  .stats { gap: 18px 28px; }
  .stats strong { font-size: 28px; }
  .cta-row .btn { flex: 1 1 100%; }
  .field { flex-direction: column; border-radius: 18px; padding: 8px; }
  .field input { min-height: 48px; }
  .field .btn { width: 100%; }
  .faq summary { font-size: 18px; }
  .faq details p { padding-right: 0; }
  .scroll-hint { display: none; }
  .nav .btn-sm { padding: 0 14px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}

/* ===================== FOCUS MARQUEE ===================== */
.marquee.lens { transform: none; padding: 30px 0; gap: 18px; margin: 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee.lens .marquee-track { animation: none; will-change: transform; }
.marquee.lens span { --f: 0; display: inline-block; transform: scale(calc(1 + var(--f) * 0.22)); transform-origin: 50% 60%;
  color: color-mix(in srgb, var(--c, var(--lime)) calc(var(--f) * 100%), #6d747b);
  text-shadow: 0 0 calc(var(--f) * 26px) color-mix(in srgb, var(--c, var(--lime)) calc(var(--f) * 70%), transparent); }
.marquee.lens .reverse span { -webkit-text-stroke: 1px color-mix(in srgb, var(--c, var(--lime)) calc(var(--f) * 100%), #4a5158);
  color: color-mix(in srgb, var(--c, var(--lime)) calc(var(--f) * 85%), transparent); text-shadow: none; }
.marquee.lens i { display: inline-block; transition: none; }

/* ===================== STREAMING REPLY ===================== */
.msg-ai p.stream { white-space: normal; }
.msg-ai .ln { display: block; animation: ln-in 0.45s var(--ease) both; }
.msg-ai .tok { animation: tok-in 0.35s ease both; }
@keyframes ln-in { from { opacity: 0; transform: translateY(6px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes tok-in { from { opacity: 0; filter: blur(3px); } to { opacity: 1; filter: none; } }
.msg-ai .ln-head { font-weight: 500; color: #fff; }
.msg-ai .mark { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-right: 8px; padding: 0 5px; border-radius: 6px;
  font: 600 11px var(--f-mono, monospace); color: #14161a; background: var(--c); vertical-align: 1px; animation: pop 0.4s cubic-bezier(.3,1.6,.5,1) both; }
.msg-ai .mark.dot { min-width: 8px; width: 8px; height: 8px; padding: 0; border-radius: 50%; margin: 0 10px 0 4px; box-shadow: 0 0 10px var(--c); }
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.msg-ai .ln-star { position: relative; margin-top: 8px; padding: 8px 10px; border-radius: 10px; color: #fff; overflow: hidden;
  background: linear-gradient(90deg, rgba(255,201,77,0.22), rgba(255,138,101,0.14)); border: 1px solid rgba(255,201,77,0.35); }
.msg-ai .ln-star::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.35) 50%, transparent 70%);
  transform: translateX(-100%); animation: sweep 1.1s 0.5s ease forwards; }
@keyframes sweep { to { transform: translateX(100%); } }
.msg-ai p.stream.live::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 10px var(--coral); animation: blink 0.8s steps(1) infinite; }
.msg-ai.done-glow { animation: glow 1.4s ease; }
@keyframes glow { 30% { box-shadow: 0 0 0 1px rgba(255,138,101,0.5), 0 0 34px rgba(182,156,255,0.35); } }
@media (prefers-reduced-motion: reduce) {
  .hero-title .lime { animation: none; }
  .msg-ai .ln, .msg-ai .tok, .msg-ai .mark, .msg-ai .ln-star::after { animation: none; }
}

/* ===================== EMAIL CAPTURE ===================== */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.guide-form label.consent { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 0; font-size: 14px; font-weight: 400; color: var(--muted); line-height: 1.45; cursor: pointer; }
.consent input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--lime); cursor: pointer; }
.consent a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.consent input[aria-invalid="true"] { outline: 2px solid var(--coral); outline-offset: 2px; }
.guide-download { margin-top: 6px; animation: pop 0.45s cubic-bezier(.3,1.6,.5,1) both; }
.guide-download[hidden] { display: none; }
.avatar img.avatar-photo { object-position: 50% 28%; box-shadow: 0 0 0 1px rgba(200,242,58,0.25), 0 20px 60px rgba(0,0,0,0.45); }

/* LOGO "João Vitor | Automação De IA" */
.logo { white-space: nowrap; }
.logo span i { font-style: normal; }
@media (max-width: 560px) {
  .logo { display: inline-flex; flex-direction: column; line-height: 1.05; font-size: 18px; }
  .logo span { font-size: 12px; font-family: var(--f-mono, monospace); letter-spacing: 0; margin-top: 3px; }
  .logo span i { display: none; }
}
