/* Nyware — tema escuro único.
   Layout: cena WebGL fixa atrás de tudo; conteúdo em coluna central de até 1200px. */
@property --gx {
  syntax: "<percentage>";
  inherits: true;
  initial-value: 50%;
}

:root {
  color-scheme: dark;

  --bg: #050505;
  --surface-1: #0a0a0c;
  --surface-2: #12121a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #ffffff;
  --text-copy: #b4b4b4;
  --text-card: rgba(161, 161, 170, 0.92);
  --text-muted: #85858f;

  --accent: #2f6bff;
  --accent-dark: #1d4ed8;
  --accent-light: #5b9dff;
  --accent-glow: #a5c8ff;
  --cyan: #38d1ff;
  --violet: #8b7bff;
  --accent-rgb: 47 107 255;
  --light-rgb: 91 157 255;
  --cyan-rgb: 56 209 255;
  --violet-rgb: 139 123 255;
  --whatsapp: #25d366;

  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --nav-h: 60px;
  --nav-top: 12px;
}

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

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent-light);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.container {
  width: 100%;
  max-width: 1248px;
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

/* ---------- Cena de fundo ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* aparece só se o WebGL não estiver disponível */
  background:
    radial-gradient(60% 50% at 50% 42%, rgb(var(--accent-rgb) / 0.22), transparent 70%),
    radial-gradient(120% 80% at 50% 110%, rgb(var(--accent-rgb) / 0.1), transparent 60%),
    var(--bg);
}

.page {
  position: relative;
  z-index: 1;
}

/* ---------- Navegação em cápsula flutuante ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: calc(var(--nav-top) + env(safe-area-inset-top, 0px));
  pointer-events: none;
}

.nav__bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--nav-h);
  padding: 0 10px 0 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(12, 13, 18, 0.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  pointer-events: auto;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.nav.is-stuck .nav__bar,
.nav.is-open .nav__bar {
  border-color: var(--line-strong);
  background: rgba(8, 9, 13, 0.8);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

/* A logo é só o nome NYWARE em letras geométricas */
.brand__logo {
  width: auto;
  height: 17px;
  transition: filter 0.4s ease, transform 0.5s var(--ease-out);
}

.brand:hover .brand__logo {
  transform: scale(1.04);
  filter: drop-shadow(0 0 12px rgb(var(--cyan-rgb) / 0.75));
}

.nav__links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2px;
}

.nav__indicator {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ind-x, 0px);
  width: var(--ind-w, 0px);
  border: 1px solid rgb(var(--light-rgb) / 0.38);
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.16);
  box-shadow: 0 0 18px rgb(var(--accent-rgb) / 0.25);
  opacity: 0;
  transition: left 0.5s var(--ease-out), width 0.5s var(--ease-out), opacity 0.3s ease;
}

.nav__indicator.is-ready {
  opacity: 1;
}

.nav__links a {
  position: relative;
  z-index: 1;
  padding: 9px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-copy);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__links a.is-active {
  color: var(--accent-glow);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent-light), var(--accent));
  box-shadow: 0 6px 22px rgb(var(--accent-rgb) / 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, filter 0.3s ease;
}

.btn-solid:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
  box-shadow: 0 10px 30px rgb(var(--cyan-rgb) / 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.nav__progress {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 0;
  height: 1px;
  transform-origin: 0 50%;
  transform: scaleX(var(--progress, 0));
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  box-shadow: 0 0 10px rgb(var(--cyan-rgb) / 0.7);
}

.nav__burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav__burger span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.35s var(--ease-out), top 0.35s var(--ease-out);
}

.nav__burger span:nth-child(1) {
  top: 17px;
}

.nav__burger span:nth-child(2) {
  top: 26px;
}

.nav.is-open .nav__burger span:nth-child(1) {
  top: 21.5px;
  transform: rotate(45deg);
}

.nav.is-open .nav__burger span:nth-child(2) {
  top: 21.5px;
  transform: rotate(-45deg);
}

.nav__sheet {
  margin-top: 8px;
  padding: 6px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 24px;
  background: rgba(8, 9, 13, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.nav__sheet a {
  display: block;
  padding: 14px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-copy);
  text-decoration: none;
}

.nav__sheet a:last-child {
  border-bottom: 0;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(620px, 94svh, 940px);
  padding-block: calc(var(--nav-h) + var(--nav-top) + 40px) 132px;
  overflow: clip;
  text-align: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, rgba(5, 5, 5, 0.55));
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  transform: perspective(1200px) rotateX(calc(var(--py, 0) * -2.5deg)) rotateY(calc(var(--px, 0) * 3.5deg))
    translate3d(calc(var(--px, 0) * -10px), calc(var(--py, 0) * -8px), 0);
  transition: transform 0.7s var(--ease-out);
}

/* Anéis de órbita em 3D (eco do anel da logo) */
.orbit {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 22%, #000 62%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 22%, #000 62%);
  animation: fade-in 2.4s ease 0.6s both;
}

.orbit__stage {
  position: relative;
  width: 0;
  height: 0;
  perspective: 1400px;
  translate: 0 -12px;
}

.orbit__plane {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size);
  height: var(--size);
  margin: calc(var(--size) / -2) 0 0 calc(var(--size) / -2);
  transform: rotateX(calc(var(--tilt) + var(--py, 0) * 9deg)) rotateY(calc(var(--px, 0) * 11deg)) rotateZ(var(--roll));
  transition: transform 0.9s var(--ease-out);
}

.orbit__plane--a {
  --size: 1100px;
  --tilt: 62deg;
  --roll: -11deg;
  --speed: 11s;
  --tone: var(--light-rgb);
}

.orbit__plane--b {
  --size: 1340px;
  --tilt: 66deg;
  --roll: 13deg;
  --speed: 17s;
  --tone: var(--violet-rgb);
}

.orbit__track,
.orbit__spin,
.orbit__trail {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.orbit__track {
  border: 1.5px solid rgb(var(--tone) / 0.17);
}

.orbit__spin {
  animation: spin var(--speed) linear infinite;
}

.orbit__plane--b .orbit__spin {
  animation-direction: reverse;
}

.orbit__trail {
  background: conic-gradient(from 0deg, transparent 0deg, transparent 190deg, rgb(var(--tone) / 0.3) 290deg, rgb(255 255 255 / 0.95) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 3.5px));
}

.orbit__plane--b .orbit__trail {
  transform: scaleX(-1);
}

.orbit__dot {
  position: absolute;
  top: -7px;
  left: 50%;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 16px 5px rgb(var(--tone) / 0.95), 0 0 54px 16px rgb(var(--tone) / 0.55);
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Selo acima do título */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  padding: 7px 14px 7px 11px;
  border: 1px solid rgb(var(--light-rgb) / 0.28);
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.1);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--accent-glow);
}

.badge__dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.badge__dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border: 1px solid rgb(var(--cyan-rgb) / 0.7);
  border-radius: 50%;
  animation: ping 2.2s var(--ease-out) infinite;
}

