:root {
  --bg: #06090f;
  --bg-soft: #0b1220;
  --card: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.08);
  --text: #eef2f7;
  --text-dim: #9aa7bb;
  --accent: #37f0a8;
  --accent-2: #3aa0ff;
  --accent-grad: linear-gradient(135deg, #37f0a8 0%, #3aa0ff 100%);
  --radius: 18px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }

/* ---------- blobs de fundo (efeito parallax) ---------- */
.blobs {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  will-change: transform;
}
.blob-1 { width: 640px; height: 640px; background: #1fae7c; top: -220px; left: -160px; }
.blob-2 { width: 560px; height: 560px; background: #2c6fd4; top: 220px; right: -200px; }
.blob-3 { width: 480px; height: 480px; background: #37f0a8; bottom: -220px; left: 30%; opacity: 0.22; }

/* ---------- nav ---------- */
header.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 18px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}
header.nav.solid {
  background: rgba(6, 9, 15, 0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--card-border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.05rem; text-decoration: none; letter-spacing: -0.01em; }
.brand svg { flex: none; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { text-decoration: none; color: var(--text-dim); font-size: 0.92rem; padding: 9px 14px; border-radius: 999px; transition: color 0.2s, background 0.2s; }
.nav-links a:hover { color: var(--text); background: var(--card); }
.nav-links a.cta { color: #06120d; background: var(--accent-grad); font-weight: 600; }
.nav-links a.cta:hover { filter: brightness(1.08); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 60px;
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(55, 240, 168, 0.1);
  border: 1px solid rgba(55, 240, 168, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
h1.display {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  font-weight: 800;
}
h1.display .grad {
  background: var(--accent-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede { font-size: 1.15rem; color: var(--text-dim); max-width: 46ch; margin: 0 0 34px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--accent-grad); color: #06120d; }
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-ghost { background: var(--card); border: 1px solid var(--card-border); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-2px); }

.stat-row { display: flex; gap: 36px; margin-top: 48px; flex-wrap: wrap; }
.stat b { display: block; font-size: 1.6rem; font-weight: 800; }
.stat span { color: var(--text-dim); font-size: 0.86rem; }

/* ---------- ilustração do hero ---------- */
.hero-art { position: relative; display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 460px; filter: drop-shadow(0 30px 60px rgba(55, 240, 168, 0.18)); }
.float-slow { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }

/* ---------- seções ---------- */
section { position: relative; padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 0 56px; }
.kicker { color: var(--accent-2); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 12px; }
h2.h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; letter-spacing: -0.015em; margin: 0 0 14px; }
.sub { color: var(--text-dim); font-size: 1.05rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(55, 240, 168, 0.35); background: rgba(255, 255, 255, 0.06); }
.card .icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-grad); margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.08rem; margin: 0 0 10px; }
.card p { color: var(--text-dim); margin: 0; font-size: 0.95rem; }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- timeline (como funciona) ---------- */
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item { display: grid; grid-template-columns: 64px 1fr; gap: 26px; position: relative; padding-bottom: 56px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-marker { display: flex; flex-direction: column; align-items: center; }
.tl-num {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--accent-grad); color: #06120d;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem; flex: none;
  box-shadow: 0 10px 30px rgba(55, 240, 168, 0.25);
}
.tl-line { width: 2px; flex: 1; background: linear-gradient(var(--card-border), transparent); margin-top: 10px; }
.tl-item:last-child .tl-line { display: none; }
.tl-body h3 { margin: 6px 0 10px; font-size: 1.25rem; }
.tl-body p { color: var(--text-dim); margin: 0; max-width: 60ch; }

/* ---------- hero secundário (banner de página) ---------- */
.page-hero { padding: 168px 0 72px; text-align: left; }
.page-hero .kicker { margin-bottom: 14px; }

/* ---------- parallax band ---------- */
.band {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
}
.band-bg {
  position: absolute;
  inset: -20% 0;
  background: radial-gradient(ellipse at 30% 30%, rgba(55, 240, 168, 0.16), transparent 55%),
              radial-gradient(ellipse at 75% 70%, rgba(58, 160, 255, 0.16), transparent 55%);
  will-change: transform;
}
.band-content { position: relative; z-index: 2; text-align: center; max-width: 720px; margin: 0 auto; }
.band-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

/* ---------- form (contato) ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.side-card { padding: 8px 0; }
.side-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }
.side-list li { display: flex; gap: 14px; align-items: flex-start; list-style: none; }
.side-list .icon-sm {
  width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: var(--card); border: 1px solid var(--card-border);
  display: flex; align-items: center; justify-content: center;
}
.side-list .icon-sm svg { width: 17px; height: 17px; }
.side-list span { color: var(--text-dim); font-size: 0.94rem; padding-top: 6px; }

form.contact-form { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; color: var(--text-dim); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.98rem;
  font-family: inherit;
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(55, 240, 168, 0.15);
}
button.submit {
  width: 100%; border: none; cursor: pointer;
  padding: 15px; border-radius: 12px;
  background: var(--accent-grad); color: #06120d;
  font-weight: 700; font-size: 1rem;
  transition: filter 0.15s ease, transform 0.15s ease;
}
button.submit:hover { filter: brightness(1.06); transform: translateY(-1px); }
#erro { color: #ff6b6b; min-height: 1.2em; margin-top: 12px; font-size: 0.9rem; }
#confirmacao {
  display: none; color: var(--accent); background: rgba(55, 240, 168, 0.08);
  border: 1px solid rgba(55, 240, 168, 0.3); border-radius: 12px; padding: 20px;
  font-weight: 600; text-align: center;
}

/* ---------- footer ---------- */
footer {
  border-top: 1px solid var(--card-border);
  padding: 40px 0;
  color: var(--text-dim);
  font-size: 0.88rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
footer a { text-decoration: none; color: var(--text-dim); }
footer a:hover { color: var(--text); }

/* ---------- responsivo ---------- */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .grid-3 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.cta) { display: none; }
  .stat-row { gap: 24px; }
}
