/* ==========================================================================
   VELINA SISTEMAS DIGITAIS — HIGH-TECH ARCHITECTURE & MINIMALIST SYSTEM
   Dual-Theme Engine (Light & Dark) with Official Brand Identity
   ========================================================================== */

:root {
  /* Common Brand Constants */
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #20BD5A;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition-theme: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
  --max-content-width: 1400px;
}

/* --------------------------------------------------------------------------
   LIGHT THEME (Default)
   -------------------------------------------------------------------------- */
[data-theme="light"] {
  --bg-canvas: #F6F6F9;
  --bg-gradient: radial-gradient(circle at 65% 40%, #FFFFFF 0%, #F5F5F8 60%, #ECECEF 100%);
  --bg-surface: #FFFFFF;
  --bg-surface-subtle: #F0F0F4;
  --bg-surface-elevated: #FFFFFF;
  --bg-dock: rgba(255, 255, 255, 0.84);
  
  --border-dock: rgba(255, 255, 255, 0.85);
  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-card: rgba(0, 0, 0, 0.06);
  --border-hairline: rgba(0, 0, 0, 0.04);

  --text-primary: #0D0E12;
  --text-secondary: #585C66;
  --text-muted: #8E929D;
  --text-inverse: #FFFFFF;

  --btn-primary-bg: #0D0E12;
  --btn-primary-text: #FFFFFF;
  --btn-primary-hover: #000000;

  --btn-icon-bg: #FFFFFF;
  --btn-icon-border: rgba(0, 0, 0, 0.08);
  --btn-icon-color: #0D0E12;

  --halo-border: rgba(255, 255, 255, 0.95);
  --halo-glow: 0 0 50px rgba(255, 255, 255, 0.8);

  --shadow-dock: 0 20px 48px rgba(0, 0, 0, 0.05), 0 4px 14px rgba(0, 0, 0, 0.02);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.03);
  --shadow-icon: 0 4px 12px rgba(0, 0, 0, 0.05);

  --pill-bg: rgba(255, 255, 255, 0.7);
  --card-highlight: #FAF9F6;
  --result-bg: #F4F8F5;
  --result-text: #1F6B38;
}

/* --------------------------------------------------------------------------
   DARK THEME
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
  --bg-canvas: #090B0E;
  --bg-gradient: radial-gradient(circle at 65% 40%, #161A20 0%, #0D1014 55%, #060709 100%);
  --bg-surface: #12161D;
  --bg-surface-subtle: #181D26;
  --bg-surface-elevated: #191E27;
  --bg-dock: rgba(16, 20, 26, 0.88);
  
  --border-dock: rgba(255, 255, 255, 0.1);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --border-card: rgba(255, 255, 255, 0.07);
  --border-hairline: rgba(255, 255, 255, 0.04);

  --text-primary: #FFFFFF;
  --text-secondary: #9DA5B4;
  --text-muted: #646C7B;
  --text-inverse: #0D0E12;

  --btn-primary-bg: #FFFFFF;
  --btn-primary-text: #0D0E12;
  --btn-primary-hover: #E8ECEF;

  --btn-icon-bg: #14171E;
  --btn-icon-border: rgba(255, 255, 255, 0.14);
  --btn-icon-color: #FFFFFF;

  --halo-border: rgba(255, 255, 255, 0.7);
  --halo-glow: 0 0 60px rgba(255, 255, 255, 0.4), 0 0 100px rgba(0, 240, 255, 0.15);

  --shadow-dock: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.15);
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-icon: 0 4px 16px rgba(0, 0, 0, 0.35);

  --pill-bg: rgba(25, 30, 40, 0.6);
  --card-highlight: #161B23;
  --result-bg: rgba(37, 211, 102, 0.08);
  --result-text: #4ADE80;
}

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

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: var(--transition-theme);
}

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

/* Site Canvas Shell */
.site-canvas {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-gradient);
  transition: var(--transition-theme);
}

/* ==========================================================================
   Top Navigation
   ========================================================================== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  padding: 20px 48px;
  background: rgba(246, 246, 249, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-theme);
}

[data-theme="dark"] .top-nav {
  background: rgba(9, 11, 14, 0.85);
}

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

/* Brand Group */
.brand-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-symbol-img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.brand-group:hover .brand-symbol-img {
  transform: scale(1.08);
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.brand-agency {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--text-muted);
  margin-top: 3px;
  transition: color 0.3s ease;
}