@keyframes ping {
  from {
    transform: scale(0.5);
    opacity: 1;
  }
  to {
    transform: scale(1.9);
    opacity: 0;
  }
}

.hero__title {
  margin: 0;
  font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.75rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero__title span {
  display: block;
}

/* Segunda linha em cromado, com um brilho que atravessa o texto */
.text-chrome {
  padding-bottom: 0.14em;
  background-image:
    linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, 0.95) 50%, transparent 58%),
    linear-gradient(180deg, #ffffff 0%, #dbe6ff 46%, #6578a8 100%);
  background-size: 220% 100%, 100% 100%;
  background-position: 180% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__copy {
  max-width: 36rem;
  margin: 14px auto 0;
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text-copy);
  text-wrap: pretty;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 24px;
  margin-top: 36px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(10px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}

@keyframes sweep {
  0%,
  55% {
    background-position: 180% 0, 0 0;
  }
  100% {
    background-position: -80% 0, 0 0;
  }
}

.rise {
  animation: rise 1.1s var(--ease-out) both;
  animation-delay: calc(var(--i, 0) * 110ms + 150ms);
}

.hero__title .text-chrome {
  animation: rise 1.1s var(--ease-out) both, sweep 6.5s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 110ms + 150ms), 2.2s;
}

/* Botão com brilho e borda de luz girando */
.btn-glow {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  flex-shrink: 0;
  overflow: hidden;
  padding: 1px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.05));
  box-shadow: 0 0 25px rgb(var(--light-rgb) / 0.32), 0 8px 40px rgb(var(--light-rgb) / 0.16);
  color: #fff;
  text-decoration: none;
  translate: var(--bx, 0px) var(--by, 0px);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, translate 0.45s var(--ease-out);
}

.btn-glow:hover {
  transform: scale(1.05);
  box-shadow: 0 0 34px rgb(var(--cyan-rgb) / 0.42), 0 10px 48px rgb(var(--light-rgb) / 0.24);
}

.btn-glow__spin {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 220%;
  aspect-ratio: 1;
  translate: -50% -50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 70deg,
    rgb(var(--light-rgb) / 0.9) 150deg,
    rgb(var(--cyan-rgb) / 0.95) 185deg,
    transparent 280deg,
    transparent 360deg
  );
  animation: spin 3s linear infinite;
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

.btn-glow__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 10px 18px 10px 14px;
  border-radius: inherit;
  background: rgba(12, 13, 18, 0.92);
}

.btn-glow__icon {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent-light), var(--accent-dark));
  box-shadow: 0 10px 15px -3px rgb(var(--light-rgb) / 0.35);
}

.btn-glow__label {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.025em;
  color: rgba(255, 255, 255, 0.95);
}

.btn-glow__arrow {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  transition: transform 0.3s var(--ease-out), background-color 0.3s ease, color 0.3s ease;
}

.btn-glow:hover .btn-glow__arrow {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

/* Prova ao lado do botão */
.proof {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.proof__chips {
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof__chips li {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: -8px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1), var(--c2));
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.proof__chips li:first-child {
  margin-left: 0;
}

.proof__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #acacac;
}

.proof__text b {
  font-weight: 600;
  color: #fff;
}

/* Faixa de serviços correndo no pé do hero */
.ticker {
  position: absolute;
  inset: auto 0 34px 0;
  z-index: 2;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 44s linear infinite;
}

.ticker__group {
  display: flex;
  flex-shrink: 0;
}

.ticker__group span {
  display: inline-flex;
  align-items: center;
  gap: 36px;
  padding-right: 36px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgba(255, 255, 255, 0.46);
}

.ticker__group span::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 8px var(--accent-light);
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Seções ---------- */
.section {
  position: relative;
  isolation: isolate;
  padding-block: clamp(72px, 9vw, 120px);
  scroll-margin-top: calc(var(--nav-h) + var(--nav-top));
}

.section::before,
.wall::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(5, 5, 5, 0.4);
}

/* a primeira seção depois do hero escurece aos poucos, sem degrau */
#servicos::before {
  background: linear-gradient(180deg, transparent, rgba(5, 5, 5, 0.4) 220px);
}

.section--tight {
  padding-top: 0;
}

.section__head {
  max-width: 46rem;
}

.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__head--center .section-title,
.section__head--center .section-copy {
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-light);
}

.eyebrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

.section-title {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(1.875rem, 1.35rem + 2.2vw, 2.75rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.06;
  text-wrap: balance;
}

.section-copy {
  max-width: 34rem;
  margin: 16px 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-copy);
}

/* Revelação no scroll (só com JS ativo) */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out), filter 0.9s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Card escuro com feixe, halo e pontilhado. --c troca a cor de destaque. */
.card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--surface-1) 0%, var(--surface-2) 100%);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
}

.card:hover {
  border-color: rgb(var(--c, var(--light-rgb)) / 0.3);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 60px rgb(var(--c, var(--accent-rgb)) / 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.card__beam {
  position: absolute;
  top: 0;
  left: 15%;
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--c, var(--light-rgb)) / 0.8), transparent);
}

.card__glow {
  position: absolute;
  inset: 0 0 auto 0;
  height: 260px;
  background: radial-gradient(ellipse at 50% 0%, rgb(var(--c, var(--accent-rgb)) / 0.24), transparent 70%);
  pointer-events: none;
}

.card__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(60% 60% at 50% 15%, #000, transparent);
  mask-image: radial-gradient(60% 60% at 50% 15%, #000, transparent);
  pointer-events: none;
}

.card__spot {
  position: absolute;
  inset: 0;
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgb(var(--c, var(--light-rgb)) / 0.14), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover .card__spot,
.work__media:hover .card__spot {
  opacity: 1;
}

.card__body {
  position: relative;
  z-index: 2;
}

/* ---------- Serviços ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  margin-top: 52px;
}

.services > div {
  display: flex;
  min-width: 0;
}

.svc {
  display: flex;
  width: 100%;
}

.svc .card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.svc__art {
  position: relative;
  height: 178px;
  margin-bottom: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
  perspective: 900px;
}

.svc__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 90% at 50% 125%, rgb(var(--c) / 0.4), transparent 70%);
}

.svc__stage {
  position: absolute;
  inset: 0;
  translate: calc(var(--tx, 0) * 12px) calc(var(--ty, 0) * 9px);
  transition: translate 0.6s var(--ease-out);
}

.svc__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(var(--c2));
}

.svc__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.svc__text {
  margin: 10px 0 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-card);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: var(--text-card);
}

.svc__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 44px;
  margin-top: auto;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 600;
  color: rgb(var(--c2));
  text-decoration: none;
}

.svc__cta svg {
  transition: transform 0.3s var(--ease-out);
}

.svc__cta:hover svg {
  transform: translateX(4px);
}

/* Ilustração 1: janela de site em 3D com cursor clicando */
.mock {
  position: absolute;
  top: 26px;
  left: 12%;
  width: 76%;
  height: 200px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px 10px 0 0;
  background: #0c0e15;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.55), 0 0 44px rgb(var(--c) / 0.22);
  transform: rotateX(18deg) rotateZ(-3deg);
  transform-origin: 50% 0;
  transition: transform 0.8s var(--ease-out);
}

.card:hover .mock {
  transform: rotateX(5deg) rotateZ(0deg) translateY(-6px);
}

.mock__bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 22px;
  padding: 0 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mock__bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mock__bar b {
  flex: 1;
  max-width: 55%;
  height: 8px;
  margin-left: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.07);
}

.mock__page {
  display: grid;
  gap: 8px;
  padding: 16px 16px 0;
}

.sk {
  display: block;
  height: 7px;
  border-radius: 99px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.09) 25%, rgba(255, 255, 255, 0.24) 50%, rgba(255, 255, 255, 0.09) 75%);
  background-size: 200% 100%;
  animation: shimmer 2.6s linear infinite;
}

