/* ═══════════════════════════════════════════
   MOVE.AI — Shared Premium Styles v8
   Futuristic Cinematic Aesthetic
   ═══════════════════════════════════════════ */

:root {
  /* Dynamic Theme Variables (morphed via JS) */
  --theme-bg:         #050a07;         /* Morphing to #ffffff */
  --theme-text:       #F5F4F0;         /* Morphing to #0A1628 */
  --theme-border:     rgba(255,255,255,0.06); /* Morphing to #DDD9CF */
  --theme-card-bg:    rgba(13,31,56,0.45);   /* Morphing to #ffffff */
  --theme-glass:      rgba(5,10,7,0.7);      /* Morphing to rgba(255,255,255,0.8) */
  --theme-glow:       rgba(0,200,150,0.15);  /* Subtle brand glow */

  /* Palette */
  --navy:             #0A1628;
  --navy-2:           #0D1F38;
  --navy-3:           #1B2D47;
  --navy-4:           #2A4060;
  --offwhite:         #F5F4F0;
  --ow2:              #ECEAE3;
  --ow3:              #DDD9CF;
  --g2:               #526071;
  --g3:               #8A94A3;
  
  /* Brand Green */
  --teal:             #00C896;
  --teal-d:           #00A37A;
  --teal-l:           #7BE3B8;

  /* Typography */
  --font:             'Inter', -apple-system, sans-serif;
  --mono:             'JetBrains Mono', monospace;
  --ease:             cubic-bezier(.16, 1, .3, 1);
  --ease-out:         cubic-bezier(.22, 1, .36, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--theme-bg);
  transition: background-color 0.8s var(--ease);
}

body {
  font-family: var(--font);
  background-color: var(--theme-bg);
  color: var(--theme-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color 0.8s var(--ease), color 0.8s var(--ease);
}

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

/* ── NAV BAR ── */
#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  padding: 0 72px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5,10,7,0);
  backdrop-filter: blur(0px);
  transition: background 0.4s var(--ease), 
              backdrop-filter 0.4s var(--ease);
}

#nav.scrolled {
  background: var(--theme-glass);
  backdrop-filter: blur(20px) saturate(1.4);
}

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

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-logo span {
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -.04em;
  color: var(--theme-text);
  transition: color 0.4s var(--ease);
}

.nav-logo span b {
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--theme-text);
  opacity: 0.65;
  transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
  position: relative;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

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

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
}

.nav-cta {
  background: var(--teal) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 10px 24px;
  border-radius: 6px;
  opacity: 1 !important;
  box-shadow: 0 4px 12px rgba(0,200,150,0.15);
  transition: background 0.2s, transform 0.18s var(--ease), box-shadow 0.2s !important;
}

.nav-cta:hover {
  background: var(--teal-d) !important;
  color: white !important;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 24px rgba(0,200,150,0.3) !important;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--theme-text);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}

.mobile-menu-toggle span {
  width: 17px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

#nav.mobile-menu-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

#nav.mobile-menu-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

#nav.mobile-menu-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--theme-border);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(16px) saturate(1.25);
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.language-switch button {
  border: 0;
  appearance: none;
  min-width: 36px;
  height: 28px;
  border-radius: 999px;
  background: transparent;
  color: var(--theme-text);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  opacity: 0.62;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.language-switch button.active,
.language-switch button[aria-pressed="true"] {
  background: var(--teal);
  color: var(--navy);
  opacity: 1;
}

.language-switch button:hover {
  opacity: 1;
}

/* ── STICKY STORYTELLING HERO (Dual-Theme Canvas) ── */
.hero-scroll-container {
  height: 400vh; /* Extends scroll track */
  position: relative;
  background-color: var(--theme-bg); /* Follows morphing theme background */
  transition: background-color 0.4s var(--ease);
}

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

#hero-canvas {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* Luxury vignette overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: radial-gradient(circle, rgba(5,10,7,0.1) 30%, rgba(5,10,7,0.8) 90%);
  mix-blend-mode: multiply;
  transition: opacity 0.4s var(--ease);
}

.hero-overlay.light {
  opacity: 0.15; /* Subdued when white background sets in */
}

/* Floating copy containers */
.story-text-container {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.story-card {
  max-width: 800px;
  padding: 0 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  position: absolute;
}

.story-card.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.story-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-kicker::before,
.story-kicker::after {
  content: '';
  width: 16px;
  height: 1.5px;
  background: var(--teal);
  flex-shrink: 0;
}

.story-title {
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1.05;
  color: var(--theme-text);
  margin-bottom: 24px;
}

.story-title em {
  font-style: normal;
  color: var(--teal);
}

.story-desc {
  font-size: clamp(15px, 1.8vw, 19px);
  color: var(--theme-text);
  opacity: 0.6;
  line-height: 1.65;
  max-width: 600px;
}

/* Scroll indicators */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.45;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--theme-text);
  animation: bounce-ind 2.5s ease-in-out infinite;
}

