/* =========================================================
   PróximoPasso IA — Landing & Pages CSS
   Versão: 20260517-v3-linear
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
button, input, textarea, select { font: inherit; }
a { color: inherit; text-decoration: none; }

:root {
  --bg:        #0d1117;
  --bg-2:     #161b22;
  --bg-elev:  #1c2128;
  --bg-input: #22272e;
  --bd:        rgba(240,246,252,.10);
  --bd-strong: rgba(240,246,252,.18);

  --t1: #e6edf3;
  --t2: #8b949e;
  --t3: #6e7681;
  --t4: #484f58;

  --acc:    #7C5CFC;
  --acc2:   #A78BFA;
  --acc-bg: rgba(124,92,252,.12);
  --acc-bd: rgba(124,92,252,.35);

  --green:  #3fb950;
  --red:    #f85149;

  --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 6px;
  --r:    8px;
  --r-lg: 12px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--t1);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.005em;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

::selection { background: var(--acc-bg); color: var(--t1); }

/* Glow decorativo (sutil) */
.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(800px 400px at 50% -100px, rgba(124,92,252,.10), transparent 60%),
    radial-gradient(600px 400px at 90% 90%, rgba(167,139,250,.06), transparent 60%);
}

/* ===== TOPBAR ===== */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13,17,23,.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bd);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: 100%;
}

.brand {
  display: flex; align-items: center; gap: 9px;
  font-weight: 600; font-size: 15px;
  letter-spacing: -0.015em;
  color: var(--t1);
}
.brand-logo {
  height: 24px !important;
  width: auto !important;
  max-width: 30px !important;
  max-height: 24px !important;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.brand strong { font-weight: 600; }
.brand strong span { color: var(--acc); font-weight: 600; }

.nav {
  display: flex; gap: 2px;
}
.nav a {
  padding: 7px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--t2);
  border-radius: var(--r-sm);
  transition: background .12s, color .12s;
  letter-spacing: -0.005em;
}
.nav a:hover { background: var(--bg-elev); color: var(--t1); }

.actions { display: flex; gap: 8px; align-items: center; }

.ghost, .solid {
  padding: 7px 14px;
  border-radius: var(--r-sm);
  font-size: 13.5px;
  font-weight: 500;
  transition: all .12s;
  letter-spacing: -0.005em;
  display: inline-flex; align-items: center; gap: 6px;
}
.ghost {
  color: var(--t2);
  border: 1px solid transparent;
}
.ghost:hover { color: var(--t1); background: var(--bg-elev); }
.solid {
  background: var(--acc);
  color: white;
  border: 1px solid transparent;
}
.solid:hover { opacity: .92; }
.solid.big, .ghost.big {
  padding: 10px 18px;
  font-size: 14px;
}
.ghost.big {
  border: 1px solid var(--bd-strong);
}
.ghost.big:hover { border-color: var(--acc-bd); }

.menu {
  display: none;
  padding: 8px;
  border-radius: var(--r-sm);
  color: var(--t2);
  flex-direction: column;
  gap: 3px;
  cursor: pointer;
}
.menu span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

/* ===== HERO ===== */
.hero {
  position: relative;
  z-index: 1;
  padding: 80px 24px 60px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: var(--acc-bg);
  border: 1px solid var(--acc-bd);
  border-radius: 999px;
  font-size: 12px;
  color: var(--acc);
  font-weight: 500;
  margin-bottom: 22px;
  letter-spacing: 0.01em;
}
.eyebrow span:not(.eyebrow-dot) { color: inherit; }
.eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--acc);
  box-shadow: 0 0 0 3px rgba(124,92,252,.20);
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
  color: var(--t1);
}
.hero h1 .accent {
  color: var(--acc);
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 17px;
  color: var(--t2);
  margin: 0 auto 28px;
  max-width: 580px;
  line-height: 1.55;
}

.hero-cta {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}

/* ===== SECTIONS ===== */
section {
  position: relative;
  z-index: 1;
  padding: 60px 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}
.section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  color: var(--t1);
}
.section-head p {
  color: var(--t2);
  font-size: 15px;
  max-width: 540px;
  margin: 0 auto;
}

/* ===== FEATURES GRID ===== */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.feature {
  background: var(--bg-2);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  padding: 22px;
  transition: border-color .15s, background .15s;
}
.feature:hover {
  border-color: var(--acc-bd);
  background: var(--bg-elev);
}

.feature-ico {
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--acc-bg);
  color: var(--acc);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}

.feature h3 {
  font-size: 15.5px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--t1);
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 13.5px;
  color: var(--t2);
  line-height: 1.5;
}

/* ===== PRICING ===== */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 40px;
}
@media (max-width: 1024px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .price-grid { grid-template-columns: 1fr; }
}

.price {
  background: var(--bg-2);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  padding: 24px;
  position: relative;
  text-align: left;
  display: flex;
  flex-direction: column;
}
.price.featured {
  border-color: var(--acc);
  box-shadow: 0 0 0 3px rgba(124,92,252,.10);
}

.price .tag {
  position: absolute;
  top: -10px; left: 20px;
  background: var(--acc);
  color: white;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.price h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}