.sk--title {
  width: 62%;
  height: 11px;
}

.sk--w80 {
  width: 80%;
}

.sk--w55 {
  width: 55%;
}

.sk--btn {
  width: 64px;
  height: 18px;
  margin-top: 4px;
  background: rgb(var(--c));
  box-shadow: 0 0 18px rgb(var(--c) / 0.7);
  animation: press 5s var(--ease-out) infinite;
}

.mock__cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 15px;
  background: #fff;
  clip-path: polygon(0 0, 0 86%, 26% 66%, 44% 100%, 60% 92%, 43% 60%, 76% 58%);
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
  animation: cursor 5s var(--ease-out) infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

@keyframes cursor {
  0%,
  10% {
    transform: translate(170px, 150px);
  }
  44%,
  68% {
    transform: translate(52px, 100px);
  }
  100% {
    transform: translate(170px, 150px);
  }
}

@keyframes press {
  0%,
  48%,
  62%,
  100% {
    transform: scale(1);
  }
  54% {
    transform: scale(0.9);
  }
}

/* Ilustração 2: painel com gráfico vivo */
.mock--dash {
  display: grid;
  grid-template-columns: 46px 1fr;
}

.dash__side {
  display: grid;
  align-content: start;
  gap: 9px;
  padding: 14px 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.dash__side i {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.dash__side i:first-child {
  background: rgb(var(--c));
  box-shadow: 0 0 10px rgb(var(--c) / 0.7);
}

.dash__main {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 12px;
}

.dash__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.dash__kpis span {
  height: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.dash__kpis span:first-child {
  border-color: rgb(var(--c) / 0.45);
  background: rgb(var(--c) / 0.14);
}

.dash__chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 78px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.dash__chart i {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, rgb(var(--c2)), rgb(var(--c) / 0.3));
  transform-origin: 50% 100%;
  animation: bar 3.2s ease-in-out infinite alternate;
  animation-delay: calc(var(--n) * -0.45s);
}

@keyframes bar {
  from {
    transform: scaleY(0.45);
  }
  to {
    transform: scaleY(1);
  }
}

/* Ilustração 3: conversa com IA respondendo */
.ai {
  position: absolute;
  inset: 22px 24px 0;
  display: grid;
  align-content: start;
  gap: 12px;
}

.ai__msg {
  display: grid;
  gap: 7px;
  width: 62%;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px 13px 13px 4px;
  background: rgba(255, 255, 255, 0.05);
  animation: msg-in 7s var(--ease-out) infinite;
}

.ai__msg span {
  height: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.24);
}

.ai__msg .short {
  width: 55%;
}

.ai__reply {
  display: grid;
  justify-items: end;
}

.ai__reply > * {
  grid-area: 1 / 1;
}

.ai__msg--out {
  position: relative;
  width: 72%;
  border-color: rgb(var(--c) / 0.55);
  border-radius: 13px 13px 4px 13px;
  background: rgb(var(--c) / 0.16);
  box-shadow: 0 0 34px rgb(var(--c) / 0.25);
  animation-name: msg-out;
}

.ai__msg--out span {
  background: rgb(var(--c2) / 0.75);
}

.ai__spark {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: rgb(var(--c2));
  box-shadow: 0 0 12px rgb(var(--c2));
  rotate: 45deg;
  animation: twinkle 1.8s ease-in-out infinite;
}

.ai__typing {
  display: flex;
  align-self: start;
  gap: 4px;
  padding: 10px 12px;
  border: 1px solid rgb(var(--c) / 0.4);
  border-radius: 99px;
  background: rgb(var(--c) / 0.14);
  animation: typing 7s linear infinite;
}

.ai__typing i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgb(var(--c2));
  animation: bounce 1s ease-in-out infinite;
}

.ai__typing i:nth-child(2) {
  animation-delay: 0.15s;
}

.ai__typing i:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes msg-in {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  8%,
  92% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}

@keyframes typing {
  0%,
  14% {
    opacity: 0;
  }
  18%,
  40% {
    opacity: 1;
  }
  44%,
  100% {
    opacity: 0;
  }
}

@keyframes msg-out {
  0%,
  42% {
    opacity: 0;
    transform: translateY(8px) scale(0.96);
  }
  50%,
  92% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes twinkle {
  0%,
  100% {
    scale: 1;
    opacity: 1;
  }
  50% {
    scale: 0.6;
    opacity: 0.6;
  }
}

/* Lista de serviços complementares */
.extras {
  margin-top: 64px;
}

.extras__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* Serviços complementares: o mesmo card dos serviços, em tamanho menor */
.services--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 22px;
}

.svc--sm {
  padding: 20px;
  border-radius: 22px;
}

.svc--sm .svc__art {
  height: 124px;
  margin-bottom: 20px;
  border-radius: 14px;
}

.svc--sm .svc__title {
  font-size: 1.25rem;
}

.svc--sm .svc__text {
  font-size: 0.9375rem;
  line-height: 1.6;
}

.svc--sm .chips {
  margin-top: 14px;
}

.svc--sm .svc__cta {
  padding-top: 12px;
}

/* Ilustração: gráfico que cresce (marketing) e batimento (suporte) */
.viz {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.viz__grid {
  fill: none;
  stroke: rgba(255, 255, 255, 0.07);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}

.viz__line {
  fill: none;
  stroke: rgb(var(--c2));
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 6px rgb(var(--c) / 0.9));
  animation: viz-draw 5.2s var(--ease-out) infinite;
}

.viz__area {
  animation: viz-area 5.2s ease infinite;
}

.viz__dot,
.viz__ping {
  transform-box: fill-box;
  transform-origin: center;
}

.viz__dot {
  fill: #fff;
  animation: viz-dot 5.2s ease infinite;
}

.viz__ping {
  fill: none;
  stroke: rgb(var(--c2));
  stroke-width: 1.5;
  opacity: 0;
  animation: viz-ping 5.2s ease-out infinite;
}

