:root {
  /* Color Palette Tokens */
  --bg-space: #020405;
  --bg-surface: #070c0e;
  --bg-card: rgba(10, 18, 20, 0.85);
  --bg-card-hover: rgba(14, 25, 28, 0.95);
  --bg-card-solid: #0a1214;
  --bg-black: #000000;
  
  --text-main: #F2F5F3;
  --text-muted: #B8C7BF;
  --text-dim: #9EB0A6;
  
  --amber: #F5A14B;
  --amber-hover: #ffad5c;
  --amber-dim: #B07638;
  --amber-glow: rgba(245, 161, 75, 0.28);
  --amber-bg: rgba(245, 161, 75, 0.12);
  --amber-bg-subtle: rgba(245, 161, 75, 0.06);
  --amber-border: rgba(245, 161, 75, 0.35);
  --amber-border-focus: rgba(245, 161, 75, 0.65);
  --amber-border-subtle: rgba(245, 161, 75, 0.22);
  --amber-border-hover: rgba(245, 161, 75, 0.40);
  
  --teal: #5FB3A8;
  --teal-glow: rgba(95, 179, 168, 0.28);
  --teal-bg: rgba(95, 179, 168, 0.12);
  --teal-border: rgba(95, 179, 168, 0.35);
  
  --border-hairline: rgba(232, 236, 234, 0.14);
  --border-subtle: rgba(232, 236, 234, 0.08);
  --border-card: rgba(232, 236, 234, 0.18);
  
  --shadow-contact: rgba(0, 0, 0, 0.45);
  --black-trans-40: rgba(0, 0, 0, 0.40);
  --black-trans-55: rgba(2, 4, 5, 0.55);
  --black-trans-60: rgba(2, 4, 5, 0.60);
  --black-trans-70: rgba(2, 4, 5, 0.70);
  --black-trans-75: rgba(0, 0, 0, 0.75);
  --black-trans-82: rgba(2, 4, 5, 0.82);
  --black-trans-85: rgba(2, 4, 5, 0.85);
  --black-trans-90: rgba(2, 4, 5, 0.90);
  --black-trans-92: rgba(2, 4, 5, 0.92);
  --black-trans-96: rgba(2, 4, 5, 0.96);
  
  --white-trans-02: rgba(232, 236, 234, 0.02);
  --white-trans-05: rgba(232, 236, 234, 0.05);
  --white-trans-10: rgba(232, 236, 234, 0.10);
  --white-trans-40: rgba(232, 236, 234, 0.40);

  --black-trans-20: rgba(2, 4, 5, 0.20);
  --black-trans-30: rgba(2, 4, 5, 0.30);
  --black-trans-40a: rgba(2, 4, 5, 0.40);
  --black-trans-60a: rgba(0, 0, 0, 0.60);
  --black-trans-75a: rgba(2, 4, 5, 0.75);
  --black-trans-80: rgba(2, 4, 5, 0.80);
  --black-trans-80a: rgba(0, 0, 0, 0.80);
  --black-trans-95: rgba(2, 4, 5, 0.95);
  --black-trans-98: rgba(2, 4, 5, 0.98);
  --bg-card-80: rgba(10, 18, 20, 0.80);
  --bg-card-60: rgba(10, 18, 20, 0.60);
  --bg-surface-88: rgba(7, 12, 14, 0.88);
  --amber-010: rgba(245, 161, 75, 0.10);
  --amber-018: rgba(245, 161, 75, 0.18);
  --amber-030: rgba(245, 161, 75, 0.30);
  --amber-045: rgba(245, 161, 75, 0.45);
  --amber-050: rgba(245, 161, 75, 0.50);
  --teal-005: rgba(95, 179, 168, 0.05);
  --teal-060: rgba(95, 179, 168, 0.60);
  --white-trans-04: rgba(232, 236, 234, 0.04);
  --white-trans-06: rgba(232, 236, 234, 0.06);

  /* Product Showcase & Custom Tokens (--prod-...) */
  --prod-ruler-bg: rgba(2, 4, 5, 0.96);
  --prod-tooltip-shadow: rgba(0, 0, 0, 0.60);
  --prod-proof-bg: rgba(7, 9, 14, 0.82);
  --prod-proof-border: rgba(245, 161, 75, 0.35);
  --prod-proof-shadow: rgba(0, 0, 0, 0.75);
  --prod-calc-bg: rgba(245, 161, 75, 0.06);
  --prod-rail-track: rgba(232, 236, 234, 0.12);
  --prod-node-bullet-bg: rgba(232, 236, 234, 0.10);
  --prod-node-active-bg: rgba(245, 161, 75, 0.08);
  --prod-text-dark: #020405;
  --prod-canvas-bg-start: rgba(8, 16, 18, 0.96);
  --prod-canvas-bg-end: rgba(3, 7, 9, 0.99);
  --prod-canvas-shadow: rgba(0, 0, 0, 0.55);
  --prod-stage-glow-1: rgba(245, 161, 75, 0.04);
  --prod-stage-glow-3: rgba(245, 161, 75, 0.05);
  --prod-mill-shadow: rgba(0, 0, 0, 0.75);
  --prod-hud-bg: rgba(5, 11, 14, 0.88);
  --prod-hud-border: rgba(232, 236, 234, 0.14);
  --prod-hud-shadow: rgba(0, 0, 0, 0.65);
  --prod-forecast-fill: rgba(245, 161, 75, 0.16);
  --prod-forecast-stroke: rgba(245, 161, 75, 0.40);
  --prod-alert-bg: rgba(245, 161, 75, 0.12);
  --prod-sensor-ping-border: rgba(245, 161, 75, 0.60);
  --prod-badge-bg: rgba(0, 0, 0, 0.55);
  --prod-badge-teal-bg: rgba(95, 179, 168, 0.12);
  --prod-twin-shadow: rgba(0, 0, 0, 0.70);
  --prod-teal-neon: #5fb3a8;
  --prod-teal-glow-75: rgba(95, 179, 168, 0.75);
  --prod-teal-glow-45: rgba(95, 179, 168, 0.45);
  --prod-teal-glow-90: rgba(95, 179, 168, 0.90);
  --prod-bar-wrap-bg: rgba(255, 255, 255, 0.08);
  --prod-bar-amber: #d97706;
  --prod-limit-red: #ef4444;
  --prod-mill-fg-shadow: rgba(0, 0, 0, 0.80);
  --prod-orbit-track: rgba(245, 161, 75, 0.25);
  --prod-loop-node-bg: rgba(7, 12, 14, 0.95);
  --prod-text-shadow: #000000;
  --prod-override-border: rgba(232, 236, 234, 0.08);
  --prod-btn-return-bg: rgba(245, 161, 75, 0.12);
  --prod-stamp-bg: rgba(245, 161, 75, 0.10);
  --prod-bd-fixed: #7E9086;
  --prod-bd-safe: rgba(95, 179, 168, 0.15);
  --prod-bd-grid: rgba(232, 236, 234, 0.08);
  --prod-bs-dot: #EDE6DA;

  
  /* Modular Typography Scale Tokens (Exact 9 discrete steps <= 14 limit) */
  --fs-12: 12px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-16: 16px;
  --fs-18: 18px;
  --fs-22: 22px;
  --fs-28: 28px;
  --fs-44: 44px;
  --fs-56: 56px;
  --fs-72: 72px;

  /* Fonts */
  --font-display: 'Big Shoulders Display', -apple-system, sans-serif;
  --font-mono: 'Azeret Mono', monospace;
  --font-body: 'Work Sans', -apple-system, sans-serif;

  /* Dimensions & Spacing */
  --ruler-width: 80px;
  --header-height: 64px;
  --scroll-offset: 88px;
}

/* Typography & Flow Defaults */
/* Typography & Flow Defaults */
h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
}

sup {
  font-size: max(12px, 0.8em);
  line-height: 0;
  vertical-align: baseline;
  position: relative;
  top: -0.4em;
}

section, .hero-anchor-target, .sensor-zoom-bridge {
  scroll-margin-top: var(--scroll-offset);
}

.hero-anchor-target {
  position: absolute;
  pointer-events: none;
  width: 0;
  height: 0;
  overflow: hidden;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

p {
  max-width: 68ch;
}





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

html {
  background-color: var(--bg-space);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  /* tipografia também no body: o visualizador publica a página dentro de um body com font: 14px system-ui,
     que venceria a herança do html (texto sairia em fonte do sistema a 14 px) */
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--bg-space);
  color: var(--text-main);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Accessibility Skip Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  background: var(--amber);
  color: var(--bg-black);
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s ease;
  text-decoration: none;
  border-radius: 2px;
}
.skip-link:focus {
  top: 20px;
}

/* Global Ambient Vignette & Technical Grid Overlay */
.screen-vignette {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 40%, var(--black-trans-82) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Vinheta e grade técnica ficam POR BAIXO do conteúdo: por cima, escureciam 82% nas bordas, inclusive títulos e logos */
main,
.site-colophon {
  position: relative;
  z-index: 3;
}

.screen-grid {
  position: fixed;
  inset: 0;
  background-size: 60px 60px;
  background-image: 
    linear-gradient(to right, var(--white-trans-02) 1px, transparent 1px),
    linear-gradient(to bottom, var(--white-trans-02) 1px, transparent 1px);
  pointer-events: none;
  z-index: 1;
}

/* Containers & Common Typography */
.container {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 1024px) {
  .container {
    padding-left: calc(var(--ruler-width) + 32px);
    padding-right: 48px;
  }
}

.sec-intro {
  margin-bottom: 48px;
}

.sec-meta-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.meta-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-bg-subtle);
  border: 1px solid var(--amber-border-subtle);
  padding: 4px 10px;
  border-radius: 2px;
}

