/* =============================================================================
   Lume CRM — Landing pública (lumecrm.com.br)
   TSL alta conversão. Tema light premium. Tipografia Inter.
   ============================================================================= */

:root {
  --primary: #7C3AED;
  --primary-light: #9F67FF;
  --primary-dark: #6D28D9;
  --primary-deep: #5B21B6;
  --primary-surface: #F5F3FF;
  --primary-surface-2: #EDE9FE;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-tertiary: #94A3B8;
  --bg: #FFFFFF;
  --bg-subtle: #F8FAFC;
  --bg-section-alt: #FAFAFB;
  --border: #E5E7EB;
  --border-strong: #CBD5E1;
  --success: #16A34A;
  --warn: #F59E0B;
  --danger: #DC2626;

  --shadow-sm: 0 1px 2px 0 rgb(15 23 42 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(15 23 42 / 0.07), 0 2px 4px -2px rgb(15 23 42 / 0.05);
  --shadow-lg: 0 10px 15px -3px rgb(15 23 42 / 0.08), 0 4px 6px -4px rgb(15 23 42 / 0.05);
  --shadow-xl: 0 20px 25px -5px rgb(15 23 42 / 0.1), 0 8px 10px -6px rgb(15 23 42 / 0.05);
  --shadow-glow: 0 8px 30px -8px rgb(124 58 237 / 0.3);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ── Layout helpers ─────────────────────────────────────────────────── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }
section.alt { background: var(--bg-section-alt); }

/* ── Header ──────────────────────────────────────────────────────────── */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}
.brand-name {
  font-size: 18px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
}
.nav a { color: var(--text-secondary); transition: color .15s; }
.nav a:hover { color: var(--text-primary); }
.nav-cta {
  background: var(--text-primary);
  color: #fff !important;
  padding: 9px 16px;
  border-radius: 8px;
  font-weight: 600;
}
.nav-cta:hover { background: #1e293b; }

/* ── Eyebrow / pre-headlines ─────────────────────────────────────────── */

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-surface);
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--primary-surface-2);
}

/* ── Hero ────────────────────────────────────────────────────────────── */

.hero {
  padding: 80px 0 100px;
  background:
    radial-gradient(ellipse 1200px 600px at 50% -10%, var(--primary-surface) 0%, transparent 60%),
    var(--bg);
  text-align: center;
}
.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 24px 0 24px;
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 19px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px;
  line-height: 1.55;
}
.hero-sub strong { color: var(--text-primary); font-weight: 700; }
.cta-row {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-micro {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ── Botões ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  line-height: 1;
  font-family: inherit;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  box-shadow: 0 12px 36px -10px rgb(124 58 237 / 0.5);
}

.btn-secondary {
  background: var(--bg);
  color: var(--text-primary);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--text-tertiary);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}
.btn-ghost:hover { color: var(--text-primary); background: var(--bg-subtle); }

.btn-large {
  padding: 18px 32px;
  font-size: 17px;
  border-radius: 12px;
}

.btn-block {
  display: flex;
  width: 100%;
}

/* ── Section heading ─────────────────────────────────────────────────── */

.section-hook {
  text-align: center;
  margin-bottom: 56px;
}
.section-hook h2 {
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 16px 0 16px;
}
.section-hook p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto;
}

/* ── Identificação ───────────────────────────────────────────────────── */

.identify-list {
  max-width: 680px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
  display: grid;
  gap: 16px;
}
.identify-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 17px;
  color: var(--text-primary);
  font-weight: 500;
}
.identify-list .check {
  color: var(--primary);
  font-size: 22px;
  flex-shrink: 0;
  margin-top: -2px;
}

