/* ==============================================================================
   NovoLog ERP - Landing Page Styles
   Baseado em Design System com CSS Variables, Mobile-First e Zero Dependências
   ============================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   TIPOGRAFIA & HELPERS
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.highlight-accent {
  color: var(--accent);
}

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  line-height: 1.4;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
  box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: var(--text-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(var(--primary-rgb), 0.45);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--text-light);
  box-shadow: var(--shadow-accent);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  color: var(--text-light);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.125rem;
  border-radius: var(--radius-lg);
}

.btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

.kbd {
  display: inline-block;
  padding: 0.2rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  background-color: #334155;
  border-radius: 4px;
  box-shadow: 0 2px 0 #0f172a;
  font-family: monospace;
}

/* ==========================================================================
   TOP BAR & REVENDA BRANDING HEADER
   ========================================================================== */
.top-bar {
  background-color: var(--secondary);
  color: #94a3b8;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.reseller-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reseller-badge {
  background-color: rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.theme-switcher-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.theme-btn-group {
  display: flex;
  gap: 0.35rem;
}

.theme-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.theme-dot:hover {
  transform: scale(1.2);
}

.theme-dot.blue { background-color: #0d6efd; }
.theme-dot.green { background-color: #059669; }
.theme-dot.orange { background-color: #ea580c; }
.theme-dot.purple { background-color: #7c3aed; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  padding: 0.875rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--secondary);
  text-decoration: none;
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 1.35rem;
  list-style: none;
  white-space: nowrap;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  padding: 4rem 0 5rem 0;
  background: radial-gradient(circle at top right, var(--primary-light) 0%, transparent 60%),
              linear-gradient(to bottom, #ffffff 0%, var(--bg-body) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-indicators {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-item svg {
  color: var(--accent);
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   MOCKUP INTERATIVO DO PDV (HERO RIGHT)
   ========================================================================== */
.hero-mockup-wrapper {
  position: relative;
}

.pdv-window {
  background-color: #0f172a;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  color: #f8fafc;
}

.pdv-window-header {
  background-color: #1e293b;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.85rem;
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
}

.dot-red { background-color: #ef4444; }
.dot-yellow { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.contingency-badge {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pdv-screen-body {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  background-color: #f1f5f9;
  color: var(--text-main);
  min-height: 360px;
}

.pdv-cart-area {
  background-color: #ffffff;
  padding: 1rem;
  display: flex;
  flex-column: column;
  justify-content: space-between;
  border-right: 1px solid var(--border-color);
}

.pdv-cart-header {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.4rem;
  display: flex;
  justify-content: space-between;
}

.cart-items-list {
  margin: 0.5rem 0;
  font-size: 0.85rem;
}

.cart-item-row {
  display: flex;
  justify-content: space-between;
  padding: 0.45rem 0;
  border-bottom: 1px dashed #e2e8f0;
}

.cart-item-name {
  font-weight: 600;
  display: flex;
  flex-direction: column;
}

.cart-item-detail {
  font-size: 0.7rem;
  color: #64748b;
}

.cart-item-price {
  font-weight: 700;
}

.pdv-barcode-input {
  background: #f8fafc;
  border: 2px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.9rem;
}

.pdv-totals-area {
  background-color: #f8fafc;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.last-product-box {
  background: var(--primary);
  color: #ffffff;
  padding: 1rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.last-product-box small {
  opacity: 0.8;
  font-size: 0.75rem;
  display: block;
}

.last-product-box h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin: 0.25rem 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.last-product-box .price-display {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.order-summary-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  margin: 0.75rem 0;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: #64748b;
}

.summary-total {
  border-top: 1px solid #e2e8f0;
  padding-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent);
}

.btn-pdv-pay {
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.85rem;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-accent);
}

.pdv-footer-shortcuts {
  background-color: #0f172a;
  padding: 0.6rem 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.725rem;
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.floating-badge {
  position: absolute;
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.floating-badge-1 {
  top: -20px;
  right: -20px;
}

.floating-badge-2 {
  bottom: -20px;
  left: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.badge-icon-wrap {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-icon-wrap.green { background-color: var(--accent-light); color: var(--accent); }
.badge-icon-wrap.blue { background-color: var(--primary-light); color: var(--primary); }

/* ==========================================================================
   METRIC STATS STRIP
   ========================================================================== */
.stats-strip {
  background-color: var(--secondary);
  color: #ffffff;
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card h3,
.stat-item h3 {
  font-size: 2.35rem;
  color: #ffffff;
  margin-bottom: 0.35rem;
  font-weight: 800;
}

.stat-card p,
.stat-item p {
  font-size: 0.95rem;
  color: #cbd5e1;
}

/* ==========================================================================
   PAINS SECTION (O JEITO ANTIGO VS COM NOSSO ERP)
   ========================================================================== */
.pains-section {
  padding: 6rem 0;
  background-color: #ffffff;
}

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.pain-solution-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pain-solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pain-col {
  background-color: #fff1f2;
  padding: 1.75rem;
  border-right: 1px dashed #fecdd3;
}

.pain-col h4 {
  color: #9f1239;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.pain-col p {
  color: #881337;
  font-size: 0.95rem;
}

.solution-col {
  background-color: #f0fdf4;
  padding: 1.75rem;
}

.solution-col h4 {
  color: #166534;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.solution-col p {
  color: #14532d;
  font-size: 0.95rem;
}

/* ==========================================================================
   SEGMENTS TABS (SELETOR INTERATIVO DE NICHOS)
   ========================================================================== */
.segments-section {
  padding: 6rem 0;
  background-color: var(--bg-alt);
}

.segment-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.tab-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}

.segment-content-card {
  display: none;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.segment-content-card.active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.segment-left h3 {
  font-size: 1.85rem;
  margin-bottom: 1rem;
}

.segment-left p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.segment-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.segment-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 1rem;
}

.feature-check {
  color: var(--accent);
  flex-shrink: 0;
  font-weight: bold;
}

.segment-highlight-box {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  padding: 1.25rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.segment-highlight-box strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.25rem;
}

.segment-graphic-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   FEATURES DEEP DIVE (OS SUPERPODERES DO SISTEMA)
   ========================================================================== */
.features-deep {
  padding: 6rem 0;
  background-color: #ffffff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary);
}

.feature-box-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.feature-box h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.feature-badge-highlight {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent);
  background-color: var(--accent-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  margin-top: 1rem;
}

/* ==========================================================================
   CALCULADORA DE EFICIÊNCIA DO CAIXA
   ========================================================================== */
.calculator-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--secondary) 0%, #1e293b 100%);
  color: #ffffff;
}

.calculator-section .section-header h2 {
  color: #ffffff;
}

.calculator-section .section-header p {
  color: #94a3b8;
}

.calculator-wrapper {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.calc-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.calc-range-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
}

input[type="range"] {
  flex-grow: 1;
  accent-color: var(--primary);
  height: 8px;
  border-radius: 4px;
}

.range-val {
  min-width: 70px;
  padding: 0.4rem 0.75rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-weight: 800;
  text-align: center;
  font-size: 1.1rem;
  color: var(--primary);
}

.calc-result-box {
  background: var(--bg-body);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}

.calc-big-metric {
  margin: 1.5rem 0;
}

.calc-big-metric .val {
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.calc-big-metric .desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.calc-secondary-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.calc-secondary-metrics div strong {
  display: block;
  font-size: 1.4rem;
  color: var(--primary);
}

.calc-secondary-metrics div span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   DEPOIMENTOS & PROVA SOCIAL
   ========================================================================== */
.testimonials-section {
  padding: 6rem 0;
  background-color: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.author-meta strong {
  display: block;
  font-size: 0.95rem;
}

.author-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-section {
  padding: 6rem 0;
  background-color: var(--bg-alt);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
  color: var(--primary);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 280px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* ==========================================================================
   CTA FINAL BANNER
   ========================================================================== */
.final-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #ffffff;
  text-align: center;
}

.final-cta h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary);
  font-weight: 700;
}

.btn-white:hover {
  background-color: #f8fafc;
  color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.btn-whatsapp-large {
  background-color: var(--accent);
  color: #ffffff;
}

.btn-whatsapp-large:hover {
  background-color: var(--accent-hover);
}

/* ==========================================================================
   RODAPÉ (FOOTER)
   ========================================================================== */
.footer {
  background-color: var(--secondary);
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* ==========================================================================
   MODAL DE DEMONSTRAÇÃO
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-backdrop.active {
  display: flex;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 530px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-xl);
  animation: modalPop 0.3s ease-out;
}

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
  transition: color 0.2s;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-badge-trial {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
  color: var(--text-main);
  line-height: 1.25;
}

.modal-card p.modal-subtitle {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  line-height: 1.4;
}

/* Indicador de Passos */
.modal-step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.85rem;
}

.modal-step-indicator .step-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-weight: 600;
}

.modal-step-indicator .step-item.active {
  color: var(--primary);
}

.modal-step-indicator .step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

.modal-step-indicator .step-item.active .step-circle {
  background: var(--primary);
  color: #ffffff;
}

.modal-step-indicator .step-item.completed .step-circle {
  background: var(--accent);
  color: #ffffff;
}

/* Alertas no Modal */
.modal-alert {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  line-height: 1.35;
}

.modal-alert.danger {
  background: var(--danger-light);
  color: #991b1b;
  border: 1px solid #fecaca;
}

.modal-alert.info {
  background: var(--primary-light);
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.modal-alert.success {
  background: var(--accent-light);
  color: #065f46;
  border: 1px solid #a7f3d0;
}

/* Formulário e Campos */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 520px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.3rem;
  display: flex;
  justify-content: space-between;
}

.form-field label span.field-note {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

.form-field input, .form-field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.2s ease;
  background-color: #ffffff;
}

.form-field input:focus, .form-field select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.form-field input::placeholder {
  color: #94a3b8;
}

/* Checkbox Termos */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  margin-top: 0.25rem;
  user-select: none;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 0.15rem;
  cursor: pointer;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.form-checkbox a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

/* Etapa 2 - Token */
.token-instruction-card {
  background: var(--bg-alt);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  margin-bottom: 1.25rem;
}

.token-instruction-card strong.phone-highlight {
  color: var(--primary);
  font-size: 1rem;
  display: block;
  margin-top: 0.25rem;
}

.token-input-large {
  font-size: 2rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.35rem !important;
  text-align: center !important;
  padding: 0.85rem !important;
  max-width: 280px;
  margin: 0.5rem auto 1rem auto;
  border-radius: var(--radius-md);
  border: 2px solid var(--primary) !important;
  color: var(--primary);
}

.token-resend-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.btn-link-action {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-size: 0.82rem;
}

.btn-link-action:disabled {
  color: var(--text-muted);
  text-decoration: none;
  cursor: not-allowed;
}

/* Spinners e Loading */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
}

.spinner-border {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  vertical-align: -0.125em;
  border: 0.18em solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spinner-border 0.75s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}

.nav-login-btn {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
}

.nav-login-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVIDADE)
   ========================================================================== */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr 1.15fr;
  }
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .features-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .segment-content-card.active {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .calculator-wrapper {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 640px) {
  .pain-solution-card {
    grid-template-columns: 1fr;
  }
  .pain-col {
    border-right: none;
    border-bottom: 1px dashed #fecdd3;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .floating-badge {
    display: none;
  }
  .pdv-screen-body {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MOCKUP REALISTA DO DASHBOARD LOG ERP (HERO LP PRINCIPAL)
   Baseado em app.logerp.com.br/system/home
   ========================================================================== */
.erp-dash-body {
  background-color: #f4f6f9;
  padding: 0.85rem;
  color: #1e293b;
  font-family: var(--font-family);
}

.erp-dash-filters {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.55rem 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.erp-filter-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 80px;
}

.erp-filter-item label {
  font-size: 0.62rem;
  font-weight: 600;
  color: #64748b;
  text-transform: none;
}

.erp-filter-select {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.22rem 0.45rem;
  font-size: 0.7rem;
  color: #334155;
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
}

.erp-period-toggle {
  display: inline-flex;
  border: 1px solid #0d6efd;
  border-radius: 4px;
  overflow: hidden;
  font-size: 0.68rem;
  font-weight: 600;
}

.erp-period-toggle span {
  padding: 0.22rem 0.55rem;
}

.erp-period-toggle span.active {
  background: #0d6efd;
  color: #ffffff;
}

.erp-period-toggle span.inactive {
  background: #ffffff;
  color: #0d6efd;
}

.erp-btn-refresh {
  background: #0d6efd;
  color: #ffffff;
  border-radius: 4px;
  padding: 0.3rem 0.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
}

/* 3 KPI Cards Superiores (Roxo, Coral, Verde) */
.erp-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.erp-kpi-card {
  border-radius: 6px;
  color: #ffffff;
  display: grid;
  grid-template-columns: 1fr 42px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.erp-kpi-purple {
  background: #8019e6;
}
.erp-kpi-purple .erp-kpi-icon-side {
  background: rgba(255, 255, 255, 0.16);
}

.erp-kpi-red {
  background: #e05252;
}
.erp-kpi-red .erp-kpi-icon-side {
  background: rgba(255, 255, 255, 0.16);
}

.erp-kpi-green {
  background: #159e3b;
}
.erp-kpi-green .erp-kpi-icon-side {
  background: rgba(255, 255, 255, 0.16);
}

.erp-kpi-main {
  padding: 0.65rem 0.7rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.erp-kpi-title {
  font-size: 0.56rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.92;
  margin-bottom: 0.15rem;
  white-space: nowrap;
}

.erp-kpi-value {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  white-space: nowrap;
}

.erp-kpi-badges {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.erp-kpi-Subrow {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.58rem;
  white-space: nowrap;
}

.erp-kpi-pill {
  background: rgba(255, 255, 255, 0.22);
  padding: 1px 5px;
  border-radius: 3px;
  font-weight: 700;
  font-size: 0.56rem;
}

.erp-kpi-icon-side {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Gráficos Inferiores do Dashboard */
.erp-charts-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 0.6rem;
}

.erp-chart-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 0.7rem;
}

.erp-chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.35rem;
}

.erp-chart-header h5 {
  font-size: 0.74rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
}

.erp-chart-header p {
  font-size: 0.6rem;
  color: #64748b;
  margin: 2px 0 0 0;
}

.erp-chart-legend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 0.58rem;
  color: #475569;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}

.erp-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.erp-legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

/* ==========================================================================
   MOCKUP DE NOTA DE DEVOLUÇÃO AUTOMÁTICA VIA XML
   ========================================================================== */
.xml-return-window {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

.xml-return-body {
  padding: 1.5rem;
  background: #f8fafc;
}

.xml-file-box {
  background: #ffffff;
  border: 1.5px dashed #93c5fd;
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.xml-file-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.xml-file-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.xml-check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.xml-check-card {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-sm);
}

.xml-checkbox-icon {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: #2563eb;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.xml-check-text strong {
  display: block;
  font-size: 0.92rem;
  color: #0f172a;
}

.xml-check-text span {
  font-size: 0.78rem;
  color: #64748b;
}

.xml-return-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ==========================================================================
   COMPATIBILIDADE EXTRA DE DEPOIMENTOS E FAQ (LP PRINCIPAL)
   ========================================================================== */
.testimonials-grid.two-cols {
  grid-template-columns: repeat(2, 1fr);
  max-width: 980px;
  margin: 0 auto;
}

.rating-stars {
  color: #f59e0b;
  margin-bottom: 1rem;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-main);
  margin-bottom: 1.5rem;
  font-size: 0.98rem;
  line-height: 1.65;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
}

.author-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
}

.author-name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
}

.author-role {
  font-size: 0.82rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .testimonials-grid.two-cols {
    grid-template-columns: 1fr;
  }
  .erp-kpi-grid {
    grid-template-columns: 1fr;
  }
  .erp-charts-grid {
    grid-template-columns: 1fr;
  }
}
