/* VergneWatch — landing page
   Sem dependências externas. Fonte: Plus Jakarta Sans (SIL OFL 1.1, ver assets/fonts/OFL-PlusJakartaSans.txt) */

@font-face { font-family: "Plus Jakarta Sans"; src: url("../assets/fonts/PlusJakartaSans-Variable.woff2") format("woff2"), url("../assets/fonts/PlusJakartaSans-Variable.ttf") format("truetype"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --bg: #06070b;
  --bg-2: #0b0d14;
  --surface: #10131c;
  --surface-2: #151926;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef0f6;
  --muted: #9aa0b4;
  --dim: #6b7186;
  --accent: #e11d48;
  --accent-2: #fb7185;
  --warm: #fbbf24;
  --ok: #34d399;
  --info: #22d3ee;
  --violet: #a78bfa;
  --c-app: #fb7185;
  --c-db: #a78bfa;
  --c-s3: #fbbf24;
  --c-ws: #22d3ee;
  --grad: linear-gradient(100deg, #fb7185 0%, #e11d48 40%, #f59e0b 100%);
  --radius: 22px;
  --wrap: min(1200px, calc(100% - 32px));
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::after { /* grão sutil */
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .035;
  background-image: repeating-radial-gradient(circle at 17% 32%, #fff 0 .5px, transparent 1px 3px);
  mix-blend-mode: overlay;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
b, strong { font-weight: 700; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: 10px; }
.skip-link:focus { top: 16px; }
.icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.muted { color: var(--dim); }

/* ---------- progress + cursor ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; }
.scroll-progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--sp, 0)); }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(225, 29, 72, .13), transparent 62%); transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); transition: opacity .4s; }
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 90; transition: background .35s, border-color .35s, backdrop-filter .35s; border-bottom: 1px solid transparent; }
.header.is-scrolled { background: rgba(6, 7, 11, .72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 21px; letter-spacing: -.02em; }
.brand-mark { width: 34px; height: 34px; }
.brand-mark path, .stage-icon svg path[d^="M64"] { fill: none; stroke: var(--accent); stroke-width: 44; stroke-linecap: round; stroke-linejoin: round; }
.brand-name { font-weight: 500; }
.brand-name b { font-weight: 800; }
.navigation { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.navigation a { padding: 8px 12px; border-radius: 999px; font-size: 14.5px; color: var(--muted); transition: color .2s, background .2s; }
.navigation a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.navigation .nav-cta { margin-left: 8px; color: #fff; background: var(--accent); padding: 9px 18px; font-weight: 700; box-shadow: 0 6px 24px -8px rgba(225, 29, 72, .8); }
.navigation .nav-cta:hover { background: #f43f5e; color: #fff; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); border-radius: 12px; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
.menu-toggle span:first-child { top: 17px; } .menu-toggle span:last-child { top: 25px; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 16px; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s; will-change: transform; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 10px 40px -10px rgba(225, 29, 72, .9), inset 0 1px 0 rgba(255, 255, 255, .25); }
.btn-primary:hover { background: #f43f5e; box-shadow: 0 16px 50px -10px rgba(244, 63, 94, 1); }
.btn-primary:hover .icon { transform: translateX(3px); }
.btn .icon { transition: transform .25s var(--ease); }
.btn-ghost { border-color: var(--line-2); background: rgba(255, 255, 255, .03); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .07); }
.btn-ghost .icon { fill: currentColor; stroke: none; width: 14px; }
.btn.full { width: 100%; }

/* ---------- typography blocks ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 22px; }
.section-title { font-size: clamp(36px, 6.2vw, 84px); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; margin: 0 0 28px; text-wrap: balance; }
.section-lead { font-size: clamp(18px, 2vw, 22px); color: var(--muted); max-width: 720px; margin: 0 0 64px; }
.sub-title { font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -.02em; margin: 100px 0 32px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .04); backdrop-filter: blur(8px); font-size: 14px; color: var(--muted); margin: 0 0 28px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(225, 29, 72, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(225, 29, 72, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); } }
.badge { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; background: rgba(225, 29, 72, .16); color: var(--accent-2); border: 1px solid rgba(225, 29, 72, .35); vertical-align: middle; }
.check { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.check li { display: flex; gap: 12px; align-items: flex-start; }
.check li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: rgba(52, 211, 153, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334d399' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: calc(var(--header-h) + 40px) 0 120px; isolation: isolate; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-aurora { position: absolute; inset: -20% -10% auto; height: 120%; z-index: -2; pointer-events: none;
  background: radial-gradient(40% 40% at 72% 42%, rgba(225, 29, 72, .28), transparent 70%), radial-gradient(30% 30% at 88% 70%, rgba(167, 139, 250, .16), transparent 70%), radial-gradient(35% 35% at 10% 90%, rgba(245, 158, 11, .10), transparent 70%);
  filter: blur(20px); animation: aurora 16s ease-in-out infinite alternate; }
@keyframes aurora { to { transform: translate3d(-4%, 3%, 0) scale(1.08); } }
.hero-grid { position: absolute; inset: auto -50% -10% -50%; height: 55%; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 64px 64px; transform: perspective(600px) rotateX(64deg); transform-origin: 50% 0;
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 60%, transparent);
  animation: grid-move 6s linear infinite; }
@keyframes grid-move { to { background-position: 0 64px; } }
.hero-content { position: relative; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; z-index: -1; }
.hero-title { font-size: clamp(56px, 12.5vw, 176px); line-height: .9; letter-spacing: -.06em; font-weight: 800; margin: 0 0 32px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .16em; margin-bottom: -.12em; }
.hero-title .word { display: inline-block; transform: translateY(105%) rotate(4deg); transform-origin: 0 100%; transition: transform 1.2s var(--ease); }
.hero-title .line:nth-child(2) .word { transition-delay: .12s; }
.hero-title .line:nth-child(3) .word { transition-delay: .24s; }
.is-loaded .hero-title .word { transform: none; }
.hero-title .stop { margin-left: -.07em; }
.hero-lead { font-size: clamp(18px, 2.1vw, 23px); color: var(--muted); max-width: 640px; margin: 0 0 40px; }
.hero-lead strong { color: var(--text); }
.hero-lead em { font-style: normal; color: var(--accent-2); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 64px; }
.hero-proof { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 44px; }
.hero-proof li { display: flex; flex-direction: column; border-left: 1px solid var(--line-2); padding-left: 16px; }
.hero-proof b { font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.03em; line-height: 1.1; }
.hero-proof span { font-size: 13.5px; color: var(--dim); }
.scroll-hint { position: absolute; left: 50%; bottom: 28px; width: 26px; height: 42px; margin-left: -13px; border: 2px solid var(--line-2); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent-2); animation: wheel 1.8s var(--ease) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(-4px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- SHOWCASE (3D tilt by scroll) ---------- */
.showcase { position: relative; padding: 0 0 40px; margin-top: -60px; perspective: 1600px; }
.showcase-stage { position: relative; }
.device { --p: 0; position: relative; border-radius: 18px; border: 1px solid var(--line-2); background: #0d1018; padding: 0; transform-style: preserve-3d;
  transform: rotateX(calc((1 - var(--p)) * 32deg)) scale(calc(.82 + var(--p) * .18)) translateY(calc((1 - var(--p)) * 40px));
  box-shadow: 0 60px 140px -40px rgba(225, 29, 72, .45), 0 0 0 1px rgba(255, 255, 255, .03), 0 30px 60px -30px #000; will-change: transform; }
.device::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(160deg, rgba(251, 113, 133, .7), transparent 35%, transparent 65%, rgba(167, 139, 250, .5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.device-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--dim); }
.device-bar i, .console-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2a2f3d; }
.device-bar i:nth-child(1), .console-bar i:nth-child(1) { background: #ff5f57; }
.device-bar i:nth-child(2), .console-bar i:nth-child(2) { background: #febc2e; }
.device-bar i:nth-child(3), .console-bar i:nth-child(3) { background: #28c840; }
.device-bar span { margin-left: 12px; padding: 4px 14px; border-radius: 8px; background: rgba(255, 255, 255, .04); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.device-video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0 0 17px 17px; background: #f4f5f8; }
.float-card { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; white-space: nowrap;
  background: rgba(16, 19, 28, .78); border: 1px solid var(--line-2); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .6);
  transform: translateZ(80px) translateY(calc((1 - var(--p)) * 60px)); opacity: calc(var(--p) * 1.4 - .2); }
.float-card b { font-family: var(--mono); font-weight: 700; }
.fc-1 { left: -28px; top: 22%; } .fc-2 { right: -30px; top: 46%; } .fc-3 { left: 8%; bottom: -22px; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.ok { background: var(--ok); box-shadow: 0 0 12px var(--ok); } .dot.bad { background: var(--accent); box-shadow: 0 0 12px var(--accent); } .dot.info { background: var(--violet); box-shadow: 0 0 12px var(--violet); }

/* ---------- MARQUEE ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; margin-top: 80px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; gap: 56px; animation: marquee 40s linear infinite; }
.marquee span { font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; letter-spacing: -.02em; color: var(--dim); white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- DESAFIO ---------- */
.scrub-text { font-size: clamp(24px, 3.4vw, 44px); line-height: 1.28; letter-spacing: -.025em; font-weight: 700; max-width: 1060px; margin: 60px 0 110px; }
.scrub-text span { opacity: .14; transition: opacity .25s linear; }
.scrub-text span.on { opacity: 1; }
.challenge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.challenge-col { border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.challenge-col.danger { background: linear-gradient(180deg, rgba(225, 29, 72, .09), var(--bg-2) 70%); border-color: rgba(225, 29, 72, .22); }
.col-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 22px; margin: 0 0 28px; letter-spacing: -.02em; }
.tag { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; padding: 5px 10px; border-radius: 8px; }
.tag-warn { background: rgba(251, 191, 36, .12); color: var(--warm); } .tag-bad { background: rgba(225, 29, 72, .16); color: var(--accent-2); }
.pain-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.pain-list li { display: flex; gap: 16px; align-items: flex-start; }
.pain-list svg { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.danger .pain-list svg { stroke: var(--accent-2); background: rgba(225, 29, 72, .1); }
.pain-list b { display: block; font-size: 17.5px; }
.pain-list span { color: var(--muted); font-size: 15.5px; }
.versus { margin-top: 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.versus-side { padding: clamp(24px, 3vw, 40px); }
.versus-side.good { background: linear-gradient(120deg, rgba(52, 211, 153, .07), transparent 70%); }
.versus-label { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.versus-q { font-size: clamp(24px, 3vw, 36px); font-weight: 800; letter-spacing: -.03em; margin: 10px 0 18px; }
.versus-code { display: block; font-family: var(--mono); font-size: 13.5px; padding: 12px 14px; border-radius: 10px; line-height: 1.5; word-break: break-word; }
.versus-code.bad { background: rgba(225, 29, 72, .1); color: var(--accent-2); }
.versus-code.ok { background: rgba(52, 211, 153, .08); color: var(--ok); }
.versus-vs { display: grid; place-items: center; padding: 0 18px; font-weight: 800; color: var(--dim); border-inline: 1px solid var(--line); font-family: var(--mono); }

/* ---------- SOLUÇÃO ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1200px; }
.pillar { position: relative; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface-2), var(--bg-2)); transform-style: preserve-3d; }
.pillar h3 { font-size: 22px; letter-spacing: -.02em; margin: 10px 0 10px; line-height: 1.2; }
.pillar p { color: var(--muted); margin: 0; font-size: 15.5px; }
.pillar-tag { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.pillar-visual { height: 110px; margin-bottom: 22px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); padding: 14px; overflow: hidden; transform: translateZ(30px); }
.pillar-visual svg { width: 100%; height: 100%; }
.spark { fill: none; stroke: var(--accent-2); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; filter: drop-shadow(0 0 6px rgba(251, 113, 133, .8)); }
.in .spark { animation: draw 2.2s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.mini-spans { display: grid; gap: 7px; }
.mini-spans i { display: block; height: 9px; border-radius: 4px; margin-left: var(--l); width: var(--w); background: var(--c-app); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1s var(--ease); }
.mini-spans i.db { background: var(--c-db); } .mini-spans i.ws { background: var(--c-ws); }
.in .mini-spans i { transform: scaleX(1); }
.in .mini-spans i:nth-child(2) { transition-delay: .15s; } .in .mini-spans i:nth-child(3) { transition-delay: .3s; } .in .mini-spans i:nth-child(4) { transition-delay: .45s; } .in .mini-spans i:nth-child(5) { transition-delay: .6s; }
.mini-logs { display: grid; gap: 6px; font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.mini-logs span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateX(-10px); transition: .6s var(--ease); }
.in .mini-logs span { opacity: 1; transform: none; } .in .mini-logs span:nth-child(2) { transition-delay: .25s; } .in .mini-logs span:nth-child(3) { transition-delay: .5s; }
.lv { font-style: normal; font-weight: 700; padding: 1px 5px; border-radius: 4px; margin-right: 4px; }
.lv.info { color: var(--info); background: rgba(34, 211, 238, .1); } .lv.warn { color: var(--warm); background: rgba(251, 191, 36, .1); } .lv.err { color: var(--accent-2); background: rgba(225, 29, 72, .14); }
.caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cap { background: var(--bg); padding: 32px; position: relative; }
.cap h4 { font-size: 19px; margin: 18px 0 8px; letter-spacing: -.015em; }
.cap p { margin: 0; color: var(--muted); font-size: 15.5px; }
.cap-num { font-family: var(--mono); font-size: 13px; color: var(--accent-2); }

/* spotlight hover */
.spot { position: relative; isolation: isolate; }
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(225, 29, 72, .14), transparent 45%); }
.spot:hover::before { opacity: 1; }
.tilt { transition: transform .5s var(--ease), border-color .3s; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tilt.reveal { transition: opacity 1s var(--ease), transform .5s var(--ease), border-color .3s; transform: perspective(900px) translateY(36px); }
.tilt.reveal.in { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.tilt:hover { border-color: rgba(251, 113, 133, .35); }

/* ---------- TRACE STORY ---------- */
.trace-story { --p: 0; position: relative; height: 320vh; }
.trace-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.trace-layout > * { min-width: 0; }
.trace-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.trace-copy .section-title { font-size: clamp(34px, 4.6vw, 64px); }
.trace-steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 6px; }
.trace-steps li { position: relative; padding: 14px 0 14px 54px; opacity: .35; transition: opacity .4s; }
.trace-steps li::before { content: "0" attr(data-step); position: absolute; left: 0; top: 14px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); font-family: var(--mono); font-size: 12px; transition: .4s; }
.trace-steps li.is-on { opacity: 1; }
.trace-steps li.is-on::before { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 24px rgba(225, 29, 72, .6); }
.trace-steps b { display: block; font-size: 18px; }
.trace-steps span { color: var(--muted); font-size: 15px; }
.trace-panel { position: relative; border-radius: var(--radius); border: 1px solid var(--line-2); background: linear-gradient(180deg, #0f121b, #0a0c12); padding: 22px; box-shadow: 0 40px 120px -40px rgba(225, 29, 72, .35); font-family: var(--mono); font-size: 12.5px; }
.trace-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.trace-head .method { padding: 3px 8px; border-radius: 6px; background: rgba(34, 211, 238, .12); color: var(--info); font-weight: 700; }
.trace-head .path { color: var(--text); }
.trace-head .status { padding: 3px 8px; border-radius: 6px; background: rgba(52, 211, 153, .12); color: var(--ok); }
.trace-head .dur { margin-left: auto; color: var(--warm); font-weight: 700; }
.trace-ruler { display: flex; justify-content: space-between; color: var(--dim); font-size: 11px; padding: 0 0 8px 40%; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.spans { display: grid; gap: 4px; }
.span-row { display: grid; grid-template-columns: 40% 1fr; align-items: center; gap: 0; height: 30px; border-radius: 8px; padding-right: 6px; transition: background .3s, opacity .4s; opacity: .15; }
.span-row.on { opacity: 1; }
.span-row .sname { padding-left: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--muted); }
.span-row:nth-child(2) .sname { padding-left: 18px; } .span-row:nth-child(3) .sname { padding-left: 28px; } .span-row:nth-child(4) .sname { padding-left: 38px; }
.span-row:nth-child(5) .sname, .span-row:nth-child(6) .sname { padding-left: 28px; } .span-row:nth-child(7) .sname { padding-left: 28px; }
.bar { position: relative; height: 12px; border-radius: 4px; margin-left: calc(var(--l) * 1%); width: calc(var(--w) * 1%); transform-origin: 0 50%; transform: scaleX(0); transition: transform .8s var(--ease); }
.span-row.on .bar { transform: scaleX(1); }
.bar.app { background: var(--c-app); } .bar.db { background: var(--c-db); } .bar.s3 { background: var(--c-s3); } .bar.ws { background: var(--c-ws); }
.trace-panel.hl-db .span-row.is-db { background: rgba(167, 139, 250, .12); }
.trace-panel.hl-db .span-row.is-db .sname { color: var(--text); }
.trace-panel.hl-db .span-row.is-db .bar { box-shadow: 0 0 18px rgba(167, 139, 250, .9); }
.sql-pop { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(167, 139, 250, .08); border: 1px solid rgba(167, 139, 250, .3); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(10px); transition: .5s var(--ease); }
.sql-pop .kw { color: var(--violet); font-weight: 700; } .sql-pop em { color: var(--warm); font-style: normal; font-weight: 700; }
.hl-db .sql-pop { opacity: 1; transform: none; }
.breakdown { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); opacity: 0; transform: translateY(12px); transition: .6s var(--ease); }
.show-bd .breakdown { opacity: 1; transform: none; }
.breakdown-title { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 700; font-size: 15px; margin-bottom: 10px; color: var(--text); display: flex; gap: 10px; align-items: center; }
.breakdown-bar { display: flex; height: 18px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, .04); }
.breakdown-bar i { flex: 0 0 calc(var(--v) * 1%); transform-origin: 0 50%; transform: scaleX(0); transition: transform 1s var(--ease); }
.show-bd .breakdown-bar i, .breakdown-bar.static i, .in .breakdown-bar i { transform: scaleX(1); }
.breakdown-bar i:nth-child(2) { transition-delay: .15s; } .breakdown-bar i:nth-child(3) { transition-delay: .3s; } .breakdown-bar i:nth-child(4) { transition-delay: .45s; }
.breakdown-bar .app, .breakdown-legend .app { background: var(--c-app); } .breakdown-bar .db, .breakdown-legend .db { background: var(--c-db); }
.breakdown-bar .s3, .breakdown-legend .s3 { background: var(--c-s3); } .breakdown-bar .ws, .breakdown-legend .ws { background: var(--c-ws); }
.breakdown-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; color: var(--muted); font-size: 12px; }
.breakdown-legend span { display: inline-flex; align-items: center; gap: 6px; }
.breakdown-legend i { width: 9px; height: 9px; border-radius: 3px; }

/* ---------- GALLERY (horizontal scroll) ---------- */
.gallery { --p: 0; position: relative; height: 400vh; }
.gallery-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: var(--header-h); }
.gallery-head .section-title { font-size: clamp(34px, 4.8vw, 66px); margin-bottom: 36px; }
.gallery-track { display: flex; gap: 28px; padding-left: max(16px, calc((100% - 1200px) / 2)); padding-right: 16px; width: max-content; will-change: transform; transform: translate3d(var(--tx, 0px), 0, 0); }
.shot { margin: 0; width: min(52vw, 760px); flex: none; }
.shot-btn { display: block; width: 100%; padding: 0; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; background: #f4f5f8; cursor: zoom-in; aspect-ratio: 16 / 8.5; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.shot-btn img { width: 100%; height: 100%; object-fit: cover; object-position: left top; transition: transform 1.2s var(--ease); }
.shot-btn:hover { transform: translateY(-6px); border-color: rgba(251, 113, 133, .5); box-shadow: 0 30px 80px -30px rgba(225, 29, 72, .5); }
.shot-btn:hover img { transform: scale(1.04); }
.shot figcaption { margin-top: 16px; color: var(--muted); font-size: 15px; max-width: 560px; }
.shot figcaption b { display: block; color: var(--text); font-size: 19px; letter-spacing: -.01em; margin-bottom: 2px; }
.gallery-foot { display: flex; align-items: center; gap: 20px; margin-top: 32px; }
.gallery-progress { flex: 1; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.gallery-progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p)); }
.hint .touch { display: none; }
.hint { margin: 0; font-size: 13px; color: var(--dim); font-family: var(--mono); }

/* ---------- MANAGER ---------- */
.console-wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: 28px; align-items: stretch; margin-top: 20px; }
.questions { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.q { width: 100%; text-align: left; padding: 20px 22px 20px 56px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); font-size: clamp(16px, 1.6vw, 19px); font-weight: 700; letter-spacing: -.01em; cursor: pointer; position: relative; transition: border-color .3s, background .3s, transform .3s var(--ease); }
.q::before { content: "?"; position: absolute; left: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; background: rgba(255, 255, 255, .06); color: var(--muted); transition: .3s; }
.q:hover { border-color: var(--line-2); transform: translateX(4px); }
.q.is-active { border-color: rgba(225, 29, 72, .5); background: linear-gradient(90deg, rgba(225, 29, 72, .12), var(--bg-2)); }
.q.is-active::before { background: var(--accent); color: #fff; }
.console { border-radius: var(--radius); border: 1px solid var(--line-2); background: #090b11; overflow: hidden; display: flex; flex-direction: column; min-height: 340px; box-shadow: 0 40px 100px -40px rgba(225, 29, 72, .35); }
.console-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--dim); }
.console-bar span { margin-left: 10px; }
.console-body { padding: 26px; font-family: var(--mono); flex: 1; display: flex; flex-direction: column; }
.console-q { margin: 0 0 22px; font-size: 15px; color: var(--text); min-height: 48px; }
.prompt { color: var(--accent-2); font-weight: 700; }
.caret { display: inline-block; width: 8px; height: 17px; background: var(--accent-2); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.console-a { display: grid; gap: 10px; }
.console-a .ans { padding: 14px 16px; border-radius: 12px; background: rgba(52, 211, 153, .07); border: 1px solid rgba(52, 211, 153, .22); color: var(--ok); font-size: 15px; font-weight: 700; opacity: 0; transform: translateY(8px); animation: ans .6s var(--ease) forwards; }
.console-a .ans + .ans { background: rgba(255, 255, 255, .03); border-color: var(--line); color: var(--muted); font-weight: 400; font-size: 13.5px; animation-delay: .2s; }
@keyframes ans { to { opacity: 1; transform: none; } }
.console-note { margin: auto 0 0; padding-top: 20px; font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .1em; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); font-size: 15px; transition: border-color .3s, color .3s; }
.chips li:hover { border-color: rgba(251, 113, 133, .4); color: var(--text); }
.chips b { color: var(--text); }
.insights { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 80px; }
.insight { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); }
.insight h4 { font-size: 21px; margin: 18px 0 8px; letter-spacing: -.02em; }
.insight p { margin: 0; color: var(--muted); font-size: 15.5px; }
.insight-art { width: 100%; height: 130px; }
.insight-art .axis { fill: none; stroke: var(--line-2); stroke-width: 1.5; }
.insight-art circle { fill: rgba(167, 139, 250, .35); stroke: var(--violet); stroke-width: 1; }
.insight-art circle.hot { fill: rgba(225, 29, 72, .45); stroke: var(--accent-2); animation: pulse 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse { 50% { transform: scale(1.18); } }
.insight-art text { fill: var(--dim); font-size: 8px; font-family: var(--mono); }
.insight-art .mx rect { fill: rgba(255, 255, 255, .04); stroke: var(--line-2); rx: 3; }
.insight-art .mx rect.on { fill: rgba(34, 211, 238, .25); stroke: var(--info); }
.insight-art .mx rect.hot { fill: rgba(225, 29, 72, .4); stroke: var(--accent-2); animation: blinkcell 2s ease-in-out infinite; }
@keyframes blinkcell { 50% { fill: rgba(225, 29, 72, .15); } }
.insight-art .shield { fill: rgba(52, 211, 153, .06); stroke: var(--ok); stroke-width: 1.5; }
.insight-art .scan { stroke: var(--ok); stroke-width: 2; opacity: .8; animation: scan 2.6s ease-in-out infinite; }
@keyframes scan { 0%, 100% { transform: translateY(-34px); } 50% { transform: translateY(40px); } }

/* ---------- TEAMS ---------- */
.tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2); margin-bottom: 28px; }
.tabs button { border: 0; background: none; padding: 12px 22px; border-radius: 999px; cursor: pointer; font-weight: 700; color: var(--muted); transition: .3s; }
.tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.tab-panel { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding: clamp(28px, 4vw, 56px); border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(135deg, var(--surface), var(--bg-2)); animation: fadein .6s var(--ease); }
.tab-panel[hidden] { display: none; }
@keyframes fadein { from { opacity: 0; transform: translateY(10px); } }
.panel-kicker { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.tab-panel h3 { font-size: clamp(26px, 3.2vw, 40px); letter-spacing: -.03em; line-height: 1.1; margin: 12px 0 16px; }
.tab-panel p { color: var(--muted); margin: 0; }
.panel-stat { align-self: center; border-radius: 18px; padding: 32px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line); }
.panel-stat b { display: block; font-size: clamp(44px, 6vw, 72px); letter-spacing: -.05em; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.panel-stat span { display: block; margin-top: 12px; color: var(--muted); }

/* ---------- ARCHITECTURE ---------- */
.pipeline { display: grid; grid-template-columns: 1fr 60px 1fr 60px 1.1fr 60px 1fr; align-items: center; }
.stage { padding: 24px 20px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-2); text-align: center; min-height: 190px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stage b { font-size: 16.5px; margin-top: 14px; line-height: 1.3; }
.stage span { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.stage-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); }
.stage-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--text); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.stage.core { border-color: rgba(225, 29, 72, .5); background: radial-gradient(circle at 50% 0%, rgba(225, 29, 72, .22), var(--bg-2) 70%); box-shadow: 0 0 60px -10px rgba(225, 29, 72, .4); min-height: 220px; }
.stage.core .stage-icon { background: rgba(225, 29, 72, .15); }
.flow { position: relative; height: 2px; background: linear-gradient(90deg, var(--line-2), rgba(225, 29, 72, .5)); }
.flow i { position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2); animation: packet 1.8s linear infinite; }
.flow i:nth-child(2) { animation-delay: .6s; } .flow i:nth-child(3) { animation-delay: 1.2s; }
@keyframes packet { from { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { left: calc(100% - 8px); opacity: 0; } }
.deploy-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.deploy-opts div { padding: 20px 24px; border-radius: 16px; border: 1px dashed var(--line-2); }
.deploy-opts b { display: block; font-size: 17px; } .deploy-opts span { color: var(--muted); font-size: 14.5px; }

/* ---------- PROOF ---------- */
.proof { overflow: hidden; }
.proof-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 50%, rgba(225, 29, 72, .16), transparent 70%); }
.proof .section-title, .proof .eyebrow { text-align: center; }
.proof .wrap { text-align: center; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 56px; }
.stat { background: var(--bg); padding: clamp(28px, 4vw, 48px) 20px; }
.stat b { display: block; font-size: clamp(38px, 5vw, 66px); letter-spacing: -.05em; line-height: 1; font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 12px; color: var(--muted); }
.proof-note { margin: 36px auto 0; color: var(--muted); font-size: 18px; max-width: 640px; }

/* ---------- DIFERENCIAIS ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; perspective: 1400px; }
.b-card { position: relative; padding: 26px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--surface), var(--bg-2)); overflow: hidden; }
.b-card h3 { font-size: 19px; letter-spacing: -.015em; line-height: 1.25; margin: 10px 0 8px; }
.b-card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.b-kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-2); }
.b-wide { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; min-height: 320px; }
.b-hero { background: radial-gradient(80% 80% at 100% 0%, rgba(52, 211, 153, .14), transparent 60%), linear-gradient(180deg, var(--surface-2), var(--bg-2)); }
.b-hero h3 { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.035em; line-height: 1.05; max-width: 420px; }
.b-hero p { font-size: 16px; max-width: 460px; }
.b-art { position: absolute; right: 24px; top: 24px; width: 140px; height: 140px; fill: none; stroke: rgba(52, 211, 153, .5); stroke-width: 1.2; animation: spin 40s linear infinite; }
.b-art .pin { fill: var(--ok); stroke: none; filter: drop-shadow(0 0 8px var(--ok)); }
@keyframes spin { to { transform: rotate(360deg); } }
.beyond { margin-top: 64px; padding: clamp(28px, 4vw, 56px); border-radius: 28px; border: 1px solid rgba(225, 29, 72, .3); background: radial-gradient(70% 90% at 0% 0%, rgba(225, 29, 72, .14), transparent 60%), var(--bg-2); }
.beyond-head h3 { font-size: clamp(28px, 3.6vw, 46px); letter-spacing: -.035em; margin: 14px 0 8px; }
.beyond-head p { color: var(--muted); margin: 0 0 32px; }
.beyond-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.beyond-card { padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: rgba(0, 0, 0, .25); }
.beyond-card h4 { font-size: 20px; margin: 0 0 10px; letter-spacing: -.02em; }
.beyond-card p { color: var(--muted); margin: 0 0 22px; font-size: 15.5px; }
.txn-art { position: relative; height: 104px; }
.txn-art span { position: absolute; left: var(--l); width: var(--w); height: 22px; border-radius: 6px; font-family: var(--mono); font-size: 11px; line-height: 22px; padding: 0 8px; white-space: nowrap; overflow: hidden; color: #0a0c12; font-weight: 700; background: var(--c-app); }
.txn-art span:nth-child(1) { top: 0; } .txn-art span:nth-child(2) { top: 28px; } .txn-art span:nth-child(3) { top: 56px; } .txn-art span:nth-child(4) { top: 28px; }
.txn-art .b { background: var(--c-db); } .txn-art .c { background: var(--c-ws); }

/* ---------- JOURNEY ---------- */
.timeline { --p: 0; list-style: none; margin: 40px 0 0; padding: 0 0 0 56px; position: relative; display: grid; gap: 18px; max-width: 860px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 19px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline::after { background: var(--grad); transform-origin: 0 0; transform: scaleY(var(--p)); box-shadow: 0 0 12px rgba(225, 29, 72, .6); }
.timeline li { position: relative; display: flex; gap: 20px; padding: 22px 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-2); transition: border-color .4s; }
.timeline li:hover { border-color: var(--line-2); }
.t-num { position: absolute; left: -56px; top: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--mono); font-size: 13px; background: var(--bg); border: 1px solid var(--line-2); z-index: 1; transition: .4s; }
.timeline li.reached .t-num { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 20px rgba(225, 29, 72, .7); }
.timeline h3 { margin: 0 0 4px; font-size: 20px; letter-spacing: -.02em; }
.timeline p { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq-list { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); transition: border-color .3s; }
.faq details[open] { border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 17.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { margin: 0; padding: 0 24px 22px; color: var(--muted); }

/* ---------- CONTACT ---------- */
.contact { overflow: hidden; }
.contact-glow { position: absolute; left: 50%; top: 50%; width: 1100px; height: 700px; margin: -350px 0 0 -550px; z-index: -1; background: radial-gradient(closest-side, rgba(225, 29, 72, .25), transparent); filter: blur(30px); }
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact-copy p { color: var(--muted); font-size: 19px; max-width: 520px; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: clamp(24px, 3vw, 40px); border-radius: 28px; border: 1px solid var(--line-2); background: rgba(16, 19, 28, .7); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .8); }
.field { display: grid; gap: 7px; }
.field.full, .contact-form .btn, .form-note { grid-column: 1 / -1; }
.field label { font-size: 13.5px; color: var(--muted); font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2); border-radius: 12px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 90px; }
.field select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; }
.field select option { background: var(--surface); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(225, 29, 72, .18); }
.field input.invalid { border-color: var(--accent); }
.form-note { margin: 0; font-size: 13px; color: var(--dim); text-align: center; }
.form-note.error { color: var(--accent-2); }