.sec-monumental-title {
  font-family: var(--font-display);
  font-size: var(--fs-44);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 20px;
}

.sec-lead-copy {
  font-size: var(--fs-18);
  color: var(--text-muted);
  max-width: 60ch;
  line-height: 1.6;
}

/* ==========================================================================
   TOPBAR HEADER
   ========================================================================== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--black-trans-85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-hairline);
  z-index: 100;
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: var(--text-main);
  white-space: nowrap;
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.04em;
  color: var(--text-muted);
  white-space: nowrap;
  display: none;
}

@media (min-width: 1500px) {
  .brand-tag {
    display: inline-block;
  }
}

.topbar-nav {
  display: none;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* menu completo só a partir de 1200 px: a 1024 px ele não cabe com a marca, o Index e o CTA (o CTA era cortado);
   abaixo disso a navegação fica no botão Index */
@media (min-width: 1200px) {
  .topbar-nav {
    display: flex;
  }
}

.topbar-link {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
  padding: 4px 6px;
  white-space: nowrap;
  flex-shrink: 0;
}

.topbar-link:hover,
.topbar-link:focus-visible {
  color: var(--amber);
}

.topbar-hud {
  display: none;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--amber);
  background: var(--amber-bg-subtle);
  padding: 6px 14px;
  border: 1px solid var(--amber-border-subtle);
  border-radius: 2px;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 1500px) {
  .topbar-hud {
    display: flex;
  }
}

.hud-optic {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--amber);
  animation: pulse-optic 2s infinite ease-in-out;
}

@keyframes pulse-optic {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.hud-scale-tag {
  font-size: var(--fs-14);
  font-weight: 600;
}

.hud-coords {
  color: var(--text-dim);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  white-space: nowrap;
}

.btn-index {
  background: transparent;
  border: 1px solid var(--border-hairline);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-index:hover {
  border-color: var(--amber);
  color: var(--amber);
}

.btn-index-icon {
  width: 8px;
  height: 8px;
  border: 1px solid currentColor;
}

.btn-cta-top {
  background: var(--amber);
  color: var(--bg-space);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 2px;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-cta-top:hover {
  background: var(--amber-hover);
  transform: translateY(-1px);
}

/* Buttons */
.btn-cta-amber {
  display: inline-block;
  background: var(--amber);
  color: var(--bg-space);
  font-family: var(--font-mono);
  font-size: var(--fs-15);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 2px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-amber:hover {
  background: var(--amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--amber-glow);
}

.btn-cta-outline {
  display: inline-block;
  background: transparent;
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: var(--fs-15);
  font-weight: 500;
  padding: 13px 26px;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid var(--border-hairline);
  transition: all 0.2s ease;
}

.btn-cta-outline:hover {
  border-color: var(--text-main);
  background: var(--white-trans-06);
  transform: translateY(-2px);
}

/* ==========================================================================
   LATERAL SCALE RULER NAVIGATION (p09 Heritage)
   ========================================================================== */
.scale-ruler {
  position: fixed;
  left: 0;
  top: var(--header-height);
  bottom: 0;
  width: var(--ruler-width);
  background: var(--prod-ruler-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-right: 1px solid var(--border-hairline);
  z-index: 90;
  display: none;
  flex-direction: column;
  justify-content: center;
  padding: 16px 0;
}

@media (min-width: 1024px) {
  .scale-ruler {
    display: flex;
  }
}

.ruler-track {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  padding: 0 8px;
}

.ruler-indicator {
  position: absolute;
  left: 4px;
  width: 3px;
  height: 22px;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  border-radius: 2px;
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
  pointer-events: none;
}

.ruler-tick {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  padding: 4px 6px;
  border-radius: 2px;
  transition: color 0.15s ease;
  position: relative;
  outline: none;
}

.tick-mark {
  width: 8px;
  height: 1px;
  background: var(--text-dim);
  flex-shrink: 0;
  transition: width 0.2s ease, background-color 0.2s ease;
}

.tick-exp {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-weight: 500;
  line-height: 1;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color 0.2s ease;
}

.ruler-tooltip {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card-solid);
  border: 1px solid var(--border-card);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 2px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 100;
  box-shadow: 0 4px 16px var(--prod-tooltip-shadow);
}

.ruler-tick:hover,
.ruler-tick:focus-visible,
.ruler-tick.is-active {
  color: var(--amber);
}

.ruler-tick:hover .tick-mark,
.ruler-tick:focus-visible .tick-mark,
.ruler-tick.is-active .tick-mark {
  width: 14px;
  background: var(--amber);
}

.ruler-tick:hover .tick-exp,
.ruler-tick:focus-visible .tick-exp,
.ruler-tick.is-active .tick-exp {
  color: var(--amber);
}

.ruler-tick:hover .ruler-tooltip,
.ruler-tick:focus-visible .ruler-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(2px);
}

.ruler-divider {
  height: 1px;
  background: var(--border-hairline);
  margin: 4px 0;
}

/* ==========================================================================
   INDEX DRAWER OVERLAY
   ========================================================================== */
.index-drawer {
  position: fixed;
  inset: 0;
  z-index: 1000;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: var(--black-trans-85);
  backdrop-filter: blur(8px);
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 580px;
  background: var(--bg-surface);
  border-left: 1px solid var(--border-hairline);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-hairline);
  padding-bottom: 16px;
}

.drawer-title {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: 0.08em;
  color: var(--amber);
}

.drawer-close {
  background: transparent;
  border: 1px solid var(--border-hairline);
  color: var(--text-main);
  font-size: var(--fs-22);
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-body {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.drawer-kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

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

.drawer-links a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  text-decoration: none;
  color: var(--text-main);
  font-size: var(--fs-18);
  font-weight: 500;
  transition: color 0.15s ease;
}

.drawer-links a span {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--amber);
  min-width: 60px;
}

.drawer-links a:hover {
  color: var(--amber);
}

.drawer-foot {
  margin-top: 40px;
  border-top: 1px solid var(--border-hairline);
  padding-top: 24px;
}

.drawer-note {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
  margin-top: 14px;
}

/* ==========================================================================
   HERO & PLANETARY DESCENT (10^7 m -> 10^4 m -> 10^3 m)
   ========================================================================== */
.hero-pinned-viewport {
  position: relative;
  height: 250vh; /* Pinned scroll distance for multi-layer zoom descent */
  background: var(--bg-space);
}

.hero-stage {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.hero-layer img,
.hero-layer video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.layer-earth {
  z-index: 10;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.layer-complex {
  z-index: 11;
  opacity: 0;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
  position: absolute;
  inset: 0;
}

.layer-complex::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--black-trans-20) 0%, var(--black-trans-60) 100%);
  pointer-events: none;
}

.layer-descent {
  z-index: 12;
  opacity: 0;
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

/* Optical Reticle Overlay */
.hud-reticle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(85vw, 920px);
  height: min(75vh, 600px);
  pointer-events: none;
  z-index: 20;
}

.reticle-corner {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--amber-045);
}

.reticle-corner.tl { top: 0; left: 0; border-top: 1px solid; border-left: 1px solid; }
.reticle-corner.tr { top: 0; right: 0; border-top: 1px solid; border-right: 1px solid; }
.reticle-corner.bl { bottom: 0; left: 0; border-bottom: 1px solid; border-left: 1px solid; }
.reticle-corner.br { bottom: 0; right: 0; border-bottom: 1px solid; border-right: 1px solid; }

.reticle-hairline {
  position: absolute;
  background: var(--amber-018);
}
.reticle-hairline.v {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}
.reticle-hairline.h {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}

.reticle-target-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 1px solid var(--amber-border-hover);
}

.target-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
}
.target-cross::before, .target-cross::after {
  content: '';
  position: absolute;
  background: var(--amber);
}
.target-cross::before { top: 0; bottom: 0; left: 3px; width: 2px; }
.target-cross::after { left: 0; right: 0; top: 3px; height: 2px; }

.target-ping {
  position: absolute;
  inset: -10px;
  border: 1px solid var(--amber);
  border-radius: 50%;
  animation: ping-target 3s infinite cubic-bezier(0, 0.2, 0.8, 1);
}

@keyframes ping-target {
  0% { transform: scale(0.4); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Monumental Hero Typography */
.hero-content {
  position: relative;
  z-index: 25;
  text-align: center;
  max-width: min(85vw, 860px);
  padding: 0 24px;
  margin: 0 auto;
}

.hero-scale-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--amber);
  background: var(--black-trans-70);
  backdrop-filter: blur(6px);
  border: 1px solid var(--amber-border);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 24px;
}

.badge-exp {
  font-size: var(--fs-14);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.2vw, 76px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 24px;
}

.title-row {
  display: block;
}

