/* Segment image smooth transition */
#segment-img {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

/* ═══════════════════════════════════════════════════════
   Make Mídia | Studio — Landing Page B
   Versão: Inteligência. Controle. Escala.
════════════════════════════════════════════════════════ */

/* ── Design Tokens ────────────────────────────────────── */
:root {
  --black:        #080808;
  --graphite:     #111111;
  --charcoal:     #1a1a1a;
  --card:         #141414;
  --border:       rgba(255,255,255,0.07);
  --border-lime:  rgba(183,255,50,0.25);
  --gray-dark:    #333333;
  --gray:         #555555;
  --light-gray:   #888888;
  --silver:       #bbbbbb;
  --white:        #f0f0f0;
  --lime:         #b7ff32;
  --lime-bright:  #c8ff4a;
  --lime-dim:     rgba(183,255,50,0.08);
  --lime-glow:    rgba(183,255,50,0.15);

  --font-headline: 'General Sans', system-ui, -apple-system, sans-serif;
  --font-sub:      'Space Grotesk', system-ui, sans-serif;
  --font-body:     'Inter', system-ui, sans-serif;
  --font-display:  'General Sans', system-ui, -apple-system, sans-serif;

  --nav-h:        80px;
  --section-py:   clamp(5rem, 10vw, 9rem);
  --container:    1280px;
  --radius:       12px;
  --radius-lg:    20px;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.76, 0, 0.24, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip !important;
  max-width: 100% !important;
  width: 100% !important;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: clip !important;
  max-width: 100% !important;
  width: 100% !important;
  position: relative;
  touch-action: pan-y;
  cursor: none;
}

/* Typography Hierarchy */
h1, h2, h3, .hero-headline, .section-title, .cta-headline, .plan-name, .seg-card-name, .app-card h4, .app-card h3, .eco-block h3, .big-num, .methodology-step-num, .methodology-step h4, .pillar h4 {
  font-family: var(--font-headline);
  font-weight: 700;
}

.hero-sub, .section-sub, .subtext, .section-label, .eyebrow, .hero-eyebrow, .step-num, .plan-number, .module-header, .btn, .nav-links a, .segment-chip, .stage-btn {
  font-family: var(--font-sub);
  font-weight: 500;
}

p, li, .hero-desc, .plan-desc, .faq-answer p, .segment-overlay-desc, .eco-block p, .pillar p {
  font-family: var(--font-body);
  font-weight: 400;
}

body.mobile-nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
button { cursor: none; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
svg, [data-lucide] { display: inline-block; }
details { width: 100%; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

/* ── Scroll Progress Bar ─────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 2px;
  background: var(--lime);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Custom Cursor ────────────────────────────────────── */
#cursor {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  transition: transform 0.1s var(--ease-out), opacity 0.3s;
  /* FIX: oculto até o mouse entrar na janela */
  opacity: 0;
}

#cursor-ring {
  position: fixed;
  width: 36px; height: 36px;
  border: 1px solid rgba(183,255,50,0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out),
              height 0.3s var(--ease-out),
              border-color 0.3s,
              opacity 0.3s;
  /* FIX: oculto até o mouse entrar na janela */
  opacity: 0;
}

#cursor-ring.hovering {
  width: 56px; height: 56px;
  border-color: rgba(183,255,50,0.8);
}

@media (hover: none) {
  #cursor, #cursor-ring { display: none; }
  body { cursor: auto; }
  button { cursor: pointer; }
}

/* ── Container ────────────────────────────────────────── */
.container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
}

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease-out);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn [data-lucide], .btn svg { width: 16px; height: 16px; }

.btn--primary {
  background: var(--lime);
  color: var(--black);
}

.btn--primary:hover {
  background: var(--lime-bright);
  box-shadow: 0 0 24px var(--lime-glow);
}

.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--xl { padding: 1.125rem 2.5rem; font-size: 1.0625rem; border-radius: 12px; }

/* Magnetic wrapper */
.magnetic {
  display: inline-flex;
  position: relative;
}

/* ── Navigation ────────────────────────────────────────── */
header#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 900;
  transition: background 0.4s, border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.nav-container {
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

header#nav.scrolled {
  background: rgba(8,8,8,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  line-height: 1;
}

.nav-logo-img {
  height: clamp(48px, 6vw, 58px);
  max-width: 280px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: clamp(42px, 5.5vw, 54px);
  max-width: 270px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-logo-name {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.nav-logo-badge {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--lime-dim);
  border: 1px solid var(--border-lime);
  padding: 0.2rem 0.5rem;
  border-radius: 100px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--light-gray);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

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

.nav-cta { font-size: 0.8125rem !important; padding: 0.625rem 1.25rem !important; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
}

.nav-hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: all 0.3s var(--ease-out);
  transform-origin: center;
}

/* ── Mobile Nav ────────────────────────────────────────── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--graphite);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
}

.mobile-nav.open { transform: translateX(0); }

.mobile-nav-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.02em;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav-backdrop.visible {
  opacity: 1;
  pointer-events: all;
}

/* ── Section Shared ────────────────────────────────────── */
.section { padding-block: var(--section-py); }
.section--dark { background: var(--graphite); }

.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--lime);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.section-sub {
  font-size: clamp(1rem, 1.5vw, 1.1875rem);
  color: var(--light-gray);
  line-height: 1.7;
  max-width: 44ch;
  margin-bottom: 3.5rem;
}

