/* ============================================================
   VENDA+ AI | Landing Page
   Identidade visual Venda Mais: preto, branco e verde
   ============================================================ */

:root {
  --bg: #060806;
  --bg-soft: #0A0D0A;
  --surface: #101510;
  --surface-2: #151B15;
  --text: #F4F7F4;
  --text-2: #9DA89E;
  --green: #33E048;
  --green-strong: #24C438;
  --green-soft: rgba(51, 224, 72, 0.1);
  --green-deep: #0B2412;
  --border: rgba(255, 255, 255, 0.09);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 44px rgba(0, 0, 0, 0.5);
  --shadow-green: 0 10px 32px rgba(51, 224, 72, 0.22);
  --radius: 16px;
  --radius-lg: 24px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Poppins', 'Inter', sans-serif;
  --header-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%; /* iOS não infla o texto em paisagem */
  text-size-adjust: 100%;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

a, button, summary { touch-action: manipulation; }

/* Foco visível para navegação por teclado */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 8px;
}

/* Skip link: invisível até receber foco */
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  background: var(--green);
  color: #041007;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 18px;
  border-radius: 10px;
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(1140px, 100% - 48px);
  margin-inline: auto;
}
.container-narrow { width: min(780px, 100% - 48px); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.18rem; }

.grad-text {
  background: linear-gradient(100deg, var(--green) 25%, #8CF29A 70%, #C8FFD0 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 14px;
}

.section { padding: 96px 0; }

.section-head {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p { color: var(--text-2); margin-top: 16px; font-size: 1.06rem; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 11px 22px;
  min-height: 44px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--green);
  color: #041007;
  box-shadow: 0 4px 16px rgba(51, 224, 72, 0.25);
}
.btn-primary:hover {
  background: #4BEB5E;
  transform: translateY(-2px);
  box-shadow: var(--shadow-green);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  border-color: rgba(51, 224, 72, 0.5);
  color: var(--green);
  transform: translateY(-2px);
}

.btn-dark {
  background: #060806;
  color: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 38px rgba(0, 0, 0, 0.45); }

.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: 14px; }
.btn-xl { padding: 17px 36px; font-size: 1.1rem; border-radius: 16px; }

/* ============ Logo ============ */
.logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px; /* área de toque mínima */
}

.logo-stack {
  display: flex;
  flex-direction: column;
  font-family: var(--font-brand);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.logo-line1 {
  display: inline-flex;
  align-items: flex-start;
  gap: 2px;
  color: #fff;
  font-size: 1.05rem;
}
.logo-plus {
  width: 0.44em;
  height: 0.44em;
  color: var(--green);
  margin-top: -0.02em;
}
.logo-line2 { color: var(--green); font-size: 1.05rem; }

.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #0B120C;
  border: 1px solid rgba(51, 224, 72, 0.35);
  color: var(--green);
  flex-shrink: 0;
}
.logo-mark svg { width: 15px; height: 15px; }
.logo-mark-sm { width: 26px; height: 26px; border-radius: 8px; }
.logo-mark-sm svg { width: 12px; height: 12px; }

/* ============ Header ============ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(6, 8, 6, 0.8);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px; /* tablets usam este menu e são touch */
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-2);
  transition: color 0.2s ease;
}
.nav > a:hover { color: var(--text); }
.nav-mobile-actions { display: none; }

.header-actions { display: flex; align-items: center; gap: 8px; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 11px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  padding: 84px 0 40px;
  overflow: hidden;
}

/* Grade de fundo mascarada (some radialmente a partir do topo) */
.hero-grid {
  position: absolute;
  inset: 0;
  height: 600px;
  opacity: 0.6;
  background-image:
    linear-gradient(to right, rgba(51, 224, 72, 0.08) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(51, 224, 72, 0.08) 1px, transparent 1px);
  background-size: 6rem 5rem;
  -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
  mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, #000 70%, transparent 110%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  text-align: center;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(2.6rem, 6.2vw, 5.2rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  padding: 20px 0 4px;
  background: linear-gradient(to bottom right, #FFFFFF 30%, rgba(255, 255, 255, 0.4));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-wrap: balance;
}

.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--text-2);
  max-width: 640px;
  margin: 22px auto 0;
}

.hero-ctas {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* ============ Hero visual ============ */
.hero-visual {
  position: relative;
  margin-top: 72px;
  display: flex;
  justify-content: center;
  padding-bottom: 40px;
}

/* Horizonte: arco raso com aro verde fino atrás do mockup */
.hero-horizon {
  position: absolute;
  left: 50%;
  top: 300px;
  transform: translateX(-50%);
  width: max(180%, 1200px);
  height: 1300px;
  border-radius: 100%;
  background: radial-gradient(closest-side, var(--bg) 95.5%, rgba(51, 224, 72, 0.6) 99.3%, transparent 100%);
  box-shadow: 0 -30px 100px rgba(51, 224, 72, 0.1);
  pointer-events: none;
}

.phone-mockup {
  position: relative;
  width: min(380px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  box-shadow: var(--shadow-md), 0 30px 90px rgba(51, 224, 72, 0.1);
  overflow: hidden;
  z-index: 2;
}

.phone-topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #0B0F0B;
  border-bottom: 1px solid var(--border);
  color: #fff;
}
.phone-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(51, 224, 72, 0.12);
  border: 1px solid rgba(51, 224, 72, 0.3);
  color: var(--green);
  flex-shrink: 0;
}
.phone-avatar svg { width: 14px; height: 14px; }
.phone-topbar-info { display: flex; flex-direction: column; line-height: 1.3; }
.phone-topbar-info strong { font-size: 0.92rem; display: flex; align-items: center; gap: 8px; }
.ai-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green);
  background: rgba(51, 224, 72, 0.12);
  border: 1px solid rgba(51, 224, 72, 0.3);
  padding: 2px 8px;
  border-radius: 999px;
  animation: pulse-soft 2.4s ease-in-out infinite;
}
@keyframes pulse-soft {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.phone-status { font-size: 0.75rem; color: var(--text-2); display: flex; align-items: center; gap: 6px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.phone-chat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 16px;
  min-height: 280px;
  background: var(--bg-soft);
}

.chat-msg {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.45;
}
.chat-in {
  align-self: flex-start;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-left-radius: 6px;
  color: var(--text);
}
.chat-out {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--green), #57EA68);
  color: #04150A;
  font-weight: 500;
  border-bottom-right-radius: 6px;
}

