/* ==========================================================================
   ALPHA GREENN — PREMIUM DESIGN SYSTEM (PHASE 2 + RESPONSIVE TOTAL)
   ========================================================================== */

/* --- 1. TOKENS & VARIABLES --- */
:root {
  /* Colors */
  --alpha-bg: #050907;
  --alpha-surface: #0a120e;
  --alpha-surface-elevated: #111e17;
  
  --alpha-primary: #00D18A;
  --alpha-primary-hover: #00e599;
  --alpha-primary-glow: rgba(0, 209, 138, 0.2);
  
  --alpha-text: #ffffff;
  --alpha-text-muted: #8a9990;
  --alpha-text-dark: #000000;
  
  --alpha-border: rgba(255, 255, 255, 0.05);
  --alpha-border-light: rgba(255, 255, 255, 0.1);
  --alpha-border-green: rgba(0, 209, 138, 0.3);

  /* Typography */
  --font-primary: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-secondary: 'Inter', -apple-system, sans-serif;
  
  /* Responsive Typography Tokens */
  --typo-hero: clamp(38px, 6vw, 76px);
  --typo-section-title: clamp(30px, 4vw, 56px);
  --typo-h3: clamp(24px, 3vw, 28px);
  --typo-p-large: clamp(16px, 2vw, 18px);
  --typo-p-base: clamp(14px, 1.5vw, 16px);
  
  /* Transitions */
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.4s var(--ease-smooth);
  --transition-slow: 0.8s var(--ease-slow);

  /* Spacing Tokens */
  --section-gap: clamp(72px, 10vw, 150px);
  --mobile-gutter: 16px;
  --container-max: 1240px;
}

@media (min-width: 375px) { :root { --mobile-gutter: 18px; } }
@media (min-width: 480px) { :root { --mobile-gutter: 22px; } }
@media (min-width: 768px) { :root { --mobile-gutter: 28px; } }
@media (min-width: 1024px) { :root { --mobile-gutter: 24px; } }

/* --- 2. RESET & BASE --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-secondary);
  background-color: var(--alpha-bg);
  color: var(--alpha-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
  width: 100%;
}
body.is-locked {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

.alpha-container {
  width: min(100% - (var(--mobile-gutter) * 2), var(--container-max));
  margin-inline: auto;
}

section[id], div[id] { scroll-margin-top: 110px; }

/* Typography Utilities */
h1, h2, h3, h4 {
  font-family: var(--font-primary);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.6;
  color: var(--alpha-text-muted);
}

.alpha-text-green { color: var(--alpha-primary); }
.alpha-text-green-gradient {
  background: linear-gradient(135deg, var(--alpha-primary) 0%, #00ffaa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cta-gradient-word {
  background: linear-gradient(90deg, #ffffff 0%, var(--alpha-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --- 3. MOUSE GLOW --- */
#alpha-mouse-glow {
  position: fixed;
  top: 0; left: 0;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,209,138,0.06) 0%, rgba(0,209,138,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: opacity 0.3s;
  opacity: 0;
}
@media (max-width: 1024px), (pointer: coarse) { 
  #alpha-mouse-glow { display: none !important; } 
}

/* --- 4. LOADER --- */
#alpha-loader {
  position: fixed; inset: 0; background: var(--alpha-bg);
  z-index: 10000; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-slow), visibility 0.6s;
}
#alpha-loader.is-hidden { opacity: 0; visibility: hidden; }
.alpha-loader-logo { width: clamp(100px, 15vw, 140px); margin-bottom: 40px; }
.alpha-loader-progress-wrap {
  width: min(200px, 80vw); height: 2px;
  background: var(--alpha-border-light);
  border-radius: 2px; overflow: hidden; margin-bottom: 16px;
}
.alpha-loader-progress {
  width: 0%; height: 100%; background: var(--alpha-primary); transition: width 0.1s linear;
}
.alpha-loader-percent { font-family: var(--font-primary); font-size: 14px; color: var(--alpha-text-muted); }

/* --- 5. COMPONENTS --- */
.alpha-btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 32px; border-radius: 100px;
  font-weight: 500; font-size: 15px; transition: all var(--transition-normal);
  cursor: pointer; position: relative; overflow: hidden; font-family: var(--font-primary);
}
.alpha-btn-large { height: 64px; padding: 0 40px; font-size: 17px; }
.alpha-btn-primary { background: var(--alpha-primary); color: var(--alpha-text-dark); }
.alpha-btn-primary:hover { background: var(--alpha-primary-hover); box-shadow: 0 8px 32px var(--alpha-primary-glow); transform: translateY(-2px); }
.alpha-btn-secondary { background: transparent; color: var(--alpha-text); border: 1px solid var(--alpha-border-light); }
.alpha-btn-secondary:hover { background: var(--alpha-surface-elevated); border-color: var(--alpha-text); }
.alpha-btn-outline { border: 1px solid var(--alpha-border-light); color: var(--alpha-text-dark); }

.alpha-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px; background: var(--alpha-surface-elevated);
  border: 1px solid var(--alpha-border); font-size: 13px; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--alpha-text-muted);
}
.alpha-badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--alpha-primary); box-shadow: 0 0 10px var(--alpha-primary);
}

/* --- 6. NAVBAR & DRAWER --- */
.alpha-header {
  position: fixed; top: 0; left: 0; width: 100%;
  z-index: 1000; padding: clamp(16px, 4vw, 32px) 0;
  transition: all var(--transition-normal);
  padding-top: calc(clamp(16px, 4vw, 32px) + env(safe-area-inset-top));
}
.alpha-header.is-scrolled { padding: 16px 0; padding-top: calc(16px + env(safe-area-inset-top)); }
.alpha-header-inner { display: flex; justify-content: space-between; align-items: center; }
.alpha-header-logo {
  transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
}
.alpha-header-logo.is-hidden {
  opacity: 0;
  transform: translateY(-8px) scale(0.95);
  visibility: hidden;
  pointer-events: none;
}
.alpha-header-logo img { height: clamp(24px, 4vw, 32px); width: auto; }

/* Botão Consultoria: quando scrollado vira flutuante no canto inferior direito */
#consultoria-btn.is-floating {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: rgba(17, 30, 23, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--alpha-border-green);
  color: var(--alpha-text);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 209, 138, 0.15);
  height: 52px;
  padding: 0 32px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-primary);
  text-decoration: none;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
#consultoria-btn.is-floating:hover {
  border-color: var(--alpha-text);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 209, 138, 0.3);
  transform: translateY(-2px);
}
#consultoria-btn.is-floating:active {
  transform: translateY(0) scale(0.97);
}
/* Responsivo mobile: botão flutuante compacto */
@media (max-width: 480px) {
  #consultoria-btn.is-floating {
    padding: 0 20px;
    height: 48px;
    font-size: 14px;
    bottom: 20px;
    right: 20px;
  }
}
.alpha-header-nav {
  display: flex; gap: 8px;
  background: rgba(17, 30, 23, 0.85); backdrop-filter: blur(12px);
  padding: 6px; border-radius: 100px; border: 1px solid var(--alpha-border);
}
.alpha-header-nav a {
  padding: 10px 20px; border-radius: 100px;
  font-size: 14px; font-weight: 500; color: var(--alpha-text-muted);
  transition: all var(--transition-fast);
}
.alpha-header-nav a:hover,
.alpha-header-nav a.is-active { background: var(--alpha-surface); color: var(--alpha-text); }

