/* ========================================================
   ATIVA STUDIO — SITES VIVOS (MOBILE & TABLET EDITION)
   Design System Cinematográfico Vertical & 60 FPS
   Versão 2.0 — Textos sem Caixa, Celular na Mesa & Profundidade 3D
   ======================================================== */

:root {
  --color-bg-base: #060709;
  --color-amber-glow: #FFBE59;
  --color-amber-bright: #FFA41C;
  --color-cyan-glow: #00FFA3;
  --color-cyan-bright: #38E1FF;
  --color-text-main: #FFFFFF;
  --color-text-muted: #8E9BB5;
  
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Cinzel', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-ui: 'Outfit', sans-serif;
  
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  font-family: var(--font-body);
  scroll-behavior: auto;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

body {
  background-color: var(--color-bg-base);
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  overflow-x: hidden;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
}

body.loading-state {
  overflow: hidden;
}

/* ========================================================
   LOADER CINEMATOGRÁFICO MOBILE
   ======================================================== */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background-color: #040507;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.2s var(--ease-smooth), visibility 1.2s ease;
}

.loader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.lamp-flicker-ambient {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  height: 90vw;
  max-width: 380px;
  max-height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 170, 51, 0.16) 0%, rgba(255, 140, 0, 0.05) 50%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  animation: mobileLampGlow 4s infinite alternate ease-in-out;
}

@keyframes mobileLampGlow {
  0% { opacity: 0.5; transform: translateX(-50%) scale(0.95); }
  50% { opacity: 0.95; transform: translateX(-50%) scale(1.05); }
  100% { opacity: 0.6; transform: translateX(-50%) scale(0.98); }
}

.loader-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.ativa-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 2rem;
}

.ativa-emblem {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.emblem-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 10px rgba(255, 160, 40, 0.45));
}

.ativa-typography {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #FFFFFF;
  line-height: 1.1;
}

.brand-sub {
  color: var(--color-amber-glow);
  font-weight: 400;
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 1.8px;
  color: var(--color-text-muted);
  margin-top: 3px;
}

.loader-meta {
  width: 100%;
  margin-bottom: 1.6rem;
  transition: opacity 0.5s ease;
}

.loader-meta.fade-out {
  opacity: 0;
}

.loader-text-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.loader-percent {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-amber-glow);
}

.loader-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
}

.loader-progress-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #FF941A 0%, #00FFA3 100%);
  border-radius: 4px;
  box-shadow: 0 0 12px #00FFA3;
  transition: width 0.25s ease-out;
}

.btn-enter-experience {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(255, 148, 26, 0.25) 0%, rgba(0, 255, 163, 0.2) 100%);
  border: 1px solid var(--color-amber-glow);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 190, 89, 0.3);
  transition: all 0.35s ease;
}

.btn-enter-experience:active {
  transform: scale(0.97);
}

/* ========================================================
   CABEÇALHO MOBILE COMPACTO
   ======================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;
  padding: env(safe-area-inset-top, 0px) 16px 0;
  background: linear-gradient(180deg, rgba(6, 7, 10, 0.88) 0%, rgba(6, 7, 10, 0.35) 75%, transparent 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.6s var(--ease-smooth), opacity 0.5s ease;
}

.main-header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.main-header.header-scrolled-out {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  width: 100%;
}

.header-brand-slot .ativa-brand-wrapper {
  margin-bottom: 0;
  gap: 8px;
}

.header-brand-slot .ativa-emblem {
  width: 28px;
  height: 28px;
}

.header-brand-slot .brand-title {
  font-size: 14.5px;
  letter-spacing: 1.8px;
}

.header-brand-slot .brand-tagline {
  display: none;
}

.btn-header-contact {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 148, 26, 0.22) 0%, rgba(0, 255, 163, 0.16) 100%);
  border: 1px solid rgba(255, 190, 89, 0.4);
  color: #FFFFFF;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-header-contact:active {
  transform: scale(0.96);
}

/* ========================================================
   CANVAS VIEWPORT & CAMADAS CINEMATOGRÁFICAS DE PROFUNDIDADE
   ======================================================== */
.canvas-viewport {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 1;
  overflow: hidden;
  background-color: var(--color-bg-base);
}

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

