/* ==========================================================================
   KLYVER — STYLESHEET (DARK & LIGHT THEME + RESPONSIVE DESIGN SYSTEM)
   ========================================================================== */

:root {
  /* Dark Theme Default */
  --bg-dark: #060911;
  --bg-surface: #0b101d;
  --bg-surface-elevated: #131b2e;
  --bg-glass: rgba(15, 23, 42, 0.75);
  --header-bg: rgba(6, 9, 17, 0.85);

  --emerald-500: #10b981;
  --emerald-400: #34d399;
  --emerald-600: #059669;
  --emerald-glow: rgba(16, 185, 129, 0.25);

  --cyan-500: #06b6d4;
  --cyan-400: #22d3ee;
  --cyan-glow: rgba(6, 182, 212, 0.2);

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --text-emerald: #6ee7b7;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(16, 185, 129, 0.3);

  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Light Mode Overrides */
html.light {
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --header-bg: rgba(248, 250, 252, 0.9);

  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  --text-emerald: #059669;

  --border-subtle: rgba(15, 23, 42, 0.1);
  --border-glow: rgba(16, 185, 129, 0.2);

  --emerald-500: #059669;
  --emerald-400: #10b981;
  --emerald-600: #047857;
  --emerald-glow: rgba(16, 185, 129, 0.15);

  --cyan-500: #0891b2;
  --cyan-400: #06b6d4;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button, input, select {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

html.light .glass-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.glass-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
}

/* Text Gradient Utility */
.gradient-text {
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--emerald-400) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-center { text-align: center; }
.text-emerald { color: var(--emerald-400); }
.text-cyan { color: var(--cyan-400); }
.text-danger { color: #f87171; }

/* Badges */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.825rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-400);
  border: 1px solid rgba(16, 185, 129, 0.25);
  margin-bottom: 1rem;
}

.section-badge.badge-warning {
  background: rgba(251, 146, 60, 0.12);
  color: #fb923c;
  border-color: rgba(251, 146, 60, 0.25);
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.2);
  color: var(--emerald-400);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}

.badge-store {
  background: rgba(6, 182, 212, 0.2) !important;
  color: var(--cyan-400) !important;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--emerald-500), var(--emerald-600));
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px var(--emerald-glow);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.9rem;
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

