/* ═══════════════════════════════════════════════════════════
   NORDIUN® — style.css
   Conceito: mission control espacial — starfield, planeta,
   Cruzeiro do Sul, HUD de telemetria e aurora como nebulosa.
   ═══════════════════════════════════════════════════════════ */

:root {
  --bg: #030509;
  --bg-2: #080d16;
  --bg-3: #0c121e;
  --ink: #eef2f7;
  --muted: #97a3b6;
  --line: rgba(255, 255, 255, 0.08);
  --aurora-1: #38f2a4;
  --aurora-2: #3fd0ff;
  --aurora-3: #7c6cff;
  --grad: linear-gradient(100deg, var(--aurora-1), var(--aurora-2) 55%, var(--aurora-3));
  --font-display: "Clash Display", "Segoe UI", system-ui, sans-serif;
  --font-body: "Satoshi", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Cascadia Code", "JetBrains Mono", Consolas, "Courier New", monospace;
  --container: min(92vw, 1440px);
  --nav-h: 84px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html.lenis { scroll-behavior: auto; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--aurora-1); color: var(--bg); }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
em { font-style: normal; }

.container { width: var(--container); margin-inline: auto; }
.section { padding-block: clamp(6rem, 12vw, 11rem); position: relative; }

.grad {
  background: var(--grad);
  background-size: 180% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__title .grad,
.section__title .grad,
.cta__title .grad {
  animation: grad-pan 7s ease-in-out infinite alternate;
}
@keyframes grad-pan {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

/* ── Céu: canvas de estrelas (fundo de tudo) ───────────── */
.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── Noise overlay ─────────────────────────────────────── */
.noise {
  position: fixed;
  inset: -50%;
  z-index: 200;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noise-shift 0.6s steps(3) infinite;
}
@keyframes noise-shift {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-2%, 1%); }
  66% { transform: translate(1%, -2%); }
  100% { transform: translate(0, 0); }
}

/* ── Cursor custom (mira HUD) ──────────────────────────── */
.cursor { display: none; }
@media (pointer: fine) {
  html.js .cursor { display: block; }
  html.js.cursor-active body { cursor: none; }
  html.js.cursor-active a, html.js.cursor-active button { cursor: none; }
}
.cursor__dot,
.cursor__ring {
  position: fixed;
  top: 0; left: 0;
  z-index: 300;
  pointer-events: none;
  translate: -50% -50%;
}
.cursor__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--aurora-1);
}
.cursor__ring {
  width: 40px; height: 40px;
  border: 1px solid rgba(56, 242, 164, 0.5);
  border-radius: 10px;
  rotate: 45deg;
  transition: width 0.35s var(--ease-out), height 0.35s var(--ease-out),
              background-color 0.35s, border-color 0.35s,
              rotate 0.5s var(--ease-out), border-radius 0.35s;
  display: grid;
  place-items: center;
}
.cursor__ring::after {
  content: "ver";
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bg);
  opacity: 0;
  transition: opacity 0.2s;
}
.cursor--hover .cursor__ring {
  width: 58px; height: 58px;
  rotate: 135deg;
  background: rgba(56, 242, 164, 0.1);
  border-color: var(--aurora-1);
}
.cursor--view .cursor__ring {
  width: 82px; height: 82px;
  rotate: 0deg;
  border-radius: 50%;
  background: var(--aurora-1);
  border-color: var(--aurora-1);
}
.cursor--view .cursor__ring::after { opacity: 1; }
.cursor--view .cursor__dot { opacity: 0; }

