/* ==========================================================================
   KOMVOS — IMERSÃO IA NA PRÁTICA | STYLE SYSTEM
   Diretrizes de Marca: 80% Neutros / 20% Cores de Destaque (Ciano Statum #00AFEF)
   Tipografia: Montserrat
   ========================================================================== */

:root {
  /* Escala de Neutros (80%) */
  --color-black: #111516;
  --color-dark-surface: #171b1d;
  --color-dark-card: #1d2225;
  --color-gray-dark: #2d3337;
  --color-gray: #939598;
  --color-gray-light: #e5e7eb;
  --color-bg-light: #f8fafc;
  --color-white: #ffffff;

  /* Cores de Destaque / Identidade (20%) */
  --color-statum-cyan: #00afef;
  /* Cor primária de CTAs e highlights */
  --color-statum-cyan-hover: #0093ca;
  --color-statum-cyan-light: rgba(0, 175, 239, 0.12);
  --color-statum-cyan-glow: rgba(0, 175, 239, 0.35);

  --color-komvos-teal: #00aa9e;
  /* Teal institucional */
  --color-komvos-teal-light: rgba(0, 170, 158, 0.12);

  --color-trusth-pink: #af005f;
  /* Rosa de apoio */
  --color-trusth-pink-light: rgba(175, 0, 95, 0.12);

  /* Sombras e Elevações */
  --shadow-sm: 0 2px 4px rgba(17, 21, 22, 0.05);
  --shadow-md: 0 6px 16px rgba(17, 21, 22, 0.08);
  --shadow-lg: 0 14px 34px rgba(17, 21, 22, 0.12);
  --shadow-cyan: 0 10px 25px rgba(0, 175, 239, 0.25);
  --shadow-card-dark: 0 12px 30px rgba(0, 0, 0, 0.4);

  /* Tipografia */
  --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset Básico & Estilos Globais */
html {
  scroll-behavior: smooth;
  font-family: var(--font-primary);
  color: var(--color-white);
  background-color: var(--color-black);
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  overflow-x: hidden;
  background-color: var(--color-black);
  color: var(--color-white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #111516;
}

::-webkit-scrollbar-thumb {
  background: #2d3337;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-statum-cyan);
}

/* Componentes de Tipografia */
.font-montserrat {
  font-family: var(--font-primary);
}

/* Badges e Selos */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 9999px;
  transition: all 0.25s ease;
}

.badge-cyan {
  background-color: rgba(0, 175, 239, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(0, 175, 239, 0.4);
}

.badge-cyan-dark {
  background-color: rgba(0, 175, 239, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(0, 175, 239, 0.4);
}

/* Botões de Ação de Alta Conversão */
.btn-primary-cta {
  background-color: var(--color-statum-cyan);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  border-radius: 0.75rem;
  padding: 1rem 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-cyan);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary-cta:hover {
  background-color: var(--color-statum-cyan-hover);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 175, 239, 0.4);
  color: var(--color-white);
}

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

/* Botão CTA da Oferta (Tamanho de fonte e padding otimizados para uma única linha) */
.btn-cta-oferta {
  font-size: 0.875rem !important;
  padding-left: 1rem !important;
  padding-right: 1rem !important;
  white-space: nowrap !important;
}

@media (min-width: 640px) {
  .btn-cta-oferta {
    font-size: 0.925rem !important;
  }
}

@media (max-width: 400px) {
  .btn-cta-oferta {
    font-size: 0.775rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}

/* =========================================================================
   HEADER / MENU FIXO - LOGO & CTA GLOW COM BRILHO PULSANTE
   ========================================================================= */

/* Logo do Grupo Komvos no Header (Aumentado em 15%) */
.header-logo {
  height: 41.4px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
}

@media (min-width: 640px) {
  .header-logo {
    height: 46px;
  }
}

.header-logo:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 10px rgba(0, 175, 239, 0.35));
}

/* Efeito de Highlight / Shimmer que passa pelo Botão CTA do Header */
.btn-header-glow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Feixe de Luz / Reflexo Highlight que passa pela CTA para chamar atenção */
.btn-header-glow::after {
  content: '';
  position: absolute;
  top: -60%;
  left: -160%;
  width: 55%;
  height: 220%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    rgba(255, 255, 255, 0.08) 20%,
    rgba(255, 255, 255, 0.75) 50%,
    rgba(255, 255, 255, 0.08) 80%,
    transparent 100%
  );
  transform: rotate(25deg);
  animation: headerShineSweep 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes headerShineSweep {
  0%, 20% {
    left: -160%;
  }
  60%, 100% {
    left: 190%;
  }
}

/* Botão Secundário / Outline */
.btn-outline-neutral {
  border: 1px solid var(--color-gray-dark);
  color: var(--color-white);
  padding: 0.875rem 1.75rem;
  border-radius: 0.75rem;
  font-weight: 600;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-outline-neutral:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: var(--color-statum-cyan);
  color: var(--color-statum-cyan);
}

/* Efeito de Conexões de Rede no Background */
.bg-grid-pattern {
  background-size: 32px 32px;
  background-image:
    linear-gradient(to right, rgba(147, 149, 152, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(147, 149, 152, 0.07) 1px, transparent 1px);
}

.bg-grid-dark {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}

.bg-grid-light {
  background-size: 40px 40px;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.065) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.065) 1px, transparent 1px);
}