/* mensagens animadas do hero (JS adiciona .visible) */
#chat-mockup [data-step] { opacity: 0; transform: translateY(10px); transition: opacity 0.45s ease, transform 0.45s ease; }
#chat-mockup [data-step].visible { opacity: 1; transform: translateY(0); }
#chat-mockup .chat-typing.visible { display: inline-flex; }

.chat-typing {
  align-self: flex-end;
  display: inline-flex;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 16px;
  border-bottom-right-radius: 6px;
  background: linear-gradient(135deg, var(--green), #57EA68);
}
.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(4, 21, 10, 0.7);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-5px); }
}

.phone-inputbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: #0B0F0B;
  color: var(--text-2);
  font-size: 0.85rem;
}
.phone-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--green);
  color: #04150A;
  flex-shrink: 0;
}
.phone-send svg { width: 15px; height: 15px; }

/* Cards flutuantes */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16, 21, 16, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 16px;
  box-shadow: var(--shadow-md);
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
.float-card strong { display: block; font-size: 0.85rem; line-height: 1.2; color: var(--text); }
.float-card small { font-size: 0.72rem; color: var(--text-2); }
.fc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  flex-shrink: 0;
}
.fc-icon svg { width: 15px; height: 15px; }
.fc-solid { background: var(--green); color: #04150A; }
.fc-soft { background: var(--green-soft); color: var(--green); border: 1px solid rgba(51, 224, 72, 0.25); }

.fc-1 { top: 6%; right: 12%; animation-delay: 0s; }
.fc-2 { top: 30%; left: 7%; animation-delay: 0.8s; }
.fc-3 { top: 62%; right: 6%; animation-delay: 1.6s; }
.fc-4 { top: 78%; left: 12%; animation-delay: 2.4s; }
.fc-5 { top: 8%; left: 14%; animation-delay: 3.2s; }

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

/* ============ Cards genéricos ============ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(51, 224, 72, 0.25);
}

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

/* ============ Problema ============ */
.problema { background: var(--bg-soft); }

.problema-card h3 { margin-bottom: 10px; }
.problema-card p { color: var(--text-2); font-size: 0.94rem; }

.mini-ui {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 22px;
  min-height: 128px;
  justify-content: center;
}
.mini-chat-bubble {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  border-bottom-left-radius: 4px;
  padding: 9px 13px;
  font-size: 0.84rem;
  max-width: 90%;
}
.mini-status {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
  align-self: flex-start;
}
.mini-status-red { background: rgba(255, 92, 92, 0.12); color: #FF8080; }
.mini-status-amber { background: rgba(255, 189, 79, 0.12); color: #FFC66B; }

.mini-crm-row {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 13px;
}
.mini-crm-row strong { font-size: 0.84rem; display: block; line-height: 1.25; }
.mini-crm-row small { font-size: 0.72rem; color: var(--text-2); }
.mini-faded { opacity: 0.55; }
.mini-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.mini-notification {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 13px;
}
.mini-notification strong { font-size: 0.84rem; display: block; line-height: 1.25; }
.mini-notification small { font-size: 0.72rem; color: var(--text-2); }
.mini-bell { color: var(--green); flex-shrink: 0; }
.mini-bell svg { width: 18px; height: 18px; }

/* ============ Promessa ============ */
.promessa {
  background: linear-gradient(180deg, #0A150C, var(--bg-soft));
  border-top: 1px solid rgba(51, 224, 72, 0.08);
  border-bottom: 1px solid rgba(51, 224, 72, 0.08);
}

.promessa-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 44px;
  align-items: center;
}
.promessa-text h2 { margin-bottom: 18px; }
.promessa-text p { color: var(--text-2); font-size: 1.06rem; max-width: 34rem; }
.promessa-text .btn { margin-top: 30px; }

/* Acordeão da jornada: os painéis abrem no hover, no toque e no foco.
   As larguras são proporcionais (flex) e não fixas em pixels, porque o
   componente divide espaço com a coluna de texto e precisa caber. */
.acc {
  display: flex;
  flex-direction: row;
  gap: 12px;
  height: 430px;
}

.acc-item {
  position: relative;
  flex: 1 1 0;
  min-width: 54px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: none;
  font-family: var(--font);
  color: var(--text);
  cursor: pointer;
  text-align: left;
  padding: 0;
  transition: flex-grow 0.7s cubic-bezier(0.22, 1, 0.36, 1), flex-basis 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.5s ease, box-shadow 0.5s ease;
}
.acc-item[aria-expanded="true"] {
  flex-grow: 4.6;
  border-color: rgba(51, 224, 72, 0.4);
  box-shadow: 0 26px 70px -22px rgba(0, 0, 0, 0.85), 0 0 46px -18px rgba(51, 224, 72, 0.45);
}

/* Fundo de cada painel: sem imagem externa, a página inteira é autocontida */
.acc-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(51, 224, 72, 0.16), transparent 62%),
    linear-gradient(180deg, #16211A 0%, #0B120D 70%, #070B08 100%);
  transition: opacity 0.6s ease, transform 0.7s ease;
}
/* A grade não usa mask-image de propósito: sob rasterização por software
   (aparelho fraco, webview sem GPU) a máscara aqui quebrava a composição e
   escurecia a tela inteira. O esmaecimento da base já vem do ::before. */
.acc-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(51, 224, 72, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 224, 72, 0.07) 1px, transparent 1px);
  background-size: 26px 26px;
  opacity: 0.5;
}
.acc-item[aria-expanded="true"] .acc-bg {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(51, 224, 72, 0.28), transparent 66%),
    linear-gradient(180deg, #1B2A1E 0%, #0D160F 72%, #070B08 100%);
}
/* Escurece a base para o texto ficar legível sobre o gradiente */
.acc-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(4, 8, 5, 0.88) 100%);
}

