/* ═══════════════════════════════════════════
   ZELLENIUM — hero.css
   Hero section, float cards, orb visual,
   scroll indicator, thesis strip, CTA buttons
   ═══════════════════════════════════════════ */

/* ── Hero wrapper ── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-h) 0 80px;
}

/* Fade suave na base do hero para eliminar quebra abrupta no gradiente */
.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 180px;
  background: linear-gradient(to bottom, transparent, var(--c-bg));
  pointer-events: none;
  z-index: 0;
}

/* ── Background ── */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 100%);
}

.bg-glow {
  position: absolute;
  border-radius: 50%;
  transform: translateZ(0); /* removed heavy blur */
  pointer-events: none;
}

.bg-glow--1 { width: 600px; height: 600px; top: -200px; left: 50%; transform: translateX(-50%); background: radial-gradient(circle, rgba(0,212,255,.14) 0%, transparent 70%); }
.bg-glow--2 { width: 400px; height: 400px; bottom: -100px; left: 15%; background: radial-gradient(circle, rgba(124,58,237,.10) 0%, transparent 70%); }
.bg-glow--3 { width: 350px; height: 350px; top: 20%; right: 5%; background: radial-gradient(circle, rgba(0,136,255,.08) 0%, transparent 70%); }

/* ── Particles canvas ── */
.particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* ── Layout (two columns) ── */
.hero-layout {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  gap: 40px;
}

/* ── Left: content ── */
.hero-content {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-cyan);
  padding: 6px 14px;
  border: 1px solid rgba(0,212,255,.18);
  border-radius: var(--r-full);
  background: var(--c-cyan-dim);
  animation: fadeUp .8s ease both;
}

.hero-headline {
  font-family: var(--f-sans);
  font-size: clamp(32px, 3.4vw, 54px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--c-text);
  animation: fadeUp .8s ease .1s both;
}

.hero-thesis {
  font-size: clamp(13px, 1.1vw, 15px);
  color: var(--c-text-2);
  line-height: 1.75;
  max-width: 480px;
  animation: fadeUp .8s ease .2s both;
}

.hero-thesis strong { color: var(--c-text); font-weight: 600; }

/* ── CTA group ── */
.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  animation: fadeUp .8s ease .3s both;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--r-full);
  background: var(--g-brand);
  box-shadow: 0 0 24px rgba(0,212,255,.25), 0 4px 16px rgba(0,0,0,.3);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
  position: relative;
  overflow: hidden;
}

.cta-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12), transparent);
  opacity: 0;
  transition: opacity var(--t-fast);
}

.cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 44px rgba(0,212,255,.4), 0 8px 28px rgba(0,0,0,.4);
}

.cta-primary:hover::before { opacity: 1; }

.cta-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--c-text-2);
  font-size: 14px;
  font-weight: 500;
  padding: 11px 20px;
  border-radius: var(--r-full);
  border: 1px solid var(--c-border);
  transition: color var(--t-fast), border-color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.cta-ghost:hover {
  color: var(--c-text);
  border-color: var(--c-border-2);
  background: var(--c-cyan-dim);
  transform: translateY(-2px);
}

/* ── Proof bar ── */
.hero-proof {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 14px 22px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  backdrop-filter: blur(12px);
  animation: fadeUp .8s ease .42s both;
}

.proof-item { display: flex; flex-direction: column; gap: 2px; }

.proof-num {
  font-family: var(--f-sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -.3px;
}

.proof-desc {
  font-size: 10.5px;
  color: var(--c-text-3);
  font-weight: 500;
}

.proof-divider {
  width: 1px;
  height: 30px;
  background: var(--c-border);
  flex-shrink: 0;
}

/* ── Right: visual ── */
.hero-visual {
  flex: 0 0 500px;
  position: relative;
  height: 500px;
}

/* ── Flow canvas ── */
.wave-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ── Float cards ── */
.float-card {
  position: absolute;
  z-index: 15;
  background: var(--c-surface);
  backdrop-filter: blur(24px);
  border: 1px solid transparent;
  border-top-color: var(--c-border);
  border-left-color: var(--c-border);
  border-radius: var(--r-md);
  padding: 12px 14px;
  min-width: 160px;
  animation: floatCard 6s ease-in-out infinite;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1), inset 0 0 0 1px rgba(255,255,255,0.02);
  transition: background var(--t-base), border-color var(--t-base);
}

