/* ==========================================================================
   GPI — Gestão Política Integrada
   Design System & Experiência Fullpage SaaS Premium (CSS3 Puro)
   Estética inspirada em Linear, Stripe, Framer e Ramp.
   Execução nativa e ultraleve em PHP / Apache compartilhado.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Variáveis Globais & Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Cores de Superfície - Tema Dark Profundo */
  --bg-primary: #060911;
  --bg-secondary: #0a0f1d;
  --bg-surface: #0f172a;
  --bg-surface-elevated: #162038;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(22, 32, 56, 0.85);

  /* Tema Claro Alternante (Light Stage) */
  --light-bg-primary: #f8fafc;
  --light-bg-secondary: #f1f5f9;
  --light-bg-card: #ffffff;
  --light-border: rgba(0, 0, 0, 0.08);
  --light-text-main: #0f172a;
  --light-text-muted: #475569;
  --light-text-dim: #64748b;

  /* Bordas e Divisores */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-light: rgba(255, 255, 255, 0.12);
  --border-highlight: rgba(255, 255, 255, 0.22);
  --border-focus: #3b82f6;

  /* Tipografia & Cores de Texto */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #060911;

  /* Acentos de Marca */
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-blue-glow: rgba(37, 99, 235, 0.3);
  --accent-cyan: #06b6d4;
  --accent-cyan-subtle: rgba(6, 182, 212, 0.12);
  --accent-emerald: #10b981;
  --accent-emerald-subtle: rgba(16, 185, 129, 0.12);
  --accent-indigo: #6366f1;

  /* Alertas e Estados */
  --state-error: #ef4444;
  --state-error-bg: rgba(239, 68, 68, 0.12);
  --state-success: #10b981;
  --state-success-bg: rgba(16, 185, 129, 0.12);

  /* Espaçamentos e Dimensões Fullpage Inteligentes */
  --container-max: 1280px;
  --container-wide: 1440px;
  --header-height: 74px;
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Sombras e Iluminação */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 12px -2px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.5);
  --shadow-cinema: 0 30px 80px -20px rgba(0, 0, 0, 0.8), 0 0 60px -10px rgba(37, 99, 235, 0.25);
  --shadow-glow: 0 0 40px -8px rgba(37, 99, 235, 0.3);

  /* Transições Apple / Linear Easing */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 150ms var(--ease-out-expo);
  --transition-normal: 280ms var(--ease-out-expo);
  --transition-slow: 480ms var(--ease-out-expo);

  /* Font Stack */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.16) 0%, transparent 50%),
    radial-gradient(circle at 80% 25%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 20% 60%, rgba(99, 102, 241, 0.06) 0%, transparent 45%);
}

/* Barra de Progresso de Scroll no Topo */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan), var(--accent-emerald));
  z-index: 1001;
  transition: width 80ms linear;
  pointer-events: none;
}

/* Containers Fluidos & Inteligentes (Adaptação para Monitores Ultrawide / 2K / 4K) */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

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

@media (min-width: 1441px) {
  :root {
    --container-max: 1380px;
    --container-wide: 1540px;
  }
}

@media (min-width: 1680px) {
  :root {
    --container-max: 1520px;
    --container-wide: 1700px;
  }
}

@media (min-width: 1920px) {
  :root {
    --container-max: 1680px;
    --container-wide: 1880px;
  }
}

@media (min-width: 2560px) {
  :root {
    --container-max: 2000px;
    --container-wide: 2280px;
  }
}

.nav-target-anchor {
  position: relative;
  top: -80px;
  height: 0;
  width: 0;
  visibility: hidden;
  pointer-events: none;
}

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

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

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

/* --------------------------------------------------------------------------
   3. Tipografia & Títulos de Seção
   -------------------------------------------------------------------------- */
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section-kicker svg {
  flex-shrink: 0;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px auto;
}

.section-title {
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--text-main);
  margin-bottom: 16px;
  text-wrap: balance;
}

.section-description {
  font-size: clamp(0.925rem, 1.2vw, 1.05rem);
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   4. Botões & Microinterações
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  user-select: none;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

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

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--border-highlight);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0) scale(0.98);
}

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

.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
  min-height: 52px;
}

/* --------------------------------------------------------------------------
   5. Cabeçalho (Header) Flutuante com Glassmorphism
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background-color: rgba(6, 9, 17, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              background-color var(--transition-normal),
              border-color var(--transition-normal),
              box-shadow var(--transition-normal);
  will-change: transform;
}

.site-header.scrolled {
  background-color: rgba(6, 9, 17, 0.94);
  border-bottom-color: var(--border-light);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Ocultação e revelação suave ao rolar (hide on scroll down / reveal on scroll up) */
.site-header.header-hidden:not(:focus-within) {
  transform: translateY(-100%);
}