/* --- NAVBAR DESKTOP ABSOLUTE CENTERING --- */
@media (min-width: 1025px) {
  .alpha-header-inner {
    justify-content: center;
    position: relative;
    min-height: 56px;
  }
  .alpha-header-logo {
    position: absolute;
    left: 0;
    /* Static position inherits vertical center from align-items: center */
  }
  .alpha-header-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    /* Static position inherits vertical center from align-items: center */
  }
  .alpha-header-cta {
    position: absolute;
    right: 0;
    /* Static position inherits vertical center from align-items: center */
  }
}

.alpha-mobile-btn {
  display: none; width: 44px; height: 44px;
  background: none; border: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; z-index: 1001;
}
.alpha-mobile-btn span {
  display: block; width: 24px; height: 2px;
  background: var(--alpha-text); transition: 0.3s;
}
.alpha-mobile-btn.is-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.alpha-mobile-btn.is-active span:nth-child(2) { opacity: 0; }
.alpha-mobile-btn.is-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- 6.1 MOBILE MENU (BEM) --- */
.alpha-mobile-menu {
  position: fixed; inset: 0; z-index: 1005;
  display: flex; justify-content: flex-end;
  pointer-events: none; opacity: 0; visibility: hidden;
  transition: opacity 0.3s var(--ease-smooth), visibility 0.3s;
}
.alpha-mobile-menu.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.alpha-mobile-menu__overlay {
  position: absolute; inset: 0;
  background: rgba(2, 11, 7, 0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transition: opacity 0.2s linear; cursor: pointer;
}
.alpha-mobile-menu.is-open .alpha-mobile-menu__overlay { opacity: 1; }

.alpha-mobile-menu__panel {
  position: relative; width: 92vw; max-width: 420px;
  height: 100dvh; max-height: 100dvh; box-sizing: border-box;
  background: var(--alpha-surface);
  border-left: 1px solid var(--alpha-border-light);
  display: flex; flex-direction: column;
  padding: calc(24px + env(safe-area-inset-top)) clamp(16px, 4vw, 24px) calc(24px + env(safe-area-inset-bottom));
  transform: translateX(100%); transition: transform 0.35s var(--ease-spring);
  overflow-y: auto; overflow-x: hidden;
}
.alpha-mobile-menu.is-open .alpha-mobile-menu__panel { transform: translateX(0); }

/* Header */
.alpha-mobile-menu__header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 24px; border-bottom: 1px solid var(--alpha-border-light); margin-bottom: 32px;
  opacity: 0; transform: translateY(-10px); transition: all 0.3s var(--ease-smooth); transition-delay: 0.1s;
  flex-shrink: 0;
}
.alpha-mobile-menu.is-open .alpha-mobile-menu__header { opacity: 1; transform: translateY(0); }
.alpha-mobile-menu__logo { width: clamp(130px, 35vw, 155px); height: auto; transition: width 0.3s; }
.alpha-mobile-menu__close {
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: var(--alpha-surface-elevated); border: 1px solid var(--alpha-border); border-radius: 50%;
  color: var(--alpha-text); cursor: pointer; transition: all 0.2s; flex-shrink: 0;
}
.alpha-mobile-menu__close:active { transform: scale(0.9); }
.alpha-mobile-menu__label {
  font-size: 11px; letter-spacing: 0.15em; color: var(--alpha-text-muted);
  text-transform: uppercase; font-weight: 500; margin-bottom: 24px; flex-shrink: 0;
}

