:root {
  --bg: #05070D;
  --ink: #EEF1F7;
  --muted: #8A93A6;
  --line: rgba(238, 241, 247, 0.08);
  --blue: #2F6BFF;
  --cyan: #5CE1E6;
  --gutter: clamp(16px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Outfit', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ---------- topo ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--gutter);
}
.brand img { display: block; height: 36px; width: auto; }
.nav-link {
  font-size: 14px; letter-spacing: .06em; color: var(--muted);
  padding: 10px 0; border-bottom: 1px solid transparent;
  transition: color .3s, border-color .3s;
}
.nav-link:hover { color: var(--ink); border-color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 36px; }

/* ---------- primeira dobra ---------- */
.hero {
  --mx: 50%; --my: 40%;
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; align-items: center;
  padding: 120px var(--gutter) 96px;
  overflow: hidden; isolation: isolate;
}
.field { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -3; }
.glow {
  position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(520px circle at var(--mx) var(--my), rgba(47, 107, 255, .20), transparent 60%),
    radial-gradient(900px circle at 85% 110%, rgba(92, 225, 230, .08), transparent 60%);
}
.hero::after { /* grade técnica sutil */
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}
.mark {
  position: absolute; z-index: -1; pointer-events: none;
  right: -4vw; top: 50%; width: min(62vw, 900px); height: auto;
  transform: translate3d(0, -50%, 0);
  fill: none; stroke: rgba(238, 241, 247, .07); stroke-width: 2;
}
.mark .mark-accent { stroke: rgba(92, 225, 230, .22); }

.hero-inner { max-width: 980px; transform-style: preserve-3d; will-change: transform; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin: 0 0 28px;
  font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted);
}
.pulse { width: 8px; height: 8px; background: var(--cyan); box-shadow: 0 0 0 0 rgba(92, 225, 230, .6); animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(92, 225, 230, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 225, 230, 0); } }

h1 {
  margin: 0; font-family: 'MainStay Sans', 'Outfit', sans-serif; /* fonte própria só no título grande */
  font-weight: 300; line-height: 1.02; letter-spacing: -.015em;
  font-size: clamp(42px, 7.4vw, 112px);
}
.grad {
  background: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 55%, var(--ink) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
}
@keyframes sheen { to { background-position: 100% 0; } }
.lead {
  max-width: 560px; margin: 32px 0 44px;
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--muted);
}

/* ---------- CTA ---------- */
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.cta {
  position: relative; display: inline-flex; align-items: center; gap: 22px;
  padding: 14px 14px 14px 28px; border-radius: 16px;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(120deg, var(--blue), var(--cyan)) border-box;
  border: 1px solid transparent;
  transition: box-shadow .4s, transform .25s ease-out;
  will-change: transform;
}
.cta:hover { box-shadow: 0 0 40px -6px rgba(47, 107, 255, .55); }
.cta-text { display: grid; font-size: 19px; letter-spacing: .01em; }
.cta-text small { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.cta-arrow {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px;
  background: linear-gradient(120deg, var(--blue), var(--cyan)); color: #04060B;
  transition: transform .3s;
}
.cta:hover .cta-arrow { transform: translateX(4px); }
.cta-note { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* ---------- rodapé da dobra ---------- */
.foot {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px;
  display: flex; justify-content: space-between; align-items: flex-end;
  font-size: 12px; letter-spacing: .1em; color: var(--muted);
}
.scroll-cue { width: 1px; height: 48px; background: var(--line); position: relative; overflow: hidden; }
.scroll-cue i { position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--cyan); animation: cue 2.2s infinite; }
@keyframes cue { to { top: 100%; } }

/* ---------- entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); animation: rise 1s cubic-bezier(.2, .7, .2, 1) forwards; }
.reveal:nth-child(2) { animation-delay: .12s; }
.reveal:nth-child(3) { animation-delay: .24s; }
.reveal:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .nav-ext { display: none; } /* no celular o CTA já está na dobra */
  h1 br { display: none; }
  .brand img { height: 31px; }
  .mark { width: 120vw; right: -40vw; top: 30%; }
  .cta { width: 100%; justify-content: space-between; }
  .lead { margin: 24px 0 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .grad, .pulse, .scroll-cue i { animation: none; opacity: 1; transform: none; }
}
