/* ============================================
   PLANNUS CRM — Landing Page Design System
   ============================================ */

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

:root {
  /* Brand Colors */
  --green-50: #f0fdf4;
  --green-100: #dcfce7;
  --green-200: #bbf7d0;
  --green-300: #86efac;
  --green-400: #4ade80;
  --green-500: #22c55e;
  --green-600: #16a34a;
  --green-700: #15803d;
  --green-800: #166534;
  --green-900: #14532d;
  --green-950: #052e16;

  /* Dark Greens (logo) */
  --brand-dark: #0d4a2b;
  --brand-deep: #1a5c3a;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;

  /* Semantic */
  --success: #22c55e;
  --info: #3b82f6;
  --warning: #f59e0b;
  --danger: #ef4444;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.15);
  --shadow-glow-strong: 0 0 60px rgba(34, 197, 94, 0.25);

  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius — cantos menos arredondados que o padrão de antes */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 14px;
  --radius-2xl: 18px;
  --radius-full: 9999px; /* só pra formas circulares/pill de verdade: avatares, tags, botão flutuante */
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Utility Classes --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(34, 197, 94, 0.6);
  }
}

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

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

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

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce-whatsapp {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* Reveal no scroll — curto e suave, no estilo do que a BotConversa usa
   (deslocamento pequeno + fade, em vez de um salto grande) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Imagens/painéis entram com um leve zoom-out, dá sensação de profundidade */
.pipeline-image.animate-on-scroll,
.automation-image.animate-on-scroll,
.whatsapp-image.animate-on-scroll,
.metrics-image.animate-on-scroll {
  transform: translateY(30px) scale(0.975);
}

.pipeline-image.animate-on-scroll.visible,
.automation-image.animate-on-scroll.visible,
.whatsapp-image.animate-on-scroll.visible,
.metrics-image.animate-on-scroll.visible {
  transform: translateY(0) scale(1);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--green-600), var(--green-700));
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.5);
  transform: translateY(-2px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: var(--green-600);
  border: 2px solid var(--green-500);
}

.btn-outline:hover {
  background: var(--green-50);
  border-color: var(--green-600);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--green-700);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-lg {
  font-size: 18px;
  padding: 18px 40px;
}

.btn-sm {
  font-size: 14px;
  padding: 10px 24px;
}

/* --- Navbar ---
   Já nasce pequena: uma pílula flutuante, nunca ocupa a largura inteira.
   Ao rolar, encolhe só um pouco mais (não é uma transformação drástica). */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 48px);
  max-width: 1060px;
  /* padding fica igual no estado rolado — só a largura/opacidade mudam, não a altura */
  padding: 6px 0;
  border-radius: 16px;
  background: #141e2a;
  box-shadow: 0 10px 28px rgba(10, 15, 20, 0.28);
  transition:
    max-width 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  max-width: 900px;
  top: 12px;
  background: rgba(20, 30, 42, 0.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 16px 36px rgba(10, 15, 20, 0.36);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: none;
  padding: 0 20px 0 22px;
  margin: 0;
  transition: padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled .container {
  padding: 0 8px 0 20px;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 9px;
}

.navbar-logo img {
  height: 26px;
  width: auto;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* No scroll, some só o nome — fica só o ícone, bem menor */
.navbar.scrolled .navbar-logo img { height: 19px; }

.navbar-wordmark {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  max-width: 160px;
  opacity: 1;
  transition: max-width 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease;
}

.navbar-wordmark b {
  font-weight: 800;
  color: #73b660;
}

.navbar.scrolled .navbar-wordmark {
  max-width: 0;
  opacity: 0;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.navbar-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  position: relative;
}

.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-400);
  transition: width var(--transition-base);
  border-radius: 1px;
}

.navbar-links a:hover {
  color: var(--white);
}

.navbar-links a:hover::after {
  width: 100%;
}

.navbar-cta .btn {
  padding: 7px 16px;
  font-size: 12.5px;
  border-radius: 9px;
}

.navbar-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255, 255, 255, 0.85);
  margin: 5px 0;
  border-radius: 2px;
  transition: all var(--transition-base);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 170px 0 130px;
  overflow: hidden;
  /* Luz verde logo no começo da página, brilhando por trás do header */
  background:
    radial-gradient(ellipse 900px 480px at 50% -140px, rgba(34, 197, 94, 0.26), transparent 70%),
    linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -15%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Entrada encenada: cada bloco do hero entra em sequência */
.hero-content > * {
  opacity: 0;
  animation: hero-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-content > *:nth-child(1) { animation-delay: 0.08s; }
.hero-content > *:nth-child(2) { animation-delay: 0.22s; }
.hero-content > *:nth-child(3) { animation-delay: 0.36s; }

@keyframes hero-in {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.12;
  color: var(--gray-900);
  margin-bottom: 14px;
  letter-spacing: -1.2px;
}

.hero-content h1 .highlight {
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 480px;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: hero-visual-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes hero-visual-in {
  from { opacity: 0; transform: translateY(34px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ============================================
   ANIMAÇÃO: as peças da própria logo se juntando
   ============================================ */
.logo-reveal {
  position: relative;
  width: 360px;
  height: 324px;
  max-width: 100%;
}

/* Conjunto da marca. Fica já na posição FINAL (encolhida à esquerda) e começa
   ampliado por transform — assim o "assentar" no fim é só transform, sem
   reflow, e as 10 peças não precisam ser repintadas quadro a quadro. */
.lr-mark {
  position: absolute;
  left: 0;
  top: 33%;
  width: 34%;
  aspect-ratio: 196 / 176;
  transform-origin: -8.7% 58.9%;
  transform: scale(2.353);
  filter: drop-shadow(0 6px 10px rgba(10, 60, 30, 0.16));
}

/* Cada peça cobre a marca inteira e mostra só a sua fatia (clip-path).
   Como todas usam a mesma imagem na mesma caixa, quando encaixam o
   resultado é a logo original — não existe troca de animação para imagem. */
.lr-piece {
  position: absolute;
  inset: 0;
  background: url('img/logo-mark.png') no-repeat;
  background-size: 100% 100%;
  opacity: 0;
  transform: translate(var(--sx), var(--sy)) rotate(var(--r)) scale(0.72);
  will-change: transform, opacity;
}

/* Fatias medidas no PNG real (196x176), varrendo os pixels linha a linha.
   Juntas cobrem a imagem inteira, sem sobra nem falha. */
.lr-p1  { clip-path: inset(0       76.531% 45.455% 0);       }
.lr-p2  { clip-path: inset(0       52.041% 45.455% 23.469%); }
.lr-p3  { clip-path: inset(54.545% 76.531% 0       0);       }
.lr-p4  { clip-path: inset(54.545% 52.041% 0       23.469%); }
.lr-p5  { clip-path: inset(0       26.531% 59.091% 47.959%); }
.lr-p6  { clip-path: inset(40.909% 26.531% 0       47.959%); }
.lr-p7  { clip-path: inset(0       12.245% 86.932% 73.469%); }
.lr-p8  { clip-path: inset(0       0       86.932% 87.755%); }
.lr-p9  { clip-path: inset(13.068% 0       77.841% 73.469%); }
.lr-p10 { clip-path: inset(22.159% 0       0       73.469%); }

/* A animação só começa quando .logo-reveal ganha .play (window.load, no JS) */
.logo-reveal.play .lr-piece {
  animation:
    lr-piece-in 2s cubic-bezier(0.22, 1, 0.36, 1) var(--d) forwards,
    lr-piece-fade 0.4s ease var(--d) forwards;
}

/* Só dois pontos: a curva vem do easing. Bezier em keyframe com dezenas de
   paradas vira travamento (o easing reinicia em cada parada). */
@keyframes lr-piece-in {
  from { transform: translate(var(--sx), var(--sy)) rotate(var(--r)) scale(0.72); }
  to   { transform: translate(0, 0) rotate(0deg) scale(1); }
}

@keyframes lr-piece-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Depois de montada, a marca encolhe pro canto esquerdo abrindo espaço pro nome */
.logo-reveal.play .lr-mark {
  animation: lr-mark-settle 0.55s cubic-bezier(0.22, 1, 0.36, 1) 2.4s forwards;
}

@keyframes lr-mark-settle {
  from { transform: scale(2.353); }
  to   { transform: scale(1); }
}

/* Nome desliza de trás da marca assim que ela encolhe */
.lr-wordmark {
  position: absolute;
  left: 38%;
  top: 50%;
  transform: translate(0, -50%);
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.8px;
  color: var(--gray-900);
  white-space: nowrap;
  opacity: 0;
}

.logo-reveal.play .lr-wordmark {
  animation: lr-word-in 0.55s cubic-bezier(0.22, 1, 0.36, 1) 2.7s forwards;
}

.lr-wordmark b {
  font-weight: 800;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes lr-word-in {
  from { opacity: 0; transform: translate(-20px, -50%); }
  to   { opacity: 1; transform: translate(0, -50%); }
}

/* ============================================
   SHOWCASE 3D: painel inclinado que endireita no scroll
   ============================================ */
.tilt-showcase-section {
  padding: 130px 0 100px;
  background: var(--white);
}

.tilt-showcase-wrap {
  perspective: 1600px;
  max-width: 980px;
  margin: 0 auto;
}

.tilt-showcase {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
  transform-origin: 50% 100%;
  /* --tilt vai de 1 (inclinado) a 0 (reto), atualizado pelo JS no scroll */
  transform: rotateX(calc(var(--tilt, 1) * 22deg)) scale(calc(0.93 + (1 - var(--tilt, 1)) * 0.07));
  transition: transform 0.05s linear;
  will-change: transform;
}

.tilt-showcase img {
  width: 100%;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 70px -20px rgba(15, 40, 25, 0.35);
  border: 1px solid var(--gray-200);
}

.floating-card .card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-card .card-icon svg {
  width: 22px;
  height: 22px;
}

.floating-card .card-icon.green {
  background: var(--green-100);
  color: var(--green-600);
}

.floating-card .card-icon.blue {
  background: #dbeafe;
  color: #2563eb;
}

.floating-card .card-text strong {
  display: block;
  font-size: 14px;
  color: var(--gray-800);
}

.floating-card .card-text span {
  font-size: 12px;
  color: var(--gray-500);
}

/* --- Social Proof --- */
.social-proof {
  padding: 60px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.social-proof .container {
  text-align: center;
}

.social-proof p {
  font-size: 14px;
  color: var(--gray-400);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 32px;
}

.social-proof-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-500);
}

.proof-item .proof-icon {
  display: inline-flex;
  color: var(--green-600);
}

.proof-item .proof-icon svg {
  width: 28px;
  height: 28px;
}

.proof-item .proof-text {
  text-align: left;
}

.proof-item .proof-text strong {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-800);
}

.proof-item .proof-text span {
  font-size: 13px;
  color: var(--gray-500);
}

/* --- Faixa de logos de clientes (estilo BotConversa) --- */
.client-logos-strip {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}

.client-logos-title {
  /* sobrescreve o estilo do rótulo genérico ".social-proof p" — aqui é frase normal, não label maiúsculo */
  text-transform: none !important;
  letter-spacing: normal !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--gray-500) !important;
  margin-bottom: 24px !important;
}

/* Janela mais estreita que o container, pra mostrar só algumas logos
   inteiras de cada vez (com uma pela metade em cada lado), em vez
   de muitas pequenas passando juntas. */
.client-logos-marquee {
  max-width: 1020px;
  margin: 0 auto;
}

.marquee-track.client-logos-track {
  gap: 30px;
}

.client-logo-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 92px;
  height: 92px;
}

.client-logo-item img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--gray-200), var(--shadow-md);
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--green-600);
  margin-bottom: 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  width: 0;
  height: 2px;
  background: var(--green-400);
  border-radius: 1px;
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
}