.acc-num {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(157, 168, 158, 0.75);
  transition: color 0.4s ease, left 0.5s ease, transform 0.5s ease;
}
.acc-item[aria-expanded="true"] .acc-num { left: 24px; transform: none; color: var(--green); }

.acc-icon {
  position: absolute;
  z-index: 2;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  color: rgba(51, 224, 72, 0.72);
  transition: color 0.4s ease, left 0.5s ease, top 0.5s ease, transform 0.5s ease;
}
.acc-icon svg { width: 24px; height: 24px; transition: width 0.5s ease, height 0.5s ease; }
.acc-item[aria-expanded="true"] .acc-icon { left: 24px; top: 56px; transform: none; color: var(--green); }
.acc-item[aria-expanded="true"] .acc-icon svg { width: 34px; height: 34px; }

/* Título e descrição num bloco ancorado embaixo: assim a descrição pode
   ocupar quantas linhas precisar sem passar por cima do título. */
.acc-body {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  transition: left 0.5s ease, right 0.5s ease, bottom 0.5s ease;
}
.acc-item[aria-expanded="false"] .acc-body {
  left: 0;
  right: 0;
  bottom: 96px;
  align-items: center;
}

/* O rótulo gira 90 graus quando o painel está fechado, como no componente */
.acc-title {
  white-space: nowrap;
  font-size: 1.06rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: transform 0.5s ease;
}
.acc-item[aria-expanded="false"] .acc-title { transform: rotate(90deg); }

.acc-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: rgba(244, 247, 244, 0.78);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease 0.12s, transform 0.45s ease 0.12s;
}
.acc-item[aria-expanded="false"] .acc-desc { display: none; }
.acc-item[aria-expanded="true"] .acc-desc { opacity: 1; transform: none; }

/* O painel da IA mantém o brilho verde que o fluxo antigo tinha */
.acc-ai[aria-expanded="true"] .acc-bg {
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(51, 224, 72, 0.42), transparent 68%),
    linear-gradient(180deg, #21371F 0%, #0F1A11 72%, #070B08 100%);
}

@media (min-width: 981px) {
  .promessa-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
}

/* Abaixo de 640px o acordeão vira vertical: cinco colunas de 54px num
   celular deixariam o rótulo girado ilegível e a área de toque estreita. */
@media (max-width: 640px) {
  .acc { flex-direction: column; height: auto; gap: 10px; }
  .acc-item { flex: 0 0 68px; width: 100%; min-width: 0; }
  .acc-item[aria-expanded="true"] { flex-basis: 178px; flex-grow: 0; }

  .acc-item::after { background: linear-gradient(180deg, transparent 30%, rgba(4, 8, 5, 0.7) 100%); }

  .acc-icon,
  .acc-item[aria-expanded="true"] .acc-icon { top: 21px; left: 22px; transform: none; }
  .acc-icon svg,
  .acc-item[aria-expanded="true"] .acc-icon svg { width: 24px; height: 24px; }

  /* Na vertical o rótulo não gira: cabe deitado ao lado do ícone */
  .acc-body,
  .acc-item[aria-expanded="false"] .acc-body {
    top: 21px;
    bottom: auto;
    left: 60px;
    right: 22px;
    align-items: flex-start;
    gap: 12px;
  }
  .acc-title { font-size: 1rem; }
  .acc-item[aria-expanded="false"] .acc-title { transform: none; }

  .acc-num,
  .acc-item[aria-expanded="true"] .acc-num { top: 25px; left: auto; right: 22px; transform: none; }

  .acc-desc { font-size: 0.9rem; padding-right: 30px; }
}

/* ============ Agentes ============ */
.agentes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.agente-card { display: flex; flex-direction: column; }
.agente-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--green-soft);
  border: 1px solid rgba(51, 224, 72, 0.2);
  color: var(--green);
  margin-bottom: 20px;
}
.agente-icon svg { width: 26px; height: 26px; }
.agente-card h3 { margin-bottom: 10px; }
.agente-card > p { color: var(--text-2); font-size: 0.94rem; margin-bottom: 20px; }

.agente-mini-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}
.agente-mini-chat .chat-msg { font-size: 0.82rem; max-width: 92%; }

.mini-campaign {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}
.mini-campaign strong { font-size: 0.85rem; display: block; }
.mini-campaign small { font-size: 0.73rem; color: var(--text-2); display: block; margin: 3px 0 10px; }
.mini-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(51, 224, 72, 0.15);
  overflow: hidden;
}
.mini-progress span {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green-strong), var(--green));
}

.check-list { margin-top: auto; display: grid; gap: 8px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9rem;
  color: var(--text);
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

/* ============ Comparação chatbot ============ */
.chatbot-compare { background: var(--bg-soft); }
.compare-sub { font-size: 1.3rem !important; font-weight: 600; color: var(--green) !important; }

.compare-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: stretch;
  max-width: 900px;
  margin: 0 auto;
}

.compare-col {
  border-radius: var(--radius-lg);
  padding: 34px;
}
.compare-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.compare-col ul { display: grid; gap: 14px; }
.compare-col li { display: flex; align-items: center; gap: 12px; font-size: 0.95rem; }

.compare-old {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
}
.compare-old h3 { color: var(--text-2); }

