/* ===================================================================
   Neutralink — Rede Neutra | styles.css
   Dark tech moderno · HTML/CSS/JS puro
=================================================================== */

:root {
  --bg:        #05070f;
  --bg-soft:   #0a0e1c;
  --bg-card:   rgba(255, 255, 255, 0.04);
  --stroke:    rgba(255, 255, 255, 0.09);
  --stroke-2:  rgba(255, 255, 255, 0.14);
  --text:      #eef2ff;
  --muted:     #97a3c4;
  --muted-2:   #6c7796;

  --accent:    #38bdf8;   /* ciano */
  --accent-2:  #6366f1;   /* indigo */
  --accent-3:  #22d3ee;
  --good:      #34d399;
  --bad:       #fb7185;

  --grad:      linear-gradient(110deg, #38bdf8 0%, #6366f1 55%, #a855f7 100%);
  --grad-soft: linear-gradient(135deg, rgba(56,189,248,.16), rgba(99,102,241,.16));

  --radius:    18px;
  --radius-sm: 12px;
  --maxw:      1180px;
  --shadow:    0 24px 60px -20px rgba(0, 0, 0, 0.65);

  --ff-display: 'Outfit', system-ui, sans-serif;
  --ff-body:    'Plus Jakarta Sans', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--ff-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* ===== Background decor ===== */
.bg-grid {
  position: fixed; inset: 0; z-index: -2;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.bg-glow {
  position: fixed; z-index: -1; border-radius: 50%;
  filter: blur(110px); opacity: .5; pointer-events: none;
}
.bg-glow--1 { width: 560px; height: 560px; top: -180px; left: -120px;
  background: radial-gradient(circle, rgba(56,189,248,.55), transparent 70%); }
.bg-glow--2 { width: 620px; height: 620px; top: 280px; right: -200px;
  background: radial-gradient(circle, rgba(99,102,241,.45), transparent 70%); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--ff-display); font-weight: 600; font-size: .98rem;
  padding: 14px 24px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--lg { padding: 16px 30px; font-size: 1.05rem; }
.btn--primary {
  background: var(--grad); color: #fff;
  box-shadow: 0 12px 30px -10px rgba(56,189,248,.6);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -10px rgba(99,102,241,.7); }
.btn--ghost {
  background: rgba(255,255,255,.04); color: var(--text); border-color: var(--stroke-2);
}
.btn--ghost:hover { background: rgba(255,255,255,.09); transform: translateY(-2px); }

/* ===== Header ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(5,7,15,.78);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--stroke);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--ff-display); }
.brand__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--grad); color: #fff; font-size: 1.05rem;
  box-shadow: 0 8px 20px -8px rgba(56,189,248,.7);
}
.brand__name { font-weight: 800; font-size: 1.28rem; letter-spacing: -.02em; }
.brand__name span { color: var(--accent); }
.brand__logo { height: 44px; width: auto; display: block; }
.brand__logo--footer { height: 50px; }
@media (max-width: 560px) { .brand__logo { height: 38px; } }

.nav { display: flex; align-items: center; gap: 30px; }
.nav__link { color: var(--muted); font-weight: 500; font-size: .96rem; transition: color .2s; }
.nav__link:hover { color: var(--text); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Pills / eyebrow ===== */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600; padding: 7px 15px; border-radius: 999px;
  background: var(--grad-soft); border: 1px solid var(--stroke-2); color: var(--accent-3);
  margin-bottom: 22px;
}
.eyebrow {
  display: inline-block; font-family: var(--ff-display); font-weight: 600;
  font-size: .82rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-3); margin-bottom: 14px;
}

/* ===== Hero ===== */
.hero { padding: 150px 0 90px; position: relative; }
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero__title {
  font-family: var(--ff-display); font-weight: 800; letter-spacing: -.03em;
  font-size: clamp(2.4rem, 5vw, 3.7rem); line-height: 1.05; margin-bottom: 22px;
}
.hero__sub { font-size: 1.16rem; color: var(--muted); max-width: 540px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.hero__badges { list-style: none; display: flex; flex-wrap: wrap; gap: 12px 26px; }
.hero__badges li { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .94rem; }
.hero__badges i { color: var(--good); }

/* hero card */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  backdrop-filter: blur(10px);
}
.hero__card { padding: 26px; box-shadow: var(--shadow); position: relative; }
.hero__card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot--green { background: var(--good); box-shadow: 0 0 12px var(--good); }
.hero__card-title { font-weight: 600; font-size: .95rem; }
.badge-live {
  margin-left: auto; font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  padding: 4px 10px; border-radius: 999px; color: var(--good);
  background: rgba(52,211,153,.12); border: 1px solid rgba(52,211,153,.3);
}
.hero__metric { display: flex; flex-direction: column; margin-bottom: 18px; }
.hero__metric-label { font-size: .85rem; color: var(--muted-2); }
.hero__metric-value { font-family: var(--ff-display); font-weight: 800; font-size: 2.8rem; line-height: 1.1; }
.hero__bars { display: flex; align-items: flex-end; gap: 7px; height: 70px; margin-bottom: 24px; }
.hero__bars span {
  flex: 1; height: var(--h); border-radius: 5px 5px 0 0;
  background: var(--grad); opacity: .85;
  animation: barpulse 2.6s ease-in-out infinite;
}
.hero__bars span:nth-child(odd) { animation-delay: .4s; }
@keyframes barpulse { 0%,100% { transform: scaleY(.82); } 50% { transform: scaleY(1); } }
.hero__card-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hero__card-grid > div {
  background: rgba(255,255,255,.03); border: 1px solid var(--stroke);
  border-radius: var(--radius-sm); padding: 13px 14px; display: flex; flex-direction: column;
}
.hero__card-grid i { color: var(--accent); font-size: 1.05rem; margin-bottom: 7px; }
.hero__card-grid b { font-family: var(--ff-display); font-size: .98rem; }
.hero__card-grid small { color: var(--muted-2); font-size: .78rem; }

/* ===== Trust strip ===== */
.trust { padding: 26px 0; border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); background: rgba(255,255,255,.015); }
.trust__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.trust__label { color: var(--muted-2); font-size: .9rem; font-weight: 500; }
.trust__items { display: flex; flex-wrap: wrap; gap: 14px 26px; }
.trust__items span { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.trust__items i { color: var(--accent); }

/* ===== Sections ===== */
.section { padding: 92px 0; }
.section--alt { background: var(--bg-soft); border-top: 1px solid var(--stroke); border-bottom: 1px solid var(--stroke); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 54px; }
.section__title { font-family: var(--ff-display); font-weight: 800; letter-spacing: -.025em; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.12; }
.section__lead { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }
.section__text { color: var(--muted); font-size: 1.06rem; margin-bottom: 16px; }
.muted-note { font-size: .85rem; color: var(--muted-2); }

/* two column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 9px; font-family: var(--ff-display); font-weight: 600; color: var(--accent-3); margin-top: 8px; transition: gap .25s; }
.link-arrow:hover { gap: 15px; }

/* compare */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare__col { padding: 26px; border-radius: var(--radius); border: 1px solid var(--stroke); }
.compare__col h3 { font-family: var(--ff-display); font-size: 1.05rem; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.compare__col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.compare__col li { color: var(--muted); font-size: .96rem; padding-left: 4px; }
.compare__col--bad { background: rgba(251,113,133,.05); }
.compare__col--bad h3 { color: var(--bad); }
.compare__col--good { background: rgba(52,211,153,.06); border-color: rgba(52,211,153,.25); }
.compare__col--good h3 { color: var(--good); }

/* ===== Cards (soluções) ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { padding: 30px 26px; transition: transform .3s, border-color .3s, background .3s; }
.card:hover { transform: translateY(-6px); border-color: var(--stroke-2); background: rgba(255,255,255,.06); }
.card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--grad-soft); border: 1px solid var(--stroke-2); color: var(--accent-3);
  font-size: 1.3rem; margin-bottom: 18px;
}
.card h3 { font-family: var(--ff-display); font-size: 1.22rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .97rem; }

/* ===== Features (vantagens) ===== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { display: flex; gap: 16px; padding: 22px; border-radius: var(--radius); border: 1px solid var(--stroke); background: rgba(255,255,255,.02); transition: border-color .3s, transform .3s; }
.feature:hover { border-color: var(--stroke-2); transform: translateY(-4px); }
.feature__icon { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--grad); color: #fff; font-size: 1.15rem; box-shadow: 0 8px 20px -10px rgba(56,189,248,.7); }
.feature h3 { font-family: var(--ff-display); font-size: 1.08rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .93rem; }

/* ===== Steps ===== */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; padding: 30px 24px; border-radius: var(--radius); border: 1px solid var(--stroke); background: rgba(255,255,255,.02); }
.step__num { font-family: var(--ff-display); font-weight: 800; font-size: 2.2rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 12px; }
.step h3 { font-family: var(--ff-display); font-size: 1.12rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .94rem; }

/* ===== Numbers ===== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 34px 18px; border-radius: var(--radius); border: 1px solid var(--stroke); background: var(--grad-soft); }
.stat__value { font-family: var(--ff-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); display: block; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--muted); font-size: .95rem; margin-top: 10px; display: block; }

/* ===== Audience ===== */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.audience__card { padding: 32px 26px; text-align: center; transition: transform .3s, border-color .3s; }
.audience__card:hover { transform: translateY(-5px); border-color: var(--stroke-2); }
.audience__card i { font-size: 2rem; color: var(--accent-3); margin-bottom: 16px; }
.audience__card h3 { font-family: var(--ff-display); font-size: 1.18rem; margin-bottom: 9px; }
.audience__card p { color: var(--muted); font-size: .96rem; }

/* ===== FAQ ===== */
.faq { max-width: 820px; }
.accordion { display: flex; flex-direction: column; gap: 12px; }
.acc__item { border: 1px solid var(--stroke); border-radius: var(--radius-sm); background: rgba(255,255,255,.02); overflow: hidden; transition: border-color .3s; }
.acc__item.open { border-color: var(--stroke-2); }
.acc__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--ff-display); font-weight: 600; font-size: 1.04rem; color: var(--text);
  padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.acc__q i { color: var(--accent-3); transition: transform .3s; flex: 0 0 auto; }