/* As linhas laterais do rótulo se desenham quando a seção aparece */
.animate-on-scroll.visible .section-label::before,
.animate-on-scroll.visible .section-label::after {
  width: 24px;
}

.section-title {
  font-size: 42px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* --- Features Section --- */
.features {
  padding: var(--section-padding);
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-400), var(--green-600));
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-6px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition-base);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card:hover .feature-icon {
  background: var(--green-100);
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
}

/* --- Pipeline Section --- */
.pipeline-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.pipeline-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.pipeline-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--gray-200);
}

.pipeline-image img {
  width: 100%;
  display: block;
}

.pipeline-content h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.pipeline-content p {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.pipeline-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pipeline-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.6;
}

.pipeline-list li .check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--green-600);
}

.pipeline-list li .check-icon svg {
  width: 13px;
  height: 13px;
}

/* --- Automation Section --- */
.automation-section {
  padding: var(--section-padding);
  background: var(--white);
}

.automation-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.automation-showcase.reverse {
  direction: rtl;
}

.automation-showcase.reverse > * {
  direction: ltr;
}

.automation-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--gray-200);
}

.automation-image img {
  width: 100%;
  display: block;
}

.automation-content h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.automation-content p {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

/* --- Metrics / Analytics Section --- */
.metrics-section {
  position: relative;
  z-index: 1;
  color: var(--white);
}

/* Luz por DENTRO da borda. Fica dentro do painel e o fundo é recortado
   automaticamente pelo border-radius (background respeita o raio sem precisar
   de overflow:hidden), então acompanha a curva sem vazar pra fora. */
.metrics-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  border-radius: 50% / 46px;
  background:
    radial-gradient(ellipse 56% 165px at 50% 0%, rgba(52, 211, 133, 0.32), transparent 74%),
    radial-gradient(ellipse 56% 165px at 50% 100%, rgba(52, 211, 133, 0.24), transparent 74%);
  animation: metrics-glow-breathe 7s ease-in-out infinite;
}

@keyframes metrics-glow-breathe {
  0%, 100% { opacity: 0.72; }
  50%      { opacity: 1; }
}

.metrics-shell {
  position: relative;
  z-index: 1;
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--gray-900) 0%, var(--gray-950) 100%);
  /* topo e base abaulados: raio horizontal de 50% faz os dois cantos de cada
     borda se encontrarem no meio, formando uma curva única e contínua */
  border-radius: 50% / 46px;
  /* Sombra escura projetada nas duas direções: é ela que faz o painel parecer
     apoiado POR CIMA das seções claras. Brilho colorido não dá essa leitura —
     o olho lê elevação por sombra escura, não por cor. Raio de desfoque
     moderado (48px) pra não virar o custo de scroll que a versão de 150px era. */
  box-shadow:
    0 -18px 48px -16px rgba(6, 20, 14, 0.42),
    0 22px 52px -16px rgba(6, 20, 14, 0.45);
  /* Sem overflow:hidden de propósito. Um recorte arredondado num elemento da
     largura toda obriga o navegador a manter uma máscara viva e refazê-la a
     cada quadro do scroll — era um custo grande. O fundo arredondado sozinho
     é barato, e quem precisava de recorte (a poeira) tem o seu próprio. */
}

/* --- poeira verde subindo devagar ao fundo --- */
/* ===== Poeira luminosa: UMA camada só =====
   Antes eram 16 elementos, cada um com sua própria animação = 16 camadas de
   composição. Agora é um único elemento com os pontos desenhados como padrão
   de fundo repetido, movido por um único transform. O deslocamento é igual à
   altura exata do ladrilho, então o loop é invisível. */
/* moldura: recorta e apaga perto das curvas (fica do tamanho da seção) */
.metrics-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
}

/* camada animada: mais alta que a seção pra nunca faltar conteúdo ao deslizar */
.metrics-stars i {
  position: absolute;
  left: 0;
  right: 0;
  top: -560px;
  height: calc(100% + 1400px);
  background-image:
    radial-gradient(circle 2.6px at 50% 50%, rgba(167, 243, 208, 0.95), rgba(74, 222, 128, 0.45) 45%, transparent 72%),
    radial-gradient(circle 1.7px at 50% 50%, rgba(134, 239, 172, 0.85), transparent 70%),
    radial-gradient(circle 3.8px at 50% 50%, rgba(74, 222, 128, 0.55), transparent 68%);
  background-size: 200px 240px, 100px 120px, 400px 480px;
  background-position: 0 0, 63px 41px, 145px 190px;
  animation: metrics-star-drift 34s linear infinite;
}

