/*
 * NEXUM Growth — landing page estática
 * Recriada a partir do design e da implementação original da página hospedada.
 * Estrutura: HTML + CSS + JavaScript, sem dependência de Next.js ou Vercel.
 */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Sora:wght@400;500;600;700&display=swap');

:root {
  --bg: #00261c;
  --cta: #20bb3b;
  --copy: #f2faf3;
  --muted: #a8c3b8;
  --line: rgba(242,250,243,.14);
  --lime: #c9ff58;
  --ink: #00261c;
  --grain: url('../assets/noise-grain.svg');
  --texture-green: var(--grain), radial-gradient(ellipse at 58% 48%, rgba(32,187,59,.12), transparent 46%), linear-gradient(135deg, #00261c 0%, #002219 100%);
  --texture-dark: var(--grain), radial-gradient(ellipse at 54% 48%, rgba(32,187,59,.06), transparent 44%), linear-gradient(135deg, #07100d 0%, #050b09 100%);
  --texture-light: var(--grain), linear-gradient(135deg, #f2faf3 0%, #edf6ef 100%);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background-color: var(--bg);
  background-image: var(--texture-green);
  background-size: 180px 180px, 120% 120%, cover;
  background-attachment: fixed, fixed, fixed;
  background-blend-mode: soft-light, screen, normal;
  color: var(--copy);
  font-family: Manrope, sans-serif;
  cursor: none;
}

a, button, input, textarea { cursor: none; }

.shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

/* NAV */
.nav {
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.brand img, .nav img {
  width: 154px;
  height: auto;
  display: block;
}

.nav nav { display: flex; gap: 34px; }

.nav nav a, footer a {
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
}

/* BUTTON */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--cta);
  color: #001d15 !important;
  padding: 17px 22px;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  transition: .25s;
}
.button:hover { background: var(--lime); transform: translateY(-2px); }
.button.small { padding: 13px 17px; }

/* ACTION ICON */
.action-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  background: currentColor;
  mask: url('../assets/arrow-up-right.svg') center/contain no-repeat;
  -webkit-mask: url('../assets/arrow-up-right.svg') center/contain no-repeat;
}
.text-link .action-icon, .pillar a .action-icon {
  width: 11px; height: 11px; flex-basis: 11px;
  background: var(--cta); margin-left: 9px;
}
.paths a { display: flex; align-items: center; gap: 7px; }
.paths .featured .action-icon { background: var(--ink); }

/* CURSOR */
.cursor-halo, .cursor-dot {
  position: fixed;
  left: 0; top: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 1000;
  translate: -50% -50%;
}
.cursor-halo {
  width: 42px; height: 42px;
  border: 1px solid rgba(201,255,88,.55);
  mix-blend-mode: difference;
}
.cursor-dot { width: 6px; height: 6px; background: var(--lime); }

/* BINARY TRAIL CANVAS */
.binary-trail {
  position: fixed;
  inset: 0;
  z-index: 19;
  pointer-events: none;
}

/* HERO */
.hero {
  min-height: calc(100vh - 92px);
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  position: relative;
  overflow: visible;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 76% 50%, rgba(32,187,59,.1), transparent 44%);
  opacity: .85;
}
.hero-copy { position: relative; z-index: 2; padding: 90px 0 130px; }

/* EYEBROW */
.eyebrow {
  font-size: 11px;
  letter-spacing: .18em;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow i {
  display: block;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--cta);
  box-shadow: 0 0 16px var(--cta);
}

/* TYPOGRAPHY */
h1, h2, h3 { font-family: Sora, sans-serif; margin: 0; letter-spacing: -.05em; }
h1 { font-size: clamp(54px, 6.2vw, 94px); line-height: .98; max-width: 810px; }
h1 em, h2 em { font-style: normal; color: var(--cta); }
.lead { font-size: 20px; line-height: 1.55; max-width: 610px; color: #d4e6dd; margin: 30px 0 10px; }
.support { font-size: 13px; color: var(--muted); }

.actions { display: flex; align-items: center; gap: 30px; margin-top: 38px; }
.text-link { color: var(--copy); text-decoration: none; font-size: 13px; font-weight: 700; }
.text-link span { color: var(--cta); margin-left: 10px; }

.scroll-cue { position: absolute; bottom: 28px; left: 0; font-size: 9px; letter-spacing: .2em; color: var(--muted); }

/* SYSTEM VISUAL */
.system-visual { height: 600px; position: relative; filter: drop-shadow(0 0 50px rgba(32,187,59,.12)); }
.core {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 190px; height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32,187,59,.18), transparent 68%);
  display: grid; place-items: center;
  animation: float 5s ease-in-out infinite;
}
.core img { width: 92px; height: auto; filter: drop-shadow(0 0 20px rgba(32,187,59,.35)); }

