/* ==========================================================================
   POLEN GROWTH FORMULA — BIOTECH PREMIUM DESIGN SYSTEM (CSS)
   ========================================================================== */

/* BRAND FONTS */
@font-face {
  font-family: 'PP Editorial New';
  src: url('PPEditorialNew-Ultralight.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'PP Editorial New';
  src: url('PPEditorialNew-UltralightItalic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: block;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('SFPRODISPLAYREGULAR.woff2') format('woff2');
  font-weight: 100 500;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'SF Pro Display';
  src: url('SFPRODISPLAYBOLD.woff2') format('woff2');
  font-weight: 600 900;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('JetBrainsMono-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}

:root {
  /* Color Palette - Polen Identity */
  --cream-base:    #F5F0E8;
  --cream-warm:    #EDE6D6;
  --sage-primary:  #8B9E7E;
  --sage-light:    #A8BC9B;
  --sage-deep:     #6B7E5E;
  --sage-darkest:  #3E4D35;
  --text-primary:  #2C2C2A;
  --text-secondary:#5C5C58;
  --text-tertiary: #8C8C86;
  --accent-red:    #A95D4E; /* Red accent matching the reference image */
  
  /* Borders and Glassmorphism */
  --border-subtle: rgba(107, 126, 94, 0.12);
  --border-medium: rgba(107, 126, 94, 0.28);
  --glass-bg:      rgba(245, 240, 232, 0.52);
  --glass-border:  rgba(107, 126, 94, 0.22);
  
  /* Typography */
  --font-display:  'PP Editorial New', 'Cormorant Garamond', Georgia, serif;
  --font-body:     'SF Pro Display', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:     'JetBrains Mono', 'IBM Plex Mono', monospace;
  
  /* Transitions and Constants */
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease-out;
  --container-width: 1080px;
}

/* ==========================================================================
   RESET & BIOTECH TEXTURES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--cream-base);
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Noise texture overlay for high-end feel */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1000;
  opacity: 0.015;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Biotech technical grid background */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image: 
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.55;
}

/* ==========================================================================
   BACKGROUND MESH
   ========================================================================== */
.mesh-container {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  mix-blend-mode: multiply;
  opacity: 0.16;
  animation: float-blob 28s infinite alternate ease-in-out;
}

.blob-1 {
  width: 55vw; height: 55vw;
  background: var(--sage-primary);
  top: -10vw; left: -10vw;
}

.blob-2 {
  width: 50vw; height: 50vw;
  background: var(--sage-light);
  bottom: -15vw; right: -5vw;
  animation-delay: -6s;
  animation-duration: 32s;
}

.blob-3 {
  width: 38vw; height: 38vw;
  background: #EAD0B3; /* wheat gold */
  top: 40vh; left: 55vw;
  animation-delay: -12s;
  animation-duration: 26s;
}

@keyframes float-blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5vw, 10vh) scale(1.05); }
  100% { transform: translate(-3vw, -5vh) scale(0.95); }
}

/* ==========================================================================
   LAYOUTS & SPACING
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

.page-wrapper {
  position: relative;
  z-index: 1;
}

section {
  padding: 120px 0;
  position: relative;
}

/* Subtle separator lines representing tech/data structure */
section::after {
  content: "";
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

section:last-of-type::after {
  display: none;
}

.section-header {
  margin-bottom: 60px;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--sage-deep);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-eyebrow::before, .section-eyebrow::after {
  content: "";
  width: 12px; height: 1px;
  background: var(--sage-primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.section-title em {
  font-style: italic;
  color: var(--sage-deep);
  font-weight: 400;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto;
  font-weight: 300;
  line-height: 1.6;
}

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

/* ==========================================================================
   GLASSMOPHISM & MICRO-DETAILS
   ========================================================================== */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 16px;
  box-shadow: 
    0 8px 30px rgba(107, 126, 94, 0.03), 
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: var(--border-medium);
  box-shadow: 
    0 16px 40px rgba(107, 126, 94, 0.06), 
    inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

/* Technical Brackets styling for Monospaced font */
.mono-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: rgba(139, 158, 126, 0.08);
  padding: 4px 10px;
  border-radius: 4px;
  border: 0.5px solid var(--border-medium);
}

.mono-text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.badge-status {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 0.5px solid;
  margin-bottom: 20px;
}

.badge-red {
  color: #A95D4E;
  background: rgba(169, 93, 78, 0.08);
  border-color: rgba(169, 93, 78, 0.24);
}

.badge-green {
  color: var(--sage-deep);
  background: rgba(139, 158, 126, 0.08);
  border-color: var(--border-medium);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 30px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
  border: 1px solid transparent;
  outline: none;
}

.btn-primary {
  background-color: var(--sage-deep);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(107, 126, 94, 0.15);
}

.btn-primary:hover {
  background-color: var(--sage-darkest);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(62, 77, 53, 0.22);
}

.btn-secondary {
  background-color: transparent;
  color: var(--sage-deep);
  border-color: var(--border-medium);
}

.btn-secondary:hover {
  background-color: rgba(139, 158, 126, 0.08);
  border-color: var(--sage-deep);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-medium);
}

.btn-outline:hover {
  background-color: var(--cream-warm);
  border-color: var(--text-primary);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 20px;
  font-size: 12px;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(245, 240, 232, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 84px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-polen {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  line-height: 1;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background-color: var(--sage-deep);
  transform: scaleX(0);
  transition: transform 0.25s ease-out;
}

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

.nav-links a:hover::after {
  transform: scaleX(1);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.section-hero {
  position: relative;
  overflow: hidden;
  padding: 180px 0 110px;
  text-align: center;
}

#hero-particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.75;
}

.hero-container {
  position: relative;
  z-index: 5;
  max-width: 860px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.tag-dot {
  width: 5px; height: 5px;
  background-color: var(--sage-deep);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--sage-primary);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 87px;
  font-weight: 300;
  line-height: 1.05;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--sage-deep);
}

.hero-tagline {
  font-size: 17px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 680px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-bottom: 64px;
}

.hero-quote-alert {
  background: rgba(139, 158, 126, 0.06);
  border: 1px solid var(--border-subtle);
  border-left: 3px solid var(--sage-deep);
  padding: 20px 28px;
  border-radius: 0 10px 10px 0;
  max-width: 640px;
  text-align: left;
  backdrop-filter: blur(8px);
}

.hero-quote-alert p {
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   KPI STRIP
   ========================================================================== */
.section-kpis {
  padding: 0 0 100px;
}

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

.kpi-card {
  padding: 36px 28px;
  background: rgba(245, 240, 232, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-align: center;
  transition: var(--transition-smooth);
  outline: none;
  position: relative;
  overflow: hidden;
}

.kpi-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--sage-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease-in-out;
}

.kpi-card:hover::before, .kpi-card:focus-within::before {
  transform: scaleX(1);
}

.kpi-card:hover, .kpi-card:focus-within {
  background: var(--glass-bg);
  border-color: var(--border-medium);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(107, 126, 94, 0.05);
}

.kpi-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-deep);
  display: block;
  margin-bottom: 14px;
}

.kpi-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.kpi-desc {
  font-size: 12.5px;
  color: var(--text-secondary);
  font-weight: 300;
  line-height: 1.6;
}

/* ==========================================================================
   STORYTELLING TAB SYSTEM
   ========================================================================== */
.story-tabs-container {
  padding: 48px;
  max-width: 960px;
  margin: 0 auto;
}

.story-tabs-nav {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
  margin-bottom: 40px;
}

.story-tab-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 400;
  color: var(--text-tertiary);
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 6px;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(139, 158, 126, 0.06);
}