.float-card--tl { top: 8%;  left: 0%;   animation-delay: 0s; }
.float-card--tr { top: 8%;  right: 0%;  animation-delay: 0.8s; }
.float-card--br { bottom: 8%; right: 0%; animation-delay: 1.6s; }
.float-card--bl { bottom: 8%; left: 0%;  animation-delay: 2.4s; }

.fc-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--c-cyan-dim);
  border: 1px solid rgba(0,212,255,.18);
  display: grid;
  place-items: center;
  color: var(--c-cyan);
  margin-bottom: 8px;
}

.fc-icon--purple {
  background: var(--c-purple-dim);
  border-color: rgba(124,58,237,.25);
  color: #a855f7;
}

.fc-body { display: flex; flex-direction: column; gap: 2px; }

.fc-value {
  font-family: var(--f-sans);
  font-size: 20px;
  font-weight: 700;
  color: var(--c-text);
  letter-spacing: -.4px;
}

.fc-value--sm { font-size: 17px; }

.fc-label {
  font-size: 10.5px;
  color: var(--c-text-3);
  font-weight: 500;
  letter-spacing: .02em;
}

.fc-badge {
  position: absolute;
  top: 10px; right: 12px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--r-full);
}

.fc-badge--green {
  background: rgba(0,220,130,.10);
  color: #00dc82;
  border: 1px solid rgba(0,220,130,.22);
}

.fc-status-row {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.fc-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00dc82;
  box-shadow: 0 0 7px #00dc82;
  animation: pulse 2s ease-in-out infinite;
}

.fc-status-text { font-size: 10.5px; color: var(--c-text-2); font-weight: 500; }

.fc-bar-group { display: flex; flex-direction: column; gap: 5px; }

.fc-bar {
  height: 3px;
  border-radius: var(--r-full);
  background: var(--c-border);
  position: relative;
  overflow: hidden;
  width: 120px;
}

.fc-bar::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--c);
  border-radius: inherit;
  animation: barLoad 1.8s cubic-bezier(.4,0,.2,1) both;
  animation-delay: 0.6s;
}

.fc-clients { display: flex; align-items: center; gap: 10px; }
.fc-avatars { display: flex; }

.fc-avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  border: 2px solid var(--c-bg);
  display: grid;
  place-items: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
}

.fc-avatar + .fc-avatar { margin-left: -7px; }

/* ── Orb visual ── */
.orb-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
}

.orb-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid;
}

.orb-ring--1 { border-color: rgba(0,212,255,.12);  animation: spin 20s linear infinite; }
.orb-ring--2 { inset: 28px; border-color: rgba(124,58,237,.10); animation: spin 14s linear infinite reverse; }
.orb-ring--3 { inset: 56px; border-color: rgba(0,212,255,.07);  animation: spin 30s linear infinite; }

.orb-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 110px;
  height: 110px;
}

.orb-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(0,212,255,.4), rgba(124,58,237,.3) 50%, rgba(0,136,255,.1));
  box-shadow: 0 0 40px rgba(0,212,255,.28), 0 0 80px rgba(124,58,237,.18), inset 0 0 28px rgba(0,212,255,.08);
  animation: orbBreath 4s ease-in-out infinite;
}

.orb-pulse {
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  border: 1px solid rgba(0,212,255,.18);
  animation: orbPulse 3s ease-in-out infinite;
}

.orb-node {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(13,13,26,.92);
  border: 1px solid var(--c-border-2);
  display: grid;
  place-items: center;
  color: var(--c-cyan);
  box-shadow: 0 0 14px rgba(0,212,255,.18);
}

.node--1 { top: 0;    left: 50%; transform: translateX(-50%); }
.node--2 { top: 50%;  right: 0;  transform: translateY(-50%); }
.node--3 { bottom: 0; left: 50%; transform: translateX(-50%); }
.node--4 { top: 50%;  left: 0;   transform: translateY(-50%); }

