/* ================================================================
   NCCAPS — Design System 2026
   Tráfego Pago & Soluções para WhatsApp
   ================================================================ */

:root {
  /* Cores da Identidade Visual */
  --blue-primary: #0755F5;
  --blue-hover:   #0543C4;
  --blue-navy:    #07152F;
  --blue-darker:  #040B1A;
  --blue-light:   #EEF4FF;
  --blue-soft:    rgba(7, 85, 245, 0.08);

  --green-wpp:    #25D366;
  --green-hover:  #20BA5A;
  --green-dark:   #128C7E;
  --green-soft:   rgba(37, 211, 102, 0.12);

  --bg-light:     #F5F8FC;
  --surface:      #FFFFFF;
  --surface-2:    #F1F5F9;

  --text-main:    #07152F;
  --text-body:    #475569;
  --text-muted:   #64748B;
  --text-light:   #94A3B8;

  --border:       #E2E8F0;
  --border-subtle: rgba(226, 232, 240, 0.8);
  --border-light: rgba(255, 255, 255, 0.15);

  /* Tipografia Premium 2026 */
  --font-head:    'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Sombras limpas e elegantes */
  --shadow-sm: 0 1px 3px rgba(7, 21, 47, 0.05), 0 1px 2px rgba(7, 21, 47, 0.03);
  --shadow-md: 0 4px 16px -2px rgba(7, 21, 47, 0.08), 0 2px 6px -1px rgba(7, 21, 47, 0.04);
  --shadow-lg: 0 12px 32px -4px rgba(7, 21, 47, 0.12), 0 4px 12px -2px rgba(7, 21, 47, 0.06);
  --shadow-card: 0 2px 10px rgba(7, 21, 47, 0.04), 0 0 0 1px rgba(226, 232, 240, 0.8);
}

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

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background-color: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* -------- Containers & Grid -------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 860px;
}

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

.center {
  text-align: center;
}

/* -------- Tipografia Global & Badges -------- */
.kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-primary);
  margin-bottom: 12px;
}

.kicker-light {
  color: #79A8FF;
}

.kicker-green {
  color: var(--green-wpp);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.section-title.title-light {
  color: #FFFFFF;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.section-sub.sub-light {
  color: #B2C5E5;
}

.section-head {
  margin-bottom: 48px;
}

/* -------- Botões -------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  letter-spacing: -0.01em;
  border-radius: var(--radius-pill);
  padding: 12px 24px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

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

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 15px 30px;
  font-size: 1rem;
}

.btn-green {
  background-color: var(--green-wpp);
  color: #07152F;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-green:hover {
  background-color: var(--green-hover);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  color: #07152F;
}

.btn-primary {
  background-color: var(--blue-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(7, 85, 245, 0.3);
}

.btn-primary:hover {
  background-color: var(--blue-hover);
  box-shadow: 0 6px 20px rgba(7, 85, 245, 0.4);
}

.btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ================= 1. HEADER ================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(7, 21, 47, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.25s ease;
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-img {
  height: 38px;
  width: auto;
  max-width: 155px;
  object-fit: contain;
  display: block;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand:hover .brand-img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #D1DCFF;
  position: relative;
  padding: 6px 0;
}

.main-nav a:hover {
  color: #FFFFFF;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--green-wpp);
  transition: width 0.2s ease, left 0.2s ease;
}

.main-nav a:hover::after {
  width: 100%;
  left: 0;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: #FFFFFF;
  border-radius: 2px;
  transition: all 0.25s ease;
}

/* ================= 2. HERO COM BANNER ANIMADO ================= */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 84px;
  background-color: #07152F;
  background-image: url('uploads/hero-banner.png');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  color: #FFFFFF;
  overflow: hidden;
}

/* Sweep de luz suave sobre o banner */
.hero-light-sweep {
  position: absolute;
  top: -60%;
  left: -60%;
  width: 220%;
  height: 220%;
  background: linear-gradient(
    45deg,
    transparent 35%,
    rgba(255, 255, 255, 0.04) 44%,
    rgba(37, 211, 102, 0.10) 48%,
    rgba(7, 85, 245, 0.08) 52%,
    transparent 60%
  );
  transform: rotate(-22deg);
  animation: sweep-beam 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

/* Brilho pulsante sobre o chevron verde do banner */
.hero-banner-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  pointer-events: none;
  background: radial-gradient(circle at 75% 25%, rgba(37, 211, 102, 0.28) 0%, transparent 65%);
  animation: banner-glow-pulse 4.5s ease-in-out infinite alternate;
  mix-blend-mode: screen;
  z-index: 1;
}