/* Gradiente óptico de cinema para contraste e leitura perfeita sem caixas */
.cinematic-depth-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 6, 9, 0.68) 0%,
    rgba(5, 6, 9, 0.38) 18%,
    rgba(5, 6, 9, 0.10) 36%,
    rgba(5, 6, 9, 0.06) 50%,
    rgba(5, 6, 9, 0.20) 68%,
    rgba(5, 6, 9, 0.55) 84%,
    rgba(5, 6, 9, 0.76) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.final-canvas-darkener {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 65%, rgba(4, 5, 8, 0.62) 0%, rgba(4, 5, 8, 0.42) 60%, rgba(4, 5, 8, 0.20) 100%);
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
  z-index: 4;
}

body.at-final-signature .final-canvas-darkener {
  opacity: 1;
}

.cinematic-darkness-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
  z-index: 3;
}

.cinematic-vignette {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 90px rgba(0, 0, 0, 0.85);
  pointer-events: none;
  z-index: 3;
}

.film-grain {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.38;
  pointer-events: none;
  z-index: 4;
}

/* Elementos Vivos da Cena 1 */
.living-elements-scene-1 {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 5;
  transition: opacity 1.2s ease;
}

.dust-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

/* Vagalume / Centelha Luminescente (Fio Condutor de Todas as Cenas) */
.firefly-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  pointer-events: none;
  z-index: 22;
}

.crt-terminal-glow {
  position: absolute;
  top: 58.5%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 5px 12px;
  background: rgba(0, 25, 12, 0.75);
  border: 1px solid rgba(0, 255, 163, 0.45);
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  color: #00FFA3;
  box-shadow: 0 0 16px rgba(0, 255, 163, 0.4);
  letter-spacing: 0.8px;
}

.crt-cursor {
  animation: blinkCursor 1s infinite;
}

@keyframes blinkCursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* ========================================================
   SMARTPHONE 3D APOIADO NA MESA DE MADEIRA (CENAS 8, 9, 10)
   Realismo, perspectiva 3D física e sombra de contato
   ======================================================== */
.floating-phone-3d-wrap {
  position: absolute;
  top: 53vh; /* Encaixado perfeitamente na mesa executiva */
  left: 50%;
  transform: translateX(-50%) perspective(950px) rotateX(15deg) rotateY(-8deg) scale(0.68);
  width: 195px;
  height: 380px;
  z-index: 15;
  pointer-events: none;
  transform-style: preserve-3d;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Sombra de Contato Fidedigna sobre o Tampo da Mesa */
.phone-desk-shadow {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 165px;
  height: 22px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 50%, transparent 75%);
  filter: blur(7px);
  border-radius: 50%;
  pointer-events: none;
}

.phone-device-chassis {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  background: linear-gradient(145deg, #2E3240 0%, #12141C 50%, #06070B 100%);
  padding: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.9), 0 0 35px rgba(255, 190, 89, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.22);
  position: relative;
}

.phone-screen-glass {
  width: 100%;
  height: 100%;
  border-radius: 28px;
  background: #080A10;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.phone-dynamic-island {
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 62px;
  height: 15px;
  background: #000000;
  border-radius: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 7px;
}

