/* ==========================================================================
   VELQORA TECH — landing page
   --------------------------------------------------------------------------
   01. Tokens            08. Arquitetura (pilha isométrica)
   02. Base              09. Processo (linha do tempo)
   03. Layout            10. Diferenciais
   04. Componentes       11. Contato e formulário
   05. Header e menu     12. Rodapé
   06. Hero              13. Revelação e cursor
   07. Serviços          14. Movimento reduzido
   Mobile-first. Breakpoints: 480, 768, 1024 e 1440px.
   ========================================================================== */

/* ---------- 01. Tokens ---------- */
:root {
  /* Paleta da marca */
  --preto: #08080D;
  --roxo-escuro: #170D2B;
  --roxo-eletrico: #7C3AED;
  --violeta: #A855F7;
  --branco: #F8FAFC;
  --texto-2: #D7CCF0;
  --texto-3: #B9A8E0;

  /* Derivadas (estados e superfícies) */
  --roxo-eletrico-hover: #6D28D9;
  --roxo-eletrico-ativo: #5B21B6;
  --superficie: #100A1E;
  --superficie-palco: #0E0919;
  --linha: rgba(168, 85, 247, .2);
  --linha-forte: rgba(168, 85, 247, .45);
  --borda-campo: rgba(185, 168, 224, .4);
  --erro: #FDA4AF;
  --sucesso: #86EFAC;

  /* Tipografia */
  --font-sans: 'Sora', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --fs-h1: clamp(2.75rem, 1.6rem + 4.3vw, 5.5rem);      /* 44 → 88px */
  --fs-h2: clamp(2rem, 1.4rem + 2.6vw, 3.5rem);          /* 32 → 56px */
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);      /* 20 → 26px */
  --fs-lead: clamp(1.125rem, 1.02rem + .45vw, 1.375rem); /* 18 → 22px */
  --fs-body: clamp(1.0625rem, 1rem + .25vw, 1.1875rem);  /* 17 → 19px */

  /* Espaço e forma */
  --gutter: 20px;
  --container: 1200px;
  --header-h: 68px;
  --section-y: clamp(5rem, 3.5rem + 7vw, 9rem);
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  /* Movimento */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

@media (min-width: 480px)  { :root { --gutter: 24px; } }
@media (min-width: 768px)  { :root { --gutter: 32px; --header-h: 76px; } }
@media (min-width: 1024px) { :root { --gutter: 48px; } }
@media (min-width: 1440px) { :root { --container: 1320px; } }

/* ---------- 02. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 24px);
  background: var(--preto);
  color-scheme: dark;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--preto);
  color: var(--branco);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.menu-open { overflow: hidden; }

img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.03em; line-height: 1.08; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(124, 58, 237, .6); color: var(--branco); }

:focus-visible { outline: 2px solid var(--violeta); outline-offset: 3px; }
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: var(--branco);
  color: var(--preto);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform .2s var(--ease-out);
}
.skip-link:focus { transform: translateY(0); }

/* ---------- 03. Layout ---------- */
.container {
  width: min(100% - var(--gutter) * 2, var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  isolation: isolate;
  padding-block: var(--section-y);
  background: var(--preto);
  overflow: clip;
}
.section--alt { background: var(--roxo-escuro); }

/* filete de luz no topo de cada seção */
.section::before {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, .45), transparent);
}

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 2rem + 2.5vw, 4.5rem); }
.section-head h2, .contact__intro h2 { font-size: var(--fs-h2); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.1rem;
  color: var(--violeta);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.eyebrow::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--branco);
  box-shadow: 0 0 0 3px rgba(168, 85, 247, .3), 0 0 14px 2px rgba(168, 85, 247, .8);
}

.section-lead {
  margin-top: 1.25rem;
  max-width: 38rem;
  color: var(--texto-2);
  font-size: var(--fs-lead);
  line-height: 1.55;
}

.deco-circuit {
  position: absolute;
  z-index: -1;
  width: 420px; height: 300px;
  color: var(--violeta);
  opacity: .16;
  pointer-events: none;
}
.deco-circuit--services { top: 32px; right: -120px; }
.deco-circuit--contact { bottom: -24px; left: -140px; transform: scaleX(-1); }
@media (min-width: 1024px) {
  .deco-circuit--services { right: -40px; }
  .deco-circuit--contact { left: -40px; }
}

/* ---------- 04. Componentes ---------- */
.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  padding: .75rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -.01em;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease-out), background-color .2s, border-color .2s, color .2s;
}
.btn--sm { min-height: 44px; padding: .6rem 1.15rem; }
.btn--lg { min-height: 56px; padding: .95rem 1.7rem; font-size: 1.0625rem; }
.btn--block { width: 100%; }

.btn__icon { width: 20px; height: 20px; flex: none; transition: transform .3s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(3px); }

/* brilho neon: camada desfocada que só muda de opacidade */
.btn--primary {
  background: var(--roxo-eletrico);
  color: var(--branco);
  border-color: rgba(168, 85, 247, .7);
}
.btn--primary::after {
  content: '';
  position: absolute;
  inset: 4px 10%;
  z-index: -1;
  border-radius: inherit;
  background: var(--violeta);
  filter: blur(18px);
  opacity: .35;
  transition: opacity .3s var(--ease-out);
}
.btn--primary:hover { background: var(--roxo-eletrico-hover); transform: translateY(-1px); }
.btn--primary:hover::after { opacity: .85; }
.btn--primary:active { background: var(--roxo-eletrico-ativo); transform: translateY(0) scale(.98); }

.btn--ghost {
  background: rgba(8, 8, 13, .25);
  color: var(--branco);
  border-color: var(--linha-forte);
}
.btn--ghost:hover { background: rgba(124, 58, 237, .16); border-color: var(--violeta); transform: translateY(-1px); }
.btn--ghost:active { background: rgba(124, 58, 237, .26); transform: translateY(0) scale(.98); }