.hero-scroll-indicator svg {
  color: var(--theme-text);
}

@keyframes bounce-ind {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(6px); }
}

/* ── PREMIUM LIGHT SECTION ── */
.section-w {
  padding: 120px 72px;
  position: relative;
  z-index: 10;
  background-color: var(--theme-bg);
  transition: background-color 0.8s var(--ease);
}

.section-head {
  max-width: 800px;
  margin-bottom: 72px;
}

.section-head h2 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.06;
  color: var(--theme-text);
  margin-top: 16px;
}

.section-head h2 em {
  color: var(--teal-d);
  font-style: normal;
}

.section-head p {
  font-size: 17px;
  color: var(--theme-text);
  opacity: 0.6;
  line-height: 1.72;
  margin-top: 18px;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal-d);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--teal-d);
  flex-shrink: 0;
}/* ── SCROLLYTELLING SPLIT VIEW (Section 2) ── */
.leak-scroll-container {
  position: relative;
  background-color: #ffffff;
  height: 650vh; /* Determines the scroll speed of this section */
}

#sistemas-preview {
  background-color: #fafaf8;
}

.leak-split-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 72px;
  height: 100%; /* Stretch parent to full 650vh scroll track to allow children to stick */
}

/* Left Column: Sticky Canvas (Video Box) */
.leak-visual-column {
  position: sticky;
  top: 120px;
  height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.leak-canvas-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px; /* Controlled smaller video box width */
  aspect-ratio: 16 / 9; /* Perfect aspect ratio matching the 1280x720 video frames */
  overflow: hidden;
  background-color: #ffffff;
  margin: 0 auto;
}

.leak-canvas-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100px; /* Width of the white fade blur */
  background: linear-gradient(to right, #ffffff 10%, rgba(255, 255, 255, 0) 100%);
  z-index: 10;
  pointer-events: none;
}

.leak-canvas-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100px; /* Width of the right fade blur */
  background: linear-gradient(to left, #ffffff 10%, rgba(255, 255, 255, 0) 100%);
  z-index: 10;
  pointer-events: none;
}

#leak-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leak-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,0) 50%, rgba(255,255,255,0.08) 100%);
}

/* Right Column: Sticky Text Cards */
.leak-text-column {
  position: sticky;
  top: 120px;
  height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6;
}

/* Text cards are stacked in the center and cross-fade on scroll */
.leak-scroll-card {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%) translateY(15px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.leak-scroll-card.active {
  opacity: 1;
  transform: translateY(-50%) translateY(0);
  pointer-events: auto;
}

.leak-kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #ff3b30;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.leak-kicker::before {
  content: '';
  width: 16px;
  height: 1.5px;
  background: #ff3b30;
}

.leak-title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 18px;
}

.leak-desc {
  font-size: 15px;
  color: var(--navy);
  opacity: 0.7;
  line-height: 1.65;
  max-width: 480px;
}

.leak-stat-badge {
  margin-top: 20px;
  background: rgba(255, 59, 48, 0.05);
  border: 1px solid rgba(255, 59, 48, 0.12);
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: #ff3b30;
  max-width: 480px;
  line-height: 1.4;
}/* ── SISTEMAS: COMPONENT CARDS + WHATSAPP SIMULATOR ── */
.sistemas-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.sistemas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.sistema-card {
  background: white;
  border: 1px solid var(--ow3);
  border-radius: 12px;
  padding: 28px;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: pointer;
  position: relative;
}

