/* ============================================================
   ZION TECH SOLUTIONS — zionts.com.br
   Dark premium · identidade monocromática + acento glacial
   ============================================================ */

:root {
  --bg-0: #05070a;
  --bg-1: #0a0e13;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f2f5f7;
  --muted: #97a1ab;
  --accent-1: #5eead4;
  --accent-2: #60a5fa;
  --grad: linear-gradient(92deg, var(--accent-1), var(--accent-2));
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --container: 1160px;
  --nav-h: 72px;
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Tipografia ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; letter-spacing: -0.015em; }
h4 { font-size: 1.02rem; letter-spacing: -0.01em; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.overline {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 1.1rem;
}

.section-sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 640px;
  margin-top: 0.75rem;
}

/* ---------- Botões ---------- */

@property --neon-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  padding: 14px 28px;
  border-radius: 999px;
  transition: transform 120ms ease-out, background 180ms ease, border-color 180ms ease;
  will-change: transform;
}

.btn:active { transform: scale(0.97); }

/* Primário: respiração neon + varredura de brilho */
.btn-primary {
  background: var(--text);
  color: #05070a;
  overflow: hidden;
  animation: neon-breathe 3.2s ease-in-out infinite;
}
.btn-primary::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(94, 234, 212, 0.55), rgba(96, 165, 250, 0.35), transparent);
  transform: skewX(-18deg);
  animation: neon-shine 3.2s ease-in-out infinite;
  pointer-events: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  animation-duration: 1.6s;
}
.btn-primary:hover::after { animation-duration: 1.6s; }

@keyframes neon-breathe {
  0%, 100% { box-shadow: 0 0 14px rgba(94, 234, 212, 0.25), 0 0 38px rgba(96, 165, 250, 0.14); }
  50%      { box-shadow: 0 0 28px rgba(94, 234, 212, 0.55), 0 0 70px rgba(96, 165, 250, 0.32); }
}
@keyframes neon-shine {
  0%        { left: -60%; }
  55%, 100% { left: 130%; }
}

/* Ghost: borda neon girando em volta do botão */
.btn-ghost {
  color: var(--text);
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(7, 10, 14, 0.92), rgba(7, 10, 14, 0.92)) padding-box,
    conic-gradient(
      from var(--neon-angle),
      rgba(255, 255, 255, 0.14) 0%,
      var(--accent-1) 12%,
      var(--accent-2) 26%,
      rgba(255, 255, 255, 0.14) 42%,
      rgba(255, 255, 255, 0.14) 100%
    ) border-box;
  animation: neon-rotate 3.6s linear infinite;
}
.btn-ghost:hover {
  animation-duration: 1.4s;
  box-shadow: 0 0 22px rgba(94, 234, 212, 0.22), inset 0 0 18px rgba(96, 165, 250, 0.08);
  transform: translateY(-2px);
}

@keyframes neon-rotate {
  to { --neon-angle: 360deg; }
}

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 250ms ease, border-color 250ms ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(5, 7, 10, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo img {
  height: 58px;
  width: auto;
  filter: drop-shadow(0 0 0 rgba(94, 234, 212, 0));
  transition: filter 250ms ease, transform 250ms var(--ease-spring);
}
.nav-logo:hover img {
  filter: drop-shadow(0 0 14px rgba(94, 234, 212, 0.45));
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  position: relative;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--muted);
  transition: color 150ms ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(94, 234, 212, 0.6);
  opacity: 0;
  transition: right 300ms var(--ease-spring), opacity 180ms ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { right: 0; opacity: 1; }

.nav-actions { display: flex; align-items: center; gap: 16px; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 200ms var(--ease-spring), opacity 200ms;
}
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 64px) 0 96px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.16;
}
.hero-glow-1 {
  width: 640px; height: 640px;
  background: var(--accent-2);
  top: -240px; right: -160px;
}
.hero-glow-2 {
  width: 520px; height: 520px;
  background: var(--accent-1);
  bottom: -200px; left: -140px;
  opacity: 0.10;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 35%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 35%, transparent 75%);
}

.hero-mountain {
  position: absolute;
  bottom: -6%;
  right: -4%;
  width: min(860px, 78vw);
  opacity: 0.06;
  will-change: transform;
}

.hero-content { position: relative; }