/* ── Reveal Animations ────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ── Status Dot ───────────────────────────────────────── */
.status-dot {
  display: inline-block;
  width: 8px; height: 8px;
  background: var(--lime);
  border-radius: 50%;
  animation: pulse-dot 2.5s ease-in-out infinite;
  flex-shrink: 0;
}

.status-dot--sm { width: 6px; height: 6px; }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(183,255,50,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 6px rgba(183,255,50,0); }
}

/* ════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════ */
#hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

/* Blurred background panels */
.hero-bg-panels {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.bg-panel {
  position: absolute;
  border-radius: var(--radius-lg);
  opacity: 0.08;
  filter: blur(40px);
  border: 1px solid rgba(255,255,255,0.15);
  background: linear-gradient(135deg, var(--charcoal), var(--graphite));
}

.bg-panel--1 {
  width: 40%; height: 55%;
  top: 10%; left: -8%;
  transform: rotate(-8deg);
  animation: float-panel-1 18s ease-in-out infinite;
}

.bg-panel--2 {
  width: 35%; height: 60%;
  top: 5%; right: -5%;
  transform: rotate(6deg);
  animation: float-panel-2 22s ease-in-out infinite;
}

.bg-panel--3 {
  width: 28%; height: 40%;
  bottom: 10%; left: 30%;
  transform: rotate(-3deg);
  animation: float-panel-1 26s ease-in-out infinite reverse;
}

.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

@keyframes float-panel-1 {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-8deg) translateY(-20px); }
}
@keyframes float-panel-2 {
  0%, 100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(6deg) translateY(20px); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  padding-block: clamp(4rem, 8vw, 7rem);
}

/* Hero text */
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fade-up 0.8s var(--ease-out) 0.2s forwards;
}

.hero-headline {
  font-family: var(--font-headline);
  font-size: clamp(1.6rem, 2.7vw, 2.65rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.75rem;
  overflow: hidden;
  text-transform: uppercase;
}

.mask-line {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}

.mask-line span {
  display: inline-block;
  color: var(--white);
  white-space: nowrap;
  transform: translateY(110%);
  animation: mask-reveal 0.9s var(--ease-out) 0.35s forwards;
}

.mask-line--accent {
  display: block;
  margin-top: 0.15em;
}

.typing-word {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--lime);
  transform: none !important;
  display: inline !important;
  text-shadow: 0 0 30px rgba(183,255,50,0.3);
}

.typing-cursor {
  display: inline-block;
  font-family: var(--font-headline);
  font-weight: 300;
  color: var(--lime);
  margin-left: 2px;
  transform: none !important;
  animation: blink-cursor 0.8s step-end infinite;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes mask-reveal {
  to { transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--light-gray);
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 2.5rem;
}

.hero-actions { margin-bottom: 2.5rem; }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-trust .sep { color: var(--gray-dark); }

/* Hero reveal animations */
.reveal-hero {
  opacity: 0;
  transform: translateY(20px);
  animation: fade-up 0.8s var(--ease-out) forwards;
}
.reveal-hero--2 { animation-delay: 0.6s; }
.reveal-hero--3 { animation-delay: 0.75s; }
.reveal-hero--4 { animation-delay: 0.9s; }

@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Studio Mockup ────────────────────────────────────── */
.hero-interface {
  position: relative;
}

.studio-mockup {
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px var(--border);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--border);
  background: var(--charcoal);
}

.mockup-topbar-left { display: flex; gap: 6px; }

.mockup-traffic-light {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gray-dark);
}

.mockup-title {
  flex: 1;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--light-gray);
  letter-spacing: 0.05em;
}

.mockup-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mockup-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
}

.mockup-module {
  background: var(--graphite);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mockup-module--wide { grid-column: 1 / -1; }

.mockup-module--slim { padding-block: 1rem; }

.module-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--light-gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.module-header [data-lucide], .module-header svg { width: 14px; height: 14px; }

/* Module: big number */
.module-big-number {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.big-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
}

.big-num-label {
  font-size: 0.75rem;
  color: var(--gray);
}

.screens-status-row {
  display: flex;
  gap: 1.25rem;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 500;
}

.status-indicator--on { color: var(--lime); }
.status-indicator--off { color: var(--gray); }

.dot-sm {
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.dot-sm.lime { background: var(--lime); }
.dot-sm.gray { background: var(--gray); }

/* Module: content list */
.module-content-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.content-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 0.625rem;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: border-color 0.3s;
}

.content-item--active {
  background: var(--lime-dim);
  border-color: var(--border-lime);
}

.content-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.content-dot.lime { background: var(--lime); }
.content-dot.gray { background: var(--gray-dark); }

.content-name {
  flex: 1;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--silver);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.content-dur {
  font-family: var(--font-display);
  font-size: 0.625rem;
  color: var(--gray);
}

/* Module: schedule */
.module-schedule { display: flex; flex-direction: column; gap: 0.25rem; }

.schedule-time {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.03em;
  line-height: 1;
}

.schedule-name {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--white);
  font-weight: 500;
}

