/* ============================================================
   BKon Institucional — style.css v3
   Tokens: Azul Noturno #0A1020 | Azul BKon #2A6BF2 | Ciano #19C6D4
   Fontes: Space Grotesk (títulos) | IBM Plex Sans (corpo) | IBM Plex Mono (labels)
   Botões: 4 estados (default/hover/active/focus-visible) — animar só transform+opacity+box-shadow
   ============================================================ */

/* ---------- Tokens / variáveis ---------- */
:root {
  /* dark (default) */
  --bg:          #0A1020;
  --bg-card:     #111827;
  --bg-card-alt: #0F1929;
  --bg-section-alt: #0C1526;
  --border:      rgba(255, 255, 255, 0.07);
  --border-hover:rgba(41, 107, 242, 0.45);
  --text:        #F0F4FF;
  --text-muted:  #8B96AA;
  --text-on-gradient: #0A1020;

  /* accent */
  --blue:        #2A6BF2;
  --cyan:        #19C6D4;
  --cyan-dark:   #0EA5B0;   /* ciano acessível no light */
  --gradient:    linear-gradient(135deg, #2A6BF2 0%, #19C6D4 100%);

  /* radii */
  --r-sm:   8px;
  --r-md:  16px;
  --r-lg:  24px;
  --r-xl:  32px;

  /* shadow */
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-card-hover: 0 8px 40px rgba(41, 107, 242, 0.18);

  /* transition */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* section spacing */
  --section-gap: 96px;
  --section-gap-sm: 64px;
}

[data-theme="light"] {
  --bg:          #F6F7F9;
  --bg-card:     #FFFFFF;
  --bg-card-alt: #EFF2F7;
  --bg-section-alt: #EBF0F8;
  --border:      rgba(0, 0, 0, 0.07);
  --border-hover:rgba(41, 107, 242, 0.35);
  --text:        #0A1020;
  --text-muted:  #5A6577;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 40px rgba(41, 107, 242, 0.14);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  color-scheme: dark;
  scroll-padding-top: 72px; /* compensa header sticky */
}

html[data-theme="light"] {
  color-scheme: light;
}

body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  transition: background-color 220ms var(--ease), color 220ms var(--ease);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Utilitários ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

/* ---------- Estrutura de seção (reutilizável) ---------- */
.section-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-inner--narrow {
  max-width: 760px;
}

.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 20px;
}

.section-body {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 48px;
}

/* Link inline (em parágrafos de FAQ e processo) */
.inline-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 160ms var(--ease);
}

.inline-link:hover { color: var(--cyan); }

[data-theme="light"] .inline-link:hover { color: var(--blue); }

.inline-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease);
}

.header-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Logo */
.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  transition: opacity 160ms var(--ease);
}

.logo-link:hover { opacity: 0.82; }

.logo-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.logo-svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-wordmark {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

/* Nav direito */
.header-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Links de âncora no desktop */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin-right: 8px;
}

.nav-anchor {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color 160ms var(--ease), background-color 160ms var(--ease);
  min-height: 44px;
  display: flex;
  align-items: center;
  touch-action: manipulation;
}

.nav-anchor:hover {
  color: var(--text);
  background-color: var(--bg-card);
}

.nav-anchor:active {
  opacity: 0.75;
}

.nav-anchor:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Botão de contato no nav — terciário (sem competir com CTAs) */
.nav-link-contact {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  /* Transição: só border-color e color (sem background-color direto — jank no Safari) */
  transition:
    color 160ms var(--ease),
    border-color 160ms var(--ease),
    transform 120ms var(--ease),
    opacity 120ms var(--ease);
  min-height: 44px;
  display: flex;
  align-items: center;
  touch-action: manipulation;
  white-space: nowrap;
  position: relative;
}

/* Fundo via pseudo-elemento — evita animar background-color diretamente */
.nav-link-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--bg-card);
  opacity: 0;
  transition: opacity 160ms var(--ease);
}

.nav-link-contact span {
  position: relative;
  z-index: 1;
}

.nav-link-contact:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.nav-link-contact:hover::before {
  opacity: 1;
}

.nav-link-contact:active {
  transform: translateY(1px);
  opacity: 0.85;
}

.nav-link-contact:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Toggle de tema */
.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background-color 160ms var(--ease);
  touch-action: manipulation;
  flex-shrink: 0;
}

.theme-toggle:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background-color: var(--bg-card);
}

.theme-toggle:active {
  opacity: 0.75;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 200ms var(--ease);
}