.btn:disabled, .btn[aria-disabled='true'] {
  cursor: not-allowed;
  opacity: .6;
  transform: none;
}
.btn:disabled::after { opacity: 0; }

.link-cta {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  margin-top: 1.5rem;
  color: var(--branco);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--linha-forte);
  transition: border-color .2s, color .2s;
}
.link-cta svg { width: 20px; height: 20px; color: var(--violeta); transition: transform .3s var(--ease-out); }
.link-cta:hover { border-color: var(--violeta); }
.link-cta:hover svg { transform: translateX(4px); }
.link-cta:active svg { transform: translateX(6px); }

/* brilho que segue o cursor (posicionado via transform pelo JS) */
.glow-follow, .stage__glow, .why-card__glow {
  position: absolute;
  top: 0; left: 0;
  z-index: 0;
  width: 360px; height: 360px;
  margin: -180px 0 0 -180px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168, 85, 247, .26), rgba(168, 85, 247, 0));
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-out);
}
.glow-follow { width: 220px; height: 220px; margin: -110px 0 0 -110px; }
.is-hover > .glow-follow, .is-hover > .stage__glow, .is-hover > .why-card__glow { opacity: 1; }

/* ---------- 05. Header e menu mobile ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
}
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 13, .74);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid rgba(168, 85, 247, .2);
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.menu-is-open::before { opacity: 0; }

.site-header__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-right: auto;
  padding: .25rem 0;
  border-radius: 8px;
  color: var(--branco);
  text-decoration: none;
}
.brand__symbol { width: 34px; height: 33px; overflow: visible; flex: none; }
.brand__word {
  margin-right: -.32em;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .32em;
  line-height: 1;
}

.nav { display: none; }
.nav__list { display: flex; gap: clamp(1.25rem, 2.4vw, 2.5rem); }
.nav__link {
  position: relative;
  display: inline-block;
  padding: .55rem 0;
  color: var(--texto-2);
  font-size: 1rem;
  text-decoration: none;
  transition: color .2s;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: .2rem;
  height: 2px;
  border-radius: 2px;
  background: var(--violeta);
  box-shadow: 0 0 12px rgba(168, 85, 247, .9);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.nav__link:hover { color: var(--branco); }
.nav__link:hover::after { transform: scaleX(.35); }
.nav__link:active { color: var(--violeta); }
.nav__link.is-active { color: var(--branco); }
.nav__link.is-active::after { transform: scaleX(1); }

.site-header__cta { display: none; }

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 1px solid var(--linha-forte);
  border-radius: 14px;
  background: rgba(8, 8, 13, .5);
  transition: background-color .2s, border-color .2s, transform .2s var(--ease-out);
}
.menu-toggle:hover { background: rgba(124, 58, 237, .2); border-color: var(--violeta); }
.menu-toggle:active { transform: scale(.94); }
.menu-toggle__bars { position: relative; width: 22px; height: 14px; }
.menu-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%; height: 2px;
  border-radius: 2px;
  background: var(--branco);
  transition: transform .35s var(--ease-out), opacity .2s;
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 6px; }
.menu-toggle__bars span:nth-child(3) { top: 12px; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded='true'] .menu-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: flex;
  overflow-y: auto;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  background:
    radial-gradient(110% 55% at 100% 0%, rgba(124, 58, 237, .3), transparent 62%),
    radial-gradient(80% 40% at 0% 100%, rgba(168, 85, 247, .16), transparent 70%),
    var(--preto);
  opacity: 0;
  transition: opacity .35s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; }

.mobile-menu__bg { position: absolute; inset: auto -60px 6% auto; width: 420px; color: var(--violeta); opacity: .14; pointer-events: none; }
.mobile-menu__bg svg { width: 420px; height: 300px; }

.mobile-menu__nav { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem; width: 100%; }
.mobile-menu__list { display: grid; gap: .25rem; }
.mobile-menu__list li,
.mobile-menu__footer {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.mobile-menu__list li:nth-child(1) { transition-delay: .06s; }
.mobile-menu__list li:nth-child(2) { transition-delay: .11s; }
.mobile-menu__list li:nth-child(3) { transition-delay: .16s; }
.mobile-menu__list li:nth-child(4) { transition-delay: .21s; }
.mobile-menu__footer { transition-delay: .28s; }
.mobile-menu.is-open .mobile-menu__list li,
.mobile-menu.is-open .mobile-menu__footer { opacity: 1; transform: none; }

.mobile-menu__list a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: .7rem 0;
  border-bottom: 1px solid var(--linha);
  font-size: clamp(1.75rem, 1.2rem + 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.15;
  text-decoration: none;
  transition: color .2s;
}
.mobile-menu__list a:hover, .mobile-menu__list a:active { color: var(--violeta); }
.mobile-menu__num { font-family: var(--font-mono); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--violeta); }

.mobile-menu__footer { display: grid; gap: 1rem; }
.mobile-menu__ig {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 48px;
  color: var(--texto-2);
  font-weight: 600;
  text-decoration: none;
}
.mobile-menu__ig svg { width: 22px; height: 22px; }
.mobile-menu__ig:hover { color: var(--branco); }

@media (min-width: 768px) {
  .site-header__cta { display: inline-flex; }
}
@media (min-width: 1024px) {
  .nav { display: block; margin-right: 1rem; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- 06. Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding-top: calc(var(--header-h) + 1rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  background: var(--preto);
}

.hero__bg { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(168, 85, 247, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 85, 247, .07) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 30%, #000, transparent 75%);
  mask-image: radial-gradient(70% 55% at 50% 30%, #000, transparent 75%);
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(42% 32% at 50% 26%, rgba(124, 58, 237, .32), transparent 72%),
    linear-gradient(180deg, transparent 70%, var(--preto));
}

.hero__canvas { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.hero__inner { display: grid; gap: 1.25rem; align-items: center; }

.hero__visual {
  order: -1;
  position: relative;
  height: clamp(190px, 32svh, 320px);
}
.hero__symbol {
  width: 100%; height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 22px rgba(168, 85, 247, .35));
  transition: opacity .6s var(--ease-out);
}
/* com JS e movimento liberado, o canvas desenha o V; o SVG fica como reserva */
@media (prefers-reduced-motion: no-preference) {
  .js .hero:not(.no-canvas) .hero__symbol { opacity: 0; }
}