.title-accent {
  color: var(--amber);
}

.hero-subhead {
  font-size: var(--fs-18);
  color: var(--text-main);
  max-width: 60ch;
  margin: 0 auto 36px;
  line-height: 1.6;
  text-shadow: 0 2px 8px var(--black-trans-80, var(--black-trans-80a));
}

.hero-proof {
  font-family: var(--font-sans);
  font-size: 15.5px;
  color: var(--text-main);
  background: var(--prod-proof-bg);
  border: 1px solid var(--prod-proof-border);
  border-radius: 4px;
  max-width: 52ch;
  margin: -12px auto 36px;
  padding: 14px 24px;
  line-height: 1.55;
  box-shadow: 0 8px 32px var(--prod-proof-shadow);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-proof-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--fs-22);
  font-weight: 900;
  color: var(--amber);
  margin-right: 6px;
  letter-spacing: -0.01em;
  vertical-align: -1px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}

.hero-sectors-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.sector-pill {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--black-trans-60);
  border: 1px solid var(--border-hairline);
  padding: 6px 14px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
}

.hero-scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 25;
}

.scroll-mouse {
  width: 18px;
  height: 28px;
  border: 1px solid var(--white-trans-40);
  border-radius: 9px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.scroll-wheel {
  width: 2px;
  height: 6px;
  background: var(--amber);
  border-radius: 1px;
  animation: wheel-bounce 1.8s infinite ease-in-out;
}

@keyframes wheel-bounce {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(10px); opacity: 0; }
}

.scroll-text {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .hero-pinned-viewport {
    height: auto;
  }
  .hero-stage {
    position: relative;
    height: auto;
    min-height: 100vh;
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hud-reticle {
    display: none;
  }
  .hero-content {
    padding-top: 16px;
    padding-bottom: 24px;
  }
  .hero-title {
    font-size: clamp(34px, 9vw, 48px);
    line-height: 0.95;
  }
  .hero-subhead {
    font-size: var(--fs-16);
    margin-bottom: 24px;
  }
  .hero-ctas {
    margin-bottom: 24px;
  }
  .hero-sectors-summary {
    position: static;
    margin-bottom: 24px;
  }
  .hero-scroll-cue {
    position: static;
    transform: none;
    margin-top: 16px;
  }
}

/* ==========================================================================
   SECTION 2: INDUSTRIES & FOUR OPERATIONS (10^2 m)
   ========================================================================== */
.sec-industries {
  padding: 120px 0 0;
  position: relative;
  background: var(--bg-space);
  z-index: 30;
}

/* Quadrants Overview Wall */
.quadrants-wall {
  display: grid;
  grid-template-columns: 100%;
  gap: 2px;
  background: var(--border-hairline);
  margin-bottom: 96px;
}

@media (min-width: 768px) {
  .quadrants-wall {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .quadrants-wall {
    margin-left: calc(var(--ruler-width) + 32px);
    margin-right: 48px;
    max-width: 1400px;
  }
}

.quadrant-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  background: var(--bg-surface);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
}

.quadrant-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.quadrant-media img,
.quadrant-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.quadrant-card:hover .quadrant-media img,
.quadrant-card:hover .quadrant-media video {
  transform: scale(1.05);
}

.quadrant-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--black-trans-95) 10%, var(--black-trans-40a) 60%, var(--black-trans-20) 100%);
}

.quadrant-body {
  position: relative;
  z-index: 2;
}

.quadrant-kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 8px;
  display: block;
}

.quadrant-heading {
  font-family: var(--font-display);
  font-size: var(--fs-16);
font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 10px;
}

.quadrant-tagline {
  font-weight: 600;
  color: var(--amber);
  font-size: var(--fs-16);
  margin-bottom: 8px;
}

.quadrant-desc {
  font-size: var(--fs-15);
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 480px;
}

/* Horizontal Pinned Stages Journey (p03 Format with Cinematic Wipes) */
.horizontal-journey-wrapper {
  position: relative;
  height: 400vh; /* Pinned distance for 4 horizontal stages */
}

.journey-sticky-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-space);
}

.journey-track {
  display: flex;
  width: 400vw;
  height: 100%;
  will-change: transform;
}

.journey-stage {
  width: 100vw;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 48px;
  flex-shrink: 0;
}

@media (min-width: 1024px) {
  .journey-stage {
    padding-left: calc(var(--ruler-width) + 64px);
    padding-right: 96px;
  }
}

.stage-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.stage-backdrop img,
.stage-backdrop video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-gradient-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--black-trans-92) 20%, var(--black-trans-60) 60%, var(--black-trans-30) 100%);
}

.stage-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.stage-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.stage-number {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--amber);
}

.stage-scale {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.stage-title {
  font-family: var(--font-display);
  font-size: var(--fs-44);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 16px;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}

.stage-subtitle {
  font-size: var(--fs-28);
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 18px;
  line-height: 1.3;
}

.stage-body {
  font-size: var(--fs-16);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 32px;
}

.stage-telemetry-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  background: var(--bg-card-80);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-hairline);
  padding: 16px 20px;
  border-radius: 2px;
}

@media (min-width: 640px) {
  .stage-telemetry-bar {
    grid-template-columns: repeat(4, 1fr);
  }
}

.telem-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.telem-lbl {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
  text-transform: uppercase;
}

.telem-val {
  font-family: var(--font-mono);
  font-size: var(--fs-15);
  font-weight: 600;
  color: var(--text-main);
}

.val-teal {
  color: var(--teal);
}

.telem-simulated {
  grid-column: 1 / -1;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.journey-waybar {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 20;
  display: flex;
  background: var(--black-trans-85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
}

@media (min-width: 1024px) {
  .journey-waybar {
    left: calc(var(--ruler-width) + 32px);
    right: 48px;
  }
}

/* trilho horizontal começa depois da régua fixa: na troca de setor, o texto que sai não passa por baixo da régua */
@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .journey-sticky-viewport { margin-left: var(--ruler-width); width: calc(100% - var(--ruler-width)); }
  .journey-track { width: calc(4 * (100vw - var(--ruler-width))); }
  .journey-stage { width: calc(100vw - var(--ruler-width)); padding-left: 64px; }
  .journey-waybar { left: 32px; }
}

.waybar-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border-hairline);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.2s ease;
}

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

.waybar-btn .wb-idx {
  color: var(--amber-dim);
  opacity: 1;
  font-weight: 600;
}

.waybar-btn:hover,
.waybar-btn.is-active {
  color: var(--text-main);
  background: var(--amber-bg-subtle);
}

@media (max-width: 768px) {
  .stage-subtitle {
    font-size: clamp(18px, 4.8vw, 24px);
  }
  .stage-content {
    padding-bottom: 130px;
  }
  .journey-waybar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    background: var(--bg-surface);
    bottom: 12px;
    left: 12px;
    right: 12px;
    border: 1px solid var(--border-hairline);
  }
  .waybar-btn {
    padding: 10px 8px;
    justify-content: center;
    border-bottom: 1px solid var(--border-hairline);
    border-right: 1px solid var(--border-hairline);
  }
  .waybar-btn:nth-child(even) {
    border-right: none;
  }
  .waybar-btn:nth-child(3),
  .waybar-btn:nth-child(4) {
    border-bottom: none;
  }
}

.waybar-btn.is-active .wb-idx {
  opacity: 1;
}

/* ==========================================================================
   SECTION 3: MACHINE ATLAS IN CUTAWAY — PINNED HORIZONTAL SCROLL (Spec 2)
   ========================================================================== */
.sec-machines-pinned {
  position: relative;
  height: 700vh;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.mach-sticky-viewport {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: clip;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: var(--bg-surface);
}

.mach-nav-bar {
  position: relative;
  z-index: 25;
  padding-top: calc(var(--header-height) + 6px);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-hairline);
  background: var(--black-trans-92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  flex-shrink: 0;
}

.mach-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mach-pathbar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.mach-path-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: clamp(11.5px, 0.85vw, 12px);
  padding: 4px 8px;
  border-radius: 2px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.mach-path-btn .mp-idx {
  color: var(--amber-dim);
  opacity: 1;
  font-weight: 600;
  font-size: 11.5px;
}

.mach-path-btn:hover {
  color: var(--text-main);
  border-color: var(--amber-border-hover);
}

.mach-path-btn.is-active {
  color: var(--bg-space);
  background: var(--amber);
  border-color: var(--amber);
  font-weight: 600;
  box-shadow: 0 0 12px var(--amber-glow);
}

.mach-path-btn.is-active .mp-idx {
  color: var(--bg-space);
  opacity: 1;
}

.mach-slider-track {
  display: flex;
  width: 700vw;
  flex: 1 1 0%;
  min-height: 0;
  height: auto;
  will-change: transform;
}

.mach-slide {
  width: 100vw;
  min-width: 100vw;
  max-width: 100vw;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 20px 8px;
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
}

.mach-slide-header {
  text-align: center;
  margin-top: 0;
  margin-bottom: 4px;
  flex-shrink: 0;
  z-index: 10;
}

.mach-slide-kicker {
  font-family: var(--font-mono);
  font-size: clamp(11.5px, 0.9vw, 13px);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--amber);
  display: block;
  margin-bottom: 2px;
  word-break: normal;
  overflow-wrap: normal;
  line-height: 1.2;
}