.hero-sub {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 620px;
  margin: 1.5rem 0 2.25rem;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  margin-top: 4rem;
  max-width: 880px;
}

.stat {
  background: rgba(10, 14, 19, 0.85);
  padding: 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--muted);
}
.stat-num b {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.stat-label { font-size: 0.86rem; color: var(--muted); line-height: 1.45; }

/* ---------- Seções ---------- */

.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-1); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* ---------- Cards de pilares ---------- */

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 3.5rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px 30px;
  transition: transform 250ms var(--ease-spring), background 200ms ease, border-color 200ms ease;
}
.card:hover {
  transform: translateY(-4px);
  background: var(--surface-hover);
  border-color: rgba(255,255,255,0.16);
}

.card-icon {
  width: 48px; height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: rgba(94, 234, 212, 0.09);
  color: var(--accent-1);
  margin-bottom: 22px;
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.tag {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-1);
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 999px;
  padding: 3px 10px;
}

.card p { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }

.card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.card li {
  font-size: 0.9rem;
  color: rgba(242, 245, 247, 0.85);
  padding-left: 22px;
  position: relative;
}
.card li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 12px; height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

/* ---------- Grid 6 (estrutura de IA) ---------- */

.grid-6 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 3.25rem;
}

.mini-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  background: rgba(5, 7, 10, 0.55);
  transition: transform 250ms var(--ease-spring), border-color 200ms ease;
}
.mini-card:hover { transform: translateY(-3px); border-color: rgba(94, 234, 212, 0.35); }
.mini-card h4 { margin-bottom: 8px; }
.mini-card p { color: var(--muted); font-size: 0.9rem; }

/* ---------- Passos ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 3.5rem;
  counter-reset: step;
}

.step {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  position: relative;
}
.step::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 48px; height: 2px;
  background: var(--grad);
}
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--accent-1);
  display: block;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Por que a Zion ---------- */

.zion-section { overflow: hidden; }

.zion-bg { position: absolute; inset: 0; pointer-events: none; }
.zion-mountain {
  position: absolute;
  bottom: -12%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 110vw);
  opacity: 0.045;
}

.zion-inner { position: relative; }

.zion-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 2rem;
  max-width: 980px;
}
.zion-cols p { color: var(--muted); font-size: 1.02rem; }
.zion-cols strong { color: var(--text); font-weight: 600; }

.zion-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 3rem;
}
.point {
  border-left: 2px solid transparent;
  border-image: var(--grad) 1;
  border-image-slice: 0 0 0 1;
  border-left-style: solid;
  padding-left: 20px;
}
.point h4 { margin-bottom: 6px; }
.point p { color: var(--muted); font-size: 0.9rem; }

/* ---------- CTA final ---------- */

.cta-section {
  padding: 140px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.10), transparent 60%);
  pointer-events: none;
}

.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta-badge { width: 108px; margin-bottom: 2rem; opacity: 0.95; }
.cta-inner .section-sub { margin: 0.5rem auto 2.25rem; }
.cta-inner .hero-ctas { justify-content: center; }

/* ---------- Footer ---------- */

.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-1);
  padding: 72px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-logo { width: 150px; margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.92rem; }

.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.footer-col a {
  color: rgba(242, 245, 247, 0.75);
  font-size: 0.94rem;
  transition: color 150ms ease;
  width: fit-content;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
  padding-bottom: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ---------- Reveal on scroll ---------- */

.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms var(--ease-spring), transform 700ms var(--ease-spring);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Acessibilidade ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { transition: opacity 250ms ease; transform: none; }
  .hero-mountain { transform: none !important; }
  .card, .mini-card, .btn { transition: none; }
  .btn-primary, .btn-ghost { animation: none; }
  .btn-primary::after { animation: none; display: none; }
  .btn-primary { box-shadow: 0 0 18px rgba(94, 234, 212, 0.3); }
}

/* ---------- Responsivo ---------- */

@media (max-width: 980px) {
  .cards-3, .grid-6, .zion-points { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .section { padding: 88px 0; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(5, 7, 10, 0.96);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease, transform 220ms var(--ease-spring);
  }
  .nav-links.open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,0.05); }

  .nav-burger { display: flex; }
  .nav-actions .btn { display: none; }

  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero-stats { grid-template-columns: 1fr; }
  .cards-3, .grid-6, .zion-points, .zion-cols, .steps { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }}
