/* =========================================================
   MATEBOARD — Automações e IA
   Design tokens extraídos do Figma
   ========================================================= */
:root {
  --lime: #b4d70f;
  --lime-soft: rgba(180, 215, 15, .18);
  --lime-glow: rgba(180, 215, 15, .35);
  --bg: #1a1a1a;
  --bg-deep: #111;
  --panel: #252525;
  --card: #313131;
  --field: #222;
  --line: #303030;
  --line-2: #454545;
  --ink: #151515;
  --ink-2: #2a2a2a;
  --white: #f9f9f9;
  --soft: #d4d4d4;
  --muted: #afafaf;
  --grey: #979797;

  --f-display: "Syncopate", "Arial Black", sans-serif;
  --f-body: "Manrope", system-ui, sans-serif;

  --gutter: clamp(20px, 6.25vw, 90px);
  --max: 1260px;
  --r-card: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
p, h1, h2, h3, h4 { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
::selection { background: var(--lime); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--max), 100% - 2 * var(--gutter)); margin-inline: auto; }
.section { padding-block: clamp(56px, 6.2vw, 88px); }
.section--deep { background: var(--bg-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografia ---------- */
.display { font-family: var(--f-display); font-weight: 700; line-height: 1.12; letter-spacing: .01em; text-transform: uppercase; }
.h1 { font-size: clamp(30px, 3.3vw, 47px); }
.h2 { font-size: clamp(22px, 2.25vw, 32px); line-height: 1.2; }
.h3 { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.3; }
.eyebrow { font-weight: 700; font-size: 12px; letter-spacing: .04em; color: var(--lime); text-transform: uppercase; }
.eyebrow--lg { font-size: 15px; letter-spacing: 0; }
.lead { font-size: clamp(16px, 1.32vw, 19px); line-height: 1.55; color: var(--soft); }
.sub { font-size: clamp(15px, 1.18vw, 17px); color: var(--muted); line-height: 1.55; }
.lime { color: var(--lime); }

.section-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 1100px; }

/* ---------- Botões ---------- */
.btn {
  --bg-btn: var(--lime); --fg-btn: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 17px 28px; border-radius: 5px; border: 0;
  background: var(--bg-btn); color: var(--fg-btn);
  font-weight: 800; font-size: 12px; letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -10px var(--lime-glow); }
.btn:hover::before { transform: translateX(120%); }
.btn .arrow { display: inline-block; transition: transform .35s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--dark { --bg-btn: var(--ink); --fg-btn: var(--white); }
.btn--dark:hover { box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.btn--dark::before { background: linear-gradient(110deg, transparent 30%, rgba(180,215,15,.35) 50%, transparent 70%); }
.btn--lg { padding: 19px 34px; font-size: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(17,17,17,.86); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, height .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: #262626; background: rgba(17,17,17,.94); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-inline: clamp(20px, 3.1vw, 45px) clamp(20px, 5.2vw, 75px); }
.logo { display: block; width: clamp(150px, 16.5vw, 237px); }
.logo img { width: 100%; height: auto; }
.nav { display: flex; gap: clamp(22px, 3vw, 44px); }
.nav a { position: relative; font-weight: 600; font-size: 13px; letter-spacing: .02em; padding-block: 6px; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lime); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav a:hover { color: var(--lime); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--lime); }
.header-cta { padding: 15px 26px; min-width: 165px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span:nth-child(1) { top: 15px; }
.menu-toggle span:nth-child(2) { top: 21px; }
.menu-toggle span:nth-child(3) { top: 27px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 49; background: var(--bg-deep);
  display: flex; flex-direction: column; gap: 8px; padding: 32px var(--gutter);
  clip-path: inset(0 0 100% 0); transition: clip-path .55s var(--ease-in-out); visibility: hidden;
}
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); visibility: visible; }
.mobile-menu a:not(.btn) { font-family: var(--f-display); font-weight: 700; font-size: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .5s var(--ease), color .2s; }
.mobile-menu a[aria-current="page"] { color: var(--lime); }
.menu-open .mobile-menu a { opacity: 1; transform: none; }
.menu-open .mobile-menu a:nth-child(2) { transition-delay: .05s; }
.menu-open .mobile-menu a:nth-child(3) { transition-delay: .1s; }
.menu-open .mobile-menu a:nth-child(4) { transition-delay: .15s; }
.menu-open .mobile-menu a:nth-child(5) { transition-delay: .2s; }
.menu-open .mobile-menu a:nth-child(6) { transition-delay: .25s; }
.mobile-menu .btn { margin-top: 24px; }

/* scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; background: var(--lime); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Faixa / marquee ---------- */
.stripe { background: var(--lime); color: var(--ink); overflow: hidden; padding-block: 22px; position: relative; }
.stripe__track { display: flex; width: max-content; animation: marquee 32s linear infinite; }
.stripe:hover .stripe__track { animation-play-state: paused; }
.stripe__group { display: flex; align-items: center; flex-shrink: 0; }
.stripe__item { font-weight: 800; font-size: 15px; letter-spacing: .02em; white-space: nowrap; padding-inline: 22px; text-transform: uppercase; }
.stripe__sep { opacity: .9; font-weight: 800; }
.stripe--sm .stripe__item { font-size: 12px; letter-spacing: .04em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards ---------- */
.card {
  position: relative; background: var(--card); border-radius: var(--r-card); overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background-color .4s;
}
.card::before { /* brilho que segue o mouse */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(180,215,15,.13), transparent 45%);
}
.card::after { /* borda iluminada */
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(180,215,15,.7), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.card:hover::before, .card:hover::after { opacity: 1; }
.icon { display: block; flex-shrink: 0; width: 46px; height: 46px; color: var(--lime); }
.icon svg { width: 100%; height: 100%; overflow: visible; }
.icon--sm { width: 37px; height: 37px; }
.icon--md { width: 39px; height: 39px; }
.card:hover .icon svg { animation: icon-pop .7s var(--ease); }
@keyframes icon-pop { 0% { transform: scale(1) rotate(0); } 40% { transform: scale(1.18) rotate(-6deg); } 100% { transform: scale(1) rotate(0); } }
.lime-mark { height: 3px; width: 118px; background: var(--lime); border-radius: 1px; transform-origin: left; transition: width .6s var(--ease); }
.card:hover .lime-mark { width: 180px; }

.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { display: inline-flex; align-items: center; padding: 10px 18px; border-radius: 999px; background: var(--card); color: var(--white); font-weight: 600; font-size: 14px; border: 0; transition: background .3s, color .3s, transform .3s var(--ease); }
.chip:hover { transform: translateY(-3px); background: #3b3b3b; }
.chip.is-active, .chip--lime { background: var(--lime); color: var(--ink); }
.chip.is-active:hover { background: var(--lime); }

/* ---------- Steps (método) ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; position: relative; }
.step {
  position: relative; background: var(--card); border-radius: 9px; padding: 23px 18px; min-height: 180px;
  display: flex; flex-direction: column; gap: 12px; overflow: hidden; isolation: isolate;
  transition: color .45s var(--ease), transform .45s var(--ease);
}
.step::before { content: ""; position: absolute; inset: 0; background: var(--lime); z-index: -1; transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.step.is-active::before { transform: scaleY(1); }
.step__num { font-family: var(--f-display); font-weight: 700; font-size: 28px; color: var(--lime); transition: color .45s; }
.step__title { font-family: var(--f-display); font-weight: 700; font-size: 17px; margin-top: auto; text-transform: uppercase; transition: color .45s; }
.step__text { color: var(--muted); font-size: 15px; transition: color .45s; }
.step.is-active .step__num, .step.is-active .step__title { color: var(--ink); }
.step.is-active .step__text { color: var(--ink-2); }
.step:hover { transform: translateY(-4px); }
.steps--lg .step { min-height: 228px; border-radius: 14px; padding: 28px 24px; }
.steps--lg .step__num { font-size: 32px; }
.steps--lg .step__title { font-size: 15px; margin-top: 18px; }
.steps__bar { position: absolute; left: 0; right: 0; bottom: -18px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.steps__bar i { display: block; height: 100%; width: 25%; background: var(--lime); transition: transform .55s var(--ease); }

/* ---------- CTA ---------- */
.cta { background: var(--lime); color: var(--ink); border-radius: 22px; padding: clamp(36px, 4.5vw, 63px) clamp(24px, 4.4vw, 64px); position: relative; overflow: hidden; isolation: isolate; }
.cta__title { font-family: var(--f-display); font-weight: 700; font-size: clamp(24px, 2.65vw, 38px); line-height: 1.18; text-transform: uppercase; max-width: 1030px; }
.cta__text { font-size: clamp(16px, 1.25vw, 18px); color: var(--ink-2); margin-top: 22px; max-width: 900px; }
.cta__actions { display: flex; align-items: center; gap: 36px; flex-wrap: wrap; margin-top: 32px; }
.cta__contacts { display: grid; gap: 4px; font-weight: 700; font-size: 16px; }
.cta__contacts a { transition: opacity .2s; }
.cta__contacts a:hover { opacity: .7; text-decoration: underline; }
.cta__deco { position: absolute; right: -60px; top: 50%; width: 420px; height: 420px; transform: translateY(-50%); z-index: -1; opacity: .16; pointer-events: none; }
.cta__deco ellipse { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.cta__deco g { transform-origin: 210px 210px; animation: spin 40s linear infinite; }
.cta__deco g:nth-child(2) { animation-duration: 28s; animation-direction: reverse; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-deep); padding: 56px 0 32px; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer__brand { max-width: 420px; display: grid; gap: 14px; }
.footer__logo { font-family: var(--f-display); font-weight: 700; font-size: 24px; }
.footer__brand p { color: var(--muted); font-size: 14px; }
.footer__cols { display: flex; gap: clamp(48px, 7.6vw, 110px); flex-wrap: wrap; }
.footer__col { display: grid; gap: 10px; align-content: start; }
.footer__col h4 { font-weight: 800; font-size: 12px; letter-spacing: .08em; color: var(--lime); }
.footer__col a { font-weight: 600; font-size: 16px; width: fit-content; position: relative; transition: color .25s, transform .3s var(--ease); }
.footer__col a:hover { color: var(--lime); transform: translateX(4px); }
.footer__line { height: 1px; background: var(--line); margin-block: 40px 24px; }
.footer__base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--grey); }
.footer__base a:hover { color: var(--white); }

/* =========================================================
   HOME
   ========================================================= */
.hero { position: relative; padding-block: clamp(56px, 6.4vw, 92px) clamp(64px, 7vw, 100px); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1fr 390px; gap: 60px; align-items: center; }
.hero__copy { display: grid; gap: 0; }
.hero__copy .eyebrow { margin-bottom: 40px; }
.hero__title { font-size: clamp(30px, 3.27vw, 47px); line-height: 1.16; }
.hero__lead { margin-top: 40px; max-width: 730px; }
.hero__copy .btn { margin-top: 60px; justify-self: start; width: 265px; padding: 20px 22px; font-size: 14px; }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before { content: ""; position: absolute; width: 640px; height: 640px; right: -120px; top: -160px; border-radius: 50%; background: radial-gradient(closest-side, rgba(180,215,15,.10), transparent); animation: float 12s ease-in-out infinite; }
.hero__grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 10%, transparent 65%); }
@keyframes float { 50% { transform: translate(-40px, 40px) scale(1.08); } }

/* split lines */
.split-line { display: block; overflow: hidden; }
.js .split-line > span { display: block; transform: translateY(105%); transition: transform 1s var(--ease); }
.is-loaded .split-line > span { transform: none; }
.split-line:nth-child(2) > span { transition-delay: .1s; }
.split-line:nth-child(3) > span { transition-delay: .2s; }
.split-line:nth-child(4) > span { transition-delay: .3s; }

.dash { background: var(--card); border-radius: 14px; padding: 24px; height: 355px; display: flex; flex-direction: column; position: relative; box-shadow: 0 40px 80px -40px rgba(0,0,0,.8); }
.dash__label { background: var(--panel); border-radius: 5px; height: 43px; display: flex; align-items: center; justify-content: space-between; padding-inline: 19px; font-weight: 700; font-size: 15px; color: var(--lime); }
.dash__live { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; letter-spacing: .1em; color: var(--muted); }
.dash__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 var(--lime-glow); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(180,215,15,.6); } 80%, 100% { box-shadow: 0 0 0 9px rgba(180,215,15,0); } }
.dash__value { font-family: var(--f-display); font-weight: 700; font-size: 27px; margin: 38px 0 0 16px; }
.dash__note { color: var(--muted); font-size: 13px; margin: 10px 0 0 16px; }
.dash__bars { display: flex; align-items: flex-end; gap: 13px; height: 173px; margin: auto 0 11px 18px; position: absolute; left: 24px; bottom: 24px; }
.dash__bars i { width: 26px; height: var(--h); background: #979797; border-radius: 3px; transform-origin: bottom; transition: height 1.2s var(--ease), background-color .3s; }
.dash__bars i.is-hi { background: var(--lime); }
.js .dash__bars i { transform: scaleY(0); }
.is-loaded .dash__bars i { transform: scaleY(1); transition: transform 1s var(--ease), height 1.2s var(--ease), background-color .3s; }
.dash__bars i:hover { background: var(--lime); }

/* soluções */
.sol-card { padding: 19px 27px 40px; min-height: 345px; display: flex; flex-direction: column; }
.sol-card .icon { margin-left: -3px; }
.sol-card h3 { margin-top: 66px; font-size: 18px; min-height: 46px; }
.sol-card p { margin-top: 17px; color: var(--soft); font-size: 17px; line-height: 1.4; }
.sol-card .lime-mark { margin-top: auto; }

/* demos */
.demo { border-radius: 12px; }
.demo__bar { background: var(--bg-deep); height: 47px; display: flex; align-items: center; gap: 7px; padding-inline: 23px; border-radius: 8px 8px 0 0; }
.demo__bar i { width: 10px; height: 10px; border-radius: 50%; }
.demo__bar i:nth-child(1) { background: #ff7169; }
.demo__bar i:nth-child(2) { background: #f8c747; }
.demo__bar i:nth-child(3) { background: var(--lime); }
.demo__bar span { margin-left: 18px; font-weight: 600; font-size: 15px; }
.demo__media { aspect-ratio: 613 / 288; overflow: hidden; position: relative; background: #0d0d0d; }
.demo__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.9); }
.demo:hover .demo__media img { transform: scale(1.1); filter: saturate(1.15) brightness(1.08); }
.demo__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0 46%, rgba(180,215,15,.22) 50%, transparent 54% 100%); background-size: 100% 220%; animation: scan 4.5s linear infinite; mix-blend-mode: screen; pointer-events: none; }
@keyframes scan { from { background-position: 0 120%; } to { background-position: 0 -120%; } }
.demo__cap { background: var(--bg-deep); padding: 22px 27px 24px; font-size: clamp(15px, 1.4vw, 20px); }