/* Nav & Items */
.alpha-mobile-menu__nav { display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.alpha-mobile-menu__item {
  display: flex; align-items: center; width: 100%;
  padding: 14px 16px; border-radius: 14px;
  background: transparent; color: var(--alpha-text); transition: all 0.2s ease;
  opacity: 0; transform: translateX(20px);
}
.alpha-mobile-menu.is-open .alpha-mobile-menu__item { opacity: 1; transform: translateX(0); }
.alpha-mobile-menu.is-open .alpha-mobile-menu__item:nth-child(1) { transition-delay: 0.15s; }
.alpha-mobile-menu.is-open .alpha-mobile-menu__item:nth-child(2) { transition-delay: 0.18s; }
.alpha-mobile-menu.is-open .alpha-mobile-menu__item:nth-child(3) { transition-delay: 0.21s; }
.alpha-mobile-menu.is-open .alpha-mobile-menu__item:nth-child(4) { transition-delay: 0.24s; }
.alpha-mobile-menu.is-open .alpha-mobile-menu__item:nth-child(5) { transition-delay: 0.27s; }

.alpha-mobile-menu__item:active { transform: scale(0.985); background: rgba(255,255,255,0.03); }
.alpha-mobile-menu__item.--active { background: rgba(0,209,138,0.08); border: 1px solid rgba(0,209,138,0.15); }

.alpha-mobile-menu__num { font-size: 12px; color: var(--alpha-text-muted); width: 24px; font-weight: 600; }
.alpha-mobile-menu__item.--active .alpha-mobile-menu__num { color: var(--alpha-primary); opacity: 0.8; }
.alpha-mobile-menu__icon {
  width: 34px; height: 34px; display: flex; align-items: center; justify-content: center;
  margin-right: 16px; color: var(--alpha-text-muted);
}
.alpha-mobile-menu__icon i { width: 24px; height: 24px; }
.alpha-mobile-menu__item.--active .alpha-mobile-menu__icon { color: var(--alpha-primary); }

.alpha-mobile-menu__text {
  flex: 1; font-family: var(--font-primary); font-size: clamp(21px, 5vw, 24px); font-weight: 650;
}
.alpha-mobile-menu__item.--active .alpha-mobile-menu__text { color: var(--alpha-text); }
.alpha-mobile-menu__arrow { width: 20px; height: 20px; color: var(--alpha-text-muted); opacity: 0.5; transition: transform 0.2s; }
.alpha-mobile-menu__item:active .alpha-mobile-menu__arrow { transform: translateX(3px); }

/* Spacer & Footer */
.alpha-mobile-menu__spacer { flex: 1; min-height: 24px; flex-shrink: 0; }
.alpha-mobile-menu__footer {
  display: flex; flex-direction: column; gap: 24px; flex-shrink: 0;
  opacity: 0; transform: translateY(10px); transition: all 0.3s var(--ease-smooth); transition-delay: 0.3s;
}
.alpha-mobile-menu.is-open .alpha-mobile-menu__footer { opacity: 1; transform: translateY(0); }

.alpha-mobile-menu__cta {
  display: flex; justify-content: center; align-items: center; gap: 8px;
  height: 56px; border-radius: 14px; width: 100%;
  background: linear-gradient(135deg, #70f3c4 0%, var(--alpha-primary) 50%, #00b979 100%);
  color: #011a11; font-weight: 750; font-size: 16px; font-family: var(--font-primary);
  box-shadow: 0 10px 20px rgba(0, 209, 138, 0.2); transition: transform 0.2s;
}
.alpha-mobile-menu__cta:active { transform: scale(0.98); }
.alpha-mobile-menu__cta i { width: 18px; height: 18px; }

.alpha-mobile-menu__social { display: flex; gap: 16px; justify-content: center; }
.alpha-mobile-menu__social a { font-size: 14px; font-weight: 500; color: var(--alpha-text-muted); }
.alpha-mobile-menu__copyright { text-align: center; font-size: 12px; color: var(--alpha-text-muted); opacity: 0.5; margin-top: -8px; }

/* Scroll Lock Global */
body.is-locked { overflow: hidden !important; touch-action: none !important; }

/* Breakpoints limitados por altura e largura */
@media (max-width: 359px) {
  .alpha-mobile-menu__panel { width: 100vw; max-width: none; border-radius: 0; border-left: none; }
}
@media (max-height: 700px) {
  .alpha-mobile-menu__panel { padding: calc(16px + env(safe-area-inset-top)) clamp(12px, 4vw, 16px) calc(16px + env(safe-area-inset-bottom)); }
  .alpha-mobile-menu__header { padding-bottom: 12px; margin-bottom: 16px; }
  .alpha-mobile-menu__logo { width: 110px; }
  .alpha-mobile-menu__close { width: 36px; height: 36px; }
  .alpha-mobile-menu__label { margin-bottom: 12px; }
  .alpha-mobile-menu__nav { gap: 4px; }
  .alpha-mobile-menu__item { padding: 8px 12px; }
  .alpha-mobile-menu__text { font-size: 18px; }
  .alpha-mobile-menu__icon { width: 28px; height: 28px; margin-right: 12px; }
  .alpha-mobile-menu__icon i { width: 20px; height: 20px; }
  .alpha-mobile-menu__footer { gap: 16px; }
  .alpha-mobile-menu__cta { height: 48px; font-size: 15px; }
}
@media not all {
  .alpha-mobile-menu__panel, .alpha-mobile-menu__item, .alpha-mobile-menu__header, .alpha-mobile-menu__footer {
    transition: none !important; opacity: 1 !important; transform: none !important;
  }
  .alpha-mobile-menu__overlay { transition: none !important; }
}

/* --- 7. REVEALS --- */
.alpha-reveal-fade { opacity: 0; transform: translateY(30px); transition: all 0.8s var(--ease-slow); }
.alpha-reveal-mask { clip-path: inset(100% 0 0 0); transition: all 1s var(--ease-slow); padding-bottom: 20px; margin-bottom: -20px; }
.alpha-reveal-scale { opacity: 0; transform: scale(0.95); transition: all 0.8s var(--ease-slow); }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.is-visible { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* --- 8. HERO IMMERSIVE --- */
.alpha-hero-advanced {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: calc(100px + env(safe-area-inset-top)); padding-bottom: 60px; overflow: hidden;
}
.hero-bg-elements {
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at top right, rgba(0, 209, 138, 0.05) 0%, transparent 60%);
}
.hero-orbit {
  position: absolute; top: -20%; right: -10%; width: 800px; height: 800px;
  border: 1px dashed rgba(255,255,255,0.05); border-radius: 50%;
  animation: rotateOrbit 60s linear infinite;
}
@keyframes rotateOrbit { 100% { transform: rotate(360deg); } }

.alpha-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-left-content { position: relative; z-index: 2; max-width: 580px; }
.hero-title { font-size: var(--typo-hero); margin: 24px 0; }
.hero-line { overflow: hidden; padding-bottom: 16px; margin-bottom: -16px; }
.hero-word { display: block; transform: translateY(110%); transition: transform 1s var(--ease-spring); }
.hero-word.is-visible { transform: translateY(0); }
.hero-desc { font-size: var(--typo-p-large); margin-bottom: 40px; max-width: 480px; }
.hero-actions { display: flex; gap: 16px; margin-bottom: 48px; }
.hero-metrics { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-metric strong { display: block; color: var(--alpha-text); font-size: 16px; margin-bottom: 4px; }
.hero-metric span { color: var(--alpha-text-muted); font-size: 14px; }

.hero-right-visual { position: relative; perspective: 1200px; height: 600px; width: 100%; }
.hero-mockup-group { position: absolute; inset: 0; transform-style: preserve-3d; }
.hero-mockup {
  position: absolute; border-radius: 16px; box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  border: 1px solid var(--alpha-border-light); overflow: hidden;
  transition: transform 0.1s linear, opacity 1s var(--ease-slow);
  opacity: 0; transform: scale(0.9) translateY(calc(40px + var(--parallax-y, 0px)));
}
.hero-mockup.is-ready { opacity: 1; transform: scale(1) translateY(var(--parallax-y, 0px)); }
.hero-mock-1 { width: 80%; top: 10%; right: 0; z-index: 1; }
.hero-mock-2 { width: 60%; bottom: 10%; left: 0; z-index: 3; }
.hero-mock-3 { width: 40%; top: 5%; left: 10%; z-index: 2; }

/* --- 9. TYPO TRANSITION --- */
.alpha-typo-transition { padding: var(--section-gap) 0; position: relative; overflow: hidden; }
.typo-transition-inner { display: flex; flex-direction: column; gap: 40px; position: relative; max-width: 1000px; }
.typo-progress-line { position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: var(--alpha-border-light); }
.typo-progress-line::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: var(--scroll-progress, 0%); background: var(--alpha-primary);
}
.typo-block { padding-left: clamp(20px, 4vw, 40px); position: relative; }
.typo-word {
  font-size: clamp(36px, 8vw, 110px); font-family: var(--font-primary); font-weight: 800; line-height: 1;
  color: rgba(255,255,255,0.15); -webkit-text-stroke: 1px rgba(255,255,255,0.15); position: relative;
  transition: transform 0.1s linear; overflow-wrap: break-word;
}
.typo-word::after {
  content: attr(data-fill); position: absolute; left: 0; top: 0;
  color: var(--alpha-primary); -webkit-text-stroke: 0;
  clip-path: inset(0 0 calc(100% - var(--fill-pct, 0%)) 0);
  will-change: clip-path;
  pointer-events: none;
}
.typo-sub { font-size: var(--typo-p-large); color: var(--alpha-text-muted); margin-top: 8px; opacity: 0; transition: opacity 0.5s; }
.typo-block.is-active .typo-sub { opacity: 1; }
/*
 * O preenchimento verde é revelado do topo para a base.
 * Ao rolar para baixo, a área visível cresce para baixo.
 * Ao voltar o scroll, a área recua no sentido contrário.
 */
/* Palavras já preenchidas permanecem verdes; não são mais escurecidas. */
.typo-block.is-past { opacity: 1; }

/* --- 10. DOUBLE MARQUEE --- */
.alpha-marquee-double { padding: 40px 0; overflow: hidden; background: var(--alpha-surface); }
.marquee-wrapper { width: 100%; max-width: 100vw; display: flex; white-space: nowrap; margin-bottom: 20px; }
.marquee-content { display: flex; font-size: clamp(28px, 5vw, 64px); font-family: var(--font-primary); font-weight: 600; }
.marquee-content span { padding-right: 40px; transition: color 0.3s; }
.solid-marquee .marquee-content { animation: scrollLeft 40s linear infinite; color: var(--alpha-text); }
.stroke-marquee .marquee-content { animation: scrollRight 50s linear infinite; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.3); }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes scrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

/* --- 11. EDITORIAL VISION --- */
.alpha-editorial { padding: var(--section-gap) 0; }
.editorial-grid { display: grid; grid-template-columns: 4fr 5fr; gap: clamp(40px, 8vw, 80px); }
.editorial-sticky { position: sticky; top: 150px; }
.editorial-sticky h2 { font-size: var(--typo-section-title); margin-bottom: 24px; }
.editorial-panel {
  position: relative; padding: clamp(32px, 5vw, 60px) clamp(24px, 4vw, 40px);
  background: var(--alpha-surface); border-radius: 24px; margin-bottom: 24px;
  transition: all 0.5s var(--ease-slow); overflow: hidden;
}
.editorial-panel.is-active { background: var(--alpha-surface-elevated); transform: translateX(-10px); }
.editorial-bg-num {
  position: absolute; top: -20px; right: 20px;
  font-size: clamp(100px, 15vw, 160px); font-weight: 800; color: rgba(255,255,255,0.02);
  line-height: 1; pointer-events: none;
}
.editorial-content h3 { font-size: var(--typo-h3); margin-bottom: 16px; color: var(--alpha-text); }
.editorial-content p { font-size: var(--typo-p-base); color: var(--alpha-text-muted); }
.editorial-line {
  position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--alpha-primary); transform: scaleY(0); transform-origin: top;
  transition: transform 0.5s var(--ease-slow);
}
.editorial-panel.is-active .editorial-line { transform: scaleY(1); }

