/* =========================================================================
   ADAPT ADS — folha de estilo única.
   Paleta e fundo animado herdados do projeto principal (Adapt Ads).
   Sem framework, sem build: edite e suba.
   ========================================================================= */

/* --- TOKENS -------------------------------------------------------------- */
:root {
  /* Paleta do projeto principal (HSL cru, para compor com alpha). */
  --bg-h: 222; --bg-s: 47%; --bg-l: 5%;

  --bg:            hsl(222 47% 5%);
  --bg-sunken:     hsl(222 45% 7%);
  --card:          hsl(222 40% 8%);
  --card-soft:     hsl(222 38% 10%);
  --fg:            hsl(0 0% 98%);
  --fg-muted:      hsl(220 10% 65%);
  --fg-faint:      hsl(220 10% 48%);

  --primary:       hsl(222 89% 42%);
  --primary-glow:  hsl(220 90% 55%);
  --accent:        hsl(210 100% 82%);
  --accent-soft:   hsl(215 100% 78%);

  --border:        hsl(222 30% 16%);
  --border-soft:   hsl(222 30% 13%);

  --danger:        hsl(0 72% 62%);

  --grad-primary: linear-gradient(135deg, hsl(222 89% 42%), hsl(220 90% 55%) 50%, hsl(230 80% 45%));
  --grad-text:    linear-gradient(135deg, hsl(220 95% 70%), hsl(215 100% 78%) 50%, hsl(210 100% 82%));
  --glow:         0 0 80px hsl(222 89% 50% / .45);

  --radius: .75rem;
  --radius-lg: 1.25rem;
  --radius-xl: 1.75rem;

  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "Space Grotesk", ui-monospace, monospace;
  --font-script: "Allura", cursive;

  --shell: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* Tema claro: mesma estrutura, fundo animado quase apagado. */
:root[data-theme="light"] {
  --bg:            hsl(222 30% 97%);
  --bg-sunken:     hsl(222 28% 94%);
  --card:          hsl(0 0% 100%);
  --card-soft:     hsl(222 30% 98%);
  --fg:            hsl(222 45% 11%);
  --fg-muted:      hsl(222 15% 38%);
  --fg-faint:      hsl(222 12% 52%);

  --primary:       hsl(222 89% 42%);
  --primary-glow:  hsl(220 90% 50%);
  --accent:        hsl(222 89% 38%);
  --accent-soft:   hsl(222 85% 45%);

  --border:        hsl(222 25% 87%);
  --border-soft:   hsl(222 25% 91%);

  --grad-text:    linear-gradient(135deg, hsl(222 89% 42%), hsl(220 90% 48%) 50%, hsl(215 95% 44%));
  --glow:         0 0 60px hsl(222 89% 50% / .18);
}

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

/* `clip` e não `hidden`: hidden no html faz o elemento virar contêiner de
   rolagem e quebra o `position: sticky` do cabeçalho. `clip` corta o que
   escapa (os halos de luz, a esteira) sem criar rolagem lateral. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Sem `overflow-x` aqui, e o motivo é uma barra de rolagem a mais: qualquer
   valor de overflow diferente de `visible` num eixo faz o outro eixo virar
   `auto`, e o body passa a ser um segundo contêiner de rolagem por cima do
   html — duas barras na tela. O corte horizontal já é feito pelo
   `overflow-x: clip` do html, que não cria contêiner nenhum. */
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .4s var(--ease), color .4s var(--ease);
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); letter-spacing: -.02em; }
em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--primary); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }

/* --- FUNDO ANIMADO (projeto principal) ----------------------------------- */
.bg {
  position: fixed; inset: 0; z-index: -10;
  pointer-events: none; overflow: hidden;
  background: var(--bg);
}
.bg__glows {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1000px 600px at 80% -10%, hsl(222 89% 50% / .22), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, hsl(210 100% 60% / .18), transparent 60%),
    radial-gradient(700px 500px at 50% 50%, hsl(222 89% 45% / .08), transparent 70%);
}
.bg__rain { position: absolute; inset: 0; opacity: .35; mix-blend-mode: screen; }
.bg__net  { position: absolute; inset: 0; opacity: .70; }
.bg__grid {
  position: absolute; inset: 0; opacity: .18;
  background-image:
    linear-gradient(hsl(222 89% 55% / .5) 1px, transparent 1px),
    linear-gradient(90deg, hsl(222 89% 55% / .5) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%);
}
.bg__scan {
  position: absolute; inset: 0; opacity: .06;
  background-image: repeating-linear-gradient(0deg, hsl(220 100% 80%) 0 1px, transparent 1px 3px);
}
.bg__vignette {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, hsl(222 47% 4% / .85) 100%);
}
:root[data-theme="light"] .bg__glows { opacity: .35; }
:root[data-theme="light"] .bg__rain { opacity: .06; }
:root[data-theme="light"] .bg__net { opacity: .18; }
:root[data-theme="light"] .bg__grid { opacity: .07; }
:root[data-theme="light"] .bg__scan { display: none; }
:root[data-theme="light"] .bg__vignette {
  background: radial-gradient(ellipse at center, transparent 55%, hsl(222 30% 88% / .6) 100%);
}