.schedule-meta {
  font-size: 0.6875rem;
  color: var(--gray);
}

.schedule-bar-wrap {
  height: 3px;
  background: var(--charcoal);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.schedule-bar {
  height: 100%;
  width: 63%;
  background: var(--lime);
  border-radius: 2px;
  animation: progress-pulse 4s ease-in-out infinite;
}

@keyframes progress-pulse {
  0% { width: 63%; }
  100% { width: 68%; }
}

/* Module: sync */
.sync-time {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  color: var(--lime);
  font-weight: 600;
}

.sync-pulse-row {
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 20px;
}

.sync-bar {
  display: block;
  width: 3px;
  background: var(--lime);
  border-radius: 2px;
  opacity: 0.6;
  animation: bar-pulse 1.2s ease-in-out infinite;
}

.sync-bar:nth-child(1) { height: 8px; animation-delay: 0s; }
.sync-bar:nth-child(2) { height: 14px; animation-delay: 0.1s; }
.sync-bar:nth-child(3) { height: 18px; animation-delay: 0.2s; }
.sync-bar:nth-child(4) { height: 12px; animation-delay: 0.3s; }
.sync-bar:nth-child(5) { height: 20px; animation-delay: 0.4s; }
.sync-bar:nth-child(6) { height: 10px; animation-delay: 0.5s; }
.sync-bar:nth-child(7) { height: 16px; animation-delay: 0.6s; }
.sync-bar:nth-child(8) { height: 6px; animation-delay: 0.7s; }

@keyframes bar-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ════════════════════════════════════════════════════════
   SECTION 1 — Scale Intro / Network
════════════════════════════════════════════════════════ */
#scale-intro {
  background: var(--charcoal);
}

.network-diagram {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#network-svg {
  width: 100%;
  height: auto;
  display: block;
}

.network-stages {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.stage-btn {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--gray);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.3s var(--ease-out);
}

.stage-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.2); }

.stage-btn.active {
  color: var(--lime);
  border-color: var(--border-lime);
  background: var(--lime-dim);
}

.network-caption {
  text-align: center;
  margin-top: 1.5rem;
  font-family: var(--font-display);
  font-size: 0.9375rem;
  color: var(--light-gray);
  min-height: 1.5em;
  transition: opacity 0.3s;
}

/* ════════════════════════════════════════════════════════
   STUDIO SECTION — Sticky scroll interaction
   Layout: 2-col CSS Grid. Left col = sticky panel.
   Right col = 4 narrative steps (400vh total).
   
   HOW STICKY WORKS HERE:
   - .studio-section is a CSS Grid with 2 equal columns
   - .studio-panel-col (left) stretches to 400vh via align-items:stretch
   - .studio-panel-sticky inside uses position:sticky — the widget
     follows scroll for the full 400vh runway of the left column
   - .si-widget has NO position:sticky and no overflow that could
     break the sticky chain
════════════════════════════════════════════════════════ */
.studio-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  align-items: stretch;          /* both cols = same height = 400vh */
  padding-block: 0;
  background: var(--black);
  width: min(var(--container), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 4rem);
  gap: clamp(3rem, 6vw, 6rem);
}

/* Left column: transparent, fills 400vh */
.studio-panel-col {
  /* No height, no overflow — just let grid stretch it */
}

/* The sticky wrapper — this is the STICKY element */
.studio-panel-sticky {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
  height: calc(100vh - var(--nav-h) - 4rem);
  display: flex;
  align-items: center;
}

/* The visual widget — NOT sticky, just a styled box */
.si-widget {
  width: 100%;
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}

/* Right column: narrative steps */
.studio-steps-col {
  display: flex;
  flex-direction: column;
}

/* ── SI Tabs ──────────────────────────────────────────── */
.si-tabs {
  display: flex;
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
}

.si-tab {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  flex: 1;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--gray);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--graphite);
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
}

.si-tab [data-lucide], .si-tab svg { width: 13px; height: 13px; }

.si-tab.active,
.si-tab:hover {
  color: var(--lime);
  background: var(--charcoal);
}

/* ── SI Content panels ────────────────────────────────── */
.si-content {
  display: none;
  padding: 1.25rem;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 280px;
}

.si-content.active {
  display: flex;
  animation: si-enter 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes si-enter {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Content header ───────────────────────────────────── */
.si-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  color: var(--light-gray);
}

.si-action { color: var(--lime); }

/* ── Media Grid ───────────────────────────────────────── */
.si-media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  flex: 1;
}

