/* ==========================================================================
   PaperX Landing Pages — Shared Stylesheet
   Fiel ao padrão visual de paperxapp.com.br
   Paleta: Dark Slate/Black (#070a08), Neon Emerald (#00FF94), Mint (#5AEF8C)
   Tipografia: Plus Jakarta Sans / Inter
   ========================================================================== */

:root {
  --bg-dark: #070a08;
  --bg-card: rgba(18, 26, 21, 0.7);
  --bg-card-hover: rgba(26, 38, 30, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 255, 148, 0.25);
  --primary: #00FF94;
  --primary-hover: #5AEF8C;
  --primary-glow: rgba(0, 255, 148, 0.35);
  --accent-blue: #38bdf8;
  --text-main: #FFFFFF;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 35px -5px rgba(0, 255, 148, 0.2);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 90px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

p {
  color: var(--text-muted);
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 10, 8, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.badge-niche {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 148, 0.08);
  border: 1px solid var(--border-glow);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

.btn-header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  transition: all 0.25s ease;
}

.btn-header-cta:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary-hover);
  color: var(--primary);
}

/* Floating Bottom Navigation Pill */
.floating-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 50;
  padding: 0 10px;
  width: auto;
}

.floating-nav-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(10, 15, 12, 0.92);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 8px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), var(--shadow-glow);
}

.floating-nav-link {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.floating-nav-link:hover, .floating-nav-link.active {
  color: var(--primary);
  background: rgba(0, 255, 148, 0.1);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #070a08;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.0625rem;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px var(--primary-glow);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  text-align: center;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 255, 148, 0.5);
  background: linear-gradient(135deg, #22ff9f 0%, #76f4a3 100%);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-whatsapp-hero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #25D366;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  width: 100%;
}

.btn-whatsapp-hero:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.4);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 255, 148, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
  }
}

.hero-content h1 {
  font-size: 2.25rem;
  margin: 16px 0 20px;
  letter-spacing: -0.03em;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3.125rem;
  }
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  max-width: 600px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  margin-bottom: 32px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9375rem;
  color: #e2e8f0;
}

.highlight-item svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* Card / Box */
.card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.card-glass:hover {
  border-color: var(--border-glow);
}

/* Form Styles */
.form-card {
  position: relative;
  background: rgba(14, 20, 16, 0.9);
  border: 1px solid rgba(0, 255, 148, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), var(--shadow-glow);
}

.form-header {
  margin-bottom: 24px;
}

.form-header h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.form-header p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #cbd5e1;
  font-family: var(--font-heading);
}

.form-control {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.9375rem;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 255, 148, 0.03);
  box-shadow: 0 0 0 3px rgba(0, 255, 148, 0.15);
}

.form-control option {
  background: #0d1310;
  color: #fff;
}

.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0;
}

.form-checkbox-group input[type="checkbox"] {
  accent-color: var(--primary);
  width: 18px;
  height: 18px;
  margin-top: 3px;
  cursor: pointer;
}

.form-checkbox-group label {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  cursor: pointer;
}

.form-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 10px;
  justify-content: center;
}

/* Sections */
.section {
  padding: 80px 0;
  position: relative;
}

.section-alt {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-header .eyebrow {
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 2.5rem;
  }
}

.section-header p {
  font-size: 1.0625rem;
}

/* Visual UI Showcase Cards */
.ui-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 768px) {
  .ui-showcase-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ui-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ui-mockup-screen {
  background: #0a0f0c;
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px;
  position: relative;
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mockup-dots {
  display: flex;
  gap: 5px;
}

.mockup-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.mockup-tag {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(0, 255, 148, 0.1);
  color: var(--primary);
  border: 1px solid var(--border-glow);
}

.mockup-body {
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  font-size: 0.8125rem;
}

.ui-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ui-card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.ui-card-content p {
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

.feature-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.feature-pill {
  font-size: 0.6875rem;
  background: rgba(255, 255, 255, 0.05);
  color: #cbd5e1;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

/* Pain -> Solution Grid */
.pain-solution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .pain-solution-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pain-solution-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: border-color 0.2s ease;
}

.pain-solution-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.pain-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f87171;
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.solution-header {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  margin: 18px 0 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-subtle);
}

/* Steps (Como Funciona) */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: rgba(0, 255, 148, 0.25);
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.875rem;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.featured {
  background: rgba(18, 28, 22, 0.9);
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-glow);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #070a08;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--radius-full);
}

.pricing-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--text-dim);
  margin-bottom: 24px;
  min-height: 40px;
}

.pricing-price {
  margin-bottom: 28px;
}

.pricing-price .currency {
  font-size: 1.25rem;
  font-weight: 700;
  vertical-align: top;
}

.pricing-price .amount {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.pricing-price .period {
  font-size: 0.875rem;
  color: var(--text-dim);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: #cbd5e1;
}

.pricing-features li svg {
  color: var(--primary);
  flex-shrink: 0;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 1.0625rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(4, 6, 5, 0.95);
  padding: 60px 0 40px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 0.875rem;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-dim);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

/* Notification Toast */
.toast-msg {
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 60;
  background: #0d1a12;
  border: 1px solid var(--primary);
  color: #fff;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.toast-msg.show {
  opacity: 1;
  transform: translateY(0);
}