/* Fundo Hero: Foto com Sobreposição em Preto e Quadriculado Preservado */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(17, 21, 22, 0.82) 0%, rgba(17, 21, 22, 0.80) 50%, rgba(17, 21, 22, 0.95) 100%),
    linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    url('../images/charles-forerunner-3fPXt37X6UQ-unsplash.jpg');
  background-size: auto, 36px 36px, 36px 36px, cover;
  background-position: center center;
  background-repeat: no-repeat, repeat, repeat, no-repeat;
  pointer-events: none;
}

/* ==========================================================================
   HERO CANVAS NATIVO (IMAGEM + LIGHT STREAKS TRAVADOS EM 5184x3456)
   ========================================================================== */
.hero-svg-canvas-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

/* Feixe de luz Opção 1: Tracing Beam / Speed Ray com cauda esticada e núcleo laser */
.streak-pulse {
  stroke-width: 9;
  stroke-linecap: round;
  fill: none;
  stroke: #ffffff;
  filter: url(#streak-lens-glow);
  stroke-dasharray: 65 185;
  stroke-dashoffset: 75;
  opacity: 0;
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: stroke-dashoffset, opacity;
}

/* Ativação dinâmica: disparo veloz com aceleração cúbica (0.32s a 0.48s) */
.streak-pulse.streak-active {
  animation: streak-travel-fast var(--streak-duration, 0.42s) cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes streak-travel-fast {
  0% {
    stroke-dashoffset: 75;
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  92% {
    opacity: 0.7;
  }

  100% {
    stroke-dashoffset: -105;
    opacity: 0;
  }
}

/* Framework Visual: Pessoas -> Processos -> IA -> Decisões -> Permissões -> Governança */
.framework-node {
  background: var(--color-dark-card);
  border: 1px solid var(--color-gray-dark);
  color: var(--color-white);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}

.framework-node:hover {
  border-color: var(--color-statum-cyan);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.framework-node.highlight-ia {
  background: linear-gradient(135deg, #111516 0%, #1c2225 100%);
  color: var(--color-statum-cyan);
  border-color: var(--color-statum-cyan);
}

/* Cards Premium - Experiência Aplicada (Spotlight Circular com Mouse) */
.card-premium {
  --mouse-x: -9999px;
  --mouse-y: -9999px;
  --mouse-active: 0;
  --card-radius: 1rem;

  --card-accent: #00AFEF;
  --card-glow: rgba(0, 175, 239, 0.85);
  --card-glow-inner: rgba(0, 175, 239, 0.12);

  background-color: #f8fafc;
  border: 1px solid #111516;
  border-radius: var(--card-radius);
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

/* Tipografia e linhas internas com contraste sobre fundo claro */
.card-premium h3 {
  color: #111516 !important;
}

.card-premium p {
  color: #4b5563 !important;
}

.card-premium .border-gray-200,
.card-premium .border-gray-800 {
  border-color: #e2e8f0 !important;
}

/* Reflexo suave da luz circular no interior do card seguindo o mouse */
.card-premium::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle 160px at var(--mouse-x, -9999px) var(--mouse-y, -9999px),
    var(--card-glow-inner) 0%,
    transparent 100%
  );
  pointer-events: none;
  opacity: var(--mouse-active, 0);
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* Feixe de luz circular nas bordas seguindo a posição do mouse */
.card-premium::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--card-radius) + 1px);
  padding: 2px;
  background: radial-gradient(
    circle 150px at var(--mouse-x, -9999px) var(--mouse-y, -9999px),
    var(--card-accent) 0%,
    var(--card-glow) 35%,
    transparent 100%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: var(--mouse-active, 0);
  transition: opacity 0.3s ease;
  z-index: 3;
  filter: drop-shadow(0 0 8px var(--card-glow));
}

/* Variações de cor do feixe de luz nas bordas conforme o ícone */
.card-premium.card-accent-cyan {
  --card-accent: #00AFEF;
  --card-glow: rgba(0, 175, 239, 0.85);
  --card-glow-inner: rgba(0, 175, 239, 0.12);
}

.card-premium.card-accent-teal {
  --card-accent: #00AA9E;
  --card-glow: rgba(0, 170, 158, 0.85);
  --card-glow-inner: rgba(0, 170, 158, 0.12);
}

.card-premium.card-accent-pink {
  --card-accent: #AF005F;
  --card-glow: rgba(175, 0, 95, 0.85);
  --card-glow-inner: rgba(175, 0, 95, 0.12);
}

.card-dark {
  background: var(--color-dark-card);
  border: 1px solid var(--color-gray-dark);
  border-radius: 1rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-dark:hover {
  border-color: var(--color-statum-cyan);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  transform: translateY(-3px);
}

/* Ajustes da Seção Entregas Concretas (Fundo Claro com Grid) */
#secao-entregas {
  background-color: #f8fafc;
}

#secao-entregas .card-dark {
  background: #171c1f;
  border: 1px solid #283138;
  box-shadow: 0 10px 25px rgba(17, 21, 22, 0.14);
  position: relative;
  z-index: 1;
}

#secao-entregas .card-dark:hover {
  border-color: var(--color-statum-cyan);
  box-shadow: 0 16px 32px rgba(0, 175, 239, 0.22), 0 8px 18px rgba(0, 0, 0, 0.16);
  transform: translateY(-4px);
}

/* ==========================================================================
/* ==========================================================================
   Cronograma Executivo - Accordion Interativo com Deep Dive & Entregáveis
   ========================================================================== */
.cronograma-accordion-item {
  transition: border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  background-color: #111516;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cronograma-accordion-item:hover {
  border-color: rgba(0, 175, 239, 0.45);
  box-shadow: 0 10px 30px -10px rgba(0, 175, 239, 0.16);
}

.cronograma-accordion-item.is-open {
  border-color: rgba(0, 175, 239, 0.65);
  background: linear-gradient(180deg, #13181a 0%, #101416 100%);
  box-shadow: 0 16px 36px -12px rgba(0, 175, 239, 0.22), 0 0 0 1px rgba(0, 175, 239, 0.25);
}

.cronograma-accordion-item.is-hero {
  border-color: rgba(0, 175, 239, 0.45);
  background: linear-gradient(135deg, rgba(0, 175, 239, 0.08) 0%, #111516 60%);
  box-shadow: 0 0 35px -5px rgba(0, 175, 239, 0.2);
}

.cronograma-accordion-item.is-hero.is-open {
  border-color: #00AFEF;
  box-shadow: 0 0 45px -5px rgba(0, 175, 239, 0.35), 0 0 0 1px rgba(0, 175, 239, 0.4);
}

.cronograma-number-badge {
  font-family: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.cronograma-accordion-item.is-open .cronograma-number-badge,
.cronograma-accordion-item:hover .cronograma-number-badge {
  background: linear-gradient(180deg, rgba(0, 175, 239, 0.25) 0%, rgba(0, 175, 239, 0.08) 100%);
  border-color: rgba(0, 175, 239, 0.6);
  color: #00AFEF;
}

.cronograma-chevron {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.cronograma-accordion-item.is-open .cronograma-chevron {
  transform: rotate(180deg);
  color: #00AFEF;
}

.cronograma-content-wrapper {
  overflow: hidden;
  transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.cronograma-deliverable-card {
  background: linear-gradient(135deg, rgba(0, 175, 239, 0.1) 0%, rgba(0, 175, 239, 0.02) 100%);
  border: 1px solid rgba(0, 175, 239, 0.25);
  box-shadow: inset 0 0 20px rgba(0, 175, 239, 0.05);
}

/* Inputs do Formulário */
.form-input-custom {
  width: 100%;
  background-color: #171b1d;
  border: 1px solid #2d3337;
  border-radius: 0.625rem;
  padding: 0.875rem 1rem;
  font-size: 0.95rem;
  color: #ffffff;
  transition: all 0.2s ease;
  outline: none;
}

.form-input-custom:focus {
  border-color: var(--color-statum-cyan);
  background-color: #1a1f22;
  box-shadow: 0 0 0 3px rgba(0, 175, 239, 0.25);
}

.form-input-custom::placeholder {
  color: #6b7280;
}

.form-input-custom option {
  background-color: #171b1d;
  color: #ffffff;
}

/* Spinner de Loading no Botão */
.spinner-btn {
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Acessibilidade - Focus Visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-statum-cyan);
  outline-offset: 2px;
}

/* ==========================================================================
   Malha SVG Interativa de Sistemas (Efeito Esfera 3D & Lente Convexa)
   ========================================================================== */
#secao-transformacao {
  position: relative;
  background-color: #f8fafc;
  overflow: hidden;
  touch-action: pan-y;
}

#system-mesh-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#mesh-lines-highlight {
  filter: drop-shadow(0 0 5px rgba(0, 175, 239, 0.5));
  transition: stroke 0.25s ease, opacity 0.25s ease, filter 0.25s ease;
}

#secao-transformacao.mesh-in-text-zone #mesh-lines-highlight {
  filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.25));
}

