/* NSJ Consult - Dark Theme */
:root {
  --bg: #050507;
  --bg-elev: #0d0d10;
  --bg-card: #111114;
  --bg-card-hover: #16161a;
  --border: #1f1f24;
  --border-strong: #2a2a30;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --accent: #ffffff;
  --accent-glow: rgba(255,255,255,0.12);
  --max: 1180px;
  --radius: 12px;
  --shadow-soft: 0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 0 1px rgba(255,255,255,0.06), 0 8px 40px rgba(255,255,255,0.04);
  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

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

/* subtle background grid */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255,255,255,0.06), transparent),
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 100% 100%, 48px 48px, 48px 48px;
}

a { color: inherit; text-decoration: none; }

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

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(5,5,7,0.7);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.brand img {
  height: 40px; width: 40px;
  border-radius: 8px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 4px 20px rgba(255,255,255,0.05);
}
.brand-text { font-size: 17px; letter-spacing: 0.5px; color: var(--text); }
.brand-text small {
  display: block; font-weight: 400; color: var(--text-dim);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
}

.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
  transition: var(--transition);
}
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 8px;
  font-weight: 600; font-size: 14px;
  transition: var(--transition); cursor: pointer; border: none;
  text-align: center; white-space: nowrap;
  position: relative; overflow: hidden;
}
.btn-primary {
  background: var(--accent); color: #000;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 4px 24px rgba(255,255,255,0.12);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.2), 0 8px 32px rgba(255,255,255,0.25);
}
.btn-outline {
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.btn-lg { padding: 15px 30px; font-size: 15px; border-radius: 10px; }

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: var(--transition); }

/* ===== HERO ===== */
.hero {
  padding: 120px 0 96px;
  text-align: center;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 80%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}