/* Mantém o cabeçalho visível durante interação ou gaveta aberta */
.site-header.drawer-open,
.site-header:focus-within {
  transform: translateY(0) !important;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo-img,
.header-logo img {
  height: 48px;
  width: auto;
  display: block;
  opacity: 0.96;
  transition: opacity var(--transition-fast);
}

.header-logo-img:hover {
  opacity: 1;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: #60a5fa;
  background-color: rgba(37, 99, 235, 0.1);
}

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

.mobile-menu-btn {
  display: none;
  color: var(--text-main);
  padding: 8px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
}

/* Gaveta Mobile */
.mobile-drawer {
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(6, 9, 17, 0.98);
  backdrop-filter: blur(20px);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition-normal);
  z-index: 99;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

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

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  padding: 8px 0;
}

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

/* --------------------------------------------------------------------------
   6. Hero Section — Showcase Monumental Fullpage & Airy Typography
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 110px;
  padding-bottom: 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(37, 99, 235, 0.22) 0%, transparent 70%),
    radial-gradient(circle 800px at 50% 250px, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 22px;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 36px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 24px rgba(37, 99, 235, 0.15);
}

.hero-pill-badge {
  background: linear-gradient(90deg, var(--accent-blue), var(--accent-cyan));
  color: #ffffff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 3px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.4);
}

.pulse-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
  display: inline-block;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.15;
  max-width: 34ch;
  margin: 0 auto 24px auto;
  color: #ffffff;
  text-wrap: pretty;
}

.hero-title span {
  background: linear-gradient(180deg, #93c5fd 0%, #38bdf8 60%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-lead {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: #cbd5e1;
  max-width: 960px;
  margin: 0 auto 20px auto;
  line-height: 1.75;
  font-weight: 400;
}

.hero-sublead {
  font-size: clamp(1.05rem, 1.8vw, 1.18rem);
  color: #94a3b8;
  max-width: 920px;
  margin: 0 auto 44px auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 0 84px 0;
}

/* Moldura Monumental do Dashboard (Cinema Frame) */
.hero-showcase-wrapper {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  perspective: 1200px;
}