/* Card Glassmorphism Claro para o Bloco de Texto sobre a Malha */
.card-glass-light {
  background: rgba(255, 255, 255, 0.596);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(226, 232, 240, 0.6),
    inset 0 1px 1px rgba(255, 255, 255, 0.98);
  transition: all 0.3s ease;
}

.card-glass-light:hover {
  background: rgba(255, 255, 255, 0.534);
  box-shadow: 0 25px 45px -10px rgba(15, 23, 42, 0.10),
    0 0 0 1px rgba(0, 175, 239, 0.25),
    inset 0 1px 1px rgba(255, 255, 255, 1);
}

/* ==========================================================================
   SEÇÃO 7: PÚBLICO-ALVO — OVERLAY DE IMAGEM & CARDS GLASSMORPHISM ESCURO
   ========================================================================== */

/* Background com Imagem e Sobreposição Escura Preservando o Contraste */
.publico-bg-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to bottom, rgba(17, 21, 22, 0.86) 0%, rgba(17, 21, 22, 0.82) 50%, rgba(17, 21, 22, 0.94) 100%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    url('../images/mario-gogh-VBLHICVh-lI-unsplash.jpg');
  background-size: auto, 36px 36px, 36px 36px, cover;
  background-position: center center;
  background-repeat: no-repeat, repeat, repeat, no-repeat;
  pointer-events: none;
  z-index: 0;
}