.grain {
  position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .022;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- LAYOUT -------------------------------------------------------------- */
.shell { width: min(100% - var(--gutter) * 2, var(--shell)); margin-inline: auto; }
.band { position: relative; isolation: isolate; }
.band--sunken { background: hsl(var(--bg-h) var(--bg-s) var(--bg-l) / .55); backdrop-filter: blur(6px); }
:root[data-theme="light"] .band--sunken { background: hsl(222 28% 94% / .72); }
.band--top { border-top: 1px solid var(--border-soft); }
.band--y { border-block: 1px solid var(--border-soft); }
.section { padding-block: clamp(4.5rem, 10vw, 8rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 4.5rem); }

.glow {
  position: absolute; z-index: -1; pointer-events: none;
  width: 42rem; aspect-ratio: 1; border-radius: 50%; filter: blur(90px);
  background: radial-gradient(circle, hsl(222 89% 50% / .20), transparent 68%);
}
.glow--a { top: -14rem; right: -10rem; }
.glow--b { bottom: -18rem; left: -12rem; background: radial-gradient(circle, hsl(210 100% 60% / .16), transparent 68%); }
.glow--c { top: 10%; left: -14rem; }
.glow--d { top: -8rem; right: -8rem; }
.glow--e { bottom: -10rem; left: 20%; }
.glow--f { top: -12rem; left: 50%; transform: translateX(-50%); }
.glow--g { bottom: -16rem; right: -8rem; }
:root[data-theme="light"] .glow { opacity: .55; }

/* --- TIPOGRAFIA AUXILIAR ------------------------------------------------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 1.1rem;
}
.eyebrow--brand { color: var(--accent); }

.section-head h2 { margin-top: .2rem; }
.split-head {
  display: grid; gap: 1.5rem 3rem;
  grid-template-columns: 1fr;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.split-head > p { color: var(--fg-muted); font-size: 1.02rem; max-width: 46ch; }
@media (min-width: 900px) {
  .split-head { grid-template-columns: 1.25fr 1fr; align-items: end; }
  .split-head > p { justify-self: end; }
}

.chip {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .64rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  padding: .34rem .7rem; border-radius: 999px;
  border: 1px solid var(--border); color: var(--fg-muted);
  background: hsl(var(--bg-h) 30% 12% / .6);
}
:root[data-theme="light"] .chip { background: #fff; }
.chip--brand { color: var(--accent); border-color: hsl(222 89% 50% / .4); background: hsl(222 89% 50% / .1); }

.link-underline { position: relative; }
.link-underline::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* --- BOTÕES -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .86rem;
  padding: .7rem 1.2rem; border-radius: 999px;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--lg { padding: .95rem 1.6rem; font-size: .95rem; }
.btn--full { width: 100%; }

.btn--primary {
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 8px 30px hsl(222 89% 45% / .35);
  position: relative; overflow: hidden;
}
.btn--primary::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 20%, hsl(0 0% 100% / .28) 50%, transparent 80%);
  transform: translateX(-120%);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px hsl(222 89% 45% / .5); }
.btn--primary:hover::after { animation: shine .9s var(--ease); }
@keyframes shine { to { transform: translateX(120%); } }

.btn--ghost { border-color: var(--border); color: var(--fg); background: hsl(var(--bg-h) 30% 12% / .5); }
:root[data-theme="light"] .btn--ghost { background: #fff; }
.btn--ghost:hover { transform: translateY(-2px); border-color: hsl(222 89% 50% / .55); color: var(--accent); }

.icon-btn {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; border-radius: 999px;
  border: 1px solid var(--border); color: var(--fg-muted);
  background: hsl(var(--bg-h) 30% 12% / .5);
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
:root[data-theme="light"] .icon-btn { background: #fff; }
.icon-btn svg { width: 1.15rem; height: 1.15rem; }
.icon-btn:hover { color: var(--accent); border-color: hsl(222 89% 50% / .5); transform: translateY(-1px); }

/* --- LOGO ---------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: .6rem; }
.logo__mark {
  position: relative; display: grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: .6rem;
  background: var(--grad-primary);
  box-shadow: 0 6px 18px hsl(222 89% 45% / .45);
  flex: none;
}
.logo__mark--lg { width: 3.4rem; height: 3.4rem; border-radius: 1rem; }
.logo__glyph {
  font-family: var(--font-display); font-weight: 900; font-size: .9rem;
  color: #fff; line-height: 1; letter-spacing: -.02em;
}
.logo__mark--lg .logo__glyph { font-size: 1.6rem; }
/* Anel que pulsa em volta da marca — a parte "animada" da logo no header. */
.logo__ring {
  position: absolute; inset: -3px; border-radius: inherit;
  border: 1px solid hsl(220 95% 70% / .75);
  animation: ringPulse 2.8s var(--ease) infinite;
}
@keyframes ringPulse {
  0%   { transform: scale(1);    opacity: .85; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.logo__text {
  display: inline-flex; gap: .3rem;
  font-family: var(--font-display); font-weight: 800; font-size: 1.02rem;
  letter-spacing: -.02em;
}
.logo__text span:last-child { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo--lg .logo__mark { width: 2.6rem; height: 2.6rem; }
.logo--lg .logo__text { font-size: 1.3rem; }
.logo--lg .logo__glyph { font-size: 1.15rem; }

/* --- NAV ----------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 60;
  transition: background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: hsl(var(--bg-h) var(--bg-s) var(--bg-l) / .78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border-soft);
}
:root[data-theme="light"] .nav.is-stuck { background: hsl(222 30% 97% / .82); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: .95rem; }
.nav__links { display: none; gap: 2rem; }
.nav__link { font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--fg-muted); transition: color .25s var(--ease); }
.nav__link:hover { color: var(--fg); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__cta { display: none; }
@media (min-width: 900px) {
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__burger { display: none; }
}

.theme-toggle {
  position: relative; width: 3.4rem; height: 1.85rem; border-radius: 999px;
  border: 1px solid var(--border); background: hsl(var(--bg-h) 30% 12% / .5);
  flex: none;
}
:root[data-theme="light"] .theme-toggle { background: #fff; }
.theme-toggle__pill {
  position: absolute; top: 3px; left: 3px;
  width: 1.4rem; height: 1.4rem; border-radius: 999px;
  background: var(--grad-primary);
  transition: transform .4s var(--ease);
}
:root[data-theme="light"] .theme-toggle__pill { transform: translateX(1.5rem); }
.theme-toggle__icons { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding-inline: .42rem; }
.theme-toggle__icons svg { width: .82rem; height: .82rem; color: var(--fg-faint); position: relative; z-index: 1; }

/* --- DRAWER -------------------------------------------------------------- */
.drawer {
  position: fixed; inset: 0; z-index: 80;
  background: hsl(var(--bg-h) var(--bg-s) 4% / .96);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease);
}
:root[data-theme="light"] .drawer { background: hsl(222 30% 97% / .97); }
.drawer.is-open { opacity: 1; pointer-events: auto; }
.drawer[hidden] { display: flex; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding-block: .95rem; border-bottom: 1px solid var(--border-soft); }
.drawer__body { padding-block: 2.5rem; display: grid; gap: 2rem; }
.drawer__list { display: grid; gap: .4rem; }
.drawer__list a {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.9rem; letter-spacing: -.02em; padding-block: .5rem;
  opacity: 0; transform: translateY(14px);
}
.drawer.is-open .drawer__list a { animation: drawerIn .5s var(--ease) forwards; }
.drawer.is-open .drawer__list li:nth-child(1) a { animation-delay: .05s; }
.drawer.is-open .drawer__list li:nth-child(2) a { animation-delay: .10s; }
.drawer.is-open .drawer__list li:nth-child(3) a { animation-delay: .15s; }
.drawer.is-open .drawer__list li:nth-child(4) a { animation-delay: .20s; }
.drawer.is-open .drawer__list li:nth-child(5) a { animation-delay: .25s; }
@keyframes drawerIn { to { opacity: 1; transform: none; } }

/* --- REVEAL --------------------------------------------------------------
   Sem JavaScript o conteúdo aparece inteiro: a animação é enfeite, o texto
   não é. A classe no-js sai no primeiro script do <head>. */
.no-js .reveal { opacity: 1; transform: none; }
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.is-visible {
  animation: revealUp .85s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes revealUp { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none !important; }
}

/* --- HERO ---------------------------------------------------------------- */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(4rem, 9vw, 7rem); }
.hero__grid { display: grid; gap: clamp(3rem, 6vw, 4.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { margin-bottom: 1.5rem; }
.hero__sub { color: var(--fg-muted); font-size: clamp(1rem, 1.35vw, 1.1rem); max-width: 52ch; margin-bottom: 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.2rem; }
.hero__partners { display: flex; flex-wrap: wrap; align-items: center; gap: 1.4rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--border-soft); margin-bottom: 1.4rem; }
.hero__partner { display: grid; }
.hero__partner strong { font-size: .88rem; font-weight: 700; }
.hero__partner span { font-size: .76rem; color: var(--fg-faint); }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: .45rem; font-size: .8rem; color: var(--fg-muted); }
.hero__trust svg { width: 1rem; height: 1rem; color: var(--accent); }

/* Painel 3D com paralaxe --------------------------------------------------- */
.dash3d { perspective: 1400px; }
.dash3d__stage {
  position: relative;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg));
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
  animation: bobA 9s ease-in-out infinite;
}
@keyframes bobA { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.dash3d__panel {
  position: relative;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--card), var(--card-soft));
  box-shadow: 0 40px 90px hsl(222 60% 2% / .6), var(--glow);
  padding: 1.4rem;
  transform: translateZ(0);
}
:root[data-theme="light"] .dash3d__panel { box-shadow: 0 30px 70px hsl(222 40% 60% / .25); }
.dash3d__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.3rem; }
.dash3d__title { font-family: var(--font-mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-muted); }
.dash3d__pill {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: hsl(140 70% 62%); padding: .26rem .6rem; border-radius: 999px;
  border: 1px solid hsl(140 60% 45% / .35); background: hsl(140 60% 40% / .12);
}
.dash3d__pill i { width: .4rem; height: .4rem; border-radius: 999px; background: currentColor; animation: blip 1.6s ease-in-out infinite; }
@keyframes blip { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

.dash3d__bars { display: flex; align-items: flex-end; gap: .5rem; height: 9.5rem; margin-bottom: 1.3rem; }
.dash3d__bars span {
  flex: 1; border-radius: .4rem .4rem .2rem .2rem;
  background: var(--grad-primary);
  transform-origin: bottom; transform: scaleY(0);
  animation: grow .9s var(--ease) forwards;
  box-shadow: 0 0 18px hsl(222 89% 50% / .35);
}
.dash3d__bars span:nth-child(1) { animation-delay: .35s; }
.dash3d__bars span:nth-child(2) { animation-delay: .43s; }
.dash3d__bars span:nth-child(3) { animation-delay: .51s; }
.dash3d__bars span:nth-child(4) { animation-delay: .59s; }
.dash3d__bars span:nth-child(5) { animation-delay: .67s; }
.dash3d__bars span:nth-child(6) { animation-delay: .75s; }
.dash3d__bars span:nth-child(7) { animation-delay: .83s; }
@keyframes grow { to { transform: scaleY(1); } }

.dash3d__foot { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--border-soft); }
.dash3d__k { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-faint); }
.dash3d__v { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; }
.dash3d__v.brand, .brand { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.dash3d__float {
  position: absolute; z-index: 2;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: hsl(var(--bg-h) 40% 9% / .92);
  backdrop-filter: blur(10px);
  padding: .65rem .9rem;
  box-shadow: 0 18px 40px hsl(222 60% 2% / .55);
}
:root[data-theme="light"] .dash3d__float { background: hsl(0 0% 100% / .95); box-shadow: 0 14px 34px hsl(222 40% 60% / .2); }
.dash3d__float .k { font-family: var(--font-mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-faint); }
.dash3d__float .v { font-family: var(--font-display); font-weight: 800; font-size: .98rem; }
.dash3d__float--a { top: -1.2rem; right: -.6rem; transform: translateZ(60px); animation: bobB 7s ease-in-out infinite; }
.dash3d__float--b { bottom: 2.5rem; left: -1.8rem; transform: translateZ(80px); animation: bobB 8.5s ease-in-out infinite .6s; }
.dash3d__float--c { bottom: -1.4rem; right: 1.5rem; transform: translateZ(45px); animation: bobB 9.5s ease-in-out infinite 1.2s; }
@keyframes bobB { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@media (max-width: 560px) {
  .dash3d__float--b { left: -.4rem; }
  .dash3d__float--a { right: -.2rem; }
}

/* --- BENTO (números) ----------------------------------------------------- */
.bento { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 680px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .bento { grid-template-columns: repeat(4, 1fr); } .bento__tile--hero { grid-column: span 2; } }

.bento__tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--card), var(--card-soft));
  padding: 1.6rem;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.bento__tile:hover { transform: translateY(-4px); border-color: hsl(222 89% 50% / .45); box-shadow: 0 20px 50px hsl(222 60% 2% / .45); }