.identify-conclusao {
  text-align: center;
  margin-top: 32px;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

/* ── Mecanismo Único (problem/solution/offer) ───────────────────────── */

.mu-block {
  max-width: 760px;
  margin: 0 auto;
}
.mu-block h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 16px 0 24px;
}
.mu-block p {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 0 20px;
  line-height: 1.65;
}
.mu-block p strong, .mu-block strong {
  color: var(--text-primary);
  font-weight: 700;
}
.mu-points {
  margin: 32px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 24px;
}
.mu-points > li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: flex-start;
}
.mu-points .num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 800;
  flex-shrink: 0;
}
.mu-points .body h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 6px 0 8px;
  color: var(--text-primary);
}
.mu-points .body p {
  font-size: 16px;
  margin: 0;
}

.mu-callout {
  margin: 40px 0;
  padding: 28px 32px;
  background: var(--primary-surface);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--text-primary);
  font-weight: 500;
}

/* ── Tabela comparativa ──────────────────────────────────────────────── */

.compare-wrapper {
  margin: 40px 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.compare-table thead th {
  background: var(--bg-subtle);
  padding: 16px 18px;
  text-align: left;
  font-weight: 600;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.compare-table thead th.lume {
  background: var(--primary);
  color: #fff;
  text-transform: none;
  font-size: 14px;
  font-weight: 700;
}
.compare-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
}
.compare-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}
.compare-table tbody td.lume {
  background: var(--primary-surface);
  color: var(--text-primary);
  font-weight: 600;
}
.compare-table tbody tr:last-child td { border-bottom: none; }

/* ── Como funciona (steps com screenshots) ──────────────────────────── */

.steps {
  display: grid;
  gap: 64px;
  margin-top: 48px;
}
.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.step.reverse {
  direction: rtl;
}
.step.reverse > * {
  direction: ltr;
}
.step-text .step-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.step-text h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.step-text p {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}
.step-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-image img { width: 100%; height: 100%; object-fit: cover; }

/* ── Value Stack ─────────────────────────────────────────────────────── */

