/* ============================================================
   CHATSELL DESIGN SYSTEM
   Commercial Communication Operating System (CCOS)
   
   Paleta: Electric Indigo · Vibrant Mint Teal · Slate Gray · Cloud White
   Tipografia: Space Grotesk (Display) · Inter (UI) · Syne (Accent)
   Motion: Zero Bounce — 150-200ms snappy transitions
   ============================================================ */

/* --- Google Fonts ---
   Carregadas via <link> no <head> do index.html.
   @import aqui seria render-blocking em série (CSS → import → fonte). */

/* ============================================================
   1. CUSTOM PROPERTIES (Design Tokens)
   ============================================================ */
:root {
  /* --- Cores Institucionais (Brand Book) --- */
  --color-primary: #4F46E5;           /* Electric Indigo */
  --color-primary-light: #6366F1;
  --color-primary-dark: #4338CA;
  --color-primary-glow: rgba(79, 70, 229, 0.15);
  --color-primary-subtle: rgba(79, 70, 229, 0.08);

  --color-secondary: #10B981;         /* Vibrant Mint Teal */
  --color-secondary-light: #34D399;
  --color-secondary-dark: #059669;
  --color-secondary-glow: rgba(16, 185, 129, 0.15);

  --color-slate: #1E293B;             /* Slate Gray */
  --color-slate-light: #334155;
  --color-slate-dark: #0F172A;

  --color-cloud: #F8FAFC;             /* Cloud White */

  /* --- Neutros Orgânicos (Proibido #000 e #fff puros) --- */
  --color-black: #0F172A;
  --color-white: #F8FAFC;
  --color-cream: #F1F5F9;
  --color-gray-50: #F8FAFC;
  --color-gray-100: #F1F5F9;
  --color-gray-200: #E2E8F0;
  --color-gray-300: #CBD5E1;
  --color-gray-400: #94A3B8;
  --color-gray-500: #64748B;
  --color-gray-600: #475569;
  --color-gray-700: #334155;
  --color-gray-800: #1E293B;

  /* --- Cores Funcionais --- */
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #128C7E;
  --color-danger: #EF4444;
  --color-warning: #F59E0B;
  --color-success: #10B981;
  --color-overlay: rgba(15, 23, 42, 0.6);
  --color-overlay-heavy: rgba(15, 23, 42, 0.85);

  /* --- Gradientes --- */
  --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, #7C3AED 100%);
  --gradient-hero: linear-gradient(135deg, var(--color-slate-dark) 0%, var(--color-slate) 50%, #1a1f3a 100%);
  --gradient-cta: linear-gradient(135deg, var(--color-secondary-dark) 0%, var(--color-secondary) 100%);
  --gradient-glass: linear-gradient(135deg, rgba(248,250,252,0.9) 0%, rgba(241,245,249,0.7) 100%);
  --gradient-dark-section: linear-gradient(180deg, var(--color-slate-dark) 0%, var(--color-slate) 100%);
  --gradient-radial-glow: radial-gradient(ellipse at center, var(--color-primary-glow) 0%, transparent 70%);

  /* --- Tipografia --- */
  --font-heading: 'Space Grotesk', -apple-system, sans-serif;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-accent: 'Syne', -apple-system, sans-serif;

  /* --- Escala Tipográfica --- */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  --text-hero: 3.25rem;     /* 52px */

  /* --- Espaçamento --- */
  --space-xs: 0.25rem;     /* 4px */
  --space-sm: 0.5rem;      /* 8px */
  --space-md: 1rem;        /* 16px */
  --space-lg: 1.5rem;      /* 24px */
  --space-xl: 2rem;        /* 32px */
  --space-2xl: 3rem;       /* 48px */
  --space-3xl: 4rem;       /* 64px */
  --space-4xl: 6rem;       /* 96px */
  --space-5xl: 8rem;       /* 128px */

  /* --- Transições (Zero Bounce — Snappy) --- */
  --transition-fast: 150ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 350ms ease;
  --transition-smooth: 200ms cubic-bezier(0.4, 0, 0.2, 1);

  /* --- Sombras --- */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.2);
  --shadow-glow-primary: 0 0 30px rgba(79, 70, 229, 0.3);
  --shadow-glow-secondary: 0 0 30px rgba(16, 185, 129, 0.3);

  /* --- Border Radius --- */
  --radius-sm: 0.375rem;   /* 6px */
  --radius-md: 0.5rem;     /* 8px */
  --radius-lg: 0.75rem;    /* 12px */
  --radius-xl: 1rem;       /* 16px */
  --radius-2xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;

  /* --- Layout --- */
  --max-width: 1280px;
  --container-padding: 2rem;
  --header-height: 72px;
  --topbar-height: 40px;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-slate);
  background-color: var(--color-cloud);
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

/* ============================================================
   3. UTILITY CLASSES
   ============================================================ */
.font-heading {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  font-weight: 700;
}

.font-accent {
  font-family: var(--font-accent);
  font-weight: 600;
}

.font-body {
  font-family: var(--font-body);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--space-5xl) 0;
}

.section--dark {
  background-color: #080C16;
  background-image:
    radial-gradient(circle at 10% 0%, rgba(16, 185, 129, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 90% 100%, rgba(79, 70, 229, 0.12) 0%, transparent 50%),
    repeating-radial-gradient(circle at 0% 50%, transparent 0, transparent 40px, rgba(255, 255, 255, 0.015) 41px, transparent 42px),
    repeating-radial-gradient(circle at 100% 50%, transparent 0, transparent 40px, rgba(255, 255, 255, 0.015) 41px, transparent 42px);
  color: var(--color-cloud);
  position: relative;
  overflow: hidden;
}

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

.section--cream {
  background: var(--color-cream);
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-primary-subtle);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-lg);
}

.section--dark .section-label {
  background: rgba(79, 70, 229, 0.2);
  border-color: rgba(79, 70, 229, 0.3);
  color: var(--color-primary-light);
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  color: var(--color-gray-500);
  line-height: 1.7;
  max-width: 640px;
}