/* O deslocamento tem que ser múltiplo inteiro de TODOS os ladrilhos, senão as
   camadas não voltam juntas e aparece um salto no loop.
   Vertical 480 = 2x240 = 4x120 = 1x480. Horizontal 400 = 2x200 = 4x100 = 1x400. */
@keyframes metrics-star-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(400px, -480px, 0); }
}

/* o conteúdo fica sempre acima da poeira */
.metrics-shell .container {
  position: relative;
  z-index: 1;
}

.metrics-section .section-label {
  color: var(--green-400);
}

.metrics-section .section-label::before,
.metrics-section .section-label::after {
  background: var(--green-600);
}

.metrics-section .section-title {
  color: var(--white);
}

.metrics-section .section-subtitle {
  color: var(--gray-400);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.metric-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
  backdrop-filter: blur(10px);
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--green-500);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

.metric-card .metric-icon {
  display: inline-flex;
  color: var(--green-400);
  margin-bottom: 14px;
}

.metric-card .metric-icon svg {
  width: 30px;
  height: 30px;
}

.metric-card .metric-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--green-400);
  margin-bottom: 6px;
}

.metric-card .metric-label {
  font-size: 14px;
  color: var(--gray-400);
}

.metrics-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.metrics-image img {
  width: 100%;
  display: block;
}

/* --- WhatsApp Section --- */
.whatsapp-section {
  padding: var(--section-padding);
  background: var(--white);
}

.whatsapp-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.whatsapp-content h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--gray-900);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.whatsapp-content p {
  font-size: 17px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 32px;
}

.whatsapp-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.whatsapp-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.whatsapp-feature-item .wf-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: #dcfce7;
  color: var(--green-600);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.whatsapp-feature-item .wf-icon svg {
  width: 23px;
  height: 23px;
}

.whatsapp-feature-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--gray-800);
  margin-bottom: 4px;
}

.whatsapp-feature-item p {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 0;
  line-height: 1.5;
}

.whatsapp-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--gray-200);
}

.whatsapp-image img {
  width: 100%;
  display: block;
}

/* --- Integração e Automação (destaque) --- */
.integration-highlight-section {
  position: relative;
  padding: var(--section-padding);
}

/* --- Cursor da demonstração guiada --- */
.demo-cursor {
  position: absolute;
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  /* alinha a ponta do dedo indicador exatamente no ponto de destino */
  margin: 0 0 0 -11px;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  will-change: transform;
}

.demo-cursor.is-visible {
  opacity: 1;
}

.demo-cursor svg {
  width: 100%;
  height: 100%;
  display: block;
  fill: var(--white);
  stroke: #0f172a;
  stroke-width: 0.8;
  stroke-linejoin: round;
  paint-order: stroke fill;
  filter: drop-shadow(0 2px 3px rgba(15, 23, 42, 0.28))
          drop-shadow(0 6px 12px rgba(15, 23, 42, 0.22));
  transition: transform 0.14s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.demo-cursor.is-clicking svg {
  transform: scale(0.82);
  transform-origin: 46% 8%;
}

.demo-cursor-ring {
  position: absolute;
  left: 1px;
  top: -1px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--green-500);
  opacity: 0;
}

.demo-cursor.is-clicking .demo-cursor-ring {
  animation: demo-click-ring 0.5s ease-out;
}

@keyframes demo-click-ring {
  0%   { opacity: 0.9; transform: scale(0.3); }
  100% { opacity: 0;   transform: scale(2.3); }
}

/* 3 colunas, nas mesmas proporções da referência: painel grande, cards, painel alto */
.integration-highlight-grid {
  display: grid;
  grid-template-columns: 1.9fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* --- Coluna 1: painel construtor da pipeline --- */
.builder-panel {
  background: #141e2a;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  display: flex;
  flex-direction: column;
}

.builder-panel-intro {
  padding: 34px 30px 22px;
}

.builder-panel-intro h3 {
  color: var(--white);
  font-size: 23px;
  font-weight: 700;
  line-height: 1.28;
  margin-bottom: 10px;
}

.builder-panel-intro p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 42ch;
}

.builder-board {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 30px 30px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.builder-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: start;
}

.builder-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.builder-col-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 74px;
}

.builder-col-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.builder-col-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.builder-col-dot.lead { background: #60a5fa; }
.builder-col-dot.proposta { background: #fbbf24; }
.builder-col-dot.negociacao { background: var(--green-400); }

.builder-col-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.builder-col-count {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  padding: 2px 7px;
}

.builder-card {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  background: #1c2836;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 11px 12px;
  transition: transform 0.22s cubic-bezier(0.34, 1.3, 0.64, 1),
              opacity 0.22s ease,
              border-color 0.22s ease,
              box-shadow 0.22s ease;
}

.builder-card:hover,
.builder-card:focus-visible,
.builder-card.is-demo-hover {
  border-color: rgba(34, 197, 94, 0.55);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.13), 0 10px 22px rgba(0, 0, 0, 0.32);
  transform: translateY(-3px);
  outline: none;
}

/* Estados da transição ao clicar (card muda de etapa) */
.builder-card.is-leaving {
  opacity: 0;
  transform: translateX(14px) scale(0.94);
}

.builder-card.is-landing {
  animation: builder-card-land 0.42s cubic-bezier(0.34, 1.3, 0.64, 1);
}

@keyframes builder-card-land {
  0%   { opacity: 0; transform: translateX(-16px) scale(0.94); }
  60%  { border-color: rgba(34, 197, 94, 0.7); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.18); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}

.builder-hint {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.42);
}

.builder-hint svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.builder-card strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 4px;
}

.builder-card-meta {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 7px;
}

.builder-card-value {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--green-400);
}

.builder-automation {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  background: rgba(34, 197, 94, 0.09);
  border: 1px solid rgba(34, 197, 94, 0.28);
}

.builder-automation-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(34, 197, 94, 0.18);
  color: var(--green-400);
}

.builder-automation-icon svg {
  width: 15px;
  height: 15px;
  display: block;
}

.builder-automation strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.builder-automation > div > span {
  display: block;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
}

/* --- Coluna 2: cards --- */
.integration-highlight-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.mini-feature-card {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.mini-feature-card:hover,
.mini-feature-card.is-demo-hover {
  border-color: var(--green-500);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.integration-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.integration-chip {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 9px 11px;
  transition: all var(--transition-base);
}

.integration-chip:hover,
.integration-chip:focus-visible,
.integration-chip.is-demo-hover {
  border-color: var(--green-500);
  box-shadow: var(--shadow-sm);
  outline: none;
}

.integration-chip-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.integration-chip-text strong {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.25;
}

.integration-chip-state {
  font-size: 11px;
  font-weight: 600;
  color: var(--green-600);
  transition: color var(--transition-base);
}

.integration-chip:not(.is-on) .integration-chip-state {
  color: var(--gray-400);
}

.integration-chip:not(.is-on) .mini-app-icon {
  filter: grayscale(1);
  opacity: 0.55;
}

.integration-switch {
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
  width: 34px;
  height: 19px;
  border-radius: var(--radius-full);
  background: var(--gray-300);
  transition: background var(--transition-base);
}

.integration-switch::after {
  content: '';
  position: absolute;
  top: 2.5px;
  left: 2.5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.integration-chip.is-on .integration-switch {
  background: var(--green-500);
}

.integration-chip.is-on .integration-switch::after {
  transform: translateX(15px);
}

.mini-app-icon {
  transition: filter var(--transition-base), opacity var(--transition-base);
}

/* Card de métricas */
.mini-metric-head {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 12px;
}

.mini-metric-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.02em;
}

.mini-metric-trend {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-600);
}

.mini-metric-trend svg { width: 13px; height: 13px; }

/* Tile branco com a marca na cor oficial, como nos materiais das próprias empresas */
.mini-app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--white);
  border: 1px solid var(--gray-200);
}

.mini-app-icon svg {
  width: 19px;
  height: 19px;
  display: block;
}

.mini-app-icon.whatsapp { color: #25d366; }
.mini-app-icon.meta { color: #0081fb; }

.mini-metric-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  margin-bottom: 12px;
}

.mini-metric-bars span {
  flex: 1;
  height: var(--h);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, var(--green-500), var(--green-600));
  transition: height 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.mini-metric-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
}