/* funcionalidades */
.feat { padding: 17px 24px 26px; min-height: 220px; display: flex; flex-direction: column; }
.feat h3 { margin-top: 37px; font-size: 16px; min-height: 42px; }
.feat p { margin-top: 18px; color: var(--muted); font-size: 16px; line-height: 1.4; }

/* órbita */
.orbit-wrap { position: relative; }
.orbit { position: relative; width: 100%; max-width: 1100px; margin: 28px auto 20px; aspect-ratio: 1100 / 520; }
.orbit svg.orbit__rings { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit__rings ellipse { fill: none; stroke: #3d3d3d; stroke-width: 1.2; }
.orbit__rings ellipse.flow { stroke: var(--lime); stroke-width: 1.6; stroke-dasharray: 2 14; stroke-linecap: round; opacity: .55; animation: dash 6s linear infinite; }
.orbit__rings ellipse.flow.rev { animation-direction: reverse; animation-duration: 9s; }
@keyframes dash { to { stroke-dashoffset: -160; } }
.orbit__core { position: absolute; left: 50%; top: 50%; width: 25.6%; aspect-ratio: 282 / 176; transform: translate(-50%, -50%); background: var(--panel); border-radius: 90px; display: grid; place-items: center; align-content: center; z-index: 2; box-shadow: 0 0 0 0 rgba(180,215,15,.25); animation: core-pulse 3.2s ease-in-out infinite; }
@keyframes core-pulse { 50% { box-shadow: 0 0 0 18px rgba(180,215,15,0), 0 0 60px rgba(180,215,15,.12); } 0%, 100% { box-shadow: 0 0 0 0 rgba(180,215,15,.22), 0 0 30px rgba(180,215,15,.05); } }
.orbit__core img { width: 51%; height: auto; margin-top: -6%; }
.orbit__core span { font-weight: 700; font-size: clamp(8px, .8vw, 11px); color: var(--lime); white-space: nowrap; margin-top: -2%; }
.orbit__node { position: absolute; left: 0; top: 0; z-index: 3; display: inline-flex; align-items: center; gap: 14px; height: 43px; padding: 0 22px 0 19px; border-radius: 21px; background: var(--card); font-weight: 600; font-size: 12px; white-space: nowrap; transform: translate(-50%, -50%); will-change: transform; transition: background .3s, color .3s, box-shadow .3s; cursor: default; }
.orbit__node::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--lime); flex-shrink: 0; transition: background .3s; }
.orbit__node:hover { background: var(--lime); color: var(--ink); box-shadow: 0 0 30px var(--lime-glow); z-index: 5; }
.orbit__node:hover::before { background: var(--ink); }