.price > p {
  font-size: 13.5px;
  color: var(--t2);
  margin-bottom: 16px;
}
.price strong {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: block;
  color: var(--t1);
}
.price ul {
  list-style: none;
  margin: 16px 0 20px;
  padding: 0;
}
.price li {
  font-size: 13.5px;
  color: var(--t2);
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}
.price li::before {
  content: '✓';
  color: var(--acc);
  font-weight: 700;
  flex-shrink: 0;
}
.price li strong { font-size: inherit; display: inline; color: var(--t1); font-weight: 600; }
.price > a {
  margin-top: auto;
  padding: 9px 14px;
  background: var(--bg-elev);
  border: 1px solid var(--bd-strong);
  border-radius: var(--r-sm);
  color: var(--t1);
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
  transition: all .12s;
  letter-spacing: -0.005em;
}
.price.featured > a {
  background: var(--acc);
  color: white;
  border-color: transparent;
}
.price > a:hover { opacity: .9; border-color: var(--acc-bd); }
.price.featured > a:hover { opacity: .92; }

/* ===== LEGAL/CONTACT MAIN ===== */
.legal-main {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px;
}
.legal-main h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0 14px;
}
.legal-main > p, .legal-main p {
  color: var(--t2);
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.6;
}
.legal-main h2 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 10px;
  letter-spacing: -0.015em;
}
.legal-main ul {
  list-style: none;
  padding: 0;
  margin-bottom: 16px;
}
.legal-main ul li {
  color: var(--t2);
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: 14.5px;
  line-height: 1.5;
}
.legal-main ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--acc);
}
.legal-actions {
  display: flex;
  gap: 10px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.contact-card a {
  background: var(--bg-2);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  padding: 18px;
  display: block;
  transition: border-color .15s, background .15s;
}
.contact-card a:hover {
  border-color: var(--acc-bd);
  background: var(--bg-elev);
}
.contact-card strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--acc);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}
.contact-card p {
  margin: 0;
  font-size: 14px;
  color: var(--t1);
}

/* ===== FOOTER ===== */
.footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--bd);
  padding: 40px 24px 28px;
  max-width: 1080px;
  margin: 60px auto 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.foot-brand p {
  font-size: 13px;
  color: var(--t3);
  margin-top: 12px;
  line-height: 1.5;
  max-width: 280px;
}
.footer h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--t3);
  margin-bottom: 10px;
}
.footer-grid a {
  display: block;
  font-size: 13.5px;
  color: var(--t2);
  padding: 3px 0;
  transition: color .12s;
}
.footer-grid a:hover { color: var(--t1); }

.footer-bottom {
  border-top: 1px solid var(--bd);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--t3);
}
.footer-bottom div { display: flex; gap: 14px; }
.footer-bottom a { color: var(--t3); transition: color .12s; }
.footer-bottom a:hover { color: var(--t1); }

/* ===== TESTIMONIAL / CTA SECTION ===== */
.cta-section {
  text-align: center;
  background: var(--bg-2);
  border: 1px solid var(--bd);
  border-radius: var(--r-lg);
  padding: 48px 32px;
  margin: 40px auto;
}
.cta-section h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
.cta-section p {
  color: var(--t2);
  margin-bottom: 22px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== RESPONSIVIDADE ===== */

/* Tablet */
@media (max-width: 960px) {
  .nav { gap: 0; }
  .nav a { padding: 7px 8px; font-size: 13px; }
  .hero { padding: 60px 20px 50px; }
  .price-grid { gap: 12px; }
  .footer-grid { gap: 24px; }
}

/* Mobile */
@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: flex; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--bg-2);
    border-bottom: 1px solid var(--bd);
    padding: 12px;
    flex-direction: column;
    gap: 2px;
    z-index: 60;
  }
  .nav.open a { padding: 10px 12px; font-size: 14px; }
  .topbar { padding: 10px 16px; }
  .brand { font-size: 14px; gap: 7px; }
  .brand-logo {
    height: 22px !important;
    max-width: 26px !important;
    max-height: 22px !important;
  }
  .actions .ghost, .actions .solid { padding: 6px 10px; font-size: 12.5px; }
  .actions .big { padding: 9px 14px; font-size: 13.5px; }
  .hero { padding: 40px 16px 40px; }
  .hero h1 { font-size: clamp(26px, 8vw, 36px); margin-bottom: 16px; }
  .hero p { font-size: 15px; margin-bottom: 22px; }
  .hero-cta { flex-direction: column; width: 100%; gap: 8px; margin-bottom: 40px; }
  .hero-cta a { width: 100%; justify-content: center; }
  section { padding: 32px 16px; }
  .section-head h2 { font-size: 24px; }
  .features { grid-template-columns: 1fr; gap: 10px; }
  .feature { padding: 18px; }
  .price-grid { grid-template-columns: 1fr; }
  .footer { padding: 32px 18px 24px; margin-top: 40px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .foot-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .cta-section { padding: 32px 20px; }
  .cta-section h2 { font-size: 22px; }
  .legal-main { padding: 40px 16px; }
  .legal-actions { flex-direction: column; gap: 8px; }
  .legal-actions a { width: 100%; justify-content: center; }
}

/* Mobile pequeno */
@media (max-width: 420px) {
  .hero h1 { font-size: 24px; }
  .topbar { padding: 8px 12px; }
  .brand strong { font-size: 13.5px; }
  .actions { gap: 4px; }
  .actions .ghost { display: none; }
}