.island-camera {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #091322;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.phone-screen-content {
  position: absolute;
  inset: 0;
  padding: 32px 12px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phone-ui-brand {
  text-align: center;
}

.phone-brand-title {
  display: block;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 1.5px;
}

.phone-brand-sub {
  font-family: var(--font-mono);
  font-size: 7.5px;
  color: var(--color-amber-glow);
  letter-spacing: 1px;
}

.phone-mockup-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.phone-mockup-line {
  height: 4px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
}

.phone-mockup-line.line-1 { width: 75%; }
.phone-mockup-line.line-2 { width: 50%; }

.phone-hero-btn {
  margin-top: 8px;
  padding: 5px 12px;
  border-radius: 12px;
  background: linear-gradient(90deg, #FF941A, #00FFA3);
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 1px;
}

.phone-floating-badge {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.5);
}


/* ========================================================
   SCROLLYTELLING: TEXTOS SEM CAIXA (PURAS LETRAS CINEMATOGRÁFICAS)
   Alternando entre Topo e Inferior para não tampar a cena
   ======================================================== */
.scrolly-content-container {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
}

.scene-text-content {
  box-sizing: border-box;
  width: auto;
  max-width: 480px;
  padding: 10px 14px;
  background: radial-gradient(ellipse at 35% 45%, rgba(4, 5, 8, 0.48) 0%, rgba(4, 5, 8, 0.22) 60%, transparent 100%) !important;
  border-radius: 20px;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: auto;
  transition: opacity 0.55s ease, transform 0.55s var(--ease-smooth);
}

/* Posição no Topo da Tela (com margem de 48px na direita contra corte pelo HUD) */
.pos-mobile-top {
  position: absolute;
  top: 12.5vh;
  left: 20px;
  right: 48px;
  margin: 0;
}

/* Posição no Rodapé da Tela (elevada para não sobrepor botões de rodapé) */
.pos-mobile-bottom {
  position: absolute;
  bottom: 5.6rem;
  left: 20px;
  right: 48px;
  margin: 0;
}

.scene-hidden {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.active-entry-slow {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  animation: mobileTextFadeIn 0.85s var(--ease-smooth) forwards;
}

.active-exit-slow {
  display: block !important;
  visibility: visible !important;
  animation: mobileTextFadeOut 0.6s ease-in forwards;
}

@keyframes mobileTextFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
    filter: blur(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
}

@keyframes mobileTextFadeOut {
  0% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0px);
  }
  100% {
    opacity: 0;
    transform: translateY(-16px);
    filter: blur(8px);
  }
}

.scene-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 14px;
  background: rgba(10, 12, 18, 0.65);
  border: 1px solid rgba(255, 190, 89, 0.38);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 0.65rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.65);
}

.scene-badge.badge-cern {
  background: rgba(10, 12, 18, 0.65);
  border-color: rgba(0, 255, 163, 0.4);
}

.scene-badge.badge-ativa {
  background: rgba(10, 12, 18, 0.7);
  border-color: rgba(255, 215, 0, 0.45);
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-amber-glow);
  box-shadow: 0 0 6px var(--color-amber-glow);
}

.badge-dot.dot-cyan {
  background: #00FFA3;
  box-shadow: 0 0 6px #00FFA3;
}

.badge-dot.dot-gold {
  background: #FFD700;
  box-shadow: 0 0 8px #FFD700;
}

.badge-text {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #FFFFFF;
  text-transform: uppercase;
}

.scene-headline {
  font-family: var(--font-display);
  font-size: clamp(1.42rem, 6.2vw, 1.88rem);
  font-weight: 800;
  line-height: 1.18;
  color: #FFFFFF;
  margin-bottom: 0.65rem;
  letter-spacing: -0.3px;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 1),
    0 4px 18px rgba(0, 0, 0, 0.98),
    0 8px 32px rgba(0, 0, 0, 0.92);
}

.scene-story {
  font-family: var(--font-body);
  font-size: clamp(0.96rem, 4.2vw, 1.12rem);
  line-height: 1.62;
  color: #F1F4FA;
  font-weight: 400;
  text-shadow: 
    0 2px 4px rgba(0, 0, 0, 1),
    0 3px 14px rgba(0, 0, 0, 0.98),
    0 6px 24px rgba(0, 0, 0, 0.9);
  max-width: 460px;
}

/* ========================================================
   ASSINATURA FINAL MOBILE (SEM CAIXA & CELULAR DISCRETO ACIMA)
   ======================================================== */
.final-signature-card {
  box-sizing: border-box;
  width: auto;
  max-width: 440px;
  padding: 22px 16px 18px;
  background: radial-gradient(ellipse at 50% 50%, rgba(4, 5, 8, 0.62) 0%, rgba(4, 5, 8, 0.35) 70%, transparent 100%) !important;
  border-radius: 28px;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  text-align: center;
  pointer-events: auto;
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 2.2rem;
  margin: 0 auto;
}

.final-signature-card.active-reveal {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  animation: mobileTextFadeIn 0.9s var(--ease-smooth) forwards;
}

.final-signature-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-tag {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 2.2px;
  color: var(--color-amber-glow);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.final-brand-title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 8.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #FFFFFF;
  line-height: 1.1;
  margin-bottom: 0.8rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.98);
}

.final-brand-title .studio-word {
  color: var(--color-amber-glow);
  font-weight: 300;
}

