:root {
  --bg: #FFFFFF;
  --bg-alt: #F3F4F6;
  --panel: #F3F4F6;
  --line: #E5E7EB;
  --graphite: #111827;
  --muted: #4B5563;
  --green: #047857;
  --green-hover: #065F46;
  --green-light: #34D399;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--graphite);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--graphite);
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.4rem); }

.hero-line-1 {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  line-height: 1.25;
  color: var(--graphite);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 4px;
  max-height: 2.4em;
}

.hero-line-1 .crm-word { color: #DC2626; }

.hero-line-2 {
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(14px);
  animation: heroReveal 0.7s ease-out 4.6s forwards;
}

@keyframes heroReveal {
  0% {
    max-height: 0;
    opacity: 0;
    transform: translateY(14px);
  }
  1% {
    max-height: 500px;
  }
  100% {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    overflow: visible;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-line-1, .hero-line-2 {
    animation: none;
    opacity: 1;
    transform: none;
    max-height: none;
    overflow: visible;
  }
}
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

p { margin: 0 0 14px; color: var(--graphite); }

/* Proteção de conteúdo: sem seleção nem arraste, exceto em campos */
body {
  -webkit-user-select: none;
  user-select: none;
}
input, textarea, select, [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}
img, video {
  -webkit-user-drag: none;
}
.lead { color: var(--muted); max-width: 54ch; }
.ai-statement {
  color: var(--graphite);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  font-weight: 500;
  line-height: 1.5;
  max-width: 75ch;
  margin: 22px 0;
}
.ai-statement strong { color: var(--green); font-weight: 600; }
.ai-spark {
  color: var(--green);
  font-size: 0.95em;
  margin-left: 4px;
  transition: opacity 0.5s ease;
}
.ai-spark.is-done { opacity: 0; }
.ai-thinking {
  color: var(--muted);
  font-size: 0.72em;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.ai-statement.is-thinking .ai-spark {
  margin-left: 0;
  margin-right: 8px;
  animation: aiSparkPulse 1.1s ease-in-out infinite;
}
@keyframes aiSparkPulse {
  50% { opacity: 0.3; }
}

a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.demo-note {
  display: block;
  margin-top: 8px;
  font-size: 0.72rem;
  color: var(--muted);
  font-style: italic;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 26px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: #FFFFFF;
  box-shadow: 0 14px 30px -14px rgba(4,120,87,0.55);
}
.btn-primary:hover { background: var(--green-hover); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 14px; margin-right: auto; }
.brand-logo { height: 20px; width: auto; }
.header .brand-logo { filter: invert(1) brightness(0.25); }
.brand-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite);
  border: none;
  padding: 0 0 0 14px;
  border-left: 1px solid var(--line);
  border-radius: 0;
  line-height: 1.25;
  max-width: 160px;
}
.nav { display: flex; gap: 32px; }
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--graphite);
  white-space: nowrap;
  opacity: 0.7;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.nav a:hover { opacity: 1; color: var(--green); }

.nav-cta {
  flex-shrink: 0;
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--graphite);
  border: none;
  border-radius: 100px;
  color: #FFFFFF;
  box-shadow: none;
}
.nav-cta:hover {
  background: var(--green-hover);
  color: #FFFFFF;
  transform: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--graphite); display: block; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 90px; position: relative; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  column-gap: 48px;
  row-gap: 18px;
  align-items: center;
}
.hero-copy { order: 1; align-self: center; }
.hero-visual { order: 2; position: relative; grid-column: 2; }
@media (min-width: 1181px) {
  .hero-visual .screen-frame { width: 126%; transform: translateX(-13%); }
  .hero-visual .hero-video-cta { width: 126%; transform: translateX(-13%); }
  /* O frame vaza por cima da coluna do texto: limita a largura pra frase
     quebrar antes de passar por baixo da imagem */
  .hero-copy .lead { max-width: 40ch; }
  .hero-copy h1 { max-width: 88%; }
}
.hero-shot { display: block; width: 100%; height: auto; }

.hero-highlight { color: var(--green); font-weight: 600; }
.hero-video-call {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--graphite);
  margin: 0 0 8px;
  position: relative;
  z-index: 1;
}
.hero-video-intro { color: var(--muted); font-size: 0.92rem; margin: 0 0 16px; position: relative; z-index: 1; }
.hero-video-cta { margin-top: 18px; position: relative; z-index: 1; text-align: left; }
.hero-video-note { color: var(--muted); font-size: 0.82rem; margin: 10px 0 0; max-width: 42ch; }

.marketing-cards { grid-template-columns: repeat(3, 1fr); }
.marketing-highlight { color: var(--green); font-weight: 600; margin-top: 24px; max-width: none; white-space: nowrap; }
.section-subblock { margin-top: 16px; text-align: center; }
.section-subblock-inline {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
  max-width: 100%;
}
.section-subblock-inline h3 { font-size: 1.08rem; margin: 0; white-space: nowrap; flex: 0 0 auto; }
.section-subblock-inline .lead { font-size: 0.86rem; margin: 0; max-width: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.form-note { margin: 14px 4px 0; max-width: none; text-align: center; }

.feature-list { list-style: none; margin: 22px 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.feature-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
  font-size: 0.96rem;
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(4, 120, 87, 0.12);
  border: 1.5px solid var(--green);
}
.feature-list li::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 10px;
  width: 6px;
  height: 3px;
  border-left: 1.5px solid var(--green);
  border-bottom: 1.5px solid var(--green);
  transform: rotate(-45deg);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.glow-a { width: 320px; height: 320px; background: var(--green); top: -40px; right: -40px; }
.glow-b { width: 260px; height: 260px; background: var(--green-light); bottom: -60px; left: 10%; opacity: 0.16; }

/* ---------- Mock screens (produto) ---------- */
.screen-frame {
  position: relative;
  z-index: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(17,24,39,0.18);
}
.screen-frame-lg { }
.kanban-demo-compact .kanban-lead { padding: 5px 7px; width: 150px !important; }
.kanban-demo-compact .kanban-lead strong { font-size: 0.6rem; }
.kanban-demo-compact .kanban-lead span { font-size: 0.54rem; }
.kanban-demo-compact .kanban-col { min-height: 108px; }
.screen-small { max-width: 320px; }

.screen-bar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  background: rgba(17,24,39,0.03);
  border-bottom: 1px solid var(--line);
}
.screen-bar span {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--line);
}