/* Boxes com Efeito Glass 30% + Blur */
.card-glass-dark {
  background: rgba(17, 21, 22, 0.30);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.35),
              inset 0 1px 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-glass-dark:hover {
  background: rgba(17, 21, 22, 0.45);
  border-color: rgba(0, 175, 239, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.5),
              0 0 18px rgba(0, 175, 239, 0.2),
              inset 0 1px 1px 0 rgba(255, 255, 255, 0.18);
}

.card-glass-dark.highlight-teal {
  border-color: rgba(0, 170, 158, 0.35);
}

.card-glass-dark.highlight-teal:hover {
  background: rgba(17, 21, 22, 0.45);
  border-color: rgba(0, 170, 158, 0.55);
  box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.5),
              0 0 18px rgba(0, 170, 158, 0.25),
              inset 0 1px 1px 0 rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   SEÇÃO 8: CARROSSEL COM PONTO FOCAL & MÁSCARA EM DEGRADÊ DE OPACIDADE
   ========================================================================== */

/* ==========================================================================
   OPÇÃO 4: ARENA CURVA PANORÂMICA 3D (SEÇÃO DIFERENCIAIS ESTRATÉGICOS)
   Anfiteatro côncavo em arco com perspectiva panorâmica e ampla respiração
   ========================================================================== */

.arena-section-wrapper {
  user-select: none;
  -webkit-user-select: none;
  width: 100%;
  position: relative;
}

/* Container do Palco Panorâmico 3D */
.arena-stage-container {
  height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  touch-action: pan-y;
  padding: 1.5rem 0 5rem 0;
  /* Máscara de Degradê Suave nas Bordas Laterais (Opacidade vai a ZERO gradual nas extremidades - sem corte seco) */
  -webkit-mask-image: linear-gradient(to right, 
    transparent 0%, 
    rgba(0, 0, 0, 0.15) 5%, 
    rgba(0, 0, 0, 0.75) 15%, 
    rgba(0, 0, 0, 1) 24%, 
    rgba(0, 0, 0, 1) 76%, 
    rgba(0, 0, 0, 0.75) 85%, 
    rgba(0, 0, 0, 0.15) 95%, 
    transparent 100%);
  mask-image: linear-gradient(to right, 
    transparent 0%, 
    rgba(0, 0, 0, 0.15) 5%, 
    rgba(0, 0, 0, 0.75) 15%, 
    rgba(0, 0, 0, 1) 24%, 
    rgba(0, 0, 0, 1) 76%, 
    rgba(0, 0, 0, 0.75) 85%, 
    rgba(0, 0, 0, 0.15) 95%, 
    transparent 100%);
}

