/* ============================================================
   KANBAH CRM — Landing Page
   style.css — Design premium, responsivo e otimizado
============================================================ */

/* ---------- Variáveis ---------- */
:root {
  --dark-blue: #0f1b2d;
  --dark-blue-2: #14243c;
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-soft: #eff6ff;
  --green: #10b981;
  --orange: #f97316;
  --orange-dark: #ea580c;
  --gray-50: #f8faff;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-800: #1e293b;
  --white: #ffffff;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(15, 27, 45, .06);
  --shadow-md: 0 8px 30px rgba(15, 27, 45, .10);
  --shadow-lg: 0 20px 60px rgba(15, 27, 45, .15);
  --font-main: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  font-family: var(--font-main);
  color: var(--gray-800);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; }

.section-padding { padding: 96px 0; }
.bg-light-section { background: var(--gray-50); }

.text-gradient {
  background: linear-gradient(90deg, var(--primary) 0%, #7c3aed 60%, var(--orange) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-orange { background: var(--orange) !important; }

/* ---------- Section headers ---------- */
.section-eyebrow {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  line-height: 1.15;
  color: var(--dark-blue);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 auto;
}

/* ---------- Reveal animations ---------- */
.reveal-up, .reveal-right {
  opacity: 0;
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-up { transform: translateY(36px); }
.reveal-right { transform: translateX(48px); }
.reveal-up.visible, .reveal-right.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal-up, .reveal-right { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   NAVBAR
============================================================ */
#mainNav {
  padding: 18px 0;
  background: transparent;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
#mainNav.scrolled {
  background: rgba(15, 27, 45, .92);
  backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.25);
}
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
}
.brand-logo i { color: var(--orange); font-size: 1.4rem; }
.brand-sup { font-size: .6rem; color: var(--primary-light); font-weight: 700; letter-spacing: .1em; }
#mainNav .nav-link {
  color: rgba(255,255,255,.75);
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
#mainNav .nav-link:hover { color: var(--white); background: rgba(255,255,255,.08); }
.btn-cta-nav {
  background: var(--orange);
  color: var(--white);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 10px;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-cta-nav:hover {
  background: var(--orange-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249,115,22,.4);
}

/* ============================================================
   HERO
============================================================ */
.hero-section {
  position: relative;
  background: linear-gradient(160deg, var(--dark-blue) 0%, var(--dark-blue-2) 55%, #1a3a5c 100%);
  overflow: hidden;
  padding-top: 40px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .35;
}
.hero-orb-1 { width: 480px; height: 480px; background: var(--primary); top: -140px; right: -100px; }
.hero-orb-2 { width: 380px; height: 380px; background: #7c3aed; bottom: -120px; left: -100px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: rgba(255,255,255,.85);
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.hero-headline {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 22px;
}
.hero-subheadline {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255,255,255,.72);
  max-width: 540px;
  margin-bottom: 32px;
}
.hero-cta-group { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 12px;
  border: none;
  box-shadow: 0 10px 30px rgba(249,115,22,.35);
  transition: transform .2s, box-shadow .2s;
}
.btn-cta-primary:hover { color: var(--white); transform: translateY(-3px); box-shadow: 0 16px 40px rgba(249,115,22,.5); }

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  font-weight: 600;
  padding: 14px 30px;
  border-radius: 12px;
  transition: background .2s, transform .2s;
}
.btn-cta-secondary:hover { background: rgba(255,255,255,.16); color: var(--white); transform: translateY(-3px); }

.btn-cta-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--dark-blue);
  font-weight: 700;
  padding: 14px 30px;
  border-radius: 12px;
  border: none;
  transition: transform .2s, box-shadow .2s;
}
.btn-cta-white:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(255,255,255,.25); color: var(--dark-blue); }

.btn-xl { padding: 18px 38px; font-size: 1.1rem; }

.hero-trust { display: flex; gap: 22px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.65); font-size: .88rem; font-weight: 500; }

/* --- Hero Dashboard Mockup --- */
.hero-dashboard { position: relative; }
.dashboard-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px rgba(0,0,0,.45);
  overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s ease;
}
.hero-dashboard:hover .dashboard-card { transform: perspective(1400px) rotateY(-2deg) rotateX(0deg); }