.media-thumb {
  aspect-ratio: 16/10;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.55rem;
  color: var(--gray);
  transition: border-color 0.2s;
  overflow: hidden;
}

.media-thumb [data-lucide], .media-thumb svg { width: 16px; height: 16px; }
.media-thumb--video [data-lucide]  { color: #6366f1; }
.media-thumb--img   [data-lucide]  { color: #f59e0b; }
.media-thumb--motion [data-lucide] { color: var(--lime); }
.media-thumb--ai    [data-lucide]  { color: #ec4899; }

.media-thumb.active-media {
  border-color: var(--border-lime);
  background: var(--lime-dim);
}

/* ── Playlist ─────────────────────────────────────────── */
.si-playlist { display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }

.playlist-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--charcoal);
  transition: border-color 0.2s;
}

.playlist-item [data-lucide], .playlist-item svg {
  width: 14px; height: 14px;
  color: var(--gray-dark);
  flex-shrink: 0;
}

.playlist-item--active {
  border-color: var(--border-lime);
  background: var(--lime-dim);
}

.pi-info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.pi-name { font-family: var(--font-display); font-size: 0.75rem; color: var(--white); font-weight: 500; }
.pi-type { font-size: 0.625rem; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; }
.pi-dur  { font-family: var(--font-display); font-size: 0.6875rem; color: var(--gray); }

/* ── Calendar ─────────────────────────────────────────── */
.si-calendar { display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.cal-header { display: flex; justify-content: space-between; align-items: center; }
.cal-header span { font-family: var(--font-display); font-size: 0.75rem; font-weight: 600; color: var(--white); }
.cal-nav {
  width: 24px; height: 24px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gray); border-radius: 4px;
  transition: color 0.2s;
}
.cal-nav:hover { color: var(--white); }
.cal-nav [data-lucide], .cal-nav svg { width: 12px; height: 12px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-day-name {
  font-family: var(--font-display);
  font-size: 0.5625rem; font-weight: 600;
  color: var(--gray); text-align: center;
  padding: 4px 2px; letter-spacing: 0.05em;
}
.cal-day {
  font-family: var(--font-display);
  font-size: 0.6875rem; color: var(--light-gray);
  text-align: center; padding: 5px 2px;
  border-radius: 4px; position: relative;
  transition: all 0.2s;
}
.cal-day--today {
  background: var(--lime-dim);
  color: var(--lime);
  border: 1px solid var(--border-lime);
}
.cal-day--event::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--lime);
}

/* ── AI Studio ────────────────────────────────────────── */
.si-ai { display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.ai-prompt-label {
  display: flex; align-items: center; gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.625rem; font-weight: 600;
  color: var(--lime); letter-spacing: 0.08em; text-transform: uppercase;
}
.ai-prompt-label [data-lucide] { width: 12px; height: 12px; }
.ai-prompt-box {
  background: var(--charcoal);
  border: 1px solid var(--border-lime);
  border-radius: 6px; padding: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.75rem; color: var(--white);
  min-height: 60px; position: relative;
}
.ai-cursor {
  display: inline-block;
  width: 1px; height: 12px;
  background: var(--lime);
  vertical-align: middle; margin-left: 1px;
  animation: blink 1.2s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }
.ai-results { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.ai-result-card {
  background: var(--charcoal); border: 1px solid var(--border);
  border-radius: 6px; display: flex;
  gap: 0.5rem; padding: 0.5rem; align-items: center;
}
.ai-result-thumb {
  width: 40px; height: 30px; border-radius: 4px;
  background: linear-gradient(135deg, var(--lime-dim), var(--graphite));
  flex-shrink: 0;
}
.ai-result-card--2 .ai-result-thumb { background: linear-gradient(135deg, #1a1a3e, var(--graphite)); }
.ai-result-info { display: flex; flex-direction: column; gap: 2px; }
.ai-result-info span:first-child { font-family: var(--font-display); font-size: 0.6875rem; color: var(--white); font-weight: 500; }
.ai-result-type { font-size: 0.5625rem; color: var(--gray); letter-spacing: 0.05em; }

/* ── SI Footer ────────────────────────────────────────── */
.si-footer-bar {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  font-family: var(--font-display); font-size: 0.6875rem; color: var(--gray);
}
.si-btn {
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.75rem;
  border: 1px solid var(--border); border-radius: 6px;
  font-family: var(--font-display); font-size: 0.6875rem; font-weight: 600;
  color: var(--light-gray); cursor: pointer;
  transition: all 0.2s;
}
.si-btn [data-lucide] { width: 11px; height: 11px; }
.si-btn:hover { border-color: rgba(255,255,255,0.2); color: var(--white); }
.si-btn--lime { background: var(--lime); color: var(--black); border-color: transparent; }
.si-btn--lime:hover { background: var(--lime-bright); }

/* Sticky steps */
.sticky-steps {
  display: flex;
  flex-direction: column;
}

.sticky-step {
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 4rem;
}

.sticky-step:first-child {
  padding-top: calc(var(--nav-h) + 2.5rem);
  justify-content: flex-start;
}

.sticky-step:last-child {
  padding-bottom: calc(var(--nav-h) + 4rem);
}

.step-num {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.14em;
  margin-bottom: 1rem;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 0.875rem;
  color: var(--light-gray);
}

.feature-list [data-lucide], .feature-list svg {
  width: 14px; height: 14px;
  color: var(--lime);
  flex-shrink: 0;
}

/* ════════════════════════════════════════════════════════
   SECTION 3 — Segments
════════════════════════════════════════════════════════ */
.segments-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.segments-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.segment-chip {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray);
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.25s var(--ease-out);
  letter-spacing: 0.03em;
}

.segment-chip:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.2);
}

.segment-chip.active {
  color: var(--lime);
  border-color: var(--border-lime);
  background: var(--lime-dim);
}

.segment-display {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}

.segment-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.segment-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  /* FIX: transform-origin explícito para a animação de scale */
  transform-origin: center center;
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}