.section--dark .section-subtitle {
  color: var(--color-gray-300);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-green {
  color: var(--color-secondary);
}

/* Texto só para leitor de tela. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Verde: todo CTA primário termina no WhatsApp, então ele usa a cor
   de ação da marca, não o indigo institucional. */
.btn--primary {
  background: var(--color-secondary);
  color: #FFFFFF !important;
  font-weight: 600;
  box-shadow: var(--shadow-md), 0 0 0 0 rgba(16, 185, 129, 0.4);
}

.btn--primary:hover {
  background: var(--color-secondary-dark, #0EA372);
  color: #FFFFFF !important;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(16, 185, 129, 0.35);
  transform: translateY(-2px);
}

.btn--secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}

.btn--secondary:hover {
  background: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  font-size: var(--text-base);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md), 0 0 0 0 rgba(37, 211, 102, 0.2);
}

.btn--whatsapp:hover {
  background: var(--color-whatsapp-dark);
  box-shadow: var(--shadow-lg), 0 0 25px rgba(37, 211, 102, 0.3);
  transform: translateY(-2px);
}

.btn--whatsapp svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.btn--ghost {
  background: transparent;
  color: var(--color-gray-500);
  padding: 0.875rem 1.5rem;
}

.btn--ghost:hover {
  color: var(--color-primary);
  background: var(--color-primary-subtle);
}

.btn--dark {
  background: var(--color-white);
  color: var(--color-slate);
}

.btn--dark:hover {
  background: var(--color-gray-100);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--lg {
  padding: 1.125rem 3rem;
  font-size: var(--text-base);
  border-radius: var(--radius-xl);
}

/* ============================================================
   5. TOP BAR
   ============================================================ */
.topbar {
  background: var(--color-slate-dark);
  color: var(--color-gray-300);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xs);
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform var(--transition-base), opacity var(--transition-base);
  position: relative;
  z-index: 100;
}

.topbar.hidden {
  transform: translateY(-100%);
  opacity: 0;
  position: absolute;
  width: 100%;
}

.topbar__text {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.topbar__highlight {
  color: var(--color-secondary);
  font-weight: 600;
}

/* ============================================================
   6. HEADER / NAVIGATION
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(248, 250, 252, 0.95);
  border-bottom-color: var(--color-gray-200);
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.header__logo img {
  height: 36px;
  width: auto;
  max-height: 36px;
}

.header__logo-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.header__logo-text span:first-child {
  color: var(--color-primary);
}

.header__logo-text span:last-child {
  color: var(--color-slate);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.header__nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray-600);
  transition: color var(--transition-fast);
  position: relative;
}

.header__nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.header__nav-link:hover,
.header__nav-link.is-active {
  color: var(--color-primary);
  font-weight: 600;
}

.header__nav-link:hover::after,
.header__nav-link.is-active::after {
  width: 100%;
}

.mobile-drawer__link.is-active {
  color: var(--color-secondary);
  font-weight: 700;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-slate-light);
  padding: 0.45rem 1.1rem;
  border: 1.5px solid rgba(30, 41, 59, 0.2);
  border-radius: var(--radius-lg);
  background: rgba(248, 250, 252, 0.8);
  transition: all var(--transition-fast);
}

.header__login:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
  background: rgba(79, 70, 229, 0.06);
  transform: translateY(-1px);
}

[hidden] {
  display: none !important;
}

.header__mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  cursor: pointer;
}

.header__mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-slate);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.header__mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.header__mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   7. HERO — PRIMEIRA DOBRA
   Ocupa a viewport inteira, fundo escuro, conteúdo centralizado.
   ============================================================ */
.hero {
  position: relative;
  /* Header e topbar são sticky/estáticos, ou seja, já ocupam espaço no
     fluxo — a dobra é o que sobra da tela abaixo deles. */
  min-height: calc(100vh - var(--header-height) - var(--topbar-height));
  min-height: calc(100svh - var(--header-height) - var(--topbar-height));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--color-slate);
  color: var(--color-cloud);
  padding: var(--space-2xl) 0;
  /* Teto de largura do vídeo em telas muito altas. A altura dele não é
     fixada aqui: vem do espaço que sobra na dobra (ver .hero__stage). */
  --player-max: 820px;
}

/* Efeito visual tecnológico e luz leve (Arabesco de Ondas) */
.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: #080C16;
  background-image:
    radial-gradient(circle at 20% -10%, rgba(79, 70, 229, 0.25) 0%, transparent 60%),
    radial-gradient(circle at 80% 110%, rgba(16, 185, 129, 0.20) 0%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 60%),
    repeating-radial-gradient(ellipse at 0% 50%, transparent 0, transparent 40px, rgba(255, 255, 255, 0.02) 41px, transparent 42px),
    repeating-radial-gradient(ellipse at 100% 50%, transparent 0, transparent 40px, rgba(255, 255, 255, 0.02) 41px, transparent 42px);
}

/* Desvanece a malha nas bordas para não brigar com o conteúdo. */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 65% at 50% 40%, transparent 0%, rgba(11, 18, 32, 0.85) 100%);
}

.hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero__inner > * {
  max-width: 100%;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-secondary);
  border: 1px solid rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.08);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-lg);
  margin-bottom: var(--space-xl);
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4.8vw, 3.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
  max-width: 34ch;
  padding-bottom: 0.2rem;
}

/* O itálico carrega o argumento — o resto é estrutura da frase. */
.hero__title em {
  font-style: italic;
  font-weight: 800;
  color: var(--color-secondary);
  display: inline-block;
  padding-bottom: 0.12em;
  padding-right: 0.08em;
  vertical-align: bottom;
}

.hero__title em.hero__title-purple {
  color: #818CF8;
  background: linear-gradient(135deg, #A5B4FC 0%, #6366F1 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  padding-bottom: 0.15em;
  padding-right: 0.12em;
  vertical-align: bottom;
}

.hero__subtitle {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-gray-300);
  max-width: 62ch;
  margin-bottom: var(--space-sm);
}

.hero__ctas {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-3xl);
}

.hero__cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray-300);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.hero__cta-secondary svg {
  fill: var(--color-secondary);
}

.hero__cta-secondary:hover {
  color: var(--color-white);
  border-bottom-color: var(--color-secondary);
}

/* --- Player --- */
.hero__player {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(248, 250, 252, 0.12);
  box-shadow: var(--shadow-2xl);
  backdrop-filter: blur(8px);
}

.hero__video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: linear-gradient(140deg, #131C33 0%, #0B1220 55%, #1B1533 100%);
}