:root[data-theme="light"] .bento__tile:hover { box-shadow: 0 18px 40px hsl(222 40% 60% / .2); }
.bento__tile--accent { border-color: hsl(222 89% 50% / .4); background: linear-gradient(160deg, hsl(222 60% 12%), var(--card)); }
:root[data-theme="light"] .bento__tile--accent { background: linear-gradient(160deg, hsl(222 60% 96%), #fff); }

.bento__viz { display: flex; align-items: flex-end; gap: .35rem; height: 4.5rem; margin-bottom: 1.2rem; opacity: .85; }
.bento__viz span {
  flex: 1; border-radius: .25rem; background: var(--grad-primary);
  transform-origin: bottom; transform: scaleY(0);
  animation: grow .8s var(--ease) forwards;
}
.bento__viz span:nth-child(1) { animation-delay: .1s; }
.bento__viz span:nth-child(2) { animation-delay: .17s; }
.bento__viz span:nth-child(3) { animation-delay: .24s; }
.bento__viz span:nth-child(4) { animation-delay: .31s; }
.bento__viz span:nth-child(5) { animation-delay: .38s; }
.bento__viz span:nth-child(6) { animation-delay: .45s; }
.bento__viz span:nth-child(7) { animation-delay: .52s; }

.bento__v { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.2rem, 4vw, 3rem); letter-spacing: -.045em; line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bento__k { font-weight: 700; font-size: .95rem; margin-top: .6rem; }
.bento__d { color: var(--fg-faint); font-size: .84rem; }

/* --- MARQUEE ------------------------------------------------------------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--border-soft);
  background: hsl(var(--bg-h) 40% 8% / .5);
  padding-block: 1rem;
}
:root[data-theme="light"] .marquee { background: hsl(0 0% 100% / .6); }
.marquee__track { display: flex; gap: 3rem; width: max-content; animation: slide 34s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item {
  display: inline-flex; align-items: center; gap: 3rem;
  font-family: var(--font-mono); font-size: .74rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--fg-faint);
  white-space: nowrap;
}
.marquee__item::after { content: ""; width: .32rem; height: .32rem; border-radius: 999px; background: var(--accent); }

/* --- SHOWDOWN ------------------------------------------------------------ */
.showdown { position: relative; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .showdown { grid-template-columns: 1fr 1fr; gap: 1.5rem; } }
.showdown__vs {
  position: absolute; z-index: 3; top: 50%; left: 50%; translate: -50% -50%;
  display: grid; place-items: center;
  width: 3.4rem; height: 3.4rem; border-radius: 999px;
  font-family: var(--font-display); font-weight: 900; font-size: .88rem; letter-spacing: .04em;
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 0 0 6px var(--bg), 0 10px 30px hsl(222 89% 45% / .5);
  animation: vsPulse 3s ease-in-out infinite;
}
@keyframes vsPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@media (max-width: 899px) { .showdown__vs { display: none; } }

.sd { border-radius: var(--radius-lg); border: 1px solid var(--border); padding: 1.8rem; background: linear-gradient(160deg, var(--card), var(--card-soft)); }
.sd--them { opacity: .82; }
.sd--us { border-color: hsl(222 89% 50% / .45); box-shadow: 0 0 60px hsl(222 89% 50% / .12) inset; }
.sd__label { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: .5rem; }
.sd--us .sd__label { color: var(--accent); }
.sd__title { margin-bottom: 1.4rem; }
.sd__list { display: grid; gap: .85rem; }
.sd__list li { display: flex; gap: .7rem; font-size: .9rem; color: var(--fg-muted); line-height: 1.5; }
.sd__ico { display: grid; place-items: center; flex: none; width: 1.3rem; height: 1.3rem; border-radius: 999px; margin-top: .1rem; }
.sd__ico svg { width: .85rem; height: .85rem; }
.sd--them .sd__ico { background: hsl(0 60% 45% / .16); color: var(--danger); }
.sd--us .sd__ico { background: hsl(222 89% 50% / .18); color: var(--accent); }
.sd__foot { margin-top: 1.5rem; padding-top: 1.1rem; border-top: 1px solid var(--border-soft); font-size: .84rem; color: var(--fg-faint); }
.sd--us .sd__foot { color: var(--accent); font-weight: 600; }

.trust-row { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); margin-top: 2.5rem; }
@media (min-width: 820px) { .trust-row { grid-template-columns: repeat(4, 1fr); } .trust-row--3 { grid-template-columns: repeat(3, 1fr); } }
.trust-row__item { text-align: center; padding: 1.2rem .8rem; border-radius: var(--radius); border: 1px solid var(--border-soft); background: hsl(var(--bg-h) 40% 8% / .45); }
:root[data-theme="light"] .trust-row__item { background: hsl(0 0% 100% / .7); }
.trust-row__item strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.trust-row__item span { font-size: .76rem; color: var(--fg-faint); }

/* --- FLOW + FASES -------------------------------------------------------- */
.flow { position: relative; height: 2.5rem; margin-bottom: 1.5rem; }
.flow__rail { position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--border); }
.flow__fill { position: absolute; top: 50%; left: 0; height: 2px; width: 0; background: var(--grad-primary); animation: runRail 3.4s var(--ease) forwards .3s; }
@keyframes runRail { to { width: 100%; } }
.flow__pulse {
  position: absolute; top: 50%; translate: -50% -50%;
  width: .55rem; height: .55rem; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 14px 4px hsl(220 95% 70% / .6);
  animation: beam 3.4s var(--ease) forwards .3s;
}
@keyframes beam { from { left: 0; } to { left: 100%; } }
.flow__dot {
  position: absolute; top: 50%; translate: -50% -50%;
  width: .7rem; height: .7rem; border-radius: 999px;
  background: var(--bg); border: 2px solid var(--primary-glow);
  animation: pulse 2.4s ease-in-out infinite;
}
.flow__dot:nth-of-type(3) { animation-delay: .3s; }
.flow__dot:nth-of-type(4) { animation-delay: .6s; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 hsl(220 90% 55% / .5); } 50% { box-shadow: 0 0 0 7px hsl(220 90% 55% / 0); } }