.compare-new {
  background: linear-gradient(160deg, #0D2A15, var(--green-deep));
  border: 1px solid rgba(51, 224, 72, 0.35);
  color: #fff;
  box-shadow: 0 20px 60px rgba(51, 224, 72, 0.12);
}
.compare-new h3 { color: #fff; }

.x-mark, .v-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
}
.x-mark { background: rgba(255, 255, 255, 0.06); color: #6E786F; }
.v-mark { background: rgba(51, 224, 72, 0.18); color: var(--green); }

.compare-vs {
  align-self: center;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(51, 224, 72, 0.25);
  padding: 10px 14px;
  border-radius: 999px;
}

/* ============ Como funciona: baralho que monta com a rolagem ============
   Sem JS, ou com movimento reduzido, os cartões ficam empilhados na
   vertical. O script adiciona .is-stack e só então a seção fica alta e o
   trilho passa a deslizar. */
.ps-inner {
  width: min(1140px, 100% - 48px);
  margin-inline: auto;
}

.ps-track {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ps-card {
  display: flex;
  min-width: 100%;
  border: 1px solid rgba(51, 224, 72, 0.16);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(21, 27, 21, 0.94) 40%, rgba(51, 224, 72, 0.16) 125%),
    var(--bg-soft);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.ps-card-num {
  display: flex;
  align-items: flex-start;
  padding: 26px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.ps-card-num span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--green-soft);
  border: 1px solid rgba(51, 224, 72, 0.28);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 800;
}

.ps-card-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 28px;
}
.ps-card-body h3 { font-size: clamp(1.5rem, 3vw, 2.05rem); line-height: 1.15; }
.ps-card-body p { color: var(--text-2); font-size: 1rem; max-width: 46ch; }

/* Modo baralho: ligado pelo script */
.ps.is-stack { height: 300vh; }
/* O sticky só percorre a altura do PAI DIRETO. Sem esta linha o .ps-inner
   media a altura do conteúdo e o cartão descolava logo no começo. */
.ps.is-stack .ps-inner { height: 100%; }
.ps.is-stack .ps-sticky {
  position: sticky;
  top: calc(var(--header-h) + 22px);
  width: 100%;
  overflow: hidden;
  /* A área fixa ocupa a tela e o baralho fica centrado nela: sem isso o
     cartão cola no topo e sobra um buraco preto embaixo. dvh cobre a
     barra de endereço do celular, que entra e sai. */
  height: calc(100vh - var(--header-h) - 44px);
  height: calc(100dvh - var(--header-h) - 44px);
  /* coluna, e não linha: em linha o trilho encolhe para caber no conteúdo
     e as larguras percentuais dos cartões passam a medir a coisa errada */
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.ps.is-stack .ps-track { flex-wrap: nowrap; gap: 0; align-items: stretch; }
.ps.is-stack .ps-card {
  min-width: 70%;
  max-width: 70%;
  min-height: clamp(260px, 46vh, 480px);
  will-change: transform;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.9);
}
/* Com o cartão alto, texto e número centrados na vertical: encostados no
   topo sobrava um vazio grande dentro do próprio cartão. */
.ps.is-stack .ps-card-body { padding: 34px 32px; justify-content: center; }
.ps.is-stack .ps-card-num { align-items: center; }

/* No celular o baralho continua, com cartão quase inteiro e sobreposição
   menor. Um cartão de 70% em tela de 390px não caberia o texto. */
@media (max-width: 860px) {
  .ps.is-stack { height: 220vh; }
  .ps.is-stack .ps-card { min-width: 88%; max-width: 88%; min-height: clamp(240px, 44vh, 460px); }
  .ps.is-stack .ps-card-body { padding: 22px 20px; }
  .ps-card-num { padding: 22px 16px; }
  .ps-card-num span { width: 36px; height: 36px; font-size: 0.8rem; }
  .ps-card-body { padding: 22px 20px; gap: 14px; }
  .ps-card-body p { font-size: 0.94rem; }
}

/* Cartão estreito: o número sai da lateral e vai para cima, senão sobram
   pouco mais de 170px de largura para o texto. */
@media (max-width: 480px) {
  .ps-card { flex-direction: column; }
  .ps-card-num { border-right: 0; padding: 20px 20px 0; }
  .ps-card-body { padding: 14px 20px 24px; }
}

/* Tela baixa demais para segurar o cartão fixo: volta para a pilha simples */
@media (max-height: 520px) {
  .ps.is-stack { height: auto; }
  .ps.is-stack .ps-sticky { position: static; overflow: visible; }
  .ps.is-stack .ps-track { flex-wrap: wrap; gap: 16px; }
  .ps.is-stack .ps-card { min-width: 100%; max-width: 100%; transform: none !important; }
}

/* ============ Plataforma / Ecossistema ============ */
.plataforma { background: var(--bg-soft); }

.ecosystem {
  position: relative;
  max-width: 800px;
  height: 460px;
  margin: 0 auto;
}
.ecosystem-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.ecosystem-lines line {
  stroke: rgba(51, 224, 72, 0.28);
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
  animation: dash-flow 30s linear infinite;
}
@keyframes dash-flow { to { stroke-dashoffset: -330; } }

.eco-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid rgba(51, 224, 72, 0.4);
  border-radius: 18px;
  padding: 16px 24px;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: 0 16px 48px rgba(51, 224, 72, 0.18);
  animation: pulse-glow 3s ease-in-out infinite;
  z-index: 2;
}

.eco-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 9px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  animation: float 6s ease-in-out infinite;
}
.eco-node svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.eco-n1 { top: 17%; left: 16%; animation-delay: 0s; }
.eco-n2 { top: 13%; left: 50%; animation-delay: 0.7s; }
.eco-n3 { top: 17%; left: 84%; animation-delay: 1.4s; }
.eco-n4 { top: 50%; left: 11%; animation-delay: 2.1s; }
.eco-n5 { top: 50%; left: 89%; animation-delay: 2.8s; }
.eco-n6 { top: 84%; left: 16%; animation-delay: 3.5s; }
.eco-n7 { top: 88%; left: 50%; animation-delay: 4.2s; }
.eco-n8 { top: 84%; left: 84%; animation-delay: 4.9s; }