.icon-moon { display: block; }
.icon-sun  { display: none;  }

[data-theme="light"] .icon-moon { display: none; }
[data-theme="light"] .icon-sun  { display: block; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 160ms var(--ease), border-color 160ms var(--ease), background-color 160ms var(--ease);
  touch-action: manipulation;
  flex-shrink: 0;
}

.nav-toggle:hover {
  color: var(--text);
  border-color: var(--border-hover);
  background-color: var(--bg-card);
}

.nav-toggle:active {
  opacity: 0.75;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.nav-toggle svg {
  width: 20px;
  height: 20px;
}

/* Menu mobile — oculto por default, visível quando .is-open */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 8px 24px 20px;
  transition: background-color 220ms var(--ease);
}

.mobile-menu.is-open {
  display: flex;
}

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

.mobile-nav-anchor {
  display: block;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: color 160ms var(--ease);
  min-height: 44px;
}

.mobile-nav-anchor:hover { color: var(--text); }

.mobile-nav-anchor:active { opacity: 0.7; }

.mobile-nav-anchor:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* CTA do menu mobile — primário (gradiente) */
.mobile-nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-top: 16px;
  padding: 12px 20px;
  border-radius: var(--r-md);
  background: var(--gradient);
  color: #fff;
  min-height: 48px;
  touch-action: manipulation;
  transition: transform 120ms var(--ease), box-shadow 120ms var(--ease), opacity 120ms var(--ease);
  box-shadow: 0 2px 12px rgba(42, 107, 242, 0.30);
}

.mobile-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(42, 107, 242, 0.45);
}

.mobile-nav-cta:active {
  transform: translateY(0);
  box-shadow: 0 1px 8px rgba(42, 107, 242, 0.25);
  opacity: 0.9;
}

.mobile-nav-cta:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* ============================================================
   MAIN
   ============================================================ */
main {
  flex: 1;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  padding: 104px 24px 88px;
  text-align: center;
}

/* Brilho sutil do farol — radial, discreto */
.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 560px;
  background: radial-gradient(ellipse at center top,
    rgba(42, 107, 242, 0.14) 0%,
    rgba(25, 198, 212, 0.07) 40%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

[data-theme="light"] .hero::before {
  background: radial-gradient(ellipse at center top,
    rgba(42, 107, 242, 0.07) 0%,
    rgba(25, 198, 212, 0.04) 40%,
    transparent 70%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 400ms var(--ease) 80ms forwards;
}

[data-theme="light"] .hero-eyebrow {
  /* ciano #19C6D4 sobre #F6F7F9 — contraste insuficiente para texto pequeno */
  color: var(--blue);
}

.hero-h1 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 400ms var(--ease) 160ms forwards;
}

.hero-subtitle {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 16px;
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 400ms var(--ease) 240ms forwards;
}

.hero-support {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 460px;
  margin: 0 auto 40px;
  animation: fadeUp 400ms var(--ease) 300ms forwards;
  opacity: 0;
  transform: translateY(10px);
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 400ms var(--ease) 360ms forwards;
}

/* ── HERO CTA PRIMÁRIO ──────────────────────────────────────
   Hierarquia: primário (gradiente + glow)
   Animações: só transform + box-shadow (GPU-only, zero repaint)
   Estados: default / hover / active / focus-visible
   ─────────────────────────────────────────────────────────── */
.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 14px 24px;
  border-radius: var(--r-md);
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 2px 16px rgba(42, 107, 242, 0.30);
  /* Só transform + box-shadow: GPU-acelerado, zero repaint */
  transition: transform 150ms ease-out, box-shadow 150ms ease-out;
  touch-action: manipulation;
  min-height: 48px;
  text-decoration: none;
}

.hero-cta-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(42, 107, 242, 0.45);
}

/* Active: botão volta ao lugar (sensação de pressão física) */
.hero-cta-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 8px rgba(42, 107, 242, 0.25);
}

.hero-cta-primary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.hero-cta-primary svg {
  width: 16px;
  height: 16px;
  transition: transform 150ms ease-out;
}

.hero-cta-primary:hover svg {
  transform: translateY(2px);
}

/* ── HERO CTA SECUNDÁRIO ────────────────────────────────────
   Hierarquia: secundário (outline/ghost)
   Sem competir visualmente com o primário
   ─────────────────────────────────────────────────────────── */
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 14px 24px;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: transparent;
  /* Só color + border-color + transform: evita animar background-color diretamente */
  transition:
    color 150ms ease-out,
    border-color 150ms ease-out,
    transform 150ms ease-out,
    opacity 150ms ease-out;
  touch-action: manipulation;
  min-height: 48px;
  text-decoration: none;
  position: relative;
}