.hero__video-aviso {
  position: absolute;
  left: 50%;
  bottom: var(--space-lg);
  transform: translateX(-50%);
  z-index: 2;
  width: min(90%, 460px);
  margin: 0;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  background: rgba(11, 18, 32, 0.92);
  border: 1px solid rgba(248, 250, 252, 0.14);
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-gray-300);
  text-align: center;
}

.hero__video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Fachada: nenhum recurso do YouTube é carregado antes do clique. */
.hero__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  background: none;
  border: 0;
  cursor: pointer;
  color: var(--color-white);
  padding: var(--space-md);
  overflow: hidden;
}

.hero__facade-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.65;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.hero__facade-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.75) 100%);
  pointer-events: none;
}

.hero__facade:hover .hero__facade-thumb {
  opacity: 0.85;
  transform: scale(1.03);
}

.hero__facade-brand,
.hero__facade-title,
.hero__play,
.hero__facade-hint {
  position: relative;
  z-index: 2;
}

.hero__facade-brand img {
  width: auto;
  height: 28px;
  opacity: 0.9;
}

.hero__facade-title {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 20ch;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.hero__play {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--color-secondary);
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.45);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hero__play svg {
  width: 26px;
  height: 26px;
  margin-left: 4px;
  fill: #06281D;
  stroke: none;
}

.hero__facade:hover .hero__play,
.hero__facade:focus-visible .hero__play {
  transform: scale(1.06);
  box-shadow: 0 0 0 12px rgba(16, 185, 129, 0.16);
}

.hero__facade-hint {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gray-300);
  background: rgba(248, 250, 252, 0.1);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-md);
}

.hero__facade:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: -4px;
}

.hero__caption {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid rgba(248, 250, 252, 0.1);
  text-align: left;
}

.hero__caption-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(248, 250, 252, 0.1);
}

.hero__caption-icon svg {
  width: 12px;
  height: 12px;
  margin-left: 2px;
  fill: var(--color-white);
  stroke: none;
}

.hero__caption-text {
  flex-grow: 1;
  font-size: var(--text-sm);
  color: var(--color-gray-300);
  line-height: 1.4;
}

.hero__caption-arrow {
  flex-shrink: 0;
  color: var(--color-gray-400);
}

/* --- Abas Horizontais Entre Hero Text e Vídeo --- */
.hero__tabs-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-sm);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;
}

.hero__tabs-wrapper::-webkit-scrollbar {
  display: none;
}

.hero__tabs {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 16px;
  background: transparent;
  border: none;
  box-shadow: none;
  max-width: 100%;
}

.hero__tab {
  position: relative;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray-300);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(248, 250, 252, 0.12);
  border-radius: var(--radius-full);
  padding: 8px 18px;
  cursor: pointer;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.hero__tab:hover {
  color: var(--color-white);
  border-color: rgba(248, 250, 252, 0.25);
  background: rgba(30, 41, 59, 0.8);
  transform: translateY(-1px);
}

.hero__tab.is-active {
  color: var(--color-white);
  font-weight: 600;
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--color-secondary);
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.3);
}

.hero__tab:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}

/* --- Palco & Player Centralizado --- */
.hero__stage {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

/* Telas baixas: só o texto encolhe. O vídeo já se ajusta sozinho ao espaço
   que sobra, então não entra aqui. */
@media (min-width: 769px) and (max-height: 940px) {
  .hero {
    padding: var(--space-lg) 0;
  }

  .hero__title {
    font-size: clamp(1.5rem, 2.7vw, 2.3rem);
    margin-bottom: var(--space-md);
  }

  .hero__subtitle {
    font-size: var(--text-sm);
    margin-bottom: var(--space-md);
  }

  .hero__ctas {
    margin-bottom: var(--space-md);
  }

  .hero__stage {
    gap: var(--space-md);
  }

  .hero__facade-title {
    font-size: var(--text-lg);
  }

  .hero__play {
    width: 54px;
    height: 54px;
  }

  .hero__caption {
    padding: var(--space-sm) var(--space-lg);
  }
}

/* ============================================================
   7.1 A PLATAFORMA — REESTRUTURAÇÃO 2 COLUNAS & FEATURES
   ============================================================ */
.platform {
  background: var(--color-cloud);
  padding: var(--space-4xl) 0;
  border-bottom: 1px solid var(--color-gray-200);
  position: relative;
}

.platform__header {
  margin-bottom: var(--space-3xl);
  text-align: left;
  width: 100%;
  max-width: 100%;
}

.platform__header .section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.75rem);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
  color: var(--color-slate);
}

.platform__intro {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-gray-600);
}

.platform__grid {
  display: grid;
  /* fr em vez de 40%/60%: porcentagens somam 100% e o gap vira estouro
     horizontal na página inteira entre 992px e ~1080px. */
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: var(--space-2xl);
  align-items: center;
}

/* Coluna Esquerda: Features Cards */
.platform__features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.platform__card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-lg);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  cursor: pointer;
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.platform__card:hover,
.platform__card.is-active {
  transform: translateY(-3px);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
  background: #FFFFFF;
}

.platform__card.is-active {
  border-left: 4px solid var(--color-primary);
}

.platform__card-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  margin-bottom: var(--space-xs);
}

.platform__card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-lg);
  background: rgba(79, 70, 229, 0.1);
  color: var(--color-primary);
  flex-shrink: 0;
}

.platform__card-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.platform__card-icon--ai {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-secondary);
}

.platform__card-icon--api {
  background: rgba(79, 70, 229, 0.12);
  color: var(--color-primary);
}

.platform__card-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.platform__card-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.platform__card-badge--ai {
  color: var(--color-secondary);
}

.platform__card-badge--api {
  color: #6366F1;
}

.platform__card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-slate);
  letter-spacing: -0.01em;
}

.platform__card-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-gray-600);
  margin-top: var(--space-xs);
}

/* Coluna Direita: Baralho de Cartas (3D Deck) */
.platform__showcase {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.platform__deck {
  position: relative;
  width: 100%;
  min-height: 520px;
  perspective: 1000px;
}

.platform__deck-card {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-2xl);
  background: #0F172A;
  border: 1px solid rgba(248, 250, 252, 0.12);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
  transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), z-index 0.35s ease, box-shadow 0.35s ease;
  pointer-events: none;
  opacity: 1 !important;
  overflow: hidden;
}