.viz__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px 5px 7px;
  border: 1px solid rgb(var(--c) / 0.45);
  border-radius: 999px;
  background: rgb(var(--c) / 0.18);
  color: rgb(var(--c2));
  animation: viz-badge 5.2s ease infinite;
}

.viz__badge i {
  width: 22px;
  height: 4px;
  border-radius: 4px;
  background: rgb(var(--c2) / 0.6);
}

@keyframes viz-draw {
  0% {
    stroke-dashoffset: 1;
    opacity: 1;
  }
  42%,
  88% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0;
  }
}

@keyframes viz-area {
  0%,
  20% {
    opacity: 0;
  }
  50%,
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes viz-dot {
  0%,
  38% {
    opacity: 0;
    transform: scale(0);
  }
  46%,
  88% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

@keyframes viz-ping {
  0%,
  42% {
    opacity: 0;
    transform: scale(0.3);
  }
  48% {
    opacity: 0.9;
    transform: scale(0.4);
  }
  74%,
  100% {
    opacity: 0;
    transform: scale(1.8);
  }
}

@keyframes viz-badge {
  0%,
  44% {
    opacity: 0;
    transform: translateY(6px);
  }
  54%,
  88% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: none;
  }
}

.viz__track {
  fill: none;
  stroke: rgb(var(--c) / 0.3);
  stroke-width: 1.6;
  stroke-linejoin: round;
}

.viz__beat {
  fill: none;
  stroke: rgb(var(--c2));
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 0.2 0.8;
  stroke-dashoffset: 0.2;
  filter: drop-shadow(0 0 6px rgb(var(--c)));
  animation: viz-beat 2.8s linear infinite;
}

@keyframes viz-beat {
  to {
    stroke-dashoffset: -0.8;
  }
}

.shield {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  translate: -50% -50%;
  border: 1px solid rgb(var(--c) / 0.6);
  border-radius: 14px;
  background: linear-gradient(180deg, rgb(var(--c) / 0.55), rgb(var(--c) / 0.12)), #0b0c14;
  color: #fff;
  box-shadow: 0 0 24px rgb(var(--c) / 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: shield-pulse 2.8s ease-in-out infinite;
}

.shield__check {
  stroke-dasharray: 1;
  animation: shield-check 2.8s var(--ease-out) infinite;
}

@keyframes shield-pulse {
  50% {
    box-shadow: 0 0 38px rgb(var(--c) / 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
}

@keyframes shield-check {
  0%,
  18% {
    stroke-dashoffset: 1;
  }
  44%,
  100% {
    stroke-dashoffset: 0;
  }
}

/* Ilustração: posts em leque (conteúdo) */
.posts {
  position: absolute;
  inset: 0;
}

.post {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  gap: 4px;
  width: 74px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: linear-gradient(180deg, #171722, #0d0d14);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  translate: -50% -50%;
  transition: transform 0.7s var(--ease-out), opacity 0.5s ease;
}

.post b {
  display: block;
  height: 40px;
  border-radius: 6px;
  background: linear-gradient(135deg, rgb(var(--c) / 0.9), rgb(var(--c2) / 0.35));
}

.post span {
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.17);
}

.post span.short {
  width: 60%;
}

.post--l {
  opacity: 0.72;
  transform: translateX(-56px) rotate(-10deg) scale(0.9);
}

.post--l b {
  background: linear-gradient(135deg, rgb(var(--cyan-rgb) / 0.75), rgb(var(--c) / 0.3));
}

.post--r {
  opacity: 0.72;
  transform: translateX(56px) rotate(10deg) scale(0.9);
}

.post--r b {
  background: linear-gradient(135deg, rgb(205 118 255 / 0.8), rgb(var(--c) / 0.3));
}

.post--c {
  animation: post-float 4s ease-in-out infinite;
}

.card:hover .post--l {
  opacity: 1;
  transform: translateX(-70px) rotate(-15deg) scale(0.94);
}

.card:hover .post--r {
  opacity: 1;
  transform: translateX(70px) rotate(15deg) scale(0.94);
}

.post__like {
  position: absolute;
  top: -8px;
  right: -8px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgb(var(--c2)), rgb(var(--c)));
  color: #fff;
  box-shadow: 0 0 14px rgb(var(--c) / 0.8);
  animation: like-pop 3.4s var(--ease-out) infinite;
}

@keyframes post-float {
  50% {
    transform: translateY(-5px);
  }
}

@keyframes like-pop {
  0%,
  50% {
    transform: scale(0);
  }
  60% {
    transform: scale(1.3);
  }
  68%,
  92% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

/* Ilustração: radar (consultoria) */
.radar {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 104px;
  aspect-ratio: 1;
  overflow: hidden;
  translate: -50% -50%;
  border: 1px solid rgb(var(--c) / 0.5);
  border-radius: 50%;
  background:
    linear-gradient(rgb(var(--c) / 0.24), rgb(var(--c) / 0.24)) 50% 50% / 100% 1px no-repeat,
    linear-gradient(rgb(var(--c) / 0.24), rgb(var(--c) / 0.24)) 50% 50% / 1px 100% no-repeat,
    radial-gradient(
      circle closest-side,
      transparent 33%,
      rgb(var(--c) / 0.34) 33% 35%,
      transparent 35% 66%,
      rgb(var(--c) / 0.28) 66% 68%,
      transparent 68%
    ),
    radial-gradient(circle closest-side, rgb(var(--c) / 0.2), rgb(var(--c) / 0.04));
  box-shadow: 0 0 30px rgb(var(--c) / 0.28), inset 0 0 20px rgb(var(--c) / 0.16);
}

.radar__sweep {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg 250deg, rgb(var(--c) / 0.12) 290deg, rgb(var(--c2) / 0.75) 360deg);
  animation: radar-spin 3.6s linear infinite;
}

.radar__blip {
  position: absolute;
  top: var(--y);
  left: var(--x);
  width: 6px;
  height: 6px;
  margin: -3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 2px rgb(var(--c2));
  opacity: 0;
  animation: radar-blip 3.6s ease-out infinite;
  animation-delay: var(--d, 0s);
}

.radar__core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px;
  border-radius: 50%;
  background: rgb(var(--c2));
  box-shadow: 0 0 12px rgb(var(--c2));
}

@keyframes radar-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes radar-blip {
  0% {
    opacity: 0;
    transform: scale(0.4);
  }
  8% {
    opacity: 1;
    transform: scale(1.4);
  }
  62%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
}

/* ---------- Mural de telas em 3D ---------- */
.wall {
  position: relative;
  isolation: isolate;
  padding-block: 8px clamp(56px, 8vw, 104px);
  overflow: clip;
}

.wall__head {
  margin-bottom: clamp(36px, 5vw, 60px);
  text-align: center;
}

.wall__head .section-title {
  margin-inline: auto;
}

.wall__viewport {
  --tile-h: 250px;
  perspective: 1600px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent);
}

.wall__stage {
  display: grid;
  gap: 20px;
  transform: rotateX(20deg) rotateZ(-4deg) scale(1.06);
  transform-origin: 50% 50%;
}

.wall__row {
  display: flex;
}

.wall__track {
  display: flex;
  flex-shrink: 0;
  gap: 20px;
  padding-right: 20px;
  animation: wall 64s linear infinite;
}

.wall__row--b .wall__track {
  animation-direction: reverse;
  animation-duration: 78s;
}

.wall__viewport:hover .wall__track {
  animation-play-state: paused;
}

@keyframes wall {
  to {
    transform: translateX(-100%);
  }
}

.tile {
  flex-shrink: 0;
  height: var(--tile-h);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: #0b0c11;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.tile--desk {
  aspect-ratio: 16 / 10;
}

.tile--phone {
  aspect-ratio: 9 / 18;
  border: 3px solid #1c2030;
  border-radius: 24px;
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ---------- Portfólio ---------- */
.work {
  display: grid;
  gap: clamp(64px, 9vw, 128px);
  margin-top: clamp(48px, 6vw, 80px);
}

.work__row {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.work__row:nth-child(even) .work__content {
  order: 2;
}

.work__meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.work__meta b {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--accent-light);
}

.work__title {
  margin: 0;
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.work__text {
  max-width: 28rem;
  margin: 14px 0 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-copy);
}

.arrowlink {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-top: 24px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.arrowlink__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease-out);
}

.arrowlink:hover .arrowlink__icon {
  background: #fff;
  border-color: #fff;
  color: #050505;
  transform: translate(2px, -2px);
}

.work__media {
  position: relative;
  display: block;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--surface-1) 0%, var(--surface-2) 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transform: perspective(1500px) rotateY(calc(var(--sry, 0deg) * var(--k, 1))) rotateX(calc(var(--srx, 0deg) * var(--k, 1)))
    scale(var(--s, 1));
  transition: transform 0.6s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.work__media:hover {
  --k: 0;
  --s: 1.02;
  border-color: rgb(var(--c) / 0.4);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.65), 0 0 80px rgb(var(--c) / 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.work__media .card__glow {
  height: 60%;
  border-radius: 24px 24px 0 0;
}

.browser {
  position: relative;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  background: #0b0c11;
}

.browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.browser__bar i {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.browser__url {
  min-width: 0;
  margin: 0 auto;
  padding: 3px 14px;
  overflow: hidden;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
  color: var(--text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browser img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

/* ---------- Todo projeto inclui ---------- */
.perks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
  margin-top: 52px;
}

.perk {
  position: relative;
  overflow: hidden;
  padding: 30px 24px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  text-align: center;
}

.perk::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(70% 55% at 50% 0%, #000, transparent);
  mask-image: radial-gradient(70% 55% at 50% 0%, #000, transparent);
}

.perk__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.1) 50%, transparent 65%);
  translate: -110% 0;
  transition: translate 0.9s var(--ease-out);
}

.perk:hover .perk__shine {
  translate: 110% 0;
}

.perk__stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 20px;
  transition: transform 0.5s var(--ease-out);
}

.perk:hover .perk__stage {
  transform: translateY(-5px) scale(1.05);
}

.perk__halo {
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--accent-rgb) / 0.4), transparent 65%);
  filter: blur(6px);
}