.hero-glow-aura {
  position: absolute;
  top: 15%;
  left: 5%;
  right: 5%;
  bottom: 0;
  background: radial-gradient(circle at 50% 30%, rgba(37, 99, 235, 0.35) 0%, rgba(6, 182, 212, 0.15) 35%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.cinema-frame {
  position: relative;
  z-index: 2;
  border-radius: var(--radius-lg);
  background-color: #0b101d;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-cinema);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow);
}

.cinema-frame:hover {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 35px 90px -15px rgba(0, 0, 0, 0.85), 0 0 70px -10px rgba(37, 99, 235, 0.35);
}

.cinema-header {
  height: 44px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.window-dots {
  display: flex;
  align-items: center;
  gap: 7px;
}

.window-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
}

.dot-red { background-color: #ef4444; }
.dot-amber { background-color: #f59e0b; }
.dot-green { background-color: #10b981; }

.cinema-title-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px;
  background-color: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.cinema-badge-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #34d399;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cinema-body {
  position: relative;
  background-color: #080c16;
}

.cinema-body img {
  width: 100%;
  height: auto;
  display: block;
}

/* Badges Flutuantes de Destaque Técnico */
.floating-feature-tag {
  position: absolute;
  z-index: 3;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.floating-feature-tag.tag-top-left {
  top: 30px;
  left: 30px;
}

.floating-feature-tag.tag-bottom-right {
  bottom: 30px;
  right: 30px;
}

/* --------------------------------------------------------------------------
   7. Strip de Credibilidade e Métricas Operacionais
   -------------------------------------------------------------------------- */
.metrics-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background-color: rgba(10, 15, 29, 0.6);
  padding: 32px 0;
  margin-top: 70px;
}

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

.metric-strip-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 16px;
}

.metric-strip-item:not(:last-child) {
  border-right: 1px solid var(--border-subtle);
}

.metric-strip-val {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  background: linear-gradient(180deg, #ffffff 0%, #93c5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.metric-strip-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   8. Seção: A Virada de Chave Operacional (Dark Elegance & Alto Contraste)
   -------------------------------------------------------------------------- */
.section-transformacao {
  background-color: #080d19;
  padding: 110px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 10% 40%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
}

.contrast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 28px;
  margin-top: 56px;
}

.contrast-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, rgba(11, 18, 33, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.contrast-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.contrast-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.7), 0 0 30px rgba(37, 99, 235, 0.15);
}

.contrast-card:hover::before {
  opacity: 1;
}

.contrast-problem {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.contrast-label-problem {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #f87171;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.contrast-problem-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.5;
}

.contrast-solution {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contrast-label-solution {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38bdf8;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 4px;
}

.contrast-solution-desc {
  font-size: 0.975rem;
  color: #cbd5e1;
  line-height: 1.65;
}

.contrast-solution-desc strong {
  color: #ffffff;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   9. Showcase Interativo com Tabs / Scrollytelling Stage
   -------------------------------------------------------------------------- */
.section-dark {
  background-color: var(--bg-primary);
  padding: 100px 0;
  position: relative;
}

.tour-tabs-container {
  display: flex;
  justify-content: center;
  margin-bottom: 36px;
}

.tour-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background-color: rgba(15, 23, 42, 0.85);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.tour-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all var(--transition-normal);
}

.tour-tab:hover {
  color: var(--text-main);
  background-color: rgba(255, 255, 255, 0.04);
}

.tour-tab.active {
  color: #ffffff;
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.cinema-stage {
  position: relative;
  min-height: 500px;
  background-color: #080c16;
}

.cinema-panel {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.cinema-panel.active {
  display: block;
  opacity: 1;
}

.cinema-panel img {
  width: 100%;
  height: auto;
  display: block;
}

.cinema-overlay-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cinema-overlay-badge strong {
  color: var(--text-main);
  font-size: 0.9rem;
}

.cinema-overlay-badge span {
  color: #94a3b8;
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   10. Vitrines Monumentais de Produto (Deep Dive Showcases)
   -------------------------------------------------------------------------- */
.deep-dive-section {
  padding: 110px 0;
  position: relative;
}

.deep-dive-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.deep-dive-split.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.deep-dive-content h3 {
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 20px;
}

.deep-dive-content p.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon-wrapper {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-row-content strong {
  display: block;
  font-size: 1.025rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.feature-row-content span {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Moldura Grande das Vitrines */
.showcase-window {
  border-radius: var(--radius-lg);
  background-color: #0b101d;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-cinema);
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.showcase-window:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.3);
}

.showcase-window img {
  width: 100%;
  height: auto;
  display: block;
}

/* Estrutura Visual da Hierarquia em 7 Níveis */
.hierarchy-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 28px;
  padding: 16px;
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.hierarchy-node {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  background-color: rgba(37, 99, 235, 0.12);
  color: #93c5fd;
  border: 1px solid rgba(37, 99, 235, 0.25);
  transition: all var(--transition-fast);
}

.hierarchy-node:hover {
  background-color: rgba(37, 99, 235, 0.25);
  color: #ffffff;
  border-color: #3b82f6;
  transform: translateY(-1px);
}

.hierarchy-arrow {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   11. Seção "Por Que Escolher o GPI?" — Bento Grid
   -------------------------------------------------------------------------- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.bento-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  overflow: hidden;
}

.bento-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.bento-card:hover {
  background-color: var(--bg-card-hover);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(37, 99, 235, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #60a5fa;
  margin-bottom: 20px;
}

.bento-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.bento-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Callout Editorial: A diferença entre ter uma equipe e acompanhar sua operação */
.editorial-callout {
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.16) 0%, rgba(15, 23, 42, 0.95) 75%);
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  margin: 64px 0 0 0;
  box-shadow: var(--shadow-cinema);
}

.editorial-callout h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: 18px;
}

.editorial-callout p.callout-lead {
  font-size: 1.15rem;
  color: #cbd5e1;
  max-width: 840px;
  margin: 0 auto 28px auto;
  line-height: 1.7;
}

.editorial-highlight-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.editorial-tag {
  font-size: 0.925rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background-color: rgba(37, 99, 235, 0.14);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.editorial-tag svg {
  color: var(--accent-cyan);
}

/* --------------------------------------------------------------------------
   12. Seção de Demonstração Guiada & Formulário
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.12) 0%, rgba(15, 23, 42, 0.7) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(37, 99, 235, 0.28);
  padding: 64px 48px;
  text-align: center;
  margin-bottom: 60px;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-banner p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 32px auto;
  line-height: 1.65;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.contact-info-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px;
}

.contact-info-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

.contact-info-card p {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.info-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.info-point svg {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.contact-form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background-color: rgba(10, 15, 29, 0.8);
  border: 1px solid var(--border-light);
  color: var(--text-main);
  font-size: 0.95rem;
  font-family: inherit;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
  background-color: rgba(10, 15, 29, 0.95);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

.form-field-error {
  display: none;
  color: var(--state-error);
  font-size: 0.8rem;
  margin-top: 6px;
}

.form-field-error.visible {
  display: block;
}

.hp-trap {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  z-index: -1;
  pointer-events: none;
}

.form-feedback {
  display: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-feedback.success {
  background-color: var(--state-success-bg);
  border: 1px solid var(--state-success);
  color: #34d399;
}

.form-feedback.error {
  background-color: var(--state-error-bg);
  border: 1px solid var(--state-error);
  color: #f87171;
}

.spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn.loading .spinner {
  display: inline-block;
}

.btn.loading .btn-text {
  opacity: 0.7;
}

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

/* --------------------------------------------------------------------------
   13. Rodapé Institucional (Padrão Executivo Thiago Macêdo / JTLab)
   -------------------------------------------------------------------------- */
.site-footer,
#footer {
  border-top: 1px solid var(--border-subtle);
  background: #050d18;
  color: var(--text-muted);
  padding: 60px 0 32px 0;
  text-align: left;
}

.footer-shell {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-top-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(130px, 1fr)) minmax(180px, 1.2fr);
  gap: 32px;
  align-items: start;
}

.footer-nav-col {
  min-width: 0;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 480px;
}

.footer-logo-img {
  height: 64px;
  width: auto;
  display: block;
  opacity: 0.92;
  transition: opacity var(--transition-fast);
}

.footer-logo-img:hover {
  opacity: 1;
}

.footer-copy {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 460px;
  margin: 0;
}

.footer-col-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links-list li {
  margin: 0;
  padding: 0;
  line-height: 1.35;
}

.footer-links-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 1.35;
  display: inline-block;
  padding: 2px 0;
  transition: color var(--transition-fast);
}

.footer-links-list a:hover {
  color: #60a5fa;
}

/* Informações de Contato no Rodapé (Padrão JTLab) */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.footer-contact-list svg {
  color: #38bdf8;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-list a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.footer-contact-list a:hover {
  color: #ffffff;
}

.footer-contact-list span {
  color: var(--text-muted);
}

/* Bloco de Contato Direto na Seção Comercial (Padrão JTLab) */
.contato-direct-block {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contato-direct-title {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 20px;
}

.contato-info {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.demo-info-col {
  min-width: 0;
}

.contato-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
}

.contato-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(59, 130, 246, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #38bdf8;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.contato-item:hover .contato-icon {
  transform: translateY(-2px);
  background: rgba(37, 99, 235, 0.2);
  border-color: rgba(56, 189, 248, 0.5);
  color: #ffffff;
}

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

.contato-text strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #94a3b8;
  margin-bottom: 3px;
}

.contato-text a,
.contato-text span {
  font-size: 0.95rem;
  color: #f1f5f9;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.15s ease;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.contato-text a:hover {
  color: #38bdf8;
}

#footer .copyright,
.site-footer .copyright {
  width: 100%;
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-dim);
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.by-weth-link,
.footer-attribution {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
  transition: opacity var(--transition-fast);
  text-decoration: none;
}

.by-weth-link:hover,
.footer-attribution:hover {
  opacity: 1;
}

.by-weth-text {
  font-size: 0.8rem;
  color: var(--text-dim);
  white-space: nowrap;
  line-height: 1;
}

.by-weth-logo {
  height: 22px;
  width: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   Botão Voltar ao Topo (Padrão Thiago Macêdo / JTLab)
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 996;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--blue-accent, #2563eb);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.back-to-top:hover {
  background: #3b82f6;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.45);
  transform: translateY(0);
  color: #ffffff;
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 1200px) {
  .footer-top-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .site-footer .copyright {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .back-to-top {
    right: 16px;
    bottom: 16px;
    width: 38px;
    height: 38px;
  }
}

/* --------------------------------------------------------------------------
   14. Modal de Política de Privacidade
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background-color: #0f172a;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  max-width: 680px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-cinema);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-size: 1.25rem;
  color: var(--text-main);
}

.modal-close-btn {
  color: var(--text-muted);
  padding: 6px;
  border-radius: var(--radius-xs);
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.modal-body h4 {
  color: var(--text-main);
  margin: 18px 0 8px 0;
  font-size: 1.05rem;
}

.modal-body h4:first-child {
  margin-top: 0;
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: flex-end;
}

/* --------------------------------------------------------------------------
   15. Animações de Scroll (IntersectionObserver & Hardware Acceleration)
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transition: opacity 700ms var(--ease-out-expo), transform 700ms var(--ease-out-expo);
  will-change: opacity, transform;
}

[data-reveal="fade-up"] {
  transform: translateY(36px);
}

[data-reveal="fade-in"] {
  transform: translateY(0);
}

[data-reveal="scale-up"] {
  transform: translateY(24px) scale(0.97);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* --------------------------------------------------------------------------
   16. Responsividade e Mobile Adaptations
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .deep-dive-split,
  .deep-dive-split.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .metrics-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .metric-strip-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .nav-desktop,
  .header-actions .btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

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

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

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

  .metrics-strip-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip-item {
    border-right: none !important;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 16px;
  }

  .metric-strip-item:last-child {
    border-bottom: none;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form-card,
  .contact-info-card {
    padding: 24px;
  }

  .floating-feature-tag {
    display: none;
  }

  .cinema-header {
    padding: 0 12px;
  }

  .cinema-title-bar {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .editorial-callout {
    padding: 36px 20px;
  }

  .editorial-callout h3 {
    font-size: 1.5rem;
  }
}

/* Suporte Estrito a prefers-reduced-motion */
@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;
  }

  [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ==========================================================================
   17. COMPONENTES COMERCIAIS & VITRINES REAIS MULTI-DISPOSITIVO (2026-11)
   ========================================================================== */

/* Helpers de Layout & Tipografia */
.max-w-760 { max-width: 760px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.btn-full { width: 100%; justify-content: center; }
.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; }
.hidden { display: none !important; }

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.section-tag.light {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

.section-title {
  font-size: clamp(1.4rem, 2.6vw, 2.15rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  text-wrap: balance;
}
.section-title.dark {
  color: #0f172a;
}

.section-lead {
  font-size: clamp(0.925rem, 1.2vw, 1.05rem);
  line-height: 1.6;
  color: var(--text-muted);
}
.section-lead.light-muted {
  color: #475569;
}

/* Vitrine de Produtos & Mockups Reais Multi-Dispositivo */
.product-showcase-wrapper,
.feature-visual-block {
  margin-top: 48px;
  background: #060911;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-cinema);
  position: relative;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  transition: max-width 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-radius 0.35s ease,
              border-color 0.35s ease,
              box-shadow 0.35s ease;
}

.feature-visual-block {
  margin-top: 0;
}

.showcase-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  flex-wrap: wrap;
  gap: 12px;
  transition: justify-content 0.3s ease, padding 0.3s ease, background-color 0.3s ease;
}

.window-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}
.window-controls .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.window-controls .dot.red { background: #ef4444; }
.window-controls .dot.yellow { background: #eab308; }
.window-controls .dot.green { background: #22c55e; }

.window-title-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.device-switch-pills {
  display: flex;
  gap: 4px;
  background: rgba(0, 0, 0, 0.35);
  padding: 3px;
  border-radius: var(--radius-full);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}
.device-switch-pills::-webkit-scrollbar {
  display: none;
}

.device-pill {
  border: none;
  background: transparent;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}
.device-pill:hover {
  color: var(--text-main);
}
.device-pill.active {
  background: var(--accent-blue);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 1px 4px rgba(37, 99, 235, 0.4);
}

.showcase-screen-container {
  background: #060911;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.device-frame {
  display: none;
  width: 100%;
  animation: fadeInFrame 0.25s ease-out;
}
.device-frame.active {
  display: flex;
  justify-content: center;
  align-items: center;
}

@keyframes fadeInFrame {
  from { opacity: 0; transform: scale(0.99); }
  to { opacity: 1; transform: scale(1); }
}

/* Modos Adaptativos da Moldura por Dispositivo */
[data-device-mode="desktop"] {
  max-width: 100%;
  border-radius: var(--radius-lg);
}
[data-device-mode="desktop"] .desktop-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
[data-device-mode="desktop"] .desktop-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

[data-device-mode="tablet"] {
  max-width: 680px;
  border-radius: 22px;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 25px 70px -12px rgba(0, 0, 0, 0.85), 0 0 40px -10px rgba(37, 99, 235, 0.2);
}
[data-device-mode="tablet"] .tablet-frame {
  padding: 0;
  width: 100%;
}
[data-device-mode="tablet"] .tablet-frame img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

[data-device-mode="mobile"] {
  max-width: 380px;
  border-radius: 32px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 80px -10px rgba(0, 0, 0, 0.9), 0 0 35px -8px rgba(37, 99, 235, 0.25);
}
[data-device-mode="mobile"] .window-controls {
  display: none;
}
[data-device-mode="mobile"] .showcase-header-bar {
  justify-content: center;
  padding: 10px 14px;
  background: rgba(13, 19, 33, 0.95);
}
[data-device-mode="mobile"] .mobile-frame {
  padding: 0;
  width: 100%;
}
[data-device-mode="mobile"] .mobile-frame img {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  border: none;
  box-shadow: none;
}

.showcase-caption {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  color: var(--text-dim);
}
.caption-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 8px var(--accent-emerald);
}

/* 02 Pain Points Grid */
.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pain-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: all var(--transition-normal);
}
.pain-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-light);
  background: rgba(22, 32, 56, 0.75);
}
.pain-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.12);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.pain-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.pain-text {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 03 Pillars Grid */
.pillars-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.pillar-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.pillar-number {
  font-size: 0.85rem;
  font-weight: 800;
  color: #2563eb;
  font-family: var(--font-mono);
  margin-bottom: 12px;
}
.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}
.pillar-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
.pillar-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.pillar-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* 04-07 Two Column Features */
.feature-two-col {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.feature-two-col.reverse {
  grid-template-columns: 1.15fr 1fr;
}
.feature-two-col.reverse .feature-text-block {
  order: 2;
}
.feature-two-col.reverse .feature-visual-block {
  order: 1;
}

.feature-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}
.feature-check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-check-list strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 2px;
}
.feature-check-list span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Hierarquia e Topologia */
.hierarchy-flow-box {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  margin: 24px 0;
}
.h-step {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-xs);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}
.h-step span {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}
.h-step.highlight {
  background: rgba(37, 99, 235, 0.2);
  border: 1px solid rgba(37, 99, 235, 0.4);
  color: #93c5fd;
}
.h-step.highlight span {
  background: #2563eb;
  color: #fff;
}
.h-arrow {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.8rem;
  padding: 2px 0;
}

.callout-card {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.callout-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: #60a5fa;
  margin-bottom: 4px;
}
.callout-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.tech-spec-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.spec-card {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}
.spec-icon {
  font-size: 1.25rem;
}
.spec-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}
.spec-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.contexts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 24px;
}
.context-pill-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.ctx-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  margin-bottom: 8px;
}
.context-pill-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* 08 Origin Banner — Layout Aberto Editorial (Sem Card) */
.section-origin-highlight {
  padding: 100px 0;
  position: relative;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
}
.origin-banner {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
.origin-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}
.origin-header {
  text-align: center;
  margin-bottom: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.origin-title {
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  font-weight: 800;
  line-height: 1.24;
  color: #ffffff;
  margin: 0 auto 22px;
  letter-spacing: -0.025em;
  max-width: 44ch;
  text-align: center;
  text-wrap: balance;
}
.origin-divider {
  height: 2px;
  width: 64px;
  background: #2563eb;
  margin: 0 auto 32px;
}
.origin-content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.origin-lead {
  font-size: clamp(0.925rem, 1.2vw, 1rem);
  line-height: 1.7;
  color: #cbd5e1;
}
.origin-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 36px;
}
.origin-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.metric-val {
  font-size: 2.25rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-mono);
  text-align: center;
  line-height: 1.1;
}
.metric-lbl {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
  text-wrap: balance;
}