/* Transições de empilhamento de baralho — mostra apenas o fragmento inferior */
.platform__deck-card[data-feature-index="0"] {
  transform: translateY(0px) scale(1);
  z-index: 4;
}

.platform__deck-card[data-feature-index="1"] {
  transform: translateY(14px) scale(0.96);
  z-index: 3;
}

.platform__deck-card[data-feature-index="2"] {
  transform: translateY(26px) scale(0.92);
  z-index: 2;
}

.platform__deck-card[data-feature-index="3"] {
  transform: translateY(38px) scale(0.88);
  z-index: 1;
}

/* Carta Ativa no topo do baralho */
.platform__deck-card.is-active {
  transform: translateY(-4px) scale(1) !important;
  z-index: 10 !important;
  opacity: 1 !important;
  pointer-events: auto;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.16);
  border-color: rgba(79, 70, 229, 0.25);
}

.platform__image-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  background: #0F172A;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.platform__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  border-radius: var(--radius-2xl);
}

.platform__deck-card[data-feature-index="1"] .platform__image,
.platform__deck-card[data-feature-index="3"] .platform__image {
  object-fit: cover;
  object-position: center;
}

.platform__image.is-hidden {
  display: none;
}

/* Mockup Fallback Placeholder */
.platform__placeholder-mockup {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  min-height: 520px;
  background: radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 40%),
              radial-gradient(circle at 20% 80%, rgba(79, 70, 229, 0.2) 0%, transparent 50%),
              #0F172A;
  color: var(--color-white);
  padding: var(--space-lg);
}

.platform__mockup-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(248, 250, 252, 0.1);
  margin-bottom: var(--space-lg);
}

.platform__mockup-dots {
  display: flex;
  gap: 6px;
}

.platform__mockup-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(248, 250, 252, 0.2);
}

.platform__mockup-dots span:nth-child(1) { background: #EF4444; }
.platform__mockup-dots span:nth-child(2) { background: #F59E0B; }
.platform__mockup-dots span:nth-child(3) { background: #10B981; }

.platform__mockup-label {
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-gray-400);
  letter-spacing: 0.04em;
}

.platform__mockup-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  flex-grow: 1;
}

.platform__mockup-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.platform__channel-pill {
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(248, 250, 252, 0.08);
  border: 1px solid rgba(248, 250, 252, 0.12);
  color: var(--color-cloud);
}

.platform__channel-pill--wa {
  border-color: rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
}

.platform__channel-pill--ig {
  border-color: rgba(236, 72, 153, 0.4);
  background: rgba(236, 72, 153, 0.12);
  color: #F472B6;
}

.platform__channel-pill--fb {
  border-color: rgba(59, 130, 246, 0.4);
  background: rgba(59, 130, 246, 0.12);
  color: #60A5FA;
}

.platform__mockup-chat-preview {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: auto;
  margin-bottom: auto;
}

.platform__chat-bubble {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  font-size: var(--text-sm);
}

.platform__chat-bubble--ai {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.platform__chat-bubble--status {
  background: rgba(79, 70, 229, 0.12);
  border-color: rgba(79, 70, 229, 0.3);
  text-align: center;
  padding: var(--space-xs) var(--space-md);
}

.platform__chat-sender {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-gray-400);
  margin-bottom: 4px;
}

.platform__avatar {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
}

.platform__avatar--ai {
  background: var(--color-secondary);
  color: #06281D;
}

.platform__status-tag {
  font-size: var(--text-xs);
  font-weight: 600;
  color: #818CF8;
}

/* Responsividade A Plataforma */
@media (max-width: 991px) {
  .platform__grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
  }

  .platform__showcase {
    order: 1; /* Imagens em primeiro lugar no mobile */
    width: 100%;
    cursor: pointer;
  }

  .platform__features {
    order: 2; /* Cards de texto abaixo no mobile */
    width: 100%;
  }

  .platform__image-container,
  .platform__placeholder-mockup {
    min-height: 380px;
  }
}

/* ============================================================
   8. PROBLEMA
   ============================================================ */
.problem {
  padding: var(--space-4xl) 0;
  background: var(--color-cloud);
  position: relative;
}

.problem .section-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

.problem__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-3xl);
}

.problem__intro {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-gray-500);
}

/* Sintomas: uma linha cada. Reconhecimento rápido, não leitura. */
.problem__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  list-style: none;
  margin-bottom: var(--space-3xl);
}

.problem__symptom {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-left: 4px solid var(--color-danger);
  border-radius: var(--radius-xl);
  padding: var(--space-md) var(--space-lg);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-slate-dark);
  line-height: 1.4;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
}

.problem__symptom:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(239, 68, 68, 0.35);
  border-left-color: #EF4444;
  box-shadow: 0 16px 32px rgba(239, 68, 68, 0.12), 0 6px 16px rgba(15, 23, 42, 0.06);
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F8 100%);
}

.problem__symptom svg {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  padding: 8px;
  background: rgba(239, 68, 68, 0.08);
  border-radius: var(--radius-md);
  stroke: var(--color-danger);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.problem__symptom:hover svg {
  background: rgba(239, 68, 68, 0.18);
  transform: scale(1.12) rotate(-5deg);
}

.problem__symptom span {
  transition: color var(--transition-fast);
}

.problem__symptom:hover span {
  color: #B91C1C;
}

.problem__closing {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
  font-size: var(--text-lg);
  line-height: 1.6;
  color: var(--color-slate);
}

.problem__closing strong {
  color: var(--color-primary);
}

/* ============================================================
   9. CONTRASTE DE CATEGORIA
   ============================================================ */
/* ============================================================
   9. CONTRASTE DE CATEGORIA — MAIS QUE UM CHATBOT (IA + HUMANO)
   ============================================================ */
.contrast {
  padding: var(--space-4xl) 0;
  background: #0B1220;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(248, 250, 252, 0.08);
  border-bottom: 1px solid rgba(248, 250, 252, 0.08);
}

.contrast__header-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  margin-bottom: var(--space-3xl);
}

.contrast__header-left .section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--color-white);
  margin-top: var(--space-sm);
  line-height: 1.15;
}

.contrast__header-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.contrast__sublabel {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
}