/* ── Scroll progress ───────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 150;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
}

/* ── Preloader: terminal de boot ───────────────────────── */
.preloader { display: none; }
html.js .preloader {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--bg);
  align-items: center;
  justify-content: center;
  transition: transform 1s var(--ease-expo);
}
html.js .preloader.is-done { transform: translateY(-101%); }
.preloader__inner {
  width: min(86vw, 560px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.preloader__glyph {
  width: 30px;
  color: var(--aurora-1);
  animation: spin-star 3s linear infinite;
}
@keyframes spin-star { to { transform: rotate(360deg); } }
.preloader__terminal {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  width: 100%;
  min-height: 9.5em;
}
.bline {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  white-space: nowrap;
  overflow: hidden;
}
.bline b {
  color: var(--aurora-1);
  font-weight: 600;
  letter-spacing: 0.1em;
}
.preloader__bar {
  width: 100%;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.preloader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad);
}
.preloader__counter {
  align-self: center;
  margin-top: 1.25rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.8rem, 9vw, 5rem);
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* ── Nav ───────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: transform 0.5s var(--ease-out), background-color 0.4s;
}
.nav.is-hidden { transform: translateY(-100%); }
.nav.is-solid {
  background: rgba(3, 5, 9, 0.7);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  width: var(--container);
  margin-inline: auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}
.nav__logo svg { width: 22px; color: var(--aurora-1); }
.nav__logo sup { font-size: 0.55em; color: var(--muted); }
.nav__links {
  display: flex;
  gap: 2.25rem;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav__links a {
  position: relative;
  padding-block: 0.25rem;
  color: var(--muted);
  transition: color 0.3s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.nav__burger {
  display: none;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 16px; height: 1.5px;
  background: var(--ink);
  transition: transform 0.35s var(--ease-out);
}
html.menu-open .nav__burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
html.menu-open .nav__burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ── Menu mobile ───────────────────────────────────────── */
.menu {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg-2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 6vw, 4rem);
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.7s var(--ease-expo);
  visibility: hidden;
}
html.menu-open .menu { clip-path: inset(0 0 0% 0); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 0.25rem; }
.menu__links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 9vw, 4rem);
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), color 0.3s;
}
html.menu-open .menu__links a { opacity: 1; transform: none; }
.menu__links a:hover { color: var(--aurora-1); }
.menu__links a em {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
}
.menu__links a:nth-child(1) { transition-delay: 0.15s; }
.menu__links a:nth-child(2) { transition-delay: 0.2s; }
.menu__links a:nth-child(3) { transition-delay: 0.25s; }
.menu__links a:nth-child(4) { transition-delay: 0.3s; }
.menu__links a:nth-child(5) { transition-delay: 0.35s; }
.menu__links a:nth-child(6) { transition-delay: 0.4s; }
.menu__footer {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.menu__footer a:hover { color: var(--aurora-1); }

/* ── Botões ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: color 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}
.btn--primary {
  background: var(--ink);
  color: var(--bg);
}
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grad);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease-expo);
  border-radius: inherit;
}
.btn--primary:hover::before { transform: translateY(0); }
.btn--primary:hover { box-shadow: 0 0 32px rgba(56, 242, 164, 0.35); }
.btn--ghost {
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn--ghost:hover {
  border-color: var(--aurora-1);
  color: var(--aurora-1);
  box-shadow: 0 0 24px rgba(56, 242, 164, 0.15);
}
.btn--small { padding: 0.65rem 1.35rem; font-size: 0.875rem; }
.btn--big { padding: 1.2rem 2.4rem; font-size: 1.05rem; }
.btn__arrow { transition: transform 0.35s var(--ease-out); }
.btn:hover .btn__arrow { transform: translate(3px, -3px); }

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: clip;
  padding-bottom: clamp(2rem, 5vh, 4rem);
}
.hero__aurora {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: blur(80px) saturate(1.15);
  transform: translateZ(0);
}
.aurora__blob {
  position: absolute;
  border-radius: 50%;
  mix-blend-mode: screen;
}
.aurora__blob--1 {
  width: 55vw; height: 55vw;
  top: -20%; left: -10%;
  opacity: 0.32;
  background: radial-gradient(circle at 30% 30%, var(--aurora-1), transparent 65%);
  animation: drift-1 16s ease-in-out infinite alternate;
}
.aurora__blob--2 {
  width: 50vw; height: 50vw;
  top: -10%; right: -12%;
  opacity: 0.28;
  background: radial-gradient(circle at 60% 40%, var(--aurora-2), transparent 65%);
  animation: drift-2 20s ease-in-out infinite alternate;
}
.aurora__blob--3 {
  width: 45vw; height: 45vw;
  bottom: -25%; left: 25%;
  opacity: 0.22;
  background: radial-gradient(circle at 50% 50%, var(--aurora-3), transparent 65%);
  animation: drift-3 24s ease-in-out infinite alternate;
}
@keyframes drift-1 { to { transform: translate(12vw, 10vh) scale(1.15); } }
@keyframes drift-2 { to { transform: translate(-10vw, 14vh) scale(0.9); } }
@keyframes drift-3 { to { transform: translate(-8vw, -10vh) scale(1.2); } }

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 30%, transparent 75%);
}

/* Horizonte do planeta */
.hero__planet {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: calc(100% - 11vh);
  width: min(190vw, 2200px);
  aspect-ratio: 1 / 1;
  translate: -50% 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 4%, rgba(63, 208, 255, 0.14), transparent 16%),
    radial-gradient(circle at 50% 0%, #0c1624 0%, #060b13 34%, #030509 60%);
  box-shadow:
    0 -1px 16px rgba(63, 208, 255, 0.55),
    0 -10px 70px rgba(56, 242, 164, 0.26),
    inset 0 4px 60px rgba(63, 208, 255, 0.2);
}
/* brilho pulsante em camada própria: anima só opacity (GPU) */
.hero__planet::before,
.cta__planet::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow:
    0 -4px 40px rgba(63, 208, 255, 0.4),
    0 -20px 130px rgba(56, 242, 164, 0.25),
    0 -50px 240px rgba(124, 108, 255, 0.15);
  animation: planet-glow 6s ease-in-out infinite alternate;
}
@keyframes planet-glow {
  from { opacity: 0.45; }
  to { opacity: 1; }
}