/* --- 12. INTERACTIVE SERVICES --- */
.alpha-interactive-services { padding: var(--section-gap) 0; background: var(--alpha-surface); }
.interactive-header { max-width: 600px; margin-bottom: clamp(40px, 8vw, 80px); }
.interactive-header h2 { font-size: var(--typo-section-title); margin-bottom: 16px; }
.interactive-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
.int-service-item {
  display: flex; gap: 24px; padding: 32px 0;
  border-bottom: 1px solid var(--alpha-border-light); cursor: pointer; position: relative;
  transition: all 0.4s ease;
}
.int-service-num { font-family: var(--font-primary); font-weight: 600; font-size: 18px; color: var(--alpha-text-muted); transition: 0.4s; }
.int-service-text { flex: 1; }
.int-service-text h3 { font-size: var(--typo-h3); margin-bottom: 12px; transition: 0.4s; }
.int-service-desc { opacity: 0; height: 0; overflow: hidden; transition: 0.4s; }
.int-service-desc p { margin-bottom: 16px; font-size: var(--typo-p-base); }
.int-service-item.is-active .int-service-num { color: var(--alpha-primary); }
.int-service-item.is-active .int-service-text h3 { color: var(--alpha-primary); padding-left: 10px; }
.int-service-item.is-active .int-service-desc { opacity: 1; height: auto; padding-left: 10px; margin-top: 10px; }

.int-service-indicator {
  position: absolute; left: -16px; top: 50%; transform: translateY(-50%) scale(0);
  width: 6px; height: 6px; border-radius: 50%; background: var(--alpha-primary); transition: 0.4s;
}
.int-service-item.is-active .int-service-indicator { transform: translateY(-50%) scale(1); }
.int-services-visual {
  position: sticky; top: 120px;
  height: 550px;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
}
.int-visual-item {
  position: absolute; inset: 12px;
  opacity: 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1s cubic-bezier(0.65, 0, 0.35, 1),
              opacity 0.4s ease,
              transform 1s cubic-bezier(0.65, 0, 0.35, 1);
  transform: scale(0.92);
  display: flex; align-items: center; justify-content: center;
}
.int-visual-item img {
  width: 120vh; height: 70%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.04),
              0 30px 80px rgba(0,0,0,0.6);
  transition: box-shadow 0.5s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.int-visual-item.is-active {
  opacity: 1;
  clip-path: inset(0 0 0 0);
  transform: scale(1);
  z-index: 2;
}
.int-visual-item.is-active img {
  box-shadow: 0 0 0 1px rgba(0, 209, 138, 0.12),
              0 0 60px rgba(0, 209, 138, 0.08),
              0 30px 80px rgba(0,0,0,0.6);
  transform: scale(1);
}
.mobile-service-img { display: none; margin-top: 16px; border-radius: 12px; width: 100%; height: auto; }

