/* ═══════════════════════════════════════════════════════════
   Nexo — Site 2 — styles.css
   Estética: Apple / OpenAI / Tesla Bot / SaaS Enterprise Premium
   ═══════════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #F5F5F7;
  --bg2:       #ECECEF;
  --bg3:       #E4E4E8;
  --black:     #0D0D0D;
  --gray:      #6E6E73;
  --gray2:     #A1A1A6;
  --card-bg:   #E9E9EC;
  --card-dark: #141414;
  --gold:      #FEC80C;
  --gold2:     #F7C600;
  --white:     #FFFFFF;
  --border:    rgba(0,0,0,0.08);
  --shadow:    0 2px 24px rgba(0,0,0,0.07);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.12);
  --radius:    20px;
  --radius-lg: 28px;
  --font-display: 'General Sans', 'Satoshi', 'Helvetica Now Display', 'Inter', sans-serif;
  --font:         'Satoshi', 'General Sans', 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

/* ── Reveal animation ──────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(80px);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ═══ NAV ════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  background: rgba(245,245,247,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.nav--scrolled {
  border-color: var(--border);
  background: rgba(245,245,247,0.96);
}

.nav-logo { height: 44px; width: auto; }
.nav-logo img { height: 100%; width: auto; object-fit: contain; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  opacity: .8;
  position: relative;
  transition: opacity .2s;
  white-space: nowrap;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* ── Lang switcher ─────────────────────── */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  background: rgba(0,0,0,0.06);
  border-radius: 40px;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border-radius: 40px;
  border: none;
  background: transparent;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: var(--gray);
  transition: background .2s, color .2s, box-shadow .2s, transform .2s;
  white-space: nowrap;
}
.lang-btn .flag { font-size: 15px; line-height: 1; }
.lang-btn:hover { color: var(--black); transform: translateY(-1px); }
.lang-btn:active { transform: translateY(1px); }
.lang-btn.active {
  background: var(--white);
  color: var(--black);
  box-shadow: 0 1px 6px rgba(0,0,0,0.1);
}

.nav-menu-btn {
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 40px;
  background: var(--white);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--black);
  transition: background .2s, transform .2s;
}
.nav-menu-btn:hover { background: var(--card-bg); transform: translateY(-1px); }
.nav-menu-btn:active { transform: translateY(1px); }
.nav-menu-btn svg { flex-shrink: 0; }