/* HUD de telemetria */
.hud {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hud__item { position: absolute; top: calc(var(--nav-h) + 20px); }
.hud__item--tl { left: 4vw; }
.hud__item--tr { right: 4vw; }
.hud__item::before { content: "["; margin-right: 0.6em; color: var(--aurora-1); }
.hud__item::after { content: "]"; margin-left: 0.6em; color: var(--aurora-1); }

.hero__inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 3.5rem);
}
.hero__status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: rgba(8, 13, 22, 0.55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--aurora-1);
  box-shadow: 0 0 0 0 rgba(56, 242, 164, 0.6);
  animation: pulse 2.2s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(56, 242, 164, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(56, 242, 164, 0); }
  100% { box-shadow: 0 0 0 0 rgba(56, 242, 164, 0); }
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.1rem, 11vw, 10.5rem);
  line-height: 0.97;
  letter-spacing: -0.02em;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  text-shadow: 0 0 80px rgba(63, 208, 255, 0.12);
}
.line { display: block; overflow: hidden; padding-block: 0.06em; }
.line__inner { display: inline-block; will-change: transform; }
.hero__title .ch { display: inline-block; transform-origin: 0% 100%; }

.hero__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.hero__sub {
  max-width: 34ch;
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: var(--muted);
  text-wrap: balance;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero__meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.hero__meta-line { flex: 1; height: 1px; background: var(--line); }

.hero__scrollcue {
  position: absolute;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: clamp(2rem, 5vh, 4rem);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
}
.scrollcue__track {
  width: 1px; height: 64px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.scrollcue__thumb {
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 40%;
  background: var(--grad);
  animation: cue 1.8s var(--ease-out) infinite;
}
@keyframes cue {
  0% { transform: translateY(-110%); }
  60%, 100% { transform: translateY(260%); }
}

/* ── Clientes / marquee (loop infinito com 2 tracks) ───── */
.clients {
  padding-block: clamp(3rem, 6vw, 5rem);
  border-block: 1px solid var(--line);
  overflow: clip;
  background: rgba(3, 5, 9, 0.4);
  position: relative;
}
.clients__label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2.25rem;
}
.marquee { display: flex; overflow: hidden; user-select: none; }
.marquee__track {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding-right: 3.5rem;
  flex-shrink: 0;
  min-width: 100%;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }
.marquee__track span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: var(--muted);
  transition: color 0.3s;
  white-space: nowrap;
}
.marquee__track span:hover { color: var(--ink); }
.marquee__track i {
  font-style: normal;
  color: var(--aurora-1);
  font-size: 1.2rem;
}