.phases { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .phases { grid-template-columns: repeat(3, 1fr); } }
.phase {
  height: 100%;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--card), var(--card-soft));
  padding: 1.7rem;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.phase:hover { transform: translateY(-5px); border-color: hsl(222 89% 50% / .45); }
.phase__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.phase__num {
  display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: .7rem;
  font-family: var(--font-display); font-weight: 900; font-size: .85rem;
  background: var(--grad-primary); color: #fff;
  box-shadow: 0 6px 18px hsl(222 89% 45% / .4);
}
.phase__dur { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-faint); }
.phase h3 { margin-bottom: .7rem; }
.phase > p { color: var(--fg-muted); font-size: .88rem; margin-bottom: 1.3rem; }
.phase__list { display: grid; gap: .6rem; padding-top: 1.1rem; border-top: 1px solid var(--border-soft); }
.phase__list li { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--fg-muted); }
.phase__list svg { width: .95rem; height: .95rem; flex: none; color: var(--accent); stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- ALIANÇA ------------------------------------------------------------- */
.alliance {
  display: grid; gap: 1rem; align-items: center; justify-items: center;
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}
@media (min-width: 820px) { .alliance { grid-template-columns: 1fr auto 1.2fr auto 1fr; gap: 1.5rem; } }

.alliance__node { display: grid; justify-items: center; text-align: center; gap: .55rem; }
.alliance__plate {
  display: grid; place-items: center;
  width: 5.2rem; height: 5.2rem; border-radius: 1.3rem;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--card), var(--card-soft));
  box-shadow: 0 16px 40px hsl(222 60% 2% / .4);
  animation: float 6s ease-in-out infinite;
}
:root[data-theme="light"] .alliance__plate { box-shadow: 0 14px 34px hsl(222 40% 60% / .18); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.alliance__node--tt .alliance__plate { animation-delay: 1.2s; }
.alliance__plate--core {
  width: 6.6rem; height: 6.6rem; border-radius: 1.7rem;
  border-color: hsl(222 89% 50% / .55);
  box-shadow: 0 0 60px hsl(222 89% 50% / .35), 0 20px 50px hsl(222 60% 2% / .5);
  animation: coreGlow 3.4s ease-in-out infinite;
}
@keyframes coreGlow {
  0%, 100% { box-shadow: 0 0 40px hsl(222 89% 50% / .28), 0 20px 50px hsl(222 60% 2% / .5); }
  50%      { box-shadow: 0 0 80px hsl(222 89% 50% / .55), 0 20px 50px hsl(222 60% 2% / .5); }
}
.alliance__abbr { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--fg-muted); }
.alliance__abbr--tt { font-size: .92rem; color: var(--fg); }
.alliance__name { font-weight: 700; font-size: .92rem; }
.alliance__role { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .13em; text-transform: uppercase; color: var(--fg-faint); }