.mini-metric-tabs button {
  font: inherit;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--gray-400);
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.mini-metric-tabs button:hover,
.mini-metric-tabs button.is-demo-hover {
  color: var(--green-600);
  background: var(--gray-50);
}

.mini-metric-tabs button.active {
  background: var(--green-50);
  color: var(--green-600);
}

.mini-feature-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.mini-feature-card p {
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.5;
}

/* Painel: mesma linguagem visual do widget de automação (app escuro, barra com pontos) */
.integration-highlight-panel {
  background: #141e2a;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  display: flex;
  flex-direction: column;
}

.flow-checklist-canvas {
  flex: 1;
  padding: 32px 26px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flow-checklist {
  display: flex;
  flex-direction: column;
}

.flow-checklist-step {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #1c2836;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: flow-step-lit 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

/* O passo acende na sua vez e continua aceso até o ciclo reiniciar */
@keyframes flow-step-lit {
  0%      { border-color: rgba(255, 255, 255, 0.1); box-shadow: none; transform: translateY(0); }
  4%      { border-color: rgba(34, 197, 94, 0.75); box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15), 0 10px 22px rgba(0, 0, 0, 0.35); transform: translateY(-3px); }
  14%     { border-color: rgba(34, 197, 94, 0.4); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); transform: translateY(0); }
  92%     { border-color: rgba(34, 197, 94, 0.4); }
  100%    { border-color: rgba(255, 255, 255, 0.1); }
}

.flow-checklist-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.3);
  animation: flow-icon-lit 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes flow-icon-lit {
  0%   { background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.3); }
  4%   { background: rgba(34, 197, 94, 0.22); color: var(--green-400); }
  92%  { background: rgba(34, 197, 94, 0.16); color: var(--green-400); }
  100% { background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.3); }
}

.flow-checklist-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.flow-checklist-step strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

/* Só o texto descritivo (dentro da div), nunca o span do ícone —
   senão o seletor sobrescreve o display:inline-flex e o SVG desalinha */
.flow-checklist-step > div > span {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1px;
}

/* O conector "enche" de verde na hora em que o fluxo passa por ele */
.flow-checklist-connector {
  position: relative;
  width: 2px;
  height: 22px;
  margin-left: 31px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.flow-checklist-connector::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--green-500);
  transform: scaleY(0);
  transform-origin: top;
  animation: flow-connector-fill 6s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

@keyframes flow-connector-fill {
  0%   { transform: scaleY(0); }
  6%   { transform: scaleY(1); }
  92%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

.flow-checklist-footer {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.flow-checklist-footer h3 {
  color: var(--white);
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.flow-checklist-footer p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 13.5px;
  line-height: 1.5;
}

/* --- Nicho Section (For Who) --- */
.nicho-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%);
}

/* --- Seletor de segmento (abas + painel) --- */
.seg-switcher {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: stretch;
}

.seg-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.seg-tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  text-align: left;
  font: inherit;
  cursor: pointer;
  overflow: hidden;
  padding: 16px 16px 16px 14px;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base),
              transform var(--transition-base), background var(--transition-base);
}

.seg-tab:hover {
  border-color: var(--green-300);
  transform: translateX(3px);
}

.seg-tab.is-active {
  border-color: var(--green-500);
  background: linear-gradient(100deg, var(--green-50), var(--white) 62%);
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.15);
}

/* número da aba */
.seg-num {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gray-300);
  transition: color var(--transition-base);
}

.seg-tab.is-active .seg-num { color: var(--green-500); }

/* seta que aparece só na aba ativa */
.seg-arrow {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-flex;
  color: var(--green-500);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--transition-base), transform var(--transition-base);
}

.seg-arrow svg { width: 16px; height: 16px; display: block; }

.seg-tab.is-active .seg-arrow {
  opacity: 1;
  transform: translateX(0);
}

.seg-tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--green-50);
  color: var(--green-600);
  transition: all var(--transition-base);
}

.seg-tab-icon svg { width: 21px; height: 21px; display: block; }

.seg-tab.is-active .seg-tab-icon {
  background: linear-gradient(140deg, var(--green-500), var(--green-600));
  color: var(--white);
  transform: scale(1.06);
}

.seg-tab-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.seg-tab-text strong {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.3;
}

.seg-tab-text > span {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.35;
}

/* barrinha que mostra quanto falta pra trocar sozinho de aba */
.seg-tab-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
}

.seg-tab.is-active .seg-tab-bar {
  animation: seg-progress 5s linear forwards;
}

@keyframes seg-progress {
  from { width: 0; }
  to   { width: 100%; }
}

/* quando a pessoa escolhe uma aba, para de girar e a barra fica cheia */
.seg-switcher.is-manual .seg-tab-bar { animation: none; width: 0; }
.seg-switcher.is-manual .seg-tab.is-active .seg-tab-bar { width: 100%; }

/* --- Painel escuro, mesma linguagem dos outros widgets --- */
.seg-stage {
  position: relative;
  min-height: 340px;
  border-radius: var(--radius-xl);
  background: #141e2a;
  box-shadow: var(--shadow-2xl);
  overflow: hidden;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 20px 20px;
}

.seg-panel {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 38px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.45s;
}

.seg-panel.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* brilho verde no canto, dando volume ao painel escuro */
.seg-stage-glow {
  position: absolute;
  right: -120px;
  top: -110px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.22), transparent 68%);
  pointer-events: none;
}
/* etiqueta "Segmento 0X de 04" com pontinho pulsando */
.seg-eyebrow {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 16px;
}

.seg-eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-400);
  animation: status-blink 2s ease-in-out infinite;
}

.seg-panel h3 {
  position: relative;
  font-size: 26px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 14px;
}

.seg-panel p {
  position: relative;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.65;
  max-width: 46ch;
  margin-bottom: 26px;
}

.seg-chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.seg-chip {
  padding: 8px 14px;
  border-radius: var(--radius-full);
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.32);
  color: var(--green-400);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(8px);
}

/* as etiquetas entram uma depois da outra quando o painel abre */
.seg-panel.is-active .seg-chip {
  animation: seg-chip-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.seg-panel.is-active .seg-chip:nth-child(1) { animation-delay: 0.16s; }
.seg-panel.is-active .seg-chip:nth-child(2) { animation-delay: 0.24s; }
.seg-panel.is-active .seg-chip:nth-child(3) { animation-delay: 0.32s; }
.seg-panel.is-active .seg-chip:nth-child(4) { animation-delay: 0.40s; }

@keyframes seg-chip-in {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Form / CTA Section --- */
.form-section {
  padding: var(--section-padding);
  background: linear-gradient(135deg, var(--green-900) 0%, var(--brand-dark) 50%, var(--green-950) 100%);
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.form-section::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.form-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.form-text {
  color: var(--white);
}

.form-text h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.form-text p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 36px;
}

.form-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-benefits li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.form-benefits li .benefit-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-400);
}

.form-benefits li .benefit-check svg {
  width: 14px;
  height: 14px;
}

.form-container {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-2xl);
}

.form-container h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
  text-align: center;
}

.form-container .form-sub {
  font-size: 15px;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--gray-800);
  background: var(--white);
  transition: all var(--transition-fast);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b7280' d='M6 8.825L.175 3 1.4 1.775 6 6.375l4.6-4.6L11.825 3z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15);
}

.form-group input::placeholder {
  color: var(--gray-400);
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

.form-privacy {
  text-align: center;
  margin-top: 16px;
  font-size: 12px;
  color: var(--gray-400);
}

.form-privacy svg {
  width: 12px;
  height: 12px;
  vertical-align: -1px;
  margin-right: 2px;
}

.form-privacy a {
  color: var(--green-600);
  text-decoration: underline;
}

/* ============================================
   COMO COMEÇAR — trilho + 3 passos
   Sem simulação de tela do produto: o peso visual
   vem do desenho e das animações.
   ============================================ */
.onboarding-section {
  position: relative;
  padding: var(--section-padding);
  background: var(--white);
  overflow: hidden;
}

/* brilho verde bem suave atrás dos passos, dá profundidade sem poluir */
.onboarding-section::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -180px;
  width: 900px;
  height: 420px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.09), transparent 68%);
  pointer-events: none;
}