.final-manifesto {
  font-family: var(--font-body);
  font-size: clamp(0.96rem, 3.9vw, 1.08rem);
  line-height: 1.58;
  color: #E2E8F5;
  margin-bottom: 1.35rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.98), 0 1px 4px rgba(0, 0, 0, 1);
  max-width: 380px;
  word-break: normal;
  overflow-wrap: break-word;
}

.final-manifesto .manifesto-highlight {
  display: block;
  margin-top: 6px;
  color: #00FFA3;
  font-weight: 600;
  text-shadow: 0 0 15px rgba(0, 255, 163, 0.4);
}

.final-actions-row {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  margin-bottom: 1.2rem;
}

.btn-cta-main {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 335px;
  padding: 14px 22px;
  border-radius: 32px;
  background: linear-gradient(135deg, #FF941A 0%, #E66A00 50%, #00FFA3 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 8px 32px rgba(255, 148, 26, 0.55), 0 0 20px rgba(0, 255, 163, 0.35);
  margin: 0 auto;
}

.btn-cta-main:active {
  transform: scale(0.97);
}

.final-discreet-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--color-text-muted);
}

.discreet-link {
  color: var(--color-amber-glow);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ========================================================
   HUD LATERAL (SOMENTE OS ANOS NO MOBILE)
   ======================================================== */
.timeline-hud {
  position: fixed;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.8s ease;
}

body.experience-active .timeline-hud {
  opacity: 1;
}

.timeline-track {
  width: 2px;
  height: 85px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  border-radius: 2px;
}

.timeline-thumb {
  position: absolute;
  top: 0%;
  left: -2px;
  width: 6px;
  height: 16px;
  background: linear-gradient(180deg, var(--color-amber-glow), var(--color-cyan-glow));
  border-radius: 3px;
  box-shadow: 0 0 8px var(--color-amber-glow);
  transition: top 0.15s ease-out;
}

.timeline-info {
  display: flex;
  flex-direction: column;
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 1px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  text-shadow: 0 0 8px rgba(255, 190, 89, 0.5);
}

/* Indicador de Scroll no Início */
.scroll-prompt {
  position: fixed;
  bottom: 4.2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 25;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  transition: opacity 0.5s ease;
  white-space: nowrap;
}

.scroll-prompt.fade-out {
  opacity: 0;
}

.mouse-icon {
  width: 14px;
  height: 22px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.mouse-wheel {
  width: 2.5px;
  height: 5px;
  background-color: var(--color-amber-glow);
  border-radius: 2px;
  animation: mobileScrollAnim 2s infinite ease-in-out;
}

@keyframes mobileScrollAnim {
  0% { transform: translateY(0); opacity: 1; }
  60% { transform: translateY(6px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.scroll-prompt-text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.55);
}

/* ========================================================
   CONTROLES DO RODAPÉ (BOTÃO O QUE É UM SITE VIVO?)
   ======================================================== */
.hud-controls {
  position: fixed;
  bottom: 1.2rem;
  right: 14px;
  z-index: 35;
  display: flex;
  align-items: center;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hud-controls.hidden-on-final {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.hud-btn-alive {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(14, 18, 26, 0.82);
  border: 1px solid rgba(255, 190, 89, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 8px 14px;
  border-radius: 20px;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
}

.hud-btn-alive:active {
  transform: scale(0.96);
}

.alive-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00FFA3;
  box-shadow: 0 0 8px #00FFA3;
  animation: alivePulseDot 2s infinite ease-in-out;
}

@keyframes alivePulseDot {
  0% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 4px #00FFA3; }
  50% { transform: scale(1.35); opacity: 1; box-shadow: 0 0 10px #00FFA3; }
  100% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 4px #00FFA3; }
}

.alive-btn-icon {
  color: var(--color-amber-glow);
}

/* ========================================================
   ATALHO FLUTUANTE DE WHATSAPP (A PARTIR DA CENA 5 / ANOS 2000)
   ======================================================== */
.floating-wa-wrapper {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top, 0px));
  right: 14px;
  z-index: 45;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px) scale(0.92);
  transition: opacity 0.45s var(--ease-smooth), transform 0.45s var(--ease-smooth), visibility 0.45s;
}

.floating-wa-wrapper.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.floating-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border-radius: 22px;
  background: rgba(14, 20, 18, 0.82);
  border: 1px solid rgba(0, 255, 163, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 12px rgba(0, 255, 163, 0.25);
  transition: all 0.25s ease;
}

.floating-wa-btn svg {
  color: #00FFA3;
  filter: drop-shadow(0 0 6px #00FFA3);
}

.floating-wa-btn:active {
  transform: scale(0.96);
  background: rgba(0, 255, 163, 0.2);
}

.floating-wa-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00FFA3;
  box-shadow: 0 0 8px #00FFA3;
  animation: alivePulseDot 2s infinite ease-in-out;
}

/* Spacer de Scroll Calibrado para Touch Mobile (820vh) */
.scroll-track-spacer {
  height: 820vh;
  width: 100%;
  pointer-events: none;
}

/* ========================================================
   MODAL POP-UP: O QUE É UM SITE VIVO? (MOBILE BOTTOM-SHEET)
   ======================================================== */
.alive-modal {
  position: fixed;
  inset: 0;
  z-index: 250;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.alive-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.alive-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 5, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.alive-modal-dialog {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 520px;
  max-height: 88vh;
  max-height: 88dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  background: linear-gradient(160deg, rgba(16, 18, 28, 0.98) 0%, rgba(8, 9, 15, 0.99) 100%);
  border: 1px solid rgba(255, 190, 89, 0.32);
  border-radius: 26px 26px 0 0;
  padding: 1.6rem 1.3rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.95), 0 0 40px rgba(255, 148, 26, 0.12);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-smooth);
}

.alive-modal-dialog::-webkit-scrollbar {
  display: none;
}

.alive-modal.active .alive-modal-dialog {
  transform: translateY(0);
}

.alive-modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.alive-modal-close:hover {
  background: rgba(255, 190, 89, 0.2);
  border-color: var(--color-amber-glow);
  color: var(--color-amber-glow);
}

.alive-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1.8px;
  color: var(--color-amber-glow);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.alive-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00FFA3;
  box-shadow: 0 0 8px #00FFA3;
}

.alive-modal-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.6rem;
  letter-spacing: 0.3px;
}