/* ============ Benefícios: carrossel circular ============ */
.carousel {
  /* Raios da elipse (sem unidade: lidos pelo JS) e medidas do card */
  --rx: 292;
  --ry: 118;
  --card-w: 208px;
  --card-h: 144px;
  --stage-h: 386px;

  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  outline: none;
}

@media (min-width: 1100px) {
  .carousel {
    --rx: 418;
    --ry: 136;
    --card-w: 234px;
    --card-h: 152px;
    --stage-h: 430px;
  }
}
.carousel:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 12px;
  border-radius: var(--radius-lg);
}

/* Faixa deslizável: estado padrão, também é o fallback sem JS */
.carousel-stage {
  display: flex;
  gap: 14px;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 14px;
  scrollbar-width: none;
}
.carousel-stage::-webkit-scrollbar { display: none; }

.ben-card {
  flex: 0 0 auto;
  width: min(300px, 78vw);
  /* Ícone e tag na mesma linha, texto abaixo: mantém o card baixo, o que
     importa no anel (a altura do card define o raio vertical mínimo). */
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  gap: 12px;
  scroll-snap-align: center;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  font-family: var(--font);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.4);
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}
.ben-card:hover { border-color: rgba(51, 224, 72, 0.3); }

.ben-tag {
  order: 2;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--green);
  background: var(--green-soft);
  border: 1px solid rgba(51, 224, 72, 0.22);
  padding: 4px 10px;
  border-radius: 999px;
}
.ben-icon {
  order: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green-soft);
  border: 1px solid rgba(51, 224, 72, 0.18);
  color: var(--green);
  flex-shrink: 0;
}
.ben-icon svg { width: 20px; height: 20px; }
.ben-body { order: 3; flex: 0 0 100%; }
.ben-body strong {
  display: block;
  font-size: 1rem;
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  color: var(--text);
}
.ben-body span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--text-2);
}

/* Contador central: só aparece no modo anel */
.carousel-count {
  display: none;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  height: var(--stage-h, 420px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}
.carousel-count strong {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(180deg, var(--text), rgba(244, 247, 244, 0.35));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.carousel-count small {
  margin-top: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
}

/* Modo anel (aplicado pelo JS em telas largas) */
.carousel.is-ring .carousel-stage {
  display: block;
  position: relative;
  height: var(--stage-h, 420px);
  overflow: visible;
  padding: 0;
  scroll-snap-type: none;
}
.carousel.is-ring .carousel-count { display: flex; }
.carousel.is-ring .ben-card {
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--card-w, 240px);
  min-height: var(--card-h, 152px);
  margin: 0;
  transform-origin: center center;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.35s ease, box-shadow 0.35s ease;
  will-change: transform, opacity;
}
.carousel.is-ring .ben-card[aria-selected="true"] {
  border-color: rgba(51, 224, 72, 0.45);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.7), 0 0 40px -14px rgba(51, 224, 72, 0.5);
}
.carousel.is-ring .ben-body span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Controles */
.carousel-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.carousel-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(244, 247, 244, 0.05);
  border: 1px solid var(--border);
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.carousel-arrow svg { width: 20px; height: 20px; }
.carousel-arrow:hover {
  background: var(--green-soft);
  border-color: rgba(51, 224, 72, 0.4);
  color: var(--green);
  transform: scale(1.08);
}
.carousel-arrow:active { transform: scale(0.95); }

.carousel-dots { display: flex; align-items: center; gap: 4px; }
.carousel-dots button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 44px; /* área de toque; a barra visual é o ::before */
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.carousel-dots button::before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(244, 247, 244, 0.22);
  transition: width 0.3s ease, background 0.3s ease;
}
.carousel-dots button:hover::before { background: rgba(244, 247, 244, 0.45); }
.carousel-dots button[aria-selected="true"]::before {
  width: 22px;
  background: var(--green);
}

/* ============ Para quem é ============ */
.para-quem { background: var(--bg-soft); }
.perfil-card { text-align: center; }
.perfil-illust {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: var(--green-soft);
  border: 1px solid rgba(51, 224, 72, 0.18);
  color: var(--green);
  margin: 0 auto 20px;
}
.perfil-illust svg { width: 40px; height: 40px; }
.perfil-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.perfil-card p { font-size: 0.88rem; color: var(--text-2); }

/* ============ Prova / Resultados ============ */
.prova-panel {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  background: linear-gradient(160deg, #0D2A15, var(--green-deep));
  border: 1px solid rgba(51, 224, 72, 0.25);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.4);
}

.prova-depoimento {
  padding: 48px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.prova-depoimento > p {
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.prova-autor { display: flex; align-items: center; gap: 14px; }
.prova-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(51, 224, 72, 0.15);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--green);
  flex-shrink: 0;
}
.prova-autor strong { display: block; font-size: 0.95rem; }
.prova-autor small { font-size: 0.8rem; opacity: 0.7; }

.prova-metricas {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 48px;
  background: var(--green);
}
.metrica { display: flex; flex-direction: column; gap: 2px; }
.metrica-num {
  font-size: 2rem;
  font-weight: 800;
  color: #04150A;
  letter-spacing: -0.03em;
}
.metrica-label { font-size: 0.88rem; color: rgba(4, 21, 10, 0.75); font-weight: 600; }