.ob-steps {
  --ob-marker: 84px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}

/* Trilho ligando os três marcadores */
.ob-rail {
  position: absolute;
  left: 16.66%;
  right: 16.66%;
  top: calc(var(--ob-marker) / 2 - 1px);
  height: 2px;
  background: var(--gray-200);
  border-radius: 2px;
  z-index: 0;
}

.ob-rail-fill {
  display: block;
  height: 100%;
  width: calc(var(--ob-progress, 0) * 100%);
  border-radius: 2px;
  background: linear-gradient(90deg, var(--green-500), var(--green-400));
}

.ob-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* cada passo acende um pouco depois do anterior.
   nth-of-type conta só os <article>, ignorando a div do trilho */
.ob-step:nth-of-type(2) { --ob-d: 0.18s; }
.ob-step:nth-of-type(3) { --ob-d: 0.36s; }

/* --- Marcador: ícone + número, com halo pulsando --- */
.ob-marker {
  position: relative;
  width: var(--ob-marker);
  height: var(--ob-marker);
  margin: 0 auto 26px;
}

.ob-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--green-400);
  opacity: 0;
}

.ob-step.visible .ob-halo {
  animation: ob-halo-pulse 3.4s ease-out infinite;
  animation-delay: var(--ob-d, 0s);
}

@keyframes ob-halo-pulse {
  0%       { opacity: 0.55; transform: scale(1); }
  70%,100% { opacity: 0;    transform: scale(1.42); }
}

.ob-icon {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(140deg, var(--green-500), var(--green-600));
  color: var(--white);
  box-shadow: 0 0 0 6px var(--white), 0 10px 24px rgba(22, 163, 74, 0.3);
  transition: transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1),
              box-shadow 0.45s ease;
}

.ob-icon svg {
  width: 34px;
  height: 34px;
  display: block;
}

/* o traço do ícone se desenha sozinho quando o passo aparece */
.ob-icon svg > * {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

.ob-step.visible .ob-icon svg > * {
  animation: ob-draw 1s ease forwards;
  animation-delay: calc(var(--ob-d, 0s) + 0.15s);
}

@keyframes ob-draw {
  to { stroke-dashoffset: 0; }
}

.ob-num {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  color: var(--green-700);
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px var(--green-100), 0 3px 8px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition-base);
}

/* --- Card de texto --- */
.ob-card {
  padding: 26px 22px 28px;
  border-radius: var(--radius-xl);
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1),
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

.ob-step:hover .ob-card {
  transform: translateY(-6px);
  border-color: var(--green-200);
  box-shadow: var(--shadow-lg);
}

.ob-step:hover .ob-icon {
  transform: scale(1.07) rotate(-4deg);
  box-shadow: 0 0 0 6px var(--white), 0 14px 30px rgba(22, 163, 74, 0.42);
}

.ob-step:hover .ob-num {
  transform: scale(1.1);
}

.ob-card h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 9px;
}

.ob-card p {
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.62;
}

/* --- FAQ Section --- */
.faq-section {
  padding: var(--section-padding);
  background: var(--gray-50);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item.open {
  border-color: var(--green-300);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-900);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--green-600);
  transition: transform var(--transition-base);
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

/* Truque do grid 0fr->1fr: anima até "auto" sem precisar medir altura via JS */
.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.65;
}

.faq-cta {
  text-align: center;
  margin-top: 40px;
}

.faq-cta p {
  font-size: 15px;
  color: var(--gray-500);
  margin-bottom: 16px;
}

/* --- Footer --- */
.footer {
  padding: 60px 0 30px;
  background: var(--gray-950);
  color: var(--gray-400);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand .footer-logo img {
  height: 30px;
  width: auto;
}

.footer-brand .footer-logo span {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: var(--white);
}

.footer-brand .footer-logo span b {
  font-weight: 800;
  color: #73b660;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--gray-500);
  max-width: 300px;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--green-400);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--gray-600);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--gray-400);
  transition: all var(--transition-fast);
}

.footer-social a:hover {
  background: var(--green-600);
  color: var(--white);
  transform: translateY(-3px);
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: bounce-whatsapp 2s ease-in-out infinite;
  cursor: pointer;
}

.whatsapp-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
  animation: none;
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: var(--white);
}

.whatsapp-float .tooltip {
  position: absolute;
  right: 78px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  color: var(--gray-800);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
}

.whatsapp-float .tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 6px solid var(--white);
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}

/* --- Testimonials Section --- */
.testimonials-section {
  padding: var(--section-padding);
  background: var(--gray-50);
}

/* Carrossel: reaproveita o mesmo mecanismo de marquee (fade nas bordas,
   rolagem infinita, pausa no hover) já usado nos outros carrosséis do site */
.testimonials-marquee {
  padding: 6px 0;
}

.marquee-track.testimonials-track {
  gap: 24px;
  animation-duration: 46s;
}

/* Os depoimentos não param quando o mouse passa por cima — seguem rolando sempre.
   Precisa de especificidade maior que a regra genérica ".marquee:hover .marquee-track". */
.marquee.testimonials-marquee:hover .marquee-track {
  animation-play-state: running;
}

/* Card no estilo do BotConversa: depoimento em cima, risco separando,
   e o autor com foto embaixo. */
.testimonial-card {
  display: flex;
  flex-direction: column;
  width: 380px;
  flex-shrink: 0;
  margin: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all var(--transition-base);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--green-200);
}

.testimonial-text {
  flex: 1;
  margin: 0;
  padding: 32px 30px 28px;
  font-size: 15.5px;
  color: var(--gray-600);
  line-height: 1.68;
}

/* Card com a foto pronta mas ainda sem o depoimento real do cliente.
   Fica visivelmente diferente de propósito, pra não ir pro ar sem querer. */
.testimonial-card.is-pending {
  border-style: dashed;
  border-color: var(--gray-300);
  background: var(--gray-50);
  box-shadow: none;
}

.testimonial-card.is-pending .testimonial-text,
.testimonial-card.is-pending .testimonial-author-info strong,
.testimonial-card.is-pending .testimonial-author-info span {
  color: var(--gray-400);
  font-style: italic;
}

.testimonial-card.is-pending .testimonial-author {
  border-top-style: dashed;
}

.testimonial-card.is-pending .testimonial-avatar {
  opacity: 0.75;
}

/* O risco que separa o depoimento do autor */
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 20px 30px 22px;
  border-top: 1px solid var(--gray-200);
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  /* cada foto enquadra o rosto num ponto diferente, definido no HTML */
  object-position: var(--pos, 50% 30%);
  background: var(--gray-100);
}

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

.testimonial-author-info strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.3;
}

.testimonial-author-info span {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.35;
}


/* --- Mobile Navigation Overlay --- */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1001;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 320px;
  height: 100%;
  background: var(--white);
  padding: 80px 32px 32px;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  box-shadow: var(--shadow-2xl);
}

.mobile-nav.active .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--gray-600);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-links a {
  display: block;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-nav-links a:hover {
  background: var(--green-50);
  color: var(--green-700);
}

.mobile-nav-cta {
  margin-top: 24px;
}

.mobile-nav-cta .btn {
  width: 100%;
}

/* ============================================
   SISTEMA DE ANIMAÇÕES
   ============================================ */

/* --- Hero: aurora animada --- */
.hero-aurora {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  /* As manchas de luz são maiores que o hero e o overflow:hidden cortava elas
     numa linha reta bem visível no fim da seção. A máscara faz a luz sumir
     sozinha antes de chegar na borda, então não existe mais corte. */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 68%, transparent 100%);
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  will-change: transform;
}

.aurora-blob.blob-1 {
  width: 620px;
  height: 620px;
  top: -280px;
  right: -180px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.20) 0%, transparent 68%);
  animation: aurora-drift-1 22s ease-in-out infinite;
}

.aurora-blob.blob-2 {
  width: 520px;
  height: 520px;
  bottom: -300px;
  left: -200px;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.14) 0%, transparent 68%);
  animation: aurora-drift-2 26s ease-in-out infinite;
}