.hero .tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 16px; border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  color: var(--text-muted);
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero .tag::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e; box-shadow: 0 0 12px #22c55e;
}
.hero h1 {
  font-size: clamp(38px, 6vw, 64px);
  font-weight: 700; line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #a1a1aa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero p.lead {
  font-size: 18px; color: var(--text-muted);
  max-width: 620px; margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-demo {
  margin: 72px auto 0; max-width: 720px;
  background: linear-gradient(180deg, #0a0a0d 0%, #050507 100%);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 0;
  box-shadow: var(--shadow-soft), 0 0 80px rgba(255,255,255,0.03);
  font-family: "JetBrains Mono", "Consolas", "Monaco", monospace;
  font-size: 13px; overflow: hidden;
  text-align: left;
}
.hero-demo .dots {
  padding: 14px 18px; border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
}
.hero-demo .dots span { display: inline-block; width: 11px; height: 11px; border-radius: 50%; margin-right: 6px; }
.hero-demo .dots span:nth-child(1) { background: #ff5f57; }
.hero-demo .dots span:nth-child(2) { background: #febc2e; }
.hero-demo .dots span:nth-child(3) { background: #28c840; }
.hero-demo pre {
  padding: 24px 28px; white-space: pre; color: #d4d4d8; overflow-x: auto;
}
.hero-demo .k { color: #93c5fd; }
.hero-demo .s { color: #86efac; }
.hero-demo .c { color: #52525b; font-style: italic; }

/* ===== SECTIONS ===== */
section { padding: 100px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-head .eyebrow {
  display: inline-block;
  text-transform: uppercase; letter-spacing: 3px;
  font-size: 11px; color: var(--text-dim); margin-bottom: 16px;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
}
.section-head h2 {
  font-size: clamp(30px, 4.5vw, 44px); font-weight: 700;
  letter-spacing: -1.2px; margin-bottom: 16px;
  background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-head p { color: var(--text-muted); max-width: 580px; margin: 0 auto; font-size: 16px; }

/* ===== PLANOS ===== */
.plans-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px;
  transition: var(--transition);
  display: flex; flex-direction: column;
  position: relative;
}
.plan:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.plan.destaque {
  background: linear-gradient(180deg, #1a1a1f 0%, #0f0f12 100%);
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.5);
}
.plan.destaque::before {
  content: "MAIS POPULAR";
  position: absolute; top: -1px; left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: var(--accent); color: #000;
  font-size: 10px; letter-spacing: 2px; font-weight: 700;
  padding: 6px 14px; border-radius: 999px;
  box-shadow: 0 4px 20px rgba(255,255,255,0.2);
}
.plan h3 { font-size: 18px; margin-bottom: 6px; color: var(--text); }
.plan .preco {
  font-size: 38px; font-weight: 700; margin: 20px 0 6px;
  letter-spacing: -1.5px; color: var(--text);
}
.plan .preco small { font-size: 14px; font-weight: 500; color: var(--text-dim); }
.plan .desc { color: var(--text-muted); font-size: 13px; min-height: 36px; }
.plan ul { list-style: none; margin: 24px 0; flex: 1; }
.plan ul li {
  padding: 8px 0; font-size: 14px; color: var(--text-muted);
  display: flex; align-items: flex-start; gap: 10px;
  border-bottom: 1px solid var(--border);
}
.plan ul li:last-child { border-bottom: none; }
.plan ul li::before {
  content: "→"; color: var(--accent); font-weight: 700; flex-shrink: 0;
}
.plan .btn { width: 100%; }

/* ===== STEPS ===== */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.step:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.step::after {
  content: ""; position: absolute; top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(255,255,255,0.04), transparent 70%);
  opacity: 0; transition: var(--transition);
}
.step:hover::after { opacity: 1; }
.step .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 0%, #71717a 100%);
  color: #000; font-size: 20px; font-weight: 700;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(255,255,255,0.08);
}
.step h3 { font-size: 19px; margin-bottom: 12px; color: var(--text); }
.step p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px; overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item[open] {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.12);
}
.faq-item summary {
  padding: 22px 26px; cursor: pointer; font-weight: 600;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-size: 15px; color: var(--text);
  transition: var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-size: 24px; font-weight: 300; color: var(--text-dim);
  transition: var(--transition); flex-shrink: 0; margin-left: 16px;
}
.faq-item[open] summary::after {
  transform: rotate(45deg); color: var(--accent);
}
.faq-item .a {
  padding: 0 26px 22px; color: var(--text-muted); font-size: 14px;
}

/* ===== CONTATO ===== */
.contato { text-align: center; }
.contact-card {
  max-width: 520px; margin: 0 auto;
  background: linear-gradient(180deg, #16161a 0%, #0a0a0d 100%);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: 16px; padding: 48px 36px;
  box-shadow: var(--shadow-glow), 0 20px 60px rgba(0,0,0,0.5);
  position: relative; overflow: hidden;
}
.contact-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}
.contact-card h3 { font-size: 22px; margin-bottom: 10px; }
.contact-card p { color: var(--text-muted); margin-bottom: 24px; font-size: 14px; }
.contact-card .phone {
  font-size: 30px; font-weight: 700; margin: 18px 0;
  letter-spacing: -.8px; color: var(--text);
  font-family: "JetBrains Mono", "Consolas", monospace;
}
.contact-card .horario {
  font-size: 12px; color: var(--text-dim); margin-top: 20px;
  text-transform: uppercase; letter-spacing: 1.5px;
}
.contact-card .email-contato {
  margin-top: 20px; font-size: 14px;
}
.contact-card .email-contato a {
  color: var(--text-muted);
  font-family: "JetBrains Mono", "Consolas", monospace;
  border-bottom: 1px dashed var(--border-strong);
  padding-bottom: 2px;
  transition: var(--transition);
}
.contact-card .email-contato a:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}
.btn-wa {
  background: #25d366; color: #fff;
  box-shadow: 0 0 0 1px rgba(37,211,102,0.3), 0 4px 24px rgba(37,211,102,0.25);
}
.btn-wa:hover {
  background: #1da851;
  box-shadow: 0 0 0 1px rgba(37,211,102,0.5), 0 8px 32px rgba(37,211,102,0.4);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-elev);
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img {
  height: 40px; width: 40px; border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}
.footer-brand p { font-size: 14px; color: var(--text-dim); max-width: 340px; line-height: 1.6; }
.footer-col h4 {
  color: var(--text); font-size: 12px; margin-bottom: 18px;
  text-transform: uppercase; letter-spacing: 2px; font-weight: 600;
}
.footer-col a {
  display: block; padding: 6px 0; color: var(--text-muted); font-size: 14px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12px; color: var(--text-dim);
}

/* ===== LEGAL PAGES ===== */
.legal {
  max-width: 820px; margin: 0 auto; padding: 64px 24px 96px;
}
.legal h1 {
  font-size: 40px; margin-bottom: 8px; letter-spacing: -1px;
  background: linear-gradient(180deg, #fff 0%, #a1a1aa 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.legal .updated { color: var(--text-dim); font-size: 13px; margin-bottom: 40px; text-transform: uppercase; letter-spacing: 1.5px; }
.legal h2 {
  font-size: 22px; margin: 44px 0 16px; padding-top: 20px;
  border-top: 1px solid var(--border); color: var(--text);
  letter-spacing: -.3px;
}
.legal h3 { font-size: 17px; margin: 24px 0 10px; color: var(--text); }
.legal p, .legal li { color: var(--text-muted); margin-bottom: 12px; font-size: 15px; line-height: 1.7; }
.legal strong { color: var(--text); }
.legal ul, .legal ol { padding-left: 24px; margin-bottom: 12px; }
.legal a { color: var(--text); text-decoration: underline; text-decoration-color: var(--border-strong); text-underline-offset: 3px; transition: var(--transition); }
.legal a:hover { text-decoration-color: var(--text); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .plans-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .nav-links {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(5,5,7,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 24px; gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .plans-grid { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .hero { padding: 72px 0 64px; }
  .hero-demo { font-size: 11px; }
  .hero-demo pre { padding: 18px; }
}

/* ===== WhatsApp floating ===== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  background: #25d366; color: #fff;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 1px rgba(37,211,102,0.3), 0 8px 24px rgba(37,211,102,0.4);
  z-index: 100; transition: var(--transition);
}
.wa-float::before {
  content: ""; position: absolute; inset: -6px;
  border-radius: 50%; background: rgba(37,211,102,0.3);
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.85); opacity: 0.7; }
  100% { transform: scale(1.4); opacity: 0; }
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; position: relative; z-index: 1; }