.text-gold-gradient {
  background: linear-gradient(135deg, #FFBE59 0%, #FF8A00 50%, #00FFA3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.alive-modal-lead {
  font-size: 12.5px;
  line-height: 1.55;
  color: #CBD3E6;
  margin-bottom: 1.0rem;
}

.alive-pillars-grid {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 1.1rem;
}

.alive-pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  transition: all 0.25s ease;
}

.alive-pillar-card:active {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 190, 89, 0.3);
}

.pillar-icon-glow {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pillar-icon-glow.glow-amber {
  background: rgba(255, 190, 89, 0.12);
  border: 1px solid rgba(255, 190, 89, 0.3);
  box-shadow: 0 0 10px rgba(255, 190, 89, 0.2);
}

.pillar-icon-glow.glow-emerald {
  background: rgba(0, 255, 163, 0.12);
  border: 1px solid rgba(0, 255, 163, 0.3);
  box-shadow: 0 0 10px rgba(0, 255, 163, 0.2);
}

.pillar-icon-glow.glow-cyan {
  background: rgba(56, 225, 255, 0.12);
  border: 1px solid rgba(56, 225, 255, 0.3);
  box-shadow: 0 0 10px rgba(56, 225, 255, 0.2);
}

.pillar-texts h4 {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 2px;
}

.pillar-texts p {
  font-size: 11px;
  line-height: 1.4;
  color: #9DA7BE;
  margin: 0;
}

.alive-modal-quote {
  padding: 8px 12px;
  border-left: 2px solid var(--color-amber-glow);
  background: rgba(255, 190, 89, 0.05);
  border-radius: 0 6px 6px 0;
  font-size: 11px;
  font-style: italic;
  color: #D5DBEB;
  margin-bottom: 1.1rem;
}

.alive-modal-footer {
  display: flex;
  justify-content: center;
}

.btn-alive-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 26px;
  background: linear-gradient(135deg, #FF941A 0%, #E66A00 50%, #00FFA3 100%);
  color: #FFFFFF;
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(255, 148, 26, 0.4);
}

.btn-alive-whatsapp:active {
  transform: scale(0.98);
}

.hidden {
  display: none !important;
}