.story-tab-btn.active {
  color: var(--text-primary);
  background: var(--cream-warm);
  font-weight: 500;
  box-shadow: inset 0 -2px 0 var(--sage-deep);
}

.story-tab-btn .mono-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sage-deep);
}

.story-tab-content {
  display: none;
}

.story-tab-content.active {
  display: block;
  animation: fade-in 0.5s ease-out;
}

.story-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.story-text h3 {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.story-text p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.story-quote {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  color: var(--sage-deep);
  border-left: 2px solid var(--sage-primary);
  padding-left: 20px;
  line-height: 1.6;
}

/* Story Visual Layouts - Biotech Diagnostic Console Mockups */
.visual-card {
  width: 100%;
  min-height: 280px;
  border-radius: 14px;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  border: 1px solid var(--border-subtle);
  overflow: hidden;
}

.visual-antes {
  background: rgba(169, 93, 78, 0.04) !important;
  border-color: rgba(169, 93, 78, 0.22) !important;
}

.visual-depois {
  background: rgba(139, 158, 126, 0.06) !important;
  border-color: rgba(139, 158, 126, 0.28) !important;
}

.console-header {
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 10px;
  margin-bottom: 16px;
}

.console-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
}

.console-dot.dot-red {
  background-color: #E26D5C;
  box-shadow: 0 0 6px rgba(226, 109, 92, 0.8);
}

.console-dot.dot-green {
  background-color: var(--sage-primary);
  box-shadow: 0 0 6px var(--sage-deep);
}

.console-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  font-weight: 600;
}

.console-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.console-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.console-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
}

.console-val {
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
}

.text-red {
  color: #A95D4E;
}

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

.console-divider {
  height: 1px;
  background-color: var(--border-subtle);
  margin: 4px 0;
}