/* aplicações */
.app { display: flex; align-items: center; gap: 12px; padding: 18px 16px 18px 13px; min-height: 92px; border-radius: 10px; background: #303030; }
.app .icon { width: 39px; height: 39px; flex-shrink: 0; }
.app h3 { font-weight: 600; font-size: 15px; font-family: var(--f-body); }
.app p { color: #b8b8b8; font-size: 14px; margin-top: 10px; }
.app-row-2 { grid-template-columns: repeat(3, 1fr); margin-top: 17px; }

/* diferenciais (home) */
.diff { display: flex; gap: 40px; padding: 27px 30px 32px 23px; min-height: 168px; }
.diff .icon { width: 39px; height: 39px; flex-shrink: 0; }
.diff h3 { font-size: 19px; margin-left: 0; }
.diff p { margin-top: 26px; color: var(--muted); font-size: 17px; line-height: 1.4; }
.diff:hover h3 { color: var(--lime); transition: color .3s; }

/* cenários */
.scene { padding: 16px 16px 34px; }
.scene__ill { background: #242928; border-radius: 7px; height: 169px; display: grid; place-items: center; padding: 20px 30px; position: relative; overflow: hidden; }
.scene__ill svg { width: 100%; height: 100%; max-height: 124px; }
.scene__ill::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, rgba(180,215,15,.12), transparent 60%); opacity: 0; transition: opacity .5s; }
.scene:hover .scene__ill::after { opacity: 1; }
.scene h3 { margin: 23px 7px 0; font-size: 17.5px; }
.scene p { margin: 22px 7px 0; color: var(--muted); font-size: 15.5px; }

/* desenho de traço (svg draw) */
.draw path { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); transition: stroke-dashoffset 1.8s var(--ease); }
.is-in .draw path, .draw.is-in path { stroke-dashoffset: 0; }
.scene:hover .draw path { animation: redraw 1.6s var(--ease); }
@keyframes redraw { 0% { stroke-dashoffset: var(--len); } 100% { stroke-dashoffset: 0; } }