.segment-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.segment-overlay-label {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.segment-overlay-desc {
  font-size: 0.8125rem;
  color: var(--light-gray);
  line-height: 1.6;
}

/* ════════════════════════════════════════════════════════
   SECTION 4 — Production
════════════════════════════════════════════════════════ */
.production-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.production-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.prod-type {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--silver);
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--charcoal);
  transition: all 0.25s;
}

.prod-type [data-lucide], .prod-type svg {
  width: 15px; height: 15px;
  color: var(--lime);
  flex-shrink: 0;
}

.prod-type:hover {
  border-color: var(--border-lime);
  background: var(--lime-dim);
}

.prod-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 1px solid var(--border-lime);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 35px rgba(183,255,50,0.14);
  background: var(--charcoal);
}

.prod-img-frame img,
.prod-img-frame video,
.prod-video-player {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.12) brightness(0.92) saturate(1.15);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.prod-img-frame:hover video,
.prod-img-frame:hover img {
  filter: contrast(1.18) brightness(1.0) saturate(1.22);
  transform: scale(1.02);
}

.prod-img-badge {
  position: absolute;
  bottom: 1.25rem; left: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(8,8,8,0.88);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-lime);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-family: var(--font-sub);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6), 0 0 16px var(--lime-dim);
  z-index: 2;
}

.prod-img-badge [data-lucide] { width: 12px; height: 12px; }

/* ════════════════════════════════════════════════════════
   SECTION 5 — Operation Timeline
════════════════════════════════════════════════════════ */
.operation-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
}

.op-line {
  position: absolute;
  left: 24px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border);
}

.op-line-fill {
  width: 100%;
  height: 0%;
  background: var(--lime);
  transition: height 0.8s var(--ease-out);
}

.op-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  position: relative;
}

.op-step:last-child { padding-bottom: 0; }

.op-icon {
  width: 48px; height: 48px;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
  z-index: 1;
}

.op-icon [data-lucide] { width: 18px; height: 18px; color: var(--gray); }

.op-step.active .op-icon {
  background: var(--lime-dim);
  border-color: var(--border-lime);
}

.op-step.active .op-icon [data-lucide] { color: var(--lime); }

.op-content h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.375rem;
  margin-top: 0.75rem;
}

.op-content p {
  font-size: 0.875rem;
  color: var(--light-gray);
  line-height: 1.7;
}

/* ════════════════════════════════════════════════════════
   SECTION 6 — Offline
════════════════════════════════════════════════════════ */
.offline-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.device-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  margin-top: 0.5rem;
}

.device-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--light-gray);
  background: var(--charcoal);
}

.device-item [data-lucide] { width: 13px; height: 13px; color: var(--lime); }

/* Offline screen animation */
.offline-animation {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.offline-screen {
  background: var(--graphite);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex: 1;
  transition: all 0.5s var(--ease-out);
}

.os-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
  background: var(--charcoal);
}

.os-title {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--light-gray);
}

.os-wifi [data-lucide] {
  width: 14px; height: 14px;
  color: var(--lime);
  transition: color 0.4s;
}

.os-wifi.offline [data-lucide] { color: var(--gray-dark); }

.os-display {
  padding: 2rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  min-height: 140px;
  justify-content: center;
}

.os-playing {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.os-play-bars {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 16px;
}

.os-play-bars span {
  display: block;
  width: 3px;
  background: var(--lime);
  border-radius: 2px;
  animation: bar-pulse 1s ease-in-out infinite;
}

.os-play-bars span:nth-child(1) { height: 8px; animation-delay: 0s; }
.os-play-bars span:nth-child(2) { height: 14px; animation-delay: 0.15s; }
.os-play-bars span:nth-child(3) { height: 16px; animation-delay: 0.3s; }
.os-play-bars span:nth-child(4) { height: 10px; animation-delay: 0.45s; }
.os-play-bars span:nth-child(5) { height: 12px; animation-delay: 0.6s; }

.os-play-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.os-content-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  transition: opacity 0.4s;
}

.os-statusbar {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}