/* Fundo via pseudo-elemento (zero repaint no hover) */
.hero-cta-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background-color: var(--bg-card);
  opacity: 0;
  transition: opacity 150ms ease-out;
}

.hero-cta-secondary span,
.hero-cta-secondary > svg {
  position: relative;
  z-index: 1;
}

.hero-cta-secondary:hover {
  color: var(--text);
  border-color: var(--border-hover);
}

.hero-cta-secondary:hover::before {
  opacity: 1;
}

.hero-cta-secondary:active {
  transform: translateY(1px);
  opacity: 0.85;
}

.hero-cta-secondary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

/* ============================================================
   SEÇÃO — O QUE É A BKON (manifesto / pilares)
   ============================================================ */
.about-section {
  padding: var(--section-gap) 0;
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease);
}

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

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}

.pillar-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.pillar-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(42, 107, 242, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
  transition: background-color 200ms var(--ease);
}

.pillar-card:hover .pillar-icon-wrap {
  background: rgba(42, 107, 242, 0.14);
}

.pillar-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.pillar-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 8px;
}

.pillar-text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* ============================================================
   SEÇÃO — AS DUAS FRENTES (expandido)
   ============================================================ */
.doors-section {
  padding: var(--section-gap) 0;
}

.doors-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.doors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}

/* Card de porta — div (não link) */
.door-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: var(--shadow-card);
  transition:
    transform 200ms var(--ease),
    box-shadow 200ms var(--ease),
    border-color 200ms var(--ease);
}

.door-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-hover);
}

.door-card-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.door-frente-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.door-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}

.door-card--consulting .door-icon {
  color: var(--cyan);
}

[data-theme="light"] .door-card--consulting .door-icon {
  color: var(--cyan-dark);
}

.door-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--text);
  line-height: 1.1;
}

.door-description {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.door-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
  flex: 1;
}

.door-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.door-bullets li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--blue);
}

.door-bullets--consulting li svg {
  color: var(--cyan);
}

[data-theme="light"] .door-bullets--consulting li svg {
  color: var(--cyan-dark);
}

/* ── DOOR CTA (primário — gradiente) ────────────────────────
   Estados: default / hover / active / focus-visible
   Só transform + box-shadow animados
   ─────────────────────────────────────────────────────────── */
.door-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: var(--r-md);
  align-self: flex-start;
  /* Só transform + box-shadow (GPU-only) */
  transition: transform 150ms ease-out, box-shadow 150ms ease-out;
  touch-action: manipulation;
  min-height: 44px;
  text-decoration: none;
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 2px 12px rgba(42, 107, 242, 0.30);
}

.door-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(42, 107, 242, 0.45);
}

.door-cta:active {
  transform: translateY(0);
  box-shadow: 0 1px 6px rgba(42, 107, 242, 0.22);
}

.door-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ── DOOR CTA OUTLINE (consultoria — secundário) ────────────
   Estados: default / hover / active / focus-visible
   ─────────────────────────────────────────────────────────── */
.door-cta--outline {
  background: transparent;
  color: var(--cyan);
  border: 1.5px solid var(--cyan);
  box-shadow: none;
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, opacity 150ms ease-out;
}

[data-theme="light"] .door-cta--outline {
  color: var(--cyan-dark);
  border-color: var(--cyan-dark);
}

.door-cta--outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(25, 198, 212, 0.20);
}

[data-theme="light"] .door-cta--outline:hover {
  box-shadow: 0 4px 14px rgba(14, 165, 176, 0.18);
}

.door-cta--outline:active {
  transform: translateY(0);
  opacity: 0.85;
  box-shadow: none;
}

.door-cta--outline:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

[data-theme="light"] .door-cta--outline:focus-visible {
  outline-color: var(--cyan-dark);
}

.door-cta svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 150ms ease-out;
}

.door-cta:hover svg {
  transform: translateX(2px);
}

/* ============================================================
   SEÇÃO — COMO A BKON ENTREGA (pipeline/stepper)
   ============================================================ */
.delivery-section {
  padding: var(--section-gap) 0;
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease);
}

.pipeline-steps {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  align-items: start;
  margin-top: 8px;
}

.pipeline-step-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 20px 16px;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
  position: relative;
}