/* Apresentação Complementar: Extensão Institucional & Entidades */
.origin-scope-callout {
  margin-top: 44px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(56, 189, 248, 0.22);
  border-radius: var(--radius-md);
  padding: 32px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  text-align: center;
}
.origin-scope-callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #38bdf8, #2563eb, transparent);
}
.scope-callout-header {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.scope-callout-tag {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}
.scope-callout-title {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin: 0;
  width: 100%;
  text-align: center;
  text-wrap: balance;
}
.scope-callout-text {
  font-size: clamp(0.9rem, 1.15vw, 0.975rem);
  color: #cbd5e1;
  line-height: 1.65;
  margin: 0;
  width: 100%;
  max-width: 100%;
  text-align: center;
  text-wrap: pretty;
}

/* 09 Security Grid */
.security-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.security-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
}
.sec-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.12);
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.sec-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}
.sec-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* 10 Demonstration Form */
.section-demo-cta {
  padding: 100px 0;
  background: radial-gradient(circle at 70% 30%, rgba(37, 99, 235, 0.1) 0%, transparent 60%);
}
.demo-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 60px;
  align-items: start;
}
.demo-heading {
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.demo-text {
  font-size: clamp(0.925rem, 1.2vw, 1.025rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}
.demo-perks-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.perk-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: #cbd5e1;
}
.perk-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-emerald-subtle);
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.form-card {
  background: rgba(15, 23, 42, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-cinema);
}
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  margin-bottom: 18px;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 6px;
}
.form-label .required {
  color: var(--state-error);
}
.form-label .optional {
  font-weight: 400;
  color: var(--text-dim);
  font-size: 0.775rem;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(6, 9, 17, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xs);
  padding: 11px 14px;
  color: #f8fafc;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  transition: all var(--transition-fast);
}
input[type="email"],
#email {
  text-transform: lowercase;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
  background: rgba(10, 15, 29, 0.95);
}
.form-select {
  cursor: pointer;
}
.form-select optgroup {
  background: #0b1120;
  color: #94a3b8;
  font-weight: 700;
  font-style: normal;
  padding: 6px 4px 2px 4px;
}
.form-select option {
  background: #0f172a;
  color: #f8fafc;
  padding: 6px 10px;
}
.field-error-msg {
  font-size: 0.775rem;
  color: var(--state-error);
  display: block;
  margin-top: 4px;
  min-height: 16px;
}
.input-error {
  border-color: var(--state-error) !important;
}

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-xs);
  margin-bottom: 20px;
  font-size: 0.9rem;
  line-height: 1.45;
}
.alert-success {
  background: var(--state-success-bg);
  border: 1px solid var(--state-success);
  color: #34d399;
}
.alert-error {
  background: var(--state-error-bg);
  border: 1px solid var(--state-error);
  color: #f87171;
}