/* --- 13. PROJECTS (STORYTELLING) --- */
.alpha-story-projects { display: flex; flex-direction: column; }
.story-project-sec { padding: var(--section-gap) 0; min-height: 90vh; display: flex; align-items: center; }
.theme-light { background: #f8f9fa; color: #111; }
.theme-light p { color: #555; }
.theme-light .alpha-badge { border-color: rgba(0,0,0,0.1); background: rgba(0,0,0,0.05); }
.theme-dark { background: var(--alpha-bg); color: #fff; }
.theme-mid { background: var(--alpha-surface); color: #fff; }

.story-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 80px); align-items: center; }
.story-grid.reverse { grid-template-columns: 7fr 5fr; }
.story-grid.reverse .story-info { order: 2; }
.story-grid.reverse .story-visual { order: 1; }

.story-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; font-weight: 500; font-size: 14px; }
.story-info h2 { font-size: var(--typo-section-title); margin-bottom: 24px; }
.story-info p { font-size: var(--typo-p-large); margin-bottom: 32px; }
.story-tags { display: flex; gap: 16px; margin-bottom: 40px; flex-wrap: wrap; }
.story-tag { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.story-tag i { width: 18px; height: 18px; color: var(--alpha-primary); }

.story-visual { position: relative; width: 100%; }
.story-visual.visual-tabs {
  height: auto; 
  display: grid;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.theme-dark .story-visual.visual-tabs { box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.story-visual img { border-radius: 16px; }

/* P1 Parallax */
.visual-horizontal-parallax .img-front { position: absolute; width: 80%; right: 0; top: 10%; z-index: 2; }
.visual-horizontal-parallax .img-back { position: absolute; width: 70%; left: 0; top: 30%; opacity: 0.6; z-index: 1; }
/* P2 Glow */
.visual-floating-glow .glow-bg { position: absolute; inset: 10%; background: var(--alpha-primary); filter: blur(80px); opacity: 0.15; z-index: 0; }
.visual-floating-glow .img-main { position: relative; z-index: 1; width: 90%; }
.visual-floating-glow .img-float-mini { position: absolute; width: 40%; top: -10%; right: -5%; z-index: 2; animation: float 6s ease-in-out infinite; }
/* P3 Flow */
.story-steps { display: flex; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.step-item { font-family: var(--font-primary); font-weight: 600; color: var(--alpha-text-muted); }
.visual-step-flow { display: flex; flex-direction: column; gap: 24px; justify-content: center; height: 100%; }
.visual-step-flow img { width: 80%; margin: 0 auto; z-index: 2; position: relative; }
.step-flow-line { position: absolute; left: 10%; top: 0; bottom: 0; width: 2px; background: dashed 2px var(--alpha-border-light); z-index: 0; }
/* P4 Tabs */
.story-tabs-nav { display: flex; gap: 16px; margin-bottom: 40px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; }
.story-tabs-nav::-webkit-scrollbar { display: none; }
.s-tab-btn {
  background: none; border: none; padding: 8px 0; font-size: 16px; font-weight: 500;
  color: #777; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; scroll-snap-align: start;
}
.s-tab-btn.is-active { color: var(--alpha-primary); border-color: var(--alpha-primary); }
.visual-tabs img {
  grid-area: 1 / 1; width: 100%; height: auto; object-fit: cover;
  opacity: 0; transform: translateY(20px); transition: 0.4s ease;
}
.visual-tabs img.is-active { opacity: 1; transform: translateY(0); z-index: 2; }

/* Spotlight GlowCard Effect — REMOVED (bordas sutis fora das imagens) */

/* --- 14. PROCESS STACKED CARDS --- */
.alpha-stack-process { padding: var(--section-gap) 0; background: var(--alpha-bg); }
.stack-grid { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(40px, 8vw, 80px); }
.stack-sticky-title { position: sticky; top: 150px; }
.stack-sticky-title h2 { font-size: var(--typo-section-title); margin-bottom: 24px; }
.stack-right { display: flex; flex-direction: column; gap: 40px; margin-bottom: 100px; }
.stack-card {
  position: sticky; background: var(--alpha-surface-elevated);
  padding: clamp(24px, 5vw, 40px); border-radius: 24px; border: 1px solid var(--alpha-border);
  height: 320px; display: flex; flex-direction: column; justify-content: center;
  box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}
.stack-card:nth-child(1) { top: 150px; }
.stack-card:nth-child(2) { top: 170px; }
.stack-card:nth-child(3) { top: 190px; }
.stack-card:nth-child(4) { top: 210px; }
.s-card-top { display: flex; justify-content: space-between; margin-bottom: 24px; }
.s-card-num { font-size: 48px; font-family: var(--font-primary); font-weight: 800; color: rgba(255,255,255,0.1); }
.s-card-icon { width: 32px; height: 32px; color: var(--alpha-primary); }
.stack-card h3 { font-size: var(--typo-h3); margin-bottom: 16px; }

/* --- 15. PRE-TESTIMONIALS --- */
.alpha-pre-testimonials { padding: var(--section-gap) 0 60px; background: var(--alpha-bg); position: relative; z-index: 2; }
.pre-testi-title { font-size: clamp(32px, 6vw, 72px); margin-bottom: 40px; }
.pre-testi-line { width: 2px; height: 100px; background: var(--alpha-primary); margin: 0 auto; }
.text-center { text-align: center; }

/* --- 16. TESTIMONIALS (PRESERVED LOGIC) --- */
.alpha-testimonials { padding: 60px 0 var(--section-gap); background: var(--alpha-bg); overflow: hidden; }

/* Infinite Border Block */
.infinite-border-block {
  position: relative;
  border-radius: 24px;
  padding: 1px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 209, 138, 0.05);
  margin-top: 20px;
}

.infinite-border-block::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg, 
    transparent 60%, 
    rgba(0, 209, 138, 0.1) 70%, 
    rgba(0, 209, 138, 0.8) 90%,
    var(--alpha-primary) 100%
  );
  animation: rotateBorder 4s linear infinite;
  z-index: 0;
}

@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.infinite-border-inner {
  position: relative;
  z-index: 1;
  background: var(--alpha-surface);
  border-radius: 23px;
  overflow: hidden;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 209, 138, 0.05);
}

.alpha-testimonials-container { position: relative; height: clamp(500px, 80vh, 800px); perspective: 1200px; display: flex; justify-content: center; }
.alpha-marquees-wrapper { display: flex; gap: clamp(16px, 3vw, 24px); transform: rotateX(20deg) rotateZ(-10deg) rotateY(5deg) scale(1.1); transform-style: preserve-3d; }
.alpha-marquee-col { display: flex; flex-direction: column; gap: clamp(16px, 3vw, 24px); width: clamp(260px, 30vw, 340px); }
.alpha-marquee-col.anim-up { animation: marqueeUp var(--duration) linear infinite; }
.alpha-marquee-col.anim-down { animation: marqueeDown var(--duration) linear infinite; }
@keyframes marqueeUp { 0% { transform: translateY(0); } 100% { transform: translateY(-50%); } }
@keyframes marqueeDown { 0% { transform: translateY(-50%); } 100% { transform: translateY(0); } }
.alpha-testimonial-card { background: var(--alpha-surface-elevated); border: 1px solid var(--alpha-border); padding: clamp(20px, 3vw, 32px); border-radius: 20px; transition: transform 0.3s; }
.alpha-testimonial-card:hover { transform: translateY(-5px); border-color: var(--alpha-border-green); }
.alpha-testimonial-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.alpha-testimonial-img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.alpha-testimonial-name { font-weight: 600; color: var(--alpha-text); font-size: 16px; }
.alpha-testimonial-role { font-size: 14px; color: var(--alpha-text-muted); }
.alpha-testimonial-text { font-size: var(--typo-p-base); line-height: 1.6; color: rgba(255, 255, 255, 0.85); font-style: italic; }

/* --- 17. FINAL CTA --- */
.alpha-cta-block { position: relative; padding: var(--section-gap) 0 100px; background: #020604; overflow: hidden; text-align: center; }
.cta-bg-orbits { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 0; }
.orbit-circle { position: absolute; border: 1px solid rgba(0, 209, 138, 0.1); border-radius: 50%; }
.o-1 { width: 600px; height: 600px; animation: pulseOrbit 4s infinite alternate; }
.o-2 { width: 900px; height: 900px; animation: pulseOrbit 5s infinite alternate-reverse; }
.cta-light-line { position: absolute; bottom: 0; width: 1px; height: 100%; background: linear-gradient(to bottom, transparent, var(--alpha-primary), transparent); animation: floatUp 8s linear infinite; }
@keyframes pulseOrbit { 0% { transform: scale(0.95); opacity: 0.5; } 100% { transform: scale(1.05); opacity: 1; } }
@keyframes floatUp { 0% { transform: translateY(100%); } 100% { transform: translateY(-100%); } }

.cta-content-box { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.cta-micro-labels { display: flex; justify-content: center; gap: 12px; margin-bottom: 40px; flex-wrap: wrap; }
.c-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--alpha-primary); border: 1px solid rgba(0,209,138,0.3); padding: 4px 12px; border-radius: 100px; }
.cta-huge-title { font-size: clamp(38px, 6vw, 84px); margin-bottom: 48px; }
.cta-btn { font-size: 18px; height: 72px; padding: 0 48px; width: max-content; max-width: 100%; }

.cta-footer-marquee { margin-top: 100px; border-top: 1px solid var(--alpha-border-light); border-bottom: 1px solid var(--alpha-border-light); padding: 16px 0; overflow: hidden; }
.c-marquee-track { display: flex; white-space: nowrap; color: var(--alpha-text-muted); font-family: var(--font-primary); font-size: 14px; letter-spacing: 0.2em; animation: scrollLeft 30s linear infinite; }
.c-marquee-track span { padding-right: 40px; }

/* --- 18. FOOTER --- */
.alpha-footer { background: var(--alpha-bg); padding: 80px 0 40px; border-top: 1px solid var(--alpha-border-light); }
.alpha-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 60px; margin-bottom: 80px; }
.alpha-footer-logo { height: 32px; width: auto; margin-bottom: 24px; }
.alpha-footer-desc { color: var(--alpha-text-muted); max-width: 320px; }
.alpha-footer-title { font-family: var(--font-primary); font-size: 18px; font-weight: 600; margin-bottom: 24px; color: var(--alpha-text); }
.alpha-footer-links { display: flex; flex-direction: column; gap: 16px; }
.alpha-footer-links a { color: var(--alpha-text-muted); transition: color var(--transition-fast); }
.alpha-footer-links a:hover { color: var(--alpha-primary); }
.alpha-footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; border-top: 1px solid var(--alpha-border-light); color: var(--alpha-text-muted); font-size: 14px; padding-bottom: env(safe-area-inset-bottom); }

/* ==========================================================================
   RESPONSIVIDADE — MOBILE, TABLET E TELAS COM ALTURA REDUZIDA
   ========================================================================== */

/* Proteções estruturais compartilhadas */
.alpha-hero-grid > *,
.editorial-grid > *,
.interactive-grid > *,
.story-grid > *,
.stack-grid > *,
.alpha-footer-grid > *,
.int-service-text,
.story-info,
.story-visual,
.stack-left,
.stack-right {
  min-width: 0;
}