.sistema-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 0.3s;
}

.sistema-card.active::after {
  border-color: var(--teal);
}

.sistema-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(10,22,40,0.04);
}

.sistema-icon {
  font-size: 24px;
  margin-top: 2px;
}

.sistema-info h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.sistema-info p {
  font-size: 13.5px;
  color: var(--g2);
  line-height: 1.6;
}

/* Phone Chat Simulator (WhatsApp UI) */
.phone-sticky {
  position: sticky;
  top: 120px;
  display: flex;
  justify-content: center;
}

.phone-mockup {
  width: 320px;
  height: 580px;
  background: #0D1F38;
  border: 10px solid #1B2D47;
  border-radius: 40px;
  box-shadow: 0 32px 80px rgba(10,22,40,0.18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Phone Speaker notch */
.phone-notch {
  width: 140px;
  height: 24px;
  background: #1B2D47;
  border-radius: 0 0 18px 18px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

/* WhatsApp simulator Header */
.wa-header {
  background: #075E54;
  padding: 32px 16px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
}

.wa-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.wa-status {
  display: flex;
  flex-direction: column;
}

.wa-name {
  font-size: 12.5px;
  font-weight: 600;
}

.wa-online {
  font-size: 9.5px;
  opacity: 0.8;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wa-online::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #34c759;
  border-radius: 50%;
}

/* Chat Body (WhatsApp wallpaper style) */
.wa-body {
  flex: 1;
  background: #e5ddd5;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

/* Chat Bubbles */
.wa-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.5;
  position: relative;
  animation: scale-up 0.25s var(--ease) forwards;
  transform-origin: left bottom;
}

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

.wa-msg.in {
  background: white;
  align-self: flex-start;
  color: #333;
  border-top-left-radius: 2px;
}

.wa-msg.out {
  background: #dcf8c6;
  align-self: flex-end;
  color: #333;
  border-top-right-radius: 2px;
  transform-origin: right bottom;
}

.wa-time {
  font-size: 8px;
  color: #999;
  text-align: right;
  margin-top: 4px;
  display: block;
}

/* Typing indicator */
.wa-typing {
  align-self: flex-start;
  background: rgba(255,255,255,0.7);
  padding: 8px 12px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wa-typing span {
  width: 5px;
  height: 5px;
  background: #999;
  border-radius: 50%;
  animation: typing-bounce 1.4s infinite ease-in-out;
}

.wa-typing span:nth-child(2) { animation-delay: 0.2s; }
.wa-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-4px); }
}

/* Chat Footer input */
.wa-footer {
  background: #f0f0f0;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.wa-input {
  flex: 1;
  background: white;
  height: 32px;
  border-radius: 16px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  font-size: 11px;
  color: #b0b0b0;
}

.wa-send {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #075E54;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* ── O CAMINHO: VERTICAL STICKY TIMELINE ── */
.timeline-scroller {
  height: 500vh;
  position: relative;
}

.timeline-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  overflow: hidden;
}

.timeline-left {
  padding: 0 64px 0 72px;
  display: flex;
  flex-direction: column;
}

/* Logo self-assembling assembly container */
.timeline-logo-assembly {
  position: relative;
  width: 140px;
  height: 140px;
  background: rgba(10,22,40,0.02);
  border: 1px solid var(--theme-border);
  border-radius: 16px;
  margin-top: 48px;
  overflow: hidden;
}

.tl-part {
  position: absolute;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.tl-part-l {
  left: 32px; bottom: 32px;
  width: 76px; height: 76px;
  background: #000;
  clip-path: polygon(0 0, 48% 0, 48% 52%, 100% 52%, 100% 100%, 0 100%);
  opacity: 0.1;
  transform: translate(-40px, 40px) rotate(-15deg);
}

.tl-part-green {
  right: 32px; top: 32px;
  width: 38px; height: 38px;
  background: var(--teal);
  opacity: 0.1;
  transform: translate(40px, -40px) scale(0.5);
}

/* Progress trackers */
.timeline-right {
  display: flex;
  align-items: center;
  padding: 0 72px 0 64px;
}

.tl-progress-track {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 48px;
  width: 100%;
}

.tl-progress-track::before {
  content: '';
  position: absolute;
  left: 17px; top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--theme-border);
}

.tl-progress-fill {
  position: absolute;
  left: 17px; top: 12px;
  width: 2px;
  height: 0%;
  background: var(--teal);
  transition: height 0.6s var(--ease);
}

.tl-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  position: relative;
  cursor: pointer;
  align-items: flex-start;
}