.contrast__intro {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-gray-300);
}

/* 3 Pilares Visuais da Operação Híbrida */
.contrast__pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.contrast__pillar-card {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(248, 250, 252, 0.12);
  border-radius: var(--radius-2xl);
  padding: var(--space-xl);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.contrast__pillar-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16, 185, 129, 0.4);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.contrast__pillar-card--featured {
  background: linear-gradient(145deg, rgba(79, 70, 229, 0.2) 0%, rgba(15, 23, 42, 0.8) 100%);
  border-color: rgba(79, 70, 229, 0.4);
  box-shadow: 0 12px 32px rgba(79, 70, 229, 0.15);
}

.contrast__pillar-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gray-400);
}

.contrast__pillar-badge--highlight {
  color: var(--color-secondary);
}

.contrast__pillar-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.01em;
}

.contrast__pillar-desc {
  font-size: var(--text-sm);
  line-height: 1.65;
  color: var(--color-gray-300);
}

/* Responsividade da Seção Contraste */
@media (max-width: 991px) {
  .contrast__header-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .contrast__pillars {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
}

/* ============================================================
   10. FEATURES GRID
   ============================================================ */
.features {
  padding: var(--space-4xl) 0;
  background: var(--color-cloud);
}

.features .section-title {
  font-size: var(--text-3xl); /* 30px instead of 48px */
  margin-bottom: var(--space-xs);
}

.features .section-subtitle {
  font-size: var(--text-base);
}

.features__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.features__header .section-subtitle {
  margin: 0 auto;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.features__card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-top: 4px solid var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.features__card:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(79, 70, 229, 0.35);
  border-top-color: #6366F1;
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12), 0 8px 20px rgba(15, 23, 42, 0.06);
  background: linear-gradient(135deg, #FFFFFF 0%, #F5F3FF 100%);
}

.features__card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: rgba(79, 70, 229, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.features__card:hover .features__card-icon {
  background: rgba(79, 70, 229, 0.18);
  transform: scale(1.12) rotate(-4deg);
}

.features__card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke var(--transition-fast);
}

.features__card-title {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.5;
  color: var(--color-slate-dark);
  margin-bottom: var(--space-lg);
  flex-grow: 1;
  transition: color var(--transition-fast);
}

.features__card:hover .features__card-title {
  color: #3730A3;
}

.features__card-feature {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(79, 70, 229, 0.12);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.features__card:hover .features__card-feature {
  border-top-color: rgba(79, 70, 229, 0.3);
  color: #4338CA;
}

/* ============================================================
   10.1 PARA QUEM É
   ============================================================ */
.audience {
  padding: var(--space-4xl) 0;
}

.audience__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* Faixa de segmentos logo abaixo do título: dá o alcance da plataforma de
   relance, sem disputar espaço com a checklist. */
.audience__pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  list-style: none;
  max-width: 780px;
  margin: 0 auto var(--space-4xl);
}

.audience__pills li {
  font-size: var(--text-sm);
  color: var(--color-gray-500);
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-md);
}

/* Sem painel: a checklist fica direto sobre a seção, centralizada. */
.audience__fit {
  max-width: 620px;
  margin: 0 auto;
}

.audience__fit-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--color-slate);
  text-align: center;
  margin-bottom: var(--space-xl);
}

.audience__checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.audience__checklist li {
  position: relative;
}

/* Caixa de seleção real: o rótulo inteiro é área de clique. */
.audience__check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  cursor: pointer;
  padding: var(--space-xs) var(--space-sm);
  margin-left: calc(var(--space-sm) * -1);
  border-radius: var(--radius-lg);
  transition: background-color var(--transition-fast);
}

.audience__check:hover {
  background: var(--color-white);
}

.audience__check-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.audience__check-caixa {
  position: relative;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border: 2px solid var(--color-gray-300, #CBD5E1);
  border-radius: 6px;
  background: var(--color-white);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.audience__check-caixa::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 4px;
  width: 6px;
  height: 11px;
  border-right: 2.5px solid var(--color-white);
  border-bottom: 2.5px solid var(--color-white);
  transform: rotate(45deg) scale(0.4);
  opacity: 0;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.audience__check-input:checked ~ .audience__check-caixa {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
}

.audience__check-input:checked ~ .audience__check-caixa::after {
  transform: rotate(45deg) scale(1);
  opacity: 1;
}

.audience__check-input:focus-visible ~ .audience__check-caixa {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.audience__check-texto {
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--color-slate);
}

.audience__check-input:checked ~ .audience__check-texto {
  font-weight: 500;
}

/* --- Ação que surge depois da primeira marcação --- */
.audience__acao {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-gray-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
  animation: audience-surge 200ms ease-out both;
}

@keyframes audience-surge {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

.audience__acao-texto {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-gray-500);
}

.audience__acao-texto strong {
  color: var(--color-slate);
}


/* ============================================================
   11. O FLUXO (bloco central)
   Âncora lateral sticky no desktop; empilhado no mobile.
   ============================================================ */
.flow {
  background: var(--color-white);
  padding: var(--space-4xl) 0;
}

.flow__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--space-4xl);
}

.flow__layout {
  display: grid;
  /* Colunas com largura própria e conjunto centralizado: com `1fr` na coluna
     das etapas, o texto ficava estreito num bloco largo e abria um vão branco
     enorme até o celular. */
  grid-template-columns: minmax(0, 520px) minmax(0, 360px);
  justify-content: center;
  gap: var(--space-3xl);
  align-items: start;
}

/* --- Etapas (à esquerda, são os controles da conversa) --- */
.flow__steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.flow__step {
  display: flex;
  align-items: flex-start;
  gap: var(--space-lg);
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  border-left: 2px solid var(--color-gray-200);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-lg);
  cursor: pointer;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.flow__step:hover {
  background: var(--color-cloud);
}

.flow__step.is-active {
  background: var(--color-cloud);
  border-left-color: var(--color-secondary);
}

.flow__step:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.flow__step-num {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-gray-400);
  padding-top: 2px;
  transition: color var(--transition-fast);
}

.flow__step.is-active .flow__step-num {
  color: var(--color-secondary);
}

.flow__step-corpo {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  min-width: 0;
}

.flow__step-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--color-gray-500);
  transition: color var(--transition-fast);
}