.pipeline-step-item:hover {
  border-color: var(--border-hover);
  box-shadow: 0 4px 20px rgba(42, 107, 242, 0.12);
  transform: translateY(-2px);
}

.pipeline-step-item--accent {
  border-color: rgba(42, 107, 242, 0.25);
  background: rgba(42, 107, 242, 0.05);
}

[data-theme="light"] .pipeline-step-item--accent {
  background: rgba(42, 107, 242, 0.04);
}

.pipeline-step-item--accent:hover {
  border-color: rgba(42, 107, 242, 0.5);
}

/* Conector entre steps */
.pipeline-connector {
  align-self: center;
  height: 1px;
  background: var(--border);
  margin: 0 -1px;
  position: relative;
  z-index: 1;
}

.pipeline-step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.pipeline-step-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.pipeline-step-desc {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* ============================================================
   SEÇÃO — PARA QUEM É (audience)
   ============================================================ */
.audience-section {
  padding: var(--section-gap) 0;
}

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

.audience-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease), transform 200ms var(--ease);
}

.audience-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.audience-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: rgba(42, 107, 242, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}

.audience-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.audience-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 10px;
}

.audience-text {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--text-muted);
  flex: 1;
  margin-bottom: 24px;
}

/* Links terciários (audience) — sem fundo, cor apenas */
.audience-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  padding: 4px 0;
  border-radius: var(--r-sm);
  transition: color 160ms var(--ease), opacity 120ms var(--ease);
  touch-action: manipulation;
  align-self: flex-start;
}

.audience-link:hover { color: var(--cyan); }

.audience-link:active { opacity: 0.7; }

[data-theme="light"] .audience-link:hover { color: var(--blue); }

.audience-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.audience-link--cyan {
  color: var(--cyan);
}

[data-theme="light"] .audience-link--cyan {
  color: var(--cyan-dark);
}

.audience-link--cyan:hover {
  color: var(--blue);
}

.audience-link svg {
  width: 14px;
  height: 14px;
  transition: transform 150ms ease-out;
}

.audience-link:hover svg {
  transform: translateX(2px);
}

/* ============================================================
   SEÇÃO — DEMOS AO VIVO
   ============================================================ */
.demos-section {
  padding: var(--section-gap) 0;
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease);
}

.demos-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
}

.demo-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: var(--blue);
  background: rgba(42, 107, 242, 0.08);
  border: 1px solid rgba(42, 107, 242, 0.2);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

[data-theme="light"] .demo-chip {
  color: var(--blue);
  background: rgba(42, 107, 242, 0.06);
  border-color: rgba(42, 107, 242, 0.18);
}

/* ── DEMOS CTA (primário — gradiente) ───────────────────────
   Estados: default / hover / active / focus-visible
   ─────────────────────────────────────────────────────────── */
.demos-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--r-md);
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 2px 16px rgba(42, 107, 242, 0.30);
  /* Só transform + box-shadow */
  transition: transform 150ms ease-out, box-shadow 150ms ease-out;
  touch-action: manipulation;
  min-height: 48px;
  text-decoration: none;
}

.demos-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(42, 107, 242, 0.45);
}

.demos-cta:active {
  transform: translateY(0);
  box-shadow: 0 1px 8px rgba(42, 107, 242, 0.25);
}

.demos-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.demos-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 150ms ease-out;
}

.demos-cta:hover svg {
  transform: translateX(2px);
}

/* ============================================================
   SEÇÃO — COMO COMEÇAR (processo)
   ============================================================ */
.process-section {
  padding: var(--section-gap) 0;
}

.process-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: none;
  position: relative;
}

/* Linha vertical conectando os steps */
.process-steps::before {
  content: '';
  position: absolute;
  left: 22px;
  top: 44px;
  bottom: 44px;
  width: 1px;
  background: var(--border);
}

.process-step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
  padding-bottom: 40px;
}

.process-step:last-child {
  padding-bottom: 0;
}

.process-step-num {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}

.process-step:hover .process-step-num {
  background: rgba(42, 107, 242, 0.08);
  border-color: rgba(42, 107, 242, 0.4);
}

.process-step-body {
  padding-top: 8px;
}

.process-step-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 6px;
}

.process-step-desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 520px;
}

/* ============================================================
   SEÇÃO — FAQ
   ============================================================ */