.acc__item.open .acc__q i { transform: rotate(45deg); }
.acc__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.acc__a p { padding: 0 22px 20px; color: var(--muted); font-size: .98rem; }

/* ===== CTA final ===== */
.cta-final { padding: 96px 0; position: relative; }
.cta-final__inner {
  text-align: center; max-width: 760px; margin: 0 auto;
  padding: 56px 40px; border-radius: 26px;
  background: var(--grad-soft); border: 1px solid var(--stroke-2);
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.cta-final__inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at 50% 0%, rgba(56,189,248,.18), transparent 60%);
}
.cta-final h2 { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.8rem, 3.4vw, 2.5rem); letter-spacing: -.02em; line-height: 1.12; margin-bottom: 14px; }
.cta-final p { color: var(--muted); font-size: 1.12rem; margin-bottom: 30px; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--stroke); background: var(--bg-soft); padding: 56px 0 28px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer__brand p { color: var(--muted); font-size: .95rem; margin-top: 16px; max-width: 340px; }
.footer__col h4 { font-family: var(--ff-display); font-size: 1rem; margin-bottom: 16px; }
.footer__col a { display: block; color: var(--muted); font-size: .94rem; margin-bottom: 11px; transition: color .2s; }
.footer__col a:hover { color: var(--accent-3); }
.footer__col i { width: 18px; color: var(--accent); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid var(--stroke); color: var(--muted-2); font-size: .86rem; }

/* ===== WhatsApp float ===== */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.7rem; color: #fff;
  background: #25d366; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25d366; animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }

/* ===== Reveal animation ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 44px; }
  .hero__visual { max-width: 460px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .cards, .features, .audience { grid-template-columns: 1fr 1fr; }
  .steps, .stats { grid-template-columns: 1fr 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; top: 72px; right: 0; left: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(5,7,15,.97); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--stroke);
    padding: 12px 24px 24px; transform: translateY(-150%);
    transition: transform .35s ease; max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav__link { padding: 14px 4px; border-bottom: 1px solid var(--stroke); }
  .nav__cta { margin-top: 14px; justify-content: center; }
  .nav-toggle { display: flex; }
  .hero { padding-top: 120px; }
  .trust__inner { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .cards, .features, .audience, .steps, .stats, .compare, .footer__inner { grid-template-columns: 1fr; }
  .section { padding: 68px 0; }
  .cta-final__inner { padding: 40px 24px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