.os-status-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.os-status-badge.offline-mode {
  color: var(--gray);
}

.os-status-badge.offline-mode .status-dot { background: var(--gray); animation: none; }

.os-status-badge.syncing {
  color: #f59e0b;
}
.os-status-badge.syncing .status-dot { background: #f59e0b; }

/* Offline flow */
.offline-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--charcoal);
  transition: all 0.4s var(--ease-out);
  width: 110px;
}

.flow-step [data-lucide] { width: 16px; height: 16px; color: var(--gray); }

.flow-step span {
  font-family: var(--font-display);
  font-size: 0.5625rem;
  font-weight: 600;
  color: var(--gray);
  text-align: center;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.flow-step.active {
  border-color: var(--border-lime);
  background: var(--lime-dim);
}

.flow-step.active [data-lucide] { color: var(--lime); }
.flow-step.active span { color: var(--lime); }

.flow-arrow {
  font-size: 0.75rem;
  color: var(--gray-dark);
}

/* ════════════════════════════════════════════════════════
   SECTION 7 — Scalability Counter
════════════════════════════════════════════════════════ */
.scale-counter-section { text-align: center; }

.scale-stages {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.scale-arrow [data-lucide] {
  width: 20px; height: 20px;
  color: var(--gray-dark);
  margin-inline: 0.5rem;
}

.scale-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--charcoal);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}

.scale-stage:hover, .scale-stage.active {
  border-color: var(--border-lime);
  background: var(--lime-dim);
}

.scale-number {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  transition: color 0.3s;
}

.scale-stage:hover .scale-number, .scale-stage.active .scale-number { color: var(--lime); }

.scale-label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  color: var(--gray);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.scale-caption {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--light-gray);
  margin-bottom: 2.5rem;
  min-height: 1.5em;
  transition: opacity 0.3s;
}

/* Screen grid visualization */
.scale-screen-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
  min-height: 100px;
  transition: all 0.5s var(--ease-out);
}

.scale-screen-dot {
  width: 32px; height: 24px;
  border-radius: 4px;
  background: var(--lime-dim);
  border: 1px solid var(--border-lime);
  animation: screen-appear 0.4s var(--ease-out) both;
}

@keyframes screen-appear {
  from { opacity: 0; transform: scale(0.5); }
  to { opacity: 1; transform: scale(1); }
}

/* ════════════════════════════════════════════════════════
   SECTION 8 — Ecosystem
════════════════════════════════════════════════════════ */
.ecosystem-blocks {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
}

.eco-connector {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  width: 60px;
  flex-shrink: 0;
}

.eco-conn-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-lime));
}

.eco-connector:last-of-type .eco-conn-line {
  background: linear-gradient(to left, transparent, var(--border-lime));
}

.eco-conn-dot {
  width: 28px; height: 28px;
  border: 1px solid var(--border-lime);
  border-radius: 50%;
  background: var(--lime-dim);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.eco-conn-dot [data-lucide] { width: 12px; height: 12px; color: var(--lime); }

.eco-block {
  flex: 1;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: all 0.35s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.eco-block::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--border-lime);
  opacity: 0;
  transition: opacity 0.3s;
}

.eco-block:hover::before { opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  .eco-block:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
}

.eco-block--featured {
  background: var(--lime-dim);
  border-color: var(--border-lime);
  transform: translateY(-8px);
  box-shadow: 0 32px 64px rgba(0,0,0,0.4);
}

.eco-block--featured::before { opacity: 1; }

@media (hover: hover) and (pointer: fine) {
  .eco-block--featured:hover { transform: translateY(-12px); }
}

.eco-block-top { display: flex; flex-direction: column; gap: 0.75rem; }

.eco-icon {
  width: 44px; height: 44px;
  background: rgba(183,255,50,0.1);
  border: 1px solid var(--border-lime);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
}

.eco-icon [data-lucide] { width: 20px; height: 20px; color: var(--lime); }

.eco-block h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.eco-block p {
  font-size: 0.875rem;
  color: var(--light-gray);
  line-height: 1.6;
}

.eco-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.eco-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  color: var(--silver);
}

.eco-list [data-lucide] { width: 13px; height: 13px; color: var(--lime); flex-shrink: 0; }

.eco-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.5625rem;
  font-weight: 700;
  color: var(--gray);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eco-badge--featured {
  border-color: var(--border-lime);
  color: var(--lime);
  background: rgba(183,255,50,0.08);
}

.ecosystem-note {
  text-align: center;
  margin-top: 3rem;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--light-gray);
  max-width: 44ch;
  margin-inline: auto;
}

/* ════════════════════════════════════════════════════════
   FAQ
════════════════════════════════════════════════════════ */
.faq-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.375rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  transition: color 0.2s;
}

.faq-question:hover { color: var(--lime); }

.faq-icon {
  width: 18px; height: 18px;
  color: var(--gray);
  transition: transform 0.35s var(--ease-out), color 0.2s;
  flex-shrink: 0;
}