.mach-slide-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 32px);
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text-main);
  margin: 0;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
  white-space: normal;
}

.mach-slide-subtitle {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
  margin-top: 2px;
}

.mach-view-container {
  width: min(84vw, 1260px);
  aspect-ratio: 16 / 9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.mach-plate {
  position: relative;
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  background: transparent;
  border: none;
  overflow: visible;
}

[data-machine] {
  container-type: inline-size;
}

@media (min-width: 1024px) {
  /* Palco do atlas recortado na borda da régua */
  .mach-sticky-viewport {
    left: var(--ruler-width);
    margin-left: var(--ruler-width);
    width: calc(100% - var(--ruler-width));
    overflow: clip;
  }

  .mach-sticky-viewport .container {
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
  }

  .mach-nav-bar {
    padding-top: calc(var(--header-height) + 6px);
    padding-bottom: 8px;
    flex-shrink: 0;
  }

  .mach-nav-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .mach-meta-strip {
    flex-shrink: 0;
    gap: 8px;
  }

  .mach-pathbar {
    display: flex;
    flex-wrap: nowrap !important;
    gap: 5px;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, transparent 0, black 12px, black calc(100% - 12px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0, black 12px, black calc(100% - 12px), transparent 100%);
    max-width: 100%;
  }

  .mach-pathbar::-webkit-scrollbar {
    display: none;
  }

  .mach-slider-track {
    flex: 1 1 0%;
    min-height: 0;
    height: auto;
    width: calc(7 * (100vw - var(--ruler-width)));
  }

  .mach-slide {
    width: calc(100vw - var(--ruler-width));
    min-width: calc(100vw - var(--ruler-width));
    max-width: calc(100vw - var(--ruler-width));
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px 20px 8px;
    box-sizing: border-box;
    overflow: hidden;
  }

  .mach-slide-header {
    text-align: center;
    margin-top: 0;
    margin-bottom: 4px;
    flex-shrink: 0;
    z-index: 10;
  }

  .mach-view-container {
    aspect-ratio: 16 / 9;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    max-width: 100%;
    max-height: calc(100% - 46px);
    width: min(calc(100vw - var(--ruler-width) - 48px), calc((100svh - var(--header-height) - 116px) * 16 / 9), 1260px);
  }
}

.mach-plate-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mach-backdrop-glow {
  position: absolute;
  inset: -6%;
  background: radial-gradient(ellipse at 50% 50%, var(--teal-bg) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.mach-contact-shadow {
  position: absolute;
  bottom: 4%;
  left: 14%;
  width: 72%;
  height: 14%;
  background: radial-gradient(ellipse at 50% 50%, var(--shadow-contact) 0%, transparent 72%);
  filter: blur(14px);
  pointer-events: none;
  z-index: 1;
}

.mach-trace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 2;
  filter: invert(1) brightness(1.2) contrast(1.1);
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  pointer-events: none;
  opacity: 1;
}

.mach-slide.is-in-view .mach-trace,
.mach-slide.has-revealed .mach-trace {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

.mach-render {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 3;
  opacity: 0;
  filter: none;
  transition: opacity 0.35s ease;
}

.mach-slide.is-in-view .mach-render,
.mach-slide.has-revealed .mach-render {
  opacity: 1;
  filter: none;
}

.mach-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

.c-node {
  fill: var(--amber);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.c-ring {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mach-slide.is-in-view .c-node,
.mach-slide.has-revealed .c-node {
  opacity: 1;
}

.mach-slide.is-in-view .c-ring,
.mach-slide.has-revealed .c-ring {
  opacity: 1;
}

.c-line {
  fill: none;
  stroke: var(--amber);
  stroke-width: 1.25px;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  transition: stroke-dashoffset 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mach-slide.is-in-view .c-line,
.mach-slide.has-revealed .c-line {
  stroke-dashoffset: 0;
}

.callout-card {
  position: absolute;
  z-index: 5;
  background: var(--bg-card-solid);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--amber-border);
  padding: 1cqw;
  border-radius: 2px;
  box-shadow: 0 8px 32px var(--black-trans-75);
  font-size: clamp(11.5px, 1.28cqw, 15px);
  line-height: 1.45;
  height: auto;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: auto;
  box-sizing: border-box;
}

.mach-slide.is-in-view .callout-card,
.mach-slide.has-revealed .callout-card {
  opacity: 1;
  transform: translateY(0);
}

.cc-badge {
  font-family: var(--font-mono);
  font-size: clamp(11.5px, 1.1cqw, 13px);
  letter-spacing: 0.08em;
  color: var(--amber);
  display: block;
  margin-bottom: 0.25cqw;
  text-transform: uppercase;
  line-height: 1.2;
}

.cc-title {
  font-family: var(--font-display);
  font-size: clamp(12.5px, 1.5cqw, 17px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  margin-top: 0;
  margin-bottom: 0.3cqw;
  line-height: 1.2;
}

.cc-text {
  /* 1,28cqw + respiro 1cqw: o texto do cartão cabe nas linhas que a geometria de callouts_v2.json reservou */
  font-size: clamp(11.5px, 1.28cqw, 15px);
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

/* A geometria de callouts_v2.json reserva uma linha de rótulo + o texto. A sobrelinha (Instrumentation / Inference loop /
   Objective) somava ~15 px por cartão numa placa de 1000 px e o cartão encostava na máquina: no atlas do desktop sai;
   no celular (cartões empilhados, sem geometria) continua. */
@media (min-width: 769px) {
  .callout-card .cc-badge {
    display: none;
  }
}

@media (max-width: 768px) {
  .sec-machines-pinned {
    height: auto;
  }
  .mach-sticky-viewport {
    position: static;
    height: auto;
    overflow: visible;
  }
  .mach-slider-track {
    display: block;
    width: 100%;
    height: auto;
    transform: none !important;
  }
  .mach-slide {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: auto;
    margin-bottom: 48px;
    padding: 0 16px;
    overflow-x: clip;
    box-sizing: border-box;
  }
  .mach-view-container {
    width: 100%;
    aspect-ratio: auto;
    height: auto;
    display: block;
  }
  .mach-plate {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mach-plate-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 12px;
    pointer-events: auto;
  }
  .mach-backdrop-glow {
    position: absolute;
    inset: -6%;
    pointer-events: none;
  }
  .mach-contact-shadow {
    position: absolute;
    bottom: 4%;
    left: 14%;
    width: 72%;
    height: 14%;
    pointer-events: none;
  }
  .mach-trace {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1 !important;
    clip-path: none !important;
  }
  .mach-render {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1 !important;
    filter: none !important;
  }
  .mach-svg {
    display: none !important;
  }
  .mach-mobile-pins {
    display: block !important;
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
  }
  .callout-card {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    left: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    margin-top: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    box-sizing: border-box;
    padding: 13px 15px !important;
    font-size: var(--fs-15) !important;
  }
  .callout-card .cc-badge {
    font-size: var(--fs-12) !important;
    margin-bottom: 2px !important;
  }
  .callout-card .cc-title {
    font-size: var(--fs-18) !important;
    margin-bottom: 4px !important;
  }
  .callout-card .cc-text {
    font-size: var(--fs-15) !important;
  }
}

/* ==========================================================================
   TRANSITION TO SENSOR & SENSOR ZOOM (10^0 m -> 10^-3 m)
   ========================================================================== */
.sensor-zoom-bridge {
  padding: 96px 0;
  background: var(--bg-space);
  position: relative;
}

.bridge-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 32px;
}

.sensor-visual-card {
  display: grid;
  grid-template-columns: 100%;
  gap: 36px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 40px;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .sensor-visual-card {
    grid-template-columns: 420px 1fr;
  }
}

.sensor-image-holder {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-black);
  border: 1px solid var(--border-hairline);
  overflow: hidden;
}

.sensor-image-holder img,
.sensor-image-holder video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.9, 0.3, 1);
}

.sensor-visual-card:hover .sensor-image-holder img,
.sensor-visual-card:hover .sensor-image-holder video {
  transform: scale(1.08);
}

.sensor-reticle {
  position: absolute;
  inset: 20px;
  pointer-events: none;
}

.sensor-cross {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  transform: translate(-50%, -50%);
}
.sensor-cross::before, .sensor-cross::after {
  content: '';
  position: absolute;
  background: var(--amber);
}
.sensor-cross::before { top: 0; bottom: 0; left: 7px; width: 2px; }
.sensor-cross::after { left: 0; right: 0; top: 7px; height: 2px; }

.sensor-bracket {
  position: absolute;
  width: 16px;
  height: 16px;
  border-color: var(--amber);
}
.sensor-bracket.tl { top: 0; left: 0; border-top: 2px solid; border-left: 2px solid; }
.sensor-bracket.br { bottom: 0; right: 0; border-bottom: 2px solid; border-right: 2px solid; }

.sensor-kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--amber);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.sensor-heading {
  font-family: var(--font-display);
  font-size: var(--fs-16);
font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 16px;
}

.sensor-body {
  font-size: var(--fs-16);
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   SHARED MODULES THEME MAPPING (RODADA 10)
   ========================================================================== */
[data-brainiall-demo] {
  --bd-bg: var(--bg-surface);
  --bd-ink: var(--text-main);
  --bd-muted: var(--text-muted);
  --bd-accent: var(--amber);
  --bd-fixed: var(--prod-bd-fixed);
  --bd-safe: var(--prod-bd-safe);
  --bd-grid: var(--prod-bd-grid);
  display: block;
  width: 100%;
  font-family: inherit;
}

[data-brainiall-show] {
  --bs-bg: var(--bg-space);
  --bs-dot: var(--prod-bs-dot);
  --bs-accent: var(--amber);
  display: block;
  width: 100%;
  font-family: inherit;
}

/* ==========================================================================
   SECTION: RESULTS & PUBLISHED FIGURES (#results)
   ========================================================================== */
.sec-results {
  position: relative;
  background: var(--bg-space);
  padding: 100px 0 120px;
  border-bottom: 1px solid var(--border-hairline);
}

.results-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .results-container {
    padding-left: calc(var(--ruler-width) + 32px);
    padding-right: 48px;
  }
}

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

@media (min-width: 600px) {
  .results-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .results-stats-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.stat-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--amber-border-hover);
  transform: translateY(-2px);
}

.stat-num {
  font-family: var(--font-display);
  font-size: var(--fs-44);
  font-weight: 900;
  line-height: 1.05;
  color: var(--amber);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.stat-caption {
  font-size: var(--fs-15);
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 60ch;
}

.stat-caption em {
  font-style: normal;
  color: var(--text-main);
  font-weight: 500;
}

.results-source {
  font-family: var(--font-mono);
  font-size: var(--fs-15);
  color: var(--text-dim);
  line-height: 1.6;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
  max-width: 58ch;
}

/* Calculator in Results */
.calc-card {
  margin-top: 56px;
  background: var(--bg-card);
  border: 1px solid var(--amber-border-subtle);
  border-radius: 4px;
  padding: 36px 32px;
  box-shadow: 0 8px 32px var(--black-trans-40);
  max-width: 960px;
}

.calc-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.calc-badge {
  background: var(--amber-bg);
  color: var(--amber);
  border: 1px solid var(--amber-border);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calc-title {
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: 800;
  color: var(--text-main);
  text-wrap: balance;
  margin: 0;
  text-transform: uppercase;
}

.calc-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

@media (min-width: 680px) {
  .calc-fields {
    grid-template-columns: 1fr 1fr;
  }
}

.calc-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.calc-label {
  font-family: var(--font-mono);
  font-size: var(--fs-15);
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.calc-input-wrapper {
  position: relative;
}

.calc-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--bg-space);
  border: 1px solid var(--border-hairline);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: var(--fs-18);
  padding: 12px 16px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.calc-input:focus {
  border-color: var(--amber);
  box-shadow: 0 0 12px var(--amber-glow);
}

.calc-result-box {
  background: var(--prod-calc-bg);
  border: 1px solid var(--amber-border);
  padding: 24px;
  border-radius: 2px;
}

.calc-result-lead {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.calc-result-value {
  font-family: var(--font-display);
  font-size: var(--fs-44);
  font-weight: 900;
  color: var(--amber);
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 12px;
}

.calc-disclaimer {
  font-size: var(--fs-15);
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  max-width: 46ch;
}

/* ==========================================================================
   SECTION: HOW IT WORKS (#how-it-works)
   ========================================================================== */
.sec-how-it-works {
  position: relative;
  background: var(--bg-surface);
  padding: 100px 0 120px;
  border-bottom: 1px solid var(--border-hairline);
}

.sec-how-it-works .sec-lead-copy {
  max-width: 50ch;
  line-height: 1.6;
}

.demo-conditions-text {
  font-family: var(--font-mono);
  font-size: var(--fs-15);
  color: var(--amber);
  max-width: 48ch;
  line-height: 1.55;
  margin-top: 16px;
  margin-bottom: 0;
}

.how-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .how-container {
    padding-left: calc(var(--ruler-width) + 32px);
    padding-right: 48px;
  }
}

.demo-mount-stage {
  width: 100%;
  max-width: 1320px;
  margin: 40px auto 0;
  box-sizing: border-box;
}

/* r13: a demo vai da régua até a borda direita da tela (sai da coluna de 1400 px) */
@media (min-width: 1024px) {
  .sec-how-it-works .demo-mount-stage {
    max-width: none;
    width: calc(100vw - var(--ruler-width));
    margin-left: calc(-32px - (100vw - min(100vw, 1440px)) / 2); /* .how-container: max 1440, padding ruler + 32 */
  }
  .scale-ruler { transition: opacity 0.4s ease; }
  .scale-ruler.is-dimmed { opacity: 0.15; }
}

/* ==========================================================================
   SECTION: THREE PRODUCTS IN STAIRCASE (#products) — ROUND 12 (v2)
   ========================================================================== */
.sec-products {
  position: relative;
  background: var(--bg-space);
  padding: 80px 0 120px;
  border-bottom: 1px solid var(--border-hairline);
  scroll-margin-top: var(--scroll-offset);
}

.products-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .products-container {
    padding-left: calc(var(--ruler-width) + 32px);
    padding-right: 48px;
  }
}

.products-subhead {
  font-family: var(--font-body);
  font-size: var(--fs-18);
  color: var(--amber);
  margin: 12px 0 32px 0;
  max-width: 65ch;
  line-height: 1.5;
}

/* Staircase Navigation Rail */
.prod-staircase-rail {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 0 44px 0;
  padding: 10px 0;
}

.rail-track {
  position: absolute;
  top: 24px;
  left: 20px;
  right: 20px;
  height: 2px;
  background: var(--prod-rail-track);
  z-index: 1;
}

.rail-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--amber));
  transition: width 0.4s ease;
  box-shadow: 0 0 8px var(--amber-glow);
}