html.light .btn-secondary {
  background: rgba(0, 0, 0, 0.03);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-lg {
  padding: 0.95rem 1.8rem;
  font-size: 1.05rem;
  border-radius: 10px;
}

.btn-xl {
  padding: 1.1rem 2.2rem;
  font-size: 1.15rem;
  border-radius: 12px;
}

.btn-block { width: 100%; }

.btn-xs-primary {
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--emerald-500);
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-xs-sec {
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Announcement Bar */
.announcement-bar {
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.15), rgba(16, 185, 129, 0.15));
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.45rem 0;
  font-size: 0.85rem;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge-new {
  background: var(--cyan-500);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.announcement-link {
  color: var(--cyan-400);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.announcement-link svg { width: 14px; height: 14px; }

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.85rem 0;
  transition: padding 0.3s ease, background-color 0.3s ease;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

/* KLYVER BRAND LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--emerald-500), var(--cyan-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #04140e;
  flex-shrink: 0;
}

.logo-accent { color: var(--emerald-400); }

/* Navigation Menu */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

.main-nav a:hover { color: var(--text-primary); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Theme Switcher Button */
.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

html.light .theme-toggle { background: rgba(0, 0, 0, 0.05); }

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.sun-icon { display: none; }
.moon-icon { display: block; }
html.light .sun-icon { display: block; color: #f59e0b; }
html.light .moon-icon { display: none; }

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-toggle .icon-close { display: none; }
.mobile-toggle.active .icon-menu { display: none; }
.mobile-toggle.active .icon-close { display: block; }

/* Mobile Menu Drawer */
.mobile-menu-drawer {
  display: none;
  flex-direction: column;
  gap: 1.25rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.5rem;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.mobile-menu-drawer.active {
  display: flex;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.mobile-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-link:hover { color: var(--emerald-400); }

.mobile-menu-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

/* SECTION HEADERS */
.section-header {
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  padding: 5rem 0 4rem 0;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  opacity: 0.35;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald-500);
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  top: 100px;
  right: -100px;
  background: var(--cyan-500);
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: var(--emerald-400);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 980px;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-video {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

html.light .btn-video { background: rgba(0, 0, 0, 0.03); }

.btn-video:hover { background: rgba(255, 255, 255, 0.1); }

.play-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--emerald-500);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon svg {
  width: 14px;
  height: 14px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-item svg {
  color: var(--emerald-400);
  width: 16px;
  height: 16px;
}

/* HERO INTERACTIVE MOCKUP PREVIEW */
.hero-mockup-wrapper {
  width: 100%;
  max-width: 1080px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  text-align: left;
}

.mockup-header-bar {
  background: var(--bg-surface-elevated);
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.dots { display: flex; gap: 0.4rem; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mockup-title {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.mockup-status {
  font-size: 0.75rem;
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.status-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--emerald-400);
  box-shadow: 0 0 8px var(--emerald-400);
}

/* Mockup Tabs Header */
.mockup-nav-tabs {
  display: flex;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.mockup-nav-tabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.mockup-tab-btn {
  padding: 0.75rem 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
}

.mockup-tab-btn:hover { color: var(--text-primary); }

.mockup-tab-btn.active {
  color: var(--emerald-400);
  border-bottom-color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.05);
}

.mockup-content { padding: 1.5rem; }

.mockup-tab-panel { display: none; }
.mockup-tab-panel.active { display: block; }

/* TAB 1: ACTION FEED STYLES */
.action-feed-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.action-feed-header h3 {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-accent { color: var(--emerald-400); }
.panel-sub { font-size: 0.85rem; color: var(--text-secondary); }

.action-feed-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.action-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
}

.action-card:hover {
  transform: translateX(4px);
}

.action-badge-col {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.alert-danger .action-badge-col { background: rgba(248, 113, 113, 0.15); color: #f87171; }
.alert-whatsapp .action-badge-col { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.alert-warning .action-badge-col { background: rgba(251, 146, 60, 0.15); color: #fb923c; }
.alert-equity .action-badge-col { background: rgba(6, 182, 212, 0.15); color: var(--cyan-400); }

.action-info { flex-grow: 1; font-size: 0.875rem; }
.action-info strong { display: block; font-size: 0.95rem; margin-bottom: 0.15rem; }
.action-info p { color: var(--text-secondary); }

.action-btn-col { flex-shrink: 0; }

.tag-status {
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}

.tag-status.danger { background: rgba(248, 113, 113, 0.15); color: #f87171; }
.tag-status.success { background: rgba(16, 185, 129, 0.15); color: var(--emerald-400); }

/* TAB 2: MARGINGUARD STYLES */
.mockup-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.panel-box {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.panel-box h4 {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.panel-box.highlight-box {
  border-color: rgba(16, 185, 129, 0.4);
  background: linear-gradient(135deg, var(--bg-surface-elevated), rgba(16, 185, 129, 0.05));
}

.sim-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.sim-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 0.75rem 0;
}

.sim-result {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.95rem;
}

.sim-result.danger { color: #f87171; }

.box-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 1rem; }

.alert-banner-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  display: flex;
  gap: 0.75rem;
  font-size: 0.825rem;
  color: var(--emerald-400);
}

.alert-banner-success svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }

/* TAB 3: WHATSAPP STYLES */
.wa-sim-container {
  display: flex;
  justify-content: center;
  padding: 1rem 0;
}

.wa-card {
  max-width: 580px;
  width: 100%;
  background: #0b141a;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  color: #e9edef;
}

.wa-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.wa-icon { color: #25d366; width: 24px; height: 24px; }
.wa-header p { font-size: 0.75rem; color: #8696a0; }

.wa-bubble {
  background: #005c4b;
  border-radius: 12px 12px 0 12px;
  padding: 1rem;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.wa-footer { text-align: right; }
.wa-badge { font-size: 0.75rem; color: #25d366; font-weight: 600; }

/* TAB 4: EQUITY & VALUATION */
.equity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.equity-stat-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.stat-label { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 0.5rem; display: block; }
.stat-val { font-family: var(--font-mono); font-size: 1.8rem; font-weight: 800; margin-bottom: 0.4rem; }
.stat-sub { font-size: 0.75rem; color: var(--text-muted); }

/* TAB 5: STORE SYNC STYLES */
.store-sim-container { text-align: center; padding: 1rem 0; }
.store-sync-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.sync-left, .sync-right {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: left;
}

.step-tag { font-size: 0.7rem; color: var(--text-muted); font-weight: 700; text-transform: uppercase; display: block; margin-bottom: 0.25rem; }
.step-tag.success { color: var(--emerald-400); }
.sync-arrow { color: var(--cyan-400); }
.store-desc { font-size: 0.9rem; color: var(--text-secondary); max-width: 640px; margin: 0 auto; }

/* SECTION 2: VOCÊ SE RECONHECE AQUI? (CHECKLIST DE DORES) */
.section-pains {
  padding: 6rem 0;
  background: var(--bg-surface-elevated);
}

.pains-checklist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.pain-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}

.pain-card:hover {
  border-color: rgba(248, 113, 113, 0.3);
  transform: translateY(-2px);
}

.pain-check {
  color: #f87171;
  flex-shrink: 0;
}

.pain-check svg { width: 24px; height: 24px; }
.pain-content h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.pain-content p { color: var(--text-secondary); font-size: 0.9rem; }

.pains-summary {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

/* SECTION 3: VIRADA DE CHAVE & NOT SECTION */
.section-shift { padding: 6rem 0; }

.shift-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.shift-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.shift-card.old-way { border-color: rgba(248, 113, 113, 0.2); }
.shift-card.new-way { border-color: rgba(16, 185, 129, 0.4); background: linear-gradient(180deg, var(--bg-surface), rgba(16, 185, 129, 0.04)); }

.shift-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #f87171;
  margin-bottom: 0.75rem;
}

.shift-badge.success { color: var(--emerald-400); }

.shift-card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 1.25rem; }
.shift-card ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }

.shift-card li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.shift-card.old-way li svg { color: #f87171; flex-shrink: 0; margin-top: 2px; }
.shift-card.new-way li svg { color: var(--emerald-400); flex-shrink: 0; margin-top: 2px; }

/* WHAT THE PRODUCT IS NOT */
.not-section {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.not-title {
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.not-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.not-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.not-item svg { color: #f87171; flex-shrink: 0; margin-top: 2px; }

/* SECTION 4: COMO FUNCIONA (3 PASSOS) */
.section-steps {
  padding: 6rem 0;
  background: var(--bg-surface-elevated);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

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

.step-card:hover {
  border-color: var(--emerald-500);
  transform: translateY(-4px);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(16, 185, 129, 0.2);
  margin-bottom: 0.5rem;
}

.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.step-card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 0.75rem; }
.step-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* SECTION 5: OS 5 PILARES */
.section-pillars { padding: 6rem 0; }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.pillar-card:hover { transform: translateY(-4px); }

.border-pilar-1:hover { border-color: #f87171; }
.border-pilar-2:hover { border-color: #22c55e; }
.border-pilar-3:hover { border-color: #fb923c; }
.border-pilar-4:hover { border-color: var(--cyan-400); }
.border-pilar-5:hover { border-color: var(--emerald-400); }

.pillar-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--bg-surface), rgba(6, 182, 212, 0.08));
  border-color: rgba(6, 182, 212, 0.3);
}

.pillar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.pillar-num {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
}

.pillar-card h3 { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: 0.75rem; }
.pillar-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 1.5rem; }

.pillar-quote {
  background: var(--bg-surface-elevated);
  border-left: 3px solid var(--emerald-400);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-primary);
  display: flex;
  gap: 0.75rem;
}

.pillar-quote svg { color: var(--emerald-400); flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; }

/* SECTION 6: TABELA FUNCIONALIDADE -> BENEFÍCIO */
.section-tech-table {
  padding: 6rem 0;
  background: var(--bg-surface-elevated);
}

.tech-table-wrapper {
  overflow-x: auto;
  padding: 1.5rem;
}

.tech-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.tech-table th, .tech-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.tech-table th {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.tech-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  font-family: var(--font-mono);
  font-size: 0.825rem;
  color: var(--cyan-400);
  border: 1px solid var(--border-subtle);
}

/* SECTION 7: COMPARATIVO DIRETO */
.section-comparison { padding: 6rem 0; }

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.comp-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
}

.before-card { border-color: rgba(248, 113, 113, 0.2); }
.after-card { border-color: rgba(16, 185, 129, 0.4); background: linear-gradient(180deg, var(--bg-surface), rgba(16, 185, 129, 0.04)); }

.comp-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.comp-icon { width: 28px; height: 28px; color: #f87171; }
.comp-header h3 { font-family: var(--font-display); font-size: 1.4rem; }

.comp-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.comp-list li { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.95rem; color: var(--text-secondary); }
.before-card .comp-list li svg { color: #f87171; flex-shrink: 0; margin-top: 2px; }
.after-card .comp-list li svg { color: var(--emerald-400); flex-shrink: 0; margin-top: 2px; }

/* SECTION 8: PROVA / CONFIANÇA */
.section-trust-proof {
  padding: 6rem 0;
  background: var(--bg-surface-elevated);
}

.trust-proof-card {
  padding: 3.5rem 2.5rem;
}

.trust-proof-card h2 { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 1rem; }
.trust-proof-card p { color: var(--text-secondary); max-width: 740px; margin: 0 auto 3rem auto; font-size: 1.1rem; }

.proof-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.metric-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.metric-num { font-family: var(--font-mono); font-size: 2.5rem; font-weight: 800; }
.metric-label { font-size: 0.9rem; color: var(--text-secondary); }

/* SECTION 9: FAQ ACCORDION */
.section-faq { padding: 6rem 0; }

.faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active { border-color: var(--emerald-500); }

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  color: var(--text-primary);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 1rem;
}

.faq-question svg {
  transition: transform 0.25s ease;
  color: var(--emerald-400);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.5rem 1.5rem 1.5rem;
}

/* SECTION 10: CTA FINAL */
.section-cta-final {
  padding: 6rem 0;
  background: var(--bg-surface-elevated);
}

.cta-banner-card {
  padding: 4.5rem 3rem;
  text-align: center;
  border-color: rgba(16, 185, 129, 0.3);
}

.cta-banner-card h2 {
  font-family: var(--font-display);
  font-size: 2.6rem;
  max-width: 820px;
  margin: 0 auto 1rem auto;
}

.cta-banner-card p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

.cta-micro-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.5rem;
}

/* FOOTER */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 0 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  padding-bottom: 3.5rem;
  flex-wrap: wrap;
}

.footer-brand { max-width: 400px; }
.footer-tagline { color: var(--text-muted); font-size: 0.9rem; margin-top: 1rem; }

.footer-links { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-display); font-size: 1rem; margin-bottom: 1rem; }
.footer-col a { display: block; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 0.6rem; }
.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding: 1.5rem 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* LEAD CAPTURE MODAL OVERLAY */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 480px;
  padding: 2.5rem;
  position: relative;
  background: var(--bg-surface);
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  border-radius: var(--radius-lg);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.form-group input {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-primary);
  outline: none;
}

.form-group input:focus {
  border-color: var(--emerald-500);
}

.modal-trust-info {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.modal-trust-info span {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

/* Modal Success View */
.modal-success {
  padding: 1rem 0;
}

.success-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 1px solid rgba(16, 185, 129, 0.3);
  animation: scaleIn 0.35s ease-out forwards;
}

.success-icon-box i {
  width: 32px;
  height: 32px;
}

.modal-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.modal-success p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #25D366;
  color: #ffffff;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.5rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #1ebc59;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ==========================================================================
   INTERACTIVE CALCULATOR STYLES
   ========================================================================== */
.section-calculator {
  padding: 6rem 0;
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(16, 185, 129, 0.03), transparent);
}

.calc-wrapper {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2.5rem;
  margin-top: 2.5rem;
}

.calc-slider-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem;
}

html.light .calc-slider-box {
  background: rgba(0, 0, 0, 0.02);
}

.calc-grid-bottom {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.calc-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.calc-label-row label {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-primary);
}

.calc-rev-val {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--emerald-400);
}

/* Custom Range Slider */
.custom-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

html.light .custom-range {
  background: rgba(0, 0, 0, 0.1);
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--emerald-400);
  cursor: pointer;
  box-shadow: 0 0 12px var(--emerald-glow);
  border: 2px solid #ffffff;
  transition: transform 0.15s ease;
}

.custom-range::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.calc-bottlenecks-col {
  margin-top: 0.5rem;
}

.bottlenecks-header {
  margin-bottom: 1rem;
}

.bottlenecks-title {
  font-weight: 600;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.calc-bottlenecks-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.calc-checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition);
}

html.light .calc-checkbox-card {
  background: rgba(0, 0, 0, 0.02);
}

.calc-checkbox-card:hover {
  border-color: rgba(16, 185, 129, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.calc-checkbox-card.active {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.06);
}

.calc-check {
  display: none;
}

.calc-check-custom {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  border: 1.5px solid var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  flex-shrink: 0;
  margin-top: 0.1rem;
  transition: var(--transition);
}

.calc-checkbox-card.active .calc-check-custom {
  background: var(--emerald-500);
  border-color: var(--emerald-500);
  color: #ffffff;
}

.calc-check-custom i {
  width: 14px;
  height: 14px;
}

.calc-check-text strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.calc-check-text p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Calculator Output Column */
.calc-result-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.calc-result-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  background: rgba(248, 113, 113, 0.15);
  color: #f87171;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  align-self: flex-start;
}

.calc-main-number {
  text-align: center;
  padding: 1rem 0;
}

.calc-metric-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-amount {
  font-family: var(--font-display);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0.5rem 0;
}

.gradient-danger {
  background: linear-gradient(135deg, #f87171, #ef4444);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc-period-note {
  font-size: 0.825rem;
  color: var(--text-muted);
}

.calc-breakdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.breakdown-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.breakdown-lbl {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.breakdown-item strong {
  font-size: 1.05rem;
  font-family: var(--font-mono);
}

.calc-solution-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.calc-solution-box i {
  flex-shrink: 0;
}

.calc-security-note {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* ==========================================================================
   INTERACTIVE MARGINGUARD TAB STYLES
   ========================================================================== */
.panel-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.badge-live {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-400);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.sim-interactive-controls {
  background: rgba(255, 255, 255, 0.03);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.control-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.highlight-val {
  font-family: var(--font-mono);
  color: var(--cyan-400);
}

.sim-rows-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.mg-status-badge {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mg-status-badge.danger {
  background: #ef4444;
  color: #ffffff;
}

.mg-status-badge.success {
  background: var(--emerald-500);
  color: #ffffff;
}

.mg-action-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mg-footer-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   TESTIMONIALS & COMPLIANCE STYLES
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.testimonial-card {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  border-radius: var(--radius-md);
}

.test-header {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.test-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #ffffff;
  flex-shrink: 0;
}

.avatar-1 { background: linear-gradient(135deg, #10b981, #059669); }
.avatar-2 { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.avatar-3 { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }

.test-meta {
  display: flex;
  flex-direction: column;
}

.test-meta strong {
  font-size: 0.95rem;
}

.test-role {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.test-location {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.15rem;
}

.test-stars {
  display: flex;
  gap: 0.25rem;
  color: #fbbf24;
}

.test-stars i {
  width: 16px;
  height: 16px;
  fill: #fbbf24;
}

.test-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.test-impact-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--emerald-400);
  background: rgba(16, 185, 129, 0.1);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  align-self: flex-start;
}

/* Compliance Badges Grid */
.compliance-section {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.compliance-title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.compliance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.comp-badge-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

html.light .comp-badge-item {
  background: rgba(0, 0, 0, 0.02);
}

.comp-badge-item i {
  color: var(--emerald-400);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.comp-badge-item strong {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.2rem;
}

.comp-badge-item span {
  font-size: 0.75rem;
  color: var(--text-secondary);
  line-height: 1.35;
  display: block;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON & MOBILE STICKY CTA
   ========================================================================== */
.floating-whatsapp-wrapper {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-wa-tooltip {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
  font-size: 0.8rem;
  color: var(--text-primary);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  animation: floatTooltip 3s ease-in-out infinite;
  white-space: nowrap;
  pointer-events: none;
}

.floating-wa-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  position: relative;
  transition: var(--transition);
}

.floating-wa-btn:hover {
  transform: scale(1.1);
}

.floating-wa-btn i {
  width: 26px;
  height: 26px;
}

.pulse-ring {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pulseRing 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulseRing {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

@keyframes floatTooltip {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes scaleIn {
  from { transform: scale(0.7); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Mobile Sticky Bottom CTA */
.mobile-sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  padding: 0.65rem 1rem;
  z-index: 980;
  display: none;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.35);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.mobile-sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 0.75rem;
}

.sticky-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sticky-info strong {
  font-size: 0.85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-info span {
  font-size: 0.7rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-wa-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  transition: var(--transition);
}

.btn-wa-icon:hover {
  transform: scale(1.05);
}

.btn-wa-icon i {
  width: 18px;
  height: 18px;
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.825rem;
  border-radius: 8px;
}

/* Scroll Reveal Classes */
.reveal-init {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-in {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .desk-action-btn { display: none; }
  .mobile-toggle { display: flex; }
  .hero-title { font-size: 2.5rem; }
  .mockup-grid-2 { grid-template-columns: 1fr; }
  .calc-wrapper { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .compliance-grid { grid-template-columns: repeat(2, 1fr); }
  .pains-checklist, .shift-cards-grid, .steps-grid, .pillars-grid, .comparison-grid, .proof-metrics-grid, .not-grid {
    grid-template-columns: 1fr;
  }
  .pillar-featured { grid-column: span 1; }
  .equity-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 4.5rem; /* Evita que a barra sticky cubra elementos do rodapé */
  }

  /* Oculta o botão flutuante no mobile para não sobrepor cartões/textos */
  .floating-whatsapp-wrapper {
    display: none !important;
  }

  /* Ativa a barra inferior integrada */
  .mobile-sticky-cta {
    display: block;
  }

  /* Hero Adjustments */
  .hero-section {
    padding: 3.5rem 0 2rem;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .trust-item {
    font-size: 0.8rem;
  }

  /* Mockup Header & Tabs on Mobile */
  .mockup-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    padding: 0.75rem 1rem;
  }

  .mockup-title {
    font-size: 0.75rem;
    line-height: 1.3;
    white-space: normal;
  }

  .mockup-status {
    font-size: 0.7rem;
  }

  .mockup-content {
    padding: 1rem;
  }

  .mockup-tab-btn {
    padding: 0.65rem 0.85rem;
    font-size: 0.78rem;
  }

  /* Action Cards on Mobile */
  .action-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
  }

  .action-badge-col {
    display: none;
  }

  .action-info strong {
    font-size: 0.875rem;
    line-height: 1.35;
  }

  .action-info p {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .action-btn-col {
    width: 100%;
  }

  .action-btn-col button,
  .action-btn-col span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Calculator on Mobile */
  .calc-wrapper {
    padding: 1rem;
    gap: 1.25rem;
  }

  .calc-slider-box {
    padding: 1.25rem 1rem;
  }

  .calc-grid-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  /* ORDEM NO MOBILE:
     1. Slider no topo (em .calc-slider-box)
     2. DINHEIRO DEIXADO NA MESA (order: 1) logo abaixo do slider ao arrastar a barra
     3. Checkboxes de gargalos (order: 2) abaixo do resultado
  */
  .calc-output-col {
    order: 1;
  }

  .calc-bottlenecks-col {
    order: 2;
  }

  .calc-bottlenecks-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .calc-label-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    margin-bottom: 0.5rem;
  }

  .calc-label-row label {
    font-size: 0.9rem;
  }

  .calc-rev-val {
    font-size: 1.35rem;
  }

  .calc-checkbox-card {
    padding: 0.85rem;
    gap: 0.75rem;
  }

  .calc-check-text strong {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .calc-check-text p {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  .calc-amount {
    font-size: 2.15rem;
  }

  .calc-breakdown-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner-card {
    padding: 2.5rem 1.25rem;
  }

  .cta-banner-card h2 {
    font-size: 1.75rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .modal-card {
    padding: 1.25rem;
  }

  .compliance-grid {
    grid-template-columns: 1fr;
  }

  .calc-result-card {
    padding: 1.25rem;
  }

  .calc-amount {
    font-size: 1.85rem;
  }
}