/* ============ Diferencial ============ */
.diferencial {
  background: #050705;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(51, 224, 72, 0.1);
}
.diferencial::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(51, 224, 72, 0.16), transparent 65%);
  pointer-events: none;
}
.diferencial .section-head h2 { color: #fff; }
.diferencial .section-head p { color: var(--text-2); }

.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  position: relative;
}
.pipeline-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 22px;
  font-size: 0.92rem;
  font-weight: 600;
  animation: pipeline-pulse 3.6s ease-in-out infinite;
}
.pipeline-step:nth-child(3) { animation-delay: 0.6s; }
.pipeline-step:nth-child(5) { animation-delay: 1.2s; }
.pipeline-step:nth-child(7) { animation-delay: 1.8s; }
.pipeline-step:nth-child(9) { animation-delay: 2.4s; }
.pipeline-step:nth-child(11) { animation-delay: 3s; }
@keyframes pipeline-pulse {
  0%, 100% { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); color: #fff; }
  50% { background: rgba(51, 224, 72, 0.2); border-color: rgba(51, 224, 72, 0.55); color: #C8FFD0; }
}
.pipeline-arrow { color: rgba(255, 255, 255, 0.35); font-weight: 700; }

.diferencial-cta { text-align: center; margin-top: 48px; position: relative; }

/* ============ FAQ ============ */
.faq { position: relative; overflow: hidden; }

.faq-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 90% at 8% 0%, rgba(51, 224, 72, 0.1), transparent 62%),
    linear-gradient(130deg, rgba(255, 255, 255, 0.035) 0%, transparent 60%);
}
.faq-inner { position: relative; z-index: 1; }

/* Selo animado: feixe cônico girando, anel pulsando e medidor */
.faq-intro {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  width: min(23rem, 100%);
  margin: 0 auto 44px;
  padding: 13px 22px;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(51, 224, 72, 0.18);
  background: rgba(10, 13, 10, 0.6);
  color: #C8FFD0;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
}
.faq-intro-beam,
.faq-intro-pulse {
  position: absolute;
  inset: -110%;
  border-radius: 50%;
  pointer-events: none;
}
.faq-intro-beam {
  background: conic-gradient(from 160deg, rgba(51, 224, 72, 0.32), transparent 32%, rgba(51, 224, 72, 0.22) 58%, transparent 78%, rgba(51, 224, 72, 0.16));
  animation: faq-beam-spin 18s linear infinite;
  opacity: 0.6;
}
.faq-intro-pulse {
  border: 1px solid currentColor;
  opacity: 0.2;
  animation: faq-pulse 3.4s ease-out infinite;
}
.faq-intro-label {
  position: relative;
  z-index: 1;
  font-weight: 600;
  letter-spacing: 0.32em;
}
.faq-intro-meter {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor 35%, transparent 85%);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0.7;
  animation: faq-meter 5.8s ease-in-out infinite;
}
.faq-intro-tick {
  position: relative;
  z-index: 1;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(51, 224, 72, 0.12);
  animation: faq-tick 3.2s ease-in-out infinite;
}

@keyframes faq-beam-spin { to { transform: rotate(360deg); } }
@keyframes faq-pulse {
  0% { transform: scale(0.7); opacity: 0.5; }
  60% { opacity: 0.08; }
  100% { transform: scale(1.25); opacity: 0; }
}
@keyframes faq-meter {
  0%, 20% { transform: scaleX(0); transform-origin: left; }
  45%, 60% { transform: scaleX(1); transform-origin: left; }
  80%, 100% { transform: scaleX(0); transform-origin: right; }
}
@keyframes faq-tick {
  0%, 30% { transform: translateX(-6px); opacity: 0.4; }
  50% { transform: translateX(2px); opacity: 1; }
  100% { transform: translateX(20px); opacity: 0; }
}
@keyframes faq-ping {
  0% { transform: scale(1); opacity: 0.5; }
  80%, 100% { transform: scale(1.5); opacity: 0; }
}

/* Cabeçalho: texto à esquerda, atalho de contato no lugar do toggle de tema */
.faq-head {
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-bottom: 40px;
}
.faq-head-text { max-width: 34rem; }
.faq-head-text .eyebrow { margin-bottom: 10px; }
.faq-lede { color: var(--text-2); margin-top: 14px; font-size: 1rem; }

.faq-head-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 12px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.faq-head-cta:hover { border-color: rgba(51, 224, 72, 0.45); background: var(--green-soft); color: var(--green); }
.faq-head-dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
}
.faq-head-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid rgba(51, 224, 72, 0.5);
  animation: faq-ping 2.4s ease-out infinite;
}

.faq-list { display: grid; gap: 12px; }

.faq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(21, 27, 21, 0.5);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 36px 120px -60px rgba(0, 0, 0, 0.95);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.faq-item:hover, .faq-item:focus-within { transform: translateY(-2px); }
.faq-item[open] { border-color: rgba(51, 224, 72, 0.38); }

/* Brilho que acompanha o cursor: --faq-x / --faq-y vêm do script */
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
  background: radial-gradient(240px circle at var(--faq-x, 50%) var(--faq-y, 50%), rgba(51, 224, 72, 0.1), transparent 70%);
}
.faq-item:hover::before,
.faq-item[open]::before { opacity: 1; }

.faq-item summary {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(51, 224, 72, 0.22);
  background: var(--green-soft);
  color: var(--green);
  transition: transform 0.4s ease, border-color 0.3s ease;
}
.faq-item:hover .faq-icon { transform: scale(1.06); }
.faq-item[open] .faq-icon { border-color: rgba(51, 224, 72, 0.5); }
.faq-icon svg { width: 20px; height: 20px; transition: transform 0.45s cubic-bezier(0.22, 0.68, 0, 1); }
.faq-item[open] .faq-icon svg { transform: rotate(45deg); }
.faq-icon-ring {
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid rgba(51, 224, 72, 0.35);
  opacity: 0;
}
.faq-item[open] .faq-icon-ring { animation: faq-ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite; }

.faq-q {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding-top: 3px;
}
.faq-question {
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  transition: color 0.25s ease;
}
.faq-item summary:hover .faq-question { color: var(--green); }

.faq-meta {
  align-self: flex-start;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-2);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.faq-item[open] .faq-meta { color: var(--green); border-color: rgba(51, 224, 72, 0.3); }