.rail-nodes {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rail-node {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  background: var(--bg-space);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
  cursor: pointer;
}

.rail-node-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--prod-node-bullet-bg);
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.rail-node-label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  transition: all 0.3s ease;
}

.rail-node.is-active {
  border-color: var(--amber-border);
  background: var(--prod-node-active-bg);
}

.rail-node.is-active .rail-node-bullet {
  background: var(--amber);
  color: var(--prod-text-dark);
  box-shadow: 0 0 10px var(--amber-glow);
}

.rail-node.is-active .rail-node-label {
  color: var(--text-main);
}

/* Products Rows Stack */
.products-rows-stack {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

/* Product Row (Layout Alternation, >= 58% Visual on desktop, line height <= 640px) */
.prod-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
  scroll-margin-top: calc(var(--scroll-offset) + 20px);
}

@media (min-width: 1024px) {
  .prod-row {
    grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr);
    gap: 48px;
    min-height: 520px;
    max-height: 640px;
  }

  /* linha invertida: a imagem vai para a direita e leva junto a coluna larga */
  .prod-row.is-reversed {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.48fr);
  }

  .prod-row.is-reversed .prod-visual {
    order: 2;
  }

  .prod-row.is-reversed .prod-info {
    order: 1;
  }
}

/* Flagship Accent */
.prod-row.is-flagship {
  border-top: 1px solid var(--amber-border-subtle);
  position: relative;
}

.prod-row.is-flagship::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 2px;
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber-glow);
}

/* Product Visual Container (>= 58% width on desktop) */
.prod-visual {
  width: 100%;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
}

.visual-canvas {
  position: relative;
  background: linear-gradient(135deg, var(--prod-canvas-bg-start) 0%, var(--prod-canvas-bg-end) 100%);
  border: 1px solid var(--border-hairline);
  border-radius: 6px;
  box-shadow: 0 20px 48px var(--prod-canvas-shadow);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 1024px) {
  .visual-canvas {
    aspect-ratio: 1512 / 1072;
    height: auto;
  }
}

@media (max-width: 1023px) {
  .visual-canvas {
    aspect-ratio: 4 / 5;
    height: auto;
    display: block;
  }
}

.prod-row:hover .visual-canvas,
.prod-row.is-in-view .visual-canvas {
  border-color: var(--amber-border-subtle);
}

/* Product Explanatory Video */
.prod-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #020405;
}

/* Pause / Play Toggle Button */
.prod-video-toggle {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 8px;
  margin-top: 10px;
  font-family: 'Azeret Mono', var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  background: transparent;
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  padding: 6px 12px;
  min-height: 32px;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
  line-height: 1;
}

.prod-video-toggle:hover {
  border-color: var(--amber-border-subtle);
  color: var(--text-main);
}

.prod-video-toggle:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

@media (pointer: coarse) {
  .prod-video-toggle {
    min-height: 44px;
    padding: 8px 14px;
  }
}

.prod-video-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: currentColor;
  display: block;
}

/* Product Info Column */
.prod-info {
  display: flex;
  flex-direction: column;
}

.prod-step-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--amber-bg);
  border: 1px solid var(--amber-border-subtle);
  padding: 4px 10px;
  border-radius: 2px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 12px;
}

.prod-name {
  font-family: var(--font-display);
  font-size: var(--fs-44);
  font-weight: 900;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 6px 0;
  text-wrap: balance;
}

.prod-tagline {
  font-family: var(--font-body);
  font-size: var(--fs-18);
  font-style: italic;
  color: var(--amber);
  margin: 0 0 20px 0;
  line-height: 1.4;
  max-width: 60ch;
}