.alpha-btn,
.alpha-mobile-btn,
.alpha-mobile-menu__close,
.alpha-mobile-menu__item,
.s-tab-btn,
.testimonial-control {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.page-is-hidden .alpha-marquee-col,
.page-is-hidden .marquee-content,
.page-is-hidden .c-marquee-track,
.page-is-hidden .infinite-border-block::before {
  animation-play-state: paused !important;
}

/* Mobile e tablet: até 1024px */
@media (max-width: 1024px) {
  :root {
    --section-gap: clamp(72px, 10vw, 104px);
    --card-padding: clamp(20px, 4vw, 32px);
    --mobile-radius: 18px;
  }

  html {
    scroll-padding-top: calc(82px + env(safe-area-inset-top));
  }

  body {
    overflow-x: hidden;
    overflow-x: clip;
  }

  body.is-locked {
    width: 100%;
    overscroll-behavior: none;
  }

  .alpha-container {
    width: min(100% - (var(--mobile-gutter) * 2), var(--container-max));
  }

  section[id],
  div[id] {
    scroll-margin-top: calc(84px + env(safe-area-inset-top));
  }

  /* Header */
  .alpha-header,
  .alpha-header.is-scrolled {
    padding: calc(10px + env(safe-area-inset-top)) 0 10px;
  }

  .alpha-header-inner {
    min-height: 56px;
  }

  .alpha-header-nav,
  .alpha-header-cta {
    display: none;
  }

  .alpha-header-logo {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .alpha-header-logo img {
    height: clamp(28px, 5vw, 34px);
  }

  .alpha-mobile-btn {
    display: flex;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    border: 1px solid var(--alpha-border-light);
    border-radius: 50%;
    background: rgba(17, 30, 23, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  /* Drawer */
  .alpha-mobile-menu__panel {
    width: min(88vw, 420px);
    max-width: 420px;
    height: 100dvh;
    max-height: 100dvh;
    overscroll-behavior: contain;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
  }

  .alpha-mobile-menu__item,
  .alpha-mobile-menu__close,
  .alpha-mobile-menu__cta {
    min-height: 48px;
  }

  /* Grids principais */
  .alpha-hero-grid,
  .editorial-grid,
  .interactive-grid,
  .story-grid,
  .story-grid.reverse,
  .stack-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(36px, 7vw, 56px);
  }

  /* Hero */
  .alpha-hero-advanced {
    min-height: auto;
    align-items: flex-start;
    padding-top: calc(104px + env(safe-area-inset-top));
    padding-bottom: clamp(72px, 10vw, 104px);
    overflow: clip;
  }

  .hero-orbit {
    width: min(145vw, 720px);
    height: min(145vw, 720px);
    top: -12%;
    right: -52%;
    opacity: 0.65;
  }

  .hero-left-content {
    max-width: 680px;
  }

  .hero-title {
    font-size: clamp(42px, 8.2vw, 68px);
    margin: 22px 0;
    text-wrap: balance;
  }

  .hero-line {
    padding-bottom: 10px;
    margin-bottom: -10px;
  }

  .hero-desc {
    max-width: 620px;
    margin-bottom: 30px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    margin-bottom: 28px;
  }

  .hero-actions .alpha-btn {
    width: 100%;
    min-height: 54px;
  }

  .hero-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 18px;
    margin-top: 0;
    background: var(--alpha-surface-elevated);
    border: 1px solid var(--alpha-border-light);
    border-radius: var(--mobile-radius);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  }

  .hero-metric {
    min-width: 0;
  }

  .hero-right-visual {
    width: 100%;
    height: auto;
    margin-top: 4px;
    perspective: none;
  }

  .hero-mockup-group {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 2.5vw, 18px);
    width: 100%;
    transform: none;
  }

  .hero-mockup,
  .hero-mockup.is-ready,
  .hero-mock-1,
  .hero-mock-2,
  .hero-mock-3 {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
    border-radius: clamp(12px, 2.5vw, 18px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.4);
    transition: opacity 0.7s var(--ease-slow);
  }

  .hero-mock-1 {
    grid-column: 1 / -1;
  }

  .hero-mockup img {
    width: 100%;
    height: auto;
  }

  .hero-scroll-indicator {
    display: none;
  }

  /* Transição tipográfica */
  .alpha-typo-transition {
    padding: clamp(70px, 10vw, 104px) 0;
  }

  .typo-transition-inner {
    gap: clamp(30px, 6vw, 48px);
  }

  .typo-progress-line {
    left: 4px;
  }

  .typo-block {
    padding-left: clamp(24px, 5vw, 44px);
  }

  .typo-word {
    max-width: 100%;
    font-size: clamp(42px, 10.5vw, 84px);
    line-height: 0.94;
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    letter-spacing: -0.045em;
  }

  .typo-sub {
    margin-top: 10px;
    font-size: clamp(15px, 2.4vw, 18px);
  }

  /* Marquees */
  .alpha-marquee-double {
    padding: clamp(24px, 5vw, 36px) 0;
  }

  .marquee-wrapper {
    margin-bottom: 12px;
  }

  .marquee-content {
    font-size: clamp(24px, 5.8vw, 44px);
  }

  .marquee-content span {
    padding-right: 28px;
  }

  .solid-marquee .marquee-content {
    animation-duration: 52s;
  }

  .stroke-marquee .marquee-content {
    animation-duration: 62s;
  }

  /* Editorial */
  .editorial-sticky {
    position: static;
    margin-bottom: 4px;
  }

  .editorial-sticky h2 {
    text-wrap: balance;
  }

  .editorial-panel {
    padding: var(--card-padding);
    margin-bottom: 16px;
    border-radius: var(--mobile-radius);
  }

  .editorial-panel.is-active {
    transform: none;
  }

  .editorial-bg-num {
    top: -8px;
    right: 14px;
    font-size: clamp(76px, 18vw, 120px);
  }

  .editorial-line {
    width: 3px;
  }

  /* Serviços como acordeão por toque */
  .int-services-visual {
    display: none;
  }

  .interactive-header {
    margin-bottom: clamp(30px, 7vw, 52px);
  }

  .int-service-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    padding: 24px 0;
  }

  .int-service-item:focus-visible {
    outline: 2px solid var(--alpha-primary);
    outline-offset: 5px;
    border-radius: 12px;
  }

  .int-service-indicator {
    display: none;
  }

  .int-service-num {
    padding-top: 5px;
    font-size: 15px;
  }

  .int-service-text h3,
  .int-service-item.is-active .int-service-text h3 {
    padding-left: 0;
    margin-bottom: 8px;
  }

  .int-service-desc {
    height: auto;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.55s var(--ease-slow), opacity 0.3s ease, margin 0.3s ease;
  }

  .int-service-item.is-active .int-service-desc {
    height: auto;
    max-height: 900px;
    padding-left: 0;
    margin-top: 12px;
    opacity: 1;
  }

  .mobile-service-img {
    display: block;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border: 1px solid var(--alpha-border);
    border-radius: 14px;
  }

  /* Projetos */
  .story-project-sec {
    min-height: auto;
    padding: clamp(64px, 9vw, 96px) 0;
  }

  .story-grid.reverse .story-info {
    order: 1;
  }

  .story-grid.reverse .story-visual {
    order: 2;
  }

  .story-meta {
    flex-wrap: wrap;
    row-gap: 10px;
    margin-bottom: 18px;
  }

  .story-info h2 {
    margin-bottom: 18px;
    text-wrap: balance;
  }

  .story-info p {
    margin-bottom: 24px;
  }

  .story-tabs-nav {
    width: 100%;
    gap: 10px;
    margin-bottom: 24px;
    padding: 2px 2px 10px;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .s-tab-btn {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 10px 2px;
  }

  .story-visual.visual-tabs,
  .story-visual img {
    max-width: 100%;
    border-radius: var(--mobile-radius);
  }

  .story-visual.visual-tabs {
    overflow: hidden;
  }

  /* Processo: timeline vertical sem sticky */
  .alpha-stack-process {
    padding: clamp(72px, 10vw, 104px) 0 clamp(58px, 8vw, 82px);
  }

  .stack-sticky-title {
    position: static;
    margin-bottom: 2px;
  }

  .stack-sticky-title h2 {
    margin-bottom: 18px;
    text-wrap: balance;
  }

  .stack-right {
    position: relative;
    gap: 18px;
    margin: 0;
    padding-left: 24px;
    border-left: 2px solid var(--alpha-border-light);
  }

  .stack-card {
    position: relative;
    top: auto !important;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: var(--card-padding);
    border-radius: var(--mobile-radius);
    box-shadow: none;
  }

  .stack-card::before {
    content: "";
    position: absolute;
    top: 34px;
    left: -31px;
    width: 12px;
    height: 12px;
    border: 3px solid var(--alpha-bg);
    border-radius: 50%;
    background: var(--alpha-primary);
    box-shadow: 0 0 0 1px rgba(0, 209, 138, 0.35);
  }

  .s-card-top {
    margin-bottom: 14px;
  }

  .s-card-num {
    font-size: clamp(30px, 7vw, 38px);
  }

  .s-card-icon {
    width: 28px;
    height: 28px;
  }

  /* Introdução dos depoimentos */
  .alpha-pre-testimonials {
    padding: clamp(58px, 9vw, 92px) 0 28px;
  }

  .pre-testi-title {
    max-width: 760px;
    margin: 0 auto 28px;
    font-size: clamp(38px, 8.3vw, 64px);
    line-height: 1.04;
    text-wrap: balance;
  }

  .pre-testi-title span {
    display: block;
  }

  .pre-testi-line {
    height: clamp(58px, 9vw, 78px);
  }

  /* Depoimentos em carrossel touch */
  .alpha-testimonials {
    padding: 32px 0 clamp(72px, 10vw, 104px);
    overflow: hidden;
  }

  .infinite-border-block {
    margin-top: 0;
    border-radius: var(--mobile-radius);
  }

  .infinite-border-block::before {
    animation-duration: 8s;
    opacity: 0.7;
  }

  .infinite-border-inner {
    border-radius: calc(var(--mobile-radius) - 1px);
    overflow: hidden;
  }

  .alpha-testimonials-container {
    display: block;
    height: auto;
    min-height: 0;
    padding: clamp(22px, 4vw, 32px) 0;
    perspective: none;
  }

  .alpha-marquees-wrapper {
    display: block;
    width: 100%;
    transform: none;
  }

  .alpha-testimonials-carousel {
    width: 100%;
  }

  .alpha-testimonials-track {
    display: flex;
    gap: 16px;
    width: 100%;
    padding: 4px max(var(--mobile-gutter), 20px) 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: max(var(--mobile-gutter), 20px);
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
  }

  .alpha-testimonials-track::-webkit-scrollbar {
    display: none;
  }

  .alpha-testimonials-track .alpha-testimonial-card {
    flex: 0 0 min(82vw, 540px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .alpha-testimonial-card {
    min-width: 0;
    padding: clamp(20px, 4vw, 28px);
    border-radius: 18px;
  }

  .alpha-testimonial-card:hover {
    transform: none;
  }

  .alpha-testimonial-img {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
  }

  .alpha-testimonials-controls {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 12px;
    padding: 16px max(var(--mobile-gutter), 20px) 0;
  }

  .testimonial-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--alpha-border-light);
    border-radius: 50%;
    background: var(--alpha-surface-elevated);
    color: var(--alpha-text);
    cursor: pointer;
  }

  .testimonial-control:disabled {
    opacity: 0.35;
    cursor: default;
  }

  .testimonial-control svg {
    width: 20px;
    height: 20px;
  }

  .alpha-testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 7px;
    min-width: 0;
  }

  .alpha-testimonials-dot {
    position: relative;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .alpha-testimonials-dot::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.24);
    transform: translate(-50%, -50%);
    transition: width 0.25s ease, background 0.25s ease;
  }

  .alpha-testimonials-dot.is-active::before {
    width: 22px;
    background: var(--alpha-primary);
  }

  /* CTA */
  .alpha-cta-block {
    padding: clamp(76px, 11vw, 112px) 0 calc(70px + env(safe-area-inset-bottom));
  }

  .o-1 {
    width: min(96vw, 560px);
    height: min(96vw, 560px);
  }

  .o-2 {
    width: min(148vw, 820px);
    height: min(148vw, 820px);
  }

  .cta-content-box {
    max-width: 760px;
  }

  .cta-micro-labels {
    gap: 8px;
    margin-bottom: 28px;
  }

  .c-label {
    padding: 6px 10px;
    font-size: 11px;
  }

  .cta-huge-title {
    margin-bottom: 34px;
    font-size: clamp(40px, 8.5vw, 68px);
    line-height: 1.04;
    text-wrap: balance;
  }

  .cta-btn {
    width: min(100%, 520px);
    min-height: 58px;
    height: auto;
    padding: 16px 28px;
  }

  .cta-footer-marquee {
    margin-top: clamp(62px, 9vw, 88px);
  }

  /* Footer */
  .alpha-footer {
    padding: clamp(64px, 9vw, 88px) 0 calc(32px + env(safe-area-inset-bottom));
  }

  .alpha-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(150px, 0.7fr) minmax(150px, 0.7fr);
    gap: 36px;
    margin-bottom: 52px;
  }

  .alpha-footer-links a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    width: fit-content;
  }
}