.screen-body { padding: 20px; display: flex; gap: 18px; }
.hero-visual .screen-body { min-height: 300px; }

.mock-sidebar {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mock-side-logo { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.85rem; color: var(--graphite); margin-bottom: 6px; }
.mock-side-item {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 8px 10px;
  border-radius: 8px;
}
.mock-side-item.is-active { background: rgba(4,120,87,0.1); color: var(--green); }
.mock-side-ai {
  margin-top: auto;
  font-size: 0.78rem;
  color: var(--green);
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid var(--line);
  padding-top: 10px;
}

.mock-main { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.mock-kpis { display: flex; gap: 12px; flex-wrap: wrap; }
.mock-kpi {
  flex: 1;
  min-width: 110px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px;
}
.mock-kpi span { display: block; font-size: 0.72rem; color: var(--muted); margin-bottom: 6px; }
.mock-kpi strong { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; color: var(--graphite); }

.mock-funnel {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mock-funnel::-webkit-scrollbar { display: none; }
.mock-funnel-col { flex: 1; min-width: 110px; display: flex; flex-direction: column; gap: 8px; }
.mock-funnel-head { font-size: 0.72rem; color: var(--muted); }
.mock-card {
  position: relative;
  height: 34px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.mock-card-highlight { border-color: var(--green); box-shadow: 0 0 0 1px rgba(4,120,87,0.25); }

.callout {
  display: inline-block;
  font-size: 0.68rem;
  color: var(--green);
  background: rgba(4,120,87,0.08);
  border: 1px solid rgba(4,120,87,0.3);
  padding: 4px 9px;
  border-radius: 100px;
  white-space: nowrap;
  width: fit-content;
}

.mock-funnel-annotated .mock-funnel-col { min-width: 168px; gap: 10px; }
.mock-funnel-annotated { gap: 20px; }

.mock-ai-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--green);
  background: rgba(4,120,87,0.08);
  border: 1px solid rgba(4,120,87,0.25);
  border-radius: 100px;
  padding: 9px 14px;
  width: fit-content;
}

.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(4,120,87,0.16);
}

.mock-list { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.mock-list-head { font-size: 0.78rem; color: var(--muted); margin-bottom: 4px; }
.mock-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--graphite);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
}
.mock-check { width: 14px; height: 14px; border-radius: 4px; border: 1px solid var(--line); flex-shrink: 0; transition: background-color 0.3s ease, border-color 0.3s ease; }
.mock-check.is-done { background: var(--green); border-color: var(--green); }

/* Aba "Leads parados" */
.screen-body-col { flex-direction: column; }
.stalled-dot { border-radius: 50%; border: none; background: #DC2626; }
.stalled-badge {
  background: rgba(220, 38, 38, 0.1);
  color: #B91C1C;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
}
.mock-kpi strong.is-loss { color: #DC2626; }
#tab-parados .mock-kpis { gap: 10px; }
#tab-parados .mock-kpi { padding: 8px 12px; }
#tab-parados .mock-kpi span { font-size: 0.66rem; margin-bottom: 3px; }
#tab-parados .mock-kpi strong { font-size: 1.05rem; }
#tab-parados .mock-list { gap: 7px; }
#tab-parados .mock-list-item { padding: 7px 12px; font-size: 0.8rem; }
#tab-parados .screen-body { gap: 10px; }

/* ---------- Sections ---------- */
.section { padding: 86px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-cta { margin-top: 36px; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col.reverse .screen-stack { order: 1; }

/* AI demo chat */
.ai-demo { max-width: 680px; margin-bottom: 44px; }
.ai-chat { flex-direction: column; gap: 12px; position: relative; }
.ai-waiting {
  position: absolute;
  top: 6px;
  left: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 500;
}
.ai-waiting .ai-spark { margin: 0; animation: aiSparkPulse 1.1s ease-in-out infinite; }
.ai-demo:not(.is-live) .chat-msg,
.ai-demo:not(.is-live) .chat-steps { visibility: hidden; }
.ai-demo.is-live .ai-waiting { display: none; }
.chat-msg-user { opacity: 0; transform: translateY(6px); transition: opacity 0.45s ease, transform 0.45s ease; }
.ai-demo.is-live .chat-msg-user { opacity: 1; transform: none; }
.chat-msg-user.is-typing::after {
  content: '';
  display: inline-block;
  width: 2px;
  height: 0.95em;
  margin-left: 3px;
  vertical-align: -0.15em;
  background: var(--graphite);
  animation: aiCaretBlink 0.8s steps(1) infinite;
}
@keyframes aiCaretBlink { 50% { opacity: 0; } }

.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.9rem;
}
.chat-msg-user {
  align-self: flex-end;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--graphite);
}
.chat-msg-ai {
  align-self: flex-start;
  background: rgba(4,120,87,0.08);
  border: 1px solid rgba(4,120,87,0.25);
  color: var(--green-hover);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.chat-msg-ai .dot { margin-top: 6px; }

/* Passos do agente (sequência de execução) */
.chat-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start;
  margin: 2px 0 2px 4px;
}
.chat-step {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  color: var(--muted);
  opacity: 0.4;
  transition: opacity 0.3s ease, color 0.3s ease;
}
.chat-step.is-active { opacity: 1; color: var(--graphite); }
.chat-step.is-done { opacity: 0.9; color: var(--green); }
.chat-step-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  flex-shrink: 0;
  position: relative;
}
.chat-step.is-active .chat-step-dot {
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(4,120,87,0.16);
}
.chat-step.is-active .chat-step-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--green);
  animation: step-pulse 1s ease-in-out infinite;
}
.chat-step.is-done .chat-step-dot {
  background: var(--green);
  border-color: var(--green);
}
.chat-step.is-done .chat-step-dot::before {
  content: "";
  position: absolute;
  left: 4px; top: 1px;
  width: 4px; height: 7px;
  border-right: 1.5px solid #FFFFFF;
  border-bottom: 1.5px solid #FFFFFF;
  transform: rotate(45deg);
}
@keyframes step-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.chat-msg-ai { opacity: 0; transform: translateY(6px); transition: opacity 0.4s ease, transform 0.4s ease; }
.chat-msg-ai.is-revealed { opacity: 1; transform: none; }