.flow__step.is-active .flow__step-title {
  color: var(--color-slate);
}

/* A descrição só abre na etapa ativa: mantém a lista curta e deixa claro
   que as etapas são navegáveis. */
.flow__step-desc {
  display: none;
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-gray-500);
  max-width: 52ch;
}

.flow__step.is-active .flow__step-desc {
  display: block;
}

.flow__step-tag {
  display: none;
  align-self: flex-start;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(79, 70, 229, 0.08);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-md);
  margin-top: var(--space-xs);
}

.flow__step.is-active .flow__step-tag {
  display: inline-block;
}

/* --- Celular --- */
.flow__phone {
  position: sticky;
  top: calc(var(--header-height) + var(--space-xl));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.wa {
  width: 100%;
  max-width: 340px;
  height: min(660px, calc(100vh - var(--header-height) - var(--space-4xl)));
  min-height: 480px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0B141A;
  border: 10px solid #0F172A;
  border-radius: 40px;
  box-shadow: var(--shadow-2xl), 0 0 0 1px rgba(248, 250, 252, 0.06);
}

.wa__bar {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  padding: var(--space-md) var(--space-md) var(--space-sm);
  background: #1F2C34;
}

.wa__back {
  display: flex;
  flex-shrink: 0;
  width: 16px;
  color: #8696A0;
}

.wa__back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wa__avatar {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #0B141A;
}

.wa__contato {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wa__contato strong {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #E9EDEF;
  line-height: 1.2;
}

.wa__status {
  font-size: 11px;
  color: #8696A0;
  line-height: 1.4;
}

/* --- Thread --- */
.wa__thread {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  margin: 0;
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  scrollbar-width: none;
  /* Trama discreta do papel de parede, sem custo de imagem. */
  background-color: #0B141A;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(248, 250, 252, 0.022) 0 2px, transparent 3px),
    radial-gradient(circle at 70% 65%, rgba(248, 250, 252, 0.02) 0 2px, transparent 3px);
  background-size: 90px 90px, 120px 120px;
}

.wa__thread::-webkit-scrollbar {
  display: none;
}

/* Ancora as mensagens embaixo, como num app de mensagens real. `margin-top:
   auto` no primeiro filho em vez de `justify-content: flex-end` porque este
   último corta o topo do conteúdo quando a conversa passa a rolar. */
.wa__thread > *:first-child {
  margin-top: auto;
}

.wa__msg {
  position: relative;
  max-width: 82%;
  padding: 6px 9px 5px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.42;
  color: #E9EDEF;
  animation: wa-entra 220ms ease-out both;
}

@keyframes wa-entra {
  from { opacity: 0; transform: translateY(8px) scale(0.97); }
  to   { opacity: 1; transform: none; }
}

.wa__msg--entrada {
  align-self: flex-start;
  background: #1F2C34;
  border-top-left-radius: 3px;
}

.wa__msg--saida {
  align-self: flex-end;
  background: #005C4B;
  border-top-right-radius: 3px;
}

.wa__texto {
  white-space: pre-line;
  margin: 0;
}

.wa__nota {
  margin: 4px 0 0;
  font-style: italic;
  color: #B7C4CC;
}

.wa__meta {
  display: block;
  margin-top: 2px;
  text-align: right;
  font-size: 10.5px;
  color: #8696A0;
}

.wa__tiques {
  margin-left: 4px;
  color: #53BDEB;
  letter-spacing: -2px;
}

/* --- Foto --- */
.wa__foto {
  position: relative;
  width: 210px;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 7px;
  overflow: hidden;
  background: #0F1B22;
}

.wa__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: wa-foto 320ms ease-out both;
}

@keyframes wa-foto {
  from { opacity: 0; filter: blur(8px); transform: scale(1.04); }
  to   { opacity: 1; filter: none; transform: none; }
}

/* Enquanto o arquivo não existe: espaço reservado, nunca imagem quebrada. */
.wa__foto.is-vazia::after {
  content: 'foto do serviço';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4A5B66;
  border: 1px dashed #26343D;
  border-radius: 7px;
}

/* --- Separador de dia --- */
.wa__data {
  align-self: center;
  margin: var(--space-sm) 0;
  animation: wa-entra 220ms ease-out both;
}

.wa__data span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: #1F2C34;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #8696A0;
}

/* --- Digitando --- */
.wa__msg--digitando {
  padding: 10px 12px;
}

.wa__pontos {
  display: flex;
  gap: 4px;
}

.wa__pontos i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #8696A0;
  animation: wa-ponto 1.2s infinite ease-in-out;
}

.wa__pontos i:nth-child(2) { animation-delay: 0.18s; }
.wa__pontos i:nth-child(3) { animation-delay: 0.36s; }

@keyframes wa-ponto {
  0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
  30%           { opacity: 1;    transform: translateY(-3px); }
}

/* --- Campo de digitação --- */
.wa__input {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
  padding: var(--space-sm) var(--space-md) var(--space-md);
  background: #0B141A;
}

.wa__campo {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 38px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 8px 12px;
  border-radius: var(--radius-full);
  background: #1F2C34;
  font-size: 13.5px;
  line-height: 1.35;
  color: #E9EDEF;
}

.wa__placeholder {
  color: #8696A0;
}

.wa__caret {
  display: inline-block;
  width: 1.5px;
  height: 15px;
  margin-left: 1px;
  background: var(--color-secondary);
  animation: wa-caret 1s step-end infinite;
}

@keyframes wa-caret {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0; }
}

.wa__send {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-secondary);
}

.wa__send svg {
  width: 16px;
  height: 16px;
  margin-left: 2px;
  fill: #06281D;
  stroke: none;
}

/* --- Ver de novo --- */
.wa__replay {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  background: none;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-full);
  padding: var(--space-xs) var(--space-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-gray-500);
  cursor: pointer;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

.wa__replay:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.wa__replay svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.flow__closing {
  max-width: 780px;
  margin: var(--space-4xl) auto 0;
  padding-top: var(--space-3xl);
  border-top: 1px solid var(--color-gray-200);
  text-align: center;
}

.flow__closing-text {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-slate);
  margin-bottom: var(--space-xl);
}

.flow__closing-text strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================================
   12. VOCÊ JÁ ESTÁ USANDO A CHATSELL
   ============================================================ */
