:root {
  /* Base */
  --bg: #F8FAFD;
  --fg: #0F1D32;
  --card: #FFFFFF;
  --muted: #EEF2F8;
  --muted-fg: #5A677A;
  --border: #D6DFEA;

  /* Azul da marca */
  --primary: #073C8D;
  --primary-soft: #DEEDFE;
  --primary-deep: #001F4E;

  /* Hero e faixas escuras */
  --hero: #002D73;
  --surface-dark: #021533;

  /* Verde de conversão */
  --success: #2EB240;
  --success-hover: #279936;
  --success-soft: #D5F6D5;

  /* Dourado */
  --info: #F0BB3B;
  --info-hover: #F8CF68;
  --info-fg: #341B00;

  /* Status do painel demonstrativo */
  --status-danger-bg: #FFD9D4;
  --status-danger-fg: #B71824;
  --status-warning-bg: #FFEAAE;
  --status-warning-fg: #8D5500;
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body.lp-body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
}

.lp-body h1, .lp-body h2, .lp-body h3,
.lp-body .lp-font-display {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

section[id] { scroll-margin-top: 80px; }

.lp-kicker {
  font-family: 'Sora', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.lp-kicker.lp-kicker-gold { color: var(--info); }
.lp-kicker.lp-kicker-blue { color: var(--primary); }

/* Header */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  min-height: 64px;
  background: rgba(248, 250, 253, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.lp-header-row { min-height: 64px; }
.lp-header .collapse {
  background: var(--bg);
  box-shadow: 0 12px 24px rgba(0,31,78,0.12);
}
.lp-logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.lp-logo-text {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  color: var(--fg);
}
.lp-nav-link {
  color: var(--muted-fg);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.lp-nav-link:hover { color: var(--fg); }
.lp-btn-enter {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
}
.lp-btn-enter:hover { color: var(--primary-deep); }

/* Botões */
.lp-btn-cta {
  background: var(--success);
  color: #F9FDF9;
  font-weight: 700;
  border: none;
  border-radius: 8px;
}
.lp-btn-cta:hover, .lp-btn-cta:focus {
  background: var(--success-hover);
  color: #F9FDF9;
}
.lp-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
}
.lp-btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.lp-btn-gold {
  background: var(--info);
  color: var(--info-fg);
  font-weight: 700;
  border: none;
  border-radius: 8px;
}
.lp-btn-gold:hover { background: var(--info-hover); color: var(--info-fg); }
.lp-btn-outline {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--fg);
  font-weight: 700;
  border-radius: 8px;
}
.lp-btn-outline:hover { background: var(--muted); color: var(--fg); }

/* Faixas com gradiente + grade sutil */
.lp-gradient {
  position: relative;
  background: linear-gradient(135deg, var(--hero), var(--primary-deep));
  color: #fff;
  overflow: hidden;
}
.lp-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(to bottom, black, transparent);
  mask-image: linear-gradient(to bottom, black, transparent);
  pointer-events: none;
}
.lp-gradient > .container { position: relative; z-index: 1; }

.lp-hero { padding: 4.5rem 0 5rem; }
.lp-hero h1 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.08; font-weight: 700; }
.lp-hero .lp-subtitle { color: rgba(245,249,252,0.72); font-size: 1.1rem; }
.lp-hero .lp-trust { color: rgba(245,249,252,0.55); }

.lp-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
}
.lp-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  display: inline-block;
}

/* Painel demonstrativo do hero */
.lp-panel {
  background: var(--card);
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 20px 60px rgba(0,31,78,0.35);
  padding: 1.25rem;
  color: var(--fg);
  opacity: 0;
  transform: translateY(14px);
  animation: lp-panel-in 0.7s ease-out forwards;
}
@media (prefers-reduced-motion: reduce) {
  .lp-panel { opacity: 1; transform: none; animation: none; }
}
@keyframes lp-panel-in {
  to { opacity: 1; transform: translateY(0); }
}
.lp-panel-eyebrow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted-fg);
  font-weight: 700;
}
.lp-panel-title { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 600; }
.lp-pill-status {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  white-space: nowrap;
}
.lp-pill-success { background: var(--success-soft); color: var(--success-hover); }
.lp-pill-danger { background: var(--status-danger-bg); color: var(--status-danger-fg); }
.lp-pill-warning { background: var(--status-warning-bg); color: var(--status-warning-fg); }

.lp-metric {
  background: var(--muted);
  border-radius: 8px;
  padding: 0.6rem 0.5rem;
  text-align: center;
}
.lp-metric strong { display: block; font-size: 1.05rem; }
.lp-metric span { font-size: 0.72rem; color: var(--muted-fg); }

