/* ==========================================================================
   SMAVIX — site v3 (editorial claro)
   Regra: COR É EXCEÇÃO. Papel branco domina, o navy entra como pontuação,
   o azul Smavix aparece sólido em doses pequenas e o volt é a faísca —
   só sobre fundo escuro.
   ========================================================================== */

@font-face {
  font-family: "Sora";
  src: url("/fonts/sora-var.woff2") format("woff2-variations"), url("/fonts/sora-var.woff2") format("woff2");
  font-weight: 100 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-var.woff2") format("woff2-variations"), url("/fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  --paper: #ffffff;
  --paper-2: #f5f7fc;
  --paper-3: #e9eef8;
  --ink: #0a1433;
  --ink-2: #111c42;
  --ink-3: #1b2856;
  --blue: #1546e0;
  --blue-deep: #0b2a8f;
  --blue-lit: #4c8dff;
  --blue-soft: #e6ecfd;
  --volt: #c6f432;
  --zap: #25d366;

  --muted: rgba(10, 20, 51, 0.74);
  --faint: rgba(10, 20, 51, 0.62);
  --line: rgba(10, 20, 51, 0.12);
  --line-soft: rgba(10, 20, 51, 0.07);
  --line-inv: rgba(255, 255, 255, 0.14);

  --display: "Sora", "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);
  --r-sm: 10px;
  --r: 18px;
  --r-lg: 28px;
  --nav-h: 76px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ─── Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; text-wrap: balance; }
p { color: var(--muted); }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 88rem; margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 3000;
  background: var(--ink); color: #fff; padding: 12px 16px; border-radius: var(--r-sm); font-weight: 600;
}
.skip:focus { left: 16px; top: 16px; }

/* Grão: textura estática só no fundo do hero e dos blocos escuros, pintada uma
   vez. Uma camada fixa por cima da página inteira obrigava a GPU a recompor a
   tela toda a cada quadro de animação. */

/* ─── Tipografia utilitária ───────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--faint);
}
.eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--blue);
}
.on-ink .eyebrow { color: rgba(255,255,255,.7); }
.on-ink .eyebrow::before { background: var(--volt); }

.title {
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  font-weight: 700; line-height: 1; letter-spacing: -0.045em; color: var(--ink);
}
.on-ink .title { color: #fff; }
.lead { font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.7; max-width: 52ch; }
.on-ink p { color: rgba(255,255,255,.72); }

.chip {
  display: inline-flex; align-items: center; padding: .08em .55em; border-radius: 999px;
  background: var(--blue-soft); color: var(--blue-deep); font-weight: 600; white-space: nowrap;
}
.hl { color: var(--blue); }
.on-ink .hl { color: var(--volt); }

/* ─── Botões ──────────────────────────────────── */
.btn {
  --bg: var(--blue); --fg: #fff; --dot: rgba(255,255,255,.18);
  position: relative; display: inline-flex; align-items: center; gap: 14px;
  min-height: 54px; padding: 8px 8px 8px 24px; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  isolation: isolate; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--ink); transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(21,70,224,.55); }