/* Cards 3 */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
#agente-ia .cards-4 { margin-top: 28px; }

.exp-stats { margin-top: 26px; }
.exp-stats-row { display: flex; gap: 44px; }
.exp-stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  background-image: linear-gradient(90deg, var(--green) 0 50%, rgba(17, 24, 39, 0.15) 50%);
  background-size: 200% 100%;
  background-position: 0 0;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.exp-stat strong.is-filling { animation: statFill 1.1s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
.exp-stat:nth-child(2) strong.is-filling { animation-delay: 0.35s; }
@keyframes statFill {
  from { background-position: 100% 0; }
  to { background-position: 0 0; }
}
.exp-stat span { font-size: 0.84rem; color: var(--muted); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--green); transform: translateY(-4px); }
.card-cmd {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(4, 120, 87, 0.09);
  color: var(--green);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 5px 11px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.card h3 { line-height: 1.3; }
.card p { color: var(--muted); margin: 0; }

/* Screen stack (secao 4) */
.screen-stack { position: relative; min-height: 300px; }
.screen-stack .s1 { width: 70%; }
.screen-stack .s2 { width: 70%; position: absolute; bottom: -30px; right: 0; }

/* Video do Edu (seção Experiência X Franchise) */
.video-frame { max-width: 560px; }
.edu-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  background: linear-gradient(160deg, #0d1b16, #123324);
}

/* Funnel demo */
.funnel-demo {
  position: relative;
  overflow-x: auto;
  padding-bottom: 10px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.funnel-demo::-webkit-scrollbar { display: none; }
.funnel-demo::before,
.funnel-demo::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 10px;
  width: 36px;
  pointer-events: none;
  z-index: 2;
}
.funnel-demo::before { left: 0; background: linear-gradient(to right, var(--panel), transparent); }
.funnel-demo::after { right: 0; background: linear-gradient(to left, var(--panel), transparent); }

/* Kanban demo — lead atravessa as etapas e a janela desliza junto */
.kanban-topbar {
  display: block;
  width: 100%;
  height: auto;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}
.kanban-body { padding: 14px; }
.kanban-viewport {
  position: relative;
  overflow: hidden;
  flex: 1 1 100%;
  min-width: 0;
  width: 100%;
}
.kanban-track {
  display: flex;
  gap: 12px;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}
.kanban-track.no-anim,
.kanban-lead.no-anim { transition: none; }
.kanban-col {
  flex: 0 0 auto;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  min-height: 96px;
}
.kanban-col-head {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--graphite);
  white-space: nowrap;
  overflow: hidden;
}
.kanban-dot { width: 8px; height: 8px; border-radius: 50%; flex: 0 0 auto; }
.kanban-count { color: var(--muted); font-weight: 500; display: inline-block; }
.kanban-count.bump { animation: countBump 0.5s ease; }
@keyframes countBump {
  0% { transform: scale(1); }
  35% { transform: scale(1.35); color: var(--green); }
  100% { transform: scale(1); color: var(--muted); }
}
.kanban-ghost {
  height: 32px;
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 8px;
  margin-top: 8px;
}
.kanban-lead {
  position: absolute;
  left: 0;
  top: 36px;
  background: #FFFFFF;
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 7px 9px;
  font-size: 0.72rem;
  line-height: 1.3;
  box-shadow: 0 6px 14px -8px rgba(4, 120, 87, 0.4);
  transition: left 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 3;
}
.kanban-lead strong { display: block; font-size: 0.74rem; color: var(--graphite); }
.kanban-lead span { display: block; color: var(--muted); font-size: 0.64rem; margin-top: 1px; }
.kanban-lead .kanban-lead-value { color: var(--green); font-weight: 600; }
.kanban-lead.is-won { border-color: var(--green); background: rgba(4, 120, 87, 0.08); }
.kanban-lead.is-won strong::after { content: ' · Ganho'; color: var(--green); }