.hero__content { position: relative; max-width: 46rem; }
.hero__content .eyebrow { margin-bottom: 1rem; }
.hero__title { font-size: var(--fs-h1); line-height: 1.02; }
.text-glow {
  background: linear-gradient(100deg, var(--branco) 0%, #E4D4FD 38%, #C08BFA 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  color: var(--texto-2);
  font-size: var(--fs-lead);
  line-height: 1.55;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .875rem; margin-top: 2.25rem; }
.hero__actions .btn { flex: 1 1 auto; }

@media (prefers-reduced-motion: no-preference) {
  .js .hero__content { animation: hero-in 1.1s var(--ease-out) .35s both; }
}
@keyframes hero-in {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 480px) {
  .hero__actions .btn { flex: 0 0 auto; }
}
@media (min-width: 768px) {
  .hero { padding-top: calc(var(--header-h) + 2rem); }
  .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 2rem; }
  .hero__visual { order: 0; height: clamp(380px, 62svh, 640px); }
  .hero__bg::before {
    -webkit-mask-image: radial-gradient(60% 65% at 72% 48%, #000, transparent 75%);
    mask-image: radial-gradient(60% 65% at 72% 48%, #000, transparent 75%);
  }
  .hero__bg::after {
    background:
      radial-gradient(34% 44% at 74% 48%, rgba(124, 58, 237, .3), transparent 72%),
      linear-gradient(180deg, transparent 75%, var(--preto));
  }
}

/* ---------- 07. Serviços ---------- */
.services__tabs { display: none; }

.service {
  border: 1px solid var(--linha);
  border-radius: var(--radius);
  background: rgba(8, 8, 13, .3);
  transition: border-color .3s, background-color .3s;
}
.service + .service { margin-top: .75rem; }
.service.is-open { border-color: var(--linha-forte); background: rgba(8, 8, 13, .5); }

.service__heading { font-size: inherit; letter-spacing: normal; line-height: inherit; }
.service__kicker { display: none; }

.service__trigger {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  min-height: 64px;
  padding: 1rem 1.25rem;
  border: 0;
  border-radius: var(--radius);
  background: none;
  color: var(--branco);
  font-size: 1.1875rem;
  font-weight: 600;
  letter-spacing: -.01em;
  text-align: left;
  transition: background-color .2s;
}
.service__trigger:hover { background: rgba(124, 58, 237, .1); }
.service__trigger:active { background: rgba(124, 58, 237, .18); }
.service__num, .services__tab-num {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--violeta);
}
.service__chevron { width: 24px; height: 24px; margin-left: auto; flex: none; color: var(--texto-3); transition: transform .35s var(--ease-out); }
.service__trigger[aria-expanded='true'] .service__chevron { transform: rotate(180deg); color: var(--branco); }

.service__panel { display: flex; flex-direction: column; gap: 1.5rem; padding: .25rem 1.25rem 1.5rem; }
.service__panel[hidden] { display: none; }
.service__panel:focus-visible { outline-offset: 6px; border-radius: var(--radius); }
.service__text { order: -1; }

.service__title {
  font-size: clamp(1.625rem, 1.25rem + 1.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.1;
  text-wrap: balance;
}
.service__benefit { margin-top: 1rem; color: var(--texto-2); font-size: var(--fs-lead); line-height: 1.55; max-width: 30rem; }

/* palco do mini visual */
.stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-inline: -.75rem;
  border: 1px solid var(--linha);
  border-radius: var(--radius);
  background:
    radial-gradient(80% 70% at 50% 45%, rgba(124, 58, 237, .2), transparent 70%),
    var(--superficie-palco);
  transition: transform .6s var(--ease-out), border-color .3s;
}
.stage.is-hover { border-color: var(--linha-forte); transition: transform .12s linear, border-color .3s; }

.viz {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  margin-inline: auto;
  aspect-ratio: 4 / 3;
}
.viz__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }

.viz__label {
  position: absolute;
  left: var(--x); top: var(--y);
  transform: translate(-50%, -50%);
  padding: .3em .8em;
  border: 1px solid var(--linha-forte);
  border-radius: 999px;
  background: #1A0F31;
  box-shadow: 0 0 0 4px var(--superficie-palco);
  color: var(--branco);
  font-size: clamp(.875rem, .8rem + .3vw, 1rem);
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
}
.viz__label--hub {
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-size: clamp(1rem, .85rem + .7vw, 1.5rem);
  font-weight: 700;
  letter-spacing: .04em;
}
.viz__label--out { max-width: 36%; white-space: normal; text-align: center; }
.viz__label--in::after, .viz__label--out::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid var(--violeta);
  box-shadow: 0 0 18px rgba(168, 85, 247, .85), inset 0 0 10px rgba(168, 85, 247, .4);
  opacity: 0;
  animation: label-in 2.8s linear infinite;
}
.viz__label--out::after { animation-name: label-out; }
.viz__label--dim {
  padding: .05em .5em;
  border: 0;
  border-radius: 4px;
  background: var(--superficie-palco);
  box-shadow: none;
  color: #E9D5FF;
  font-weight: 400;
  animation: fade-in .8s var(--ease-out) .6s both;
}
.viz__label--v { transform: translate(-50%, -50%) rotate(90deg); }