/* ---------- FOOTER ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 32px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.footer-slogan { color: var(--muted); margin: 14px 0 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-links a { color: var(--muted); } .footer-links a:hover { color: var(--text); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--dim); }

/* ---------- LIGHTBOX ---------- */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(3, 4, 7, .88); backdrop-filter: blur(8px); }
.lightbox img { max-width: 96vw; max-height: 88vh; border-radius: 14px; box-shadow: 0 40px 120px rgba(0, 0, 0, .8); }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(16, 19, 28, .9); color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; }
.lightbox[open] { animation: zoomin .4s var(--ease); }
@keyframes zoomin { from { opacity: 0; transform: scale(.94); } }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1080px) {
  .navigation a:not(.nav-cta) { padding: 8px 9px; font-size: 14px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .pipeline { grid-template-columns: 1fr; gap: 0; max-width: 460px; margin-inline: auto; }
  .flow { width: 2px; height: 48px; margin: 0 auto; background: linear-gradient(180deg, var(--line-2), rgba(225, 29, 72, .5)); }
  .flow i { left: -3px; animation-name: packet-v; }
  @keyframes packet-v { from { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 8px); opacity: 0; } }
  .stage, .stage.core { min-height: 0; }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .menu-toggle { display: block; }
  .navigation { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 16px 24px; background: rgba(6, 7, 11, .97); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: .3s var(--ease); }
  .navigation.is-open { transform: none; opacity: 1; visibility: visible; }
  .navigation a, .navigation a:not(.nav-cta) { padding: 14px 8px; font-size: 18px; border-radius: 10px; }
  .navigation .nav-cta { margin: 12px 0 0; text-align: center; }
  .trace-sticky { padding-top: var(--header-h); }
  .trace-copy .eyebrow { display: none; }
  .trace-layout { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .trace-copy .section-title { font-size: clamp(28px, 7vw, 44px); margin-bottom: 0; }
  .trace-copy .eyebrow { margin-bottom: 12px; }
  .trace-steps { margin-top: 16px; gap: 0; }
  .trace-steps li { display: none; padding: 6px 0 6px 50px; opacity: 1; }
  .trace-steps li.is-current { display: block; }
  .trace-steps li::before { top: 8px; }
  .trace-panel { padding: 16px; font-size: 11px; }
  .span-row { height: 24px; }
  .console-wrap, .tab-panel, .faq-layout, .contact-layout, .challenge-grid { grid-template-columns: 1fr; }
  .faq-layout { gap: 24px; }
  .pillars, .caps, .insights { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding-bottom: 90px; }
  .hero-proof { gap: 18px 28px; }
  .hero-proof li { min-width: 40%; }
  .showcase { margin-top: -20px; }
  .float-card { font-size: 11.5px; padding: 7px 10px; }
  .fc-1 { left: -6px; top: 10%; } .fc-2 { right: -6px; top: auto; bottom: 18%; } .fc-3 { display: none; }
  .device-bar span { font-size: 10.5px; }
  .versus { grid-template-columns: 1fr; }
  .versus-vs { padding: 10px; border: 0; border-block: 1px solid var(--line); }
  /* galeria vira carrossel nativo com swipe */
  .gallery { height: auto; }
  .gallery-sticky { position: static; height: auto; padding: 96px 0; }
  .gallery-track { transform: none !important; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding-bottom: 12px; scrollbar-width: none; }
  .gallery-track::-webkit-scrollbar { display: none; }
  .shot { width: 86vw; scroll-snap-align: center; }
  .gallery-progress { display: none; }
  .hint .touch { display: inline; } .hint .mouse { display: none; }
  .bento { grid-template-columns: 1fr; }
  .b-wide { grid-column: auto; grid-row: auto; min-height: 300px; }
  .b-art { width: 100px; height: 100px; }
  .beyond-grid, .deploy-opts { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .timeline { padding-left: 48px; }
  .timeline::before, .timeline::after { left: 15px; }
  .t-num { left: -48px; width: 32px; height: 32px; font-size: 11px; }
  .timeline li { padding: 18px 20px; }
  .tabs { border-radius: 18px; }
  .tabs button { padding: 10px 14px; font-size: 14px; }
  .sub-title { margin-top: 72px; }
}
@media (max-width: 420px) {
  .pill { font-size: 12.5px; padding: 7px 12px; white-space: nowrap; }
  .stats { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .hero-title .word { opacity: 1; transform: none; }
  .device { transform: none; } .float-card { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