.alliance__link { position: relative; width: 100%; height: 1px; background: var(--border); overflow: visible; }
@media (max-width: 819px) { .alliance__link { width: 1px; height: 2.5rem; justify-self: center; } }
.alliance__beam {
  position: absolute; top: 50%; left: 0; translate: -50% -50%;
  width: .45rem; height: .45rem; border-radius: 999px; background: var(--accent);
  box-shadow: 0 0 12px 3px hsl(220 95% 70% / .6);
  animation: beam 2.6s linear infinite;
}
.alliance__link--rev .alliance__beam { animation-name: beamRev; }
@keyframes beamRev { from { left: 100%; } to { left: 0; } }
@media (max-width: 819px) {
  .alliance__beam { left: 50%; top: 0; translate: -50% -50%; animation-name: beamV; }
  .alliance__link--rev .alliance__beam { animation-name: beamV; }
  @keyframes beamV { from { top: 0; } to { top: 100%; } }
}

.partners__grid { display: grid; gap: 1.2rem; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .partners__grid { grid-template-columns: 1fr auto 1fr; } }
.partner-card { height: 100%; border-radius: var(--radius-lg); border: 1px solid var(--border); background: linear-gradient(160deg, var(--card), var(--card-soft)); padding: 1.7rem; }
.partner-card--brand { border-color: hsl(222 89% 50% / .45); }
.partner-card__eyebrow { font-family: var(--font-mono); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: .5rem; }
.partner-card--brand .partner-card__eyebrow { color: var(--accent); }
.partner-card h3 { margin-bottom: .8rem; }
.partner-card > p { color: var(--fg-muted); font-size: .88rem; margin-bottom: 1.3rem; }
.partner-card__list { display: grid; gap: .55rem; padding-top: 1.1rem; border-top: 1px solid var(--border-soft); }
.partner-card__list li { display: flex; align-items: center; gap: .6rem; font-size: .82rem; color: var(--fg-muted); }
.partner-card__list svg { width: .95rem; height: .95rem; flex: none; color: var(--accent); stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.partner-link { position: relative; display: grid; place-items: center; min-height: 2.5rem; }
.partner-link::before { content: ""; position: absolute; inset: auto 0 auto 0; height: 1px; background: var(--border); }
@media (max-width: 899px) { .partner-link::before { inset: 0 auto 0 auto; width: 1px; height: 100%; } }
.partner-link__beam { position: absolute; width: .45rem; height: .45rem; border-radius: 999px; background: var(--accent); box-shadow: 0 0 12px 3px hsl(220 95% 70% / .6); animation: dashFloat 2.4s linear infinite; }
@keyframes dashFloat { 0% { left: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { left: 100%; opacity: 0; } }

/* --- DEPOIMENTOS --------------------------------------------------------- */
.tst__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.tst__arrows { display: flex; gap: .5rem; flex: none; }
.tst__rail { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; padding-inline: max(var(--gutter), calc((100vw - var(--shell)) / 2)); padding-block: .5rem 1.5rem; }
.tst__rail::-webkit-scrollbar { display: none; }
.tst__track { display: flex; gap: 1rem; width: max-content; }
.tst__card {
  scroll-snap-align: start;
  width: min(88vw, 23rem); flex: none;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--card), var(--card-soft));
  padding: 1.6rem;
  display: grid; gap: 1rem; align-content: start;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.tst__card:hover { transform: translateY(-4px); border-color: hsl(222 89% 50% / .45); }
.tst__stars { display: flex; gap: .2rem; }
.tst__stars svg { width: .9rem; height: .9rem; color: var(--accent); }
.tst__card blockquote { font-size: .92rem; color: var(--fg-muted); line-height: 1.6; }
.tst__card blockquote::before { content: "\201C"; }
.tst__card blockquote::after { content: "\201D"; }
.tst__card figcaption { display: grid; gap: .1rem; padding-top: .9rem; border-top: 1px solid var(--border-soft); }
.tst__card figcaption strong { font-size: .88rem; }
.tst__card figcaption span { font-size: .78rem; color: var(--fg-faint); }
.tst__card figcaption em { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); background: none; -webkit-text-fill-color: currentColor; margin-top: .3rem; }
.tst__progress { height: 2px; background: var(--border); border-radius: 999px; overflow: hidden; }
.tst__progress span { display: block; height: 100%; width: 20%; background: var(--grad-primary); border-radius: 999px; transition: width .3s var(--ease), transform .3s var(--ease); }