/* ── Section head ──────────────────────────────────────── */
.section__head { margin-bottom: clamp(3rem, 6vw, 5rem); }
.section__index {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--aurora-1);
  letter-spacing: 0.1em;
  margin-right: 1rem;
}
.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.2rem, 5.5vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-top: 1.5rem;
}

/* ── Manifesto ─────────────────────────────────────────── */
.manifesto__text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.8vw, 3.2rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 24em;
}
.manifesto__text .w { display: inline-block; }
.manifesto__foot {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-left: clamp(0rem, 20vw, 22rem);
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 60ch;
}

/* ── Stats ─────────────────────────────────────────────── */
.stats { padding-block: 0 clamp(6rem, 12vw, 11rem); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.stat {
  padding: clamp(2rem, 3.5vw, 3rem) clamp(1.25rem, 2.5vw, 2.5rem);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.stat:first-child { padding-left: 0; }
.stat:last-child { border-right: 0; }
.stat__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 22px rgba(56, 242, 164, 0.25));
}
.stat__label {
  color: var(--muted);
  font-size: 0.92rem;
  max-width: 24ch;
}

/* ── Serviços ──────────────────────────────────────────── */
.services {
  background: rgba(8, 13, 22, 0.55);
  border-block: 1px solid var(--line);
}
.services__list { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service__row {
  display: grid;
  grid-template-columns: 4rem 1.2fr 1fr 3rem;
  align-items: center;
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(1.75rem, 3vw, 2.75rem);
  position: relative;
  isolation: isolate;
  transition: padding-left 0.45s var(--ease-out);
}
.service__row::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(56, 242, 164, 0.07), transparent 65%);
  opacity: 0;
  transition: opacity 0.45s;
}
.service__row:hover { padding-left: 1.25rem; }
.service__row:hover::before { opacity: 1; }
.service__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.service__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.6rem);
  line-height: 1.1;
  transition: color 0.35s, text-shadow 0.35s;
}
.service__row:hover .service__name {
  color: var(--aurora-1);
  text-shadow: 0 0 40px rgba(56, 242, 164, 0.4);
}
.service__desc {
  color: var(--muted);
  font-size: 0.98rem;
  max-width: 42ch;
}
.service__arrow {
  font-size: 1.5rem;
  justify-self: end;
  color: var(--muted);
  transition: transform 0.4s var(--ease-out), color 0.35s;
}
.service__row:hover .service__arrow {
  transform: translate(4px, -4px);
  color: var(--aurora-1);
}