/* Mobile menu */
.mobile-nav {
  display: none;
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: rgba(245,245,247,0.98);
  backdrop-filter: blur(20px);
  z-index: 99;
  padding: 24px 32px 32px;
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  gap: 4px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 0;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

/* ═══ HERO ═══════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 64px;
  display: flex;
  align-items: stretch;
  background: linear-gradient(180deg, #F5F5F7 0%, #ECECEF 100%);
  overflow: hidden;
  padding-bottom: 0;
}

/* NEXO background word */

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 60px 40px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Left col */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.hero-microlabel {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: .02em;
}
.hero-microlabel::before {
  content: '';
  display: block;
  width: 3px;
  height: 18px;
  background: var(--gold);
  border-radius: 2px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.2vw, 76px);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.hero-title .hero-line { color: #0D0D0D; display: block; }
.hero-title .dot       { color: var(--gold); }

.hero-sub {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.65;
  color: var(--gray);
  max-width: 440px;
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stars { display: flex; gap: 3px; }
.stars span { color: var(--gold); font-size: 15px; }
.hero-social-proof p {
  font-size: 13px;
  font-weight: 500;
  color: var(--gray);
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

/* ── Shiny Button — @property declarations ── */
@property --gradient-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@property --gradient-angle-offset {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@property --gradient-percent {
  syntax: '<percentage>';
  initial-value: 7%;
  inherits: false;
}
@property --gradient-shine {
  syntax: '<color>';
  initial-value: white;
  inherits: false;
}

@keyframes gradient-angle { to { --gradient-angle: 360deg; } }
@keyframes shiny-shimmer  { to { rotate: 360deg; } }

.btn-primary {
  --shiny-gold:      #FEC80C;
  --shiny-gold-soft: #FFD740;
  --shiny-duration:  3s;

  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 32px;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
  color: #fff;
  border: 1px solid transparent;
  background:
    linear-gradient(#000, #000) padding-box,
    conic-gradient(
      from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
      transparent,
      var(--shiny-gold)     var(--gradient-percent),
      var(--gradient-shine) calc(var(--gradient-percent) * 2),
      var(--shiny-gold)     calc(var(--gradient-percent) * 3),
      transparent           calc(var(--gradient-percent) * 4)
    ) border-box;
  box-shadow: inset 0 0 0 1px #1a1818;
  transition:
    --gradient-angle-offset 800ms cubic-bezier(0.25, 1, 0.5, 1),
    --gradient-percent      800ms cubic-bezier(0.25, 1, 0.5, 1),
    --gradient-shine        800ms cubic-bezier(0.25, 1, 0.5, 1),
    transform .2s ease;
  animation:
    gradient-angle linear infinite var(--shiny-duration),
    gradient-angle linear infinite calc(var(--shiny-duration) / 0.4) reverse paused;
  animation-composition: add;
}

/* Dots pattern */
.btn-primary::before {
  content: '';
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
  width: calc(100% - 6px);
  height: calc(100% - 6px);
  background: radial-gradient(circle at 2px 2px, rgba(255,255,255,.5) .5px, transparent 0);
  background-size: 4px 4px;
  background-repeat: space;
  mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black, transparent 10% 90%, black
  );
  border-radius: inherit;
  opacity: 0.35;
  animation:
    gradient-angle linear infinite var(--shiny-duration),
    gradient-angle linear infinite calc(var(--shiny-duration) / 0.4) reverse paused;
  animation-composition: add;
}

/* Inner shimmer */
.btn-primary::after {
  content: '';
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, var(--shiny-gold), transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.5;
  animation: shiny-shimmer linear infinite var(--shiny-duration);
}

.btn-primary:is(:hover, :focus-visible) {
  --gradient-percent:      20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine:        var(--shiny-gold-soft);
  transform: translateY(-1px);
}
.btn-primary:is(:hover, :focus-visible),
.btn-primary:is(:hover, :focus-visible)::before,
.btn-primary:is(:hover, :focus-visible)::after {
  animation-play-state: running;
}
.btn-primary:active { translate: 0 1px; }

.btn-primary .arrow-circle {
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.btn-primary .arrow-circle svg { width: 10px; height: 14px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 18px 32px;
  background: #D9D9DD;
  color: #555;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
  white-space: nowrap;
}
.btn-secondary:hover { background: rgba(0,0,0,0.1); transform: translateY(-2px); }
.btn-secondary:active { transform: translateY(1px); }

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  padding: 18px 28px;
  background: var(--bg);   /* sólido — nada aparece atrás do botão */
  color: #111;
  border: 1.5px solid rgba(0,0,0,0.18);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, border-color .2s, transform .2s;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-ghost-dark:hover { background: var(--bg2); border-color: rgba(0,0,0,0.32); transform: translateY(-2px); }
.btn-ghost-dark:active { transform: translateY(1px); }

/* ── Anel externo: bolinha viajante com trilha ── */
@property --orbit-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
@keyframes orbit-spin { to { --orbit-angle: 360deg; } }

.btn-ring-wrap {
  position: relative;
  display: inline-flex;
  border-radius: 999px;
  flex-shrink: 0;
  text-decoration: none;
}

/* Bolinha + trilha orbitando por fora */
.btn-ring-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  padding: 2px;
  background: conic-gradient(
    from var(--orbit-angle),
    transparent           0%,
    transparent           86%,
    rgba(254,200,12,0.04) 89%,
    rgba(254,200,12,0.28) 92%,
    rgba(254,200,12,0.75) 95%,
    #ffffff               97%,
    rgba(254,200,12,0.75) 98.2%,
    rgba(254,200,12,0.15) 99.2%,
    transparent          100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: orbit-spin 2.4s linear infinite;
  z-index: 5;
  pointer-events: none;
}

/* Right col */
.hero-right {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  min-height: 520px;
}

.hero-robot {
  position: absolute;
  bottom: 0;
  right: 4%;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.hero-robot img {
  height: 94vh;
  max-height: 960px;
  min-height: 600px;
  width: auto;
  display: block;
  position: relative;
  z-index: 2;
}

/* ── Scanner circular do robô ── */
.hero-reveal-wrap {
  --lens-x: 50%;
  --lens-y: 50%;
  --lens-radius: 250px;
  --lens-size: 500px;
  position: relative;
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  pointer-events: auto;
  touch-action: none;
  cursor: crosshair;
  overflow: visible;
}

.hero-reveal-wrap .reveal-robot {
  position: relative;
  z-index: 1;
  pointer-events: none;
  will-change: -webkit-mask-image, mask-image;
}

.hero-reveal-wrap .reveal-human {
  /* Sem height/width própria: herda de ".hero-robot img" (mesma altura do
     robô em cada breakpoint), garantindo que ela encolha na mesma proporção
     do robô em telas menores. */
  position: absolute;
  bottom: 0;
  /* Corpo da humana ocupa menos área útil dentro do próprio canvas que o do
     robô (imagem fonte com mais margem transparente) — escala e desloca
     compensam isso para os dois corpos baterem no mesmo lugar da tela. */
  left: 0.7%;
  transform: scale(1.18);
  transform-origin: 52.3% 3%;
  display: block;
  z-index: 2;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  clip-path: circle(0 at var(--lens-x) var(--lens-y));
  -webkit-clip-path: circle(0 at var(--lens-x) var(--lens-y));
  transition: opacity 140ms ease;
  will-change: clip-path, -webkit-clip-path, opacity;
}

.hero-reveal-wrap.is-lens-active .reveal-human {
  opacity: 1;
}

.hero-reveal-wrap::before,
.hero-reveal-wrap::after {
  content: "";
  position: absolute;
  left: var(--lens-x);
  top: var(--lens-y);
  width: var(--lens-size);
  height: var(--lens-size);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  z-index: 4;
  transition: opacity 140ms ease;
}

.hero-reveal-wrap::before {
  border: 1px solid rgba(254, 200, 12, 0.54);
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.08) 0 42%, rgba(254,200,12,0.055) 58%, rgba(254,200,12,0.00) 74%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18) inset,
    0 0 20px rgba(254, 200, 12, 0.24),
    0 0 54px rgba(254, 200, 12, 0.12),
    inset 0 0 22px rgba(254, 200, 12, 0.08);
  mix-blend-mode: screen;
}

.hero-reveal-wrap::after {
  z-index: 5;
  background:
    linear-gradient(180deg, transparent 0%, transparent 42%, rgba(255,255,255,0.58) 49%, rgba(254,200,12,0.82) 50%, rgba(255,221,87,0.34) 53%, transparent 61%, transparent 100%);
  background-size: 100% 180%;
  background-position: 0 -80%;
  clip-path: circle(50% at 50% 50%);
  -webkit-clip-path: circle(50% at 50% 50%);
  filter: drop-shadow(0 0 13px rgba(254, 200, 12, 0.56));
  mix-blend-mode: screen;
  animation: nexoScannerSweep 1.45s linear infinite;
}

.hero-reveal-wrap.is-lens-active::before,
.hero-reveal-wrap.is-lens-active::after {
  opacity: 1;
}

.hero-reveal-wrap .lens-ring { display: none; }

@keyframes nexoScannerSweep {
  0%   { background-position: 0 -80%; }
  100% { background-position: 0 180%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-reveal-wrap::after { animation: none; }
}

/* ── Canvas partículas — cobre todo o hero ── */
#hero-particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;          /* acima do fundo, abaixo do robô (z-index:3) e copy (z-index:2) */
  pointer-events: none;
}

@media (max-width: 1024px) {
  #hero-particles { display: none; }
}

/* ── Canvas partículas mobile — diagonal atrás do robô ── */
#hero-particles-mobile {
  display: none;               /* escondido em desktop */
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 66%;                 /* cobre a zona do robô + margem acima */
  z-index: 1;                  /* atrás de tudo: robô (10), hero-inner (5), qualquer elemento */
  pointer-events: none;
}
@media (max-width: 1024px) {
  #hero-particles-mobile { display: block; }
}


/* Card ancorado no ombro do robô — atrás da imagem */
.hero-card-wrap {
  position: absolute;
  top: 19%;
  right: 40px;
  width: 200px;
  z-index: 3;   /* na frente do robô — conteúdo visível */
  pointer-events: auto;
}
.hero-card {
  background: var(--card-dark);
  border-radius: var(--radius);
  padding: 18px 18px 18px;
  display: none;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  width: 200px;
  height: 210px;
  overflow: hidden;
}
.hero-card.active { display: flex; }

.hero-card-num {
  font-size: 10px;
  font-weight: 700;
  color: var(--gray2);
  letter-spacing: .1em;
}
.hero-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  flex-shrink: 0;
}
.hero-card-logo img {
  width: 76px;
  height: 26px;
  object-fit: contain;
  display: block;
  max-width: none;
}
.hero-card p {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-card-nav {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-top: 4px;
}
.hero-card-nav button {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 13px;
  transition: background .2s, transform .2s;
}
.hero-card-nav button:hover { background: rgba(255,255,255,.2); transform: translateY(-1px); }
.hero-card-nav button:active { transform: translateY(1px); }
.hero-card-bar {
  height: 2px;
  background: rgba(255,255,255,.08);
  border-radius: 2px;
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}
.hero-card-bar::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 40%;
  background: var(--gold);
  border-radius: 2px;
}

/* Trusted logos */
.hero-trusted {
  position: absolute;
  bottom: 32px;
  right: 0;
  text-align: right;
  z-index: 3;
}
.hero-trusted-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--gray2);
  letter-spacing: .06em;
  margin-bottom: 10px;
}
.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  max-width: 260px;
}
.trusted-logos span {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray);
  opacity: .7;
  display: flex;
  align-items: center;
  gap: 5px;
}
.trusted-logos span::before {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gray2);
  opacity: .5;
}