/* --- CTA ----------------------------------------------------------------- */
.cta__inner { text-align: center; max-width: 46rem; margin-inline: auto; }
.cta__inner h2 { margin-bottom: 1.2rem; }
.cta__inner > p { color: var(--fg-muted); margin-bottom: 2rem; }
.cta__btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-bottom: 1.2rem; }
.cta__mail { font-size: .86rem; color: var(--fg-faint); }
.cta__mail a { color: var(--accent); }
.cta__mail a:hover { text-decoration: underline; }

/* --- ASSINATURA ANIMADA (logo escrita à mão) ----------------------------- */
.signature { position: relative; display: inline-block; margin-top: 3rem; color: var(--fg); }
.signature__text {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(2.6rem, 8vw, 4.4rem);
  line-height: 1; letter-spacing: .005em; padding-bottom: .05em;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 2800ms cubic-bezier(.77, 0, .18, 1) 1100ms;
  user-select: none;
}
.signature.is-drawn .signature__text {
  clip-path: inset(0 0 0 0);
  transition: clip-path 2800ms cubic-bezier(.77, 0, .18, 1) 0ms;
}
.signature__dot {
  position: absolute; top: 46%; translate: 0 -50%;
  width: .38rem; height: .38rem; border-radius: 999px;
  background: currentColor; box-shadow: 0 0 10px hsl(0 0% 100% / .6);
  left: 0; opacity: 1;
  transition: left 2800ms cubic-bezier(.77, 0, .18, 1) 1100ms, opacity 300ms ease 1100ms;
}
.signature.is-drawn .signature__dot {
  left: 100%; opacity: 0;
  transition: left 2800ms cubic-bezier(.77, 0, .18, 1) 0ms, opacity 300ms ease 2600ms;
}
.signature__rule { display: block; margin: -.6rem auto 0; width: min(16rem, 70vw); height: 1.25rem; }
.signature__rule path {
  stroke-dasharray: 360; stroke-dashoffset: 360;
  transition: stroke-dashoffset 1100ms ease-in 0ms;
}
.signature.is-drawn .signature__rule path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1100ms ease-out 2600ms;
}

/* --- FOOTER -------------------------------------------------------------- */
.footer { position: relative; border-top: 1px solid var(--border-soft); background: hsl(var(--bg-h) 45% 4% / .6); }
:root[data-theme="light"] .footer { background: hsl(222 28% 94% / .7); }
.footer__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; margin-bottom: 3rem; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; } }
.footer__brand p { color: var(--fg-muted); font-size: .86rem; margin: 1rem 0 1.4rem; max-width: 34ch; }
.footer h2 { font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-faint); margin-bottom: 1rem; }
.footer__list, .footer__contact { display: grid; gap: .6rem; }
.footer__list a, .footer__contact a { font-size: .86rem; color: var(--fg-muted); transition: color .25s var(--ease); }
.footer__list a:hover, .footer__contact a:hover { color: var(--accent); }
.footer__contact li { display: flex; align-items: center; gap: .6rem; font-size: .86rem; color: var(--fg-muted); }
.footer__contact svg { width: 1rem; height: 1rem; flex: none; color: var(--accent); }
/* --- Endereço no rodapé --------------------------------------------------- */
/* O item do endereço tem três linhas, então o ícone alinha pelo TOPO, e não
   pelo centro como os de uma linha só. */