.stack-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
}
.stack-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.stack-list li {
  display: grid;
  grid-template-columns: 24px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
}
.stack-list li:last-child { border-bottom: none; }
.stack-list li.bonus { background: var(--primary-surface); padding: 16px 20px; border-radius: 10px; border: none; }
.stack-list .check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}
.stack-list .label { color: var(--text-primary); font-weight: 500; }
.stack-list .label strong { font-weight: 700; }
.stack-list .value {
  color: var(--text-tertiary);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.stack-totals {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px dashed var(--border);
  display: grid;
  gap: 6px;
  text-align: center;
}
.stack-totals .total-old {
  font-size: 18px;
  color: var(--text-tertiary);
  text-decoration: line-through;
}
.stack-totals .total-new {
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
}
.stack-totals .total-new strong { font-size: 36px; }
.stack-totals .total-bonus {
  margin-top: 14px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.stack-totals .total-bonus strong { color: var(--text-primary); }
.stack-list .value s {
  text-decoration: line-through;
  text-decoration-color: var(--text-tertiary);
}

/* ── Pricing ─────────────────────────────────────────────────────────── */

.plans {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.plan-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform .15s ease, box-shadow .15s ease;
  position: relative;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.plan-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: scale(1.02);
}
.plan-card.featured:hover { transform: scale(1.02) translateY(-4px); }
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.plan-price .currency {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 600;
}
.plan-price .amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
  letter-spacing: -0.02em;
}
.plan-price .period {
  font-size: 14px;
  color: var(--text-tertiary);
  font-weight: 500;
}
.plan-price.custom .amount { font-size: 22px; }
.plan-stands {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-features {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  flex: 1;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}
.plan-features li::before {
  content: "✓";
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Garantia ────────────────────────────────────────────────────────── */

.guarantee-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.guarantee-seal {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  color: #fff;
  margin-bottom: 28px;
  box-shadow: var(--shadow-glow);
  text-align: center;
  padding: 14px;
}
.guarantee-seal svg {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.guarantee-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}
.guarantee-block h2 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.guarantee-block p {
  font-size: 17px;
  color: var(--text-secondary);
  margin: 0 0 14px;
  line-height: 1.6;
}
.guarantee-block strong { color: var(--text-primary); }

/* ── FAQ ─────────────────────────────────────────────────────────────── */

.faq-list {
  max-width: 720px;
  margin: 48px auto 0;
  display: grid;
  gap: 8px;
}
.faq-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  cursor: pointer;
  transition: border-color .15s;
}
.faq-item:hover { border-color: var(--primary-surface-2); }
.faq-item[open] { border-color: var(--primary-surface-2); }
.faq-item summary {
  list-style: none;
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  color: var(--primary);
  transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* ── CTA Final ───────────────────────────────────────────────────────── */

.cta-final {
  text-align: center;
  background:
    radial-gradient(ellipse 800px 400px at 50% 0%, var(--primary-surface) 0%, transparent 70%),
    var(--bg);
  padding: 100px 0;
}
.cta-final h2 {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 auto 40px;
  max-width: 820px;
}
.cta-final h2 .accent {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-final-body {
  max-width: 680px;
  margin: 0 auto 40px;
  text-align: left;
}
.cta-final-body > p {
  font-size: 18px;
  color: var(--text-secondary);
  margin: 0 0 24px;
  text-align: center;
  font-weight: 500;
}
.exit-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-md);
}
.exit-card.exit-bad {
  border-color: var(--border);
  background: var(--bg-subtle);
}
.exit-card.exit-good {
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}
.exit-card h3 {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.exit-card.exit-bad h3 { color: var(--text-tertiary); }
.exit-card.exit-good h3 { color: var(--primary); }
.exit-card p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 12px;
}
.exit-card p:last-child { margin-bottom: 0; }
.exit-card strong { color: var(--text-primary); }
.cta-final-close {
  text-align: center;
  font-size: 17px;
  color: var(--text-secondary);
  margin: 24px auto 0 !important;
  max-width: 620px;
  line-height: 1.55;
}
.cta-final-close strong { color: var(--text-primary); }
.cta-final-micro {
  margin: 24px auto 0;
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}

/* ── Footer ──────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
  padding: 48px 24px 32px;
  font-size: 14px;
  color: var(--text-tertiary);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .brand-name { font-size: 16px; }
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a { color: var(--text-secondary); transition: color .15s; }
.footer-links a:hover { color: var(--primary); }
.footer-legal {
  flex-basis: 100%;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  line-height: 1.6;
}

/* ── Responsividade ──────────────────────────────────────────────────── */

@media (max-width: 880px) {
  section { padding: 64px 0; }

  .hero { padding: 56px 0 72px; }
  .hero h1 { font-size: 36px; }
  .hero-sub { font-size: 17px; }

  .section-hook h2 { font-size: 30px; }
  .mu-block h2 { font-size: 28px; }
  .cta-final h2 { font-size: 28px; }
  .guarantee-block h2 { font-size: 28px; }
  .exit-card { padding: 20px; }
  .exit-card p { font-size: 15px; }

  .plans { grid-template-columns: 1fr; gap: 14px; }
  .plan-card.featured { transform: none; }
  .plan-card.featured:hover { transform: translateY(-4px); }

  .step {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .step.reverse { direction: ltr; }

  .stack-card { padding: 32px 20px; }
  .stack-list .value { font-size: 12px; }

  .compare-wrapper { overflow-x: auto; }
  .compare-table { min-width: 640px; }

  .footer-inner { flex-direction: column; }

  .nav { gap: 12px; font-size: 13px; }
  .nav a:not(.nav-cta) { display: none; }
}

@media (max-width: 480px) {
  .container, .container-narrow { padding: 0 16px; }
  .hero h1 { font-size: 30px; }
  .btn-large { padding: 14px 20px; font-size: 15px; }
  .stack-card { padding: 24px 16px; }
  .stack-list li { grid-template-columns: 24px 1fr; }
  .stack-list .value { grid-column: 2; font-size: 12px; padding-left: 0; }
}