.living-proof {
  padding: var(--space-4xl) 0;
  background: var(--color-slate);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.living-proof::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 0%, rgba(16, 185, 129, 0.16) 0%, transparent 55%);
  pointer-events: none;
}

.living-proof__inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.living-proof__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-lg);
}

.living-proof__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: var(--space-xl);
}

.living-proof__text {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--color-gray-300);
  margin-bottom: var(--space-2xl);
}

.living-proof__quote {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-style: italic;
  line-height: 1.6;
  color: var(--color-white);
  border-left: 3px solid var(--color-secondary);
  padding-left: var(--space-xl);
  text-align: left;
  max-width: 620px;
  margin: 0 auto;
}

.living-proof__quote::before {
  content: '\201C';
}

.living-proof__quote::after {
  content: '\201D';
}

/* ============================================================
   12.1 FAQ
   ============================================================ */
.faq {
  padding: var(--space-4xl) 0;
  background: var(--color-white);
}

.faq__header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--color-gray-200);
}

.faq__item {
  border-bottom: 1px solid var(--color-gray-200);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: var(--space-lg) 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-slate);
  transition: color var(--transition-fast);
}

.faq__question:hover {
  color: var(--color-primary);
}

.faq__question:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 4px;
}

/* Ícone de + que vira − ao abrir. */
.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 2px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast);
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__question[aria-expanded="true"] .faq__icon::after {
  transform: rotate(0deg);
}

.faq__answer {
  padding-bottom: var(--space-lg);
}

.faq__answer p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-gray-500);
  max-width: 68ch;
}

/* ============================================================
   13. CTA FINAL + FORMULÁRIO
   ============================================================ */
.cta-final {
  padding: var(--space-4xl) 0;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

.cta-final__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: var(--space-4xl);
  align-items: start;
}

.cta-final__title {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2xl);
}

/* Os 5 esclarecimentos da reunião: removem ansiedade antes do clique. */
.cta-final__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-2xl);
}

.cta-final__list li {
  position: relative;
  padding-left: var(--space-xl);
  font-size: var(--text-sm);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.cta-final__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--color-secondary);
  border-bottom: 2px solid var(--color-secondary);
  transform: rotate(-45deg);
}

.cta-final__list strong {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 2px;
}

.cta-final__buttons {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cta-final .hero__cta-secondary {
  color: rgba(255, 255, 255, 0.85);
}

.cta-final .hero__cta-secondary:hover {
  color: var(--color-white);
}

/* --- Formulário --- */
.demo-form {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-xl);
}

.demo-form__intro {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-gray-500);
  margin-bottom: var(--space-xl);
}

.demo-form__field {
  margin-bottom: var(--space-lg);
}

.demo-form__field label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gray-500);
  margin-bottom: var(--space-xs);
}

.demo-form select,
.demo-form textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-slate);
  background: var(--color-cloud);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-md);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.demo-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  background-size: 16px;
  padding-right: var(--space-2xl);
  cursor: pointer;
}

.demo-form textarea {
  resize: vertical;
  line-height: 1.6;
}

.demo-form select:focus,
.demo-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-subtle);
}

.demo-form .has-error {
  border-color: var(--color-danger);
}

.demo-form__error {
  display: block;
  margin-top: var(--space-xs);
  font-size: var(--text-xs);
  color: var(--color-danger);
}

.demo-form__submit {
  width: 100%;
  justify-content: center;
  margin-top: var(--space-xs);
}

.demo-form__note {
  margin-top: var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-gray-400);
  text-align: center;
}

/* ============================================================
   14. FOOTER
   ============================================================ */
.footer__lead-magnet {
  margin-top: var(--space-xl);
  padding: var(--space-lg);
  border: 1px dashed rgba(248, 250, 252, 0.2);
  border-radius: var(--radius-lg);
}

.footer__lead-title {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.35;
  margin-bottom: var(--space-xs);
}

.footer__lead-text {
  font-size: var(--text-xs);
  line-height: 1.5;
  color: var(--color-gray-400);
  margin-bottom: var(--space-md);
}

.footer__lead-link {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-secondary);
  transition: opacity var(--transition-fast);
}

.footer__lead-link:hover {
  opacity: 0.8;
}

.footer {
  background: #080C16;
  color: var(--color-gray-400);
  padding: var(--space-4xl) 0 var(--space-2xl);
  border-top: 1px solid rgba(248, 250, 252, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1.5fr 1fr;
  gap: var(--space-2xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.footer__col--brand {
  max-width: 320px;
}

.footer__logo {
  margin-bottom: var(--space-md);
}

.footer__logo img {
  height: 28px;
  max-height: 28px;
  width: auto;
}

.footer__tagline {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: var(--color-gray-400);
  margin-bottom: var(--space-lg);
}

.footer__meta-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gray-500);
  margin-bottom: var(--space-lg);
}

.footer__meta-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: rgba(248, 250, 252, 0.04);
  border: 1px solid rgba(248, 250, 252, 0.1);
  border-radius: var(--radius-lg);
  padding: 8px 12px;
  width: fit-content;
}

.footer__meta-badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer__meta-badge-text strong {
  font-size: 12px;
  color: var(--color-white);
}

.footer__meta-badge-text span {
  font-size: 10px;
  color: var(--color-gray-400);
}

.footer__col-title {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: var(--space-lg);
}

.footer__menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__menu-link {
  font-size: var(--text-sm);
  color: var(--color-gray-300);
  transition: color var(--transition-fast);
}

.footer__menu-link:hover {
  color: var(--color-white);
}

.footer__menu-link--highlight {
  color: var(--color-secondary);
  font-weight: 600;
}

.footer__info-text {
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-gray-400);
}

/* Barra Inferior */
.footer__bottom-bar {
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(248, 250, 252, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
  font-size: var(--text-xs);
  color: var(--color-gray-500);
}

.footer__legal-links {
  display: flex;
  gap: var(--space-xl);
}

.footer__legal-item {
  color: var(--color-gray-400);
  transition: color var(--transition-fast);
}

.footer__legal-item:hover {
  color: var(--color-white);
}

@media (max-width: 991px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }
}