/* ═══ SECTION SHARED ═════════════════════ */
section { padding: 96px 40px; }

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 20px;
}
.section-eyebrow::before {
  content: '';
  width: 20px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.6vw, 54px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--black);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray);
  max-width: 560px;
}

/* ═══ TICKER / ESTEIRA ═══════════════════ */
.ticker {
  background: #000000;
  height: 52px;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 10;
}

.ticker::before,
.ticker::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(to right, #000000, transparent); }
.ticker::after  { right: 0; background: linear-gradient(to left,  #000000, transparent); }

.ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.ticker-items {
  display: flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
}

.ticker-arrow,
.ticker-text,
.ticker-sep {
  display: inline-block;
}

.ticker-arrow {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: -0.02em;
  margin-left: 8px;
  margin-right: 0;
  opacity: .9;
}

.ticker-text {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-right: 16px;
}

.ticker-sep {
  font-size: 13px;
  color: rgba(255,255,255,0.12);
  margin-right: 16px;
}

/* ═══ BLOCO 2 — MISSÃO / OBJETIVO ══════════════════ */
.nexo-objetivo {
  background: var(--bg);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.obj-neural {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
}

.nexo-objetivo .container {
  position: relative;
  z-index: 1;
}

.nexo-objetivo .section-title { max-width: 720px; }

.obj-count {
  color: var(--gold);
  display: inline-block;
  font-variant-numeric: tabular-nums;
}

.obj-pillars {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  flex-wrap: wrap;
}

.obj-pillar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0,0,0,0.055);
  border: 1px solid rgba(0,0,0,0.09);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--black);
}

.obj-pillar__icon {
  color: var(--gold);
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .obj-pillars { gap: 8px; margin-top: 36px; }
  .obj-pillar  { font-size: 12px; padding: 8px 14px; }
}

/* ═══ VÍDEO STRIP — topo das soluções ══════ */
.sol-video-strip {
  position: relative;
  width: 100%;
  height: 58vh;
  min-height: 320px;
  max-height: 640px;
  overflow: hidden;
  background: #000;
}
.sol-video-strip__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
}
/* Gradiente que funde o vídeo com o fundo preto da seção abaixo */
.sol-video-strip__fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0)   0%,
    rgba(0,0,0,0.04) 50%,
    rgba(0,0,0,1)   100%
  );
  pointer-events: none;
}

@media (max-width: 768px) {
  /* Padding lateral zerado também no mobile */
  .solucoes {
    padding-top: 0;
  }
  .solucoes > .container {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 40px;
  }
  .sol-video-strip {
    height: auto;
    min-height: 0;
    max-height: none;
  }
  .sol-video-strip__video {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    object-fit: unset;
  }
}