.perk__ring {
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 230deg, rgb(var(--cyan-rgb) / 0.95) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  animation: spin 7s linear infinite;
  animation-delay: calc(var(--i, 0) * -1.6s);
}

.perk__icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: var(--accent-glow);
}

.perk__title {
  position: relative;
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.perk__text {
  position: relative;
  margin: 8px 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-card);
}

/* ---------- Processo: selo girando e etapas ---------- */
.process {
  display: grid;
  grid-template-columns: minmax(0, 250px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(28px, 5vw, 60px);
}

.process .card__glow {
  height: 100%;
  background: radial-gradient(50% 80% at 12% 50%, rgb(var(--accent-rgb) / 0.3), transparent 70%);
}

.seal {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(100%, 250px);
  aspect-ratio: 1;
  margin-inline: auto;
  color: var(--accent-glow);
}

.seal__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  letter-spacing: 0.1em;
  animation: spin 28s linear infinite;
}

.seal__core {
  display: grid;
  place-items: center;
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid rgb(var(--light-rgb) / 0.4);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 28%, rgb(var(--accent-rgb) / 0.4), rgba(8, 10, 18, 0.95));
  box-shadow: 0 0 60px rgb(var(--accent-rgb) / 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.seal__core .emblem {
  --emblem: 78px;
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin: 34px 0 0;
  padding: 22px 0 0;
  list-style: none;
}

.steps::before,
.steps::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 1px;
}

.steps::before {
  right: 0;
  background: var(--line-strong);
}

.steps::after {
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, var(--accent), var(--cyan));
  box-shadow: 0 0 12px rgb(var(--cyan-rgb) / 0.8);
  transition: width 0.25s linear;
}

.step {
  display: grid;
  align-content: start;
  gap: 4px;
  min-width: 0;
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

.step.is-on {
  opacity: 1;
}

.step__num {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

.step.is-on .step__num {
  color: var(--cyan);
  text-shadow: 0 0 14px rgb(var(--cyan-rgb) / 0.7);
}

.step__title {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.step__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-card);
}

/* ---------- Quem faz ---------- */
.founder {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 6vw, 96px);
}

/* Card de pessoa no formato do card de instrutor da Asimov:
   foto com nome embaixo; ao clicar, vira um painel com as informações. */
.pcard {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 2rem;
  background: var(--surface-2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 90px rgb(var(--accent-rgb) / 0.18);
  cursor: pointer;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease-out), box-shadow 0.5s ease;
}

.pcard:hover {
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.65), 0 0 120px rgb(var(--cyan-rgb) / 0.2);
}

.pcard__front,
.pcard__back {
  position: absolute;
  inset: 0;
  transition: opacity 0.5s ease-out, transform 0.8s var(--ease-out), filter 0.6s ease, visibility 0.5s;
}

.pcard__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 36% top;
  transition: transform 1.4s var(--ease-out);
}

.pcard:hover .pcard__photo {
  transform: scale(1.06);
}

.pcard__shade {
  position: absolute;
  inset: auto 0 0 0;
  height: 52%;
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.92));
  pointer-events: none;
}

.pcard__info {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
}

.pcard__name {
  display: block;
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.pcard__role {
  display: block;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.78);
}