/* ── Processo ──────────────────────────────────────────── */
.process { overflow: clip; padding-block: 0; }
.process__pin {
  padding-block: clamp(6rem, 12vw, 11rem) clamp(4rem, 8vw, 7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.process__track {
  display: flex;
  gap: clamp(1.25rem, 2vw, 2rem);
  padding-inline: max(4vw, (100vw - var(--container)) / 2);
  will-change: transform;
}
.step {
  flex: 0 0 clamp(300px, 34vw, 460px);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(1.75rem, 2.5vw, 2.75rem);
  min-height: clamp(320px, 44vh, 420px);
  display: flex;
  flex-direction: column;
  background: linear-gradient(160deg, rgba(12, 18, 30, 0.85), rgba(8, 13, 22, 0.8));
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.step:hover {
  border-color: rgba(56, 242, 164, 0.4);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 40px rgba(56, 242, 164, 0.08);
}
.step::after {
  content: "";
  position: absolute;
  inset: auto -30% -45% -30%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 100%, rgba(56, 242, 164, 0.12), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}
.step:hover::after { opacity: 1; }
.step__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3.5rem, 6vw, 5.5rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
}
.step__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  margin-top: auto;
  padding-top: 2.5rem;
}
.step__desc {
  color: var(--muted);
  font-size: 0.98rem;
  margin-top: 0.9rem;
}
.process__progress {
  width: var(--container);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.process__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
}

/* ── Corners HUD (colchetes sci-fi) ────────────────────── */
.corners {
  position: absolute;
  inset: 12px;
  pointer-events: none;
  z-index: 2;
}
.corners::before,
.corners::after {
  content: "";
  position: absolute;
  width: 16px; height: 16px;
  border: 0 solid rgba(56, 242, 164, 0.45);
  transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.4s;
}
.corners::before { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.corners::after { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.step:hover .corners::before,
.step:hover .corners::after,
.case:hover .corners::before,
.case:hover .corners::after {
  width: 32px; height: 32px;
  border-color: var(--aurora-1);
}

/* ── Cases ─────────────────────────────────────────────── */
.cases {
  background: rgba(8, 13, 22, 0.55);
  border-block: 1px solid var(--line);
}
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
  perspective: 1200px;
}
.case {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-3);
  transition: border-color 0.4s, box-shadow 0.4s;
  transform-style: preserve-3d;
}
.case:hover {
  border-color: rgba(56, 242, 164, 0.4);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5), 0 0 50px rgba(56, 242, 164, 0.07);
}
.case__visual {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.case__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease-out);
}
.case:hover .case__visual::before { transform: scale(1.07); }
.case__visual--1::before { background: radial-gradient(circle at 25% 25%, rgba(56, 242, 164, 0.35), transparent 60%), linear-gradient(150deg, #0a1a13, #050a11); }
.case__visual--2::before { background: radial-gradient(circle at 75% 30%, rgba(63, 208, 255, 0.35), transparent 60%), linear-gradient(150deg, #09131c, #050a11); }
.case__visual--3::before { background: radial-gradient(circle at 50% 75%, rgba(124, 108, 255, 0.35), transparent 60%), linear-gradient(150deg, #0f0d1e, #050a11); }
.case__big {
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4.5rem, 8vw, 7.5rem);
  color: rgba(255, 255, 255, 0.09);
  transition: color 0.5s;
}
.case:hover .case__big { color: rgba(255, 255, 255, 0.2); }
.case__body {
  padding: clamp(1.5rem, 2vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}
.case__tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--aurora-1);
}
.case__name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.6vw, 1.5rem);
  line-height: 1.25;
}
.case__metric {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}

/* ── CTA ───────────────────────────────────────────────── */
.cta {
  position: relative;
  overflow: clip;
  text-align: center;
  padding-block: clamp(8rem, 16vw, 14rem) clamp(10rem, 18vw, 16rem);
}
.cta__planet {
  position: absolute;
  left: 50%;
  top: calc(100% - 9rem);
  width: min(180vw, 2100px);
  aspect-ratio: 1 / 1;
  translate: -50% 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 4%, rgba(56, 242, 164, 0.16), transparent 16%),
    radial-gradient(circle at 50% 0%, #0b1a14 0%, #060b13 34%, #030509 60%);
  box-shadow:
    0 -1px 18px rgba(56, 242, 164, 0.6),
    0 -12px 80px rgba(56, 242, 164, 0.3),
    inset 0 4px 70px rgba(56, 242, 164, 0.22);
}
.cta .container { position: relative; z-index: 1; }
.cta__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
}
.cta__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 7.5vw, 6.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  text-shadow: 0 0 80px rgba(56, 242, 164, 0.15);
}
.cta__actions {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ── Footer ────────────────────────────────────────────── */
.footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(3rem, 5vw, 4.5rem) 2rem;
  background: rgba(3, 5, 9, 0.78);
  position: relative;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
}
.footer__logo svg { width: 24px; color: var(--aurora-1); }
.footer__logo sup { font-size: 0.55em; color: var(--muted); }
.footer__nav, .footer__social {
  display: flex;
  gap: 1.75rem;
  font-size: 0.92rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.footer__nav a:hover, .footer__social a:hover { color: var(--aurora-1); }
.footer__bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.footer__tag { color: var(--ink); }

/* ── Case SVG mockups ──────────────────────────────────── */
.case__svg { width: 100%; height: 100%; }
.case-svg__mono {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
}
.case-svg__big {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
}
.case-map__pulse { transform-origin: 200px 140px; animation: case-pulse 2.6s ease-out infinite; }
@keyframes case-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(4.5); opacity: 0; }
}
.case-map__pts circle { animation: case-blink 3s ease-in-out infinite; }
.case-map__pts circle:nth-child(2n) { animation-delay: 0.6s; }
.case-map__pts circle:nth-child(3n) { animation-delay: 1.2s; }
@keyframes case-blink { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }
.case-net__core { animation: case-core 3s ease-in-out infinite; transform-origin: 200px 150px; }
@keyframes case-core { 0%, 100% { r: 9px; } 50% { r: 11px; } }
.case-route { animation: case-dash 1.4s linear infinite; }
@keyframes case-dash { to { stroke-dashoffset: -18; } }