/* ═══ MANIFESTO (legado — mantido por compatibilidade) ════ */
.manifesto {
  background: #0D0D0D;
  color: var(--white);
  padding: 80px 40px 120px;
}
.manifesto-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.manifesto-logo {
  height: 36px;
  width: auto;
  margin: 0 auto 28px;
  display: block;
  opacity: .55;
}
.manifesto-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}
.manifesto-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.8vw, 52px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 32px;
}
.manifesto-title span { color: var(--gold); }
.manifesto-text {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.75;
  color: rgba(255,255,255,.6);
}

/* ═══ SOLUÇÕES — dark glass ══════════════ */
.solucoes {
  background: #000000;
  position: relative;
  overflow: hidden;
  /* Zera padding topo e lateral → vídeo cola no topo borda a borda */
  padding-top: 0;
  padding-left: 0;
  padding-right: 0;
}
/* Restaura padding no container de texto/cards */
.solucoes > .container {
  padding-left: 40px;
  padding-right: 40px;
  padding-top: 56px;
}

/* Texto claro sobre fundo escuro */
.solucoes .section-eyebrow         { color: var(--gold); }
.solucoes .section-eyebrow::before { background: var(--gold); }
.solucoes .section-title           { color: #fff; }
.solucoes .section-sub             { color: rgba(255,255,255,0.46); }

/* ── Orb animado de fundo (removido) ── */
.sol-glow-orb { display: none; }

/* ── Grid ── */
.solucoes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 56px;
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
}

/* ── Cards ── */
.sol-card {
  background: rgba(255,255,255,0.032);
  border-right:  1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 26px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.35s ease;
  /* Cursor spotlight vars */
  --cx: -9999px;
  --cy: -9999px;
}
.sol-card:nth-child(3n)  { border-right: none; }
.sol-card:nth-child(n+4) { border-bottom: none; }

.sol-card:hover { background: rgba(255,255,255,0.055); }

/* Luz interna seguindo o cursor */
.sol-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    280px circle at var(--cx) var(--cy),
    rgba(254,200,12,0.10) 0%,
    transparent 60%
  );
  pointer-events: none;
  z-index: 0;
}

/* Glow dourado nas bordas seguindo o cursor */
.sol-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    320px circle at var(--cx) var(--cy),
    rgba(254,200,12,0.60) 0%,
    transparent 50%
  );
  /* Máscara: exibe apenas na área da borda (1px padding) */
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  z-index: 1;
}

/* Conteúdo do card acima dos pseudo-elementos */
.sol-ball,
.sol-card h3,
.sol-card-detail {
  position: relative;
  z-index: 2;
}

/* ── Icon ball ── */
.sol-ball {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 32%,
    rgba(254,200,12,0.32) 0%,
    rgba(255,255,255,0.04) 48%,
    rgba(0,0,0,0.28) 100%);
  border: 1px solid rgba(254,200,12,0.28);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow:
    0 0 18px rgba(254,200,12,0.14),
    inset 0 1px 0 rgba(255,255,255,0.14);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.sol-card:hover .sol-ball {
  box-shadow:
    0 0 30px rgba(254,200,12,0.32),
    inset 0 1px 0 rgba(255,255,255,0.18);
  transform: scale(1.1) translateY(-2px);
}
.sol-ball .sol-svg { color: #FEC80C; width: 22px; height: 22px; }

/* ── Título ── */
.sol-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

/* ── Detalhe: oculto → revelado no hover ── */
.sol-card-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    max-height 0.45s cubic-bezier(.22,1,.36,1),
    opacity    0.3s ease 0.05s;
}
.sol-card:hover .sol-card-detail {
  max-height: 150px;
  opacity: 1;
}
.sol-card-detail p {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ── Tag ── */
.sol-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(254,200,12,0.1);
  padding: 5px 12px;
  border-radius: 40px;
  width: fit-content;
}

/* ── SVG base ── */
.sol-svg { width: 24px; height: 24px; display: block; }

/* ── Stagger entry ── */
.solucoes-grid .sol-card:nth-child(1) { --card-delay: 0ms; }
.solucoes-grid .sol-card:nth-child(2) { --card-delay: 90ms; }
.solucoes-grid .sol-card:nth-child(3) { --card-delay: 180ms; }
.solucoes-grid .sol-card:nth-child(4) { --card-delay: 270ms; }
.solucoes-grid .sol-card:nth-child(5) { --card-delay: 360ms; }
.solucoes-grid .sol-card:nth-child(6) { --card-delay: 450ms; }

.solucoes-grid .sol-card.reveal { transition: background 0.35s ease; }

@keyframes card-rise {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}
.solucoes-grid .sol-card.visible {
  opacity: 1;
  animation: card-rise 0.68s cubic-bezier(.22,1,.36,1) both;
  animation-delay: var(--card-delay, 0ms);
}

/* Touch: detalhe sempre visível (sem hover) */
@media (hover: none) {
  .sol-card-detail { max-height: 150px; opacity: 1; }
}

/* ── 1. Globe scan ── */
.sol-globe-scan {
  stroke-dasharray: 60; stroke-dashoffset: 0;
  animation: globe-scan 3.5s ease-in-out infinite;
}
@keyframes globe-scan {
  0%,100% { stroke-dashoffset: 0;   opacity: 1;   }
  50%     { stroke-dashoffset: -60; opacity: 0.25; }
}