/* Mini kanban da aba Vendas */
.mini-kanban { display: flex; gap: 12px; width: 100%; }
.mini-kanban .kanban-col { flex: 1; min-width: 0; }
.mini-kanban .kanban-col-head { font-size: 0.7rem; }
.mini-card {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 7px 9px;
  margin-top: 8px;
  font-size: 0.72rem;
  line-height: 1.3;
}
.mini-card strong { display: block; color: var(--graphite); font-size: 0.74rem; }
.mini-card span { color: var(--muted); font-size: 0.64rem; }

/* Flow 3 — diagrama de nós conectados */
.flow-3 {
  position: relative;
  display: flex;
  align-items: stretch;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 13px;
}
.flow-step { flex: 1; min-width: 220px; position: relative; z-index: 1; display: flex; flex-direction: column; }
.flow-step .screen-frame { flex: 1; }
.flow-step .screen-body { min-height: 64px; align-items: flex-start; }
.flow-step p { color: var(--muted); font-size: 0.88rem; margin-top: 10px; }
.flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #FFFFFF;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.2s ease;
}
.flow-3.is-running .flow-num { background: var(--line); color: var(--muted); }
.flow-3.is-running .flow-num.is-lit {
  background: var(--green);
  color: #FFFFFF;
  box-shadow: 0 0 0 6px rgba(4, 120, 87, 0.15);
}

.flow-track {
  /* left/width são calculados em JS a partir da posição real dos círculos */
  position: absolute;
  top: 26px;
  height: 2px;
  background: var(--line);
  z-index: 0;
}
.flow-track-dot {
  position: absolute;
  top: 50%;
  left: 0;
  width: 10px; height: 10px;
  margin-top: -5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(4,120,87,0.18);
  opacity: 0;
}
.flow-3.is-running .flow-track-dot {
  opacity: 1;
  animation: flow-travel 3.2s ease-in-out infinite;
}
@keyframes flow-travel {
  0% { left: 0%; opacity: 0; }
  8% { opacity: 1; }
  46% { left: calc(50% - 5px); opacity: 1; }
  50% { opacity: 1; }
  92% { left: calc(100% - 10px); opacity: 1; }
  100% { left: calc(100% - 10px); opacity: 0; }
}

@media (max-width: 760px) {
  .flow-track { display: none; }
}

/* ---------- Tabs ---------- */
.tabs-nav {
  display: inline-flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
}
.tab-btn {
  background: transparent;
  border: none;
  color: var(--muted);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  cursor: pointer;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.tab-btn:hover { color: var(--graphite); background: #FFFFFF; }
.tab-btn.is-active {
  color: #FFFFFF;
  background: var(--green);
  box-shadow: 0 4px 10px -4px rgba(4, 120, 87, 0.5);
}
.tab-btn:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }

.tab-panel p { color: var(--muted); margin-bottom: 18px; }

/* ---------- Form ---------- */
.section-form { padding-bottom: 120px; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-embed { padding: 0; overflow: hidden; }
.form-embed iframe { display: block; border-radius: 16px; }
.form-card.form-embed { padding: 0; }
html.js-paging .form-card.form-embed { padding: 0; gap: 0; }
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; color: var(--muted); }
.form-row input,
.form-row select {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 12px 14px;
  color: var(--graphite);
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  width: 100%;
}
.form-row select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234B5563' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.form-row select:invalid { color: var(--muted); }
.form-row input:focus,
.form-row select:focus { outline: none; border-color: var(--green); }
.form-row.has-error input,
.form-row.has-error select { border-color: #DC2626; }
.form-error { font-size: 0.78rem; color: #DC2626; min-height: 14px; }

.form-fine { font-size: 0.78rem; color: var(--muted); text-align: center; margin-top: 4px; }
.form-success {
  text-align: center;
  color: var(--green-hover);
  background: rgba(4,120,87,0.08);
  border: 1px solid rgba(4,120,87,0.25);
  border-radius: 10px;
  padding: 14px;
  font-weight: 600;
}
.form-pending {
  text-align: center;
  color: var(--muted);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */
.footer { padding: 40px 0 100px; background: var(--graphite); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; width: 100%; }
.footer-inner .brand-tag { color: rgba(255,255,255,0.5); border-color: rgba(255,255,255,0.2); }
.footer-privacy { font-size: 0.8rem; color: var(--green-light); }
.footer-copy { font-size: 0.76rem; color: rgba(255,255,255,0.4); margin-top: 2px; }

/* Rodapé completo: topo, colunas e base */
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 100%;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  width: 100%;
  padding: 26px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-align: left;
}
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin: 0 0 6px;
}
.footer-col a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 0.15s ease;
}
.footer-col a:hover { color: var(--green-light); }

.footer-bottom { padding-top: 16px; }
.footer-bottom .footer-privacy,
.footer-bottom .footer-copy { margin: 0; }

/* ---------- Navegação em tela cheia (uma seção por vez) ---------- */
html.js-paging,
html.js-paging body {
  height: 100%;
  overflow: hidden;
}

html.js-paging .slide {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  opacity: 0;
  visibility: hidden;
  /* Seção ainda não visitada: fica "estacionada" logo abaixo da tela */
  transform: translateY(9%);
  transition: opacity 0.6s ease, transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  z-index: 1;
  /* Centraliza o conteúdo na tela: se couber, não sobra vão nem precisa
     rolar; se a seção for maior que a tela, o overflow acima garante que
     ainda dá pra ver tudo rolando dentro dela. */
  display: flex;
  flex-direction: column;
}
/* Centraliza com margin auto em vez de justify-content: center — quando a
   seção é maior que a tela, o topo continua alcançável rolando (com
   justify-content o começo do conteúdo ficava cortado fora da rolagem). */
html.js-paging .slide > * { margin-top: auto; margin-bottom: auto; }
/* Seção já vista: fica estacionada acima da tela — dá a sensação de que
   a seção nova "empurra" a anterior pra fora ao trocar */
html.js-paging .slide.is-before {
  transform: translateY(-9%);
}
html.js-paging .slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 5;
  pointer-events: auto;
}
html.js-paging .slide:not(.is-active) { pointer-events: none; }

