/* ActiveCode — site institucional */
:root {
  --bg: #07090f;
  --bg-2: #0b0f19;
  --panel: #0f1422;
  --panel-2: #131a2b;
  --line: rgba(148, 163, 184, .12);
  --line-2: rgba(148, 163, 184, .22);
  --text: #e6eaf2;
  --muted: #8b95a8;
  --dim: #5b6578;
  --teal: #5eead4;
  --indigo: #818cf8;
  --violet: #c084fc;
  --ok: #4ade80;
  --warn: #fbbf24;
  --err: #f87171;
  --grad: linear-gradient(100deg, var(--teal) 0%, var(--indigo) 55%, var(--violet) 100%);
  --radius: 18px;
  --ff-head: "Space Grotesk", system-ui, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--ff-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--ff-head); letter-spacing: -.02em; line-height: 1.08; margin: 0; }
p { margin: 0; }
::selection { background: rgba(94, 234, 212, .3); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--teal); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Botões */
.btn {
  --h: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 15px/1 var(--ff-body); color: #061015;
  background: var(--grad); background-size: 160% 100%; background-position: 0 0;
  box-shadow: 0 8px 30px -10px rgba(94, 234, 212, .55);
  transition: background-position .5s var(--ease), transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 14px 40px -12px rgba(129, 140, 248, .7); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { --h: 40px; padding: 0 18px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid var(--line-2); box-shadow: none; }
.btn--ghost:hover { background: rgba(255, 255, 255, .04); border-color: var(--teal); box-shadow: none; }
.btn--full { width: 100%; }

/* Navegação */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(7, 9, 15, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 19px/1 var(--ff-head); letter-spacing: -.01em; }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #061015; background: var(--grad); }
.brand__mark svg { width: 20px; height: 20px; }
.brand__name b { font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__links { display: flex; align-items: center; gap: 30px; font-size: 14.5px; font-weight: 500; color: var(--muted); }
.nav__links a:not(.btn) { position: relative; transition: color .2s; }
.nav__links a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__links a:not(.btn):hover, .nav__links a.is-active { color: var(--text); }
.nav__links a.is-active::after, .nav__links a:not(.btn):hover::after { transform: scaleX(1); }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: transparent; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

/* Hero */
.hero { position: relative; padding: 150px 0 0; overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg .grid {
  position: absolute; inset: -2px;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  animation: grid-move 24s linear infinite;
}
@keyframes grid-move { to { background-position: 56px 56px, 56px 56px; } }
.hero__bg .glow {
  position: absolute; width: 720px; height: 720px; left: var(--gx, 65%); top: var(--gy, 30%);
  transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, .28), rgba(94, 234, 212, .12) 40%, transparent 70%);
  filter: blur(20px); transition: left .8s var(--ease), top .8s var(--ease);
}
.hero__inner { display: grid; grid-template-columns: 1.08fr .92fr; gap: 56px; align-items: center; padding-bottom: 90px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(15, 20, 34, .6); font: 500 13px/1 var(--ff-mono); color: var(--muted); margin-bottom: 26px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(74, 222, 128, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(74, 222, 128, 0); } 100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); } }
.hero h1 { font-size: clamp(40px, 5.6vw, 70px); font-weight: 700; }
.hero h1 .grad { display: inline; }
.lead { margin-top: 24px; max-width: 560px; font-size: clamp(16px, 1.4vw, 18.5px); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__facts { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 14px 40px; }
.hero__facts li { display: flex; flex-direction: column; padding-left: 16px; border-left: 2px solid var(--line-2); }
.hero__facts strong { font: 600 22px/1.2 var(--ff-head); }
.hero__facts span { font-size: 13.5px; color: var(--dim); }

/* Terminal */
.term {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(19, 26, 43, .92), rgba(11, 15, 25, .96));
  border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .02) inset;
  transform: perspective(1200px) rotateY(-7deg) rotateX(3deg);
  transition: transform .6s var(--ease);
}
.term:hover { transform: perspective(1200px) rotateY(0) rotateX(0); }
.term::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); opacity: .35; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.term__bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4357; }
.term__bar i:nth-child(1) { background: #f87171; }
.term__bar i:nth-child(2) { background: #fbbf24; }
.term__bar i:nth-child(3) { background: #4ade80; }
.term__bar span { margin-left: auto; margin-right: auto; padding-right: 50px; font: 12px var(--ff-mono); color: var(--dim); }
.term__body { margin: 0; padding: 22px 22px 26px; min-height: 340px; font: 13.5px/1.75 var(--ff-mono); color: var(--text); white-space: pre-wrap; word-break: break-word; }
.c-mut { color: var(--dim); }
.c-ok { color: var(--ok); }
.c-warn { color: var(--warn); }
.c-key { color: var(--teal); }
.c-acc { color: var(--indigo); }
.c-vio { color: var(--violet); }
.caret { display: inline-block; width: 8px; height: 1.1em; vertical-align: -2px; background: var(--teal); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); background: rgba(11, 15, 25, .7); overflow: hidden; padding: 18px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee span { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; font: 500 15px/1 var(--ff-head); color: var(--muted); white-space: nowrap; }
.marquee span::after { content: "✦"; font-size: 11px; color: var(--indigo); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Seções */
.section { position: relative; padding: 120px 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border-top: 1px solid var(--line); }
.head { max-width: 720px; margin-bottom: 60px; }
.kicker { font: 500 13px/1 var(--ff-mono); color: var(--teal); letter-spacing: .02em; margin-bottom: 18px; }
.section h2 { font-size: clamp(32px, 4.2vw, 52px); font-weight: 700; }
.sub { margin-top: 18px; color: var(--muted); font-size: 17px; }

/* Cards de serviço */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  --mx: 50%; --my: 0%;
  position: relative; padding: 34px 30px; border-radius: var(--radius);
  background: radial-gradient(500px circle at var(--mx) var(--my), rgba(129, 140, 248, .1), transparent 45%), var(--panel);
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), border-color .3s;
  transform-style: preserve-3d;
}
.card:hover { border-color: var(--line-2); }
.card__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 26px;
  background: linear-gradient(135deg, rgba(94, 234, 212, .14), rgba(129, 140, 248, .14)); border: 1px solid rgba(129, 140, 248, .25); }
.card__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--teal); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.card h3 em { display: inline-block; margin-left: 4px; padding: 3px 9px; border-radius: 999px; font: 500 11.5px/1.4 var(--ff-mono); font-style: normal; vertical-align: 4px; color: var(--indigo); background: rgba(129, 140, 248, .12); border: 1px solid rgba(129, 140, 248, .3); }
.card > p { color: var(--muted); font-size: 15px; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; font-size: 14.5px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 17px; height: 17px; border-radius: 6px; background: rgba(94, 234, 212, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235eead4' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center/11px no-repeat; }
.card--accent { background: radial-gradient(500px circle at var(--mx) var(--my), rgba(192, 132, 252, .12), transparent 45%), linear-gradient(180deg, #121833, var(--panel)); border-color: rgba(129, 140, 248, .28); }
.note { margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--line-2); font-size: 13.5px; color: var(--muted); }
.note b { color: var(--violet); font-weight: 600; }

/* Produtos */
.products { display: grid; gap: 28px; }
.product { display: grid; grid-template-columns: 1.05fr 1fr; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.product--rev .product__visual { order: 2; }
.product__visual { position: relative; min-height: 380px; display: grid; place-items: center; padding: 40px; overflow: hidden; }
.product__visual--ws { background: radial-gradient(circle at 20% 20%, rgba(94, 234, 212, .22), transparent 55%), radial-gradient(circle at 90% 90%, rgba(129, 140, 248, .3), transparent 55%), #0c1220; }
.product__visual--logo { background: radial-gradient(circle at 80% 20%, rgba(192, 132, 252, .26), transparent 55%), radial-gradient(circle at 10% 90%, rgba(94, 234, 212, .2), transparent 55%), #0e1020; }
.product__body { padding: 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.tag { font: 500 12.5px/1 var(--ff-mono); color: var(--indigo); margin-bottom: 14px; text-transform: uppercase; letter-spacing: .08em; }
.product h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 16px; }
.product__body > p { color: var(--muted); }
.chips { list-style: none; padding: 0; margin: 24px 0 30px; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; font-size: 13px; color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); }
.link { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); padding-bottom: 4px; border-bottom: 1px solid rgba(94, 234, 212, .35); transition: gap .25s var(--ease), border-color .25s; }
.link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.link:hover { gap: 12px; border-color: var(--teal); }

/* Mock do Active Workspace */
.mock { width: min(440px, 100%); display: grid; grid-template-columns: 54px 1fr; border-radius: 16px; overflow: hidden; background: #f5f7fb; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.product:hover .mock { transform: rotate(0) scale(1.02); }
.mock__side { background: #111827; padding: 16px 0; display: grid; gap: 12px; justify-items: center; align-content: start; }
.mock__side i { width: 22px; height: 22px; border-radius: 7px; background: #263043; }
.mock__side i.on { background: #4f46e5; }
.mock__main { padding: 16px; display: grid; gap: 10px; }
.mock__row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #fff; border: 1px solid #e2e8f0; }
.mock__row b { height: 8px; border-radius: 4px; background: #cbd5e1; flex: 1; }
.mock__row b.w2 { flex: .7; }
.mock__row b.w3 { flex: .85; }
.mock__row--head { background: transparent; border: 0; padding: 0 2px 4px; }
.mock__row--head b { height: 12px; flex: 0 0 40%; background: #0f172a; }
.mock__row--head .pill { margin-left: auto; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: #94a3b8; flex: none; }
.dot--ok { background: #16a34a; }
.dot--warn { background: #d97706; }
.pill { width: 46px; height: 16px; border-radius: 999px; background: #fef3c7; flex: none; }
.pill--ok { background: #dcfce7; }
.pill--blue { width: 72px; height: 22px; background: #4f46e5; }
.mock__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mock__kpis div { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 9px 10px; display: flex; flex-direction: column; }
.mock__kpis b { font: 700 17px/1.1 var(--ff-head); color: #0f172a; }
.mock__kpis s { text-decoration: none; font-size: 10.5px; color: #64748b; }

/* Mock do Active Logo */
.logo-stage { position: relative; width: min(420px, 100%); aspect-ratio: 4/3; border-radius: 16px; background: #fff; display: grid; place-items: center;
  background-image: radial-gradient(#e5e7eb 1px, transparent 1px); background-size: 16px 16px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7); transform: rotate(2deg); transition: transform .6s var(--ease); }
.product:hover .logo-stage { transform: rotate(0) scale(1.02); }
.logo-art { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 22px; outline: 1.5px dashed #818cf8; outline-offset: 6px; }
.logo-art svg { width: 70px; height: 70px; }
.logo-art span { font: 700 26px/1 var(--ff-head); color: #0f172a; letter-spacing: -.03em; }
.handles i { position: absolute; width: 10px; height: 10px; background: #fff; border: 2px solid #818cf8; border-radius: 3px; }
.handles i:nth-child(1) { left: 14%; top: 31%; }
.handles i:nth-child(2) { right: 14%; top: 31%; }
.handles i:nth-child(3) { left: 14%; bottom: 31%; }
.handles i:nth-child(4) { right: 14%; bottom: 31%; }
.swatches { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: #0f172a; }
.swatches i { width: 16px; height: 16px; border-radius: 50%; }
.swatches i:nth-child(1) { background: #5eead4; }
.swatches i:nth-child(2) { background: #818cf8; }
.swatches i:nth-child(3) { background: #c084fc; }
.swatches i:nth-child(4) { background: #fbbf24; }
.swatches i:nth-child(5) { background: #f87171; }

/* Processo */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 1px; background: linear-gradient(90deg, var(--teal), var(--indigo), var(--violet), transparent); opacity: .5; }
.step { position: relative; padding-top: 0; }
.step__n { position: relative; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; margin-bottom: 24px; font: 600 16px/1 var(--ff-mono); color: var(--teal); background: var(--bg); border: 1px solid var(--line-2); }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }

/* Sobre */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.about__copy h2 { margin-bottom: 26px; }
.about__copy p { color: var(--muted); font-size: 17px; }
.about__copy p + p { margin-top: 16px; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 28px 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line); }
.stat strong { display: block; font: 700 clamp(34px, 3.4vw, 46px)/1 var(--ff-head); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 10px; }
.stat span { color: var(--muted); font-size: 14.5px; }

/* Contato */
.contact { display: grid; grid-template-columns: .95fr 1.05fr; gap: 70px; align-items: start; }
.contact__copy h2 { margin-bottom: 24px; }
.contact__copy > p { color: var(--muted); font-size: 17px; }
.contact__list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.contact__list li { display: flex; align-items: center; gap: 12px; color: var(--text); font-size: 15px; }
.contact__list svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.form { position: relative; padding: 36px; border-radius: 24px; background: var(--panel); border: 1px solid var(--line-2); display: grid; gap: 18px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.field { position: relative; }
.field input, .field textarea {
  width: 100%; padding: 24px 16px 10px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-2);
  color: var(--text); font: 15px/1.5 var(--ff-body); resize: vertical; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; }
.field label { position: absolute; left: 17px; top: 17px; color: var(--dim); font-size: 15px; pointer-events: none; transform-origin: left top; transition: transform .2s var(--ease), color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(129, 140, 248, .15); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-10px) scale(.78); color: var(--teal); }
.field.is-invalid input, .field.is-invalid textarea { border-color: var(--err); }
.topics { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { font-size: 13px; color: var(--dim); margin-bottom: 10px; padding: 0; }
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; color: var(--muted); cursor: pointer; transition: all .2s; }
.topics label:hover span { color: var(--text); border-color: var(--dim); }
.topics input:checked + span { color: #061015; background: var(--teal); border-color: var(--teal); font-weight: 600; }
.topics input:focus-visible + span { outline: 2px solid var(--indigo); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 12px; font-size: 14.5px; font-weight: 500; }
.alert--ok { color: #bbf7d0; background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .35); }
.alert--erro { color: #fecaca; background: rgba(248, 113, 113, .1); border: 1px solid rgba(248, 113, 113, .35); }
.btn[disabled] { opacity: .7; cursor: progress; }

/* Rodapé */
.footer { border-top: 1px solid var(--line); padding: 44px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: var(--muted); }
.footer__links a:hover { color: var(--teal); }
.footer__copy { font-size: 13.5px; color: var(--dim); }

/* Animação de entrada (só com JS ativo) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsivo */
@media (max-width: 1020px) {
  .hero__inner, .about, .contact { grid-template-columns: 1fr; gap: 50px; }
  .term { transform: none; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cards .card--accent { grid-column: 1 / -1; }
  .product, .product--rev { grid-template-columns: 1fr; }
  .product--rev .product__visual { order: 0; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 44px; }
  .steps::before { display: none; }
}
@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed; inset: 72px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 20px 24px; background: rgba(7, 9, 15, .97); border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .3s var(--ease);
  }
  .nav__links.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__links a:not(.btn) { padding: 14px 4px; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__links a:not(.btn)::after { display: none; }
  .nav__links .btn { margin-top: 18px; --h: 50px; }
  .nav.menu-open { background: rgba(7, 9, 15, .97); }
  .wrap { width: calc(100% - 32px); }
  .hero { padding-top: 116px; }
  .hero__inner { padding-bottom: 60px; }
  .hero__facts { gap: 14px 24px; }
  .term__body { min-height: 300px; font-size: 12.5px; padding: 18px; }
  .section { padding: 84px 0; }
  .head { margin-bottom: 40px; }
  .cards, .steps, .stats { grid-template-columns: 1fr; }
  .product__visual { min-height: 280px; padding: 28px 20px; }
  .product__body { padding: 32px 24px 36px; }
  .form { padding: 24px 18px; }
  .logo-art { gap: 10px; padding: 12px 14px; }
  .logo-art svg { width: 48px; height: 48px; }
  .logo-art span { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Selo "Beta" */
.badge { display: inline-block; margin-left: 8px; padding: 4px 10px; border-radius: 999px; vertical-align: 6px;
  font: 600 12px/1.3 var(--ff-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--warn);
  background: rgba(251, 191, 36, .1); border: 1px solid rgba(251, 191, 36, .4); }

/* Rodapé: links legais */
.footer__legal { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.footer__links--legal { font-size: 13.5px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.linklike:hover { color: var(--teal); }
.form__legal { font-size: 13px; color: var(--dim); text-align: center; }
.form__legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.form__legal a:hover { color: var(--teal); }

/* Aviso de cookies */
.cc {
  position: fixed; left: 20px; bottom: 20px; z-index: 90; width: min(440px, calc(100% - 32px));
  padding: 22px 22px 18px; border-radius: 20px; background: rgba(15, 20, 34, .94); border: 1px solid var(--line-2);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85);
  transform: translateY(24px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease);
}
.cc.is-in { transform: none; opacity: 1; }
.cc::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; border-radius: 20px 20px 0 0; background: var(--grad); opacity: .8; }
.cc__head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; font: 600 16px/1.3 var(--ff-head); }
.cc__icon { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgba(94, 234, 212, .12); }
.cc__icon svg { width: 19px; height: 19px; fill: none; stroke: var(--teal); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cc p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.cc a, .cc-panel a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.cc__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.cc__actions .cc-btn--link { margin-right: auto; }
.cc-btn { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; font: 600 14px/1 var(--ff-body);
  color: #061015; background: var(--grad); transition: transform .2s var(--ease), border-color .2s, background .2s; }
.cc-btn:hover { transform: translateY(-1px); }
.cc-btn--ghost { color: var(--text); background: rgba(255, 255, 255, .05); border-color: var(--line-2); }
.cc-btn--ghost:hover { border-color: var(--teal); }
.cc-btn--link { padding: 0 4px; color: var(--muted); background: none; text-decoration: underline; text-underline-offset: 3px; }
.cc-btn--link:hover { color: var(--text); }

/* Painel de preferências */
.cc-panel { width: min(560px, calc(100% - 24px)); max-height: calc(100vh - 32px); padding: 0; border-radius: 22px; border: 1px solid var(--line-2);
  background: var(--panel); color: var(--text); box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .9); overflow: auto; }
.cc-panel::backdrop { background: rgba(3, 5, 10, .7); backdrop-filter: blur(4px); }
.cc-panel__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 0; }
.cc-panel__head h2 { font-size: 22px; }
.cc-x { width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.cc-x:hover { color: var(--text); border-color: var(--dim); }
.cc-panel__intro { padding: 10px 24px 4px; font-size: 14px; color: var(--muted); }
.cc-panel__body { padding: 10px 24px; display: grid; gap: 10px; }
.cc-cat { padding: 16px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.cc-cat__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.cc-cat__top > input { display: none; }
.cc-cat__title { font: 600 15.5px/1.3 var(--ff-head); cursor: pointer; }
.cc-cat p { font-size: 13.5px; color: var(--muted); }
.cc-cat__fixed { font: 500 12px/1 var(--ff-mono); color: var(--ok); padding: 6px 10px; border-radius: 999px; background: rgba(74, 222, 128, .1); }
.cc-switch { position: relative; width: 46px; height: 26px; flex: none; }
.cc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.cc-switch span { position: absolute; inset: 0; border-radius: 999px; background: #2a3247; transition: background .25s; }
.cc-switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .25s var(--ease); }
.cc-switch input:checked + span { background: var(--teal); }
.cc-switch input:checked + span::after { transform: translateX(20px); }
.cc-switch input:focus-visible + span { outline: 2px solid var(--indigo); outline-offset: 2px; }
.cc-panel__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 14px 24px 22px; }
.cc-toast { position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translateX(-50%); padding: 12px 18px; border-radius: 999px; font-size: 14px;
  background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .8); animation: cc-toast .3s var(--ease); }
@keyframes cc-toast { from { opacity: 0; transform: translate(-50%, 10px); } }
@media (max-width: 560px) {
  .cc { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .cc__actions .cc-btn { flex: 1 1 auto; }
  .cc__actions .cc-btn--link { flex-basis: 100%; order: 3; margin: 2px 0 0; }
  .cc-panel__foot .cc-btn { flex: 1 1 auto; }
}

/* Páginas legais */
.legal { padding: 140px 0 100px; }
.legal__wrap { width: min(820px, 100% - 40px); margin-inline: auto; }
.legal h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 14px; }
.legal__meta { font: 13px var(--ff-mono); color: var(--dim); margin-bottom: 34px; }
.legal__lead { font-size: 18px; color: var(--muted); margin-bottom: 26px; }
.legal__toc { padding: 20px 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); margin-bottom: 44px; }
.legal__toc strong { display: block; font: 600 14px var(--ff-head); margin-bottom: 8px; }
.legal__toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 30px; font-size: 14.5px; color: var(--muted); }
.legal__toc a:hover { color: var(--teal); }
.legal h2 { font-size: 24px; margin: 44px 0 14px; scroll-margin-top: 90px; }
.legal h3 { font-size: 18px; margin: 26px 0 8px; }
.legal p, .legal li { color: #c3cad8; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 12px 0; }
.legal a:not(.btn) { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); }
.table-wrap { overflow-x: auto; margin: 16px 0; border-radius: 14px; border: 1px solid var(--line); }
.legal table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 620px; }
.legal th, .legal td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.legal th { font: 600 13px var(--ff-head); color: var(--text); background: var(--panel); }
.legal tr:last-child td { border-bottom: 0; }
.legal td code { font: 13px var(--ff-mono); color: var(--teal); }
.legal__box { margin-top: 40px; padding: 26px; border-radius: 18px; background: linear-gradient(135deg, rgba(94, 234, 212, .08), rgba(129, 140, 248, .08)); border: 1px solid rgba(129, 140, 248, .25); }
.legal__box p { margin-bottom: 16px; }
.nav--solid { background: rgba(7, 9, 15, .85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
@media (max-width: 640px) { .legal__toc ol { columns: 1; } .legal { padding-top: 110px; } }

/* Mock do Active Hire (entrevista em vídeo) */
.product__visual--hire { background: radial-gradient(circle at 85% 15%, rgba(94, 234, 212, .22), transparent 55%), radial-gradient(circle at 10% 85%, rgba(129, 140, 248, .28), transparent 55%), #0c1120; }
.vid { width: min(420px, 100%); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.product:hover .vid { transform: rotate(0) scale(1.02); }
.vid__cam { position: relative; aspect-ratio: 16/10; overflow: hidden; background: radial-gradient(circle at 50% 38%, #3b4a6b, #1a2236 70%); }
.vid__rec { position: absolute; left: 12px; top: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; font: 600 11px/1 var(--ff-mono); }
.vid__rec i { width: 8px; height: 8px; border-radius: 50%; background: #ef4444; animation: blink 1.2s steps(1) infinite; }
.vid__speed { position: absolute; right: 12px; top: 12px; padding: 5px 9px; border-radius: 8px; background: var(--teal); color: #061015; font: 700 11px/1 var(--ff-mono); }
.vid__person { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 46%; display: grid; justify-items: center; }
.vid__person i { width: 38%; aspect-ratio: 1; border-radius: 50%; background: #c7d2fe; opacity: .85; }
.vid__person b { width: 100%; height: 70px; margin-top: 8px; border-radius: 60px 60px 0 0; background: #818cf8; opacity: .8; }
.vid__q { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 9px 12px; border-radius: 10px; background: rgba(7, 9, 15, .78); color: #e6eaf2; font-size: 12px; line-height: 1.4; backdrop-filter: blur(6px); }
.vid__q s { display: block; text-decoration: none; font: 500 10px/1.4 var(--ff-mono); color: var(--teal); }
.vid__bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.vid__av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; background: #e0e7ff; color: #4338ca; font: 700 12px/1 var(--ff-head); }
.vid__name { flex: 1; font: 600 13.5px/1.25 var(--ff-head); color: #0f172a; }
.vid__name s { display: block; text-decoration: none; font: 400 11px/1.4 var(--ff-body); color: #64748b; }
.vid__stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }

/* Produtos: selo "No ar" e alternância das inclinações (esquerda −2°, direita +2°) */
.badge--live { color: var(--ok); background: rgba(74, 222, 128, .1); border-color: rgba(74, 222, 128, .4); }
.badge--live::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 1px; animation: pulse 2s infinite; }
.vid { transform: rotate(2deg); }
.logo-stage { transform: rotate(-2deg); }

/* Mock do Active Imports (embarque China → Brasil) */
.product__visual--imp { background: radial-gradient(circle at 15% 15%, rgba(245, 165, 36, .2), transparent 55%), radial-gradient(circle at 90% 85%, rgba(30, 79, 216, .32), transparent 55%), #0b1120; }
.ship { width: min(430px, 100%); border-radius: 16px; background: #fff; padding: 18px; display: grid; gap: 16px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .7); transform: rotate(2deg); transition: transform .6s var(--ease); color: #0f172a; }
.product:hover .ship { transform: rotate(0) scale(1.02); }
.ship__head { display: flex; align-items: center; justify-content: space-between; }
.ship__head b { font: 700 15px/1 var(--ff-mono); }
.ship__tag { padding: 5px 10px; border-radius: 999px; background: #dbeafe; color: #1e4fd8; font: 600 11px/1 var(--ff-body); }
.ship__route { display: flex; align-items: center; gap: 12px; }
.ship__port { font: 700 14px/1.2 var(--ff-head); }
.ship__port s { display: block; text-decoration: none; font: 500 10.5px/1.4 var(--ff-mono); color: #64748b; }
.ship__port--end { text-align: right; }
.ship__line { position: relative; flex: 1; height: 4px; border-radius: 4px; background: #e2e8f0; }
.ship__line i { position: absolute; inset: 0 38% 0 0; border-radius: 4px; background: linear-gradient(90deg, #f5a524, #1e4fd8); }
.ship__line em { position: absolute; left: 62%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #1e4fd8; box-shadow: 0 0 0 5px rgba(30, 79, 216, .18); }
.ship__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.ship__meta span { padding: 4px 9px; border-radius: 7px; background: #f1f5f9; color: #334155; font: 500 11px/1.3 var(--ff-body); }
.ship__cost { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ship__cost div { border: 1px solid #e2e8f0; border-radius: 10px; padding: 9px 10px; }
.ship__cost s { display: block; text-decoration: none; font-size: 10.5px; color: #64748b; }
.ship__cost b { font: 700 13.5px/1.2 var(--ff-head); white-space: nowrap; }
@media (max-width: 420px) { .ship__cost { grid-template-columns: 1fr 1fr; } .ship__cost div:last-child { grid-column: span 2; } }