/* =========================================================
   PÁGINAS INTERNAS
   ========================================================= */
.page-hero { padding-block: clamp(56px, 6.7vw, 96px) clamp(56px, 6.1vw, 88px); position: relative; overflow: hidden; }
.page-hero__grid { display: grid; grid-template-columns: 1fr 520px; gap: 72px; align-items: center; }
.page-hero__copy { display: grid; gap: 24px; }
.page-hero__title { font-size: clamp(28px, 3.2vw, 46px); line-height: 1.12; }
.page-hero__copy .btn { justify-self: start; margin-top: 8px; padding: 15px 26px; }
.page-hero--solo .page-hero__grid { grid-template-columns: 1fr; }
.page-hero--solo .page-hero__copy { max-width: 1260px; }

/* camadas (tecnologia) */
.layers { background: var(--card); border-radius: 14px; padding: 28px; display: grid; gap: 12px; }
.layers__head { display: flex; justify-content: space-between; align-items: center; }
.layers__head p { font-weight: 800; font-size: 11px; letter-spacing: .06em; color: var(--lime); }
.layers__head img { width: 36px; }
.layer { position: relative; display: flex; align-items: center; gap: 12px; padding: 15px 16px; border-radius: 8px; background: var(--bg); overflow: hidden; isolation: isolate; transition: color .4s; }
.layer::before { content: ""; position: absolute; inset: 0; background: var(--lime); z-index: -1; transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease); }
.layer i { width: 8px; height: 8px; border-radius: 2px; background: var(--lime); transition: background .4s; }
.layer b { flex: 1; font-size: 14px; }
.layer span { font-weight: 600; font-size: 12px; color: var(--grey); transition: color .4s; }
.layer.is-active { color: var(--ink); }
.layer.is-active::before { transform: scaleX(1); }
.layer.is-active i { background: var(--ink); }
.layer.is-active span { color: var(--ink-2); }
.layers__foot { color: var(--muted); font-size: 13px; }
.layers__flow { position: absolute; left: 31px; top: 0; bottom: 0; width: 2px; }