@keyframes sweep-beam {
  0% { transform: translate(-25%, -25%) rotate(-22deg); }
  50% { transform: translate(12%, 12%) rotate(-22deg); }
  100% { transform: translate(-25%, -25%) rotate(-22deg); }
}

@keyframes banner-glow-pulse {
  0% { opacity: 0.35; filter: blur(4px); }
  50% { opacity: 0.85; filter: blur(12px); }
  100% { opacity: 0.45; filter: blur(6px); }
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(to top, rgba(7, 21, 47, 0.6), transparent);
  pointer-events: none;
  z-index: 1;
}

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

.hero-copy {
  max-width: 580px;
}

.hero-kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #8EB7FF;
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.35rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.hero-title .text-green {
  color: var(--green-wpp);
  display: block;
}

.hero-desc {
  font-size: 1.125rem;
  line-height: 1.65;
  color: #D2E1FF;
  margin-bottom: 32px;
}

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

/* Composição Visual Hero */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.visual-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 5;
}

.badge-blue {
  background-color: #0755F5;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
  align-self: flex-start;
  margin-left: 20px;
}

.badge-green {
  background-color: var(--green-wpp);
  color: #07152F;
  font-weight: 800;
  align-self: flex-end;
  margin-right: 20px;
  animation: badge-pulse 3s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35); transform: scale(1); }
  50% { box-shadow: 0 6px 22px rgba(37, 211, 102, 0.65); transform: scale(1.03); }
}