.prod-block {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.prod-label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--teal);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.prod-desc,
.prod-for,
.prod-gain {
  font-size: var(--fs-15);
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}

.prod-gain {
  color: var(--text-main);
  font-weight: 500;
}

.prod-auxiliary {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.prod-block-compact {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.prod-label-sub {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

.prod-examples {
  font-family: var(--font-mono);
  font-size: var(--fs-15);
  color: var(--text-dim);
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}

.prod-examples a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.prod-examples a:hover {
  color: var(--amber);
}

.prod-receive {
  font-size: var(--fs-15);
  color: var(--text-main);
  font-weight: 500;
  line-height: 1.55;
  margin: 0;
  max-width: 56ch;
}

.products-footer-note {
  font-size: var(--fs-16);
  color: var(--text-muted);
  text-align: center;
  margin: 64px auto 0;
  line-height: 1.6;
  max-width: 52ch;
}

@media (max-width: 899px) {
  .prod-name {
    font-size: var(--fs-28);
  }
  .products-rows-stack {
    gap: 40px;
  }
}

/* ==========================================================================
   SECTION: MACHINES IN MOTION (#play)
   ========================================================================== */
.sec-play {
  position: relative;
  width: 100%;
  min-height: 90vh;
  background: var(--bg-space);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  border-bottom: 1px solid var(--border-hairline);
  scroll-margin-top: var(--scroll-offset);
}

@media (max-width: 899px) {
  .sec-play {
    min-height: 75vh;
  }
}

.play-intro-wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 24px 12px;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .play-intro-wrap {
    padding-left: calc(var(--ruler-width) + 32px);
    padding-right: 48px;
  }
}

.play-meta-strip {
  justify-content: center;
  margin-bottom: 10px;
  gap: 8px;
}

.play-meta-strip .meta-tag {
  font-size: var(--fs-12);
  padding: 3px 8px;
}

.play-title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-main);
  margin: 0 0 8px 0;
  text-wrap: balance;
}

.play-instruction {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.1vw, 16px);
  font-style: italic;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 64ch;
  margin: 0 auto 6px;
  text-wrap: balance;
}

.play-footnote {
  font-family: var(--font-mono);
  font-size: var(--fs-13);
  color: var(--text-dim);
  text-align: center;
  margin: 4px auto 0;
  letter-spacing: 0.04em;
}

/* 3D Stage Container - Full width, bleeding edge-to-edge without card or border */
.play-show-stage,
[data-brainiall-show] {
  --bs-bg: var(--bg-space);
  --bs-dot: var(--prod-bs-dot);
  --bs-accent: var(--amber);
  display: block;
  width: 100%;
  flex: 1 1 auto;
  min-height: calc(90vh - 120px);
  position: relative;
  border: none;
  background: var(--bg-space);
  box-shadow: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
}

@media (max-width: 899px) {
  .play-show-stage,
  [data-brainiall-show] {
    min-height: calc(75vh - 110px);
  }
}



/* a seção inteira (título, palco e botões) ocupa uma tela abaixo do cabeçalho; o palco fica com o que sobra */
#play.sec-play { height: calc(100svh - var(--header-height)); min-height: 600px; }
#play .play-show-stage { flex: 1 1 0; height: auto; min-height: 0; max-height: none; }
#play .play-footnote { font-size: var(--fs-12); }
/* palco do espetáculo começa depois da régua de escala fixa: legenda e máquina centradas na área visível */
@media (min-width: 1024px) {
  #play .play-show-stage { margin-left: var(--ruler-width); width: calc(100% - var(--ruler-width)); }
}
/* o rótulo "illustrative" já está no cabeçalho da seção; o do módulo sairia duplicado */
#play .bs-footnote-tag { display: none; }
/* celular: cabeçalho da seção compacto para o palco ganhar altura */
@media (max-width: 899px) {
  .play-intro-wrap { padding: 20px 16px 6px; }
  .play-meta-strip .meta-tag:not(:first-child) { display: none; }
  .play-footnote { font-size: var(--fs-12); }
  .play-show-stage, [data-brainiall-show] { min-height: 64vh; }
}

/* ==========================================================================
   SECTION 5: ZOOM BACK OUT TO GLOBAL GRID (10^-3 m -> 10^7 m)
   ========================================================================== */
.sec-endpoint-network {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
}

.network-points-grid {
  display: grid;
  grid-template-columns: 100%;
  gap: 20px;
  margin-top: 48px;
}

@media (min-width: 640px) {
  .network-points-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .network-points-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.net-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 28px;
  border-radius: 2px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.net-card:hover {
  transform: translateY(-3px);
  border-color: var(--amber);
}

.net-icon {
  font-size: var(--fs-28);
  display: block;
  margin-bottom: 16px;
}

.net-card-title {
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 8px;
}

.net-card-desc {
  font-size: var(--fs-15);
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SECTION 5: CASES — REAL PLANTS, REAL RESULTS (CONTEUDO_v8)
   ========================================================================== */
.sec-evidence {
  padding: 120px 0;
  background: var(--bg-space);
}

.sec-cases {
  position: relative;
}

/* 3.2 Cabeçalho e índice */
.case-index {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: auto;
  gap: 16px;
  margin-top: 56px;
  margin-bottom: 88px;
}

@media (min-width: 1024px) {
  .case-index {
    grid-template-columns: repeat(4, 1fr);
  }
}

.case-index-item {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 8px;
  border-top: 1px solid var(--border-hairline);
  padding: 20px 20px 22px;
  text-decoration: none;
  background: transparent;
  border-radius: 0 0 2px 2px;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.case-index-item:hover,
.case-index-item:focus {
  border-top-color: var(--amber);
  background-color: var(--amber-bg-subtle);
}

.case-index-sector {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
}

.case-index-figure {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1;
  color: var(--amber);
  margin: 0;
  white-space: nowrap;
  align-self: end;
}

@media (max-width: 639px) {
  .case-index-figure {
    font-size: 34px;
  }
}

.case-index-item.is-status .case-index-figure {
  font-size: 28px;
  color: var(--teal);
}

@media (max-width: 639px) {
  .case-index-item.is-status .case-index-figure {
    font-size: 22px;
  }
}

@media (max-width: 400px) {
  .case-index-item {
    padding: 16px 12px 18px;
  }

  .case-index-figure {
    font-size: 28px;
  }

  .case-index-item.is-status .case-index-figure {
    font-size: 22px;
  }
}

.case-index-label {
  font-family: var(--font-body);
  font-size: var(--fs-15);
  color: var(--text-muted);
}

/* 3.3 Case grande (.case-feature: ouro e lítio) */
.case-feature {
  scroll-margin-top: 96px;
  margin-bottom: 120px;
}

@media (max-width: 767px) {
  .case-feature {
    margin-bottom: 72px;
  }
}

/* Mídia (.case-media) */
.case-media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--border-subtle);
  aspect-ratio: 4 / 3;
}

@media (min-width: 640px) {
  .case-media {
    aspect-ratio: 16 / 10;
  }
}

@media (min-width: 1024px) {
  .case-media {
    aspect-ratio: 21 / 8;
  }
}

.case-media video,
.case-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-media-photo img {
  object-position: 50% 40%;
}

.case-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(2, 4, 5, 0.55) 0%, rgba(2, 4, 5, 0) 55%),
    linear-gradient(to top, rgba(2, 4, 5, 0.9) 0%, rgba(2, 4, 5, 0.45) 38%, rgba(2, 4, 5, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

.case-media-hero {
  position: absolute;
  left: 32px;
  bottom: 28px;
  z-index: 2;
}

@media (max-width: 639px) {
  .case-media-hero {
    left: 16px;
    bottom: 16px;
  }
}

.case-hero-figure {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 9vw, 150px);
  line-height: 0.85;
  color: var(--amber);
  white-space: nowrap;
  display: block;
}

.case-hero-label {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-main);
  margin-top: 10px;
  display: block;
}

.case-media-caption {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
  background: rgba(2, 4, 5, 0.66);
  padding: 3px 10px;
  border-radius: 999px;
  line-height: 1.4;
}

@media (max-width: 639px) {
  .case-media-caption {
    top: 12px;
    bottom: auto;
    right: 12px;
  }
}

/* Cabeçalho do case (.case-head) */
.case-head {
  margin-top: 36px;
  max-width: 920px;
}

.case-label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--amber);
  display: block;
}

.case-name {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 56px;
  line-height: 0.95;
  text-wrap: balance;
  color: var(--text-main);
  margin: 12px 0 6px;
}

@media (max-width: 639px) {
  .case-name {
    font-size: 40px;
  }
}

.case-parent {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  font-weight: 500;
  color: var(--teal);
  margin: 0 0 14px 0;
}

.case-company {
  font-family: var(--font-body);
  font-size: var(--fs-18);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 68ch;
  margin-top: 14px;
}

@media (max-width: 639px) {
  .case-company {
    font-size: var(--fs-16);
  }
}

.case-logo {
  height: 30px;
  width: auto;
  display: block;
  margin: 16px 0 4px;
}

/* Corpo (.case-body) */
.case-body {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 1200px) {
  .case-body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
  }
}