.dash-topbar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  background: var(--gray-100);
  border-bottom: 1px solid var(--gray-200);
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--gray-200); }
.dash-dots span:nth-child(1) { background: #ff5f57; }
.dash-dots span:nth-child(2) { background: #febc2e; }
.dash-dots span:nth-child(3) { background: #28c840; }
.dash-url {
  flex: 1;
  background: var(--white);
  border-radius: 8px;
  padding: 5px 14px;
  font-size: .72rem;
  color: var(--gray-400);
}
.dash-content { padding: 18px; }
.dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.dash-title { font-weight: 700; font-size: .95rem; color: var(--dark-blue); display: flex; align-items: center; gap: 8px; }
.dash-badge-green, .dash-badge-blue {
  font-size: .68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.dash-badge-green { background: #d1fae5; color: #047857; }
.dash-badge-blue { background: var(--primary-soft); color: var(--primary); }

.dash-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.dash-kpi { background: var(--gray-50); border: 1px solid var(--gray-100); border-radius: 12px; padding: 12px; }
.kpi-value { font-weight: 800; font-size: 1.05rem; font-family: var(--font-display); }
.kpi-label { font-size: .68rem; color: var(--gray-400); margin: 2px 0 8px; }
.kpi-bar { height: 5px; background: var(--gray-200); border-radius: 99px; overflow: hidden; }
.kpi-bar-fill { height: 100%; background: var(--primary); border-radius: 99px; }

.dash-kanban { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.kanban-col-header { font-size: .7rem; font-weight: 700; color: var(--gray-600); margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.kanban-col-header .badge { font-size: .58rem; }
.kanban-card {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 8px;
  margin-bottom: 8px;
  box-shadow: var(--shadow-sm);
}
.kanban-card.accent { border-color: var(--green); background: #f0fdf9; }
.kanban-avatar {
  width: 26px; height: 26px;
  border-radius: 8px;
  color: var(--white);
  font-size: .6rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.kanban-name { font-size: .68rem; font-weight: 600; color: var(--dark-blue); }
.kanban-value { font-size: .64rem; color: var(--gray-400); }

/* --- Floating badges --- */
.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: var(--shadow-lg);
  animation: floaty 4s ease-in-out infinite;
  z-index: 3;
}
.float-badge i { font-size: 1.4rem; }
.fb-value { font-weight: 800; font-family: var(--font-display); font-size: 1rem; color: var(--dark-blue); line-height: 1; }
.fb-label { font-size: .7rem; color: var(--gray-400); }
.float-badge-1 { top: -18px; right: 8%; animation-delay: 0s; }
.float-badge-2 { bottom: 22%; left: -28px; animation-delay: 1.2s; }
.float-badge-3 { bottom: -20px; right: 18%; animation-delay: 2.4s; }

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

.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; display: block; }

/* ============================================================
   LOGOS
============================================================ */
.logos-section { background: var(--gray-50); }
.logos-label {
  color: var(--gray-400);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .8rem;
  margin-bottom: 28px;
}
.logos-track { overflow: hidden; position: relative; }
.logos-track::before, .logos-track::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.logos-track::before { left: 0; background: linear-gradient(90deg, var(--gray-50), transparent); }
.logos-track::after { right: 0; background: linear-gradient(-90deg, var(--gray-50), transparent); }
.logos-slide { display: flex; gap: 56px; width: max-content; animation: scrollLogos 30s linear infinite; }
.logos-track:hover .logos-slide { animation-play-state: paused; }
@keyframes scrollLogos { to { transform: translateX(-50%); } }
.logo-fake {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--gray-400);
  transition: color .3s;
  white-space: nowrap;
}
.logo-item:hover .logo-fake { color: var(--primary); }

/* ============================================================
   PROBLEMAS
============================================================ */
.problem-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  height: 100%;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.problem-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #fecaca;
}
.problem-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: #fef2f2;
  color: #ef4444;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.problem-title { font-size: 1.15rem; color: var(--dark-blue); margin-bottom: 10px; }
.problem-desc { color: var(--gray-600); font-size: .95rem; line-height: 1.6; margin: 0; }
.problems-transition { font-size: 1.2rem; color: var(--gray-600); }

/* ============================================================
   SOLUÇÃO
============================================================ */
.solution-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 24px;
  height: 100%;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.solution-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.solution-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.bg-gradient-primary { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.bg-gradient-blue { background: linear-gradient(135deg, #0ea5e9, #0284c7); }
.bg-gradient-purple { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.bg-gradient-green { background: linear-gradient(135deg, #10b981, #059669); }
.bg-gradient-teal { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.bg-gradient-orange { background: linear-gradient(135deg, #f97316, #ea580c); }
.solution-title { font-size: 1.05rem; color: var(--dark-blue); margin-bottom: 8px; }
.solution-desc { color: var(--gray-600); font-size: .88rem; line-height: 1.6; margin: 0; }

/* ============================================================
   DEMO SISTEMA
============================================================ */
.demo-tabs { display: flex; gap: 10px; justify-content: center; margin: 36px 0 30px; flex-wrap: wrap; }
.demo-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 999px;
  padding: 12px 26px;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all .25s;
}
.demo-tab:hover { border-color: var(--primary); color: var(--primary); }
.demo-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(37,99,235,.35);
}

.demo-screen-wrapper { max-width: 1020px; margin: 0 auto; }
.demo-screen {
  display: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
  overflow: hidden;
}
.demo-screen.active { display: block; animation: fadeInScreen .4s ease; }
@keyframes fadeInScreen { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.screen-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: var(--dark-blue);
  color: var(--white);
}
.screen-dots { display: flex; gap: 6px; }
.screen-dots span { width: 10px; height: 10px; border-radius: 50%; }
.screen-dots span:nth-child(1) { background: #ff5f57; }
.screen-dots span:nth-child(2) { background: #febc2e; }
.screen-dots span:nth-child(3) { background: #28c840; }
.screen-title { flex: 1; font-size: .88rem; font-weight: 600; }
.screen-badge { background: var(--green); font-size: .62rem; padding: 3px 10px; border-radius: 99px; margin-left: 8px; font-weight: 700; }
.screen-actions { display: flex; gap: 8px; }
.screen-btn {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
}

.screen-body { display: flex; min-height: 420px; }
.screen-sidebar {
  width: 190px;
  flex-shrink: 0;
  background: var(--gray-50);
  border-right: 1px solid var(--gray-200);
  padding: 16px 10px;
}
.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 4px;
}
.sidebar-item.active { background: var(--primary); color: var(--white); font-weight: 600; }
.screen-main { flex: 1; padding: 18px; overflow-x: auto; background: var(--white); }

/* Pipeline demo */
.pipe-columns { display: grid; grid-template-columns: repeat(4, minmax(180px, 1fr)); gap: 14px; min-width: 760px; }
.pipe-col-head {
  background: var(--gray-50);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--dark-blue);
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}
.pipe-count { color: var(--gray-400); }
.pipe-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
  cursor: grab;
}
.pipe-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.pipe-card.win { border-color: var(--green); background: #f0fdf9; }
.pipe-card-tag {
  display: inline-block;
  font-size: .58rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 99px;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.pipe-card-tag.blue { background: var(--primary-soft); color: var(--primary); }
.pipe-card-tag.orange { background: #fff7ed; color: var(--orange); }
.pipe-card-tag.purple { background: #f5f3ff; color: #7c3aed; }
.pipe-card-tag.green { background: #d1fae5; color: #047857; }
.pipe-card-name { font-size: .8rem; font-weight: 700; color: var(--dark-blue); }
.pipe-card-val { font-size: .78rem; color: var(--gray-600); margin: 3px 0 8px; }
.pipe-card-foot { display: flex; justify-content: space-between; font-size: .64rem; color: var(--gray-400); }
.pipe-card-more {
  text-align: center;
  font-size: .72rem;
  color: var(--gray-400);
  padding: 8px;
  border: 1px dashed var(--gray-200);
  border-radius: 10px;
}

/* Dashboard demo */
.db-kpi-row { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 12px; margin-bottom: 18px; min-width: 640px; }
.db-kpi-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  position: relative;
}
.db-kpi-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1rem;
  flex-shrink: 0;
}
.db-kpi-card.blue .db-kpi-icon { background: var(--primary); }
.db-kpi-card.green .db-kpi-icon { background: var(--green); }
.db-kpi-card.orange .db-kpi-icon { background: var(--orange); }
.db-kpi-card.purple .db-kpi-icon { background: #8b5cf6; }
.db-kpi-val { font-weight: 800; font-size: .95rem; color: var(--dark-blue); font-family: var(--font-display); }
.db-kpi-lbl { font-size: .64rem; color: var(--gray-400); }
.db-kpi-trend { position: absolute; top: 8px; right: 10px; font-size: .6rem; font-weight: 700; }
.db-kpi-trend.up { color: var(--green); }

.db-chart-area {
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 18px;
  min-width: 640px;
}
.db-chart-label { font-size: .8rem; font-weight: 700; color: var(--dark-blue); margin-bottom: 16px; }
.db-bars { display: flex; align-items: flex-end; gap: 18px; height: 180px; }
.db-bar-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end; }
.db-bar {
  width: 100%;
  max-width: 52px;
  background: linear-gradient(180deg, #93c5fd, var(--primary));
  border-radius: 8px 8px 4px 4px;
  transition: transform .3s;
}
.db-bar.highlight { background: linear-gradient(180deg, #fdba74, var(--orange)); }
.db-bar-wrap:hover .db-bar { transform: scaleY(1.04); transform-origin: bottom; }
.db-bar-wrap span { font-size: .66rem; color: var(--gray-400); font-weight: 600; }

/* Contatos demo */
.ct-search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 10px 16px;
  margin-bottom: 14px;
  color: var(--gray-400);
}
.ct-search-bar input { border: none; background: none; outline: none; flex: 1; font-size: .82rem; color: var(--gray-600); }
.ct-table { min-width: 640px; }
.ct-row {
  display: grid;
  grid-template-columns: 1.5fr 1.2fr 1fr .7fr .8fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-100);
  font-size: .78rem;
  color: var(--gray-600);
  transition: background .2s;
}
.ct-row:not(.ct-head):hover { background: var(--gray-50); }
.ct-row.ct-head { font-weight: 700; color: var(--gray-400); text-transform: uppercase; font-size: .64rem; letter-spacing: .05em; }
.ct-row > span:first-child { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--dark-blue); }
.ct-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: .58rem;
  font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.ct-avatar.orange { background: var(--orange); }
.ct-avatar.purple { background: #8b5cf6; }
.ct-tag { display: inline-block; font-size: .6rem; font-weight: 700; padding: 3px 10px; border-radius: 99px; }
.ct-tag.green { background: #d1fae5; color: #047857; }
.ct-tag.blue { background: var(--primary-soft); color: var(--primary); }
.ct-tag.yellow { background: #fef3c7; color: #b45309; }

.demo-hint { color: var(--gray-400); font-size: .9rem; font-weight: 500; }
.demo-hint i { font-size: 1.1rem; color: var(--primary); }

/* ============================================================
   BENEFÍCIOS
============================================================ */
.benefit-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  height: 100%;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  position: relative;
  overflow: hidden;
}
.benefit-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--orange));
  opacity: 0;
  transition: opacity .3s;
}
.benefit-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.benefit-card:hover::before { opacity: 1; }
.benefit-icon-wrap {
  width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}
.benefit-title { font-size: 1.2rem; color: var(--dark-blue); margin-bottom: 10px; }
.benefit-desc { color: var(--gray-600); font-size: .93rem; line-height: 1.65; }
.benefit-metric { font-size: .85rem; color: var(--gray-400); font-weight: 600; }
.metric-val { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-right: 6px; }

/* ============================================================
   RECURSOS (grade)
============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.feature-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-light);
}
.fi-icon {
  width: 46px; height: 46px;
  margin: 0 auto 12px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: background .25s, color .25s;
}
.feature-item:hover .fi-icon { background: var(--primary); color: var(--white); }
.fi-name { font-size: .85rem; font-weight: 600; color: var(--dark-blue); }

/* ============================================================
   COMO FUNCIONA
============================================================ */
.how-steps {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
}
.how-step {
  flex: 1;
  min-width: 220px;
  max-width: 280px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  text-align: center;
  position: relative;
  transition: transform .3s, box-shadow .3s;
}
.how-step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step-number {
  position: absolute;
  top: 16px; right: 20px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--gray-100);
}
.step-icon {
  width: 64px; height: 64px;
  margin: 0 auto 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), #1d4ed8);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 10px 26px rgba(37,99,235,.35);
}
.step-title { font-size: 1.1rem; color: var(--dark-blue); margin-bottom: 10px; }
.step-desc { color: var(--gray-600); font-size: .88rem; line-height: 1.6; margin: 0; }
.how-arrow { display: flex; align-items: center; color: var(--primary-light); font-size: 1.6rem; }

/* ============================================================
   NÚMEROS
============================================================ */
.number-card {
  background: linear-gradient(160deg, var(--dark-blue) 0%, var(--dark-blue-2) 100%);
  border-radius: var(--radius-lg);
  padding: 42px 28px;
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform .3s;
}
.number-card:hover { transform: translateY(-6px); }
.number-card::after {
  content: '';
  position: absolute;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--primary);
  filter: blur(70px);
  opacity: .35;
  top: -50px; right: -50px;
}
.number-icon {
  width: 52px; height: 52px;
  margin: 0 auto 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.1);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  position: relative; z-index: 1;
}
.number-val, .number-suffix, .number-prefix {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  position: relative; z-index: 1;
}
.number-suffix { color: var(--orange); }
.number-prefix { font-size: 1.3rem; vertical-align: super; color: rgba(255,255,255,.7); }
.number-label { color: rgba(255,255,255,.6); font-weight: 500; margin-top: 6px; position: relative; z-index: 1; }

/* ============================================================
   DEPOIMENTOS
============================================================ */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  height: 100%;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
  display: flex;
  flex-direction: column;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testimonial-card.featured {
  border: 2px solid var(--primary-light);
  box-shadow: 0 12px 40px rgba(37,99,235,.15);
}
.stars { color: #fbbf24; font-size: 1.05rem; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-text {
  color: var(--gray-600);
  font-size: .95rem;
  line-height: 1.7;
  flex: 1;
  margin-bottom: 22px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  color: var(--white);
  font-weight: 700;
  font-size: .85rem;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.author-name { font-weight: 700; color: var(--dark-blue); font-size: .95rem; }
.author-role { color: var(--gray-400); font-size: .8rem; }

/* ============================================================
   COMPARATIVO
============================================================ */
.compare-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  margin-top: 40px;
}
.compare-table { width: 100%; min-width: 720px; border-collapse: collapse; background: var(--white); }
.compare-table th {
  padding: 24px 20px;
  background: var(--gray-50);
  border-bottom: 2px solid var(--gray-200);
  text-align: center;
  vertical-align: top;
}
.compare-table th.compare-feature-col { text-align: left; width: 30%; }
.compare-table th.compare-winner { background: var(--primary-soft); position: relative; }
.compare-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.compare-logo.kanbah { color: var(--primary); }
.compare-logo.planilha, .compare-logo.outros { color: var(--gray-400); }
.compare-badge {
  display: inline-block;
  margin-top: 8px;
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  background: var(--orange);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 99px;
}
.compare-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--gray-100);
  text-align: center;
  font-size: .92rem;
  color: var(--gray-600);
}
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--dark-blue); }
.compare-table td.yes { color: var(--green); font-weight: 600; }
.compare-table td.yes i { font-size: 1.2rem; }
.compare-table td.no { color: #ef4444; }
.compare-table td.no i { font-size: 1.2rem; }
.compare-table td.partial { color: #f59e0b; font-size: .82rem; }
.compare-table td.partial i { font-size: 1.1rem; }
.compare-table tbody tr:hover { background: var(--gray-50); }
.compare-table td:nth-child(2) { background: rgba(239,246,255,.5); }
.compare-cta-text { color: var(--gray-600); font-size: 1.05rem; margin-bottom: 8px; }

/* ============================================================
   FAQ
============================================================ */
.faq-accordion { margin-top: 40px; }
.faq-item {
  border: 1px solid var(--gray-200) !important;
  border-radius: 14px !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.faq-btn {
  font-weight: 600;
  color: var(--dark-blue);
  font-size: 1rem;
  padding: 20px 24px;
  background: var(--white);
  box-shadow: none !important;
}
.faq-btn:not(.collapsed) {
  background: var(--primary-soft);
  color: var(--primary);
}
.faq-btn:focus { border-color: var(--primary-light); }
.faq-body { color: var(--gray-600); line-height: 1.7; padding: 20px 24px; background: var(--white); }

/* ============================================================
   CTA FINAL
============================================================ */
.cta-final-section {
  position: relative;
  background: linear-gradient(160deg, var(--dark-blue) 0%, var(--dark-blue-2) 60%, #1e3a8a 100%);
  overflow: hidden;
}
.cta-bg-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: .3; }
.cta-orb-1 { width: 460px; height: 460px; background: var(--primary); top: -160px; left: -120px; }
.cta-orb-2 { width: 400px; height: 400px; background: var(--orange); bottom: -160px; right: -100px; }
.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(249,115,22,.15);
  border: 1px solid rgba(249,115,22,.4);
  color: #fdba74;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 26px;
  animation: pulseBadge 2.4s ease-in-out infinite;
}
@keyframes pulseBadge {
  0%, 100% { box-shadow: 0 0 0 0 rgba(249,115,22,.35); }
  50% { box-shadow: 0 0 0 12px rgba(249,115,22,0); }
}
.cta-headline {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.cta-subheadline { color: rgba(255,255,255,.7); font-size: 1.15rem; margin-bottom: 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.cta-trust { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  font-weight: 500;
}
.cta-rating { color: rgba(255,255,255,.6); font-size: .9rem; }
.rating-stars { color: #fbbf24; font-size: 1.3rem; letter-spacing: 3px; margin-bottom: 4px; }

/* ============================================================
   FOOTER
============================================================ */
.footer-section { background: var(--dark-blue); color: rgba(255,255,255,.6); }
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--white);
  text-decoration: none;
}
.footer-brand i { color: var(--orange); }
.footer-brand sup { font-size: .6rem; color: var(--primary-light); }
.footer-desc { font-size: .92rem; line-height: 1.7; max-width: 320px; }
.footer-socials { display: flex; gap: 10px; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background .25s, color .25s, transform .25s;
}
.social-link:hover { background: var(--orange); color: var(--white); transform: translateY(-3px); }
.footer-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.6);
  font-size: .72rem;
  font-weight: 600;
}
.trust-badge i { color: var(--green); }
.footer-heading {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.55);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .82rem;
}
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { color: rgba(255,255,255,.5); text-decoration: none; transition: color .2s; }
.footer-legal a:hover { color: var(--white); }

/* ============================================================
   FLOATING / MOBILE
============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45);
  z-index: 1040;
  transition: transform .25s;
  text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); color: var(--white); }
.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: var(--dark-blue);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 10px;
  font-size: .8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  transform: translateX(8px);
}
.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; transform: translateX(0); }

.mobile-cta-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gray-200);
  z-index: 1030;
  box-shadow: 0 -6px 24px rgba(15,27,45,.1);
}

/* ============================================================
   RESPONSIVIDADE
============================================================ */
@media (max-width: 1199px) {
  .float-badge-2 { left: -10px; }
}

@media (max-width: 991px) {
  .section-padding { padding: 72px 0; }
  #mainNav { background: rgba(15,27,45,.95); backdrop-filter: blur(12px); }
  .hero-section { padding-top: 70px; }
  .dashboard-card { transform: none; }
  .float-badge { padding: 10px 14px; }
  .float-badge-2 { left: -6px; bottom: 30%; }
  .how-arrow { transform: rotate(90deg); width: 100%; justify-content: center; }
  .how-step { max-width: 100%; }
  .screen-sidebar { display: none; }
  body { padding-bottom: 68px; } /* espaço para CTA mobile fixo */
  .whatsapp-float { bottom: 84px; }
}

@media (max-width: 767px) {
  .section-padding { padding: 56px 0; }
  .hero-headline { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-cta-group .btn { width: 100%; justify-content: center; }
  .cta-buttons .btn { width: 100%; justify-content: center; }
  .dash-kpis, .dash-kanban { grid-template-columns: repeat(2, 1fr); }
  .dash-kanban .kanban-col:last-child { display: none; }
  .float-badge { position: static; margin: 10px 8px 0 0; display: inline-flex; animation: none; }
  .hero-dashboard { text-align: center; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 424px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .feature-item { padding: 16px 10px; }
  .fi-name { font-size: .74rem; }
  .demo-tab { padding: 10px 18px; font-size: .85rem; }
  .whatsapp-float { width: 52px; height: 52px; font-size: 1.4rem; }
}

@media (min-width: 2200px) {
  .container { max-width: 1500px; }
  body { font-size: 1.06rem; }
}