.console-alert {
  background: rgba(169, 93, 78, 0.08);
  border: 1px solid rgba(169, 93, 78, 0.3);
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.animate-pulse-red {
  animation: pulse-red-bg 2s infinite alternate ease-in-out;
}

@keyframes pulse-red-bg {
  from { background-color: rgba(169, 93, 78, 0.04); border-color: rgba(169, 93, 78, 0.2); }
  to { background-color: rgba(169, 93, 78, 0.14); border-color: rgba(169, 93, 78, 0.5); }
}

.alert-icon {
  font-size: 11px;
}

.alert-text {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #A95D4E;
}

.console-success {
  background: rgba(78, 138, 68, 0.06);
  border: 1px solid rgba(78, 138, 68, 0.3);
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.success-icon {
  font-size: 11px;
  color: #3E6335;
  font-weight: bold;
}

.success-text {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #3E6335;
}

.success-text {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #3E6335;
}

/* Integrated System Visual */
.visual-depois {
  background: rgba(139, 158, 126, 0.08) !important;
  border-color: var(--sage-primary) !important;
  align-items: center;
  justify-content: center;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.integrated-system {
  width: 170px; height: 170px;
  border-radius: 50%;
  border: 1px solid var(--sage-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(245, 240, 232, 0.35);
  box-shadow: 0 0 20px rgba(139, 158, 126, 0.1);
}

.system-core {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  font-weight: 500;
  color: var(--sage-deep);
}

.system-satellites {
  position: absolute;
  width: 100%; height: 100%;
  animation: rotate-system 35s infinite linear;
}

@keyframes rotate-system {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.satellite-node {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--cream-base);
  border: 1px solid var(--sage-deep);
  color: var(--text-primary);
  padding: 5px 10px;
  border-radius: 4px;
  white-space: nowrap;
  animation: keep-upright 35s infinite linear;
}

@keyframes keep-upright {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

.satellite-node:nth-child(1) { top: -12px; left: 50%; margin-left: -40px; }
.satellite-node:nth-child(2) { bottom: 15px; left: -25px; }
.satellite-node:nth-child(3) { bottom: 15px; right: -25px; }

.success-indicator {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-deep);
  margin-top: 10px;
}

/* ==========================================================================
   METHODOLOGY REDESIGN: ORBITAL PROTOCOLS & VALUE PIPELINE
   ========================================================================== */

/* View Switcher at the top of Section */
.methodology-view-switcher {
  display: inline-flex;
  gap: 10px;
  background: rgba(139, 158, 126, 0.08);
  padding: 5px;
  border-radius: 30px;
  border: 0.5px solid var(--border-medium);
  margin-top: 28px;
}

.metodo-view-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 8px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 8px;
  outline: none;
}

.metodo-view-btn.active {
  background-color: var(--sage-deep);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(107, 126, 94, 0.2);
}

.metodo-view-btn:hover:not(.active) {
  background-color: rgba(139, 158, 126, 0.15);
  color: var(--text-primary);
}

/* Container */
.section-methodology .container {
  max-width: 1320px; /* Harmonizado com as demais seções expandidas em grid */
}

.flowchart-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

/* Modo Compasso Lado a Lado (Desktop Grid) */
@media (min-width: 961px) {
  .flowchart-container.compass-mode {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Compasso ocupa 1.2fr (55% de largura), Ficha de Detalhes ocupa 1fr (45%) */
    align-items: stretch;
  }



  .flowchart-container.compass-mode .flowchart-diagram-area {
    border-right: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .flowchart-container.compass-mode .flow-detail-panel.horizontal-monitor {
    border-top: none;
    border-left: 1px solid var(--border-subtle);
    border-radius: 0 16px 16px 0;
    background: rgba(245, 240, 232, 0.2);
    padding: 24px; /* Reduzido de 32px 40px para otimizar espaço de leitura */
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .flowchart-container.compass-mode .flowchart-svg-wrap {
    padding: 12px 8px; /* Minimizado para permitir que o SVG preencha toda a coluna da esquerda */
    overflow: visible;
  }

  .flowchart-container.compass-mode .svg-flowchart {
    transform: scale(1.1);
    transform-origin: center center;
    overflow: visible;
  }

  .flowchart-container.compass-mode .monitor-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr; /* Mantém duas colunas internas de proporções equilibradas */
    gap: 20px; /* Reduzido de 28px para maximizar a área horizontal útil das subcolunas */
    align-items: start;
  }

  .flowchart-container.compass-mode .col-status {
    grid-column: 1;
    grid-row: 1;
    border-right: 1px solid var(--border-subtle);
    padding-right: 20px; /* Reduzido de 28px */
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .flowchart-container.compass-mode .col-metrics {
    grid-column: 1;
    grid-row: 2;
    border-right: 1px solid var(--border-subtle);
    padding-right: 20px; /* Reduzido de 28px */
    border-top: 1px solid var(--border-subtle);
    padding-top: 16px; /* Reduzido de 20px */
    margin-top: 4px;
  }

  .flowchart-container.compass-mode .col-deliverables {
    grid-column: 2;
    grid-row: 1 / span 2;
    padding-left: 4px;
  }

  /* Telemetria em duas colunas internas (KPI e Complexidade lado a lado) */
  .flowchart-container.compass-mode .telemetry-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .flowchart-container.compass-mode .telemetry-box .tel-item:last-child {
    grid-column: span 2; /* Canais Integrados ocupa largura total da caixa */
  }
}

/* Diagram Area (Full width) */
.flowchart-diagram-area {
  width: 100%;
  position: relative;
  background: rgba(245, 240, 232, 0.05);
}

/* SVG Orbital wrap */
.flowchart-svg-wrap {
  display: none;
  width: 100%;
  padding: 40px;
  justify-content: center;
  align-items: center;
}

.flowchart-svg-wrap.active-view {
  display: flex;
  animation: fade-in-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.svg-flowchart {
  width: 100%;
  max-width: 880px; /* Aumentado para preencher o novo card expandido */
  height: auto;
  display: block;
}

/* ====================================================
   POLEN COMPASSO DE CONFLUÊNCIA DIAGRAM STYLES
   ==================================================== */
.svg-flow-node {
  cursor: pointer;
}

.ref-node-circle-outer {
  fill: #FFF;
  stroke: var(--text-tertiary);
  stroke-width: 1px;
  transition: var(--transition-fast);
}

.svg-flow-node:hover .ref-node-circle-outer {
  stroke: var(--text-primary);
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.06));
}

.svg-flow-node.active .ref-node-circle-outer {
  stroke: var(--accent-red);
  stroke-width: 1.5px;
  fill: #FFF;
  filter: drop-shadow(0 4px 10px rgba(169, 93, 78, 0.15));
}

.ref-node-text-num {
  font-family: var(--font-body);
  font-size: 10px;
  fill: var(--text-secondary);
  text-anchor: middle;
  font-weight: 500;
}

.svg-flow-node.active .ref-node-text-num {
  fill: var(--accent-red);
  font-weight: 600;
}

.ref-node-text-lbl {
  font-family: var(--font-body);
  font-size: 10px;
  fill: var(--text-secondary);
  font-weight: 400;
}

.svg-flow-node.active .ref-node-text-lbl {
  fill: var(--text-primary);
  font-weight: 600;
}

.ref-axis-divider {
  fill: none;
  stroke: rgba(44, 44, 42, 0.35);
  stroke-width: 1.5px;
}

.ref-concentric-circle {
  fill: none;
  stroke: var(--text-primary);
  stroke-width: 1.25px;
}

.ref-guideline-dashed {
  fill: none;
  stroke: var(--text-tertiary);
  stroke-width: 0.75px;
  stroke-dasharray: 2 2;
}

.ref-radial-track-bg {
  fill: none;
  stroke: rgba(0,0,0,0.05);
  stroke-width: 2.5px;
}

.ref-radial-track-fill {
  fill: none;
  stroke: var(--accent-red);
  stroke-width: 2px;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

#compass-needle-group {
  filter: drop-shadow(0 2px 6px rgba(169,93,78,0.25));
}

.compass-center-text {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  fill: var(--text-primary);
  text-anchor: middle;
}

.compass-sector-lbl {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  fill: var(--text-secondary);
  text-anchor: middle;
  font-style: italic;
}

/* Horizontal Pipeline wrap */
.flowchart-pipeline-wrap {
  display: none;
  width: 100%;
  padding: 60px 50px;
}

.flowchart-pipeline-wrap.active-view {
  display: block;
  animation: fade-in-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.pipeline-track-container {
  width: 100%;
  position: relative;
  padding: 24px 0;
}

.pipeline-track-bar {
  position: absolute;
  top: 40px;
  left: 6.25%;
  right: 6.25%;
  height: 4px;
  background: var(--border-medium);
  border-radius: 2px;
  z-index: 1;
}

.pipeline-track-fill {
  height: 100%;
  background: var(--sage-deep);
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 10px rgba(107, 126, 94, 0.4);
}

.pipeline-steps-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  text-align: center;
}

.pipeline-step-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.step-num-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream-base);
  border: 1px solid var(--border-medium);
  color: var(--text-tertiary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.pipeline-step-node:hover .step-num-circle {
  border-color: var(--sage-primary);
  color: var(--text-primary);
  transform: scale(1.08);
}

.pipeline-step-node.active .step-num-circle {
  background: var(--sage-deep);
  border-color: var(--sage-darkest);
  color: #FFFFFF;
  transform: scale(1.18);
  box-shadow: 0 0 15px rgba(107, 126, 94, 0.45);
}

.step-lbl {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-top: 14px;
  transition: var(--transition-fast);
}

.pipeline-step-node.active .step-lbl {
  color: var(--sage-deep);
  font-weight: 700;
}

.step-val-grow {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--text-tertiary);
  margin-top: 4px;
  background: rgba(139, 158, 126, 0.05);
  padding: 2px 8px;
  border-radius: 10px;
  border: 0.5px solid transparent;
  transition: var(--transition-fast);
}

.pipeline-step-node.active .step-val-grow {
  color: var(--sage-deep);
  background: rgba(139, 158, 126, 0.15);
  border-color: var(--border-medium);
  font-weight: 600;
}

/* Mobile List Fallback (Hidden on desktop) */
.flowchart-list-wrap {
  display: none;
}

/* Horizontal Details Panel (Monitor) */
.flow-detail-panel.horizontal-monitor {
  width: 100%;
  padding: 40px 48px;
  background: rgba(245, 240, 232, 0.35);
  border-top: 1px solid var(--border-subtle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  border-radius: 0 0 16px 16px;
  transition: var(--transition-smooth);
}

.monitor-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.35fr;
  gap: 40px;
}

.monitor-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.monitor-col:not(:last-child) {
  border-right: 1px solid var(--border-subtle);
  padding-right: 40px;
}

.col-header {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 8px;
  display: block;
  white-space: nowrap; /* Prevent header text wrapping */
}

.detail-eyebrow {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.25em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.detail-title {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.process-maturity-wrap {
  margin-top: auto;
  padding-top: 16px;
}

.maturity-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 6px;
}

.maturity-bar-bg {
  height: 6px;
  background: var(--border-medium);
  border-radius: 3px;
  overflow: hidden;
  display: inline-block;
  width: calc(100% - 60px);
  vertical-align: middle;
}

.maturity-bar-fill {
  height: 100%;
  background: var(--sage-deep);
  border-radius: 3px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 6px rgba(107, 126, 94, 0.3);
}

.maturity-val {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--sage-deep);
  display: inline-block;
  width: 45px;
  text-align: right;
  vertical-align: middle;
  margin-left: 10px;
}

.telemetry-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tel-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}

.tel-item:last-child {
  margin-bottom: 0;
}

.tel-label {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.tel-val {
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
}

.detail-badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mono-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-deep);
  background: rgba(139, 158, 126, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  border: 0.5px solid var(--border-medium);
}

.deliverables-content {
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--text-secondary);
  font-weight: 300;
}

.deliverables-content p {
  margin-bottom: 16px;
}

.detail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-list li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 8px;
}