.faq-panel {
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.22, 0.68, 0, 1);
}
.faq-panel p {
  padding: 0 26px 24px 90px;
  color: var(--text-2);
  font-size: 0.94rem;
  line-height: 1.7;
}

@media (min-width: 641px) {
  .faq-q { flex-direction: row; align-items: center; gap: 16px; padding-top: 0; }
  .faq-meta { margin-left: auto; align-self: center; }
}

@media (min-width: 861px) {
  .faq-head { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 32px; }
  .faq-head-cta { align-self: auto; }
  .faq-item summary { min-height: 78px; align-items: center; }
}

/* ============ CTA Final ============ */
.cta-final {
  background:
    radial-gradient(ellipse at 20% 10%, rgba(255, 255, 255, 0.16), transparent 50%),
    linear-gradient(130deg, var(--green-strong) 10%, var(--green) 55%, #6FF080 100%);
  color: #04150A;
  text-align: center;
  padding: 110px 0;
}
.cta-final h2 { max-width: 680px; margin: 0 auto; }
.cta-final p {
  font-size: 1.12rem;
  color: rgba(4, 21, 10, 0.8);
  max-width: 540px;
  margin: 18px auto 36px;
}
.cta-final small {
  display: block;
  margin-top: 18px;
  font-size: 0.85rem;
  color: rgba(4, 21, 10, 0.7);
}

/* ============ Footer cinemático ============ */
/* A "cortina": o wrapper tem clip-path, então o footer fixo por baixo
   só aparece conforme a página termina de rolar por cima dele. */
.cine-wrap {
  position: relative;
  height: 100vh;
  height: 100dvh;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.cine-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background: #030503;
  color: var(--text);
}

/* Aurora pulsante ao centro */
.cine-aurora {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 80vw;
  height: 60vh;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%,
    rgba(51, 224, 72, 0.13) 0%,
    rgba(51, 224, 72, 0.05) 40%,
    transparent 70%);
  filter: blur(80px);
  animation: cine-breathe 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}
@keyframes cine-breathe {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* Grade de fundo mascarada */
.cine-grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: 60px 60px;
  background-image:
    linear-gradient(to right, rgba(244, 247, 244, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(244, 247, 244, 0.03) 1px, transparent 1px);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 30%, #000 70%, transparent);
  pointer-events: none;
}

/* Texto gigante de fundo (parallax via JS) */
.cine-giant {
  position: absolute;
  bottom: -5vh;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  font-family: var(--font-brand);
  font-size: 26vw;
  line-height: 0.75;
  font-weight: 800;
  letter-spacing: -0.05em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244, 247, 244, 0.07);
  background: linear-gradient(180deg, rgba(244, 247, 244, 0.09) 0%, transparent 60%);
  -webkit-background-clip: text;
  background-clip: text;
  opacity: 0;
  pointer-events: none;
  user-select: none;
  will-change: transform, opacity;
}
.cine-giant span { -webkit-text-stroke-color: rgba(51, 224, 72, 0.3); }

/* Marquee diagonal */
.cine-marquee {
  position: absolute;
  top: 96px;
  left: 0;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid rgba(244, 247, 244, 0.08);
  border-bottom: 1px solid rgba(244, 247, 244, 0.08);
  background: rgba(3, 5, 3, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 15px 0;
  z-index: 1;
  transform: rotate(-2deg) scale(1.1);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.cine-marquee-track {
  display: flex;
  width: max-content;
  animation: cine-marquee 40s linear infinite;
}
.cine-marquee-item {
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 0 22px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-2);
  white-space: nowrap;
}
.cine-marquee-item i { font-style: normal; color: rgba(51, 224, 72, 0.55); }
@keyframes cine-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Conteúdo central */
.cine-center {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  margin-top: 90px;
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
}

.cine-heading {
  font-size: clamp(2.4rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-align: center;
  margin-bottom: 48px;
  background: linear-gradient(180deg, var(--text) 0%, rgba(244, 247, 244, 0.4) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(51, 224, 72, 0.12));
  opacity: 0;
  will-change: transform, opacity;
}

.cine-pills {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  opacity: 0;
  will-change: transform, opacity;
}
.cine-pills-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 100%;
}

/* Pílulas de vidro */
.cine-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(244, 247, 244, 0.05) 0%, rgba(244, 247, 244, 0.015) 100%);
  border: 1px solid rgba(244, 247, 244, 0.1);
  box-shadow:
    0 10px 30px -10px rgba(0, 0, 0, 0.55),
    inset 0 1px 1px rgba(244, 247, 244, 0.08),
    inset 0 -1px 2px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: var(--text-2);
  cursor: pointer;
  transition: background 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}
.cine-pill:hover {
  background: linear-gradient(145deg, rgba(51, 224, 72, 0.1) 0%, rgba(51, 224, 72, 0.03) 100%);
  border-color: rgba(51, 224, 72, 0.35);
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.7),
    inset 0 1px 1px rgba(244, 247, 244, 0.16);
  color: var(--text);
}
.cine-pill svg { width: 22px; height: 22px; flex-shrink: 0; }

.cine-pill-lg {
  padding: 18px 38px;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
}
.cine-pill-lg svg { color: var(--green); }

.cine-pill-sm {
  padding: 12px 22px;
  min-height: 44px;
  font-weight: 500;
  font-size: 0.82rem;
}