/* Espaçamentos mais enxutos em modo paginado, pra cada seção caber numa tela só */
html.js-paging .section { padding: 16px 0; }
html.js-paging .hero { padding: 8px 0 20px; }
html.js-paging .footer { padding: 20px 0; }
html.js-paging .section-head { margin-bottom: 8px; }
html.js-paging .ai-demo { margin-bottom: 6px; }
html.js-paging .cards-4 { gap: 8px; }
html.js-paging .card { padding: 10px 12px; }
html.js-paging .card h3 { margin-bottom: 5px; font-size: 0.84rem; line-height: 1.25; }
html.js-paging .card-cmd { margin-bottom: 7px; font-size: 0.6rem; padding: 3px 8px; }
html.js-paging .card p { font-size: 0.72rem; line-height: 1.35; }
html.js-paging .section-cta { margin-top: 4px; }
html.js-paging #experiencia .section-cta { margin-top: 26px; }
html.js-paging #experiencia .section-cta .btn { padding: 14px 30px; font-size: 0.98rem; }
html.js-paging .section-cta .btn { padding: 9px 20px; font-size: 0.85rem; }
html.js-paging .hero-grid,
html.js-paging .two-col,
html.js-paging .form-grid { column-gap: 28px; row-gap: 18px; }
html.js-paging .tabs-nav { margin-bottom: 10px; }
html.js-paging h1 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
html.js-paging h2 { font-size: clamp(1.25rem, 2.1vw, 1.65rem); }
html.js-paging h2 { margin-bottom: 6px; }
html.js-paging .lead { margin-bottom: 4px; font-size: 0.92rem; }
html.js-paging .ai-statement { font-size: clamp(0.8rem, 1.05vw, 0.92rem); margin: 12px 0; }
html.js-paging #agente-ia h2 { margin-bottom: 14px; }
html.js-paging #agente-ia .ai-statement { margin: 16px 0 8px; }
html.js-paging #agente-ia .section-head { margin-bottom: 30px; }
html.js-paging #sua-rotina .eyebrow,
html.js-paging #experiencia .eyebrow { font-size: 0.84rem; margin-bottom: 12px; }
html.js-paging #sua-rotina h2,
html.js-paging #experiencia h2 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); margin-bottom: 14px; }
html.js-paging #sua-rotina .lead,
html.js-paging #experiencia .lead { font-size: 1.08rem; line-height: 1.6; }
html.js-paging #experiencia .lead { margin-bottom: 18px; }
html.js-paging #comercial .eyebrow { font-size: 0.72rem; margin-bottom: 14px; }
html.js-paging #comercial h2 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); margin-bottom: 16px; }
html.js-paging #comercial h3 { font-size: clamp(0.98rem, 1.4vw, 1.1rem); margin-bottom: 12px; }
html.js-paging #comercial .lead { font-size: 0.88rem; line-height: 1.55; margin-bottom: 14px; }
html.js-paging #comercial .section-head { margin-bottom: 26px; }
html.js-paging #comercial .call-chips { margin: 8px 0 18px; gap: 10px; }
html.js-paging #comercial .call-chips strong { font-size: 0.72rem; padding: 5px 12px; }
html.js-paging #comercial .kanban-demo { margin-top: 20px; }
html.js-paging #comercial .demo-note { margin-top: 8px; }
html.js-paging #comercial .section-cta { margin-top: 10px; }
html.js-paging #marketing .eyebrow { font-size: 0.68rem; margin-bottom: 6px; }
html.js-paging #marketing h2 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); margin-bottom: 8px; }
html.js-paging #marketing .lead { font-size: 1.02rem; line-height: 1.55; margin-bottom: 12px; }
html.js-paging #marketing .section-head { margin-bottom: 12px; }
html.js-paging #marketing .demo-note { margin: 4px 0 10px; display: block; }
html.js-paging #marketing .marketing-cards { margin-top: 10px; }
html.js-paging #marketing .marketing-highlight { margin-top: 10px; font-size: 0.85rem; }
html.js-paging #marketing .section-cta { margin-top: 10px; }
html.js-paging .flow-step p { margin-top: 12px; }
html.js-paging #conheca .eyebrow { font-size: 0.84rem; margin-bottom: 12px; }
html.js-paging #conheca h2 { font-size: clamp(1.6rem, 2.5vw, 2.15rem); margin-bottom: 16px; }
html.js-paging #conheca .lead { font-size: 1.05rem; line-height: 1.55; margin-bottom: 14px; }
html.js-paging #conheca .section-head { margin-bottom: 28px; }
html.js-paging #conheca .tab-panel > p { margin-bottom: 16px; font-size: 0.95rem; }
html.js-paging .exp-stats { margin-top: 26px; }
html.js-paging .exp-stat strong { font-size: 1.5rem; }
#apresentacao .lead strong,
#sua-rotina .lead strong,
#experiencia .lead strong,
#comercial .lead strong { color: var(--green); font-weight: 600; }
#comercial .lead-call {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--graphite);
  font-weight: 500;
}
#comercial .lead-call strong {
  color: var(--graphite);
  font-weight: 700;
  background: rgba(4, 120, 87, 0.09);
  border: 1px solid rgba(4, 120, 87, 0.22);
  border-radius: 6px;
  padding: 1px 7px;
  animation: calloutPulse 2.2s ease-in-out infinite;
}
.call-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 16px;
}
.call-chips strong {
  color: var(--graphite);
  font-weight: 700;
  font-size: 0.82rem;
  background: rgba(4, 120, 87, 0.09);
  border: 1px solid rgba(4, 120, 87, 0.22);
  border-radius: 999px;
  padding: 5px 12px;
  animation: calloutPulse 2.2s ease-in-out infinite;
}
.call-chips strong:nth-child(2) { animation-delay: 0.35s; }
.call-chips strong:nth-child(3) { animation-delay: 0.7s; }
.call-chips strong:nth-child(4) { animation-delay: 1.05s; }
.call-chips strong:nth-child(5) { animation-delay: 1.4s; }
@keyframes calloutPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(4, 120, 87, 0.22); background: rgba(4, 120, 87, 0.09); }
  50% { box-shadow: 0 0 0 6px rgba(4, 120, 87, 0); background: rgba(4, 120, 87, 0.17); }
}
html.js-paging p.lead:last-of-type { margin-bottom: 0; }
html.js-paging .eyebrow { margin-bottom: 8px; }
html.js-paging .hero .eyebrow { margin-bottom: 18px; }