.pcard__hint {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 13px 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 10, 18, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.pcard__btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: rgba(8, 10, 18, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.35s ease, border-color 0.35s ease, rotate 0.5s var(--ease-out);
}

.pcard__btn::before,
.pcard__btn::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.pcard__btn::after {
  rotate: 90deg;
}

.pcard.is-open .pcard__btn {
  border-color: #fff;
  background: #fff;
  color: #050505;
  rotate: 135deg;
}

.pcard__back {
  visibility: hidden;
  opacity: 0;
  background:
    radial-gradient(circle at 100% 100%, rgb(var(--accent-rgb) / 0.95), transparent 75%),
    radial-gradient(circle at 0% 100%, rgb(var(--cyan-rgb) / 0.42), transparent 68%),
    radial-gradient(circle at 100% 0%, rgb(var(--violet-rgb) / 0.4), transparent 60%),
    linear-gradient(rgba(5, 5, 8, 0.96), rgba(8, 12, 28, 0.9));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.pcard.is-open .pcard__back {
  visibility: visible;
  opacity: 1;
}

.pcard.is-open .pcard__front {
  opacity: 0;
  transform: scale(1.08);
  filter: blur(8px);
}

.pcard__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.pcard__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  padding: 2rem;
}

.pcard__content > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out);
}

.pcard.is-open .pcard__content > * {
  opacity: 1;
  transform: none;
  transition-delay: calc(var(--n, 0) * 90ms + 120ms);
}

.pcard__head {
  padding-right: 52px;
}

.pcard__facts {
  display: grid;
  gap: 12px;
  margin: 0;
}

.pcard__facts div {
  display: grid;
  gap: 1px;
}

.pcard__facts dt {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.pcard__facts dd {
  margin: 0;
  font-size: 0.9375rem;
  color: #fff;
}

.pcard__bio {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
}

.pcard__cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: #050505;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.pcard__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.25);
}

.mv {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 14px;
  margin-top: 30px;
}

.mv__item {
  position: relative;
  overflow: hidden;
  padding: 22px 22px 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(140deg, rgb(var(--c, var(--accent-rgb)) / 0.12), rgba(255, 255, 255, 0.02) 55%);
  transition: border-color 0.4s ease, transform 0.5s var(--ease-out), box-shadow 0.4s ease;
}

.mv__item::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(rgb(var(--c, var(--accent-rgb))), transparent);
}

.mv__item:hover {
  border-color: rgb(var(--c, var(--light-rgb)) / 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 50px rgb(var(--c, var(--accent-rgb)) / 0.14);
  transform: translateY(-3px);
}

.mv__item--wide {
  grid-column: 1 / -1;
}

.mv__item .chips {
  margin-top: 2px;
}

.mv__item h3 {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgb(var(--c, var(--light-rgb)));
}

.mv__item p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-card);
}

/* ---------- FAQ ---------- */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(32px, 6vw, 96px);
}

.faq-grid__head {
  position: sticky;
  top: calc(var(--nav-h) + var(--nav-top) + 32px);
}

.faq {
  display: grid;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.faq__item h3 {
  margin: 0;
}

.faq__item.is-open {
  border-color: rgb(var(--light-rgb) / 0.4);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 0 40px rgb(var(--accent-rgb) / 0.1);
}

.faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  padding: 16px 20px 16px 22px;
  border: 0;
  border-radius: 18px;
  background: none;
  font: inherit;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background-color 0.35s ease, border-color 0.35s ease, rotate 0.45s var(--ease-out);
}

.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1.5px;
  margin: -0.75px 0 0 -5px;
  border-radius: 2px;
  background: currentColor;
  transition: rotate 0.45s var(--ease-out);
}

.faq__icon::after {
  rotate: 90deg;
}

.faq__item.is-open .faq__icon {
  border-color: var(--accent);
  background: var(--accent);
  rotate: 180deg;
}

.faq__item.is-open .faq__icon::after {
  rotate: 0deg;
}

.faq__panel {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows 0.5s var(--ease-out);
}

.js .faq__item:not(.is-open) .faq__panel {
  grid-template-rows: 0fr;
}

.faq__panel > div {
  min-height: 0;
  overflow: hidden;
}

.faq__a {
  margin: 0;
  padding: 0 22px 22px;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-copy);
}

/* ---------- Chamada final ---------- */
.section--cta {
  padding-top: 0;
  padding-bottom: clamp(48px, 6vw, 84px);
}

.cta {
  padding: clamp(24px, 3.2vw, 38px) clamp(22px, 4vw, 52px);
}

/* mais largo que o card: o halo balança sem mostrar a borda */
.cta .card__glow {
  inset: 0 -30%;
  height: auto;
  background: radial-gradient(30% 130% at 26% 50%, rgb(var(--accent-rgb) / 0.36), transparent 70%);
}

.cta__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3.2vw, 44px);
}

.cta .section-title {
  max-width: 24ch;
  font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.125rem);
}

.cta .section-copy {
  max-width: 32rem;
  margin-top: 10px;
  font-size: 1rem;
}

/* ---------- Rodapé ---------- */
.foot {
  position: relative;
  overflow: clip;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.84), rgba(5, 5, 5, 0.52));
}

.foot__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  padding-block: 72px 48px;
}

.foot__tag {
  max-width: 24rem;
  margin: 18px 0 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-copy);
}

.foot__social {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.foot__social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text-copy);
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, transform 0.3s var(--ease-out);
}

.foot__social a:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: translateY(-3px);
}

.foot h3 {
  margin: 6px 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.foot ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.9375rem;
  color: var(--text-copy);
}

.foot li {
  padding-block: 5px;
}

.foot ul a {
  display: inline-block;
  padding-block: 3px;
  text-decoration: none;
  transition: color 0.25s ease;
}

.foot ul a:hover {
  color: #fff;
}

.foot__select {
  user-select: all;
  overflow-wrap: anywhere;
}

.foot__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 22px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
}

/* Nome gigante em contorno; a luz do cursor revela o preenchimento */
.foot__mega {
  position: relative;
  height: 0.74em;
  margin-top: 12px;
  font-size: clamp(4.25rem, 21.5vw, 20rem);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 0.8;
  text-align: center;
  white-space: nowrap;
  user-select: none;
  animation: mega-sweep 7s ease-in-out infinite alternate;
}

.foot__mega span {
  display: block;
}

.foot__mega-outline {
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.17);
  color: transparent;
}