.btn .btn-ico {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--dot); overflow: hidden; flex-shrink: 0;
}
.btn .btn-ico svg { width: 16px; height: 16px; transition: transform .55s var(--ease); }
.btn:hover .btn-ico svg { transform: translateX(3px) rotate(-45deg); }
.btn--volt { --bg: var(--volt); --fg: var(--ink); --dot: rgba(10,20,51,.12); }
.btn--volt::before { background: #fff; }
.btn--volt:hover { box-shadow: 0 14px 34px -14px rgba(198,244,50,.6); }
.btn--ghost {
  --bg: transparent; --fg: var(--ink); --dot: var(--blue-soft);
  box-shadow: inset 0 0 0 1px var(--line);
}
.btn--ghost::before { background: var(--paper-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); transform: none; }
.btn--ghost .btn-ico svg { color: var(--blue); }
.btn--ghost:hover .btn-ico svg { transform: translateY(3px); }
.btn--sm { min-height: 44px; padding: 5px 5px 5px 18px; font-size: 14px; gap: 10px; }
.btn--sm .btn-ico { width: 34px; height: 34px; }

/* ─── Navegação flutuante ─────────────────────── */
.nav {
  position: fixed; top: 14px; left: 0; right: 0; z-index: 1000;
  padding-inline: var(--gutter);
  transition: transform .6s var(--ease);
}
.nav.hide { transform: translateY(calc(-100% - 20px)); }
.nav-inner {
  max-width: 84rem; margin-inline: auto; height: 62px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 8px 0 20px; border-radius: 999px;
  background: rgba(255,255,255,.72); border: 1px solid transparent;
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  transition: background .4s, border-color .4s, box-shadow .4s;
}
.nav.scrolled .nav-inner {
  background: rgba(255,255,255,.92); border-color: var(--line-soft);
  box-shadow: 0 10px 40px -18px rgba(10,20,51,.25);
}
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; gap: 6px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: 999px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: background .3s, color .3s;
}
.nav-links a:hover { background: var(--paper-2); color: var(--ink); }
.ham {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px; background: var(--ink);
}
.ham span { display: block; width: 18px; height: 2px; border-radius: 2px; background: #fff; transition: transform .4s var(--ease), opacity .3s; }
.ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mob-menu {
  position: fixed; inset: 0; z-index: 999; background: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 110px var(--gutter) 40px;
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .7s var(--ease-io), visibility 0s .7s;
}
.mob-menu.open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--ease-io), visibility 0s; }
.mob-menu a.mob-link {
  font-family: var(--display); font-size: clamp(2rem, 9vw, 3rem); font-weight: 700;
  letter-spacing: -0.04em; color: #fff; line-height: 1.15;
  display: flex; align-items: baseline; gap: 14px;
}
.mob-menu a.mob-link small { font-family: var(--mono); font-size: 12px; color: var(--volt); letter-spacing: .1em; }
.mob-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ─── Hero ────────────────────────────────────── */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding: calc(var(--nav-h) + clamp(48px, 9vw, 130px)) 0 clamp(300px, 33vw, 640px);
  text-align: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    url("/img/noise.png") repeat,
    radial-gradient(60rem 40rem at 15% 8%, rgba(21,70,224,.10), transparent 62%),
    radial-gradient(56rem 44rem at 88% 20%, rgba(76,141,255,.10), transparent 64%),
    radial-gradient(70rem 50rem at 50% 108%, rgba(21,70,224,.12), transparent 64%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero .eyebrow {
  padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.8);
  box-shadow: inset 0 0 0 1px var(--line); color: var(--ink);
}
.hero .eyebrow { position: relative; }
.hero .eyebrow::before { border-radius: 50%; }
/* Pulso só com transform/opacity: roda no compositor, sem repintar */
.hero .eyebrow::after {
  content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px;
  border-radius: 50%; background: var(--blue); animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(2.8); opacity: 0; } }

.hero h1 {
  margin: 28px auto 0; max-width: 18ch;
  font-size: clamp(2.5rem, 6.6vw, 8.2rem); font-weight: 800;
  line-height: .94; letter-spacing: -0.055em; color: var(--ink);
}
.hero h1 .l2 { display: block; }
/* Palavra que troca: todas empilhadas na mesma célula do grid (a caixa já
   nasce com a largura da maior), centralizadas, e a troca é só transform —
   não mexe no layout (CLS 0) e roda no compositor. */