/* Demo do agente de IA ainda mais compacta (é a seção com mais blocos empilhados) */
html.js-paging .screen-body { padding: 8px; gap: 8px; }
html.js-paging .screen-bar { padding: 7px 10px; }
html.js-paging .ai-chat { gap: 4px; }
html.js-paging .chat-msg { padding: 5px 10px; font-size: 0.78rem; }
html.js-paging .chat-steps { gap: 2px; margin: 0 0 0 4px; }
html.js-paging .chat-step { font-size: 0.72rem; }
html.js-paging .chat-step-dot { width: 11px; height: 11px; }
html.js-paging .mock-list { gap: 7px; }
html.js-paging .mock-list-item { padding: 8px 10px; }
html.js-paging .mock-kpis { gap: 8px; }
html.js-paging .mock-kpi { padding: 9px; }
html.js-paging .mock-funnel-annotated .mock-funnel-col { gap: 7px; }
html.js-paging .mock-funnel-annotated { gap: 14px; }
html.js-paging .flow-3 { gap: 12px; }

html.js-paging .form-card { padding: 18px; gap: 7px; }
html.js-paging .form-row { gap: 3px; }
html.js-paging .form-row label { font-size: 0.78rem; }
html.js-paging .form-row input,
html.js-paging .form-row select { padding: 8px 12px; font-size: 0.9rem; }
html.js-paging .form-row select { padding-right: 34px; }
html.js-paging .form-card .btn-block { padding: 10px 26px; margin-top: 2px; }
html.js-paging .form-fine { font-size: 0.72rem; margin-top: 2px; }

@media (max-width: 920px) {
  html.js-paging .section-form,
  html.js-paging .footer { padding-bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  html.js-paging .slide { transition: opacity 0.2s ease; transform: none; }
}

/* Índice de seções (lista com destaque na ativa) */
.slide-toc {
  position: fixed;
  left: 32px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.slide-toc-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.slide-toc-bar {
  width: 2px;
  height: 16px;
  flex-shrink: 0;
  background: var(--line);
  transition: background 0.25s ease, height 0.25s ease;
}
.slide-toc-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--graphite);
  opacity: 0.32;
  white-space: nowrap;
  transition: opacity 0.25s ease;
}
.slide-toc-item:hover .slide-toc-label { opacity: 0.7; }
.slide-toc-item.is-active .slide-toc-bar { background: var(--green); height: 22px; }
.slide-toc-item.is-active .slide-toc-label { opacity: 1; }

@media (max-width: 1180px) {
  .slide-toc { display: none; }
}

@media (min-width: 1181px) {
  html.js-paging .slide { padding-left: 280px; }
  /* Sem isso, o .container (max-width + margin:auto) soma uma centralização
     extra por cima do recuo da lista em telas bem largas, fazendo o
     conteúdo "flutuar" mais pra direita dependendo da largura da janela —
     o que parecia desalinhamento entre seções. Fixando à esquerda, o
     conteúdo sempre começa no mesmo ponto, logo após a lista. */
  html.js-paging .slide .container { margin-left: 0; }
}

/* Rodapé: centraliza o conteúdo na tela cheia da seção, sem sobrar vão vazio */
html.js-paging .footer.slide {
  display: flex;
}
html.js-paging .footer.slide .footer-inner { margin: auto; }

/* Índice de seções sobre fundo escuro (rodapé) precisa de contraste próprio */
.slide-toc.is-on-dark .slide-toc-label { color: #FFFFFF; }
.slide-toc.is-on-dark .slide-toc-bar { background: rgba(255,255,255,0.35); }
.slide-toc.is-on-dark .slide-toc-item.is-active .slide-toc-bar { background: var(--green-light); }

/* Seta fixa: avança de seção */
.slide-arrow {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 70;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--green);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 26px -10px rgba(4,120,87,0.55);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s ease;
  animation: arrow-hint 1.8s ease-in-out infinite;
}
.slide-arrow:hover { background: var(--green-hover); }
.slide-arrow.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(8px); }

@keyframes arrow-hint {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
  .slide-arrow { animation: none; }
}