@media (max-width: 576px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .footer__bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   15. FLOATING WHATSAPP BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--color-whatsapp);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  cursor: pointer;
  border: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

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

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  opacity: 0;
  animation: whatsapp-pulse 2s ease-out infinite;
  animation-delay: 3s;
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  opacity: 0;
  animation: whatsapp-pulse 2s ease-out infinite;
  animation-delay: 3.4s;
}

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

.whatsapp-float__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-white);
  color: var(--color-slate);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

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

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

/* ============================================================
   16. SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ============================================================
   17. MOBILE DRAWER
   ============================================================ */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--color-white);
  z-index: 200;
  padding: var(--space-3xl) var(--space-xl);
  /* Parqueado por transform, não por right negativo: posicionar fora da
     tela com offset criaria rolagem horizontal na página inteira. */
  transform: translateX(100%);
  visibility: hidden;
  transition: transform var(--transition-slow), visibility var(--transition-slow);
  box-shadow: var(--shadow-2xl);
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-drawer__overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.mobile-drawer__overlay.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-drawer__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-gray-100);
  transition: all var(--transition-base);
}

.mobile-drawer__close:hover {
  background: var(--color-gray-200);
  transform: rotate(90deg);
}

.mobile-drawer__close svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-slate);
  fill: none;
  stroke-width: 2;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.mobile-drawer__link {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-slate);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-gray-100);
  transition: color var(--transition-fast);
}

.mobile-drawer__link:hover {
  color: var(--color-primary);
}

/* ============================================================
   18. RESPONSIVE DESIGN
   ============================================================ */

/* --- 1024px Tablet Landscape --- */
/* ============================================================
   18. RESPONSIVE DESIGN (TABLETS & CELULARES)
   ============================================================ */

/* --- 1024px Tablet Landscape --- */
@media (max-width: 1024px) {
  :root {
    --text-hero: 2.5rem;
    --text-6xl: 2.75rem;
    --text-5xl: 2.25rem;
    --text-4xl: 1.85rem;
    --space-5xl: 5rem;
    --space-4xl: 3.5rem;
    --container-padding: 1.5rem;
  }

  .hero,
  .problem,
  .contrast,
  .features,
  .flow,
  .faq,
  .living-proof,
  .cta-final {
    height: auto;
    min-height: auto;
    padding: var(--space-3xl) 0;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-2xl);
  }

  .hero__subtitle {
    margin: 0 auto var(--space-xs);
  }

  .hero__ctas {
    justify-content: center;
  }

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

  .cta-final__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .flow__layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    justify-items: center;
  }

  .flow__phone {
    position: relative;
    top: 0;
    order: 1;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .wa {
    width: 100%;
    max-width: 340px;
    height: 540px;
    min-height: 420px;
    border: 8px solid #0F172A;
    border-radius: 32px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
  }

  .flow__steps {
    order: 2;
    width: 100%;
    max-width: 640px;
  }

  .contrast__row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

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

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

/* --- 768px Tablet Portrait & Celulares --- */
@media (max-width: 768px) {
  :root {
    --text-hero: 2rem;
    --text-6xl: 2.15rem;
    --text-5xl: 1.85rem;
    --text-4xl: 1.65rem;
    --text-3xl: 1.4rem;
    --space-5xl: 3.5rem;
    --space-4xl: 2.75rem;
    --space-3xl: 2.25rem;
    --container-padding: 1.25rem;
  }

  /* Ajuste Fino do Topbar para Celulares */
  .topbar {
    height: auto;
    min-height: var(--topbar-height);
    padding: 6px 12px;
  }

  .topbar__text {
    flex-direction: column;
    gap: 2px;
    text-align: center;
    font-size: 11px;
    line-height: 1.35;
  }

  .header__nav,
  .header__actions .btn {
    display: none;
  }

  .header__mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: var(--space-2xl) 0;
    align-items: center;
  }

  .hero__title {
    font-size: clamp(1.6rem, 5.5vw, 2.25rem);
    line-height: 1.28;
    max-width: 100%;
    margin: 0 auto var(--space-md);
  }

  .hero__subtitle {
    font-size: var(--text-base);
    line-height: 1.6;
  }

  .hero__facade-title {
    font-size: var(--text-lg);
  }

  .hero__play {
    width: 50px;
    height: 50px;
  }

  .hero__caption-arrow {
    display: none;
  }

  .hero__inner,
  .hero__stage {
    flex: 0 0 auto;
  }

  .hero__tabs-wrapper {
    margin: var(--space-xs) 0;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding: 4px 0;
    justify-content: flex-start;
  }

  .hero__tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    width: max-content;
    margin: 0;
    padding: 0 16px;
    background: transparent;
    border: none;
    box-shadow: none;
  }

  .hero__tab {
    padding: 7px 16px;
    font-size: 13px;
    flex-shrink: 0;
  }

  .hero__tabs-wrapper::-webkit-scrollbar,
  .hero__tabs::-webkit-scrollbar {
    display: none;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__ctas .btn {
    justify-content: center;
  }

  .hero__cta-secondary {
    justify-content: center;
  }

  .signals__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .problem__grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .problem__symptom {
    padding: 12px 14px;
    font-size: var(--text-sm);
  }

  .contrast__header-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    text-align: center;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .features__card {
    padding: var(--space-lg);
  }

  .features__card-title {
    font-size: 15px;
  }

  .audience__pills {
    gap: 8px;
    justify-content: center;
  }

  .audience__pills li {
    font-size: 12.5px;
    padding: 6px 14px;
  }

  .demo-form {
    padding: var(--space-lg) var(--space-md);
  }

  .demo-form__group select,
  .demo-form__group textarea,
  .demo-form__group input {
    font-size: 16px; /* Previne auto-zoom no iOS Safari ao focar no campo */
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .cta-final__title {
    font-size: var(--text-2xl);
  }

  .contrast__lead,
  .contrast__punch {
    font-size: var(--text-lg);
  }

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

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

  .whatsapp-float__tooltip {
    display: none;
  }
}

/* --- 576px Celulares Pequenos --- */
@media (max-width: 576px) {
  .wa {
    height: 480px;
    min-height: 380px;
    border-width: 6px;
    border-radius: 28px;
  }

  .wa__bar {
    padding: 10px 12px;
  }

  .wa__thread {
    padding: 12px 10px;
  }

  .platform__deck {
    min-height: 360px;
    height: 360px;
  }

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

  .footer__bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
  }
}