/* ── Depoimentos ───────────────────────────────────────── */
.testimonials { background: rgba(3, 5, 9, 0.4); }
.testi__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2vw, 2rem);
}
.testi {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: clamp(1.75rem, 2.5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(12, 18, 30, 0.75), rgba(8, 13, 22, 0.7));
  transition: border-color 0.4s, transform 0.4s var(--ease-out);
}
.testi:hover { border-color: rgba(56, 242, 164, 0.35); transform: translateY(-6px); }
.testi::before {
  content: "\201C";
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.7;
  color: var(--aurora-1);
  opacity: 0.5;
}
.testi__quote {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink);
  flex: 1;
}
.testi__author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.testi__avatar {
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--grad);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.testi__meta { display: flex; flex-direction: column; }
.testi__meta strong { font-weight: 600; font-size: 0.98rem; }
.testi__meta span { font-size: 0.85rem; color: var(--muted); }

/* ── Confiança / selos ─────────────────────────────────── */
.trust { background: rgba(8, 13, 22, 0.55); border-block: 1px solid var(--line); }
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 1.6vw, 1.5rem);
}
.trust__card {
  position: relative;
  padding: clamp(1.75rem, 2.4vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-3);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: border-color 0.4s, transform 0.4s var(--ease-out), box-shadow 0.4s;
}
.trust__card:hover {
  border-color: rgba(56, 242, 164, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4);
}
.trust__value {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(56, 242, 164, 0.2));
}
.trust__name { font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; margin-top: 0.3rem; }
.trust__desc { color: var(--muted); font-size: 0.9rem; }
.partners {
  margin-top: clamp(2.5rem, 4vw, 3.5rem);
  padding-top: clamp(2rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line);
}
.partners__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.partners__logos {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.partners__logos span {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  color: var(--muted);
  opacity: 0.65;
  transition: opacity 0.3s, color 0.3s;
}
.partners__logos span:hover { opacity: 1; color: var(--ink); }

/* ── FAQ ───────────────────────────────────────────────── */
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: clamp(1.4rem, 2.4vw, 2rem);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  line-height: 1.25;
  transition: color 0.3s;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__item:hover .faq__q { color: var(--aurora-1); }
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 22px; height: 22px;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), opacity 0.3s;
}
.faq__icon::before { width: 14px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 14px; }
.faq__item[open] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a {
  display: grid;
  grid-template-rows: 1fr;
  color: var(--muted);
  max-width: 68ch;
  padding-bottom: clamp(1.4rem, 2.4vw, 2rem);
  font-size: 1.02rem;
}
.faq__item:not([open]) .faq__a { display: none; }