.case-story {
  display: grid;
  gap: 36px;
  align-content: start;
}

.case-block {
  display: block;
}

.case-block-title {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin: 0 0 10px 0;
}

.case-block p {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-main);
  max-width: 62ch;
  margin: 0;
}

/* Produtos usados */
.case-steps-label,
.case-block .case-steps-label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
  text-transform: uppercase;
  margin: 18px 0 10px 0;
  line-height: 1.4;
}

.case-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.case-steps li {
  display: inline-flex;
  align-items: center;
}

.case-steps li:not(:last-child)::after {
  content: '›';
  color: var(--text-dim);
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
}

.case-step {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  border: 1px solid var(--border-hairline);
  border-radius: 999px;
  color: var(--text-dim);
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, background-color 0.18s ease;
}

.case-step:hover {
  border-color: var(--amber-border-hover);
}

.case-step.is-on {
  border-color: var(--amber-border);
  color: var(--amber);
  background-color: var(--amber-bg-subtle);
}

/* Calendário (.case-calendar) */
.case-calendar {
  margin: 20px 0 0 0;
  padding: 0;
}

.cal-strip {
  display: grid;
  grid-template-columns: repeat(27, minmax(0, 1fr));
  gap: 3px;
}

@media (max-width: 639px) {
  .cal-strip {
    gap: 2px;
  }
}

.cal-day {
  height: 30px;
  border-radius: 1px;
  display: block;
}

@media (max-width: 639px) {
  .cal-day {
    height: 22px;
  }
}

.cal-day.is-ai {
  background-color: var(--amber);
}

.cal-day.is-manual {
  background-color: rgba(232, 236, 234, 0.32);
}

.cal-day.is-maint {
  background: repeating-linear-gradient(135deg, rgba(232, 236, 234, 0.22) 0 2px, transparent 2px 5px);
  border: 1px solid var(--border-hairline);
}

.cal-ticks {
  display: grid;
  grid-template-columns: repeat(27, minmax(0, 1fr));
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
}

.cal-tick {
  grid-row: 1;
  white-space: nowrap;
  display: block;
}

.cal-tick.is-start {
  grid-column: 1 / 8;
  justify-self: start;
}

.cal-tick.is-maint {
  grid-column: 20 / 26;
  justify-self: center;
}

.cal-tick.is-end {
  grid-column: 26 / 28;
  justify-self: end;
}

@media (max-width: 639px) {
  .cal-tick.is-maint {
    display: none;
  }
}

.cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-muted);
}

.cal-key {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cal-key::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 1px;
  flex-shrink: 0;
}

.cal-key.is-ai::before {
  background-color: var(--amber);
}

.cal-key.is-manual::before {
  background-color: rgba(232, 236, 234, 0.32);
}

.cal-key.is-maint::before {
  background: repeating-linear-gradient(135deg, rgba(232, 236, 234, 0.22) 0 2px, transparent 2px 5px);
  border: 1px solid var(--border-hairline);
}

/* Resultados (.case-results) */
.case-results {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-top: 2px solid var(--amber);
  border-radius: 2px;
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
}

@media (max-width: 639px) {
  .case-results {
    padding: 24px;
  }
}

.case-period {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
  margin-left: 8px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

.case-figures {
  margin: 0;
  padding: 0;
}

.case-figure {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.case-figure:last-child {
  border-bottom: none;
}

.case-figure dt {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
}

.fig-num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 52px;
  line-height: 0.9;
  color: var(--text-main);
  white-space: nowrap;
}

@media (max-width: 639px) {
  .fig-num {
    font-size: 44px;
  }
}

.fig-label {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.case-figure dd {
  margin: 6px 0 0;
  font-family: var(--font-body);
  font-size: var(--fs-15);
  line-height: 1.55;
  color: var(--text-muted);
}

.case-confirm {
  margin: 20px 0 0 0;
  font-family: var(--font-body);
  font-size: var(--fs-15);
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.case-check {
  width: 16px;
  height: 16px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.case-source {
  font-family: var(--font-body);
  font-size: var(--fs-15);
  color: var(--text-dim);
  margin: 8px 0 0 0;
  line-height: 1.5;
}

.case-links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.case-link-more {
  font-family: var(--font-body);
  font-size: var(--fs-15);
  font-weight: 600;
  color: var(--text-main);
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.18s ease;
}

.case-link-more::after {
  content: ' →';
}

.case-link-more:hover {
  color: var(--amber);
}

@media (max-width: 639px) {
  .case-links .btn-cta-amber {
    width: 100%;
    text-align: center;
  }
}

/* Citação da AMG (.case-quote) e próximo passo */
.case-quote {
  margin: 56px 0 0 0;
  border-top: 1px solid var(--border-hairline);
  padding-top: 40px;
}

.case-quote blockquote {
  margin: 0;
  padding: 0;
}

.case-quote blockquote p {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text-main);
  max-width: 36ch;
  text-indent: -0.42em;
  margin: 0;
}

@media (max-width: 639px) {
  .case-quote blockquote p {
    font-size: 22px;
  }
}

.case-quote figcaption {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 16px;
}

.case-next {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  color: var(--teal);
  margin: 20px 0 0 0;
}

/* 3.4 Cases em andamento */
.case-progress-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin-top: 120px;
  margin-bottom: 20px;
}

.case-progress-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 1024px) {
  .case-progress-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
}

.case-compact {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-margin-top: 96px;
}

.case-compact-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.case-compact-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-chip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  background: rgba(2, 4, 5, 0.72);
  border: 1px solid var(--teal-border);
  border-radius: 999px;
  padding: 4px 10px;
}

.case-compact-body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  flex: 1;
}

@media (max-width: 639px) {
  .case-compact-body {
    padding: 20px;
  }
}

.case-compact .case-step {
  letter-spacing: 0.04em;
  padding: 6px 10px;
}

.case-compact .case-name {
  font-size: 36px;
  line-height: 1.05;
}

@media (max-width: 639px) {
  .case-compact .case-name {
    font-size: 30px;
  }
}

.case-figures.is-compact .fig-num {
  font-size: 34px;
  white-space: normal;
}

.case-delivered {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-delivered li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-family: var(--font-body);
  font-size: var(--fs-15);
  color: var(--text-main);
  line-height: 1.5;
}

.case-status {
  position: relative;
  padding-left: 14px;
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-15);
  line-height: 1.5;
  color: var(--teal);
}

.case-status::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--teal);
}

.case-compact .case-link-more {
  margin-top: auto;
}

/* 3.5 Parceiro e fecho */
.case-partner {
  margin-top: 72px;
  padding: 20px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: baseline;
}

@media (min-width: 640px) {
  .case-partner {
    grid-template-columns: auto 1fr;
  }
}

.case-partner-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
}

.case-partner-text {
  font-family: var(--font-body);
  font-size: var(--fs-15);
  color: var(--text-muted);
  max-width: 68ch;
  line-height: 1.6;
  margin: 0;
}

.case-cta {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px;
  background: var(--amber-bg-subtle);
  border: 1px solid var(--amber-border-subtle);
  border-radius: 2px;
}

@media (max-width: 639px) {
  .case-cta {
    padding: 24px;
  }
}

.case-cta-text {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 44px;
  line-height: 1;
  color: var(--text-main);
  text-wrap: balance;
  margin: 0;
}

@media (max-width: 639px) {
  .case-cta-text {
    font-size: 30px;
  }
}

/* 3.6 Estados, acessibilidade e foco */
.sec-cases a:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* ==========================================================================
   SECTION 7: AUTOPILOT GUARANTEES & SAFEGUARDS
   ========================================================================== */
.sec-autopilot-safeguards {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
}

.safeguards-columns {
  display: grid;
  grid-template-columns: 100%;
  gap: 24px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .safeguards-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}

.safeguard-col {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 32px;
  border-radius: 2px;
}

.col-num {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  font-weight: 600;
  color: var(--amber);
  margin-bottom: 16px;
  display: block;
}

.col-title {
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 12px;
}

.col-text {
  font-size: var(--fs-15);
  color: var(--text-muted);
  line-height: 1.6;
}

.compatibility-strip {
  background: var(--bg-card-60);
  border: 1px solid var(--border-hairline);
  padding: 20px 24px;
  border-radius: 2px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.compat-label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.compat-partner {
  font-size: var(--fs-15);
  color: var(--text-main);
}

/* ==========================================================================
   SECTION 8: PLATFORM ARCHITECTURE
   ========================================================================== */
.sec-platform {
  padding: 120px 0;
  background: var(--bg-space);
}

.platform-layers-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.platform-layer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 24px 32px;
  border-radius: 2px;
  transition: border-color 0.2s ease;
}

.platform-layer-row:hover {
  border-color: var(--teal);
}

.plr-badge {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--teal);
  min-width: 80px;
}

.plr-info {
  flex: 1;
  min-width: 260px;
}

.plr-title {
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 4px;
}

.plr-desc {
  font-size: var(--fs-15);
  color: var(--text-muted);
}

.plr-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
  background: var(--white-trans-04);
  border: 1px solid var(--border-hairline);
  padding: 6px 12px;
  border-radius: 2px;
}

.platform-callouts-duo {
  display: grid;
  grid-template-columns: 100%;
  gap: 24px;
}