/* Indicador de próxima seção: só existe no mobile */
.slide-next { display: none; }

@media (max-width: 920px) {
  .slide-arrow { display: none; }

  /* "Rolo" da próxima seção: nome + faixa verde animada embaixo */
  .slide-next {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    bottom: 6px;
    z-index: 70;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
  }
  .slide-next-hint {
    font-size: 0.52rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    opacity: 0.6;
  }
  .slide-next-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--green);
    white-space: nowrap;
    animation: slideNextGlow 1.8s ease-in-out infinite;
  }
  @keyframes slideNextGlow {
    0%, 100% { text-shadow: 0 0 2px rgba(4, 120, 87, 0); opacity: 0.55; }
    50% { text-shadow: 0 0 14px rgba(52, 211, 153, 0.9); opacity: 1; }
  }
  .slide-next.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* ---------- Mobile fixed CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 18px;
  left: 16px;
  right: 16px;
  z-index: 60;
  text-align: center;
  background: var(--green);
  color: #FFFFFF;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 14px 30px -10px rgba(17,24,39,0.35);
}

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .nav, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .header.is-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #FFFFFF;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    box-shadow: 0 16px 30px -20px rgba(17,24,39,0.2);
  }
  .header.is-open .nav-cta {
    display: flex;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    margin: 190px 24px 0;
  }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; grid-row: auto; grid-column: auto; }
  .hero-visual .screen-frame { width: 100%; transform: none; }
  .hero-visual .screen-body { min-height: 0; }
  /* Os glows vazam pra fora do visual e criam área rolável fantasma na seção;
     no mobile eles ficam contidos dentro da caixa do frame. */
  .hero-visual { overflow: hidden; border-radius: 16px; }

  html.js-paging .hero { padding: 8px 0; }
  html.js-paging #apresentacao { padding-bottom: 16px; }
  html.js-paging #apresentacao.slide > * { margin-top: 0; }
  html.js-paging .hero-grid { gap: 18px; }
  html.js-paging .hero h1 { font-size: clamp(1.5rem, 7vw, 1.9rem); }
  html.js-paging .hero .eyebrow { font-size: 0.56rem; letter-spacing: 0.1em; }
  html.js-paging .hero-line-1 { font-size: 1.85rem; }
  .hero-copy .btn { margin-top: 12px; }
  .hero-video-cta { text-align: center; }
  .hero-video-cta .btn { padding: 10px 22px; font-size: 0.85rem; }

  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse .screen-stack { order: 0; }

  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }

  .mobile-cta { display: none; }
  .section-form { padding-bottom: 70px; }
  .footer { padding-bottom: 50px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 18px; padding-bottom: 18px; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 18px 20px; padding: 18px 0; }
  .footer-col h4 { font-size: 0.7rem; margin-bottom: 3px; }
  .footer-col a { font-size: 0.8rem; }

  .screen-body { flex-direction: column; }
  .mock-sidebar { width: 100%; flex-direction: row; flex-wrap: wrap; }
  .mock-side-ai { margin-top: 0; border-top: none; padding-top: 0; }

  /* Abas viram trilha rolável em vez de quebrar em duas linhas */
  .tabs-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .tabs-nav::-webkit-scrollbar { display: none; }
  .tab-btn { white-space: nowrap; flex-shrink: 0; }

  /* Dica visual de que a trilha de abas continua pra direita */
  .tabs { position: relative; }
  .tabs::after {
    content: '❯';
    position: absolute;
    top: 24px;
    right: 2px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding-left: 14px;
    background: linear-gradient(to right, rgba(243, 244, 246, 0), var(--bg-alt) 60%);
    color: var(--green);
    font-size: 0.85rem;
    font-weight: 700;
    pointer-events: none;
    animation: tabsHint 1.6s ease-in-out infinite;
  }
  .tabs.is-end::after { display: none; }
  @keyframes tabsHint {
    0%, 100% { opacity: 0.45; transform: translateY(-50%) translateX(0); }
    50% { opacity: 1; transform: translateY(-50%) translateX(3px); }
  }

  /* Mini kanban da aba Vendas: colunas roláveis em vez de esmagadas */
  .mini-kanban { overflow-x: auto; scrollbar-width: none; }
  .mini-kanban::-webkit-scrollbar { display: none; }
  .mini-kanban .kanban-col { flex: 0 0 150px; }

  /* Itens da aba Leads parados quebram linha em vez de estourar */
  .mock-list-item { flex-wrap: wrap; }

  .exp-stats-row { gap: 30px; }
  .form-card { padding: 22px; }

  /* Seção contato mais compacta no mobile */
  html.js-paging #contato .eyebrow { margin-bottom: 10px; }
  html.js-paging #contato h2 { font-size: clamp(1.15rem, 5vw, 1.45rem); margin-bottom: 14px; }
  html.js-paging #contato .lead { font-size: 0.92rem; line-height: 1.5; margin-bottom: 16px; }
  #contato .form-grid { row-gap: 16px; }
}