/* ── Scroll indicator — visível apenas no mobile ── */
.scroll-indicator {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: none; /* oculto no desktop */
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  animation: fadeUp 1s ease .8s both;
}

.scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--c-cyan), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

.scroll-indicator span {
  font-size: 9px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-text-3);
  font-weight: 500;
}

/* ── Thesis strip ── */
.thesis-strip {
  position: relative;
  z-index: 10;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  background: linear-gradient(135deg, rgba(0,212,255,.025), rgba(124,58,237,.03));
  padding: 44px 40px;
}

.ts-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.ts-text {
  font-family: var(--f-sans);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  color: var(--c-text-2);
  text-align: center;
  letter-spacing: -.2px;
}

.ts-pillars {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.ts-pillar {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--r-full);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--c-text-2);
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast);
  cursor: default;
}

.ts-pillar:hover {
  border-color: var(--c-border-2);
  color: var(--c-text);
  background: var(--c-cyan-dim);
}

.ts-pillar-icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--c-cyan);
  flex-shrink: 0;
}

.ts-sep {
  width: 1px;
  height: 18px;
  background: var(--c-border);
  flex-shrink: 0;
}

/* ── Hero responsive ── */
@media (max-width: 1100px) {
  .hero-layout { padding: 0 40px; gap: 32px; }
  .hero-visual  { flex: 0 0 420px; height: 420px; }
}

@media (max-width: 900px) {
  .hero-layout {
    flex-direction: column;
    align-items: flex-start;
    padding: 0 32px;
    gap: 48px;
  }
  .hero-content    { max-width: 560px; align-items: flex-start; }
  .hero-visual     { flex: none; width: 100%; height: 360px; align-self: center; }
  .hero-headline   { font-size: clamp(30px, 5.5vw, 48px); }
  .scroll-indicator { left: 32px; }
}

@media (max-width: 768px) {
  .hero          { padding: calc(var(--nav-h) + 16px) 0 80px; }
  .hero-layout   { padding: 0 20px; gap: 40px; }
  .hero-proof    { gap: 14px; padding: 12px 16px; width: 100%; }
  .proof-num     { font-size: 15px; }
  .ts-sep        { display: none; }
  .thesis-strip  { padding: 28px 20px; }
  .ts-inner      { gap: 20px; }
  .ts-text       { font-size: 15px; }
  .ts-pillars    { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; }
  .ts-pillar     { padding: 8px 12px; font-size: 11px; gap: 7px; justify-content: center; }
  .ts-pillar-icon { width: 18px; height: 18px; }

  /* Cards flutuantes — versão compacta para mobile */
  .float-card {
    padding: 8px 10px;
    min-width: 100px;
    border-radius: 10px;
  }
  .fc-icon         { width: 20px; height: 20px; border-radius: 5px; margin-bottom: 5px; }
  .fc-value        { font-size: 13px; }
  .fc-value--sm    { font-size: 12px; }
  .fc-label        { font-size: 8px; }
  .fc-badge        { font-size: 7px; padding: 1px 5px; top: 6px; right: 8px; }
  .fc-status-row   { margin-bottom: 6px; gap: 5px; }
  .fc-status-text  { font-size: 8px; }
  .fc-dot          { width: 5px; height: 5px; }
  .fc-bar          { width: 70px; height: 2px; }
  .fc-bar-group    { gap: 3px; }
  .fc-avatar       { width: 18px; height: 18px; font-size: 7px; }
  .fc-clients      { gap: 6px; }

  /* Scroll indicator oculto no mobile */
  .scroll-indicator { display: none; }
}

@media (max-width: 520px) {
  .hero-visual   { height: 300px; }
  .hero-cta-group { flex-direction: column; width: 100%; }
  .cta-primary, .cta-ghost { justify-content: center; width: 100%; }
  .hero-proof    { flex-direction: column; gap: 10px; width: 100%; align-items: center; }
  .proof-item    { align-items: center; text-align: center; }
  .proof-divider { width: 50px; height: 1px; }
}