.aurora-blob.blob-3 {
  width: 440px;
  height: 440px;
  top: 34%;
  left: 46%;
  background: radial-gradient(circle, rgba(134, 239, 172, 0.14) 0%, transparent 70%);
  animation: aurora-drift-3 19s ease-in-out infinite;
}

.aurora-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(15, 23, 42, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 23, 42, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, #000 0%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 60% at 50% 40%, #000 0%, transparent 78%);
}

@keyframes aurora-drift-1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(-52px, 42px, 0) scale(1.14); }
}

@keyframes aurora-drift-2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50%      { transform: translate3d(46px, -38px, 0) scale(1.1); }
}

@keyframes aurora-drift-3 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .75; }
  50%      { transform: translate3d(-34px, -26px, 0) scale(1.2); opacity: 1; }
}

/* --- Revelação em cascata (stagger) --- */
.animate-on-scroll {
  transition-delay: calc(var(--stagger, 0) * 85ms);
}

/* ============================================
   FAIXA MARQUEE (rolagem infinita)
   ============================================ */
.marquee-band {
  padding: 56px 0 64px;
  /* O fundo cinza terminava numa linha reta contra o branco logo acima da
     curva escura — era essa a "linha" que ainda aparecia. Agora ele se
     dissolve no branco antes de chegar lá. */
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--gray-50) 62%, var(--white) 100%);
  border-top: 1px solid var(--gray-100);
  overflow: hidden;
}

.marquee-title {
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 34px;
}

.marquee {
  overflow: hidden;
  padding: 7px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee-scroll 34s linear infinite;
  will-change: transform;
}

.marquee-reverse .marquee-track {
  animation-duration: 42s;
  animation-direction: reverse;
}

/* A faixa tem o conteúdo duplicado: deslocar 50% cria o loop sem emenda */
@keyframes marquee-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  background: var(--white);
  color: var(--gray-700);
  font-size: 14.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-full);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.marquee-chip svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--green-600);
}

/* ============================================
   WIDGET: fluxo de automação
   ============================================ */
.flow-demo {
  background: #141e2a;
  color: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.flow-demo-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 18px;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.flow-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}

.flow-dot:first-child { background: #ff5f57; }
.flow-dot:nth-child(2) { background: #febc2e; }
.flow-dot:nth-child(3) { background: #28c840; }

.flow-demo-title {
  margin-left: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.flow-status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green-400);
  background: rgba(34, 197, 94, 0.14);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 4px 11px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.flow-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-400);
  animation: status-blink 2s ease-in-out infinite;
}

@keyframes status-blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  50%      { opacity: .55; box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
}

.flow-canvas {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px 44px;
  padding: 30px 24px 34px;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 20px 20px;
}

.flow-node {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border-radius: 12px;
  background: #1c2836;
  border: 1px solid rgba(255, 255, 255, 0.1);
  animation: node-pulse 5.2s ease-in-out infinite;
}

.flow-node.node-3 { grid-column: 2; grid-row: 2; }
.flow-node.node-4 { grid-column: 1; grid-row: 2; }

.flow-node.node-1 { animation-delay: 0s; }
.flow-node.node-2 { animation-delay: 1.3s; }
.flow-node.node-3 { animation-delay: 2.6s; }
.flow-node.node-4 { animation-delay: 3.9s; }

@keyframes node-pulse {
  0%, 100% {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    transform: translateY(0);
  }
  6% {
    border-color: rgba(34, 197, 94, 0.85);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16), 0 8px 20px rgba(0, 0, 0, 0.35);
    transform: translateY(-3px);
  }
  22% {
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
    transform: translateY(0);
  }
}

.flow-node-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}

.flow-node-icon.green {
  background: rgba(34, 197, 94, 0.16);
  color: var(--green-400);
}

.flow-node-icon svg { width: 15px; height: 15px; }

.flow-node strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.flow-node span:not(.flow-node-icon) {
  display: block;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.35;
  margin-top: 1px;
}

/* Conectores animados entre os nós */
.flow-node.node-1::after,
.flow-node.node-3::after {
  content: '';
  position: absolute;
  top: 50%;
  height: 2px;
  width: 44px;
  background-image: repeating-linear-gradient(90deg, var(--green-500) 0 6px, transparent 6px 13px);
  background-size: 13px 2px;
  animation: dash-flow-x .55s linear infinite;
}

.flow-node.node-1::after { left: 100%; }
.flow-node.node-3::after { right: 100%; animation-direction: reverse; }

.flow-node.node-2::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 100%;
  width: 2px;
  height: 52px;
  background-image: repeating-linear-gradient(180deg, var(--green-500) 0 6px, transparent 6px 13px);
  background-size: 2px 13px;
  animation: dash-flow-y .55s linear infinite;
}

@keyframes dash-flow-x { to { background-position: 13px 0; } }
@keyframes dash-flow-y { to { background-position: 0 13px; } }

/* ============================================
   WIDGET: funil de conversão
   ============================================ */
.funnel-demo {
  background: #101a26;
  padding: 26px 28px 30px;
}

.funnel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.funnel-head strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.funnel-head span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
}

.funnel-rows {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.funnel-row {
  display: grid;
  grid-template-columns: 104px 1fr 42px;
  align-items: center;
  gap: 12px;
}

.funnel-label {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.funnel-track {
  height: 9px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.07);
  overflow: hidden;
}

.funnel-fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--green-600), var(--green-400));
  /* Curva mais equilibrada: a antiga (easeOutQuint) disparava e depois
     rastejava até parar, que era o efeito de "arrastando". */
  transition: width 1.3s cubic-bezier(0.37, 0, 0.24, 1);
}

.funnel-row.is-win .funnel-fill {
  background: linear-gradient(90deg, var(--green-400), #a7f3c0);
  box-shadow: 0 0 14px rgba(34, 197, 94, 0.55);
}

.funnel-val {
  font-size: 12.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  text-align: right;
}

.funnel-row.is-win .funnel-val { color: var(--green-400); }

.animate-on-scroll.visible .funnel-fill { width: var(--w); }

.funnel-row:nth-child(1) .funnel-fill { transition-delay: 0.06s; }
.funnel-row:nth-child(2) .funnel-fill { transition-delay: 0.14s; }
.funnel-row:nth-child(3) .funnel-fill { transition-delay: 0.22s; }
.funnel-row:nth-child(4) .funnel-fill { transition-delay: 0.30s; }
.funnel-row:nth-child(5) .funnel-fill { transition-delay: 0.38s; }
.funnel-row:nth-child(6) .funnel-fill { transition-delay: 0.46s; }
.funnel-row:nth-child(7) .funnel-fill { transition-delay: 0.54s; }

/* ============================================
   WIDGET: chat do WhatsApp
   ============================================ */
.chat-demo {
  background: var(--white);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.chat-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  background: #0f5132;
  color: var(--white);
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12.5px;
  font-weight: 700;
  flex-shrink: 0;
}

.chat-head-text { min-width: 0; }

.chat-head-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.chat-head-text span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.7);
}

.chat-online {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ade80;
  animation: status-blink 2s ease-in-out infinite;
}

.chat-tag {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.16);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  flex-shrink: 0;
}

.chat-body {
  flex: 1;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  background-color: #ece5dd;
  background-image: radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 16px 16px;
  min-height: 330px;
}

.chat-msg {
  max-width: 84%;
  padding: 9px 12px 7px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--gray-800);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  opacity: 0;
  animation: chat-msg-in 9s ease-out infinite;
}

.chat-msg.out {
  align-self: flex-end;
  background: #d9fdd3;
  border-bottom-right-radius: 3px;
}

.chat-msg.in {
  align-self: flex-start;
  background: var(--white);
  border-bottom-left-radius: 3px;
}

.chat-time {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  font-size: 10.5px;
  color: var(--gray-400);
  margin-top: 2px;
}

.chat-time svg {
  width: 13px;
  height: 13px;
  color: #34b7f1;
}

.chat-msg.msg-1 { animation-delay: 0.3s; }
.chat-msg.msg-2 { animation-delay: 1.7s; }
.chat-msg.msg-4 { animation-delay: 4.5s; }