.hero-cards-wrapper {
  position: relative;
  width: 100%;
  max-width: 540px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Seta conectora SVG entre os cards */
.flow-connector {
  position: absolute;
  top: 42%;
  left: 45%;
  transform: translate(-50%, -50%);
  width: 95px;
  height: 70px;
  z-index: 12;
  pointer-events: none;
}

.connector-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.flow-pulse-particle {
  opacity: 0;
  transition: opacity 0.25s ease;
}

.flow-pulse-particle.active {
  opacity: 1;
}

/* 1. WRAPPERS DE ENTRADA (executam uma única vez) */
.card-entrance-wrap {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.hero-cards-wrapper.entered .card-entrance-wrap.ad-entrance-wrap {
  opacity: 1;
  transform: translateY(0);
}

.hero-cards-wrapper.entered .card-entrance-wrap.wpp-entrance-wrap {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

/* 2. WRAPPERS DE FLUTUAÇÃO CONTÍNUA (máximo 4px, durações dessincronizadas) */
.card-float-wrap.ad-float-wrap {
  animation: float-ad-gentle 7.4s ease-in-out infinite alternate;
}

.card-float-wrap.wpp-float-wrap {
  animation: float-wpp-gentle 6.2s ease-in-out infinite alternate;
}

@keyframes float-ad-gentle {
  0% { transform: translateY(0); }
  50% { transform: translateY(-3.5px); }
  100% { transform: translateY(0); }
}

@keyframes float-wpp-gentle {
  0% { transform: translateY(0); }
  50% { transform: translateY(3.8px); }
  100% { transform: translateY(0); }
}

/* Card 1: Anúncio Meta Ads */
.ad-card {
  background: #FFFFFF;
  color: #07152F;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 16px 36px rgba(4, 11, 26, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover suave: máximo 3px de elevação, sem 3D */
@media (hover: hover) and (min-width: 769px) {
  .ad-card:hover, .wpp-card:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 20px 42px rgba(4, 11, 26, 0.42);
  }
}

.ad-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ad-brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.8125rem;
  color: #1877F2;
}

.ad-dots {
  color: #94A3B8;
  letter-spacing: 2px;
  font-size: 0.875rem;
}

.ad-preview-box {
  background: linear-gradient(135deg, #0755F5 0%, #1E40AF 100%);
  border-radius: 10px;
  padding: 14px 12px;
  color: #FFFFFF;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ad-preview-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

.ad-preview-box .ad-icon-circle {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mini barras de crescimento suave a partir da base */
.ad-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 3.5px;
  height: 24px;
}

.ad-chart-bar {
  width: 5px;
  border-radius: 2px 2px 0 0;
  background-color: rgba(255, 255, 255, 0.35);
  transform-origin: bottom;
  transform: scaleY(0.2);
  transition: transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.4s ease;
}

.hero-cards-wrapper.step-ad .ad-chart-bar.bar-1 { transform: scaleY(0.5); background-color: #A7F3D0; }
.hero-cards-wrapper.step-ad .ad-chart-bar.bar-2 { transform: scaleY(0.8); background-color: #6EE7B7; transition-delay: 0.12s; }
.hero-cards-wrapper.step-ad .ad-chart-bar.bar-3 { transform: scaleY(0.65); background-color: #34D399; transition-delay: 0.22s; }
.hero-cards-wrapper.step-ad .ad-chart-bar.bar-4 { transform: scaleY(1); background-color: var(--green-wpp); transition-delay: 0.32s; }

.ad-preview-box strong {
  font-size: 0.84375rem;
  line-height: 1.3;
}

.ad-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--green-wpp);
  color: #07152F;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.6875rem;
  margin-top: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.ad-cta-btn.highlight {
  transform: scale(1.05);
  box-shadow: 0 0 16px rgba(37, 211, 102, 0.8), 0 2px 8px rgba(0, 0, 0, 0.2);
  filter: brightness(1.08);
}

.ad-metrics-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 4px;
  border-top: 1px solid #F1F5F9;
}

.ad-metrics-list li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: #475569;
}

.ad-metrics-list li svg {
  color: var(--green-wpp);
  flex-shrink: 0;
}

.ad-metrics-list li strong {
  color: #07152F;
}

/* Indicador pulsante em Campanha Ativa */
.metric-active-row {
  position: relative;
}

.pulse-indicator-ring {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.pulse-indicator-core {
  width: 7px;
  height: 7px;
  background-color: var(--green-wpp);
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(37, 211, 102, 0.6);
}

.pulse-indicator-ring::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid var(--green-wpp);
  opacity: 0;
}

.hero-cards-wrapper.step-ad .pulse-indicator-ring::after {
  animation: ring-pulse 1.8s ease-out infinite;
}

@keyframes ring-pulse {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Card 2: WhatsApp Chat */
.wpp-card {
  background: #FFFFFF;
  color: #07152F;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(4, 11, 26, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.85);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wpp-card-header {
  background-color: #075E54;
  color: #FFFFFF;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wpp-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wpp-avatar {
  width: 28px;
  height: 28px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.75rem;
}

.wpp-meta strong {
  display: block;
  font-size: 0.78125rem;
  line-height: 1.2;
}

.wpp-meta small {
  display: block;
  font-size: 0.65rem;
  color: #A7F3D0;
  transition: color 0.2s ease;
}

.wpp-meta small.typing {
  color: #25D366;
  font-weight: 700;
  animation: typing-pulse-text 1.2s infinite;
}

@keyframes typing-pulse-text {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

.wpp-icons {
  display: flex;
  gap: 8px;
  color: #E2E8F0;
}

/* Espaço pré-reservado: altura fixa de 200px para estabilidade visual absoluta */
.wpp-chat-body {
  background-color: #EFEAE2;
  background-image: radial-gradient(#CBD5E1 0.75px, transparent 0.75px);
  background-size: 12px 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  height: 200px;
  min-height: 200px;
  max-height: 200px;
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
}

/* Divisor de data estilo WhatsApp */
.chat-day-stamp {
  align-self: center;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 1px 1px rgba(11, 20, 26, 0.08);
  padding: 2px 10px;
  border-radius: 6px;
  margin-bottom: 2px;
}

.chat-day-stamp span {
  font-size: 0.625rem;
  font-weight: 700;
  color: #54656F;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Balões de Mensagem */
.chat-bubble {
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 0.72rem;
  line-height: 1.38;
  max-width: 86%;
  position: relative;
  box-shadow: 0 1px 1.5px rgba(11, 20, 26, 0.12);
  opacity: 0;
  transform: scale(0.9) translateY(6px);
  visibility: hidden;
  will-change: opacity, transform;
}

/* Animação pop-in de chegada de mensagem */
.chat-bubble.msg-visible {
  opacity: 1;
  visibility: visible;
  animation: bubble-pop-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes bubble-pop-in {
  0% {
    opacity: 0;
    transform: scale(0.85) translateY(8px);
  }
  70% {
    transform: scale(1.02) translateY(-1px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Balão Recebido (Lead) */
.chat-bubble.in {
  background-color: #FFFFFF;
  align-self: flex-start;
  border-top-left-radius: 0;
  color: #111B21;
}

.chat-bubble.in::before {
  content: '';
  position: absolute;
  top: 0;
  left: -6px;
  width: 0;
  height: 0;
  border-top: 6px solid #FFFFFF;
  border-left: 6px solid transparent;
}

/* Balão Enviado (NCCAPS) */
.chat-bubble.out {
  background-color: #D9FDD3;
  align-self: flex-end;
  border-top-right-radius: 0;
  color: #111B21;
}

.chat-bubble.out::after {
  content: '';
  position: absolute;
  top: 0;
  right: -6px;
  width: 0;
  height: 0;
  border-top: 6px solid #D9FDD3;
  border-right: 6px solid transparent;
}

.bubble-time {
  display: block;
  font-size: 0.58rem;
  color: #667781;
  text-align: right;
  margin-top: 2px;
  margin-left: 12px;
}

/* Indicadores de status da mensagem (✓ e ✓✓) */
.check-marks {
  display: inline-block;
  font-weight: 700;
  letter-spacing: -1.5px;
  color: #8696A0;
  transition: color 0.3s ease, transform 0.2s ease;
}

.check-marks.read {
  color: #53BDEB;
  transform: scale(1.12);
}

/* Balão de Digitação Animado (3 bolinhas saltitantes) */
.typing-bubble {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.95);
  padding: 0 13px;
  border-radius: 12px;
  border-top-left-radius: 2px;
  box-shadow: 0 1px 2px rgba(11, 20, 26, 0.1);
  display: flex;
  gap: 4.5px;
  align-items: center;
  width: fit-content;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.85);
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.25s ease, padding 0.25s ease;
}

.typing-bubble.active {
  opacity: 1;
  max-height: 34px;
  padding: 6px 13px;
  transform: scale(1);
  visibility: visible;
}

.typing-bubble .typing-dot {
  width: 5px;
  height: 5px;
  background-color: #667781;
  border-radius: 50%;
  animation: typing-jump 1.3s infinite ease-in-out;
}

.typing-bubble .typing-dot:nth-child(2) { animation-delay: 0.18s; }
.typing-bubble .typing-dot:nth-child(3) { animation-delay: 0.36s; }

@keyframes typing-jump {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.35; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.wpp-input-bar {
  background-color: #F0F2F5;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-top: 1px solid #E2E8F0;
}

.fake-input {
  flex: 1;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 5px 10px;
  font-size: 0.6875rem;
  color: #94A3B8;
  border: 1px solid #CBD5E1;
}

.send-btn-circle {
  width: 26px;
  height: 26px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Destaque no selo Conversas que convertem */
.visual-badge.badge-green.highlight {
  transform: scale(1.06);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.85), 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
}


/* ================= 3. TRUST STRIP (PROVA DE PLATAFORMAS) ================= */
.trust-strip {
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.trust-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.trust-headline {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: -0.01em;
}

.trust-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.trust-logo-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  color: #334155;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
}

.trust-logo-item svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ================= 4. SEÇÕES PADRÃO ================= */
.section {
  padding: 88px 0;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-dark {
  background-color: var(--blue-navy);
  color: #FFFFFF;
}

/* ================= 5. NOSSAS SOLUÇÕES ================= */
.solution-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.solution-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: #FFFFFF;
}

.solution-icon-box.icon-blue {
  background-color: var(--blue-primary);
  box-shadow: 0 4px 14px rgba(7, 85, 245, 0.3);
}

.solution-icon-box.icon-green {
  background-color: var(--green-wpp);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.solution-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.solution-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--blue-primary);
  margin-top: auto;
}

.solution-card:hover .solution-link {
  gap: 10px;
}

/* ================= 6. COMO FUNCIONA (DARK SECTION) ================= */
.how-it-works-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-badge.badge-01 {
  background-color: var(--blue-primary);
  color: #FFFFFF;
}

.step-badge.badge-02 {
  background-color: var(--green-wpp);
  color: #07152F;
}

.step-badge.badge-03 {
  background-color: #06B6D4;
  color: #07152F;
}

.step-info h3 {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.step-info p {
  font-size: 0.9375rem;
  color: #B2C5E5;
  line-height: 1.55;
}

/* Card Conversas Recentes */
.inbox-card {
  background: #0B1E40;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
}

.inbox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.inbox-header strong {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.inbox-header .live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--green-wpp);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green-wpp);
}

.inbox-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inbox-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.inbox-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0755F5, #25D366);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}

.inbox-content {
  flex: 1;
  min-width: 0;
}

.inbox-content strong {
  display: block;
  font-size: 0.84375rem;
  color: #FFFFFF;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.inbox-content p {
  font-size: 0.75rem;
  color: #94A3B8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

.inbox-badge {
  width: 20px;
  height: 20px;
  background-color: var(--green-wpp);
  color: #07152F;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6875rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* ================= 7. BENEFÍCIOS (POR QUE A NC) ================= */
.benefit-card {
  text-align: center;
  padding: 24px 16px;
}

.benefit-icon-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--blue-light);
  color: var(--blue-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.benefit-card:hover .benefit-icon-box {
  transform: scale(1.08);
  background: var(--blue-primary);
  color: #FFFFFF;
}

.benefit-title {
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ================= 8. CLIENTES E PARCEIROS (REGRA PRIORITÁRIA) ================= */
.section-partners {
  background-color: var(--bg-light);
}

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

.partner-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  border: 1px solid var(--border);
}

.partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #CBD5E1;
}

.partner-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.partner-logo-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  flex-shrink: 0;
}

.partner-logo-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.partner-logo-box .logo-placeholder {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.125rem;
  color: var(--blue-primary);
}

.partner-info {
  flex: 1;
  min-width: 0;
}

.partner-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.partner-name .by-nc {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
}

.partner-name .by-nc span {
  color: var(--blue-primary);
}

.partner-name .verified-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.partner-badge {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--blue-primary);
  text-transform: uppercase;
  margin-top: 2px;
}

.partner-desc {
  font-size: 0.84375rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 16px;
  flex-grow: 1;
}

.partner-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--blue-primary);
  margin-top: auto;
}

.partner-link:hover {
  color: var(--blue-hover);
  text-decoration: underline;
}

.partner-link svg {
  transition: transform 0.18s ease;
}

.partner-link:hover svg {
  transform: translate(2px, -2px);
}

/* ================= 9. FUNCIONALIDADES ================= */
.feature-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--blue-light);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-head);
  font-size: 1.1875rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.90625rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--blue-primary);
  margin-top: auto;
}

.feature-card:hover .feature-link {
  gap: 9px;
}

/* ================= 10. FAQ ================= */
.faq-section {
  background-color: var(--bg-light);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.acc-item {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.acc-item[open] {
  border-color: #CBD5E1;
  box-shadow: var(--shadow-md);
}

.acc-item summary {
  padding: 20px 24px;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.acc-item summary::-webkit-details-marker {
  display: none;
}

.acc-item summary .acc-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.acc-item[open] summary .acc-icon {
  transform: rotate(45deg);
  background: var(--blue-primary);
  color: #FFFFFF;
}

.acc-body {
  padding: 0 24px 22px;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.65;
  border-top: 1px solid #F1F5F9;
  padding-top: 16px;
}

/* ================= 11. FINAL CTA BANNER ================= */
.final-cta {
  padding: 80px 0;
  background-color: var(--surface);
}

.final-cta-card {
  background: linear-gradient(135deg, #0755F5 0%, #07152F 100%);
  border-radius: 24px;
  padding: 60px 54px;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 48px -10px rgba(7, 85, 245, 0.35);
}

.final-cta-card::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.22) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.final-cta-content h2 {
  font-family: var(--font-head);
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.final-cta-content p {
  font-size: 1.0625rem;
  color: #D1DCFF;
  line-height: 1.6;
}

.final-cta-action {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  text-align: right;
}

.final-cta-subtext {
  font-size: 0.8125rem;
  color: #B2C5E5;
}

/* ================= 12. FOOTER ================= */
.site-footer {
  background-color: var(--blue-navy);
  color: #94A3B8;
  padding-top: 64px;
  padding-bottom: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand .brand-tagline {
  font-size: 0.875rem;
  color: #64748B;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.footer-nav a {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #CBD5E1;
}

.footer-nav a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  font-size: 0.84375rem;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a:hover {
  color: #FFFFFF;
}

/* ================= 13. WHATSAPP FAB ================= */
.whatsapp-fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 990;
  width: 58px;
  height: 58px;
  background-color: var(--green-wpp);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab svg {
  width: 32px;
  height: 32px;
}

/* ================= RESPONSIVIDADE ================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-copy {
    max-width: 100%;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .how-it-works-grid {
    grid-template-columns: 1fr;
  }
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .final-cta-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 44px 32px;
  }
  .final-cta-action {
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 68px;
  }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background-color: #07152F;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }

  .site-header.open .main-nav {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-header.open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .site-header.open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }
  .site-header.open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding-top: 105px;
    padding-bottom: 60px;
    background-image: url('uploads/hero-banner-mobile.png');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
  }

  .hero-banner-glow {
    top: auto;
    bottom: 0;
    right: 0;
    width: 85%;
    height: 55%;
    background: radial-gradient(circle at 85% 65%, rgba(37, 211, 102, 0.32) 0%, transparent 68%);
  }

  .flow-connector {
    display: none;
  }

  .hero-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 360px;
    margin: 0 auto;
  }

  .ad-card, .wpp-card {
    transform: none;
  }

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

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

  .trust-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