#contato h2 { font-size: clamp(1.6rem, 2.3vw, 2rem); }
#contato .lead { font-size: 1.08rem; line-height: 1.6; }
#contato .feature-list li { font-size: 1.05rem; }
@media (max-width: 720px) {
  .form-embed iframe { min-height: 340px !important; zoom: 0.78; }

  /* Respiro mínimo pra seta fixa não cobrir o fim de seções altas */
  html.js-paging .slide { padding-bottom: 40px; }

  html.js-paging #experiencia .section-cta .btn { padding: 10px 22px; font-size: 0.85rem; }
  #experiencia .two-col { row-gap: 16px; }
  #experiencia .screen-frame-lg { margin-bottom: 20px; }
  html.js-paging #experiencia h2 { font-size: clamp(1.15rem, 5vw, 1.45rem); }
  html.js-paging #experiencia .lead { font-size: 0.92rem; line-height: 1.5; margin-bottom: 10px; }
  html.js-paging #experiencia .exp-stat strong { font-size: 1.6rem; }
  html.js-paging #experiencia .exp-stats { margin-top: 16px; }

  /* Seção do agente: compacta pra caber na tela do celular */
  html.js-paging #agente-ia h2 { margin-bottom: 8px; }
  html.js-paging #agente-ia .ai-statement { font-size: 0.92rem; line-height: 1.45; margin: 8px 0 6px; }
  #agente-ia .cards-4 { margin-top: 16px; }
  #agente-ia .card { padding: 12px 14px; }
  #agente-ia .card h3 { font-size: 0.86rem; margin-bottom: 6px; }
  #agente-ia .card p { font-size: 0.74rem; line-height: 1.4; }
  #agente-ia .card-cmd { font-size: 0.64rem; padding: 4px 9px; margin-bottom: 9px; }
  .ai-demo { margin-bottom: 20px; }
  .ai-chat { gap: 8px; padding: 12px; }
  .chat-msg { font-size: 0.78rem; padding: 8px 12px; }
  .chat-steps { gap: 6px; }
  .chat-step { font-size: 0.74rem; }

  /* Lista da rotina mais compacta no mobile */
  #sua-rotina .mock-list { gap: 5px; }
  #sua-rotina .mock-list-head { font-size: 0.66rem; margin-bottom: 0; }
  #sua-rotina .mock-list-item { font-size: 0.72rem; padding: 6px 9px; gap: 7px; }
  #sua-rotina .mock-check { width: 11px; height: 11px; border-radius: 3px; }
  #sua-rotina .screen-body { padding: 10px; }
  #sua-rotina .screen-bar { padding: 8px 12px; }

  /* Seção comercial mais compacta no mobile */
  html.js-paging #comercial h2 { font-size: clamp(1.15rem, 5vw, 1.45rem); }
  html.js-paging #comercial .lead { font-size: 0.92rem; line-height: 1.5; margin-bottom: 10px; }
  html.js-paging #comercial .section-head { margin-bottom: 16px; }

  #comercial .lead-call strong { white-space: nowrap; }
  .call-chips { gap: 6px; }
  .call-chips strong { font-size: 0.72rem; padding: 4px 10px; }
  html.js-paging #comercial .call-chips { gap: 6px; }
  html.js-paging #comercial .call-chips strong { font-size: 0.64rem; padding: 3px 9px; }

  /* Seção conexão mais compacta no mobile */
  html.js-paging #marketing h2 { font-size: clamp(1.15rem, 5vw, 1.45rem); }
  html.js-paging #marketing .lead { font-size: 0.92rem; line-height: 1.5; margin-bottom: 10px; }
  html.js-paging #marketing .section-head { margin-bottom: 18px; }
  .marketing-highlight { white-space: normal; }
  .section-subblock-inline { flex-direction: column; align-items: center; text-align: center; gap: 6px; margin-bottom: 24px; }
  .section-subblock-inline h3 { white-space: normal; font-size: 0.98rem; }
  .section-subblock-inline .lead { white-space: normal; overflow: visible; text-overflow: clip; font-size: 0.82rem; max-width: none; width: 100%; }
  #marketing .flow-3 { gap: 14px; flex-direction: column; }
  #marketing .flow-step { min-width: 0; }
  #marketing .flow-step .screen-bar { padding: 4px 8px; }
  #marketing .flow-step .screen-body { min-height: 0; padding: 6px; }
  #marketing .flow-step p { font-size: 0.7rem; margin-top: 4px; }
  #marketing .mock-list-head { font-size: 0.6rem; padding: 4px 8px; }
  #marketing .mock-list-item { font-size: 0.62rem; padding: 4px 6px; gap: 5px; }
  #marketing .flow-3 { padding-top: 0; }
  #marketing .mock-check { width: 11px; height: 11px; border-radius: 3px; }
  #marketing .flow-num { width: 22px; height: 22px; font-size: 0.72rem; margin-bottom: 8px; }

  /* Seção visão da operação mais compacta no mobile */
  html.js-paging #conheca h2 { font-size: clamp(1.15rem, 5vw, 1.45rem); }
  html.js-paging #conheca .lead { font-size: 0.92rem; line-height: 1.5; margin-bottom: 10px; }
  html.js-paging #conheca .section-head { margin-bottom: 20px; }
  html.js-paging #conheca .tabs-nav { margin-bottom: 14px; }
  html.js-paging #conheca .tab-panel > p { font-size: 0.85rem; margin-bottom: 16px; }

  /* Card do lead no kanban mais compacto no mobile */
  .kanban-lead { padding: 5px 7px; font-size: 0.64rem; }
  .kanban-lead strong { font-size: 0.66rem; }
  .kanban-lead span { font-size: 0.6rem; }
}

@media (max-width: 560px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .card-cmd { font-size: 0.6rem; padding: 3px 8px; }
  .brand { gap: 10px; }
  .brand-tag { font-size: 0.85rem; padding-left: 10px; }
  .hero-copy .btn { padding: 10px 20px; font-size: 0.85rem; }
  .exp-stats-row { gap: 22px; }
  .mock-kpi { min-width: calc(50% - 8px); }
}