/* Celulares: até 767px */
@media (max-width: 767px) {
  :root {
    --mobile-gutter: 18px;
    --section-gap: 76px;
    --card-padding: 22px;
    --mobile-radius: 16px;
    --typo-section-title: clamp(32px, 9vw, 44px);
    --typo-h3: clamp(22px, 6.3vw, 28px);
    --typo-p-large: clamp(16px, 4.5vw, 18px);
    --typo-p-base: clamp(15px, 4vw, 16px);
  }

  .alpha-header-inner {
    min-height: 52px;
  }

  .alpha-mobile-menu__panel {
    width: min(92vw, 420px);
  }

  .alpha-mobile-menu__text {
    font-size: clamp(20px, 5.5vw, 24px);
  }

  .alpha-hero-advanced {
    padding-top: calc(98px + env(safe-area-inset-top));
  }

  .hero-title {
    font-size: clamp(40px, 11vw, 58px);
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-mockup-group {
    gap: 10px;
  }

  .hero-mockup {
    border-radius: 13px;
  }

  .typo-word {
    font-size: clamp(38px, 11vw, 68px);
  }

  .marquee-content {
    font-size: clamp(23px, 7vw, 34px);
  }

  .editorial-panel {
    padding: 22px;
  }

  .story-project-sec {
    padding: 70px 0;
  }

  .story-info h2 {
    font-size: clamp(32px, 9vw, 44px);
  }

  .story-visual.visual-tabs {
    min-height: 0;
  }

  .pre-testi-title {
    font-size: clamp(36px, 10vw, 48px);
  }

  .alpha-testimonials-track .alpha-testimonial-card {
    flex-basis: min(86vw, 440px);
  }

  .alpha-footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    margin-bottom: 44px;
  }

  .alpha-footer-desc {
    max-width: 560px;
  }

  .alpha-footer-title {
    margin-bottom: 12px;
  }

  .alpha-footer-links {
    gap: 5px;
  }

  .alpha-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    text-align: left;
  }
}