.faq-section {
  padding: var(--section-gap) 0;
  background: var(--bg-section-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background-color 220ms var(--ease), border-color 220ms var(--ease);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  transition: border-color 220ms var(--ease);
}

.faq-item:first-child {
  border-top: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 16px;
  min-height: 64px;
  transition: color 160ms var(--ease);
  touch-action: manipulation;
}

.faq-question:hover { color: var(--blue); }

.faq-question:active { opacity: 0.75; }

.faq-question:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 200ms var(--ease), color 160ms var(--ease);
}

.faq-question[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue);
}

.faq-answer {
  padding: 0 0 24px;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ============================================================
   CTA FINAL — faixa gradiente (assinatura BKon)
   ============================================================ */
.cta-final {
  padding: var(--section-gap) 24px;
  background: var(--gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Reflexo sutil no fundo do gradiente */
.cta-final::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,
    rgba(255, 255, 255, 0.06) 0%,
    transparent 65%
  );
  pointer-events: none;
}

.cta-final-inner {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta-final-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(10, 16, 32, 0.65);
  margin-bottom: 16px;
}

.cta-final-title {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0A1020;
  margin-bottom: 16px;
}

.cta-final-subtitle {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(10, 16, 32, 0.72);
  margin-bottom: 36px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CTA FINAL BTN ──────────────────────────────────────────
   Fundo escuro sobre gradiente = contraste alto
   Focus-visible: ring branco (visível sobre gradiente)
   Sem animar background-color — usa opacity como sinal de active
   ─────────────────────────────────────────────────────────── */
.cta-final-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--r-md);
  background: #0A1020;
  color: #F0F4FF;
  box-shadow: 0 4px 20px rgba(10, 16, 32, 0.25);
  /* Só transform + box-shadow + opacity */
  transition: transform 150ms ease-out, box-shadow 150ms ease-out, opacity 120ms ease-out;
  touch-action: manipulation;
  min-height: 52px;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.cta-final-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(10, 16, 32, 0.40);
}

.cta-final-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(10, 16, 32, 0.20);
  opacity: 0.9;
}

/* Ring branco: visível sobre o gradiente azul→ciano do fundo */
.cta-final-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
  border-radius: var(--r-md);
}

.cta-final-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 150ms ease-out;
}

.cta-final-btn:hover svg {
  transform: translateX(2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  transition: border-color 220ms var(--ease);
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
}

.footer-copy a {
  color: var(--text-muted);
  transition: color 160ms var(--ease);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-copy a:hover { color: var(--text); }

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

.footer-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  transition: color 160ms var(--ease);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 8px 0;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.footer-links a:hover { color: var(--text); }

.footer-links a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ============================================================
   ANIMAÇÕES
   ============================================================ */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@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;
  }
}

/* ============================================================
   RESPONSIVO — 1024px (pipeline vira grid compacto)
   ============================================================ */
@media (max-width: 1024px) {
  .pipeline-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }

  /* esconde conectores num grid multi-linha */
  .pipeline-connector {
    display: none;
  }
}

/* ============================================================
   RESPONSIVO — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-gap: 64px;
  }

  /* Header: esconde nav-links e nav-link-contact texto, mostra hamburger */
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-link-contact span {
    display: none;
  }

  .nav-link-contact {
    padding: 8px 12px;
  }

  /* Hero */
  .hero {
    padding: 80px 20px 72px;
  }

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

  .hero-cta-primary,
  .hero-cta-secondary {
    justify-content: center;
    width: 100%;
  }

  /* Pilares */
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Frentes */
  .doors-section {
    padding: var(--section-gap) 0;
  }

  .doors-inner {
    padding: 0 20px;
  }

  .doors-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .door-card {
    padding: 32px 28px;
  }

  /* Pipeline */
  .pipeline-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* Audience */
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Section inner */
  .section-inner {
    padding: 0 20px;
  }

  /* FAQ */
  .faq-question {
    font-size: 0.9375rem;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ============================================================
   RESPONSIVO — 480px
   ============================================================ */
@media (max-width: 480px) {
  .logo-wordmark {
    font-size: 16px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .section-inner {
    padding: 0 16px;
  }

  .doors-inner {
    padding: 0 16px;
  }

  .site-footer {
    padding: 28px 16px;
  }

  .cta-final {
    padding: 64px 20px;
  }

  /* Pipeline: 1 coluna no mobile pequeno */
  .pipeline-steps {
    grid-template-columns: 1fr;
  }

  .pipeline-step-item {
    padding: 16px 14px;
  }

  /* Processo: ajusta linha vertical */
  .process-steps::before {
    left: 21px;
  }

  .hero {
    padding: 72px 16px 64px;
  }

  .mobile-menu {
    padding: 8px 16px 20px;
  }
}