/* ── 2. Sparkline draw + bar pulse ── */
.sol-sparkline { stroke-dasharray: 44; stroke-dashoffset: 44; }
.sol-card.visible .sol-sparkline {
  animation: sol-draw 1s ease forwards;
  animation-delay: calc(var(--card-delay, 0ms) + 450ms);
}
@keyframes sol-draw { to { stroke-dashoffset: 0; } }
.sol-bar-pulse { animation: sol-bar 2.2s ease-in-out infinite; }
@keyframes sol-bar {
  0%,100% { opacity: 1; }  50% { opacity: 0.35; }
}

/* ── 3. Chip blink ── */
.sol-chip-eye {
  transform-box: fill-box; transform-origin: center;
  animation: sol-blink 4s ease-in-out infinite;
}
@keyframes sol-blink {
  0%,87%,100% { transform: scaleY(1); }
  92%         { transform: scaleY(0.1); }
}

/* ── 4. Typing dots ── */
.sol-dot {
  transform-box: fill-box; transform-origin: center;
  animation: sol-type 1.4s ease-in-out infinite;
}
@keyframes sol-type {
  0%,60%,100% { opacity: 0.3; transform: translateY(0);    }
  30%         { opacity: 1;   transform: translateY(-2px); }
}

/* ── 5. Loop spin ── */
.sol-loop-ring { transform-origin: 12px 12px; animation: sol-spin 3s linear infinite; }
@keyframes sol-spin { to { transform: rotate(360deg); } }

/* ── 6. Neural pulse ── */
.sol-node {
  transform-box: fill-box; transform-origin: center;
  animation: sol-node-pulse 2.5s ease-in-out infinite;
}
@keyframes sol-node-pulse {
  0%,100% { opacity: 1;    transform: scale(1);    }
  50%     { opacity: 0.45; transform: scale(0.82); }
}

/* ═══ COMO FUNCIONA — ORBITAL ════════════ */
.como-funciona {
  background: var(--bg);
  padding-bottom: 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.meteor-shower {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* Ponto minúsculo — cauda via ::before, igual Aceternity Meteors */
.meteor-item {
  position: absolute;
  top: 0;
  width: 2px;
  height: 2px;
  border-radius: 999px;
  background: rgba(0,0,0,0.65);
  transform: rotate(215deg);
  opacity: 0;
  animation: meteor-fall linear infinite;
}

/* Cauda horizontal de 60px saindo para a direita (local), funde no ar */
.meteor-item::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, rgba(0,0,0,0.6), transparent);
}

@keyframes meteor-fall {
  0%   { transform: rotate(215deg) translateX(0);      opacity: 0; }
  3%   { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: rotate(215deg) translateX(-500px); opacity: 0; }
}
.como-funciona .section-eyebrow         { color: var(--gold); }
.como-funciona .section-eyebrow::before { background: var(--gold); }
.como-funciona .section-title           { color: var(--black); }

/* ── Orbital — tema claro ── */
.como-funciona .orb-ring {
  border-color: rgba(0,0,0,0.12);
}
.como-funciona .orb-node-inner {
  background: #FFFFFF;
  border-color: rgba(0,0,0,0.10);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.como-funciona .orb-node-num  { color: rgba(0,0,0,0.55); }
.como-funciona .orb-node-icon { color: rgba(0,0,0,0.55); }
.como-funciona .orb-node-label { color: rgba(0,0,0,0.55); }

/* Nó ativo: mantém dourado */
.como-funciona .orb-node--active .orb-node-inner {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(254,200,12,0.38);
}
.como-funciona .orb-node--active .orb-node-num  { color: var(--black); }
.como-funciona .orb-node--active .orb-node-icon { color: var(--black); }
.como-funciona .orb-node--active .orb-node-label { color: var(--black); }

/* Painel de info — tema claro */
.como-funciona .orb-hint            { color: rgba(0,0,0,0.52); }
.como-funciona .orb-hint-dots span  { background: rgba(0,0,0,0.22); }
.como-funciona .orb-card-title      { color: var(--black); }
.como-funciona .orb-card-text       { color: var(--gray); }
.como-funciona .orb-dot             { background: rgba(0,0,0,0.10); }
.como-funciona .orb-dot.active      { background: var(--gold); }

/* Wrapper: dois painéis lado a lado */
.orbital-wrap {
  display: grid;
  grid-template-columns: 480px 1fr;
  align-items: center;
  max-width: 1080px;
  margin: 56px auto 0;
  padding: 0 40px;
}

/* ── Cena orbital ────────────────────── */
.orbital-scene {
  position: relative;
  width: 480px;
  height: 480px;
}

.orb-ring {
  position: absolute;
  top: 50%; left: 50%;
  width: 370px; height: 370px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  pointer-events: none;
}

/* Núcleo central */
.orb-nucleus {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
}
.orb-ping {
  position: absolute;
  top: 50%; left: 50%;
  width: 68px; height: 68px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(254,200,12,0.45);
  animation: orbPing 2.8s ease-out infinite;
  pointer-events: none;
}
.orb-ping--2 {
  width: 90px; height: 90px;
  border-color: rgba(254,200,12,0.2);
  animation-delay: .9s;
}
@keyframes orbPing {
  0%   { transform: translate(-50%,-50%) scale(1); opacity: .7; }
  100% { transform: translate(-50%,-50%) scale(2.1); opacity: 0; }
}
.orb-core {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(254,200,12,.45), 0 0 80px rgba(254,200,12,.12);
  position: relative; z-index: 1;
  cursor: default;
}

/* Nós orbitais (criados pelo JS) */
.orb-node {
  position: absolute;
  top: 50%; left: 50%;
  width: 48px; height: 48px;
  cursor: pointer;
  will-change: transform, opacity;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.orb-node-inner {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  border: 1.5px solid rgba(255,255,255,0.2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  transition: background .3s, border-color .3s, box-shadow .3s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.orb-node-num {
  font-size: 9px; font-weight: 800; letter-spacing: .06em;
  color: rgba(255,255,255,0.4);
  line-height: 1;
  transition: color .3s;
}
.orb-node-icon {
  width: 14px; height: 14px;
  color: rgba(255,255,255,0.45);
  transition: color .3s;
  display: flex; align-items: center; justify-content: center;
}
.orb-node-icon svg { width: 100%; height: 100%; display: block; }

.orb-node--active .orb-node-inner {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(254,200,12,.5);
}
.orb-node--active .orb-node-num  { color: var(--black); }
.orb-node--active .orb-node-icon { color: var(--black); }

.orb-node-label {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  color: rgba(255,255,255,0.45);
  transition: color .3s, font-weight .3s;
}
.orb-node--active .orb-node-label { color: var(--gold); font-weight: 700; }

/* ── Painel de informação ────────────── */
.orbital-info { padding-left: 56px; }

.orb-hint {
  color: rgba(255,255,255,0.28);
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 24px;
}
.orb-hint-cta {
  color: var(--gold);
  font-weight: 700;
}
.orb-hint-dots {
  display: flex; gap: 6px; margin-bottom: 16px;
}
.orb-hint-dots span {
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  animation: dotPulse 1.9s ease-in-out infinite;
}
.orb-hint-dots span:nth-child(2) { animation-delay: .32s; }
.orb-hint-dots span:nth-child(3) { animation-delay: .64s; }
@keyframes dotPulse {
  0%, 100% { opacity: .2; transform: scale(1); }
  50%       { opacity: 1;  transform: scale(1.5); }
}

.orb-card { display: none; flex-direction: column; gap: 16px; }
.orb-card.visible {
  display: flex;
  animation: orbCardIn .35s ease both;
}
@keyframes orbCardIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}

.orb-card-step {
  font-size: 11px; font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold);
}
.orb-card-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 2.8vw, 42px);
  font-weight: 500; letter-spacing: -.04em;
  color: var(--white); line-height: 1.1;
}
.orb-card-text {
  font-size: 16px; line-height: 1.75;
  color: rgba(255,255,255,0.52);
  max-width: 380px;
}