.tl-step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--theme-bg);
  border: 2px solid var(--theme-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--theme-text);
  opacity: 0.3;
  z-index: 5;
  transition: all 0.4s var(--ease);
}

.tl-step.active .tl-step-dot {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(0,200,150,0.06);
  box-shadow: 0 0 16px rgba(0,200,150,0.25);
  opacity: 1;
}

.tl-step.done .tl-step-dot {
  border-color: var(--teal-d);
  color: var(--teal-d);
  opacity: 0.7;
}

.tl-step-content {
  opacity: 0.25;
  transform: translateY(10px);
  transition: all 0.4s var(--ease);
  max-width: 440px;
}

.tl-step.active .tl-step-content {
  opacity: 1;
  transform: translateY(0);
}

.tl-step.done .tl-step-content {
  opacity: 0.65;
  transform: translateY(0);
}

.tl-step-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--theme-text);
  margin-bottom: 8px;
}

.tl-step-content p {
  font-size: 13.5px;
  color: var(--theme-text);
  line-height: 1.65;
}

.tl-step-tag {
  display: inline-block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--teal-d);
}

/* ── SOCIAL PROOF: EDITORIAL QUOTE ── */
.quote-block {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.quote-block::before {
  content: '“';
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 180px;
  font-weight: 900;
  color: var(--teal);
  opacity: 0.08;
  line-height: 1;
}

.quote-block blockquote {
  font-size: clamp(20px, 2.8vw, 28px);
  font-weight: 500;
  color: var(--theme-text);
  line-height: 1.55;
  letter-spacing: -.01em;
  margin-bottom: 32px;
}

.quote-block blockquote em {
  font-style: normal;
  color: var(--teal-d);
  font-weight: 600;
}

.quote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.quote-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,200,150,0.06);
  border: 1px solid var(--theme-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--teal-d);
}

.quote-meta {
  text-align: left;
}

.quote-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--theme-text);
}

.quote-role {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--theme-text);
  opacity: 0.5;
  margin-top: 2px;
}

/* ── CTA DIAGNOSTICO CARD ── */
.cta-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.cta-left h2 {
  font-size: clamp(38px, 4.5vw, 62px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 0.98;
  color: var(--theme-text);
  margin-bottom: 24px;
}

.cta-left h2 em {
  color: var(--teal-d);
  font-style: normal;
}

.cta-left p {
  font-size: 17px;
  color: var(--theme-text);
  opacity: 0.6;
  line-height: 1.75;
  max-width: 480px;
}

.cta-card {
  background: var(--navy);
  border: 1px solid var(--navy-3);
  border-radius: 16px;
  padding: 44px 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(10,22,40,0.12);
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--teal-d), var(--teal), var(--teal-l), var(--teal), var(--teal-d));
  background-size: 300% 100%;
  animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 0%; }
  100% { background-position: -100% 0%; }
}

.cta-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--teal);
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-card h3 {
  font-size: 24px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.cta-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 24px;
}

.cta-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.cta-list li {
  font-size: 13.5px;
  color: rgba(255,255,255,0.65);
  display: flex;
  gap: 12px;
  line-height: 1.4;
}

.cta-list li span {
  color: var(--teal);
  font-weight: 700;
}

.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--teal);
  color: var(--navy);
  font-weight: 700;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: 8px;
  width: 100%;
  transition: all 0.22s var(--ease);
  box-shadow: 0 4px 14px rgba(0,200,150,0.2);
  cursor: pointer;
}

.cta-btn:hover {
  background: var(--teal-d);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,200,150,0.35);
}