details[open] .faq-question { color: var(--lime); }
details[open] .faq-icon { transform: rotate(45deg); color: var(--lime); }

.faq-answer {
  padding-bottom: 1.375rem;
  overflow: hidden;
  animation: faq-open 0.35s var(--ease-out);
}

.faq-answer p {
  font-size: 0.9375rem;
  color: var(--light-gray);
  line-height: 1.75;
  max-width: 56ch;
}

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

@keyframes faq-close {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-6px); }
}

/* ════════════════════════════════════════════════════════
   CTA FINAL
════════════════════════════════════════════════════════ */
#cta-final {
  background: var(--charcoal);
  text-align: center;
}

.cta-final-inner {
  position: relative;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.cta-glow {
  position: absolute;
  width: 500px; height: 300px;
  background: radial-gradient(ellipse, rgba(183,255,50,0.06) 0%, transparent 70%);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-headline {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--white);
}

.cta-desc {
  font-size: 1.0625rem;
  color: var(--light-gray);
  line-height: 1.7;
  max-width: 48ch;
}

.cta-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gray);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.cta-trust span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.cta-trust [data-lucide] { width: 13px; height: 13px; color: var(--lime); }

/* ════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════ */
footer {
  background: var(--graphite);
  border-top: 1px solid var(--border);
  padding-block: 4rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  line-height: 1;
  text-align: left;
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.footer-nav { display: flex; gap: 3rem; }

.footer-nav-col h5 {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-nav-col ul { display: flex; flex-direction: column; gap: 0.625rem; }

.footer-nav-col a {
  font-size: 0.875rem;
  color: var(--gray);
  transition: color 0.2s;
}

.footer-nav-col a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  color: var(--gray-dark);
}

.footer-cta {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--lime);
  letter-spacing: 0.03em;
  transition: opacity 0.2s;
}

.footer-cta:hover { opacity: 0.8; }

/* ════════════════════════════════════════════════════════
   FUSION COMPONENTS (V1 Content in V2 Design System)
════════════════════════════════════════════════════════ */

/* Pillars Grid (Beyond Software) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.pillar {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: all 0.35s var(--ease-out);
  position: relative;
}

.pillar:hover {
  border-color: var(--border-lime);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 24px var(--lime-dim);
}

/* FIX: hover com translateY apenas em dispositivos com ponteiro fino (não touch) */
@media (hover: hover) and (pointer: fine) {
  .pillar:hover { transform: translateY(-6px); }
}

.pillar-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--lime-dim);
  border: 1px solid var(--border-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
}

.pillar h4 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.pillar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.pillar-tag {
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  color: var(--lime);
  background: rgba(183,255,50,0.06);
  border: 1px solid rgba(183,255,50,0.18);
  border-radius: 100px;
  padding: 0.25rem 0.625rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Orbit Diagram (One Partner) */
.orbit-diagram {
  position: relative;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16/9;
  margin: 3.5rem auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-center {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--lime);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 0 40px rgba(183,255,50,0.4);
  z-index: 3;
}

.orbit-ring {
  position: absolute;
  border: 1px dashed rgba(183,255,50,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-ring--1 { width: 300px; height: 300px; animation: spin-slow 40s linear infinite; }
.orbit-ring--2 { width: 500px; height: 340px; animation: spin-slow 60s linear infinite reverse; }

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

/* FIX: orbit nodes contrarrotam para texto sempre legível */
.orbit-ring--1 .orbit-node {
  animation: counter-spin-1 40s linear infinite;
}
.orbit-ring--2 .orbit-node {
  animation: counter-spin-2 60s linear infinite reverse;
}

@keyframes counter-spin-1 {
  to { transform: rotate(-360deg); }
}
@keyframes counter-spin-2 {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.orbit-node {
  position: absolute;
  background: var(--charcoal);
  border: 1px solid var(--border-lime);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.375rem 0.875rem;
  border-radius: 100px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.orbit-ring--1 .orbit-node:nth-child(1) { top: -14px; }
.orbit-ring--1 .orbit-node:nth-child(2) { right: -14px; }
.orbit-ring--1 .orbit-node:nth-child(3) { bottom: -14px; }
.orbit-ring--1 .orbit-node:nth-child(4) { left: -14px; }

.orbit-ring--2 .orbit-node:nth-child(1) { top: 0; left: 20%; }
.orbit-ring--2 .orbit-node:nth-child(2) { top: 0; right: 20%; }
.orbit-ring--2 .orbit-node:nth-child(3) { right: -20px; top: 45%; }
.orbit-ring--2 .orbit-node:nth-child(4) { bottom: 0; right: 25%; }
.orbit-ring--2 .orbit-node:nth-child(5) { bottom: 0; left: 25%; }
.orbit-ring--2 .orbit-node:nth-child(6) { left: -20px; top: 45%; }

/* Production Tags & Flow */
.production-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.production-tag-pill {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--light-gray);
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4375rem 0.875rem;
  transition: all 0.25s;
}

.production-tag-pill:hover {
  color: var(--lime);
  border-color: var(--border-lime);
  background: var(--lime-dim);
}

.production-flow-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  padding-left: 1.75rem;
  border-left: 1px solid var(--border);
  margin-top: 2rem;
}

.flow-step-item {
  position: relative;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.flow-step-item:hover {
  background: var(--lime-dim);
}

.flow-step-item::before {
  content: '';
  position: absolute;
  left: calc(-1.75rem - 4.5px);
  top: 10px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-dark);
  border: 2px solid var(--black);
  transition: all 0.35s ease;
}

.flow-step-item.active::before {
  background: var(--lime);
  box-shadow: 0 0 14px var(--lime);
  transform: scale(1.35);
}

.flow-step-title {
  font-family: var(--font-headline);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--light-gray);
  transition: color 0.35s ease;
}

.flow-step-item.active .flow-step-title {
  color: var(--white);
}

.flow-step-desc {
  font-size: 0.8125rem;
  color: var(--gray);
  margin-top: 2px;
  transition: color 0.35s ease;
}

.flow-step-item.active .flow-step-desc {
  color: var(--silver);
}

/* Plans Grid (CaaS) */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3.5rem;
}

.plan-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: all 0.35s var(--ease-out);
}