/* Dots de navegação */
.orb-dots {
  display: flex; gap: 8px;
  margin-top: 40px;
}
.orb-dot {
  width: 28px; height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.12);
  border: none; cursor: pointer; padding: 0;
  transition: background .3s, width .3s, transform .2s;
}
.orb-dot:hover { background: rgba(255,255,255,0.28); transform: translateY(-1px); }
.orb-dot.active {
  background: var(--gold);
  width: 44px;
}

/* ═══ PAINEL / DASHBOARD ═════════════════ */
.painel-section { background: var(--black); padding: 96px 40px; }

.painel-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.painel-header { margin-bottom: 48px; }
.painel-header .section-eyebrow { color: var(--gold); }
.painel-header .section-eyebrow::before { background: var(--gold); }
.painel-header .section-title { color: var(--white); }
.painel-header .section-sub { color: rgba(255,255,255,.5); }

.dashboard {
  background: #111113;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.07);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
}
.dash-topbar {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  gap: 8px;
}
.dash-dot { width: 10px; height: 10px; border-radius: 50%; }
.dash-dot.red   { background: #FF5F57; }
.dash-dot.yellow{ background: #FEBC2E; }
.dash-dot.green { background: #28C840; }
.dash-topbar-label {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.3);
  letter-spacing: .06em;
}

.dash-body {
  display: grid;
  grid-template-columns: 220px 1fr 1fr;
  gap: 0;
}

.dash-screenshot {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Sidebar */
.dash-sidebar {
  border-right: 1px solid rgba(255,255,255,.06);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.dash-nav-item:hover { background: rgba(255,255,255,.04); color: rgba(255,255,255,.7); }
.dash-nav-item.active {
  background: rgba(254,200,12,.1);
  color: var(--gold);
}
.dash-nav-icon { font-size: 15px; }

/* Main area */
.dash-main {
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dash-kpi-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.kpi-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 14px;
  padding: 18px 18px 14px;
}
.kpi-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.35);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.kpi-val {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
}
.kpi-delta {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 600;
  color: #30D158;
  margin-top: 4px;
}
.kpi-delta.down { color: #FF453A; }

.dash-chart {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 14px;
  padding: 18px;
  flex: 1;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}
.chart-label {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.3);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 70px;
}
.chart-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: rgba(254,200,12,.18);
  transition: background .2s;
  min-width: 0;
}
.chart-bar:hover { background: rgba(254,200,12,.38); }
.chart-bar.hi { background: rgba(254,200,12,.55); }

/* Right col */
.dash-right {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dash-feed-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 4px;
}
.feed-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: 12px;
}
.feed-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  margin-top: 4px;
  flex-shrink: 0;
}
.feed-dot.yellow { background: var(--gold); }
.feed-dot.green  { background: #30D158; }
.feed-dot.blue   { background: #0A84FF; }

.feed-item p {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255,255,255,.55);
}
.feed-item strong { color: rgba(255,255,255,.85); font-weight: 600; }
.feed-time {
  font-size: 10px;
  color: rgba(255,255,255,.2);
  margin-top: 4px;
  display: block;
}

.dash-ai-bar {
  background: linear-gradient(135deg, rgba(254,200,12,.08) 0%, rgba(254,200,12,.02) 100%);
  border: 1px solid rgba(254,200,12,.12);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ai-bar-icon { font-size: 18px; }
.dash-ai-bar p {
  font-size: 12px;
  color: rgba(255,255,255,.5);
  line-height: 1.4;
}
.dash-ai-bar strong { color: var(--gold); }

/* ═══ DIFERENCIAIS ═══════════════════════ */
.diferenciais { background: var(--bg); }

.dif-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  margin-top: 56px;
}

.dif-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dif-item {
  position: relative;
  display: flex;
  gap: 20px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.dif-item:first-child { padding-top: 0; }
.dif-item:last-child  { border-bottom: none; padding-bottom: 0; }

/* Barra dourada que entra ao passar o mouse */
.dif-item::before {
  content: '';
  position: absolute;
  left: -16px; top: 28px; bottom: 28px;
  width: 3px;
  border-radius: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1);
}
.dif-item:hover::before { transform: scaleY(1); }

.dif-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--black);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), background 0.35s ease;
}
.dif-icon svg {
  width: 20px; height: 20px;
  transition: stroke 0.35s ease;
}
.dif-item:hover .dif-icon {
  transform: scale(1.1) rotate(-6deg);
  background: var(--gold);
}
.dif-item:hover .dif-icon svg { stroke: var(--black); }