.chat-typing {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 11px 14px;
  background: var(--white);
  border-radius: 12px;
  border-bottom-left-radius: 3px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
  opacity: 0;
  animation: chat-typing-cycle 9s ease-out infinite;
  animation-delay: 3.1s;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-400);
  animation: typing-bounce 1.1s ease-in-out infinite;
}

.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }

.chat-system {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-800);
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 6px 13px;
  border-radius: var(--radius-full);
  text-align: center;
  opacity: 0;
  animation: chat-msg-in 9s ease-out infinite;
  animation-delay: 5.9s;
}

.chat-system svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

@keyframes chat-msg-in {
  0%       { opacity: 0; transform: translateY(10px) scale(0.97); }
  4%       { opacity: 1; transform: translateY(0) scale(1); }
  86%      { opacity: 1; transform: translateY(0) scale(1); }
  93%, 100% { opacity: 0; transform: translateY(-6px) scale(0.98); }
}

@keyframes chat-typing-cycle {
  0%       { opacity: 0; transform: translateY(8px); }
  3%       { opacity: 1; transform: translateY(0); }
  13%      { opacity: 1; transform: translateY(0); }
  17%, 100% { opacity: 0; transform: translateY(-4px); }
}

@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .45; }
  30%           { transform: translateY(-5px); opacity: 1; }
}