.cta-note {
  text-align: center;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ── INNER PAGE HERO ── */
.page-hero {
  background-color: var(--navy);
  padding: 180px 72px 100px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--navy-3);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,200,150,0.15) 1.2px, transparent 1.2px);
  background-size: 30px 30px;
  opacity: 0.15;
  pointer-events: none;
}

.page-hero-glow {
  position: absolute;
  right: -100px; top: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,200,150,0.08) 0%, transparent 65%);
  pointer-events: none;
}

.page-hero .eyebrow {
  color: var(--teal);
}

.page-hero .eyebrow::before {
  background: var(--teal);
}

.page-hero h1 {
  font-size: clamp(44px, 5.5vw, 76px);
  font-weight: 900;
  letter-spacing: -.04em;
  line-height: 1;
  color: white;
  max-width: 900px;
  margin-top: 24px;
  margin-bottom: 28px;
}

.page-hero h1 em {
  color: var(--teal);
  font-style: normal;
}

.page-hero p {
  font-size: 18.5px;
  color: rgba(255,255,255,0.5);
  max-width: 580px;
  line-height: 1.65;
}

.page-hero ~ .section-w {
  --theme-bg: #ffffff;
  --theme-text: var(--navy);
  --theme-border: var(--ow3);
  --theme-card-bg: #ffffff;
  --theme-glass: rgba(5,10,7,0.70);
}

/* ── FOOTER ── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--navy-3);
  padding: 48px 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  position: relative;
  z-index: 100;
}

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

.ft-logo img {
  height: 32px;
}

.ft-logo span {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -.04em;
  color: white;
}

.ft-logo span b {
  color: var(--teal);
}

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

.ft-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s var(--ease);
}

.ft-links a:hover {
  color: white;
}

.ft-copy {
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  letter-spacing: .08em;
}

/* ── REVEAL EFFECTS ── */
[data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal="up"]    { transform: translateY(32px); }
[data-reveal="left"]  { transform: translateX(-24px); }
[data-reveal="right"] { transform: translateX(24px); }
[data-reveal="scale"] { transform: scale(0.95); }
[data-reveal].in {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    transition: opacity 0.2s ease !important;
    transform: none !important;
  }
}

/* ── RESPONSIVE ADAPTATIONS ── */
@media (max-width: 1024px) {
  #nav { padding: 0 40px; }
  .section-w { padding: 80px 40px; }
  .sistemas-layout, .timeline-sticky, .cta-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .timeline-sticky {
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .timeline-scroller {
    height: auto;
  }
  .timeline-logo-assembly {
    margin: 32px 0 0;
  }
  .timeline-left {
    padding: 0;
  }
  .timeline-right {
    padding: 0;
    margin-top: 40px;
    width: 100%;
  }
  .phone-sticky {
    position: relative;
    top: 0;
    margin-top: 32px;
  }
  .leak-scroll-container {
    height: auto;
  }
  .leak-split-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 40px;
    height: auto;
  }
  .leak-visual-column {
    position: relative;
    top: 0;
    height: auto;
    margin-bottom: 24px;
    z-index: 5;
  }
  .leak-canvas-wrapper {
    height: auto;
    max-width: 440px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
  }
  .leak-text-column {
    position: relative;
    top: auto;
    height: auto;
  }
  .leak-scroll-card {
    position: relative;
    top: auto;
    left: auto;
    width: auto;
    height: auto;
    padding: 40px 0;
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }
  footer { padding: 40px; }
}