.stack-card { padding: 26px 24px; min-height: 229px; display: flex; flex-direction: column; gap: 14px; }
.stack-card h3 { margin-top: 10px; font-size: 15px; }
.stack-card p { color: var(--muted); font-size: 15px; }

.security { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.checklist { display: grid; gap: 22px; margin-top: 22px; }
.checklist li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.checklist img { width: 22px; height: 22px; flex-shrink: 0; }
.indicators { background: var(--card); border-radius: 14px; padding: 14px 32px; }
.indicators li { display: flex; align-items: center; gap: 20px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.indicators li:last-child { border-bottom: 0; }
.indicators b { font-family: var(--f-display); font-size: clamp(20px, 2vw, 28px); color: var(--lime); width: 130px; flex-shrink: 0; }
.indicators span { color: var(--soft); font-size: 15px; }

/* projetos */
.proj { padding: 12px; display: flex; flex-direction: column; transition: transform .5s var(--ease), opacity .45s, box-shadow .5s; }
.proj.is-hidden { display: none; }
.proj.is-filtering { opacity: 0; transform: scale(.96); }
.proj__media { height: 200px; border-radius: 10px; background: #242928; border: 1px solid var(--lime-soft); display: grid; place-items: center; position: relative; overflow: hidden; }
.proj__media::before { content: ""; position: absolute; width: 180px; height: 180px; border-radius: 50%; border: 1px dashed rgba(180,215,15,.25); animation: spin 18s linear infinite; }
.proj__media::after { content: ""; position: absolute; width: 250px; height: 250px; border-radius: 50%; border: 1px solid rgba(180,215,15,.08); }
.proj__ring { position: relative; z-index: 1; padding: 22px; border-radius: 50%; background: var(--bg); border: 1.5px solid rgba(180,215,15,.5); transition: transform .6s var(--ease), box-shadow .6s; }
.proj:hover .proj__ring { transform: scale(1.12); box-shadow: 0 0 0 10px rgba(180,215,15,.08), 0 0 50px rgba(180,215,15,.25); }
.proj__body { padding: 22px 14px 14px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.proj__tag { font-weight: 800; font-size: 11px; letter-spacing: .06em; color: var(--lime); }
.proj__body h3 { font-size: 16px; line-height: 1.25; }
.proj__body p { color: var(--muted); font-size: 15px; }
.proj__metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--line-2); padding-top: 14px; margin-top: auto; }
.proj__metrics b { display: block; font-family: var(--f-display); font-size: 20px; color: var(--lime); }
.proj__metrics span { font-weight: 600; font-size: 12px; color: var(--grey); }
.note { color: var(--grey); font-size: 12px; margin-top: 44px; }
.filters { margin-bottom: 32px; }

/* diferenciais */
.numbers { background: var(--card); border-radius: 14px; padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.num { border-radius: 10px; background: var(--bg); padding: 28px 22px; min-height: 115px; display: grid; gap: 8px; align-content: start; transition: transform .4s var(--ease), background .4s; }
.num b { font-family: var(--f-display); font-size: clamp(22px, 2.1vw, 30px); color: var(--lime); line-height: 1.1; }
.num span { font-weight: 600; font-size: 14px; color: var(--soft); }
.num--lime { background: var(--lime); }
.num--lime b { color: var(--ink); }
.num--lime span { color: var(--ink-2); }
.num:hover { transform: scale(1.03); }

.pillar { padding: 28px 26px; min-height: 249px; display: flex; flex-direction: column; gap: 14px; }
.pillar h3 { margin-top: 10px; font-size: 17px; line-height: 1.25; transition: color .3s; }
.pillar p { color: var(--muted); font-size: 15px; }
.pillar .lime-mark { width: 96px; margin-top: auto; }
.pillar:hover h3 { color: var(--lime); }

.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare__col { border-radius: 14px; padding: 32px 28px; display: grid; gap: 18px; align-content: start; }
.compare__col h3 { font-size: 18px; }
.compare__col hr { border: 0; height: 1px; background: var(--line-2); margin: 0; }
.compare__col ul { display: grid; gap: 18px; }
.compare__col li { display: flex; gap: 12px; align-items: center; font-size: 16px; line-height: 1.4; }
.compare__col li img { width: 22px; height: 22px; flex-shrink: 0; }
.compare__col--generic { background: var(--card); color: var(--muted); }
.compare__col--mb { background: var(--bg); border: 2px solid var(--lime); font-weight: 600; position: relative; overflow: hidden; }
.compare__col--mb h3 { color: var(--lime); }
.compare__col--mb::after { content: ""; position: absolute; inset: -2px; background: linear-gradient(115deg, transparent 40%, rgba(180,215,15,.12) 50%, transparent 60%); background-size: 250% 100%; animation: sheen 5s ease-in-out infinite; pointer-events: none; }
@keyframes sheen { 0% { background-position: 150% 0; } 60%, 100% { background-position: -50% 0; } }

.faq { display: grid; grid-template-columns: 420px 1fr; gap: 72px; align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq__item { background: var(--card); border-radius: 12px; overflow: hidden; transition: background .3s; }
.faq__q { width: 100%; display: flex; gap: 16px; align-items: center; justify-content: space-between; padding: 22px 24px; background: none; border: 0; text-align: left; font-weight: 700; font-size: 17px; line-height: 1.4; transition: color .3s; }
.faq__q:hover { color: var(--lime); }
.faq__sign { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.faq__sign::before, .faq__sign::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--lime); border-radius: 2px; transition: transform .45s var(--ease); }
.faq__sign::after { transform: rotate(90deg); }
.faq__item.is-open .faq__q { color: var(--lime); }
.faq__item.is-open .faq__sign::after { transform: rotate(0); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* agenda */
.form-panel { background: var(--card); border-radius: 20px; padding: clamp(24px, 3.3vw, 56px) clamp(20px, 3.3vw, 48px) clamp(28px, 3vw, 37px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 50px; }
.form-grid--4 { grid-template-columns: repeat(4, 1fr); gap: 22px 43px; margin-top: 40px; }
.field { display: grid; gap: 12px; position: relative; }
.field label { font-weight: 600; font-size: 16px; }
.field input, .field select {
  width: 100%; height: 53px; border-radius: 8px; border: 1px solid transparent; background: var(--field); color: var(--white);
  padding: 0 16px; font: 500 15px var(--f-body); outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--lime) 50%), linear-gradient(135deg, var(--lime) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.field select option { background: var(--field); }
.field input::placeholder { color: #5f5f5f; }
.field input:hover, .field select:hover { background: #262626; }
.field input:focus, .field select:focus { border-color: var(--lime); box-shadow: 0 0 0 4px rgba(180,215,15,.12); }
.field.is-invalid input, .field.is-invalid select { border-color: #ff7169; animation: shake .4s; }
.field__err { position: absolute; bottom: -19px; left: 2px; font-size: 12px; color: #ff7169; opacity: 0; transform: translateY(-4px); transition: .3s; }
.field.is-invalid .field__err { opacity: 1; transform: none; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.form-actions { margin-top: 46px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-actions .btn { min-width: 365px; height: 58px; justify-content: flex-start; padding-inline: 22px; font-size: 15px; border-radius: 8px; }
.form-actions .btn.is-loading { pointer-events: none; }
.form-actions .btn.is-loading .arrow { animation: spin .8s linear infinite; }
.form-note { color: #b0b0b0; font-size: 14px; margin-top: 21px; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success.is-visible { display: grid; gap: 18px; justify-items: center; animation: pop .7s var(--ease); }
.form-success svg { width: 84px; height: 84px; }
.form-success circle { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw-c 1s var(--ease) forwards; }
.form-success path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw-c .6s .7s var(--ease) forwards; }
@keyframes draw-c { to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

/* =========================================================
   Animações de entrada
   ========================================================= */
@keyframes spin { to { transform: rotate(360deg); } }
html.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal="left"] { transform: translateX(-40px); }
html.js [data-reveal="right"] { transform: translateX(40px); }
html.js [data-reveal="scale"] { transform: scale(.94); }
html.js [data-reveal="fade"] { transform: none; }
html.js [data-reveal].is-in { opacity: 1; transform: none; }

/* transição entre páginas */
.page-fade { position: fixed; inset: 0; z-index: 100; background: var(--lime); pointer-events: none; transform: scaleY(0); transform-origin: top; }
.page-fade.is-leaving { transform-origin: bottom; animation: wipe-in .45s var(--ease-in-out) forwards; }
.page-fade.is-entering { transform: scaleY(1); transform-origin: top; animation: wipe-out .6s .05s var(--ease-in-out) forwards; }
@keyframes wipe-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes wipe-out { from { transform: scaleY(1); } to { transform: scaleY(0); } }

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1180px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: block; }
  .hero__grid, .page-hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .dash, .layers, .numbers { max-width: 560px; }
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .steps__bar { display: none; }
  .app-row-2 { grid-template-columns: repeat(2, 1fr); }
  .faq { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .security, .compare { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; gap: 26px; }
  .form-grid--4 { grid-template-columns: 1fr 1fr; }
  .orbit__node { height: 34px; font-size: 10px; padding: 0 14px 0 12px; gap: 8px; }
  .orbit__node::before { width: 10px; height: 10px; }
  .diff { gap: 20px; }
}
@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .grid-3, .grid-4, .steps, .app-row-2, .grid-2 { grid-template-columns: 1fr; }
  .hero__copy .btn, .form-actions .btn { width: 100%; min-width: 0; }
  .hero__copy .eyebrow { margin-bottom: 24px; }
  .hero__lead { margin-top: 24px; }
  .hero__copy .btn { margin-top: 36px; }
  .hero__title, .page-hero__title { font-size: 7vw !important; }
  .dash { height: auto; padding: 18px; }
  .dash__label { font-size: 13px; padding-inline: 14px; }
  .dash__value { margin-top: 26px; }
  .dash__bars { position: static; gap: 8px; height: 150px; margin: 22px 0 0 10px; }
  .dash__bars i { width: 22px; }
  .orbit { aspect-ratio: 1 / 1.25; }
  .sol-card h3 { margin-top: 40px; }
  .orbit__core { width: 46%; }
  .numbers { grid-template-columns: 1fr 1fr; padding: 12px; }
  .form-grid--4 { grid-template-columns: 1fr; }
  .cta__actions { gap: 20px; }
  .footer__top { flex-direction: column; }
  .indicators b { width: 90px; }
  .diff { flex-direction: column; }
  .diff p { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  .js .split-line > span { transform: none; }
  .js .dash__bars i { transform: none; }
}