/* Center Menu */
.center-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.menu-link {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s ease;
  padding: 6px 0;
}

.menu-link:hover, .menu-link.active {
  color: var(--text-primary);
}

.active-dot {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--text-primary);
}

/* Right Controls */
.right-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--btn-icon-bg);
  border: 1px solid var(--btn-icon-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--btn-icon-color);
  cursor: pointer;
  transition: all 0.2s ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  border-color: var(--text-primary);
}

.whatsapp-header-btn:hover {
  color: var(--color-whatsapp);
  border-color: var(--color-whatsapp);
}

/* Theme Toggle Icons */
[data-theme="light"] .theme-icon.moon-icon { display: none; }
[data-theme="light"] .theme-icon.sun-icon { display: block; }
[data-theme="dark"] .theme-icon.sun-icon { display: none; }
[data-theme="dark"] .theme-icon.moon-icon { display: block; }

/* Primary Pill Button */
.pill-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.pill-btn-primary.large {
  padding: 14px 28px;
  font-size: 14px;
}

.pill-btn-primary .btn-arrow {
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.pill-btn-primary:hover {
  background-color: var(--btn-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.pill-btn-primary:hover .btn-arrow {
  transform: translate(2px, -2px);
}

/* Unified WhatsApp Pill Header Button */
.pill-btn-whatsapp-header {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.pill-btn-whatsapp-header.large {
  padding: 14px 28px;
  font-size: 14px;
}

.pill-btn-whatsapp-header .whatsapp-btn-icon {
  width: 18px;
  height: 18px;
  color: var(--color-whatsapp);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.pill-btn-whatsapp-header:hover {
  background-color: var(--btn-primary-hover);
  border-color: rgba(37, 211, 102, 0.4);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.2);
}

.pill-btn-whatsapp-header:hover .whatsapp-btn-icon {
  transform: scale(1.12);
}

/* Dedicated Solid WhatsApp CTA Button (High CRO Impact) */
.pill-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-whatsapp);
  color: #072211;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.32);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}

.pill-btn-whatsapp.large {
  padding: 16px 36px;
  font-size: 15px;
}

.pill-btn-whatsapp .whatsapp-btn-icon {
  width: 22px;
  height: 22px;
  color: #072211;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.pill-btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  color: #072211;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.45);
}

.pill-btn-whatsapp:hover .whatsapp-btn-icon {
  transform: scale(1.1);
}

/* ==========================================================================
   Hero Stage
   ========================================================================== */
.hero-stage {
  position: relative;
  width: 100%;
  padding: 64px 48px 48px 48px;
  display: flex;
  align-items: center;
}

.stage-container {
  max-width: var(--max-content-width);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.15fr 40px;
  align-items: center;
  gap: 48px;
}

.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 620px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--pill-bg);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

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

.hero-massive-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: clamp(40px, 4.4vw, 68px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero-massive-title .title-line.dark {
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.hero-massive-title .title-line.muted {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.hero-massive-title .highlight-word {
  color: var(--text-primary);
}

.decorative-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
}

.decorative-indicator .line {
  width: 32px;
  height: 2px;
  background-color: var(--text-primary);
}

.decorative-indicator .point {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--text-primary);
}

.hero-description {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions-row {
  display: flex;
  align-items: center;
  gap: 24px;
}

.secondary-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.secondary-action-btn .play-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--btn-icon-bg);
  border: 1px solid var(--btn-icon-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--btn-icon-color);
  transition: all 0.25s ease;
}

.secondary-action-btn:hover .play-circle {
  transform: scale(1.08);
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.secondary-action-btn:hover {
  color: var(--text-primary);
}

/* Hero Center Visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.halo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 2px solid var(--halo-border);
  box-shadow: var(--halo-glow);
  pointer-events: none;
  z-index: 1;
  transition: all 0.5s ease;
}

.cyborg-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  border-radius: 36px;
  overflow: hidden;
  mask-image: radial-gradient(circle at 50% 50%, black 72%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 72%, transparent 100%);
}

.cyborg-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cyborg-wrapper:hover .cyborg-img {
  transform: scale(1.03);
}

/* Side Pagination */
.side-pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  justify-self: end;
}

.page-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.page-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.page-bar {
  width: 1.5px;
  height: 22px;
  background-color: var(--text-primary);
}

.page-item.active .page-num {
  color: var(--text-primary);
}

/* ==========================================================================
   Floating Dock (Hero Base Preview)
   ========================================================================== */
.floating-dock-wrapper {
  position: relative;
  z-index: 30;
  width: 100%;
  padding: 0 48px 64px 48px;
}

.floating-dock {
  max-width: var(--max-content-width);
  margin: 0 auto;
  background: var(--bg-dock);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-dock);
  border-radius: 24px;
  padding: 20px 32px;
  box-shadow: var(--shadow-dock);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  transition: var(--transition-theme);
}

.dock-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease;
}