/* Barra inferior */
.cine-bottom {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 0 32px calc(28px + env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cine-copy {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}

.cine-top {
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(244, 247, 244, 0.1);
}
.cine-top svg { width: 18px; height: 18px; transition: transform 0.3s ease; }
.cine-top:hover svg { transform: translateY(-4px); }

/* ============ Sticky CTA mobile ============ */
.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(6, 8, 6, 0.92);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.35s ease;
  display: none;
}
.sticky-cta .btn { width: 100%; }
.sticky-cta.show { transform: translateY(0); }

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  #chat-mockup [data-step] { opacity: 1; transform: none; }
  #chat-mockup .chat-typing { display: none; }
  .cine-giant, .cine-heading, .cine-pills { opacity: 1 !important; transform: none !important; }
  .cine-giant { transform: translateX(-50%) !important; }
  /* Sem animação o medidor ficaria com scaleX(0), ou seja, invisível */
  .faq-intro-meter { transform: none; }
}

/* ============================================================
   RESPONSIVO
   ============================================================ */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .agentes-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .fc-5 { display: none; }
}

@media (max-width: 860px) {
  .section { padding: 72px 0; }

  /* Header mobile */
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0A0D0A;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 12px 24px 20px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }
  .nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav > a { padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid var(--border); }
  .nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }
  .header-actions { display: none; }
  .hamburger { display: flex; }

  .hero { padding-top: 56px; }
  .hero-visual { margin-top: 48px; }

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

  .compare-grid { grid-template-columns: 1fr; gap: 16px; }
  .compare-vs { justify-self: center; }

  .prova-panel { grid-template-columns: 1fr; }
  .prova-depoimento { padding: 34px 28px; }
  .prova-metricas { padding: 34px 28px; }

  /* Footer cinemático no mobile */
  .cine-marquee { top: 64px; padding: 11px 0; }
  .cine-center { margin-top: 70px; }
  .cine-heading { margin-bottom: 28px; }
  .cine-pill-lg { padding: 14px 24px; min-height: 48px; font-size: 0.88rem; }
  .cine-pill-sm { padding: 11px 16px; min-height: 44px; font-size: 0.76rem; }
  .cine-bottom {
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }
  .cine-copy { order: 2; }
  .cine-top { order: 1; }

  /* Ecossistema: o diagrama radial não cabe em tela estreita,
     então vira uma grade de dois nós por linha sob o núcleo. */
  .ecosystem {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .ecosystem-lines { display: none; }
  .eco-center {
    position: static;
    transform: none;
    grid-column: 1 / -1;
    justify-content: center;
    padding: 14px 18px;
    font-size: 1rem;
    margin-bottom: 6px;
  }
  .eco-node {
    position: static;
    transform: none;
    animation: none;
    justify-content: center;
    text-align: center;
    white-space: normal;
    padding: 13px 10px;
    font-size: 0.82rem;
  }
  .eco-node svg { width: 15px; height: 15px; }

  .sticky-cta { display: block; }

  /* O mockup ocupa quase toda a largura no mobile, então os cards de
     atividade saem de cima dele e viram uma faixa logo abaixo. */
  .hero-visual {
    flex-wrap: wrap;
    gap: 10px;
    padding-bottom: 0;
  }
  .phone-mockup { flex: 0 0 100%; margin-bottom: 4px; }
  .float-card {
    position: static;
    animation: none;
    padding: 9px 14px;
  }
  .fc-4, .fc-5 { display: none; }
}

/* Telas baixas (celular em paisagem, janela reduzida): o footer cortina tem
   altura fixa de uma tela e com `overflow: hidden` cortaria a barra inferior.
   Aqui ele volta a ser um bloco normal, que cresce com o conteúdo. */
@media (max-height: 560px) {
  .cine-wrap { height: auto; clip-path: none; }
  .cine-footer { position: relative; height: auto; padding-top: 4px; }
  .cine-marquee { position: relative; top: 0; margin: 14px 0 30px; }
  .cine-giant { display: none; }
  .cine-center { margin-top: 0; }
  .cine-heading { font-size: clamp(1.6rem, 4.5vw, 2.4rem); margin-bottom: 24px; }
  .cine-bottom {
    flex-direction: row;
    margin-top: 34px;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }
  .cine-aurora { height: 100%; }
}

@media (max-width: 560px) {
  .container { width: min(1140px, 100% - 36px); }

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

  .hero-ctas .btn { width: 100%; }


  .pipeline { flex-direction: column; gap: 8px; }
  .pipeline-arrow { transform: rotate(90deg); }
  .pipeline-step { width: 100%; max-width: 240px; text-align: center; }

  .cta-final { padding: 80px 0; }
  .cta-final .btn-xl { width: 100%; }

  .float-card { padding: 8px 12px; }
  .float-card strong { font-size: 0.78rem; }

  /* Card do carrossel: ícone ao lado da tag para caber mais texto */
  .ben-card { padding: 18px; gap: 10px; }
  .ben-body strong { font-size: 0.95rem; }
  .ben-body span { font-size: 0.83rem; }

  /* Cards de uma coluna ficam altos demais empilhados: o ícone passa a
     ficar ao lado do texto para encurtar a rolagem. */
  .perfil-card {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 16px;
    text-align: left;
    padding: 22px;
  }
  .perfil-illust {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 58px;
    height: 58px;
    border-radius: 16px;
    margin: 0;
  }
  .perfil-illust svg { width: 30px; height: 30px; }
  .perfil-card h3 { grid-column: 2; grid-row: 1; align-self: center; margin-bottom: 5px; }
  .perfil-card p { grid-column: 2; grid-row: 2; }

  /* FAQ: cartões mais compactos no celular */
  .faq-intro { gap: 10px; padding: 11px 18px; letter-spacing: 0.2em; }
  .faq-intro-label { letter-spacing: 0.22em; }
  .faq-item summary { gap: 14px; padding: 18px 20px; }
  .faq-icon { width: 40px; height: 40px; }
  .faq-icon svg { width: 18px; height: 18px; }
  .faq-question { font-size: 0.96rem; }
  .faq-panel p { padding: 0 20px 20px; font-size: 0.9rem; }

  /* Espaço para o sticky CTA na última seção, e não no body:
     o footer cortina precisa terminar exatamente no fim da página. */
  .cta-final { padding-bottom: 156px; }
}