@media (min-width: 768px) {
  .platform-callouts-duo {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pcallout-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 32px;
  border-radius: 2px;
}

.pcallout-heading {
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 10px;
}

.pcallout-copy {
  font-size: var(--fs-15);
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   SECTION 9: RESEARCH & MODEL BENCHMARK
   ========================================================================== */
.sec-research {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
}

.research-benchmark-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 40px;
  border-radius: 2px;
  margin-bottom: 40px;
}

.bench-bars {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

.bench-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: var(--fs-15);
}

.bl-val {
  font-weight: 600;
  color: var(--amber);
}

.bench-track {
  height: 12px;
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
}

.bench-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 1s ease;
}

.fill-brainiall {
  background: var(--amber);
  box-shadow: 0 0 12px var(--amber-glow);
}

.fill-base {
  background: var(--white-trans-40);
}

.bench-meta {
  display: grid;
  grid-template-columns: 100%;
  gap: 20px;
  border-top: 1px solid var(--border-hairline);
  padding-top: 24px;
}

@media (min-width: 640px) {
  .bench-meta {
    grid-template-columns: repeat(2, 1fr);
  }
}

.bm-num {
  font-family: var(--font-display);
  font-size: var(--fs-44);
  font-weight: 900;
  color: var(--teal);
  display: block;
}

.bm-lbl {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-muted);
}

.research-areas-grid {
  display: grid;
  grid-template-columns: 100%;
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .research-areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ra-item {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 20px;
  border-radius: 2px;
  display: flex;
  gap: 12px;
  font-size: var(--fs-15);
  color: var(--text-muted);
}

.ra-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 8px;
  flex-shrink: 0;
}

.ra-item strong {
  color: var(--text-main);
}

.research-badge-strip {
  display: flex;
  align-items: center;
}

.nvidia-stamp {
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--text-main);
  background: var(--white-trans-05);
  border: 1px solid var(--border-hairline);
  padding: 8px 16px;
  border-radius: 2px;
}

/* ==========================================================================
   SECTION 10: COMPANY
   ========================================================================== */
.sec-company {
  padding: 120px 0;
  background: var(--bg-space);
}

.company-ecosystem-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

@media (min-width: 900px) {
  .company-ecosystem-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

.partner-cell {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 24px;
  border-radius: 2px;
  text-align: center;
}

.partner-name {
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: 800;
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

.partner-role {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--amber);
}

.dev-api-portal {
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  padding: 24px 32px;
  border-radius: 2px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.dev-portal-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--teal);
  background: var(--teal-bg);
  padding: 4px 10px;
  border-radius: 2px;
}

.dev-portal-text {
  font-size: var(--fs-15);
  color: var(--text-muted);
}

.dev-link {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ==========================================================================
   SECTION 11: CONTACT & PLANT ASSESSMENT FORM
   ========================================================================== */
.sec-contact {
  padding: 120px 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-hairline);
}

.assessment-form {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  padding: 40px;
  border-radius: 2px;
  max-width: 880px;
}

.form-grid {
  display: grid;
  grid-template-columns: 100%;
  gap: 20px;
  margin-bottom: 28px;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-grid .form-field:last-child {
    grid-column: span 2;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-muted);
  text-transform: uppercase;
}

.form-field input {
  background: var(--black-trans-80);
  border: 1px solid var(--border-hairline);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  padding: 12px 16px;
  border-radius: 2px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus {
  outline: none;
  border-color: var(--amber);
  box-shadow: 0 0 10px var(--amber-glow);
}

.form-field-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.form-disclaimer {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
}

.form-disclaimer a {
  color: var(--amber);
  text-decoration: underline;
}

.form-status {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: var(--fs-14);
  color: var(--teal);
  background: var(--teal-bg);
  border: 1px solid var(--teal);
  padding: 12px 18px;
  border-radius: 2px;
}

/* ==========================================================================
   INSTITUTIONAL FOOTER / COLOPHON
   ========================================================================== */
.site-colophon {
  background: var(--bg-space);
  border-top: 1px solid var(--border-hairline);
  padding: 64px 0 32px;
  font-size: var(--fs-14);
  position: relative;
  z-index: 3;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer-brand-wrap .brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}

.footer-brand-wrap .brand-name {
  font-family: var(--font-display);
  font-size: var(--fs-24);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--text-main);
}

.footer-brand-wrap .brand-tag {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

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

.footer-col-title {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

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

.footer-links a {
  font-family: var(--font-sans);
  font-size: var(--fs-14);
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  border-top: 1px solid var(--border-hairline);
}

.footer-bottom-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.footer-copy {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
}

.footer-mail {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-mail:hover {
  color: var(--amber);
}

.footer-bottom-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-socials a {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-socials a:hover {
  color: var(--amber);
}

.footer-top-link {
  color: var(--amber);
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.footer-top-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .site-colophon {
    padding: 48px 0 24px;
  }
  .footer-inner {
    gap: 36px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-bottom-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* ==========================================================================
   PREFERS-REDUCED-MOTION SUPPORT
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
  


*, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .hero-pinned-viewport {
    height: auto;
  }
  .hero-stage {
    position: relative;
    height: auto;
    min-height: 100vh;
    padding: 100px 0;
  }
  .horizontal-journey-wrapper {
    height: auto;
  }
  .journey-sticky-viewport {
    position: relative;
    height: auto;
  }
  .journey-track {
    width: 100%;
    flex-direction: column;
  }
  .journey-stage {
    width: 100%;
    min-height: 80vh;
    padding: 60px 24px;
  }
  .sec-machines-pinned, .sec-how-it-works {
    height: auto !important;
  }
  .mach-sticky-viewport {
    position: relative !important;
    height: auto !important;
  }
  .mach-slider-track {
    width: 100% !important;
    display: block !important;
    transform: none !important;
  }
  .mach-slide {
    width: 100% !important;
    margin-bottom: 60px;
  }
  .mach-trace {
    clip-path: none !important;
    opacity: 0 !important;
  }
  .mach-render {
    opacity: 1 !important;
    filter: none !important;
  }
  .c-line {
    stroke-dashoffset: 0 !important;
  }
  .callout-card {
    opacity: 1 !important;
  }
  .prod-row,
  .prod-row.is-in-view {
    opacity: 1 !important;
  }
  .stream-particle {
    animation: none !important;
    opacity: 1 !important;
  }
}

/* celular estreito: o CTA do topo sai (continua no hero e no índice) para a barra caber na tela */
@media (max-width: 480px) {
  .btn-cta-top { display: none; }
  .company-ecosystem-strip { grid-template-columns: 1fr; } /* "NVIDIA Inception" não cabe em meia coluna */
}


/* ==========================================================================
   STUDIO-GRADE PLATFORM ENSEMBLE & VISION V3 HIGHLIGHT
   Monumental statement layout (not a plain card grid)
   ========================================================================== */
.platform-ensemble-highlight {
  margin-top: 40px;
  margin-bottom: 48px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-left: 3px solid var(--amber);
  border-radius: 2px;
  padding: 32px 36px;
  backdrop-filter: blur(12px);
  position: relative;
  box-shadow: 0 16px 48px var(--black-trans-80a);
}

.peh-kicker {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.peh-kicker::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-hairline);
}

.peh-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 900px) {
  .peh-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 36px;
  }
}

.peh-card {
  position: relative;
  padding-left: 20px;
  border-left: 1px solid var(--border-hairline);
}

.peh-grid > .peh-card:only-child {
  grid-column: 1 / -1;
}

.peh-ensemble {
  border-left-color: var(--amber-border);
}

.peh-vision {
  border-left-color: var(--teal-border);
}

.peh-badge {
  font-family: var(--font-mono);
  font-size: var(--fs-12);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.peh-title {
  font-family: var(--font-display);
  font-size: var(--fs-28);
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--text-main);
  margin-bottom: 12px;
}

.peh-body {
  font-size: var(--fs-16);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 64ch;
}




/* ==========================================================================
   MOBILE ATLAS SUPPORT (< 900px)
   Numbered pins 1-3 on anchors, callout cards stacked below, no SVG
   ========================================================================== */
.mach-mobile-pins {
  display: none;
}

.cc-pin-marker {
  display: none;
}

@media (max-width: 900px) {
  .mach-svg {
    display: none !important;
  }
  .mach-mobile-pins {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 6;
  }
  .m-pin {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--amber);
    color: var(--bg-space);
    font-family: var(--font-mono);
    font-size: var(--fs-12);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--amber-glow);
  }
  .cc-pin-marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--amber);
    color: var(--bg-space);
    font-weight: 700;
    margin-right: 6px;
  }
  .callout-card {
    position: static !important;
    width: 100% !important;
    left: auto !important;
    top: auto !important;
    margin-top: 14px;
    opacity: 1 !important;
    transform: none !important;
    padding: 13px 15px !important;
    font-size: var(--fs-15) !important;
  }
  .callout-card .cc-badge {
    font-size: var(--fs-12) !important;
    margin-bottom: 2px !important;
  }
  .callout-card .cc-title {
    font-size: var(--fs-18) !important;
    margin-bottom: 4px !important;
  }
  .callout-card .cc-text {
    font-size: var(--fs-15) !important;
  }
}