.footer__contact--multi { align-items: flex-start !important; }
.footer__contact--multi svg { margin-top: .28rem; }

.footer__address {
  font-style: normal;          /* o <address> vem em itálico por padrão */
  font-size: .82rem;
  line-height: 1.5;
  color: var(--fg-muted);
}

.footer__bottom { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: space-between; padding-top: 1.6rem; border-top: 1px solid var(--border-soft); }
.footer__bottom p { font-size: .76rem; color: var(--fg-faint); }

/* --- MOVIMENTO REDUZIDO -------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .signature__text { clip-path: inset(0 0 0 0); }
  .signature__rule path { stroke-dashoffset: 0; }
  .signature__dot { display: none; }
}

/* =========================================================================
   SEÇÃO MEGA DIGITAL — parceiro de infraestrutura.
   O vermelho da marca deles entra só como sotaque, contra o azul nosso: é o
   que faz a seção saltar sem brigar com o resto da página.
   ========================================================================= */
:root {
  --mega: #e3242b;          /* vermelho da marca Mega Digital */
  --mega-soft: #ff5a5f;
}

.mega { position: relative; overflow: hidden; }
.glow--mega {
  top: -12rem; left: 50%; transform: translateX(-50%);
  width: 52rem;
  background: radial-gradient(circle, hsl(358 78% 52% / .16), transparent 66%);
}
.eyebrow--mega { color: var(--mega-soft); }
.em--mega {
  background: linear-gradient(135deg, var(--mega-soft), #ff8a8d 55%, #ffb3b5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* --- Placa da marca ------------------------------------------------------ */
.mega__hero {
  display: grid; gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: 1fr; align-items: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: var(--radius-xl);
  border: 1px solid hsl(358 60% 50% / .32);
  background:
    radial-gradient(60rem 22rem at 12% -30%, hsl(358 78% 50% / .12), transparent 62%),
    linear-gradient(160deg, var(--card), var(--card-soft));
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
@media (min-width: 880px) { .mega__hero { grid-template-columns: auto 1fr; } }

.mega__plate {
  position: relative; display: grid; place-items: center;
  width: clamp(9rem, 20vw, 12rem); aspect-ratio: 1;
  justify-self: center;
}
.mega__plate img {
  width: 58%; height: auto; border-radius: 1.4rem;
  animation: megaBreathe 3.6s ease-in-out infinite;
}
@keyframes megaBreathe {
  0%, 100% { box-shadow: 0 18px 46px hsl(358 78% 30% / .45), 0 0 0 0 hsl(358 78% 50% / .35); }
  50%      { box-shadow: 0 18px 46px hsl(358 78% 30% / .6),  0 0 46px 6px hsl(358 78% 50% / .35); }
}

/* Dois anéis em órbita, em sentidos opostos e velocidades diferentes: a
   leitura de sistema em funcionamento vem do contraponto, não da volta. */
.mega__orbit {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid hsl(358 70% 55% / .38);
  border-top-color: hsl(358 90% 62% / .95);
  border-right-color: transparent;
  animation: megaOrbit 7s linear infinite;
}
.mega__orbit--2 {
  inset: 12%;
  border-color: hsl(358 70% 55% / .22);
  border-bottom-color: hsl(0 0% 100% / .55);
  border-left-color: transparent;
  animation-duration: 4.5s;
  animation-direction: reverse;
}
@keyframes megaOrbit { to { transform: rotate(360deg); } }

.mega__status {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-size: .64rem; font-weight: 600;
  letter-spacing: .15em; text-transform: uppercase;
  padding: .36rem .8rem; border-radius: 999px; margin-bottom: 1rem;
  color: var(--mega-soft);
  border: 1px solid hsl(358 70% 55% / .45);
  background: hsl(358 78% 50% / .1);
}
.mega__status i {
  width: .42rem; height: .42rem; border-radius: 999px; background: currentColor;
  animation: blip 1.8s ease-in-out infinite;
}
/* Depois da aprovação: troque o texto e acrescente esta classe. */
.mega__status.is-live {
  color: hsl(140 70% 62%);
  border-color: hsl(140 60% 45% / .45);
  background: hsl(140 60% 40% / .12);
}

.mega__intro h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .4rem; }
.mega__tagline { color: var(--mega-soft); font-weight: 600; font-size: .95rem; margin-bottom: .9rem; }
.mega__intro > p { color: var(--fg-muted); font-size: .92rem; max-width: 60ch; }

.mega__stats {
  display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr);
  margin-top: 1.8rem; padding-top: 1.5rem; border-top: 1px solid var(--border-soft);
}
.mega__stat strong {
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2rem); letter-spacing: -.04em; line-height: 1;
  background: linear-gradient(135deg, var(--mega-soft), #ffb3b5);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mega__stat span { font-size: .74rem; color: var(--fg-faint); }

/* --- O SISTEMA: esteira de etapas com pulsos ----------------------------- */
.pipe {
  display: grid; gap: .75rem; align-items: stretch;
  grid-template-columns: 1fr;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
@media (min-width: 1000px) {
  .pipe { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; gap: .5rem; }
}

.pipe__node { position: relative; display: grid; }
.pipe__badge {
  position: absolute; z-index: 2; top: -.6rem; left: 1rem;
  font-family: var(--font-mono); font-size: .58rem; font-weight: 700;
  letter-spacing: .12em;
  padding: .18rem .5rem; border-radius: 999px;
  background: var(--grad-primary); color: #fff;
}
.pipe__node--mega .pipe__badge { background: linear-gradient(135deg, var(--mega), var(--mega-soft)); }

.pipe__box {
  height: 100%; display: grid; align-content: center; gap: .25rem;
  padding: 1.3rem 1.1rem;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--card), var(--card-soft));
  text-align: center;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.pipe__box:hover { transform: translateY(-4px); }
.pipe__node--us .pipe__box { border-color: hsl(222 89% 50% / .5); box-shadow: 0 0 44px hsl(222 89% 50% / .14) inset; }
.pipe__node--mega .pipe__box { border-color: hsl(358 70% 55% / .5); box-shadow: 0 0 44px hsl(358 78% 50% / .14) inset; }
.pipe__mark, .pipe__logo { justify-self: center; margin-bottom: .5rem; }
.pipe__logo { width: 2rem; height: 2rem; border-radius: .55rem; box-shadow: 0 6px 16px hsl(358 78% 30% / .5); }
.pipe__t { font-family: var(--font-display); font-weight: 800; font-size: .98rem; letter-spacing: -.02em; }
.pipe__d { font-size: .74rem; color: var(--fg-faint); }

/* O fio entre as caixas. Dois pulsos defasados dão a sensação de fluxo
   contínuo sem precisar de um terceiro. Param quando o ponteiro entra. */
.pipe__wire { position: relative; align-self: center; height: 1px; min-width: 2.5rem; background: var(--border); }
.pipe__pulse {
  position: absolute; top: 50%; translate: -50% -50%;
  width: .42rem; height: .42rem; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px 3px hsl(220 95% 70% / .65);
  animation: pipeRun 2.6s linear infinite;
}
.pipe__pulse--2 {
  animation-delay: 1.3s;
  background: var(--mega-soft);
  box-shadow: 0 0 12px 3px hsl(358 90% 62% / .6);
}
@keyframes pipeRun { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 100%; opacity: 0; } }
@keyframes pipeRunV { 0% { top: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@media (max-width: 999px) {
  .pipe__wire { width: 1px; height: 1.75rem; min-width: 0; justify-self: center; }
  .pipe__pulse { left: 50%; top: 0; translate: -50% -50%; animation-name: pipeRunV; }
}
.pipe:hover .pipe__pulse { animation-play-state: paused; }

/* --- Cartões de capacidade ---------------------------------------------- */
.mega__grid { display: grid; gap: 1rem; grid-template-columns: 1fr; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
@media (min-width: 680px) { .mega__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mega__grid { grid-template-columns: repeat(3, 1fr); } }

.mcard {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(160deg, var(--card), var(--card-soft));
  padding: 1.5rem;
  transition: transform .4s var(--ease), border-color .4s var(--ease);
}
.mcard::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, hsl(358 90% 62% / .12) 50%, transparent 70%);
  transform: translateX(-130%);
}
.mcard:hover { transform: translateY(-5px); border-color: hsl(358 70% 55% / .45); }
.mcard:hover::after { animation: shine 1s var(--ease); }
.mcard__ico {
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; border-radius: .75rem; margin-bottom: 1rem;
  color: var(--mega-soft);
  border: 1px solid hsl(358 70% 55% / .4);
  background: hsl(358 78% 50% / .12);
}
.mcard__ico svg { width: 1.2rem; height: 1.2rem; }
.mcard h3 { font-size: 1.02rem; margin-bottom: .5rem; }
.mcard p { font-size: .85rem; color: var(--fg-muted); }

/* --- Passo a passo ------------------------------------------------------- */
.steps { margin-bottom: clamp(2rem, 4vw, 3rem); }
.steps__head {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--fg-faint); margin-bottom: 1.2rem;
}
.steps__rail { position: relative; height: 2px; background: var(--border); border-radius: 999px; overflow: hidden; margin-bottom: 1.3rem; }
.steps__fill {
  position: absolute; inset: 0 auto 0 0; width: 0;
  background: linear-gradient(90deg, var(--primary), var(--primary-glow) 45%, var(--mega-soft));
  animation: stepFill 3.2s var(--ease) forwards .4s;
}
@keyframes stepFill { to { width: 100%; } }

.steps__list { display: grid; gap: .8rem; grid-template-columns: 1fr; }
/* Cinco colunas só quando há largura para elas. Antes disso o texto de cada
   passo quebra em quatro linhas e o passo a passo deixa de se ler como um. */
@media (min-width: 560px) { .steps__list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 820px) { .steps__list { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .steps__list { grid-template-columns: repeat(5, 1fr); } }
.steps__list li {
  display: grid; gap: .2rem; align-content: start;
  padding: 1rem;
  border-radius: var(--radius); border: 1px solid var(--border-soft);
  background: hsl(var(--bg-h) 40% 8% / .45);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
:root[data-theme="light"] .steps__list li { background: hsl(0 0% 100% / .7); }
.steps__list li:hover { transform: translateY(-3px); border-color: hsl(222 89% 50% / .45); }
.steps__list li:last-child:hover { border-color: hsl(358 70% 55% / .5); }
.steps__list span { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .14em; color: var(--accent); }
.steps__list li:last-child span { color: var(--mega-soft); }
.steps__list strong { font-family: var(--font-display); font-weight: 800; font-size: .95rem; }
.steps__list em { font-style: normal; font-size: .74rem; color: var(--fg-faint); background: none; -webkit-text-fill-color: currentColor; }

/* --- Plataformas e nota legal -------------------------------------------- */
.mega__platforms { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; }
.mega__plabel {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .15em;
  text-transform: uppercase; color: var(--fg-faint); margin-right: .4rem;
}
.mega__chip {
  font-size: .78rem; font-weight: 600;
  padding: .4rem .85rem; border-radius: 999px;
  border: 1px solid var(--border); color: var(--fg-muted);
  background: hsl(var(--bg-h) 30% 12% / .55);
  transition: border-color .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
:root[data-theme="light"] .mega__chip { background: #fff; }
.mega__chip:hover { transform: translateY(-2px); color: var(--mega-soft); border-color: hsl(358 70% 55% / .5); }

.mega__legal { margin-top: 2rem; font-size: .72rem; color: var(--fg-faint); max-width: 62ch; }