.detail-list li:last-child {
  margin-bottom: 0;
}

.detail-list li::before {
  content: "—";
  color: var(--sage-primary);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 600;
}

@media (min-width: 961px) {
  .section-methodology .container {
    max-width: 1200px;
  }
  
  .flowchart-container {
    display: flex;
    flex-direction: column;
  }
  
  .flowchart-svg-wrap {
    padding: 24px 24px 16px 24px;
  }
  
  .svg-flowchart {
    max-width: 740px;
    margin: 0 auto;
  }
  
  .flowchart-pipeline-wrap {
    padding: 32px 40px 24px 40px;
  }
  
  .flow-detail-panel.horizontal-monitor {
    border-top: 1px solid var(--border-subtle);
    border-left: none;
    border-radius: 0 0 16px 16px;
    padding: 28px 40px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  }
  
  .monitor-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1.35fr;
    gap: 36px;
  }
  
  .monitor-col:not(:last-child) {
    border-right: 1px solid var(--border-subtle);
    border-bottom: none;
    padding-right: 36px;
    padding-bottom: 0;
  }
  
  .col-header {
    margin-bottom: 16px;
  }
  
  .detail-title {
    font-size: 28px;
    margin-bottom: 14px;
  }
  
  .process-maturity-wrap {
    margin-top: auto;
    padding-top: 12px;
  }
}

/* Animations helper */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .flowchart-svg-wrap,
  .flowchart-pipeline-wrap {
    display: none !important;
  }
  
  .flowchart-list-wrap {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    background: rgba(245, 240, 232, 0.15);
  }
  
  .flow-node {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: var(--transition-fast);
  }
  
  .flow-node:last-child {
    border-bottom: none;
  }
  
  .flow-node.active {
    background: var(--cream-warm);
    border-left: 4px solid var(--sage-deep);
  }
  
  .node-idx {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--sage-primary);
    width: 20px;
  }
  
  .flow-node.active .node-idx {
    color: var(--sage-deep);
    font-weight: 600;
  }
  
  .node-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
  }
  
  .monitor-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .monitor-col:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    padding-right: 0;
    padding-bottom: 24px;
  }
}

/* ==========================================================================
   PROOFS / CLIENT PORTAL MOCKUP
   ========================================================================== */
.section-proofs .container {
  max-width: 1320px;
}

.portal-wrapper {
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 
    0 24px 60px rgba(107, 126, 94, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.portal-header {
  height: 52px;
  background: rgba(237, 230, 214, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.portal-window-dots {
  display: flex;
  gap: 8px;
}

.portal-window-dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: block;
}

.portal-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.portal-status-online {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--sage-deep);
  display: flex;
  align-items: center;
  gap: 8px;
}

.portal-tabs {
  display: flex;
  background: rgba(245, 240, 232, 0.6);
  border-bottom: 1px solid var(--border-subtle);
}

.portal-tab-btn {
  flex: 1;
  background: none;
  border: none;
  border-right: 1px solid var(--border-subtle);
  padding: 16px 12px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
  outline: none;
}

.portal-tab-btn:last-child {
  border-right: none;
}

.portal-tab-btn:hover {
  background: rgba(139, 158, 126, 0.05);
  color: var(--text-primary);
}

.portal-tab-btn.active {
  background: rgba(245, 240, 232, 0.75);
  color: var(--sage-deep);
  box-shadow: inset 0 -2.5px 0 var(--sage-deep);
}

.portal-content-pane {
  display: none;
  padding: 28px;
  background: rgba(245, 240, 232, 0.45);
}

.portal-content-pane.active {
  display: block;
  animation: fade-in 0.5s ease-out;
}

/* Dashboard Metrics */
.mockup-dashboard {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: center;
}

.mock-grid-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 0;
}

.metric-box {
  background: rgba(245, 240, 232, 0.75);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition-smooth);
}

.metric-box:hover {
  transform: translateY(-2px);
  border-color: var(--border-medium);
}

.m-label {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  display: block;
  margin-bottom: 8px;
}

.m-value {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.m-sub {
  font-size: 9.5px;
  color: var(--text-tertiary);
}

/* Premium SVG Chart Styles */
.mockup-chart-container {
  background: rgba(245, 240, 232, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 28px;
}

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

.chart-header h4 {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
}

.portal-svg-chart {
  width: 100%;
  height: auto;
  display: block;
}

.chart-legend {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-secondary);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.color-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.media-dot {
  background: var(--sage-light);
}

.margem-dot {
  background: var(--sage-deep);
}

.chart-text {
  font-family: var(--font-mono);
  font-size: 9px;
  fill: var(--text-secondary);
}

/* Cohort Tab Styles */
.mockup-cohort {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  align-items: center;
}

.cohort-left-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cohort-intro h4 {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-primary);
}

.table-responsive {
  overflow-x: auto;
}

.cohort-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 11.5px;
  text-align: center;
}

.cohort-table th, .cohort-table td {
  padding: 12px 8px;
  border: 1px solid var(--border-subtle);
}

.cohort-table th {
  background: rgba(237, 230, 214, 0.5);
  font-weight: 500;
  color: var(--text-secondary);
}

.mono-cell {
  font-family: var(--font-mono);
  font-weight: 500;
  text-align: left;
  padding-left: 14px;
}

/* Heat cells opacity based on retention rate */
.h-cell {
  font-family: var(--font-mono);
  font-weight: 500;
}

