/* ESGme — Estilos específicos do app */

/* Navbar */
.nav-bar {
  background: rgba(10,10,11,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #18181b;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.75rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  color: #71717a;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color .2s;
}

.nav-brand:hover { color: #a78bfa; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-link {
  color: #a1a1aa;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color .2s;
}

.nav-link:hover { color: #e4e4e7; }

.btn-primary {
  background: linear-gradient(135deg, #a78bfa, #818cf8);
  color: #fff !important;
  padding: 0.45rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
}

.btn-primary:hover { opacity: 0.9; }

/* Badge regulação */
.badge-reg {
  display: inline-block;
  background: #1e1b4b;
  color: #a78bfa;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* Hero */
.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-sub {
  font-size: 1.1rem;
  color: #a1a1aa;
  max-width: 580px;
  margin: 0 auto 1.5rem;
}

.hero-cta { margin-bottom: 1.5rem; }

.cta-note {
  display: block;
  font-size: 0.8rem;
  color: #52525b;
  margin-top: 0.5rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  font-size: 0.85rem;
}

.proof-item { color: #71717a; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #a78bfa, #818cf8);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity .2s;
}

.btn:hover { opacity: 0.9; }

.btn-lg { padding: 0.8rem 2rem; font-size: 1rem; }

.btn-outline {
  background: transparent;
  border: 1px solid #a78bfa;
  color: #a78bfa;
}

.btn-block { width: 100%; text-align: center; }

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }

/* Sections */
.section {
  padding: 4rem 0;
  text-align: center;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* Pain points grid */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 700px;
  margin: 0 auto;
}

.pain-card {
  background: #141416;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
}

.pain-icon { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }

.pain-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.pain-card p {
  font-size: 0.85rem;
  color: #71717a;
}

/* Steps */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.step {
  text-align: center;
  background: #141416;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 1.5rem;
  width: 140px;
}

.step-num {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a78bfa, #818cf8);
  color: #fff;
  font-weight: 700;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.step h3 { font-size: 0.95rem; margin-bottom: 0.25rem; }

.step p { font-size: 0.8rem; color: #71717a; }

.step-arrow { color: #3f3f46; font-size: 1.2rem; font-weight: 700; }

/* Plans */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.plan-card {
  background: #141416;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: left;
  position: relative;
}

.plan-card.featured {
  border-color: #a78bfa;
  transform: scale(1.05);
}

.badge-popular {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #a78bfa, #818cf8);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.8rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

.plan-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }

.plan-price { font-size: 2rem; font-weight: 800; margin-bottom: 1rem; }

.plan-price small { font-size: 0.85rem; font-weight: 400; color: #71717a; }

.plan-card ul { list-style: none; padding: 0; margin-bottom: 1.5rem; }

.plan-card li {
  padding: 0.3rem 0;
  font-size: 0.85rem;
  color: #a1a1aa;
}

.plan-card li::before { content: "✓ "; color: #a78bfa; }

/* Regulation */
.reg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.reg-item {
  background: #141416;
  border: 1px solid #27272a;
  border-radius: 8px;
  padding: 1rem;
  text-align: left;
}

.reg-item strong { display: block; font-size: 0.9rem; margin-bottom: 0.2rem; }

.reg-item p { font-size: 0.8rem; color: #71717a; margin: 0; }

/* Testimonial */
.testimonial {
  background: #141416;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 2rem;
  max-width: 500px;
  margin: 0 auto;
  font-style: italic;
}

.testimonial p { color: #a1a1aa; margin-bottom: 0.5rem; }

.testimonial-author { color: #52525b; font-size: 0.85rem; }

/* CTA final */
.cta-final h2 { font-size: 1.8rem; margin-bottom: 0.5rem; }

.cta-final p { color: #a1a1aa; margin-bottom: 1.5rem; }

/* Auth forms */
.auth-form {
  max-width: 420px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: #a1a1aa;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  background: #0a0a0b;
  border: 1px solid #27272a;
  border-radius: 8px;
  color: #e4e4e7;
  font-size: 0.9rem;
  transition: border-color .2s;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #6366f1;
}

.field-error {
  display: block;
  font-size: 0.75rem;
  color: #ef4444;
  margin-top: 0.2rem;
  min-height: 1em;
}

/* Password strength */
.password-strength {
  height: 4px;
  background: #18181b;
  border-radius: 2px;
  margin-top: 0.3rem;
  overflow: hidden;
}

.strength-bar {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition: width .3s, background .3s;
}

.strength-bar.weak { background: #ef4444; }

.strength-bar.medium { background: #fbbf24; }

.strength-bar.strong { background: #22c55e; }

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-checkbox input { width: auto; margin-top: 0.15rem; }

.form-checkbox label { font-size: 0.85rem; color: #a1a1aa; }

.form-checkbox a { color: #a78bfa; }

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.forgot-password {
  font-size: 0.85rem;
  color: #a78bfa;
  text-decoration: none;
}

.auth-redirect {
  text-align: center;
  font-size: 0.9rem;
  color: #71717a;
  margin-top: 1.5rem;
}

.auth-redirect a { color: #a78bfa; }

/* Social login */
.social-login {
  max-width: 420px;
  margin: 1.5rem auto;
}

.social-divider {
  text-align: center;
  color: #3f3f46;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.social-divider span { background: #0a0a0b; padding: 0 0.5rem; }

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.btn-social {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #a1a1aa;
  border: 1px solid #27272a;
  padding: 0;
}

.social-note { text-align: center; font-size: 0.75rem; color: #52525b; margin-top: 0.75rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .pain-grid { grid-template-columns: 1fr; }
  .plan-grid { grid-template-columns: 1fr; max-width: 350px; }
  .plan-card.featured { transform: none; }
  .reg-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
}