/* Celulares pequenos: até 479px */
@media (max-width: 479px) {
  :root {
    --mobile-gutter: 16px;
    --section-gap: 70px;
    --card-padding: 20px;
  }

  .alpha-mobile-menu__panel {
    width: 100vw;
    max-width: none;
    border-left: 0;
  }

  .alpha-mobile-menu__header {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .alpha-mobile-menu__item {
    padding: 11px 10px;
  }

  .alpha-mobile-menu__icon {
    margin-right: 10px;
  }

  .hero-title {
    font-size: clamp(37px, 11.7vw, 48px);
    letter-spacing: -0.035em;
  }

  .hero-desc {
    margin-bottom: 26px;
  }

  .hero-actions .alpha-btn {
    min-height: 52px;
    padding-inline: 18px;
  }

  .hero-metrics {
    padding: 14px;
    gap: 9px;
  }

  .hero-metric strong {
    font-size: 15px;
  }

  .hero-metric span {
    font-size: 12px;
    line-height: 1.35;
  }

  .hero-mockup-group {
    gap: 8px;
  }

  .typo-progress-line {
    left: 2px;
  }

  .typo-block {
    padding-left: 22px;
  }

  .typo-word {
    font-size: clamp(32px, 10.7vw, 47px);
    letter-spacing: -0.05em;
  }

  .typo-sub {
    font-size: 15px;
  }

  .interactive-header h2,
  .stack-sticky-title h2 {
    font-size: clamp(31px, 9vw, 40px);
  }

  .int-service-item {
    gap: 12px;
    padding: 22px 0;
  }

  .story-meta .alpha-badge {
    max-width: 100%;
    white-space: normal;
    text-align: left;
  }

  .story-tabs-nav {
    margin-right: calc(var(--mobile-gutter) * -1);
    padding-right: var(--mobile-gutter);
  }

  .s-tab-btn {
    font-size: 15px;
  }

  .stack-right {
    padding-left: 20px;
  }

  .stack-card::before {
    left: -27px;
  }

  .pre-testi-title {
    font-size: clamp(34px, 10.5vw, 44px);
  }

  .alpha-testimonials-track {
    gap: 12px;
    padding-inline: 16px;
    scroll-padding-inline: 16px;
  }

  .alpha-testimonials-track .alpha-testimonial-card {
    flex-basis: calc(100vw - 54px);
  }

  .alpha-testimonials-controls {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    padding-inline: 16px;
  }

  .testimonial-control {
    width: 44px;
    height: 44px;
  }

  .alpha-testimonial-header {
    gap: 12px;
  }

  .alpha-testimonial-img {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .cta-huge-title {
    font-size: clamp(36px, 10.7vw, 48px);
  }

  .cta-btn {
    width: 100%;
    font-size: 16px;
  }

  .c-label {
    letter-spacing: 0.06em;
  }

  .alpha-footer-logo {
    height: 30px;
  }
}

/* Aparelhos muito estreitos: até 359px */
@media (max-width: 359px) {
  :root {
    --mobile-gutter: 14px;
    --card-padding: 18px;
  }

  .alpha-mobile-btn {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .alpha-mobile-menu__panel {
    padding-inline: 14px;
  }

  .alpha-mobile-menu__num {
    width: 20px;
  }

  .alpha-mobile-menu__icon {
    width: 30px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .typo-word {
    font-size: 31px;
  }

  .story-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .alpha-testimonials-track .alpha-testimonial-card {
    flex-basis: calc(100vw - 44px);
  }

  .alpha-testimonials-dots {
    gap: 5px;
  }

}

/* Tablets: 768px até 1024px */
@media (min-width: 768px) and (max-width: 1024px) {
  :root {
    --mobile-gutter: 32px;
    --section-gap: 96px;
  }

  .alpha-mobile-menu__panel {
    width: min(62vw, 420px);
  }

  .hero-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 620px;
  }

  .hero-metrics {
    max-width: 620px;
  }

  .hero-mockup-group {
    max-width: 820px;
    margin-inline: auto;
    gap: 18px;
  }

  .interactive-grid {
    max-width: 820px;
  }

  .int-service-item {
    padding: 28px 0;
  }

  .story-grid,
  .story-grid.reverse {
    gap: 48px;
  }

  .alpha-testimonials-track .alpha-testimonial-card {
    flex-basis: calc((100% - 48px) / 2);
  }

  .alpha-footer-grid {
    grid-template-columns: minmax(0, 1fr) repeat(2, minmax(160px, 0.55fr));
  }
}

/* Tablets largos: composição intermediária da Hero */
@media (min-width: 900px) and (max-width: 1024px) {
  .alpha-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
    align-items: center;
    gap: 42px;
  }

  .hero-title {
    font-size: clamp(48px, 5.7vw, 60px);
  }

  .hero-actions {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-right-visual {
    margin-top: 0;
  }

  .hero-mockup-group {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .hero-mock-1,
  .hero-mock-2,
  .hero-mock-3 {
    grid-column: auto;
  }

  .hero-mock-3,
  .hero-mock-2 {
    display: none;
  }
}

/* Paisagem e telas com pouca altura */
@media (max-width: 1024px) and (max-height: 620px) and (orientation: landscape) {
  .alpha-header,
  .alpha-header.is-scrolled {
    padding-top: calc(6px + env(safe-area-inset-top));
    padding-bottom: 6px;
  }

  .alpha-header-inner {
    min-height: 48px;
  }

  .alpha-mobile-menu__panel {
    padding-top: calc(12px + env(safe-area-inset-top));
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }

  .alpha-mobile-menu__header {
    margin-bottom: 10px;
    padding-bottom: 10px;
  }

  .alpha-mobile-menu__label {
    margin-bottom: 8px;
  }

  .alpha-mobile-menu__nav {
    gap: 2px;
  }

  .alpha-mobile-menu__item {
    min-height: 40px;
    padding-block: 6px;
  }

  .alpha-mobile-menu__text {
    font-size: 17px;
  }

  .alpha-mobile-menu__footer {
    gap: 10px;
  }

  .alpha-mobile-menu__cta {
    min-height: 44px;
    height: 44px;
  }

  .alpha-hero-advanced {
    padding-top: calc(82px + env(safe-area-inset-top));
  }
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* Mantido inativo: os efeitos devem permanecer ativos para todos os visitantes. */
@media not all {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .alpha-reveal-fade, .alpha-reveal-mask, .alpha-reveal-scale, .hero-word {
    opacity: 1; transform: none; clip-path: inset(0 0 0 0);
  }
  .hero-mockup { opacity: 1; transform: none; }
  /* Garante que o texto da Typo Transition seja visível */
  .typo-word {
    color: rgba(255,255,255,0.8) !important;
    -webkit-text-stroke: 0 !important;
  }
  .typo-word::after {
    clip-path: inset(0 0 0 0) !important;
  }
  .typo-sub { opacity: 1 !important; }
}