.lp-client-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 0.25rem;
  border-top: 1px solid var(--border);
}
.lp-client-row:first-of-type { border-top: none; }
.lp-avatar {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--primary-soft);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-client-info { font-size: 0.85rem; }
.lp-client-info .lp-client-name { font-weight: 600; }
.lp-client-info .lp-client-parcela { color: var(--muted-fg); font-size: 0.78rem; }
.lp-panel-legend {
  text-align: center;
  font-size: 10px;
  color: rgba(245,249,252,0.45);
  margin-top: 0.75rem;
}

/* Seções */
.lp-section { padding: 4.5rem 0; }
.lp-section-muted { background: var(--muted); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.lp-section-dark { background: var(--surface-dark); color: #fff; }
.lp-h2 { font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.15rem); }

/* Problema - grid tipo tabela */
.lp-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .lp-problem-grid { grid-template-columns: 1fr; }
}
.lp-problem-card { background: var(--surface-dark); padding: 2rem 1.5rem; }
.lp-problem-number {
  display: inline-block;
  background: rgba(240,187,59,0.15);
  color: var(--info);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.lp-problem-card .bi { color: var(--info); font-size: 1.5rem; }
.lp-problem-card h3 { font-size: 18px; margin: 0.75rem 0 0.5rem; }
.lp-problem-card p { color: rgba(255,255,255,0.62); font-size: 0.9rem; margin: 0; }

/* Recursos */
.lp-feature { display: flex; gap: 1rem; align-items: flex-start; }
.lp-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.lp-feature h3 { font-size: 16px; margin-bottom: 0.25rem; }
.lp-feature p { color: var(--muted-fg); font-size: 0.9rem; margin: 0; }

/* Segurança */
.lp-security-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.lp-security-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--success-soft);
  color: var(--success-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lp-security-card h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.15rem; }
.lp-security-card span { font-size: 0.8rem; color: var(--muted-fg); }

/* Planos */
.lp-plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  height: 100%;
  position: relative;
}
.lp-plan-card.lp-plan-popular {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 20px 45px rgba(7,60,141,0.25);
}
.lp-plan-popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--info);
  color: var(--info-fg);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}
.lp-plan-card .lp-plan-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px; }
.lp-plan-card .lp-plan-sub { font-size: 12px; opacity: 0.7; }
.lp-plan-card .lp-plan-price { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 2.1rem; }
.lp-plan-card .lp-plan-price small { font-size: 0.95rem; font-weight: 500; opacity: 0.7; }
.lp-plan-card .lp-plan-anual { font-size: 12px; }
.lp-plan-card:not(.lp-plan-popular) .lp-plan-anual { color: var(--success-hover); }
.lp-plan-popular .lp-plan-anual { color: rgba(255,255,255,0.85); }
.lp-plan-card ul { list-style: none; padding: 0; margin: 1rem 0 1.25rem; font-size: 0.9rem; }
.lp-plan-card ul li { display: flex; gap: 0.5rem; align-items: flex-start; margin-bottom: 0.5rem; }
.lp-plan-card:not(.lp-plan-popular) ul li .bi { color: var(--success); }
.lp-plan-popular ul li .bi { color: var(--info); }
.lp-plan-card:not(.lp-plan-popular) ul { color: var(--muted-fg); }
.lp-plan-popular ul { color: rgba(255,255,255,0.85); }

/* FAQ */
.lp-faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.1rem 0;
}
.lp-faq-item summary {
  font-family: 'Sora', sans-serif;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.lp-faq-item summary::-webkit-details-marker { display: none; }
.lp-faq-item summary .bi-chevron-down { transition: transform 0.2s ease; color: var(--muted-fg); flex-shrink: 0; }
.lp-faq-item[open] summary .bi-chevron-down { transform: rotate(180deg); }
.lp-faq-item p { color: var(--muted-fg); margin: 0.75rem 0 0; font-size: 0.92rem; }

/* CTA final */
.lp-cta-final { text-align: center; padding: 4.5rem 0; }
.lp-cta-final .bi-patch-check-fill { color: var(--info); font-size: 2.25rem; }
.lp-cta-final h2 { color: #fff; }
.lp-cta-final p { color: rgba(245,249,252,0.72); }

/* Footer */
.lp-footer { background: var(--surface-dark); color: rgba(255,255,255,0.55); }
.lp-footer a { color: rgba(255,255,255,0.55); text-decoration: none; }
.lp-footer a:hover { color: #fff; }