.highlighted-cohort { background-color: rgba(139, 158, 126, 0.08); }
.highlighted-cohort-2 { background-color: rgba(139, 158, 126, 0.16); }

.cohort-explanation {
  background: rgba(245, 240, 232, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px 20px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Kanban Tab Styles */
.mockup-kanban {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  min-height: 300px;
}

.kanban-column {
  background: rgba(237, 230, 214, 0.3);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.k-column-header {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1.5px solid var(--text-tertiary);
  padding-bottom: 10px;
  margin-bottom: 6px;
}

.k-column-header.header-active {
  border-color: var(--sage-primary);
  color: var(--sage-deep);
}

.k-column-header.header-done {
  border-color: #4E8A44;
  color: #4E8A44;
}

.kanban-card {
  background: rgba(245, 240, 232, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 2px 8px rgba(107, 126, 94, 0.01);
  transition: var(--transition-fast);
}

.kanban-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(107, 126, 94, 0.04);
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 500;
  display: inline-block;
  margin-bottom: 10px;
}

.tag-crm { background-color: rgba(139, 158, 126, 0.14); color: var(--sage-deep); }
.tag-midia { background-color: rgba(229, 205, 172, 0.22); color: #9A774A; }
.tag-dados { background-color: rgba(174, 204, 219, 0.22); color: #4B788C; }

.kanban-card h5 {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.kanban-card .mono-text {
  font-size: 8.5px;
  color: var(--text-tertiary);
}

.card-running { border-left: 2px solid var(--sage-primary); }
.card-completed { border-left: 2px solid #4E8A44; }

.card-result {
  font-size: 10px;
  color: #4E8A44;
  font-weight: 500;
  margin-top: 8px;
  line-height: 1.4;
}

/* ==========================================================================
   SCOPE & ROTINAS
   ========================================================================== */
.section-scope {
  padding-bottom: 60px;
}

.section-scope::after {
  display: none; /* Hide bottom line separator on setup section */
}

.section-scope-ops {
  padding-top: 60px;
  padding-bottom: 120px;
  position: relative;
}

.section-scope-ops::after {
  content: "";
  position: absolute;
  bottom: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-medium), transparent);
}

.setup-grid-container {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 48px;
  align-items: center;
}

.operations-grid-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
  align-items: center;
}

.scope-col-title {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--sage-deep);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.scope-col-title::after {
  content: "";
  flex-grow: 1;
  height: 1px;
  background: var(--border-subtle);
}

/* Vertical Timeline */
.scope-timeline {
  position: relative;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.scope-timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--border-medium);
}

.scope-time-node {
  position: relative;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
}

.scope-time-node::before {
  content: "";
  position: absolute;
  left: -27px;
  top: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream-base);
  border: 3px solid var(--sage-primary);
  transition: var(--transition-fast);
  z-index: 2;
}

.scope-time-node:hover {
  background: rgba(237, 230, 214, 0.4);
  border-color: var(--border-subtle);
}

.scope-time-node.active {
  background: var(--cream-warm);
  border-color: var(--sage-primary);
  box-shadow: 0 4px 16px rgba(107, 126, 94, 0.05);
}

.scope-time-node.active::before {
  background: var(--sage-deep);
  border-color: var(--sage-light);
  box-shadow: 0 0 0 4px rgba(139, 158, 126, 0.2);
}

.scope-node-meta {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--sage-deep);
  margin-bottom: 2px;
  font-weight: 600;
  display: block;
}

.scope-node-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0px;
}

/* Setup Card - Cream Folder Blueprint */
.scope-details-setup {
  width: 100%;
  background: var(--cream-warm);
  border: 1px solid var(--sage-primary);
  border-radius: 8px;
  padding: 24px;
  min-height: 220px;
  transition: var(--transition-fast);
  box-shadow: inset 0 0 10px rgba(107, 126, 94, 0.03);
  position: relative;
}

.scope-details-setup::before {
  content: "[ PLANO DE IMPLANTAÇÃO ]";
  position: absolute;
  top: -10px;
  right: 16px;
  background: var(--sage-deep);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 8.5px;
  padding: 2px 8px;
  border-radius: 3px;
  font-weight: 600;
}

.scope-setup-title-row {
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.scope-setup-title {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--text-primary);
  font-weight: 600;
}

.scope-setup-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
  font-weight: 300;
  line-height: 1.5;
}

.scope-setup-content-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
}

.scope-setup-visual-pane {
  background: rgba(139, 158, 126, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 18px;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: var(--transition-smooth);
}

/* Visual Schematics */
.visual-schematic {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fade-in 0.4s ease-out forwards;
}

.schematic-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 4px;
}