.orbit {
  position: absolute;
  border: 1px solid rgba(32,187,59,.35);
  border-radius: 50%;
  left: 50%; top: 50%;
  translate: -50% -50%;
  animation: spin 20s linear infinite;
}
.orbit-a { width: 410px; height: 410px; }
.orbit-b { width: 520px; height: 300px; animation-direction: reverse; }

.node {
  position: absolute;
  display: grid; place-items: center;
  min-width: 92px; min-height: 42px;
  padding: 10px 18px;
  border: 1px solid rgba(201,255,88,.55);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(8,66,49,.92), rgba(2,43,32,.8));
  box-shadow: 0 10px 28px rgba(0,18,13,.34), inset 0 0 18px rgba(32,187,59,.08), 0 0 0 1px rgba(32,187,59,.04);
  backdrop-filter: blur(8px);
  color: var(--copy);
  font-size: 9px; font-weight: 700;
  letter-spacing: .16em;
  white-space: nowrap;
}
.orbit-a .node { animation: counter-spin 20s linear infinite; }
.orbit-b .node { animation: counter-spin-reverse 20s linear infinite; }

.node-media  { left: -46px; top: 74px; }
.node-crm    { right: -34px; bottom: 58px; }
.node-content{ right: -40px; top: 32px; }
.node-data   { left: -38px; bottom: 28px; }

.beam {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cta), transparent);
  width: 270px;
  left: 50%; top: 50%;
  transform-origin: left;
}
.beam-b { rotate: 122deg; }
.beam-c { rotate: 235deg; }

.pulse {
  position: absolute;
  width: 9px; height: 9px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--cta);
  animation: pulse 2s infinite;
}
.p1 { left: 30%; top: 30%; }
.p2 { right: 25%; bottom: 28%; animation-delay: 1s; }

/* SECTIONS */
.section { padding: 140px 0; border-top: 1px solid var(--line); }
.section-head {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: end;
  margin: 25px 0 70px;
}
.section h2 { font-size: clamp(42px, 5vw, 70px); line-height: 1.04; }
.section-head > p, .form-layout > div > p {
  color: var(--muted); font-size: 17px; line-height: 1.7; max-width: 500px;
}