.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
  margin-left: 8px;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Ações do Formulário: Cloudflare à Esquerda e Botão à Direita */
.form-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin: 18px 0 12px 0;
}

.turnstile-wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
}

.form-submit-wrap {
  margin-left: auto;
  display: flex;
  justify-content: flex-end;
}

.btn-submit-contact {
  width: auto;
  min-width: 160px;
  padding: 11px 26px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.form-guarantee-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.775rem;
  color: var(--text-dim);
  margin-top: 16px;
}

/* Ajustes Responsivos 1024px & 768px para os novos blocos */
@media (max-width: 1024px) {
  .feature-two-col,
  .feature-two-col.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .feature-two-col.reverse .feature-text-block {
    order: 1;
  }
  .feature-two-col.reverse .feature-visual-block {
    order: 2;
  }
  .pain-points-grid,
  .pillars-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .security-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .origin-content-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-top-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .pain-points-grid,
  .pillars-showcase-grid,
  .security-grid {
    grid-template-columns: 1fr;
  }
  .origin-banner {
    padding: 0;
  }
  .origin-metrics-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .form-card {
    padding: 24px 18px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   18. REFINAMENTO EDITORIAL FULLPAGE & DESIGN ENGINEERING (EMIL KOWALSKI & IMPECCABLE)
   ========================================================================== */

/* 1. Superfícies do Navegador: Seleção & Scrollbar */
::selection {
  background: #2563eb;
  color: #ffffff;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #060911;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.28);
}

:focus-visible {
  outline: 2px solid #3b82f6;
  outline-offset: 3px;
}

/* 2. Hero Section: Fullpage Cadence */
.hero-section {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 100px 0;
  position: relative;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin: 0 auto 24px auto;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero-pill-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  box-shadow: 0 0 8px #3b82f6;
}

.hero-title {
  font-size: clamp(1.75rem, 4.2vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #f8fafc;
  text-align: center;
  text-wrap: pretty;
  max-width: 34ch;
  margin: 0 auto 20px auto;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  line-height: 1.6;
  color: #94a3b8;
  max-width: 70ch;
  margin: 0 auto 36px auto;
  text-align: center;
  text-wrap: pretty;
}

/* 3. Micro-interações Táteis (Emil Kowalski) */
.btn {
  transition: transform 140ms cubic-bezier(0.16, 1, 0.3, 1), background-color 140ms ease, box-shadow 140ms ease;
  will-change: transform;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: scale(0.97) translateY(0);
  transition-duration: 60ms;
}

.device-pill {
  transition: transform 120ms cubic-bezier(0.16, 1, 0.3, 1), background-color 120ms ease, color 120ms ease;
}
.device-pill:active {
  transform: scale(0.94);
  transition-duration: 50ms;
}

/* 4. Molduras de Hardware e Telas Reais */
.product-showcase-wrapper,
.feature-visual-block {
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.8), 0 0 50px -10px rgba(37, 99, 235, 0.2);
}

/* --------------------------------------------------------------------------
   Cadência Fullpage & Alternância de Superfícies das Seções
   -------------------------------------------------------------------------- */
.section {
  position: relative;
  padding: clamp(76px, 8.5vh, 120px) 0;
}

/* 02 Desafio: Superfície Elevada Navy/Slate com Gradiente */
#desafio {
  padding: clamp(80px, 9vh, 130px) 0;
  background-color: #0b1222;
  background-image: linear-gradient(180deg, #090e1a 0%, #0d1527 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* 03 Plataforma / Pilares: Fundo Primário Escuro */
.section-pillars,
#plataforma {
  background: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: clamp(76px, 8.5vh, 120px) 0;
}

/* 04 Territorial: Superfície Elevada Navy com Iluminação Azul */
#territorial {
  background-color: #0a1122;
  background-image: radial-gradient(ellipse 70% 60% at 85% 50%, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
  border-top: 1px solid rgba(37, 99, 235, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* 05 Mobilização: Fundo Primário com Toque Esmeralda */
#mobilizacao {
  background-color: var(--bg-primary);
  background-image: radial-gradient(ellipse 70% 60% at 15% 50%, rgba(16, 185, 129, 0.07) 0%, transparent 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* 06 Comunicação: Superfície Elevada Navy com Iluminação Ciano */
#comunicacao {
  background-color: #0a1122;
  background-image: radial-gradient(ellipse 70% 60% at 85% 50%, rgba(6, 182, 212, 0.1) 0%, transparent 70%);
  border-top: 1px solid rgba(6, 182, 212, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* 07 Gestão & Agenda: Fundo Primário com Toque Índigo */
#gestao {
  background-color: var(--bg-primary);
  background-image: radial-gradient(ellipse 70% 60% at 15% 50%, rgba(99, 102, 241, 0.07) 0%, transparent 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* 08 Diferencial: Palco Editorial em Azul Marinho Rico */
.section-origin-highlight,
#diferencial {
  padding: 110px 0;
  position: relative;
  background-color: #0b1326;
  background-image: radial-gradient(ellipse 70% 50% at 50% 50%, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
  border-top: 1px solid rgba(37, 99, 235, 0.28);
  border-bottom: 1px solid rgba(37, 99, 235, 0.28);
}

/* 09 Segurança: Fundo Primário Escuro para Destaque dos Cards */
#seguranca {
  background-color: var(--bg-primary);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* 10 Demonstração / Contato: Palco Elevado com Ambient Light */
.section-demo-cta,
#demonstracao {
  background-color: #0a1122;
  background-image: 
    radial-gradient(circle at 75% 30%, rgba(37, 99, 235, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(6, 182, 212, 0.08) 0%, transparent 60%);
  border-top: 1px solid rgba(37, 99, 235, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* 11 Rodapé */
.site-footer,
#footer {
  background: #04070e;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 5. Matriz de Transformação: Fragmentado vs Integrado */
.transformation-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 52px;
  margin-bottom: 16px;
}
.matrix-column {
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
}
.matrix-traditional {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.07);
}
.matrix-gpi {
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(15, 23, 42, 0.85));
  border: 1px solid rgba(37, 99, 235, 0.35);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}
.matrix-tag {
  display: inline-block;
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.tag-warning {
  background: rgba(234, 179, 8, 0.12);
  color: #facc15;
}
.tag-success {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}
.matrix-title {
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 8px;
  letter-spacing: -0.015em;
}
.matrix-desc {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.55;
  margin-bottom: 28px;
}
.matrix-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.matrix-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.matrix-bullet {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}
.bullet-neg {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
}
.bullet-pos {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
}
.matrix-list strong {
  display: block;
  font-size: 0.95rem;
  color: #f8fafc;
  margin-bottom: 2px;
}
.matrix-list span {
  font-size: 0.885rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* 6. Ícones Authored para Specs de Comunicação */
.spec-icon-box {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.12);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 7. Ícone de Visto para Perks da Demonstração */
.perk-check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* 8. Pílula do Diferencial de Origem */
.origin-pill {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  border: 1px solid rgba(56, 189, 248, 0.2);
}

/* 9. Responsividade da Matriz de Transformação e Features */
@media (max-width: 900px) {
  .section,
  .section-dark-card,
  #desafio {
    padding: 72px 0;
  }
  .transformation-matrix {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 36px;
    margin-bottom: 8px;
  }
  .feature-two-col,
  .feature-two-col.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .origin-content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }
}

/* 10. Formato Widescreen 16:9 Expandido & Adaptativo (Estilo GabiFlow / Linear) */
.hero-container .product-showcase-wrapper {
  width: 100%;
  margin: 56px auto 0 auto;
}

.hero-container .product-showcase-wrapper[data-device-mode="desktop"] {
  max-width: 100%;
}

.hero-container .product-showcase-wrapper[data-device-mode="tablet"] {
  max-width: 680px;
}

.hero-container .product-showcase-wrapper[data-device-mode="mobile"] {
  max-width: 380px;
}

.desktop-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #060911;
  position: relative;
}

.desktop-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

@media (min-width: 901px) {
  .feature-two-col {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 56px;
    align-items: center;
  }

  .feature-two-col.reverse {
    grid-template-columns: 1.35fr 1fr;
  }
}

@media (max-width: 900px) {
  .feature-two-col,
  .feature-two-col.reverse {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .feature-two-col.reverse .feature-text-block {
    order: 1;
  }
  .feature-two-col.reverse .feature-visual-block {
    order: 2;
  }
}

.feature-visual-block .product-showcase-wrapper {
  margin-top: 0;
  width: 100%;
}

/* 11. Barra Superior Minimalista (Sem menus sobrecarregados) */
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

@media (min-width: 769px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
  }
}

.nav-desktop .nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-desktop .nav-link:hover,
.nav-desktop .nav-link.active {
  color: #ffffff;
}

.nav-desktop .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-blue);
  border-radius: 2px;
}

/* 12. Pilares da Plataforma em Tema Dark Executivo (Sem cards brancos, sem numeração) */
.section-pillars {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 110px 0;
}

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

.pillar-card-dark {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  position: relative;
}

.pillar-card-dark:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.4);
  background: rgba(22, 32, 56, 0.7);
}

.pillar-card-dark .pillar-icon-box {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(37, 99, 235, 0.12);
  color: #60a5fa;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.pillar-card-dark .pillar-title {
  font-size: clamp(1.05rem, 1.4vw, 1.15rem);
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.pillar-card-dark .pillar-desc {
  font-size: 0.925rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.pillar-card-dark .pillar-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #60a5fa;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.pillar-card-dark .pillar-link:hover {
  color: #93c5fd;
  transform: translateX(3px);
}

@media (max-width: 1024px) {
  .pillars-dark-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .pillars-dark-grid {
    grid-template-columns: 1fr;
  }
}

/* 13. Salvaguardas Responsivas e Mobile (320px - 768px) */
@media (max-width: 768px) {
  .header-logo-img {
    height: 30px;
  }
  .nav-desktop,
  .header-actions .btn {
    display: none !important;
  }
  .demo-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .form-select,
  .form-input,
  .form-textarea {
    font-size: 16px; /* Evita auto-zoom no foco em dispositivos móveis */
  }
}

@media (max-width: 480px) {
  .header-logo-img {
    height: 26px;
  }
  .container,
  .container-wide {
    padding: 0 16px;
  }
  .origin-scope-callout {
    padding: 22px 18px;
  }
  .form-card {
    padding: 20px 14px;
  }
  .btn-lg {
    padding: 14px 20px;
    font-size: 0.975rem;
  }
}

/* --------------------------------------------------------------------------
   14. Botão Flutuante do WhatsApp (Padrão JTLab)
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 2px 8px rgba(0, 0, 0, 0.35);
  z-index: 1040;
  transition: transform 180ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 180ms ease, background-color 180ms ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.06);
  background: #20ba59;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.55), 0 4px 12px rgba(0, 0, 0, 0.4);
  color: #ffffff;
}

.whatsapp-float:active {
  transform: scale(0.96);
  transition-duration: 60ms;
}

.whatsapp-float svg {
  display: block;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  pointer-events: none;
}

@media (max-width: 576px) {
  .whatsapp-float {
    left: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