.dock-feature-item:hover {
  transform: translateY(-2px);
}

.feature-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dock-tag {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
}

.feature-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.feature-subtitle {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.35;
}

/* ==========================================================================
   Generic Content Section Architecture
   ========================================================================== */
.content-section {
  position: relative;
  width: 100%;
  padding: 100px 48px;
  border-top: 1px solid var(--border-subtle);
}

.section-container {
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.section-badge-center {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.section-headline-lg {
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.accent-text {
  color: var(--text-primary);
}

.section-lead-text {
  font-size: 19px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 12px;
  max-width: 800px;
}

.section-sub-text {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 760px;
}

/* ==========================================================================
   Section: O Problema & Diagrama de Convergência
   ========================================================================== */
.problem-header-block {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 56px auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.convergence-diagram-board {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 28px;
  padding: 48px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 1.1fr 140px 1.1fr;
  align-items: center;
  gap: 32px;
}

.diagram-side {
  padding: 24px;
  border-radius: 20px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-hairline);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.diagram-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.error-label { color: #DC2626; }
.success-label { color: #10B981; }

.nodes-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chaos-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--bg-surface);
  border: 1px dashed rgba(220, 38, 38, 0.4);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.dot-red {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #EF4444;
}

.side-caption {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Center Core */
.diagram-center-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.core-convergence-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--text-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.06);
  position: relative;
  text-align: center;
  padding: 8px;
}

[data-theme="dark"] .core-convergence-ring {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.06);
}

.core-logo-badge {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-bottom: 4px;
}

.core-label {
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  line-height: 1.1;
}

.convergence-arrows {
  margin-top: 12px;
  font-size: 22px;
  color: var(--text-muted);
  font-weight: 700;
}

/* Unified Side */
.unified-stack-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stack-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.check-symbol {
  color: #10B981;
  font-weight: 800;
  font-size: 14px;
}

.stack-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
}

/* ==========================================================================
   Section: Diferencial
   ========================================================================== */
.split-statement-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.2fr;
  gap: 64px;
  align-items: start;
}

.statement-headline {
  font-size: clamp(34px, 3.6vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-top: 16px;
  color: var(--text-primary);
}

.statement-lead {
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-primary);
  margin-bottom: 20px;
  font-weight: 600;
}

.statement-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.principles-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--border-subtle);
}

.principle-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: block;
}

.principle-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.principle-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   Section: Soluções (4 Pilares)
   ========================================================================== */
.solutions-header {
  max-width: 820px;
  margin-bottom: 56px;
}

.solutions-subheadline {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.pillars-main-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.pillar-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 40px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-primary);
}

.pillar-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.pillar-number {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.pillar-category {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.pillar-headline {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 28px;
  color: var(--text-primary);
}

.pillar-services-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex-grow: 1;
  margin-bottom: 32px;
}

.service-item {
  border-left: 2px solid var(--border-subtle);
  padding-left: 14px;
}

.service-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.service-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.pillar-card-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border-hairline);
}

.footer-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 6px;
  background: var(--bg-surface-subtle);
  color: var(--text-secondary);
}

/* ==========================================================================
   Section: Método (Como Funciona em 5 Etapas)
   ========================================================================== */
.process-header {
  max-width: 820px;
  margin-bottom: 56px;
}

.steps-flow-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.step-card-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.step-card-box:hover {
  transform: translateY(-3px);
}

.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.step-number {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-primary);
}

.step-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Section: Projetos
   ========================================================================== */
.projects-header-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
  gap: 40px;
}

.projects-lead {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 480px;
  line-height: 1.6;
}

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

.project-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.project-card:hover {
  border-color: var(--text-primary);
  transform: translateY(-4px);
}

.project-meta-bar {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.project-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.08em;
}

.project-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.project-name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.project-details-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-grow: 1;
  margin-bottom: 24px;
}

.detail-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.detail-value {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.project-result-box {
  background: var(--result-bg);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.result-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  color: var(--result-text);
  letter-spacing: 0.06em;
}

.result-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.45;
}