/* --- Acessibilidade: respeita "reduzir movimento" --- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }

  .chat-msg,
  .chat-system { opacity: 1 !important; }
  .chat-typing { display: none; }
  .funnel-fill { width: var(--w) !important; }

  /* Marquee para de rolar e volta ao início, em vez de saltar para o fim */
  .marquee-track {
    animation: none !important;
    transform: none !important;
  }

  .hero-content > *,
  .hero-visual,
  .floating-card { opacity: 1 !important; }

  .section-label::before,
  .section-label::after { width: 24px !important; }

  /* Animação de montagem da logo: mostra direto o resultado final */
  .lr-piece { opacity: 1 !important; transform: none !important; }
  .lr-mark { transform: scale(1) !important; }
  .lr-wordmark { opacity: 1 !important; transform: translate(0, -50%) !important; }

  /* Painel 3D: fica reto direto, sem depender do JS de scroll */
  .tilt-showcase { transform: none !important; }

  /* "Como começar": ícone já desenhado e sem halo pulsando */
  .ob-icon svg > * { stroke-dashoffset: 0 !important; }
  .ob-halo { display: none; }

  /* Seletor de segmento: sem giro automático nem entrada das etiquetas */
  .seg-chip { opacity: 1 !important; transform: none !important; }
  .seg-tab-bar { animation: none !important; }
  .seg-tab.is-active .seg-tab-bar { width: 100%; }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  /* No desktop, mesmo em notebook menor, a animação continua do lado do texto —
     só encolhe pra caber, não empilha embaixo. Só empilha de verdade lá embaixo,
     na faixa de tablet/celular (ver breakpoint de 760px mais abaixo). */
  .hero .container {
    gap: 36px;
  }

  .hero-content h1 {
    font-size: 38px;
  }

  .logo-reveal {
    width: 260px;
    height: 234px;
  }

  .lr-wordmark {
    font-size: 24px;
  }

  .tilt-showcase {
    transform: rotateX(calc(var(--tilt, 1) * 12deg)) scale(calc(0.96 + (1 - var(--tilt, 1)) * 0.04));
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pipeline-showcase,
  .automation-showcase,
  .whatsapp-showcase,
  .form-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  /* Empilhado, a conversa do WhatsApp vem primeiro e a explicação embaixo.
     Só visual: no HTML o texto continua antes, por SEO e leitor de tela. */
  .whatsapp-showcase .whatsapp-image {
    order: -1;
  }

  .integration-highlight-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .integration-highlight-cards {
    flex-direction: row;
  }

  .automation-showcase.reverse {
    direction: ltr;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .seg-switcher {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .seg-stage {
    min-height: 300px;
  }

  .ob-steps {
    gap: 24px;
    --ob-marker: 74px;
  }

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

  .navbar-links {
    display: none;
  }

  .navbar-cta {
    display: none;
  }

  .navbar-mobile-toggle {
    display: block;
  }

  .mobile-nav {
    display: block;
  }

  .section-title {
    font-size: 34px;
  }

  .pipeline-content h2,
  .automation-content h2,
  .whatsapp-content h2 {
    font-size: 32px;
  }
}

/* Só aqui, em telas de tablet/celular de verdade, o hero empilha em 1 coluna */
@media (max-width: 760px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  /* No mobile a animação vem primeiro (em cima), o texto vem depois (embaixo) —
     só visual, o H1 continua primeiro no HTML pra SEO/leitor de tela */
  .hero-visual {
    order: -1;
  }

  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .logo-reveal {
    width: 280px;
    height: 252px;
    margin: 0 auto;
  }

  .lr-wordmark {
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-padding: 64px 0;
  }

  .hero {
    padding: 100px 0 64px;
  }

  .integration-highlight-cards {
    flex-direction: column;
  }

  .builder-panel-intro {
    padding: 26px 20px 18px;
  }

  .builder-panel-intro h3 {
    font-size: 20px;
  }

  .builder-board {
    padding: 18px 20px 22px;
  }

  /* Em tela de celular 3 colunas de kanban ficariam espremidas demais;
     o painel é ilustrativo (role="img"), então mostra só as duas primeiras */
  .builder-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .builder-col-last {
    display: none;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .logo-reveal {
    width: 220px;
    height: 198px;
  }

  .lr-wordmark {
    font-size: 28px;
  }

  .tilt-showcase-section {
    padding: 16px 0 56px;
  }

  .client-logos-marquee {
    max-width: 320px;
  }

  .marquee-track.client-logos-track {
    gap: 18px;
  }

  .client-logo-item {
    width: 68px;
    height: 68px;
  }

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

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

  .seg-panel {
    padding: 30px 24px;
  }

  .seg-panel h3 { font-size: 22px; }
  .seg-panel p { font-size: 14.5px; margin-bottom: 20px; }

  .seg-tab { padding: 14px 15px; gap: 12px; }
  .seg-tab-icon { width: 38px; height: 38px; }
  .seg-tab-text strong { font-size: 14.5px; }

  /* No celular o card do depoimento acompanha a largura da tela */
  .testimonial-card {
    width: min(320px, 84vw);
  }

  .testimonial-text {
    padding: 26px 24px 22px;
    font-size: 14.5px;
  }

  .testimonial-author {
    padding: 16px 24px 18px;
  }

  .ob-steps {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  /* empilhado o trilho horizontal não faz sentido */
  .ob-rail {
    display: none;
  }

  .form-container {
    padding: 32px 24px;
  }

  .form-text h2 {
    font-size: 30px;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .section-title {
    font-size: 28px;
  }

  .final-cta h2 {
    font-size: 28px;
  }

  .btn-lg {
    font-size: 16px;
    padding: 14px 28px;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  /* Widgets animados no mobile */
  .flow-canvas {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 24px 18px 28px;
  }

  .flow-node.node-3,
  .flow-node.node-4 {
    grid-column: 1;
    grid-row: auto;
  }

  /* No mobile o fluxo é vertical: todos os conectores viram verticais */
  .flow-node.node-1::after,
  .flow-node.node-2::after,
  .flow-node.node-3::after {
    top: 100%;
    left: 50%;
    right: auto;
    width: 2px;
    height: 34px;
    background-image: repeating-linear-gradient(180deg, var(--green-500) 0 6px, transparent 6px 13px);
    background-size: 2px 13px;
    animation: dash-flow-y .55s linear infinite;
  }

  .funnel-demo { padding: 22px 18px 24px; }

  .funnel-row {
    grid-template-columns: 88px 1fr 34px;
    gap: 9px;
  }

  .funnel-label,
  .funnel-val { font-size: 11.5px; }

  .funnel-head strong { font-size: 15px; }

  .chat-body {
    min-height: 300px;
    padding: 16px 14px;
  }

  .chat-msg { max-width: 88%; font-size: 12.5px; }

  .chat-tag { display: none; }

  .aurora-blob { filter: blur(58px); }
}

/* ============================================
   PLANOS / PREÇOS
   Fica entre o WhatsApp (branco) e os depoimentos (cinza):
   o degradê faz a emenda das duas seções.
   ============================================ */
.pricing-section {
  padding: var(--section-padding);
  background: linear-gradient(180deg, var(--white) 0%, var(--gray-50) 100%);
}

/* o título vem colado no seletor de período, por isso a margem menor
   que a do .section-header padrão */
.pricing-header {
  margin-bottom: 20px;
}

.pricing-switch {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-toggle-wrap {
  display: inline-block;
}

.pricing-toggle {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.pricing-toggle-thumb {
  position: absolute;
  top: 4px;
  left: 0;
  width: 0;
  height: calc(100% - 8px);
  border-radius: 9px;
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.35);
  pointer-events: none;
  /* mesmo easing dos reveals do site; sem overshoot, senão a pílula
     passa do alvo e escapa do canto arredondado do seletor */
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    width 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pricing-toggle-btn {
  position: relative;
  z-index: 1;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
  background: transparent;
  border: none;
  border-radius: 9px;
  padding: 10px 20px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 260ms ease;
}

.pricing-toggle-btn:hover {
  color: var(--gray-900);
}

/* Sem JS a pílula não existe: o botão ativo mantém o próprio fundo verde
   como reserva. Com JS, quem pinta é a pílula que desliza. */
.pricing-toggle-btn.is-active {
  background: linear-gradient(135deg, var(--green-500), var(--green-600));
  color: var(--white);
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.35);
}

.pricing-toggle.has-thumb .pricing-toggle-btn.is-active {
  background: transparent;
  box-shadow: none;
  /* o branco só entra quando a pílula já está embaixo do texto,
     senão fica branco no branco no meio do caminho */
  transition: color 200ms ease 130ms;
}

.pricing-hint {
  font-size: 14px;
  color: var(--gray-500);
  margin: 14px auto 0;
  max-width: 620px;
  line-height: 1.6;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.plan-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 26px 26px 30px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.plan-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* O Pro é o plano âncora: borda verde e brilho, sem mudar de tamanho
   (se crescesse, desalinhava os preços dos três cards). */
.plan-card.is-featured {
  border: 2px solid var(--green-500);
  /* 1px a menos de padding pra compensar a borda mais grossa:
     assim nome, preço e botão ficam na mesma linha dos outros dois cards */
  padding: 25px 25px 29px;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.plan-card.is-featured:hover {
  border-color: var(--green-600);
  box-shadow: var(--shadow-xl), var(--shadow-glow-strong);
}

/* Linha do topo do card: à esquerda o "Mais escolhido" (só no Pro), à direita
   o selo de desconto do anual. Altura fixa em vez de min-height porque o selo
   "Mais escolhido" mede 29,2px e esticava só o card do Pro, jogando ele 1px
   pra baixo em relação aos outros dois. */
.plan-badge-row {
  display: flex;
  align-items: center;
  height: 30px;
  margin-bottom: 8px;
}

.plan-badge {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-sm);
  padding: 4px 11px;
}

.plan-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.plan-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background: var(--gray-100);
  color: var(--gray-600);
  flex-shrink: 0;
}

.plan-icon.accent {
  background: var(--green-50);
  color: var(--green-600);
}

.plan-icon svg {
  width: 19px;
  height: 19px;
}

.plan-card h3 {
  font-size: 19px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -0.3px;
}

.plan-tagline {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.5;
  margin-bottom: 18px;
  min-height: 42px;
}

/* altura fixa: o "Sob consulta" é menor que os preços, e sem isso
   o botão do Enterprise subia uns 9px em relação aos outros */
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  min-height: 42px;
}

/* troca de período: número novo entra subindo, pra não piscar seco
   enquanto a pílula verde ainda está deslizando */
@keyframes preco-troca {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.plan-price-value.trocando,
.plan-price-period.trocando,
.plan-installments.trocando {
  animation: preco-troca 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.plan-price-value {
  font-size: 38px;
  font-weight: 800;
  color: var(--gray-900);
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.plan-price-value.is-custom {
  font-size: 30px;
  letter-spacing: -1px;
}

.plan-price-period {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-500);
}

/* Selo de promoção do anual: mora na linha do topo do card, encostado à
   direita (no Pro divide a linha com o "Mais escolhido"). Como essa linha já
   tem altura fixa, ligar/desligar o selo não mexe em nada do resto do card. */
.plan-promo-tag {
  display: none;
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: var(--radius-sm);
  padding: 3px 8px;
  box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.pricing-grid.is-anual .plan-promo-tag {
  display: inline-block;
  animation: preco-troca 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.plan-installments {
  font-size: 13px;
  color: var(--gray-400);
  margin: 7px 0 20px;
  min-height: 20px;
}

.plan-cta.btn {
  width: 100%;
  font-size: 15px;
  padding: 13px 20px;
  margin-bottom: 22px;
}

.plan-features {
  list-style: none;
  border-top: 1px solid var(--gray-200);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14.5px;
  color: var(--gray-700);
}

.plan-card.is-featured .plan-features {
  border-top-color: var(--green-100);
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.plan-features-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--gray-500);
  margin-bottom: 2px;
}

.plan-features li.is-off {
  color: var(--gray-400);
}

.pf-ic {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
}

.pf-ic svg {
  width: 11px;
  height: 11px;
}

.pf-ic.ok {
  background: var(--green-50);
  color: var(--green-600);
}

.pf-ic.ai {
  background: var(--green-50);
  color: var(--green-600);
}

.pf-ic.ai svg {
  width: 14px;
  height: 14px;
}

.pf-ic.no {
  color: var(--gray-400);
}

.pf-ic.no svg {
  width: 12px;
  height: 12px;
}

/* Aparece só no semestral: mostra em quanto sai o anual, pra puxar de volta */
.pricing-callout {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.pricing-callout[hidden] {
  display: none;
}

.pricing-callout span {
  animation: preco-troca 320ms cubic-bezier(0.22, 1, 0.36, 1);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-full);
  padding: 9px 18px;
  text-align: center;
  line-height: 1.5;
}

.pricing-addons {
  margin-top: 48px;
}

.addons-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 14px;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.addon-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  transition: all var(--transition-base);
}

.addon-card:hover {
  border-color: var(--green-200);
  box-shadow: var(--shadow-md);
}

.addon-head {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 5px;
}

.addon-head strong {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gray-900);
}

.addon-icon {
  display: flex;
  color: var(--green-600);
}

.addon-icon svg {
  width: 18px;
  height: 18px;
}

.addon-card p {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.55;
}

/* link dentro da resposta do FAQ (leva pra tabela de planos) */
.faq-inline-link {
  color: var(--green-600);
  font-weight: 600;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition-fast);
}

.faq-inline-link:hover {
  border-bottom-color: var(--green-600);
}

.pricing-legal {
  max-width: 760px;
  margin: 30px auto 0;
  text-align: center;
  font-size: 12.5px;
  color: var(--gray-400);
  line-height: 1.65;
}

@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .plan-tagline {
    min-height: 0;
  }

  /* empilhado não existe mais linha pra alinhar: a faixa vazia do selo some */
  .plan-badge-row:empty {
    display: none;
  }

  .addons-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pricing-toggle-thumb {
    transition: none;
  }

  .pricing-toggle.has-thumb .pricing-toggle-btn.is-active {
    transition: none;
  }

  .plan-price-value.trocando,
  .plan-price-period.trocando,
  .plan-installments.trocando,
  .pricing-callout span {
    animation: none;
  }
}

@media (max-width: 760px) {
  .pricing-toggle-wrap {
    display: block;
    width: 100%;
  }

  .pricing-toggle {
    display: flex;
    width: 100%;
    max-width: 380px;
    /* virou bloco: sem isso o text-align do pai não centraliza mais */
    margin: 0 auto;
  }

  .pricing-toggle-btn {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
  }

  .pricing-hint,
  .pricing-legal {
    font-size: 12.5px;
  }

  .plan-card {
    padding: 22px 20px 26px;
  }

  .plan-price-value {
    font-size: 34px;
  }

  .pricing-callout span {
    font-size: 12.5px;
    padding: 10px 16px;
  }
}