/* Week 1: Leak Flow */
.flow-track {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin: 8px 0;
}
.flow-step {
  background: var(--cream-base);
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  padding: 6px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 65px;
  text-align: center;
}
.flow-step.leak {
  border-color: #E26D5C;
  background: rgba(226, 109, 92, 0.05);
  box-shadow: 0 0 10px rgba(226, 109, 92, 0.1);
}
.flow-arrow {
  font-family: var(--font-mono);
  color: var(--text-tertiary);
  font-size: 11px;
}
.flow-arrow.danger { color: #E26D5C; }
.flow-lbl { font-size: 8px; font-family: var(--font-mono); text-transform: uppercase; color: var(--text-tertiary); }
.flow-val { font-size: 10px; font-weight: bold; color: var(--text-primary); }
.flow-val.warning { color: #E26D5C; }
.leak-alert-badge {
  font-size: 9px;
  color: #A95D4E;
  font-weight: 500;
  background: rgba(169, 93, 78, 0.08);
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  border: 1px solid rgba(169, 93, 78, 0.15);
}

/* Week 2: Data Hub */
.data-nodes-grid {
  display: flex;
  justify-content: space-around;
  width: 100%;
  gap: 6px;
}
.data-source-node {
  background: var(--cream-base);
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  flex: 1;
  text-align: center;
}
.node-icon { font-size: 13px; }
.node-name { font-family: var(--font-mono); font-size: 8.5px; color: var(--text-secondary); }
.connector-hub {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.connector-hub::before {
  content: "▼";
  font-size: 9px;
  color: var(--sage-primary);
  margin-bottom: 4px;
}
.hub-center {
  background: var(--sage-deep);
  color: #FFF;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(107, 126, 94, 0.15);
  letter-spacing: 0.5px;
}

/* Week 3: Blueprint sequence */
.blueprint-track {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  margin: 8px 0;
}
.blueprint-node {
  background: var(--cream-base);
  border: 1px solid var(--border-medium);
  border-radius: 6px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  min-width: 58px;
  text-align: center;
}
.blueprint-node.completed {
  border-color: var(--sage-primary);
  background: rgba(139, 158, 126, 0.06);
}
.blueprint-node.active {
  border-color: var(--sage-deep);
  background: rgba(107, 126, 94, 0.12);
  box-shadow: 0 0 10px rgba(107, 126, 94, 0.15);
}
.bp-connector { color: var(--sage-primary); font-size: 11px; }
.bp-icon { font-size: 13px; }
.bp-name { font-size: 8px; font-weight: 600; color: var(--text-secondary); }
.bp-meta-label {
  font-size: 9px;
  font-family: var(--font-mono);
  color: var(--sage-deep);
  background: rgba(107, 126, 94, 0.06);
  padding: 4px 8px;
  border-radius: 4px;
}

/* Week 4: Deployment terminal */
.terminal-logs-box {
  background: #2C2C2A;
  border-radius: 6px;
  padding: 8px 12px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 8.5px;
  width: 100%;
  box-shadow: inset 0 0 8px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.t-line { color: #EDE6D6; }
.t-line.green { color: #A8BC9B; }
.t-line.pulse-line {
  color: #FFF;
  font-weight: bold;
  animation: pulse-terminal 1.5s infinite;
}
@keyframes pulse-terminal {
  0% { opacity: 0.6; }
  50% { opacity: 1; color: var(--sage-light); }
  100% { opacity: 0.6; }
}
.launch-gauge {
  margin-top: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 6px;
}
.gauge-lbl { font-family: var(--font-mono); font-size: 8px; color: var(--text-tertiary); }
.gauge-pct { font-family: var(--font-mono); font-size: 10px; font-weight: bold; color: var(--sage-deep); }

.fine-line-icon {
  width: 14px;
  height: 14px;
  stroke: var(--sage-deep);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
}

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

.scope-setup-list li {
  font-size: 13.5px;
  color: var(--text-secondary);
  position: relative;
  padding-left: 28px;
  line-height: 1.5;
}

.scope-setup-list li .bullet-icon {
  position: absolute;
  left: 0;
  top: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Radar Cadence Diagram */
.scope-radar-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.radar-tip-mono {
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: var(--text-tertiary);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(139, 158, 126, 0.06);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid var(--border-subtle);
}

.radar-tip-mono::before {
  content: "⚡";
  animation: pulse-tip 1.5s infinite;
}

@keyframes pulse-tip {
  0% { opacity: 0.5; }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.5; }
}

.scope-radar-wrap {
  width: 280px;
  height: 280px;
  position: relative;
  margin-bottom: 24px;
}

.scope-radar-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.scope-circle-outer { width: 100%; height: 100%; }
.scope-circle-mid { width: 70%; height: 70%; border-style: dashed; }
.scope-circle-inner { width: 40%; height: 40%; }

.scope-radar-center {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 32px; height: 32px;
  background: var(--sage-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--sage-primary);
  z-index: 10;
}

.scope-radar-center::after {
  content: "";
  width: 10px;
  height: 10px;
  background: #FFF;
  border-radius: 50%;
}

.scope-radar-pointer {
  position: absolute;
  left: 50%; top: 50%;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, var(--sage-deep), transparent);
  transform-origin: 0% 50%;
  transform: rotate(0deg);
  animation: rotate-radar 12s infinite linear;
  pointer-events: none;
}

.scope-radar-node {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream-warm);
  border: 1px solid var(--sage-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: bold;
  color: var(--text-primary);
}

.scope-radar-node:hover {
  transform: scale(1.1);
  border-color: var(--sage-light);
  background: var(--cream-base);
  box-shadow: 0 0 12px rgba(139, 158, 126, 0.3);
}

.scope-radar-node.active {
  background: var(--sage-deep);
  border-color: var(--sage-darkest);
  color: #FFF;
  box-shadow: 0 0 18px rgba(107, 126, 94, 0.4);
}

/* Radar Node Positions around circle (r = 140px) */
.scope-node-daily { left: calc(50% - 26px); top: -10px; }
.scope-node-weekly { right: -10px; top: calc(50% - 26px); }
.scope-node-fortnightly { left: calc(50% - 26px); bottom: -10px; }
.scope-node-monthly { left: -10px; top: calc(50% - 26px); }

/* Operation Card - Dark Telemetry Terminal */
.scope-details-operation {
  width: 100%;
  background: #2C2C2A; /* Slate dark console */
  border: 1px solid rgba(139, 158, 126, 0.25);
  border-radius: 8px;
  padding: 24px;
  min-height: 220px;
  transition: var(--transition-fast);
  color: #EDE6D6;
  font-family: var(--font-mono);
  box-shadow: inset 0 0 15px rgba(0,0,0,0.3);
  position: relative;
}

.scope-details-operation::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 16px;
  width: 8px;
  height: 8px;
  background: #4E8A44;
  border-radius: 50%;
  box-shadow: 0 0 8px #4E8A44;
  animation: pulse-green 2s infinite;
}

.scope-op-title-row {
  border-bottom: 1px solid rgba(237, 230, 214, 0.15);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.scope-op-title {
  font-size: 15px;
  color: var(--sage-light);
  font-weight: 600;
}

.scope-op-meta {
  font-size: 11px;
  color: var(--text-tertiary);
  display: block;
  margin-top: 4px;
}

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

.scope-op-list li {
  font-size: 12.5px;
  color: #D3CBBF;
  position: relative;
  padding-left: 18px;
  line-height: 1.5;
}

.scope-op-list li::before {
  content: "[•]";
  position: absolute;
  left: 0;
  color: var(--sage-light);
  font-size: 11px;
  top: 0px;
}

/* ==========================================================================
   REVENUE LEAK CALCULATOR (VAZÔMETRO)
   ========================================================================== */
.section-calculator .container {
  max-width: 1320px;
}

.calc-card {
  max-width: 100%;
  margin: 0 auto;
  padding: 44px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.calc-inputs-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-subtitle-calc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-weight: 300;
  line-height: 1.65;
}

.calc-slider-group {
  margin-bottom: 28px;
}

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

.slider-header label {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-primary);
}

.slider-val {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--sage-deep);
  background: var(--cream-warm);
  padding: 3px 10px;
  border-radius: 4px;
}

/* Customize Range Input */
input[type="range"] {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: var(--border-medium);
  border-radius: 3px;
  outline: none;
  transition: background 0.3s;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--sage-deep);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(107, 126, 94, 0.25);
  transition: transform 0.15s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Calculator Results */
.calc-results-column {
  background: rgba(237, 230, 214, 0.45);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  padding: 40px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}

.results-title {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 14px;
  margin-bottom: 28px;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.result-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  grid-column: span 1;
}

.res-label {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

.res-value {
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 600;
}

.val-danger {
  color: #A95D4E;
}

.res-explanation {
  font-size: 11px;
  color: var(--text-tertiary);
  line-height: 1.4;
}

.result-divider {
  height: 1px;
  background-color: var(--border-medium);
  margin: 8px 0;
  grid-column: span 2;
}

.result-total {
  background: rgba(169, 93, 78, 0.08);
  border-left: 3px solid #A95D4E;
  padding: 14px 20px;
  border-radius: 0 8px 8px 0;
}

.total-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #A95D4E;
  display: block;
}

.total-value {
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
  color: #A95D4E;
  margin: 4px 0;
}

.total-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.total-sub strong {
  font-weight: 600;
  color: #A95D4E;
}

/* Recoverable section */
.result-recoverable {
  background: rgba(78, 138, 68, 0.08);
  border-left: 3px solid #4E8A44;
  padding: 14px 20px;
  border-radius: 0 8px 8px 0;
}

.recover-label {
  font-size: 11.5px;
  font-weight: 600;
  color: #4E8A44;
  display: block;
}

.recover-value {
  font-family: var(--font-mono);
  font-size: 24px;
  font-weight: 700;
  color: #4E8A44;
  margin: 4px 0;
}

.recover-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
}

.recover-sub strong {
  font-weight: 600;
  color: #4E8A44;
}

/* ==========================================================================
   INVESTMENT & TIERS
   ========================================================================== */
.pricing-toggle-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-bottom: 44px;
}

.toggle-label {
  font-size: 13.5px;
  color: var(--text-tertiary);
  transition: var(--transition-fast);
  font-weight: 500;
}

.toggle-label.active {
  color: var(--text-primary);
}

.pricing-toggle-switch {
  width: 52px; height: 28px;
  background-color: var(--border-medium);
  border-radius: 14px;
  border: none;
  cursor: pointer;
  position: relative;
  outline: none;
}

.switch-ball {
  width: 22px; height: 22px;
  background-color: #FFFFFF;
  border-radius: 50%;
  position: absolute;
  top: 3px; left: 3px;
  transition: var(--transition-fast);
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.pricing-toggle-switch.active {
  background-color: var(--sage-deep);
}

.pricing-toggle-switch.active .switch-ball {
  left: 27px;
}

.tiers-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 36px;
  align-items: stretch;
}

.tier-card-pricing {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  position: relative;
  transition: var(--transition-smooth);
}

.tier-card-pricing.featured {
  border-color: var(--sage-primary);
  background: rgba(139, 158, 126, 0.14);
  box-shadow: 0 18px 40px rgba(107, 126, 94, 0.08);
}

.featured-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--sage-deep);
  color: white;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 4px;
}