.foot__mega-fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, var(--accent), var(--cyan) 50%, var(--violet));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-mask-image: radial-gradient(circle 0.9em at var(--gx) 55%, #000 0%, transparent 70%);
  mask-image: radial-gradient(circle 0.9em at var(--gx) 55%, #000 0%, transparent 70%);
}

@keyframes mega-sweep {
  from {
    --gx: 4%;
  }
  to {
    --gx: 96%;
  }
}

@media (hover: hover) and (pointer: fine) {
  .foot__mega {
    animation: none;
  }

  .foot__mega-fill {
    -webkit-mask-image: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 160%), #000 0%, transparent 70%);
    mask-image: radial-gradient(circle 280px at var(--mx, 50%) var(--my, 160%), #000 0%, transparent 70%);
  }
}

/* ---------- WhatsApp flutuante com balão ---------- */
.wa-float {
  position: fixed;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 38px rgba(37, 211, 102, 0.5);
}

.wa__bubble {
  position: fixed;
  right: calc(88px + env(safe-area-inset-right, 0px));
  bottom: calc(27px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 4px;
  max-width: calc(100vw - 120px);
  padding: 4px 4px 4px 16px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
  font-size: 14px;
  color: #0b0b0f;
  opacity: 0;
  transform: translateX(12px) scale(0.96);
  transform-origin: 100% 50%;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}

.wa__bubble.is-on {
  opacity: 1;
  transform: none;
}

.wa__bubble a {
  padding-block: 8px;
  text-decoration: none;
}

.wa__bubble b {
  font-weight: 600;
}

.wa__bubble button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #6b6b76;
  cursor: pointer;
}

.wa__bubble button:hover {
  background: #eef0f4;
  color: #0b0b0f;
}

/* ---------- Cards: luz correndo na borda, cor e entrada em 3D ---------- */
@property --beam {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.card::after,
.work__media::after,
.perk::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 1px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--beam),
    transparent 0%,
    transparent 72%,
    rgb(var(--c, var(--light-rgb)) / 0.2) 80%,
    rgb(var(--c, var(--light-rgb)) / 0.95) 93%,
    #fff 96.5%,
    transparent 100%
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  animation: beam 7s linear infinite;
  animation-delay: calc(var(--i, 0) * -1.9s);
  pointer-events: none;
}

@keyframes beam {
  to {
    --beam: 360deg;
  }
}

.card__glow {
  animation: glow-drift 9s ease-in-out infinite alternate;
}

@keyframes glow-drift {
  from {
    transform: translateX(-14%) scale(1);
  }
  to {
    transform: translateX(14%) scale(1.18);
  }
}

.js [data-reveal="flip"] {
  transform: perspective(1200px) rotateX(-18deg) translateY(48px) scale(0.94);
  transform-origin: 50% 0;
}

.svc {
  background:
    linear-gradient(165deg, rgb(var(--c) / 0.13), transparent 44%),
    linear-gradient(135deg, var(--surface-1) 0%, var(--surface-2) 100%);
}

.svc::before {
  content: "";
  position: absolute;
  right: -22%;
  bottom: -34%;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(var(--c) / 0.26), transparent 66%);
  filter: blur(12px);
  opacity: 0.55;
  transition: opacity 0.6s ease, transform 0.9s var(--ease-out);
  pointer-events: none;
}

.svc:hover::before {
  opacity: 1;
  transform: scale(1.25) translate(-6%, -8%);
}

.svc__title {
  align-self: flex-start;
  background: linear-gradient(95deg, #ffffff 35%, rgb(var(--c2)));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.svc .chips li {
  transition: border-color 0.4s ease, color 0.4s ease, background-color 0.4s ease, transform 0.5s var(--ease-out);
}

.svc:hover .chips li {
  border-color: rgb(var(--c) / 0.45);
  background: rgb(var(--c) / 0.1);
  color: rgb(var(--c2));
  transform: translateY(-2px);
}

.svc:hover .chips li:nth-child(2) {
  transition-delay: 60ms;
}

.svc:hover .chips li:nth-child(3) {
  transition-delay: 120ms;
}

.perk {
  transition: transform 0.5s var(--ease-out), border-color 0.4s ease, box-shadow 0.4s ease;
}

.perk:hover {
  border-color: rgb(var(--c, var(--light-rgb)) / 0.4);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 60px rgb(var(--c, var(--accent-rgb)) / 0.18);
  transform: translateY(-8px);
}

/* depois de revelados, os cards voltam a responder rápido ao mouse */
.js .perk[data-reveal].is-in,
.js .mv__item[data-reveal].is-in {
  transition: opacity 0.9s var(--ease-out), transform 0.5s var(--ease-out), filter 0.9s var(--ease-out),
    border-color 0.4s ease, box-shadow 0.4s ease;
}

.js .perk[data-reveal].is-in:hover {
  transform: translateY(-8px);
  transition-delay: 0s;
}

.js .mv__item[data-reveal].is-in:hover {
  transform: translateY(-3px);
  transition-delay: 0s;
}

.perk__halo {
  background: radial-gradient(circle, rgb(var(--c, var(--accent-rgb)) / 0.5), transparent 65%);
}

.perk__ring {
  background: conic-gradient(from 0deg, transparent 0deg, transparent 230deg, rgb(var(--c, var(--cyan-rgb)) / 0.95) 360deg);
}

.perk__icon {
  border-color: rgb(var(--c, var(--light-rgb)) / 0.5);
  background: linear-gradient(180deg, rgb(var(--c, var(--accent-rgb)) / 0.42), rgb(var(--c, var(--accent-rgb)) / 0.08));
  color: #fff;
}

.faq__item {
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

.faq__item::before {
  content: "";
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 0;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(var(--cyan), var(--accent));
  transform: scaleY(0);
  transform-origin: 50% 0;
  transition: transform 0.5s var(--ease-out);
}

.faq__item.is-open::before {
  transform: scaleY(1);
}

/* ---------- Emblema vivo: N em holograma, órbitas e seta ---------- */
.emblem {
  position: relative;
  display: block;
  width: 1em;
  height: 1em;
  font-size: var(--emblem, 180px);
  line-height: 1;
}

.emblem__n {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 0.05em rgb(var(--cyan-rgb) / 0.75)) drop-shadow(0 0 0.16em rgb(var(--accent-rgb) / 0.7));
}

.emblem__orbit {
  position: absolute;
  inset: 0;
  transform: rotate(var(--roll));
  pointer-events: none;
}

.emblem__half {
  position: absolute;
  left: -70%;
  right: -70%;
  overflow: hidden;
}

.emblem__half--back {
  top: -70%;
  bottom: 50%;
  opacity: 0.5;
}

.emblem__half--front {
  top: 50%;
  bottom: -70%;
}

.emblem__persp {
  position: absolute;
  left: 50%;
  width: 0;
  height: 0;
  perspective: 3.2em;
}

.emblem__half--back .emblem__persp {
  bottom: 0;
}

.emblem__half--front .emblem__persp {
  top: 0;
}

.emblem__ring {
  position: absolute;
  top: calc(var(--d) / -2);
  left: calc(var(--d) / -2);
  width: var(--d);
  height: var(--d);
  border: 1px solid rgb(var(--tone) / 0.24);
  border-radius: 50%;
  transform: rotateX(var(--tilt));
}

.emblem__spin {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  animation: spin var(--speed) linear infinite;
  animation-direction: var(--dir, normal);
}

.emblem__trail {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, transparent 200deg, rgb(var(--tone) / 0.35) 300deg, #fff 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 0.024em), #000 calc(100% - 0.02em));
  mask: radial-gradient(farthest-side, transparent calc(100% - 0.024em), #000 calc(100% - 0.02em));
}

.emblem__dot {
  position: absolute;
  top: -0.03em;
  left: 50%;
  width: 0.06em;
  height: 0.06em;
  margin-left: -0.03em;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0.08em 0.02em rgb(var(--tone) / 0.95), 0 0 0.26em 0.07em rgb(var(--tone) / 0.5);
}

.emblem__scan {
  animation: emblem-scan 3.6s linear infinite;
}

.emblem__shot {
  animation: emblem-shot 4.4s cubic-bezier(0.5, 0, 0.2, 1) infinite;
}

@keyframes emblem-scan {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(270px);
  }
}

@keyframes emblem-shot {
  0% {
    transform: translateX(-190px);
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  22% {
    transform: translateX(190px);
    opacity: 1;
  }
  27%,
  100% {
    transform: translateX(190px);
    opacity: 0;
  }
}

.cta .emblem {
  --emblem: clamp(84px, 8.5vw, 108px);
  margin: 0.14em 0.2em;
}

/* ---------- Abertura do site: o N se desenha, as órbitas giram, a seta atravessa ---------- */
.intro {
  display: none;
}

.intro-on {
  overflow: hidden;
}

.intro-on .intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background:
    radial-gradient(60% 50% at 50% 44%, rgb(var(--accent-rgb) / 0.2), transparent 70%),
    radial-gradient(40% 30% at 50% 100%, rgb(var(--violet-rgb) / 0.14), transparent 70%),
    #04050a;
}

.intro-hold .rise,
.intro-hold .hero .orbit {
  animation-play-state: paused;
}

.intro__stage {
  display: grid;
  justify-items: center;
  gap: clamp(36px, 8vh, 72px);
}

.intro .emblem {
  --emblem: clamp(140px, 32vmin, 280px);
}

.intro__wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1em;
  height: 1em;
  margin: -0.5em 0 0 -0.5em;
  border: 1px solid rgb(var(--cyan-rgb) / 0.9);
  border-radius: 50%;
  box-shadow: 0 0 0.2em rgb(var(--cyan-rgb) / 0.6), inset 0 0 0.2em rgb(var(--accent-rgb) / 0.5);
  opacity: 0;
}