.dif-item h4 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 6px;
}
.dif-item p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray);
}

.dif-visual {
  background: var(--card-dark);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 28px;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}
.dif-visual::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(254,200,12,.15) 0%, transparent 70%);
  pointer-events: none;
}

.dif-visual-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.dif-visual-title span { color: var(--gold); }

.dif-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.pill {
  padding: 8px 16px;
  border-radius: 40px;
  border: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.7);
  background: rgba(255,255,255,.04);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.pill.gold { border-color: rgba(254,200,12,.4); color: var(--gold); background: rgba(254,200,12,.06); }
.pill:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.3);
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
.pill.gold:hover {
  background: rgba(254,200,12,.14);
  border-color: rgba(254,200,12,.65);
  box-shadow: 0 6px 16px rgba(254,200,12,.18);
}

.dif-metric-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}
.dif-metric {
  background: rgba(255,255,255,.05);
  border-radius: 14px;
  padding: 18px;
  transition: background 0.3s ease;
}
.dif-metric:hover { background: rgba(255,255,255,.1); }
.dif-metric-val {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--white);
  margin-bottom: 4px;
}
.dif-metric-label {
  font-size: 11px;
  color: rgba(255,255,255,.4);
  font-weight: 600;
  line-height: 1.3;
}

/* ═══ CTA FINAL ══════════════════════════ */
.cta-final {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  padding: 120px 40px;
  text-align: center;
}
.cta-inner { max-width: 680px; margin: 0 auto; }
.cta-inner .section-eyebrow { justify-content: center; }
.cta-inner .section-title { margin-bottom: 20px; }
.cta-inner .section-sub { margin: 0 auto 40px; text-align: center; }

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--gold);
  color: var(--black);
  border-radius: 40px;
  font-size: 15px;
  font-weight: 800;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.btn-gold:hover { background: #FFD740; transform: translateY(-2px); }
.btn-gold:active { transform: translateY(1px); }

/* ═══ FOOTER ══════════════════════════════ */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 40px 40px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo { height: 28px; margin-bottom: 16px; }
.footer-logo img { height: 100%; width: auto; }
.footer-desc {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255,255,255,.4);
  max-width: 260px;
}
.footer-col h5 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.3);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12px;
  color: rgba(255,255,255,.25);
}
.footer-bottom a { color: rgba(255,255,255,.35); }
.footer-bottom a:hover { color: var(--gold); }

/* ═══ RESPONSIVO ══════════════════════════ */
@media (max-width: 1024px) {
  .hero-card-wrap { display: none; }  /* só desktop */
  .hero-inner { grid-template-columns: 1fr; padding-top: 80px; }
  .hero-right  { min-height: 480px; }
  .hero-robot img { height: 60vh; }
  .solucoes-grid { grid-template-columns: repeat(2, 1fr); }
  .solucoes-grid .sol-card:nth-child(3n)   { border-right: 1px solid rgba(255,255,255,0.07); }
  .solucoes-grid .sol-card:nth-child(2n)   { border-right: none; }
  .solucoes-grid .sol-card:nth-child(n+4)  { border-bottom: 1px solid rgba(255,255,255,0.07); }
  .solucoes-grid .sol-card:nth-child(n+5)  { border-bottom: none; }
  .sol-card-detail { max-height: 150px; opacity: 1; }
  .orbital-wrap { grid-template-columns: 1fr; padding: 0 24px; }
  .orbital-scene { width: 320px; height: 320px; margin: 0 auto; }
  .orb-ring { width: 250px; height: 250px; }
  .orbital-info { padding-left: 0; padding-top: 40px; text-align: center; }
  .orb-hint-dots { justify-content: center; }
  .orb-card-text { margin: 0 auto; }
  .orb-dots { justify-content: center; }
  .orb-card-title { font-size: 26px; }
  .dif-grid  { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .dash-body  { grid-template-columns: 1fr 1fr; }
  .dash-sidebar { display: none; }
}

/* 769–1024px (tablets/notebooks pequenos): .hero-inner já virou coluna única
   acima, então o texto/CTAs ocupam a largura toda — mas o robô ainda usa o
   posicionamento "desktop" (right:4%, z-index:3) e sua cabeça cai bem na
   faixa vertical dos botões. Resultado: "Agendar Diagnóstico" ficava atrás
   do robô. Mesma solução já usada em telas ≤413px: robô atrás do conteúdo. */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-robot { z-index: 1; }
}