/* API */
.api-lines path { fill: none; stroke: rgba(215, 204, 240, .32); stroke-width: 1.5; stroke-dasharray: 4 6; }
.api-mid circle { fill: var(--violeta); }
.api-packets { filter: drop-shadow(0 0 5px rgba(168, 85, 247, .95)); }
.api-packets circle { fill: #F3E8FF; opacity: 0; animation: travel 2.6s var(--ease-in-out) infinite; animation-delay: var(--d); }
.api-hub__core { fill: #1A0F31; stroke: var(--violeta); stroke-width: 2; }
.api-hub__ring { fill: none; stroke: rgba(168, 85, 247, .7); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ring 2.6s ease-out infinite; }

/* Software web */
.dash-frame { fill: #0D0818; stroke: rgba(168, 85, 247, .38); }
.dash-dim circle { fill: rgba(215, 204, 240, .3); }
.dash-skel, .dash-skel rect { fill: rgba(215, 204, 240, .14); }
.dash-rule { fill: none; stroke: rgba(168, 85, 247, .2); }
.dash-brand path { fill: none; stroke: var(--branco); stroke-width: 1.4; stroke-linejoin: round; }
.dash-brand circle { fill: var(--branco); }
.dash-active { fill: rgba(124, 58, 237, .38); }
.dash-nav rect { fill: rgba(215, 204, 240, .18); }
.dash-nav .is-on { fill: var(--violeta); }
.dash-nav .is-on-text { fill: rgba(248, 250, 252, .85); }
.dash-title { fill: rgba(248, 250, 252, .88); }
.dash-btn { fill: var(--roxo-eletrico); }
.dash-cards rect, .dash-card { fill: rgba(23, 13, 43, .95); stroke: rgba(168, 85, 247, .22); }
.dash-kpi rect { fill: rgba(248, 250, 252, .82); }
.dash-spark { fill: none; stroke: var(--violeta); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dash-bars rect { fill: url(#g-bar); transform-box: fill-box; transform-origin: 50% 100%; animation: bar 3.2s var(--ease-in-out) infinite alternate; animation-delay: calc(var(--i) * -.45s); }
.dash-line { fill: none; stroke: var(--branco); stroke-width: 1.4; stroke-dasharray: 3 4; opacity: .55; }
.dash-scan { fill: rgba(124, 58, 237, .28); animation: rows 6s var(--ease-in-out) infinite; }
.dash-rows circle { fill: rgba(215, 204, 240, .3); }
.dash-rows .is-on { fill: var(--violeta); }
.dash-rows rect { fill: rgba(215, 204, 240, .22); }

/* App Android */
.phone { animation: float 6s ease-in-out infinite; }
.phone__body { fill: #0D0818; stroke: rgba(168, 85, 247, .6); stroke-width: 1.5; }
.phone__screen { fill: #130B24; }
.phone__cam { fill: var(--preto); stroke: rgba(215, 204, 240, .3); }
.phone__status rect { fill: rgba(215, 204, 240, .35); }
.phone__title { fill: rgba(248, 250, 252, .88); }
.phone__avatar { fill: var(--violeta); }
.phone__hero-line { fill: rgba(248, 250, 252, .92); }
.phone__hero-line--soft { opacity: .6; }
.phone__ring { fill: none; stroke: rgba(248, 250, 252, .3); stroke-width: 3; }
.phone__ring-arc { fill: none; stroke: var(--branco); stroke-width: 3; stroke-linecap: round; }
.phone__item > rect:first-child { fill: #1B1132; stroke: rgba(168, 85, 247, .2); }
.phone__item circle { fill: rgba(124, 58, 237, .65); }
.phone__item .l1 { fill: rgba(248, 250, 252, .8); }
.phone__item .l2 { fill: rgba(215, 204, 240, .32); }
.phone__item { animation: slide-in .8s var(--ease-out) both; animation-delay: calc(var(--i) * .12s + .15s); }
.phone__fab { fill: var(--roxo-eletrico); }
.phone__plus { stroke: var(--branco); stroke-width: 2; stroke-linecap: round; }
.phone__ripple { fill: none; stroke: var(--violeta); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ripple 2.8s ease-out infinite; }
.phone__rule { stroke: rgba(168, 85, 247, .22); }
.phone__tab-on { fill: rgba(124, 58, 237, .5); }
.phone__tabs path, .phone__tabs circle { fill: none; stroke: rgba(215, 204, 240, .8); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.phone__gesture { fill: rgba(248, 250, 252, .45); }
.phone__toast { animation: toast 7s var(--ease-out) infinite 1.2s; opacity: 0; }
.phone__toast rect:first-child { fill: #26164C; stroke: rgba(168, 85, 247, .7); }
.phone__toast circle { fill: var(--violeta); }
.phone__toast rect:nth-of-type(2) { fill: rgba(248, 250, 252, .85); }
.phone__toast rect:nth-of-type(3) { fill: rgba(215, 204, 240, .4); }
.phone-net path { fill: none; stroke: rgba(168, 85, 247, .45); stroke-dasharray: 3 5; }
.phone-net-nodes { filter: drop-shadow(0 0 6px rgba(168, 85, 247, .9)); }
.phone-net-nodes circle { fill: var(--branco); }

/* IA e automação */
.nn-lines path { fill: none; stroke: rgba(215, 204, 240, .18); stroke-width: 1; }
.nn-nodes circle { fill: var(--branco); }
.nn-halos circle { fill: rgba(168, 85, 247, .55); opacity: 0; transform-box: fill-box; transform-origin: center; animation: halo 2.8s ease-out infinite; animation-delay: var(--d); }
.nn-signals { filter: drop-shadow(0 0 4px rgba(168, 85, 247, .95)); }
.nn-signals circle { fill: #F3E8FF; opacity: 0; animation: signal 2.8s var(--ease-in-out) infinite; animation-delay: var(--d); }

/* Sob medida */
.plan-room { fill: rgba(124, 58, 237, .07); stroke: rgba(248, 250, 252, .85); stroke-width: 1.5; }
.plan-wall { fill: none; stroke: rgba(248, 250, 252, .7); stroke-width: 1.5; }
.plan-dash { fill: none; stroke: rgba(168, 85, 247, .75); stroke-dasharray: 4 4; }
.plan-dim path { fill: none; stroke: #D8B4FE; stroke-width: 1.2; }
.plan-dim .plan-ext { stroke-dasharray: 2 3; opacity: .7; }
.plan-dim { animation: fade-in .8s var(--ease-out) both; animation-delay: calc(var(--i) * .18s + .2s); }
.plan-nodes circle { fill: var(--branco); }
.plan-nodes .plan-halo { fill: rgba(168, 85, 247, .5); transform-box: fill-box; transform-origin: center; animation: pulse 3s ease-in-out infinite; animation-delay: var(--d, 0s); }
.plan-scan { fill: var(--violeta); opacity: .8; filter: drop-shadow(0 0 6px var(--violeta)); animation: scan-x 5s var(--ease-in-out) infinite alternate; }

/* pausa as animações quando a seção sai da tela */
.services.is-offscreen .viz *, .services.is-offscreen .viz *::after { animation-play-state: paused !important; }

@keyframes travel {
  0% { transform: translate(0, 0); opacity: 0; }
  12%, 88% { opacity: 1; }
  100% { transform: translate(var(--dx), var(--dy)); opacity: 0; }
}
@keyframes ring {
  0% { transform: scale(.85); opacity: .9; }
  100% { transform: scale(1.5); opacity: 0; }
}
@keyframes bar {
  from { transform: scaleY(.55); }
  to { transform: scaleY(1); }
}
@keyframes rows {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(24px); }
  50%, 70% { transform: translateY(48px); }
  75%, 95% { transform: translateY(72px); }
  100% { transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(-4px); }
  50% { transform: translateY(4px); }
}
@keyframes slide-in {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes ripple {
  0% { transform: scale(1); opacity: .9; }
  70%, 100% { transform: scale(2.3); opacity: 0; }
}
@keyframes toast {
  0% { transform: translateY(-56px); opacity: 0; }
  8%, 40% { transform: translateY(0); opacity: 1; }
  50%, 100% { transform: translateY(-56px); opacity: 0; }
}
@keyframes halo {
  0% { opacity: 0; transform: scale(.6); }
  10% { opacity: 1; transform: scale(1); }
  40%, 100% { opacity: 0; transform: scale(1.35); }
}
@keyframes signal {
  0% { transform: translate(0, 0); opacity: 0; }
  4% { opacity: 1; }
  26% { transform: translate(var(--dx), var(--dy)); opacity: 1; }
  30%, 100% { transform: translate(var(--dx), var(--dy)); opacity: 0; }
}
@keyframes label-in {
  0%, 3% { opacity: .9; }
  14%, 100% { opacity: 0; }
}
@keyframes label-out {
  0%, 86% { opacity: 0; }
  92% { opacity: 1; }
  100% { opacity: 0; }
}
@keyframes pulse {
  0%, 100% { opacity: .25; transform: scale(.8); }
  50% { opacity: .9; transform: scale(1.15); }
}
@keyframes scan-x {
  from { transform: translateX(0); }
  to { transform: translateX(260px); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes panel-in {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: none; }
}

/* desktop: seletor em abas */
@media (min-width: 1024px) {
  .services__tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .625rem;
    margin-bottom: clamp(2rem, 3vw, 3rem);
  }
  .services__tab {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    min-height: 108px;
    padding: 1.1rem 1.15rem 1.15rem;
    border: 1px solid var(--linha);
    border-radius: var(--radius);
    background: rgba(8, 8, 13, .3);
    color: var(--texto-2);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    transition: color .2s, border-color .25s, background-color .25s, transform .25s var(--ease-out);
  }
  .services__tab > *:not(.glow-follow) { position: relative; z-index: 1; }
  .services__tab-arrow {
    position: absolute !important;
    right: 1rem; top: 1.1rem;
    width: 20px; height: 20px;
    color: var(--violeta);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .25s, transform .35s var(--ease-out);
  }
  .services__tab:hover { color: var(--branco); border-color: var(--linha-forte); transform: translateY(-2px); }
  .services__tab:active { transform: translateY(0) scale(.99); }
  .services__tab[aria-selected='true'] {
    color: var(--branco);
    border-color: var(--violeta);
    background: linear-gradient(160deg, rgba(124, 58, 237, .38), rgba(124, 58, 237, .08) 70%);
    box-shadow: 0 18px 40px -24px rgba(168, 85, 247, .9);
  }
  .services__tab[aria-selected='true']::after {
    content: '';
    position: absolute;
    left: 1.15rem; right: 1.15rem; bottom: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--violeta);
    box-shadow: 0 0 14px var(--violeta);
  }
  .services__tab[aria-selected='true'] .services__tab-arrow { opacity: 1; transform: none; }
  .services__tab-label { text-wrap: balance; }

  .service, .service.is-open { border: 0; background: none; }
  .service + .service { margin-top: 0; }
  .service:not(.is-active) { display: none; }
  .service__trigger { display: none; }
  .service__kicker {
    display: block;
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .service__panel,
  .service__panel[hidden] { display: none; }
  .service.is-active .service__panel:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: clamp(2rem, 4vw, 4.5rem);
    padding: 0;
  }
  .stage { margin-inline: 0; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .service.is-active .service__panel:not([hidden]) { animation: panel-in .55s var(--ease-out); }
}

/* ---------- 08. Arquitetura ---------- */
.architecture__layout { display: grid; gap: 3.5rem; }

.points { display: grid; gap: 1.5rem; }
.points li { display: flex; gap: 1rem; }
.points__node {
  flex: none;
  width: 12px; height: 12px;
  margin-top: .45rem;
  border-radius: 50%;
  background: var(--branco);
  box-shadow: 0 0 0 4px rgba(168, 85, 247, .22), 0 0 16px 2px rgba(168, 85, 247, .7);
}
.points h3 { font-size: 1.1875rem; line-height: 1.3; letter-spacing: -.02em; }
.points p { margin-top: .3rem; color: var(--texto-2); font-size: 1.0625rem; }

.architecture__visual { position: relative; }

.stack {
  --w: clamp(180px, 52vw, 300px);
  --h: calc(var(--w) * .6333);
  --sep: 0;
  --gap: calc(var(--w) * (.12 + .16 * var(--sep)));
  position: relative;
  width: calc(var(--w) + 9.5rem);
  max-width: 100%;
  height: calc(var(--h) + var(--w) * .84);
  margin-inline: auto;
}
.stack__layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: var(--h);
  pointer-events: none;
  transform: translate3d(0, calc(var(--i) * var(--gap)), 0);
}
.stack__layer[data-layer='0'] { z-index: 4; }
.stack__layer[data-layer='1'] { z-index: 3; }
.stack__layer[data-layer='2'] { z-index: 2; }
.stack__layer[data-layer='3'] { z-index: 1; }

.slab {
  width: var(--w);
  height: var(--h);
  overflow: visible;
  transition: opacity .35s var(--ease-out), filter .35s;
}
.slab polygon { pointer-events: auto; cursor: pointer; stroke-linejoin: round; }
.slab__top { fill: #1E1238; stroke: rgba(168, 85, 247, .6); stroke-width: 1.2; transition: fill .3s, stroke .3s; }
.slab__left { fill: #140B29; stroke: rgba(168, 85, 247, .3); }
.slab__right { fill: #0C0619; stroke: rgba(168, 85, 247, .3); }
.slab__art { pointer-events: none; }
.slab__art * { fill: none; stroke: rgba(215, 204, 240, .55); stroke-width: 1.2; vector-effect: non-scaling-stroke; transition: stroke .3s; }
.slab__art circle { fill: rgba(215, 204, 240, .75); stroke: none; }
.slab__art .is-dashed { stroke-dasharray: 4 4; stroke: rgba(168, 85, 247, .9); }

.stack.has-active .stack__layer:not(.is-active) .slab { opacity: .5; }
.stack__layer.is-active .slab { filter: drop-shadow(0 0 22px rgba(168, 85, 247, .5)); }
.stack__layer.is-active .slab__top { fill: #2C1755; stroke: var(--violeta); }
.stack__layer.is-active .slab__art * { stroke: var(--branco); }

.stack__label {
  position: absolute;
  left: calc(var(--w) * .967 + 1.25rem);
  top: calc(var(--h) * .421);
  transform: translateY(-50%);
  pointer-events: auto;
  min-height: 40px;
  padding: .4rem .95rem;
  border: 1px solid var(--linha-forte);
  border-radius: 999px;
  background: rgba(23, 13, 43, .92);
  color: var(--branco);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color .2s, border-color .2s;
}
.stack__label::before {
  content: '';
  position: absolute;
  right: 100%; top: 50%;
  width: 1.25rem; height: 1px;
  background: var(--linha-forte);
}
.stack__label:hover { border-color: var(--violeta); background: rgba(124, 58, 237, .3); }
.stack__label:active { background: rgba(124, 58, 237, .45); }
.stack__layer.is-active .stack__label { border-color: var(--violeta); background: var(--roxo-eletrico); }
.stack__layer.is-active .stack__label::before { background: var(--violeta); box-shadow: 0 0 8px var(--violeta); }

.stack__details { display: grid; max-width: 30rem; margin: 1.75rem auto 0; }
.stack__desc {
  grid-area: 1 / 1;
  padding: 1rem 1.25rem;
  border: 1px solid var(--linha-forte);
  border-radius: var(--radius);
  background: var(--superficie);
  color: var(--texto-2);
  font-size: 1.0625rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out), visibility 0s linear .3s;
}
.stack__desc.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.stack__desc strong { color: var(--branco); font-weight: 600; }
html:not(.js) .stack__desc { grid-area: auto; opacity: 1; visibility: visible; transform: none; margin-top: .5rem; }

.stack__hint { margin-top: .875rem; color: var(--texto-3); font-size: 1rem; text-align: center; }

@media (min-width: 768px) {
  .points { grid-template-columns: 1fr 1fr; gap: 2rem 2.5rem; }
}
@media (min-width: 1024px) {
  .architecture__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 4rem; }
  .points { grid-template-columns: 1fr; gap: 1.5rem; }
  .stack { --w: clamp(250px, 24vw, 330px); }
}

/* ---------- 09. Processo ---------- */
.process__layout { display: grid; gap: .5rem; }

.timeline { position: relative; --node: 52px; }
.timeline__track {
  position: absolute;
  left: calc(var(--node) / 2 - 1px);
  top: calc(var(--node) / 2);
  bottom: 4rem;
  width: 2px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(168, 85, 247, .2);
}
.timeline__fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--violeta), var(--roxo-eletrico));
  transform: scaleY(0);
  transform-origin: top;
}
html:not(.js) .timeline__fill { transform: none; }

.timeline__list { display: grid; gap: clamp(2rem, 1.5rem + 2vw, 3.25rem); }
.timeline__step {
  position: relative;
  display: grid;
  grid-template-columns: var(--node) minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}
.timeline__num {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--node); height: var(--node);
  border: 1px solid var(--linha-forte);
  border-radius: 50%;
  background: var(--roxo-escuro);
  color: var(--texto-3);
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 500;
  transition: color .4s, background-color .4s, border-color .4s;
}
.timeline__num::after {
  content: '';
  position: absolute;
  inset: -14px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168, 85, 247, .65), transparent);
  opacity: 0;
  transform: scale(.6);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.timeline__body { padding-top: .55rem; }
.timeline__body h3 { font-size: var(--fs-h3); }
.timeline__body p { margin-top: .5rem; color: var(--texto-2); }

.js .timeline__body { opacity: .65; transition: opacity .45s var(--ease-out); }
.timeline__step.is-done .timeline__num { color: var(--branco); border-color: var(--violeta); background: #2A1650; }
.timeline__step.is-active .timeline__num { color: var(--branco); border-color: var(--violeta); background: var(--roxo-eletrico); }
.timeline__step.is-active .timeline__num::after { opacity: 1; transform: scale(1); }
.js .timeline__step.is-done .timeline__body,
.js .timeline__step.is-active .timeline__body { opacity: 1; }

@media (min-width: 1024px) {
  .process__layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; align-items: start; }
  .process__head { position: sticky; top: calc(var(--header-h) + 3rem); }
  .timeline { --node: 60px; }
  .timeline__num { font-size: 1.0625rem; }
  .timeline__body { padding-top: .8rem; }
}

/* ---------- 10. Diferenciais ---------- */
.why__grid { display: grid; gap: 1rem; }

.why-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  border: 1px solid var(--linha);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #150C28, #0C0716 75%);
  transition: border-color .3s, translate .35s var(--ease-out);
}
.why-card:hover { border-color: var(--linha-forte); translate: 0 -3px; }
.why-card > *:not(.why-card__glow):not(.why-card__deco) { position: relative; z-index: 1; }
.why-card__icon { width: 56px; height: 56px; overflow: visible; margin-bottom: auto; }
.why-card h3 { margin-top: 2.5rem; font-size: var(--fs-h3); }
.why-card p { margin-top: .75rem; max-width: 30rem; color: var(--texto-2); }
.why-card__deco {
  position: absolute;
  right: -70px; bottom: -60px;
  z-index: -1;
  width: 380px; height: 272px;
  color: var(--violeta);
  opacity: .14;
  pointer-events: none;
}
.why-card__deco--flip { transform: scaleY(-1); bottom: auto; top: -60px; }

.ic-line { fill: none; stroke: var(--branco); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic-soft { fill: none; stroke: rgba(168, 85, 247, .85); stroke-width: 1.4; stroke-linecap: round; }
.ic-node { fill: var(--branco); }
.ic-main { filter: drop-shadow(0 0 3px var(--violeta)) drop-shadow(0 0 8px var(--violeta)); }

@media (min-width: 768px) {
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .why-card { min-height: 300px; }
}
@media (min-width: 1024px) {
  .why__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; }
  .why-card { grid-column: span 2; }
  .why-card--wide { grid-column: span 4; }
  .why-card--wide p { max-width: 26rem; }
}

/* ---------- 11. Contato e formulário ---------- */
.contact__layout { display: grid; gap: 3rem; }

.contact__steps { display: grid; gap: 1rem; margin-top: 2.25rem; }
.contact__steps li { display: flex; gap: 1rem; align-items: baseline; color: var(--texto-2); }
.contact__step-num { flex: none; font-family: var(--font-mono); font-size: 1rem; font-weight: 500; color: var(--violeta); }

.contact__alt {
  display: grid;
  justify-items: start;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--linha);
}
.contact__alt p { color: var(--texto-2); }

.contact__form-wrap {
  position: relative;
  padding: clamp(1.25rem, .9rem + 2vw, 2.5rem);
  border: 1px solid var(--linha-forte);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(8, 8, 13, .7), rgba(8, 8, 13, .88));
  box-shadow: 0 40px 90px -50px rgba(124, 58, 237, .8);
}
.contact__form-wrap::before {
  content: '';
  position: absolute;
  inset: -1px 15% auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violeta), transparent);
}

.form { display: grid; gap: 1.5rem; }
.form__title { font-size: 1.375rem; letter-spacing: -.02em; }
.form__note { margin-top: -1rem; color: var(--texto-3); font-size: 1rem; }

.field { display: grid; gap: .5rem; min-width: 0; margin: 0; padding: 0; border: 0; }
.field__label { padding: 0; color: var(--branco); font-size: 1rem; font-weight: 600; }
.field__req { color: var(--violeta); }
.field__optional { color: var(--texto-3); font-weight: 400; }
.field__hint { color: var(--texto-3); font-size: 1rem; }
.field__hint--row { display: flex; justify-content: space-between; gap: 1rem; }
.field__count { flex: none; font-variant-numeric: tabular-nums; }

.field__input {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  border: 1px solid var(--borda-campo);
  border-radius: 12px;
  background: rgba(23, 13, 43, .7);
  color: var(--branco);
  font-size: 1.0625rem;
  line-height: 1.4;
  transition: border-color .2s, background-color .2s;
}
.field__input::placeholder { color: #A898CF; opacity: 1; }
.field__input:hover { border-color: rgba(185, 168, 224, .7); }
.field__input:focus { outline: 2px solid var(--violeta); outline-offset: 2px; border-color: var(--violeta); background: rgba(23, 13, 43, .95); }
.field__input:disabled { opacity: .55; cursor: not-allowed; }
.field__input--area { min-height: 144px; resize: vertical; }
.field.is-valid .field__input { border-color: rgba(168, 85, 247, .75); }
.field.is-invalid .field__input, .field__input[aria-invalid='true'] { border-color: var(--erro); }

.field__error {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  color: var(--erro);
  font-size: 1rem;
  line-height: 1.45;
}
.field__error:empty { display: none; }
.field__error::before {
  content: '!';
  flex: none;
  display: grid;
  place-items: center;
  width: 1.15rem; height: 1.15rem;
  margin-top: .12rem;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
}

.field--chips legend { margin-bottom: .25rem; }
.chips { display: flex; flex-wrap: wrap; gap: .625rem; margin-top: .25rem; }
.chip { position: relative; display: inline-flex; }
.chip input {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 46px;
  padding: .55rem 1.05rem;
  border: 1px solid var(--borda-campo);
  border-radius: 999px;
  background: rgba(23, 13, 43, .6);
  color: var(--texto-2);
  font-size: 1rem;
  font-weight: 600;
  pointer-events: none;
  user-select: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.chip svg { display: none; width: 16px; height: 16px; flex: none; }
.chip:hover span { border-color: var(--violeta); color: var(--branco); }
.chip input:active + span { background: rgba(124, 58, 237, .3); }
.chip input:checked + span {
  border-color: var(--violeta);
  background: var(--roxo-eletrico);
  color: var(--branco);
}
.chip input:checked + span svg { display: block; animation: pop .3s var(--ease-out); }
.chip input:focus-visible + span { outline: 2px solid var(--violeta); outline-offset: 3px; }
.chip input:disabled + span { opacity: .5; }
.field--chips.is-invalid .chip span { border-color: var(--erro); }
@keyframes pop { from { transform: scale(.4); } to { transform: none; } }

.check { position: relative; display: flex; align-items: flex-start; gap: .875rem; cursor: pointer; }
.check input {
  position: absolute;
  top: .15rem; left: 0;
  width: 26px; height: 26px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.check__box {
  flex: none;
  display: grid;
  place-items: center;
  width: 26px; height: 26px;
  margin-top: .15rem;
  border: 1.5px solid rgba(185, 168, 224, .7);
  border-radius: 8px;
  background: rgba(23, 13, 43, .7);
  pointer-events: none;
  transition: background-color .2s, border-color .2s;
}
.check__box svg { width: 16px; height: 16px; color: var(--branco); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s var(--ease-out); }
.check:hover .check__box { border-color: var(--violeta); }
.check input:checked + .check__box { border-color: var(--violeta); background: var(--roxo-eletrico); }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 2px solid var(--violeta); outline-offset: 3px; }
.field--consent.is-invalid .check__box { border-color: var(--erro); }
.check__text { color: var(--texto-2); font-size: 1rem; line-height: 1.55; }
.check__text a { color: var(--branco); text-decoration-color: var(--violeta); text-underline-offset: 3px; }
.check__text a:hover { color: var(--violeta); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { margin-top: .25rem; }
.btn__spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(248, 250, 252, .35);
  border-top-color: var(--branco);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
.is-loading .btn__spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form__status {
  display: grid;
  gap: .875rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--linha-forte);
  border-radius: var(--radius);
  background: rgba(124, 58, 237, .12);
  color: var(--texto-2);
  font-size: 1rem;
}
.form__live:empty { margin-top: -1.5rem; }
.form__status strong { display: block; margin-bottom: .2rem; color: var(--branco); font-size: 1.0625rem; font-weight: 600; }
.form__status--success { border-color: rgba(134, 239, 172, .55); background: rgba(134, 239, 172, .08); }
.form__status--success strong { color: var(--sucesso); }
.form__status--error { border-color: rgba(253, 164, 175, .55); background: rgba(253, 164, 175, .08); }
.form__status--error strong { color: var(--erro); }
.form__status-actions { display: flex; flex-wrap: wrap; gap: .625rem; }

@media (min-width: 1024px) {
  .contact__layout { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 5vw, 5rem); align-items: start; }
  .contact__intro { position: sticky; top: calc(var(--header-h) + 3rem); }
}

/* ---------- 12. Rodapé ---------- */
.site-footer {
  position: relative;
  padding-top: clamp(3.5rem, 6vw, 5rem);
  border-top: 1px solid var(--linha);
  background: var(--preto);
}
.site-footer__top { display: grid; gap: 2.5rem; }
.brand--footer { margin-right: 0; }
.brand--footer .brand__symbol { width: 44px; height: 43px; }
.brand--footer .brand__word { font-size: 1.1875rem; }
.site-footer__slogan { margin-top: 1rem; color: var(--texto-2); }

.site-footer__nav ul { display: grid; gap: .1rem; }
.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--texto-2);
  text-decoration: none;
  transition: color .2s;
}
.site-footer__nav a:hover { color: var(--branco); text-decoration: underline; text-decoration-color: var(--violeta); text-underline-offset: 5px; }

.site-footer__ig {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  justify-self: start;
  align-self: start;
  min-height: 48px;
  padding: .6rem 1.15rem;
  border: 1px solid var(--linha-forte);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.site-footer__ig svg { width: 22px; height: 22px; }
.site-footer__ig:hover { border-color: var(--violeta); background: rgba(124, 58, 237, .16); }
.site-footer__ig:active { background: rgba(124, 58, 237, .28); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  margin-top: 3rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid rgba(168, 85, 247, .14);
  color: var(--texto-3);
  font-size: 1rem;
}
.site-footer__top-link { color: var(--texto-3); text-underline-offset: 4px; }
.site-footer__top-link:hover { color: var(--branco); }

@media (min-width: 768px) {
  .site-footer__top { grid-template-columns: 1.4fr 1fr auto; align-items: start; }
}

/* ---------- 13. Revelação na rolagem e cursor ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition: opacity .9s var(--ease-out), transform .9s var(--ease-out), border-color .3s, translate .35s var(--ease-out);
    transition-delay: var(--reveal-delay, 0s), var(--reveal-delay, 0s), 0s, 0s;
  }
  .js [data-reveal].is-visible { opacity: 1; transform: none; }
}

.cursor-glow {
  position: fixed;
  top: 0; left: 0;
  z-index: 200;
  width: 72px; height: 72px;
  margin: -36px 0 0 -36px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(168, 85, 247, .38), rgba(168, 85, 247, 0));
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s var(--ease-out);
}
.cursor-glow.is-on { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* ---------- 14. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  /* estados estáticos e legíveis para os mini visuais */
  .viz *, .viz *::after { animation: none !important; }
  .api-hub__ring, .plan-scan, .phone__ripple, .phone__toast, .viz__label--in::after, .viz__label--out::after { opacity: 0; }
  .nn-halos circle { opacity: .35; }
  .stage { transform: none !important; }
  .cursor-glow, .glow-follow, .stage__glow, .why-card__glow { display: none; }
}