/* ==========================================================================
   Section: Para Quem É
   ========================================================================== */
.audiences-header {
  max-width: 820px;
  margin-bottom: 48px;
}

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

.audience-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.2s ease;
}

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

.audience-icon {
  font-size: 20px;
  color: var(--text-primary);
  line-height: 1;
}

.audience-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
}

.audience-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Section: CTA Final & WhatsApp
   ========================================================================== */
.section-cta-final {
  padding: 110px 48px;
}

.cta-conversion-card {
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: 36px;
  padding: 72px 56px;
  text-align: center;
  box-shadow: var(--shadow-dock);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-conversion-title {
  font-size: clamp(34px, 3.8vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 20px 0 20px 0;
  color: var(--text-primary);
  max-width: 760px;
}

.cta-conversion-text {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 640px;
  margin-bottom: 40px;
}

.cta-buttons-cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.whatsapp-secondary-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.25s ease;
}

.whatsapp-secondary-btn svg {
  color: var(--color-whatsapp);
}

.whatsapp-secondary-btn:hover {
  border-color: var(--color-whatsapp);
  background: rgba(37, 211, 102, 0.08);
  transform: translateY(-1px);
}

.cta-direct-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.dot-live {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-whatsapp);
  box-shadow: 0 0 6px var(--color-whatsapp);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  width: 100%;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 80px 48px 36px 48px;
  transition: var(--transition-theme);
}

.footer-container {
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-mission-text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 320px;
  margin-bottom: 16px;
}

.domain-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.footer-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.footer-nav-list a {
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--text-primary);
}

.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--border-hairline);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1200px) {
  .stage-container {
    grid-template-columns: 1fr 1fr;
  }
  .side-pagination {
    display: none;
  }
  .floating-dock {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-flow-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .projects-cards-grid {
    grid-template-columns: 1fr;
  }
  .convergence-diagram-board {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .diagram-center-core {
    transform: rotate(90deg);
    margin: 16px 0;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .top-nav {
    padding: 16px 24px;
  }
  .center-menu {
    display: none;
  }
  .hero-stage {
    padding: 36px 24px;
  }
  .stage-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .floating-dock-wrapper, .content-section, .site-footer {
    padding: 60px 24px;
  }
  .floating-dock {
    grid-template-columns: 1fr;
  }
  .split-statement-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .pillars-main-grid {
    grid-template-columns: 1fr;
  }
  .steps-flow-container {
    grid-template-columns: 1fr;
  }
  .audiences-grid {
    grid-template-columns: 1fr;
  }
  .cta-conversion-card {
    padding: 48px 24px;
  }
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   ADVANCED MOTION DESIGN & SCROLL ENGINE STYLES
   ========================================================================== */

/* Lenis Smooth Scroll Core */
html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

/* Hardware Acceleration & Transform Performance Hints */
.hero-massive-title,
.hero-description,
.badge-pill,
.floating-dock,
.pillar-card,
.step-card-box,
.project-card,
.audience-box,
.cta-conversion-card,
.convergence-diagram-board,
.core-convergence-ring {
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Enhanced Magnetic & Touch Micro-Interactions on Cards */
.pillar-card,
.project-card,
.step-card-box,
.audience-box {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  transform-style: preserve-3d;
}

.pillar-card:hover,
.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .pillar-card:hover,
[data-theme="dark"] .project-card:hover {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.5), 0 0 1px rgba(255, 255, 255, 0.2);
}

/* Core Convergence Ring Ambient Breathing Pulse */
.pulse-ring-ambient {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  opacity: 0.4;
  animation: corePulse 3.5s infinite ease-in-out;
  pointer-events: none;
}

@keyframes corePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.7;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  }
}

/* Subtle Link Underline Expansion */
.menu-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-link:hover::after {
  width: 100%;
}

.menu-link.active::after {
  display: none; /* Managed by active-dot */
}

/* Future-Ready Video Scrub Container Styles */
[data-scroll-scrub-container] {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

[data-scroll-scrub-target] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   Accessibility: Strict Prefers-Reduced-Motion Fallback
   ========================================================================== */
@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;
  }

  .pulse-ring-ambient,
  .pulse-indicator,
  .cyborg-img {
    animation: none !important;
  }

  .hero-visual,
  .hero-left,
  .floating-dock,
  .pillar-card,
  .step-card-box,
  .project-card {
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
  }
}