/* PILLARS */
.pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pillar {
  min-height: 390px;
  padding: 35px;
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: .35s;
}
.pillar:hover { background: #06382b; transform: translateY(-5px); }
.pillar .num { color: var(--cta); font-size: 11px; }
.mini-mark { position: absolute; right: 32px; top: 28px; color: var(--cta); font-size: 28px; }
.pillar h3 { font-size: 26px; margin: 75px 0 28px; }
.pillar strong { display: block; font-size: 15px; line-height: 1.55; max-width: 470px; }
.pillar p { color: var(--muted); font-size: 13px; line-height: 1.7; max-width: 470px; }
.pillar a, .paths a { position: absolute; bottom: 30px; color: var(--copy); font-size: 11px; text-transform: uppercase; text-decoration: none; }
.pillar a span { color: var(--cta); }

.transition { text-align: center; color: var(--muted); max-width: 750px; margin: 50px auto 0; font-size: 13px; line-height: 1.7; }

/* CONTRAST BAND */
.contrast-band {
  background-color: #07100d;
  background-image: var(--texture-dark);
  background-size: 180px 180px, 120% 120%, cover;
  background-blend-mode: soft-light, screen, normal;
  box-shadow: 0 0 0 100vmax #07100d;
  clip-path: inset(0 -100vmax);
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.big-copy { font-size: 18px; line-height: 1.7; color: var(--muted); max-width: 570px; margin: 35px 0; }

.problems article { padding: 35px 0; border-bottom: 1px solid var(--line); }
.problems span, .paths span { font-size: 10px; letter-spacing: .16em; color: var(--cta); }
.problems h3 { font-size: 25px; line-height: 1.35; margin-top: 18px; }
.problems > p { border-left: 3px solid var(--cta); padding-left: 20px; color: var(--muted); margin-top: 35px; }

/* LIGHT SECTION */
.light {
  background-color: var(--copy);
  background-image: var(--texture-light);
  background-size: 180px 180px, cover;
  background-blend-mode: multiply, normal;
  color: var(--ink);
}
.eyebrow.dark { color: #315e51; }
.light .section-head > p { color: #0b3f31; font-weight: 600; }

/* STEPS */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin: 70px 0 45px; }
.steps article { padding: 35px 35px 50px; border: 1px solid rgba(0,38,28,.16); min-height: 290px; }
.steps b { color: var(--cta); font-size: 11px; }
.steps h3 { font-size: 28px; margin: 70px 0 20px; }
.steps p { color: #315e51; line-height: 1.6; }

/* PROOF */
.proof {
  overflow: visible;
  background-color: var(--bg);
  background-image: var(--texture-green);
  background-size: 180px 180px, 120% 120%, cover;
  background-blend-mode: soft-light, screen, normal;
  box-shadow: 0 0 0 100vmax var(--bg);
  clip-path: inset(0 -100vmax);
}
.proof > h2 { margin-top: 25px; }
.proof-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  align-items: center;
  margin-top: 70px;
}
.proof-capsule {
  height: 420px;
  border: 1px solid rgba(32,187,59,.34);
  border-radius: 210px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.triple-flow { display: block; width: min(86%, 680px); height: auto; overflow: visible; }
.triple-line {
  fill: none; stroke: var(--copy); stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
  marker-end: url(#flow-arrowhead);
}
.triple-flow marker path { fill: var(--copy); }
.triple-node rect { fill: #00261c; stroke: var(--cta); stroke-width: 2; }
.triple-node text {
  fill: var(--cta);
  font: 700 12px Manrope, sans-serif;
  letter-spacing: .16em;
  text-anchor: middle;
  dominant-baseline: middle;
}
.proof-layout > p { font-size: 20px; line-height: 1.6; color: var(--muted); margin-left: 20px; }

/* PATHS */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); }
.paths article { position: relative; min-height: 360px; padding: 34px; border: 1px solid var(--line); }
.paths article.featured { background: var(--cta); color: var(--ink); transform: translateY(-15px); }
.paths .featured span, .paths .featured a { color: var(--ink); }
.paths h3 { font-size: 30px; margin: 90px 0 20px; }
.paths p { color: var(--muted); line-height: 1.6; }
.paths .featured p { color: #073d2c; }

/* FORM ZONE */
.form-zone {
  background-color: #09120f;
  background-image: var(--texture-dark);
  background-size: 180px 180px, 120% 120%, cover;
  background-blend-mode: soft-light, screen, normal;
}
.form-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 100px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.form label { font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  display: block; width: 100%;
  border: 0; border-bottom: 1px solid rgba(242,250,243,.3);
  background: transparent; color: var(--copy);
  padding: 14px 0; font: 15px Manrope; margin-top: 8px; outline: none;
}
.form input:focus, .form textarea:focus { border-color: var(--cta); }
.form textarea { height: 90px; resize: vertical; }
.wide { grid-column: 1 / -1; }
.form button { width: 100%; margin-top: 10px; }
.form button:disabled { opacity: .65; transform: none; }
.form-error { margin: 0; color: #ffc8c8; font-size: 12px; line-height: 1.5; }

/* FAQ */
.faq { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; }
.faq > h2 { grid-column: 1; }
.faq > div { grid-column: 2; grid-row: 1 / 3; }
.faq article { border-top: 1px solid var(--line); }
.faq button {
  width: 100%; background: transparent; border: 0;
  color: var(--copy); padding: 25px 0; text-align: left;
  display: grid; grid-template-columns: 50px 1fr 20px;
  font: 600 17px Sora;
}
.faq button span { font: 10px Manrope; color: var(--cta); }
.faq button b { font-size: 24px; transition: .3s; }
.faq article p {
  color: var(--muted); line-height: 1.7;
  max-height: 0; overflow: hidden;
  margin: 0 50px; transition: .35s;
}
.faq article.open p { max-height: 160px; margin-bottom: 25px; }
.faq article.open button b { rotate: 45deg; }

/* FINAL CTA */
.final-cta {
  text-align: center;
  padding: 140px 25px;
  background-color: var(--bg);
  background-image: var(--grain), radial-gradient(circle at 50% 20%, rgba(11,74,57,.84), rgba(0,38,28,.96) 58%);
  background-size: 180px 180px, cover;
  background-blend-mode: soft-light, normal;
}
.final-cta img { width: 150px; height: auto; margin-bottom: 55px; }
.final-cta h2 { font-size: clamp(43px, 6vw, 82px); margin-bottom: 40px; }
.final-cta em { color: var(--cta); font-style: normal; }

/* FOOTER */
footer {
  min-height: 140px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 50px;
}
footer img { width: 130px; height: auto; }
footer p { color: var(--muted); font-size: 12px; flex: 1; }

/* THANKS PAGE */
.thanks {
  min-height: 100vh;
  display: grid; place-items: center;
  padding: 40px;
  position: relative; overflow: hidden;
  background-color: var(--bg);
  background-image: var(--texture-green);
  background-size: 180px 180px, 120% 120%, cover;
  background-blend-mode: soft-light, screen, normal;
}
.thanks::before {
  content: "";
  position: absolute;
  width: 600px; height: 600px;
  border: 1px solid rgba(32,187,59,.28);
  border-radius: 50%;
  animation: spin 18s linear infinite;
}
.thanks-card { position: relative; z-index: 2; max-width: 850px; text-align: center; }
.thanks-card img { width: 160px; height: auto; margin: 0 auto 65px; }
.thanks-card h1 { font-size: clamp(46px, 6vw, 78px); line-height: 1.02; }
.thanks-card h1 em { font-style: normal; color: var(--cta); }
.thanks-card > p { color: var(--muted); font-size: 18px; line-height: 1.65; }
.thanks-steps { display: grid; grid-template-columns: repeat(3, 1fr); text-align: left; margin: 55px 0 40px; }
.thanks-steps article { padding: 25px; border: 1px solid var(--line); background: rgba(0,24,17,.34); }
.thanks-steps b { color: var(--cta); font-size: 11px; }
.thanks-steps h2 { font-size: 18px; margin: 30px 0 12px; }
.thanks-steps p { font-size: 12px; line-height: 1.6; color: var(--muted); }

/* KEYFRAMES */
@keyframes spin    { to { rotate: 360deg; } }
@keyframes counter-spin { to { rotate: -360deg; } }
@keyframes counter-spin-reverse { to { rotate: 360deg; } }
@keyframes float   { 50% { transform: translate(-50%, -55%); } }
@keyframes pulse   { 50% { transform: scale(2); opacity: .2; } }

/* RESPONSIVE */
@media (max-width: 800px) {
  body, a, button, input, textarea { cursor: auto; }
  .cursor-halo, .cursor-dot { display: none; }
  .shell { width: min(100% - 36px, 1240px); }
  .nav { height: 76px; }
  .nav nav { display: none; }
  .brand img { width: 125px; }
  .nav .button { font-size: 0; gap: 0; }
  .nav .button .action-icon { display: block; width: 15px; height: 15px; }
  .hero { display: block; min-height: auto; padding-bottom: 80px; }
  .hero-copy { padding: 80px 0 25px; }
  .system-visual { height: 390px; }
  .orbit-a { width: 270px; height: 270px; }
  .orbit-b { width: 330px; height: 200px; }
  .node { min-width: 70px; min-height: 32px; padding: 7px 11px; font-size: 7px; }
  .node-media  { left: -31px; top: 47px; }
  .node-crm    { right: -25px; bottom: 38px; }
  .node-content{ right: -27px; top: 21px; }
  .node-data   { left: -25px; bottom: 17px; }
  .core { width: 140px; height: 140px; }
  .core img { width: 70px; }
  .beam { width: 170px; }
  .lead { font-size: 17px; }
  .actions { align-items: flex-start; flex-direction: column; }
  .scroll-cue { display: none; }
  .section { padding: 90px 0; }
  .section-head, .split, .form-layout, .faq { grid-template-columns: 1fr; gap: 35px; }
  .section-head { margin-bottom: 45px; }
  .pillars, .steps, .paths { grid-template-columns: 1fr; }
  .pillar { min-height: 350px; }
  .steps article { min-height: 230px; }
  .steps h3 { margin-top: 45px; }
  .paths .featured { transform: none; }
  .proof-layout { grid-template-columns: 1fr; gap: 35px; }
  .proof-capsule { height: auto; min-height: 310px; border-radius: 42px; padding: 24px 12px; }
  .triple-flow { width: 100%; }
  .triple-node text { font-size: 11px; letter-spacing: .12em; }
  .proof-layout > p { margin: 0; font-size: 18px; }
  .form { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  .faq > h2, .faq > div { grid-column: 1; grid-row: auto; }
  .faq button { font-size: 15px; }
  .final-cta { padding: 100px 18px; }
  footer { flex-wrap: wrap; gap: 20px; padding: 35px 0; }
  .thanks-steps { grid-template-columns: 1fr; }
  .thanks { padding: 24px; }
  .thanks-card img { margin-bottom: 45px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .cursor-halo, .cursor-dot, .binary-trail { display: none; }
}