/* ── Contato: formulário ───────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  text-align: left;
  margin-top: clamp(1rem, 3vw, 2rem);
}
.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(6, 11, 19, 0.7);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(3, 5, 9, 0.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: vertical;
}
.field select { cursor: pointer; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(151, 163, 182, 0.5); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--aurora-1);
  box-shadow: 0 0 0 3px rgba(56, 242, 164, 0.12);
}
.field input:user-invalid { border-color: #ff6b6b; }
.contact__submit {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.contact__hint { font-size: 0.88rem; color: var(--muted); }
.contact__hint.is-ok { color: var(--aurora-1); }
.contact__hint.is-err { color: #ff8080; }
.contact__aside {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.contact__line {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.15rem 1.35rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(8, 13, 22, 0.5);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}
a.contact__line:hover { border-color: var(--aurora-1); transform: translateX(4px); }
.contact__line-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact__line-value { font-size: 1.02rem; color: var(--ink); }

/* ── Reveal defaults (JS aplica estados iniciais) ──────── */
[data-reveal] { will-change: transform, opacity; }

/* ── Responsivo ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .service__row { grid-template-columns: 3rem 1fr 2.5rem; }
  .service__desc { grid-column: 2; grid-row: 2; margin-top: 0.5rem; }
  .service__arrow { grid-row: 1; grid-column: 3; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3) { padding-left: 0; border-top: 1px solid var(--line); }
  .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .cases__grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .testi__grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__right .btn { display: none; }
  .hero__scrollcue { display: none; }
  .hud { display: none; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .process__track {
    flex-direction: column;
    padding-inline: max(4vw, (100vw - var(--container)) / 2);
  }
  .step { flex-basis: auto; min-height: 0; }
  .step__name { padding-top: 1.75rem; }
  .process__progress { display: none; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__bottom { flex-direction: column; }
  .manifesto__foot { padding-left: 0; }
  .trust__grid { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; }
}

/* ── Acessibilidade: reduz movimento ───────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .noise { animation: none; }
}

/* ── Cases: renders 3D como fundo dos cards ─────────────── */
.case__visual--1::before {
  background:
    linear-gradient(180deg, rgba(3,5,9,0) 40%, rgba(3,5,9,0.55) 100%),
    radial-gradient(circle at 25% 25%, rgba(56, 242, 164, 0.22), transparent 60%),
    url("../img/case1.jpg") center/cover no-repeat,
    #050a11;
}
.case__visual--2::before {
  background:
    linear-gradient(180deg, rgba(3,5,9,0) 40%, rgba(3,5,9,0.55) 100%),
    radial-gradient(circle at 75% 30%, rgba(63, 208, 255, 0.22), transparent 60%),
    url("../img/case2.jpg") center/cover no-repeat,
    #050a11;
}
.case__visual--3::before {
  background:
    linear-gradient(180deg, rgba(3,5,9,0) 40%, rgba(3,5,9,0.55) 100%),
    radial-gradient(circle at 50% 75%, rgba(124, 108, 255, 0.22), transparent 60%),
    url("../img/case3.jpg") center/cover no-repeat,
    #050a11;
}
.case__svg { opacity: 0.28; mix-blend-mode: screen; }
.case:hover .case__svg { opacity: 0.45; }