@media (max-width: 768px) {
  section { padding: 72px 24px; }
  .nav { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-clock { display: none; }
  .nav-menu-btn { display: flex; }
  /* ── Hero mobile ─────────────────────────────────────────────────────
     Objetivo: todo conteúdo (título, sub, social proof, CTAs) acima
     da cabeça do robô (que começa em 52vh = 100vh – 48vh de altura).

     Para caber nos ~52vh:
       • padding-top reduzido → conteúdo começa logo após a nav
       • microlabel oculta → economiza ~50px
       • sub limitado a 2 linhas → economiza ~75px
       • gap entre elementos reduzido de 28px → 16px → economiza ~36px
     Resultado: conteúdo encerra ~50vh, robô começa ~52vh → espaço livre ✓
  ─ */
  .hero {
    min-height: 100vh;
    overflow: hidden;
    padding-top: 64px;  /* override section{padding:72px} — exato espaço da nav */
    padding-bottom: 0;
  }
  .hero-inner {
    padding: 40px 24px 0;
    position: relative;
    z-index: 5;           /* texto acima do robô */
    align-content: start; /* grid row não estica para 100vh — conteúdo vai pro topo */
    align-items: start;   /* reforço: sem centralização vertical no mobile */
  }
  /* microlabel escondida no mobile — economiza espaço vertical */
  .hero-microlabel { display: none; }
  /* subtítulo exibido inteiro no mobile */
  .hero-sub {
    display: block;
    overflow: visible;
  }
  /* gap menor entre elementos — economiza ~36px */
  .hero-left { gap: 16px; }

  /* hero-right é vazio no mobile */
  .hero-right { display: none; }
  /* card segue o robô — oculto abaixo de 768px (robô muito pequeno) */
  .hero-card-wrap { display: none; }
  .solucoes-grid { grid-template-columns: 1fr; border-radius: 16px; }
  .solucoes-grid .sol-card { border-right: none !important; }
  .solucoes-grid .sol-card:last-child { border-bottom: none; }
  .footer-top { grid-template-columns: 1fr; }
  .manifesto { padding: 80px 24px; }
  .cta-final  { padding: 80px 24px; }
  .dash-body  { grid-template-columns: 1fr; }
  .dash-right { display: none; }
  .orbital-scene { width: 280px; height: 280px; }
  .orb-ring { width: 220px; height: 220px; }

  /* ── Robô mobile base (≤768px — cobre Pro Max 430px).
     right:-14% garante que o corpo do robô não alcance os botões. ── */
  .hero-robot {
    bottom: 0;
    top: auto;
    right: -18%;
    transform: none;
    z-index: 10;       /* efeito 3D: na frente do hero-inner (z-index:5) */
  }
  .hero-robot img {
    height: 52vh;
    max-height: 440px;
    min-height: 300px;
  }

  /* Efeito de lupa é só desktop (mouse) — no mobile o robô fica estático
     e o touch-action precisa liberar o scroll normal da página. */
  .hero-reveal-wrap {
    touch-action: auto;
    cursor: default;
  }

}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .hero-trusted { display: none; }
}

/* ── Robô mobile — responsividade por dispositivo ─────────────────────
   REGRA PRINCIPAL:
   ≥ 414px (XR, Pro Max): robô NA FRENTE (z-index:10) — efeito 3D aprovado
   ≤ 413px (SE, mini, 12/13 padrão): robô ATRÁS (z-index:2) — botões sempre clicáveis

   Cascata (cada bloco acumula sobre o anterior):
   1. ≤429px  — ajusta tamanho para XR (414px) e menores, mantém z-index:10
   2. ≤413px  — NOVO: troca para z-index:2 (atrás dos botões)
   3. ≤390px  — reduz mais para SE e mini (375px)
─────────────────────────────────────────────────────────────────────── */

/* 1 — ≤429px: cobre XR (414px) — tamanho ajustado, z-index:10 mantido */
@media (max-width: 429px) {
  .hero-robot { right: -20%; z-index: 2; }
  .hero-robot img {
    height: 49vh;
    max-height: 415px;
    min-height: 290px;
  }
}

/* 2 — ≤413px: menor que XR → robô VAI PARA TRÁS dos botões */
@media (max-width: 413px) {
  .hero-robot { z-index: 2; }
}

/* 3 — ≤390px: SE e mini → menor e mais à direita */
@media (max-width: 390px) {
  .hero-robot { right: -24%; }
  .hero-robot img {
    height: 45vh;
    max-height: 360px;
    min-height: 260px;
  }
}


/* ═════════════════════════════════════════════════════
   HERO INTRO ANIMATION
   Logo centralizada → voa para nav → robô → headline
═════════════════════════════════════════════════════ */

#hero-intro {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  /* Safety net: auto-dismiss caso o JS não execute */
  animation: intro-auto-dismiss 0.45s ease-out 1.1s forwards;
}
@keyframes intro-auto-dismiss {
  to { opacity: 0; visibility: hidden; }
}
#hero-intro img {
  height: 52px;
  width: auto;
  animation: ha-logo-pop 0.5s cubic-bezier(.22,1,.36,1) both;
}
@keyframes ha-logo-pop {
  from { opacity: 0; transform: scale(0.78); }
  to   { opacity: 1; transform: scale(1); }
}

/* Keyframes de entrada dos elementos */
@keyframes ha-nav {
  from { opacity: 0; transform: translateY(-22px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ha-robot {
  from { opacity: 0; transform: translateX(52px) scale(0.96); }
  to   { opacity: 1; transform: none; }
}
@keyframes ha-rise {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes ha-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  #hero-intro { display: none !important; }
}