.tier-head {
  margin-bottom: 28px;
}

.tier-head h4 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.tier-sub {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.45;
  font-weight: 300;
  display: block;
}

.tier-pricing-area {
  display: flex;
  align-items: baseline;
  margin-bottom: 14px;
  transition: opacity 0.3s ease;
}

.tier-currency {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--sage-deep);
  margin-right: 4px;
}

.tier-price-val {
  font-family: var(--font-display);
  font-size: 46px;
  font-weight: 300;
  color: var(--sage-deep);
  line-height: 1;
}

.tier-period {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-left: 6px;
}

.activation-fee-sub {
  font-size: 11.5px;
  color: var(--text-secondary);
  background: rgba(245, 240, 232, 0.55);
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 28px;
  border: 0.5px solid var(--border-subtle);
  display: inline-block;
  align-self: flex-start;
}

.old-price {
  text-decoration: line-through;
  color: var(--text-tertiary);
  margin-right: 4px;
}

.new-price {
  color: var(--sage-deep);
  font-weight: 600;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tier-features li {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 300;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tier-features li::before {
  content: "—";
  color: var(--sage-primary);
  flex-shrink: 0;
  font-weight: 600;
}

/* Performance Layer Card */
.performance-disclaimer {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(245, 240, 232, 0.55);
}

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

.disclaimer-header h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
}

.performance-disclaimer p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ==========================================================================
   OUTRO & FOOTER
   ========================================================================== */
.section-outro {
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(169, 93, 78, 0.15) 0%, rgba(139, 158, 126, 0.12) 50%, rgba(245, 240, 232, 0.2) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
  transition: background 0.15s ease-out;
}

.outro-title {
  font-family: var(--font-display);
  font-size: 112px;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 18px;
  white-space: nowrap;
  letter-spacing: -0.02em;
  transition: letter-spacing 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
}

.outro-title:hover {
  letter-spacing: 0.03em;
  transform: scale(1.02);
}

.outro-subtitle {
  font-size: 15.5px;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.outro-buttons {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.main-footer {
  background: rgba(237, 230, 214, 0.7);
  border-top: 0.5px solid var(--border-subtle);
  padding: 44px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.footer-legal {
  font-size: 11.5px;
  color: var(--text-secondary);
  margin-top: 6px;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 16px;
  font-style: italic;
  color: var(--text-secondary);
}

.footer-mono {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage-deep);
  margin-bottom: 6px;
}

.footer-contact {
  font-size: 11.5px;
  color: var(--text-secondary);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in { animation: fade-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-slide-up { animation: fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-slide-up-delayed { animation: fade-in 1.3s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.animate-fade-in-delayed { animation: fade-in 1.5s cubic-bezier(0.16, 1, 0.3, 1) forwards; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 960px) {
  .story-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .setup-grid-container,
  .operations-grid-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .calc-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  
  .results-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .result-divider {
    grid-column: span 1;
  }
  
  .result-total,
  .result-recoverable {
    grid-column: span 1;
  }

  .mockup-dashboard,
  .mockup-cohort {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .tiers-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .tier-card-pricing.featured {
    transform: none;
  }
  
  .featured-badge {
    top: -10px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .section-hero {
    padding: 100px 0 50px !important;
  }
  
  .container {
    padding: 0 20px !important;
  }
  
  .hero-title {
    font-size: clamp(32px, 8.5vw, 46px) !important;
    line-height: 1.15 !important;
    margin-bottom: 20px !important;
  }
  
  .hero-tagline {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }
  
  .section-title {
    font-size: clamp(26px, 7vw, 32px) !important;
    line-height: 1.2 !important;
  }
  
  .outro-title {
    font-size: clamp(28px, 8vw, 38px) !important;
    white-space: normal !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }
  
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  .kpi-card {
    padding: 24px 14px !important;
  }
  
  .story-tabs-container {
    padding: 24px 16px !important;
  }
  
  .story-tabs-nav {
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
  }
  
  .story-tab-btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    font-size: 13.5px !important;
  }
  
  .story-layout {
    gap: 20px !important;
  }
  
  .story-text h3 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
  }
  
  .story-quote {
    font-size: 15px !important;
    padding-left: 16px !important;
    margin-top: 16px !important;
  }
  
  .methodology-view-switcher {
    display: none !important;
  }
  
  .flowchart-list-wrap {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    background: none !important;
    gap: 12px !important;
  }
  
  .flow-node {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px !important;
    background: rgba(245, 240, 232, 0.5) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 6px !important;
    cursor: pointer;
    transition: var(--transition-fast);
  }
  
  .flow-node::after {
    content: "[ + ]" !important;
    font-family: var(--font-mono) !important;
    font-size: 10px !important;
    margin-left: auto !important;
    color: var(--text-tertiary) !important;
    transition: var(--transition-fast);
  }
  
  .flow-node.active::after {
    content: "[ – ]" !important;
    color: var(--sage-deep) !important;
    font-weight: bold;
  }
  
  .flow-node:last-child {
    border-bottom: 1px solid var(--border-subtle) !important;
  }
  
  .flow-node.active {
    background: var(--cream-warm) !important;
    border-color: var(--sage-deep) !important;
    border-left: 4px solid var(--sage-deep) !important;
  }
  
  /* Inline Flow Detail Panel inside List Wrap */
  .flowchart-list-wrap .flow-detail-panel.horizontal-monitor {
    background: rgba(245, 240, 232, 0.95) !important;
    border-top: none !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    border-left: 4px solid var(--sage-deep) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 24px 20px !important;
    margin: 0 !important;
    width: auto !important;
    animation: slideDown 0.3s ease-out forwards;
  }
  
  .flow-detail-panel.horizontal-monitor {
    padding: 24px 16px !important;
  }
  
  .monitor-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  
  .monitor-col:not(:last-child) {
    border-right: none !important;
    border-bottom: 1px solid var(--border-subtle) !important;
    padding-right: 0 !important;
    padding-bottom: 20px !important;
  }
  
  /* Portal Operational section */
  .portal-tabs {
    flex-direction: column !important;
    background: none !important;
    gap: 8px !important;
    border-bottom: none !important;
  }
  
  .portal-tab-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    background: rgba(245, 240, 232, 0.5) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 6px !important;
    padding: 14px 16px !important;
    font-size: 13px !important;
    text-align: left !important;
    transition: var(--transition-fast);
  }
  
  .portal-tab-btn:hover, .portal-tab-btn:active {
    background: rgba(245, 240, 232, 0.8) !important;
    border-color: var(--sage-primary) !important;
  }
  
  .portal-tab-btn::after {
    content: "[ ATIVAR ]" !important;
    font-family: var(--font-mono) !important;
    font-size: 9px !important;
    margin-left: auto !important;
    color: var(--text-tertiary) !important;
    font-weight: normal !important;
    opacity: 0.7 !important;
    transition: var(--transition-fast);
  }
  
  .portal-tab-btn.active::after {
    content: "[ EXIBINDO ]" !important;
    color: var(--sage-deep) !important;
    font-weight: bold !important;
    opacity: 1 !important;
  }
  
  .portal-tab-btn.active {
    background: var(--cream-warm) !important;
    border-color: var(--sage-deep) !important;
    border-left: 4px solid var(--sage-deep) !important;
    box-shadow: none !important;
  }
  
  .portal-tab-btn:last-child {
    border-bottom: 1px solid var(--border-subtle) !important;
  }
  
  .portal-content-pane {
    padding: 16px !important;
  }
  
  .chart-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
  
  .chart-legend {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-top: 12px !important;
  }
  
  .cohort-table {
    min-width: 560px !important;
  }
  
  .mock-grid-metrics {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  .metric-box {
    padding: 16px 10px !important;
  }
  
  .metric-box .m-value {
    font-size: 18px !important;
  }
  
  .mockup-chart-container {
    padding: 16px 12px !important;
  }
  
  .mockup-cohort {
    gap: 20px !important;
  }
  
  .mockup-kanban {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  /* Implantação da Fórmula section */
  .scope-timeline .scope-details-setup {
    width: auto !important;
    margin-left: 0 !important;
    margin-top: 8px !important;
    margin-bottom: 16px !important;
    border-left: 4px solid var(--sage-deep) !important;
    box-shadow: none !important;
    border-top: 1px solid var(--sage-primary) !important;
    border-right: 1px solid var(--sage-primary) !important;
    border-bottom: 1px solid var(--sage-primary) !important;
    border-radius: 0 8px 8px 0 !important;
    animation: slideDown 0.3s ease-out forwards;
  }
  
  .scope-timeline {
    gap: 16px !important;
  }
  
  .scope-time-node {
    position: relative;
    background: rgba(245, 240, 232, 0.5) !important;
    border: 1px solid var(--border-subtle) !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    transition: var(--transition-fast);
  }
  
  .scope-time-node:hover, .scope-time-node:active {
    background: rgba(245, 240, 232, 0.8) !important;
    border-color: var(--sage-primary) !important;
  }
  
  .scope-time-node.active {
    background: var(--cream-warm) !important;
    border-color: var(--sage-deep) !important;
    border-left: 4px solid var(--sage-deep) !important;
  }
  
  .scope-time-node::after {
    content: "[ + ]" !important;
    font-family: var(--font-mono) !important;
    font-size: 10px !important;
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--text-tertiary) !important;
    transition: var(--transition-fast);
  }
  
  .scope-time-node.active::after {
    content: "[ – ]" !important;
    color: var(--sage-deep) !important;
    font-weight: bold !important;
  }
  
  .scope-setup-content-split {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .scope-setup-visual-pane {
    min-height: 150px !important;
  }
  
  .calc-card {
    padding: 24px 16px !important;
  }
  
  .calc-results-column {
    padding: 24px 16px !important;
  }
  
  .results-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  
  .tier-card-pricing {
    padding: 24px 16px !important;
  }
  
  .nav-links {
    display: none;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }
  
  .footer-right {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .kpi-grid {
    grid-template-columns: 1fr !important;
  }
  
  .mock-grid-metrics {
    grid-template-columns: 1fr !important;
  }
  
  .story-tabs-nav {
    width: 100% !important;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Radar Pulse Animation & KPI Radar Header */
@keyframes pulse-radar {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(169, 93, 78, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(169, 93, 78, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(169, 93, 78, 0); }
}

.kpi-radar-header {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.radar-dot {
  width: 6px;
  height: 6px;
  background: var(--accent-red);
  border-radius: 50%;
  display: inline-block;
  opacity: 0.85;
  box-shadow: 0 0 0 4px rgba(169, 93, 78, 0.2);
  animation: pulse-radar 1.8s infinite ease-in-out;
}

@media (min-width: 769px) {
  .story-title-single-line {
    white-space: nowrap;
  }
}