.type {
  display: grid; justify-items: center; overflow: hidden;
  padding-bottom: .1em; margin-bottom: -.1em;
  color: var(--blue); white-space: nowrap;
}
.type > span { grid-area: 1 / 1; transform: translateY(110%); transition: transform .9s var(--ease); }
.type > span.on { transform: none; }
.type > span.out { transform: translateY(-110%); }
.hero-sub {
  margin: clamp(20px, 2vw, 30px) auto 0; max-width: 46ch;
  font-size: clamp(1rem, 1.3vw, 1.2rem); color: var(--muted);
  background: rgba(255,255,255,.7); border-radius: 18px; padding: 6px 12px;
}
.hero-btns { margin-top: clamp(26px, 2.6vw, 40px); display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* Anel de serviços girando atrás do hero */
.ring-wrap {
  position: absolute; left: 50%; top: calc(100% - clamp(230px, 26vw, 500px));
  width: 150vw; height: 150vw; transform: translateX(-50%); z-index: -1; pointer-events: none;
}
.ring-wrap::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px dashed rgba(21,70,224,.22);
}
.ring {
  position: absolute; inset: 0; border-radius: 50%;
  animation: spin 110s linear infinite; will-change: transform;
}
.paused .ring, .ticker.paused .ticker-track { animation-play-state: paused; }
@keyframes spin { to { transform: rotate(360deg); } }
.ring-card {
  --a: 0deg;
  position: absolute; left: 50%; top: 50%;
  width: clamp(170px, 15.5vw, 290px);
  transform: translate(-50%, -50%) rotate(var(--a)) translateY(-75vw);
  pointer-events: auto;
}
.ring-card > div {
  display: flex; flex-direction: column; gap: clamp(10px, 1vw, 18px);
  padding: clamp(14px, 1.3vw, 24px); border-radius: clamp(14px, 1.2vw, 22px);
  background: #fff; box-shadow: 0 1px 0 var(--line), 0 24px 50px -30px rgba(10,20,51,.35), inset 0 0 0 1px var(--line-soft);
  text-align: left;
}
.ring-card .rc-top { display: flex; align-items: center; justify-content: space-between; }
.ring-card .rc-ico {
  width: clamp(34px, 2.7vw, 48px); height: clamp(34px, 2.7vw, 48px); border-radius: 12px;
  display: grid; place-items: center; background: var(--blue-soft); color: var(--blue);
}
.ring-card .rc-ico svg { width: 55%; height: 55%; }
.ring-card .rc-n { font-family: var(--mono); font-size: clamp(10px, .7vw, 12px); color: var(--faint); letter-spacing: .1em; }
.ring-card strong { font-family: var(--display); font-size: clamp(14px, 1.15vw, 21px); line-height: 1.15; letter-spacing: -0.03em; color: var(--ink); }
.ring-card span.rc-tag { font-size: clamp(11px, .78vw, 13px); color: var(--faint); }
.ring-card.is-ink > div { background: var(--ink); box-shadow: 0 24px 50px -24px rgba(10,20,51,.6); }
.ring-card.is-ink strong { color: #fff; }
.ring-card.is-ink .rc-n, .ring-card.is-ink span.rc-tag { color: rgba(255,255,255,.6); }
.ring-card.is-ink .rc-ico { background: rgba(255,255,255,.1); color: var(--volt); }
.ring-card.is-blue > div { background: var(--blue); box-shadow: 0 24px 50px -22px rgba(21,70,224,.7); }
.ring-card.is-blue strong { color: #fff; }
.ring-card.is-blue .rc-n, .ring-card.is-blue span.rc-tag { color: rgba(255,255,255,.75); }
.ring-card.is-blue .rc-ico { background: rgba(255,255,255,.16); color: #fff; }

/* ─── Letreiro ────────────────────────────────── */
.ticker { background: var(--ink); color: #fff; overflow: hidden; padding: clamp(18px, 2vw, 28px) 0; }
.ticker-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: flex; align-items: center; gap: clamp(18px, 2vw, 34px); padding-right: clamp(18px, 2vw, 34px);
  font-family: var(--display); font-weight: 600; font-size: clamp(1.4rem, 2.6vw, 2.6rem);
  letter-spacing: -0.035em; white-space: nowrap;
}
.ticker-item .lam { color: var(--volt); font-weight: 700; }
.ticker-item em { font-style: normal; color: rgba(255,255,255,.45); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ─── Seções ──────────────────────────────────── */
.section { padding-block: clamp(80px, 10vw, 150px); position: relative; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #fff; }
.sec-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.sec-head .title { margin-top: 20px; max-width: 16ch; }
.sec-head > p { max-width: 38ch; font-size: 15px; }

/* Pilares */
.pillars { margin-top: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 32px 28px 8px 0; position: relative; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar-n { font-family: var(--mono); font-size: 12px; color: var(--blue); letter-spacing: .1em; }
.pillar h3 { margin-top: 36px; font-size: clamp(1.3rem, 1.8vw, 1.7rem); letter-spacing: -0.035em; line-height: 1.05; }
.pillar p { margin-top: 10px; font-size: 15px; }

.clients { margin-top: clamp(64px, 7vw, 100px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 56px; }
.clients-label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.clients-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px; }
.clients-logos img { height: 76px; width: auto; max-width: 160px; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter .4s, opacity .4s; }
.clients-logos img:hover { filter: none; opacity: 1; }

/* CTA inline */
.inline-cta {
  margin-top: clamp(56px, 6vw, 88px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  padding: 22px 22px 22px 32px; border-radius: var(--r-lg); background: var(--paper-2);
}
.section--tint .inline-cta { background: #fff; box-shadow: inset 0 0 0 1px var(--line-soft); }
.inline-cta p { font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.45rem); font-weight: 600; color: var(--ink); letter-spacing: -0.03em; }

/* Como trabalhamos */
.how { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.how-sticky { position: sticky; top: calc(var(--nav-h) + 40px); }
.how-sticky .title { margin-top: 20px; max-width: 13ch; }
.how-sticky .lead { margin-top: 22px; }
.principles { margin-top: 36px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.principle { display: grid; grid-template-columns: 40px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.principle .pi { width: 40px; height: 40px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; }
.principle .pi svg { width: 20px; height: 20px; }
.principle h3 { font-size: 17px; letter-spacing: -0.02em; }
.principle p { font-size: 14.5px; margin-top: 2px; }
.how-cards { display: grid; gap: 18px; }
.how-card {
  position: relative; padding: clamp(28px, 3vw, 44px); border-radius: var(--r-lg); background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-soft), 0 30px 60px -45px rgba(10,20,51,.35);
  overflow: hidden;
}
.how-card .hc-n {
  font-family: var(--display); font-weight: 800; font-size: clamp(3.5rem, 6vw, 6rem); line-height: .8;
  letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(21,70,224,.28);
}
.how-card h3 { margin-top: 26px; font-size: clamp(1.35rem, 2vw, 1.85rem); letter-spacing: -0.035em; line-height: 1.1; max-width: 18ch; }
.how-card p { margin-top: 12px; max-width: 46ch; }
.how-card:nth-child(2) { background: var(--ink); }
.how-card:nth-child(2) h3 { color: #fff; }
.how-card:nth-child(2) p { color: rgba(255,255,255,.72); }
.how-card:nth-child(2) .hc-n { -webkit-text-stroke-color: rgba(198,244,50,.55); }

/* Manifesto — palavras acendem com a rolagem */
.manifesto { background: var(--ink); color: #fff; overflow: hidden; position: relative; }
.manifesto-quote {
  margin-top: 28px; font-family: var(--display); font-weight: 700;
  font-size: clamp(2.2rem, 6vw, 6.4rem); line-height: .98; letter-spacing: -0.05em; color: #fff; max-width: 17ch;
}
/* Cor (não opacidade) no estado apagado: 40% de branco sobre o navy ainda
   passa no contraste de texto grande (3:1). */
.manifesto-quote .w { color: rgba(255,255,255,.42); transition: color .3s linear; }
.manifesto-quote .w.on { color: #fff; }
.manifesto-quote .w .volt { color: rgba(198,244,50,.5); transition: color .3s linear; }
.manifesto-quote .w.on .volt { color: var(--volt); }
.manifesto-quote .volt { color: var(--volt); }
.manifesto-foot { margin-top: clamp(36px, 4vw, 60px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.manifesto-foot .rule { width: 72px; height: 4px; border-radius: 4px; background: var(--volt); }
.manifesto-foot p { font-size: clamp(1rem, 1.3vw, 1.2rem); max-width: 44ch; color: rgba(255,255,255,.75); }
.lambda-bg {
  position: absolute; right: -4vw; bottom: -8vw; width: 44vw; max-width: 640px; opacity: .07; pointer-events: none;
}

/* Metodologia */
.steps { margin-top: clamp(56px, 6vw, 88px); position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.steps-line { position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: var(--line); }
.steps-line span { display: block; height: 100%; width: 100%; background: var(--blue); transform-origin: left; transform: scaleX(var(--p, 0)); }
.step { position: relative; padding-right: 24px; }
.step-dot {
  position: relative; z-index: 1; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; box-shadow: inset 0 0 0 2px var(--line);
  font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--faint);
  transition: background .5s var(--ease), box-shadow .5s var(--ease), color .5s;
}
.step.on .step-dot { background: var(--blue); box-shadow: 0 0 0 6px var(--blue-soft); color: #fff; }
.step.step--last.on .step-dot { background: var(--volt); color: var(--ink); box-shadow: 0 0 0 6px rgba(198,244,50,.35); }
.step h3 { margin-top: 28px; font-size: clamp(1.2rem, 1.6vw, 1.5rem); letter-spacing: -0.035em; }
.step p { margin-top: 8px; font-size: 14.5px; max-width: 26ch; }
.step.step--last h3 { color: var(--blue); }

/* Serviços (bento) */
.bento { margin-top: clamp(48px, 5vw, 72px); display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: 14px; min-height: 290px;
  padding: clamp(24px, 2.4vw, 36px); border-radius: var(--r-lg); background: #fff;
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.svc:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(21,70,224,.35), 0 30px 60px -38px rgba(21,70,224,.45); }
.svc-top { display: flex; align-items: center; justify-content: space-between; }
.svc-ico { width: 52px; height: 52px; border-radius: 15px; background: var(--blue-soft); color: var(--blue); display: grid; place-items: center; transition: background .5s, color .5s, transform .6s var(--ease); }
.svc-ico svg { width: 26px; height: 26px; }
.svc:hover .svc-ico { background: var(--blue); color: #fff; transform: rotate(-8deg) scale(1.05); }
.svc-n { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--faint); }
.svc h3 { margin-top: auto; font-size: clamp(1.35rem, 1.9vw, 1.75rem); letter-spacing: -0.035em; line-height: 1.08; }
.svc p { font-size: 15px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags span { font-size: 12px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--paper-2); color: var(--muted); }
.svc--feature { grid-column: span 2; background: var(--ink); box-shadow: none; }
.svc--wide { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr 1.2fr; grid-template-rows: auto auto; column-gap: 32px; align-items: start; min-height: 0; }
.svc--wide .svc-top { grid-row: 1 / 3; flex-direction: column; align-items: flex-start; gap: 14px; }
.svc--wide h3 { margin-top: 0; grid-column: 2; grid-row: 1 / 3; align-self: center; }
.svc--wide p { grid-column: 3; }
.svc--wide .tags { grid-column: 3; }
.svc--feature h3 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.8rem); max-width: 14ch; }
.svc--feature p { color: rgba(255,255,255,.72); max-width: 52ch; }
.svc--feature .svc-ico { background: rgba(255,255,255,.08); color: var(--volt); }
.svc--feature:hover .svc-ico { background: var(--volt); color: var(--ink); }
.svc--feature .svc-n { color: rgba(255,255,255,.55); }
.svc--feature .tags span { background: rgba(198,244,50,.12); color: var(--volt); }
.svc--feature:hover { box-shadow: 0 30px 60px -30px rgba(10,20,51,.7); }
.svc--feature .lambda-bg { right: -40px; bottom: -60px; width: 340px; opacity: .08; }

/* Diferenciais — linhas com cortina no hover */
.diff { margin-top: clamp(48px, 5vw, 72px); border-top: 1px solid var(--line); }
.diff-head, .diff-row { display: grid; grid-template-columns: 56px 1fr 40px 1.15fr; align-items: center; gap: 16px; }
.diff-head { padding: 14px 16px; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); border-bottom: 1px solid var(--line); }
.diff-head .us-label { color: var(--blue); }
.diff-row {
  position: relative; isolation: isolate; overflow: hidden; padding: clamp(20px, 2.2vw, 30px) 16px; border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease);
}
.diff-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c, var(--blue));
  transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease);
}
.diff-row:hover::before { transform: scaleY(1); }
.diff-row:hover { padding-inline: 28px; }
.diff-row:nth-child(3n+2) { --c: var(--blue); }
.diff-row:nth-child(3n+3) { --c: var(--ink); }
.diff-row:nth-child(3n+4) { --c: var(--volt); }
.diff-n { font-family: var(--mono); font-size: 12px; color: var(--faint); transition: color .4s; }
.diff-them { color: var(--faint); text-decoration: line-through; text-decoration-color: rgba(10,20,51,.3); transition: color .4s; }
.diff-arrow { color: var(--blue); transition: color .4s, transform .5s var(--ease); }
.diff-arrow svg { width: 22px; height: 22px; }
.diff-us { font-family: var(--display); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.75rem); letter-spacing: -0.035em; line-height: 1.1; color: var(--ink); transition: color .4s; }
.diff-row:hover .diff-us, .diff-row:hover .diff-them, .diff-row:hover .diff-n, .diff-row:hover .diff-arrow { color: #fff; }
.diff-row:hover .diff-them { text-decoration-color: rgba(255,255,255,.5); }
.diff-row:hover .diff-arrow { transform: translateX(6px); }
.diff-row:nth-child(3n+4):hover .diff-us, .diff-row:nth-child(3n+4):hover .diff-them,
.diff-row:nth-child(3n+4):hover .diff-n, .diff-row:nth-child(3n+4):hover .diff-arrow { color: var(--ink); }

/* Diagnóstico */
.diag { background: var(--blue); color: #fff; overflow: hidden; position: relative; isolation: isolate; }
.diag-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; }
.diag .eyebrow { color: rgba(255,255,255,.8); }
.diag .eyebrow::before { background: var(--volt); }
.diag .title { color: #fff; margin-top: 20px; max-width: 15ch; }
.diag p { color: rgba(255,255,255,.82); margin-top: 18px; max-width: 46ch; }
.diag-cta { justify-self: end; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.diag-cta small { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: rgba(255,255,255,.75); text-transform: uppercase; }
.chevrons { position: absolute; right: -2vw; top: 50%; transform: translateY(-50%); width: min(46vw, 620px); z-index: -1; opacity: .16; color: #fff; }

/* Sobre + valores */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: start; }
.about .title { margin-top: 20px; max-width: 15ch; }
.about-text p { margin-top: 18px; max-width: 48ch; }
.rhino { margin-top: 40px; display: flex; align-items: center; gap: 18px; padding: 18px 22px; border-radius: var(--r); background: var(--paper-2); }
.rhino img { width: 58px; height: auto; }
.rhino p { margin: 0; font-size: 14.5px; }
.values-label { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.values { margin-top: 18px; border-top: 1px solid var(--line); }
.value { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.value .vl { font-family: var(--display); font-weight: 800; color: var(--blue); font-size: 20px; line-height: 1.2; transition: transform .5s var(--ease); }
.value:hover .vl { transform: translateY(-4px); }
.value h3 { font-size: clamp(1.15rem, 1.5vw, 1.4rem); letter-spacing: -0.03em; }
.value p { margin-top: 4px; font-size: 15px; }

/* FAQ */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq .title { margin-top: 20px; max-width: 11ch; }
.faq-side p { margin-top: 18px; max-width: 34ch; }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-family: var(--display); font-weight: 600; font-size: clamp(1.05rem, 1.4vw, 1.3rem); letter-spacing: -0.025em; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus { position: relative; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--paper-2); transition: background .4s, transform .5s var(--ease); }
.faq-plus::before, .faq-plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 2px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .5s var(--ease), background .4s; }
.faq-plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item[open] .faq-plus { background: var(--blue); transform: rotate(180deg); }
.faq-item[open] .faq-plus::before, .faq-item[open] .faq-plus::after { background: #fff; }
.faq-item[open] .faq-plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-body { overflow: hidden; }
.faq-body p { padding: 0 56px 26px 0; max-width: 64ch; }

/* CTA final */
.final { background: var(--ink); color: #fff; overflow: hidden; position: relative; isolation: isolate; text-align: center; }
.final::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(50rem 30rem at 50% 110%, rgba(21,70,224,.55), transparent 70%);
}
.final .title { margin: 24px auto 0; max-width: 15ch; font-size: clamp(2.4rem, 6vw, 6rem); }
.final p { margin: 22px auto 0; max-width: 40ch; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.final .btn { margin-top: 38px; }

/* Rodapé */
footer { background: #060d24; color: #fff; padding-top: clamp(64px, 7vw, 100px); overflow: hidden; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand img { height: 36px; width: auto; }
.foot-brand p { margin-top: 18px; color: rgba(255,255,255,.65); max-width: 30ch; }
.foot-h { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.foot-col ul { list-style: none; margin-top: 16px; display: grid; gap: 4px; }
.foot-col a { display: inline-block; padding: 6px 0; color: rgba(255,255,255,.82); transition: color .3s; }
.foot-col a:hover { color: var(--volt); }
.foot-bottom { margin-top: 56px; padding-block: 22px; border-top: 1px solid var(--line-inv); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,.55); }
.foot-bottom a { color: rgba(255,255,255,.75); text-decoration: underline; text-underline-offset: 3px; }
.foot-word { margin-top: 8px; padding-inline: var(--gutter); opacity: .06; }
.foot-word img { width: 100%; height: auto; transform: translateY(18%); }

/* Flutuantes */
.fab-group { position: fixed; right: 20px; bottom: 22px; z-index: 900; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 10px 30px -10px rgba(10,20,51,.45); transition: transform .4s var(--ease), opacity .4s; }
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab-wa { background: var(--zap); }
.fab-wa svg { width: 28px; height: 28px; fill: #fff; }
.fab-top { background: var(--ink); opacity: 0; pointer-events: none; transform: translateY(10px); width: 44px; height: 44px; }
.fab-top.visible { opacity: 1; pointer-events: auto; transform: none; }
.fab-top svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Cursor (só mouse) */
.cursor { position: fixed; left: 0; top: 0; z-index: 3000; pointer-events: none; display: none; opacity: 0; transition: opacity .3s; }
.cursor.live { opacity: 1; }
.cursor .c-dot, .cursor .c-ring { position: absolute; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor .c-dot { width: 7px; height: 7px; background: var(--blue); }
.cursor .c-ring { width: 36px; height: 36px; border: 1.5px solid rgba(21,70,224,.45); transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s; }
.cursor.hover .c-ring { width: 64px; height: 64px; background: rgba(21,70,224,.08); border-color: transparent; }
@media (hover: hover) and (pointer: fine) { .js .cursor { display: block; } }

/* ─── Animações de entrada ─────────────────────── */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.split .wm { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .wi { display: inline-block; }
.js .split .wi { transform: translateY(115%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--d, 0s) + var(--i) * 0.045s); }
.js .split.in .wi { transform: none; }

/* ─── Responsivo ──────────────────────────────── */
@media (max-width: 1100px) {
  .svc--wide { grid-template-columns: auto 1fr; }
  .svc--wide h3 { grid-row: 1; }
  .svc--wide p, .svc--wide .tags { grid-column: 2; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(3) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid var(--line); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 48px; }
  .steps-line { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-inner > .btn { display: none; }
  .ham { display: flex; }
  .how, .about, .faq, .diag-inner { grid-template-columns: 1fr; }
  .how-sticky { position: static; }
  .diag-cta { justify-self: start; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  .nav { top: 10px; }
  .nav-inner { height: 58px; padding-left: 16px; }
  .nav-logo img { height: 26px; }
  .nav-inner, .nav.scrolled .nav-inner { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(255,255,255,.96); }
  .ring-card > div, .ring-card.is-ink > div, .ring-card.is-blue > div { box-shadow: inset 0 0 0 1px var(--line); }
  .ring-card:nth-child(even) { display: none; }
  .hero { padding-bottom: 250px; }
  .hero-sub { background: none; padding: 0; }
  .hero-btns .btn { width: 100%; max-width: 340px; justify-content: space-between; }
  .ring-wrap { width: 330vw; height: 330vw; top: calc(100% - 175px); }
  .ring-card { width: 190px; transform: translate(-50%, -50%) rotate(var(--a)) translateY(-165vw); }
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 26px 0; border-left: 0; }
  .pillar + .pillar { border-top: 1px solid var(--line); }
  .pillar h3 { margin-top: 14px; }
  .bento { grid-template-columns: 1fr; }
  .svc--feature { grid-column: auto; }
  .svc--wide { display: flex; grid-column: auto; }
  .svc--wide .svc-top { flex-direction: row; justify-content: space-between; align-items: center; }
  .svc { min-height: 0; }
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding: 0; }
  .step h3 { margin-top: 10px; }
  .step p { grid-column: 2; }
  .diff-head { display: none; }
  .diff-row { grid-template-columns: 1fr; gap: 6px; }
  .diff-n, .diff-arrow { display: none; }
  .inline-cta { padding: 22px; }
  .inline-cta .btn { width: 100%; justify-content: space-between; }
  .foot-grid { grid-template-columns: 1fr; }
  .faq-body p { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .split .wi { opacity: 1 !important; transform: none !important; }
  .manifesto-quote .w, .manifesto-quote .w .volt { color: inherit; }
  .manifesto-quote .w .volt { color: var(--volt); }
  .cursor { display: none !important; }
}