@media (max-width: 640px) {
  .arena-stage-container {
    height: 540px;
    padding: 0.75rem 0 4rem 0;
    -webkit-mask-image: linear-gradient(to right, 
      transparent 0%, 
      rgba(0, 0, 0, 0.2) 7%, 
      rgba(0, 0, 0, 0.8) 18%, 
      rgba(0, 0, 0, 1) 28%, 
      rgba(0, 0, 0, 1) 72%, 
      rgba(0, 0, 0, 0.8) 82%, 
      rgba(0, 0, 0, 0.2) 93%, 
      transparent 100%);
    mask-image: linear-gradient(to right, 
      transparent 0%, 
      rgba(0, 0, 0, 0.2) 7%, 
      rgba(0, 0, 0, 0.8) 18%, 
      rgba(0, 0, 0, 1) 28%, 
      rgba(0, 0, 0, 1) 72%, 
      rgba(0, 0, 0, 0.8) 82%, 
      rgba(0, 0, 0, 0.2) 93%, 
      transparent 100%);
  }
}

/* Base de Reflexo e Sombra Suave da Arena no Solo (Sem cortes) */
.arena-floor-ambient {
  position: absolute;
  bottom: 50px;
  width: 580px;
  max-width: 88%;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 175, 239, 0.22) 0%, rgba(15, 23, 42, 0.35) 45%, transparent 75%);
  filter: blur(18px);
  pointer-events: none;
}

/* O Palco de Perspectiva */
.arena-stage {
  width: 100%;
  height: 100%;
  position: relative;
  perspective: 1300px;
  perspective-origin: 50% 46%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arena-track {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Cada Card da Arena Panorâmica */
.arena-card {
  position: absolute;
  width: 330px;
  max-width: 86vw;
  height: 420px;
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

@media (max-width: 640px) {
  .arena-card {
    width: 295px;
    height: 410px;
  }
}

/* Interior do Card - Margens Internas Generosas (Não cola nas bordas) */
.arena-card-inner {
  width: 100%;
  height: 100%;
  padding: 2.25rem 2rem;
  box-sizing: border-box;
  background: linear-gradient(165deg, #181d20 0%, #101315 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 16px 36px rgba(10, 15, 20, 0.35);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

@media (max-width: 640px) {
  .arena-card-inner {
    padding: 1.85rem 1.6rem;
  }
}

/* Borda chanfrada de luz sutil (Bevel sheen) */
.arena-card-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16) 0%, rgba(0, 175, 239, 0) 50%, rgba(0, 175, 239, 0.22) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* Card Ativo Central (Em Foco Direto - Clicável para avançar) */
.arena-card.is-active {
  cursor: pointer;
}

.arena-card.is-active .arena-card-inner {
  background: linear-gradient(165deg, #1b2126 0%, #111516 100%);
  border-color: rgba(0, 175, 239, 0.7);
  box-shadow: 0 20px 42px -8px rgba(15, 23, 42, 0.65),
              0 10px 24px -6px rgba(0, 175, 239, 0.4),
              0 0 28px rgba(0, 175, 239, 0.22),
              inset 0 1px 1px rgba(255, 255, 255, 0.18);
}

.arena-card.is-active .arena-card-inner::before {
  background: linear-gradient(135deg, rgba(0, 175, 239, 0.95) 0%, rgba(0, 175, 239, 0.25) 55%, transparent 100%);
}

.arena-card:not(.is-active):hover .arena-card-inner {
  border-color: rgba(0, 175, 239, 0.4);
  box-shadow: 0 20px 42px rgba(10, 15, 20, 0.45);
}

/* Header e Tag do Card */
.arena-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.arena-pill {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
}

/* Badges / Navegadores dos 6 Pilares */
.arena-nav-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748b;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.arena-nav-pill:hover:not(.is-active) {
  color: #00AFEF;
  border-color: rgba(0, 175, 239, 0.45);
  background: #f8fafc;
  transform: translateY(-1px);
}

.arena-nav-pill.is-active {
  color: #ffffff;
  background: #111516;
  border-color: #00AFEF;
  box-shadow: 0 4px 14px rgba(0, 175, 239, 0.32);
  transform: translateY(-1px);
}

.arena-nav-pill .pill-num {
  font-family: monospace;
  font-weight: 800;
}

.arena-nav-pill .pill-label {
  display: none;
  font-weight: 600;
  font-size: 0.75rem;
}

@media (min-width: 640px) {
  .arena-nav-pill.is-active .pill-label {
    display: inline-block;
  }
}