.plan-card:hover {
  border-color: var(--border-lime);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
}

@media (hover: hover) and (pointer: fine) {
  .plan-card:hover { transform: translateY(-6px); }
}

.plan-card--featured {
  background: var(--lime-dim);
  border-color: var(--border-lime);
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

.plan-number {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--lime);
  letter-spacing: 0.12em;
}

.plan-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
}

.plan-desc {
  font-size: 0.8125rem;
  color: var(--light-gray);
  line-height: 1.6;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--silver);
}

.plan-check {
  width: 14px; height: 14px;
  color: var(--lime);
  flex-shrink: 0;
}

/* Apps Grid */
.apps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
  max-width: 900px;
  margin-inline: auto;
}

.app-card {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  transition: all 0.35s var(--ease-out);
}

.app-card:hover {
  border-color: var(--border-lime);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5);
}

@media (hover: hover) and (pointer: fine) {
  .app-card:hover { transform: translateY(-6px); }
}

.app-card-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--lime-dim);
  border: 1px solid var(--border-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
}

.app-card h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
}

.app-card p {
  font-size: 0.875rem;
  color: var(--light-gray);
  line-height: 1.6;
}

.btn--download {
  background: var(--graphite);
  color: var(--white);
  border: 1px solid var(--border);
  margin-top: 0.5rem;
}

.btn--download:hover {
  background: var(--lime);
  color: var(--black);
  border-color: var(--lime);
}

/* Methodology Steps */
.methodology-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
  position: relative;
}

.methodology-step {
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  transition: all 0.35s var(--ease-out);
}

.methodology-step:hover {
  border-color: var(--border-lime);
  background: var(--lime-dim);
}

@media (hover: hover) and (pointer: fine) {
  .methodology-step:hover { transform: translateY(-6px); }
}

.methodology-step-num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--lime);
  line-height: 1;
  letter-spacing: -0.04em;
}

.methodology-step h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
}

.methodology-step p {
  font-size: 0.8125rem;
  color: var(--light-gray);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr 1fr; }
  .methodology-steps { grid-template-columns: 1fr; }
  .orbit-diagram { display: none; }
}

@media (max-width: 768px) {
  .plans-grid { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
}


/* ════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-interface { display: none; }

  /* Studio section — single column on mobile */
  .studio-section {
    grid-template-columns: 1fr;
    padding-inline: 1.25rem;
  }
  .studio-panel-sticky {
    position: relative;
    top: auto;
    height: auto;
    margin-bottom: 2rem;
  }
  .sticky-step { min-height: auto; padding-block: 3rem; }

  .segments-layout { grid-template-columns: 1fr; }
  .segment-display { position: relative; top: auto; }

  .ecosystem-blocks {
    flex-direction: column;
    align-items: stretch;
  }
  .eco-connector { flex-direction: column; width: auto; height: 40px; }
  .eco-conn-line { width: 1px; height: 100%; background: linear-gradient(to bottom, transparent, var(--border-lime)) !important; }
  .eco-block--featured { transform: none; }
  .eco-block--featured:hover { transform: translateY(-4px); }

  .production-layout { grid-template-columns: 1fr; }
  .offline-layout { grid-template-columns: 1fr; }
  .offline-animation { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .scale-stages {
    gap: 0.5rem;
  }
  .scale-arrow { display: none; }
  .scale-stages { flex-direction: column; align-items: center; }
  .scale-stage { width: 100%; max-width: 200px; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-nav { flex-direction: column; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }

  .production-types { grid-template-columns: 1fr; }
  .operation-timeline { padding-left: 0; }
}

@media (max-width: 480px) {
  .hero-headline { font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .section-title { font-size: clamp(1.875rem, 8vw, 2.5rem); }
  .eco-block { padding: 1.5rem 1.25rem; }
}