.intro__word {
  width: clamp(170px, 34vmin, 290px);
}

.intro__word svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 10px rgb(var(--cyan-rgb) / 0.45));
}

.intro__skip {
  position: absolute;
  right: calc(20px + env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-copy);
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.intro__skip:hover {
  border-color: #fff;
  color: #fff;
}

.intro .emblem__line,
.intro__word path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.intro .emblem__fill,
.intro .emblem__scan,
.intro .emblem__orbit,
.intro .emblem__shot {
  opacity: 0;
  animation: none;
}

.intro.is-playing .emblem__line {
  animation: nw-line 1.1s ease-in-out forwards;
}

.intro.is-playing .emblem__fill {
  animation: fade-in 0.7s ease 0.75s forwards;
}

.intro.is-playing .emblem__scan {
  animation: fade-in 0.4s ease 1s forwards, emblem-scan 3.6s linear 1s infinite;
}

.intro.is-playing .emblem__orbit {
  animation: orbit-in 1s var(--ease-out) forwards;
  animation-delay: calc(0.4s + var(--n, 0) * 0.16s);
}

.intro.is-playing .emblem__shot {
  animation: emblem-shot 4.4s cubic-bezier(0.5, 0, 0.2, 1) 1.3s infinite;
}

.intro.is-playing .intro__wave {
  animation: intro-wave 1s var(--ease-out) 1.78s forwards;
}

.intro.is-playing .intro__word path {
  animation: nw-line 0.75s var(--ease-out) forwards;
  animation-delay: calc(1.75s + var(--l, 0) * 90ms);
}

.intro.is-leaving {
  animation: intro-out 0.75s cubic-bezier(0.7, 0, 0.84, 0) forwards;
  pointer-events: none;
}

.intro.is-leaving .intro__stage {
  animation: intro-warp 0.75s cubic-bezier(0.7, 0, 0.84, 0) forwards;
}

@keyframes nw-line {
  from {
    stroke-dashoffset: 1;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes orbit-in {
  from {
    opacity: 0;
    transform: rotate(var(--roll)) scale(0.15);
  }
  to {
    opacity: 1;
    transform: rotate(var(--roll)) scale(1);
  }
}

@keyframes intro-wave {
  from {
    opacity: 0.9;
    transform: scale(0.2);
  }
  to {
    opacity: 0;
    transform: scale(3.4);
  }
}

@keyframes intro-out {
  to {
    opacity: 0;
  }
}

@keyframes intro-warp {
  to {
    transform: scale(7);
    filter: blur(8px);
  }
}

/* ---------- Responsivo ---------- */
@media (max-width: 999px) {
  .nav__links {
    display: none;
  }

  .nav__burger {
    display: block;
  }

  .work__row,
  .founder,
  .faq-grid,
  .process {
    grid-template-columns: minmax(0, 1fr);
  }

  .work__row:nth-child(even) .work__content {
    order: 0;
  }

  .faq-grid__head {
    position: static;
  }

  .pcard {
    margin-inline: auto;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .foot__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1099px) {
  .services--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 859px) {
  .cta__body {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 16px;
    text-align: center;
  }

  .cta .card__glow {
    background: radial-gradient(44% 80% at 50% 0%, rgb(var(--accent-rgb) / 0.32), transparent 70%);
  }

  .cta .section-title,
  .cta .section-copy {
    margin-inline: auto;
  }

  .cta .emblem {
    margin: 0.2em 0 0;
  }
}

@media (min-width: 1000px) {
  .nav__sheet {
    display: none !important;
  }
}

@media (max-width: 719px) {
  .hero .orbit {
    display: none;
  }

  .wall__viewport {
    --tile-h: 170px;
  }

  .wall__stage,
  .wall__track {
    gap: 14px;
  }

  .wall__track {
    padding-right: 14px;
  }
}

@media (max-width: 599px) {
  :root {
    --nav-h: 56px;
    --nav-top: 10px;
  }

  .container {
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
  }

  .nav__bar {
    padding-left: 14px;
    padding-right: 6px;
  }

  .brand__logo {
    height: 15px;
  }

  .btn-solid {
    padding: 0 14px;
  }

  .hero {
    padding-block: calc(var(--nav-h) + var(--nav-top) + 28px) 110px;
  }

  .hero__copy {
    font-size: 1rem;
  }

  .hero__cta {
    flex-direction: column;
  }

  .ticker {
    bottom: 26px;
  }

  .work__media {
    padding: 8px;
    border-radius: 18px;
  }

  .browser {
    border-radius: 11px;
  }

  .steps,
  .services--four {
    grid-template-columns: minmax(0, 1fr);
  }

  .foot__grid {
    padding-block: 56px 36px;
  }

  .wa__bubble {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .card,
  .work__media,
  .hero__inner,
  .pcard {
    transform: none;
  }

  .js [data-reveal="flip"] {
    transform: none;
  }

  .pcard__content > * {
    transition: none;
  }

  .ai__typing {
    display: none;
  }

  .step {
    opacity: 1;
  }
}