@media (max-width: 768px) {
  #nav {
    padding: 0 24px;
    gap: 12px;
  }
  .mobile-menu-toggle {
    display: inline-flex;
    order: 2;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px;
    border: 1px solid var(--theme-border);
    border-radius: 14px;
    background: var(--theme-glass);
    backdrop-filter: blur(22px) saturate(1.35);
    box-shadow: 0 18px 50px rgba(10,22,40,0.16);
  }
  #nav.mobile-menu-open .nav-links {
    display: flex;
  }
  .nav-links a {
    width: 100%;
    padding: 13px 14px;
    border-radius: 10px;
    font-size: 14px;
    opacity: 0.92;
  }
  .nav-links a:not(.nav-cta)::after {
    display: none;
  }
  .nav-links a:not(.nav-cta):hover,
  .nav-links a:not(.nav-cta).active {
    background: rgba(0,200,150,0.10);
  }
  .nav-cta {
    display: flex;
    justify-content: center;
    margin-top: 4px;
  }
  .language-switch {
    margin-left: auto;
    order: 3;
  }
  .nav-logo img {
    height: 40px;
  }
  [data-reveal="left"],
  [data-reveal="right"] {
    transform: translateY(32px);
  }
  .hero-scroll-container {
    height: 340vh;
  }
  .hero-sticky {
    min-height: 100svh;
  }
  .story-card {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
  }
  .story-title {
    font-size: clamp(34px, 11vw, 46px);
    letter-spacing: -.035em;
  }
  .story-card h2 {
    font-size: clamp(22px, 7vw, 30px) !important;
  }
  .story-desc {
    font-size: 15px;
    line-height: 1.6;
  }
  .hero-scroll-indicator {
    bottom: 24px;
  }
  .section-w { padding: 60px 24px; }
  .section-head {
    margin-bottom: 40px;
  }
  .section-head h2,
  .cta-left h2,
  .page-hero h1,
  .section-w[style*="text-align"] h2 {
    font-size: clamp(30px, 10vw, 42px) !important;
    letter-spacing: -.03em !important;
    line-height: 1.05 !important;
  }
  .section-head p,
  .cta-left p,
  .page-hero p,
  .section-w[style*="text-align"] p {
    font-size: 15.5px !important;
    line-height: 1.65 !important;
  }
  .page-hero {
    padding: 130px 24px 72px;
  }
  .page-hero-glow {
    width: 320px;
    height: 320px;
    right: -120px;
    top: -80px;
  }
  .leak-split-layout {
    width: 100%;
    max-width: 100%;
    padding: 0 24px;
    gap: 16px;
    overflow: visible;
  }
  .leak-visual-column,
  .leak-text-column {
    width: 100%;
    min-width: 0;
  }
  .leak-visual-column {
    position: sticky;
    top: 76px;
    height: 34svh;
    min-height: 230px;
    align-items: flex-end;
    padding: 18px 0 12px;
    margin: 0 -24px 12px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(255,255,255,0.92);
    z-index: 20;
  }
  .leak-canvas-wrapper {
    width: calc(100% - 48px);
    max-width: 360px;
  }
  .leak-text-column {
    display: block;
  }
  .leak-scroll-card {
    width: 100%;
    max-width: 100%;
    padding: 34px 0;
    scroll-margin-top: calc(76px + 34svh);
  }
  .leak-title {
    font-size: clamp(24px, 8vw, 32px);
  }
  .sistemas-layout {
    gap: 36px;
  }
  .sistema-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px;
  }
  .phone-mockup {
    width: min(320px, calc(100vw - 48px));
    height: 560px;
    max-height: 72svh;
  }
  .timeline-left,
  .timeline-right,
  .tl-progress-track,
  .tl-step,
  .tl-step-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .timeline-left {
    padding: 0;
  }
  .timeline-logo-assembly {
    margin-top: 28px;
    margin-bottom: 8px;
    background: rgba(10,22,40,0.035);
    box-shadow: 0 18px 44px rgba(10,22,40,0.08);
  }
  .timeline-scroller.mobile-logo-complete .timeline-logo-assembly {
    border-color: rgba(0,200,150,0.35);
  }
  .timeline-right {
    padding: 0;
    margin-top: 32px;
  }
  .tl-progress-track {
    padding-left: 0;
  }
  .tl-progress-track::before,
  .tl-progress-fill {
    display: none;
  }
  .tl-step {
    gap: 14px;
    padding: 22px 0;
  }
  .tl-step-dot {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }
  .cta-layout {
    gap: 36px;
  }
  .cta-card {
    padding: 32px 24px;
  }
  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px 24px;
    gap: 32px;
  }
  .ft-links {
    flex-direction: column;
    gap: 16px;
  }
}













































