/* ============================================
   ROOT TOKENS (from design system)
============================================ */
@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
:root {
  --bg: #050510;
  --bg-alt: #080814;
  --bg-card: rgba(255,255,255,0.04);
  --surface: rgba(255,255,255,0.04);
  --surface-2: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.06);
  --border-2: rgba(255,255,255,0.10);
  --text: #e8edf3;
  --text-2: #94a3b8;
  --text-3: #4b5e78;
  --blue: #2563eb;
  --blue-light: #3b82f6;
  --cyan: #0ea5e9;
  --cyan-light: #38bdf8;
  --sky: #7dd3fc;
  --grad-text: linear-gradient(135deg, #38bdf8 0%, #3b82f6 50%, #60a5fa 100%);
  --grad-border: linear-gradient(135deg, rgba(37,99,235,0.4), rgba(14,165,233,0.15), transparent 70%);
  --grad-cta: linear-gradient(135deg, #0ea5e9, #2563eb);
  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
}

/* ============================================
   RESET & BASE (from design system)
============================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
}
::selection { background: rgba(59,130,246,0.3); color: #fff; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 4px; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; cursor: pointer; background: none; color: inherit; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; font-weight: 200; line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }

/* Noise overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--noise);
  opacity: 0.03;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
}

/* ============================================
   TYPOGRAPHY HELPERS (from design system)
============================================ */
.text-gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   PROGRESSIVE BLUR (from design system)
============================================ */
.gradient-blur {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto 0;
  height: 12%;
  pointer-events: none;
}
.gradient-blur>div,
.gradient-blur::before,
.gradient-blur::after { position: absolute; inset: 0; }
.gradient-blur::before { content: ""; z-index: 1; backdrop-filter: blur(0.5px); mask: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 12.5%, rgba(0,0,0,1) 25%, rgba(0,0,0,0) 37.5%); }
.gradient-blur>div:nth-of-type(1) { z-index: 2; backdrop-filter: blur(1px); mask: linear-gradient(to top, rgba(0,0,0,0) 12.5%, rgba(0,0,0,1) 25%, rgba(0,0,0,1) 37.5%, rgba(0,0,0,0) 50%); }
.gradient-blur>div:nth-of-type(2) { z-index: 3; backdrop-filter: blur(2px); mask: linear-gradient(to top, rgba(0,0,0,0) 25%, rgba(0,0,0,1) 37.5%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 62.5%); }
.gradient-blur>div:nth-of-type(3) { z-index: 4; backdrop-filter: blur(4px); mask: linear-gradient(to top, rgba(0,0,0,0) 37.5%, rgba(0,0,0,1) 50%, rgba(0,0,0,1) 62.5%, rgba(0,0,0,0) 75%); }
.gradient-blur>div:nth-of-type(4) { z-index: 5; backdrop-filter: blur(8px); mask: linear-gradient(to top, rgba(0,0,0,0) 50%, rgba(0,0,0,1) 62.5%, rgba(0,0,0,1) 75%, rgba(0,0,0,0) 87.5%); }
.gradient-blur>div:nth-of-type(5) { z-index: 6; backdrop-filter: blur(16px); mask: linear-gradient(to top, rgba(0,0,0,0) 62.5%, rgba(0,0,0,1) 75%, rgba(0,0,0,1) 87.5%, rgba(0,0,0,0) 100%); }
.gradient-blur>div:nth-of-type(6) { z-index: 7; backdrop-filter: blur(32px); mask: linear-gradient(to top, rgba(0,0,0,0) 75%, rgba(0,0,0,1) 87.5%, rgba(0,0,0,1) 100%); }
.gradient-blur::after { content: ""; z-index: 8; backdrop-filter: blur(64px); mask: linear-gradient(to top, rgba(0,0,0,0) 87.5%, rgba(0,0,0,1) 100%); }

/* ============================================
   NAVBAR (from design system — exact copy)
============================================ */
.nav-floating {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(5,5,16,0.6);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 9999px;
  padding: 8px 8px 8px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}
.nav-floating.is-scrolled {
  background: rgba(5,5,16,0.85);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.nav-floating__logo {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-right: 16px;
}
.nav-floating__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-floating__links a {
  font-size: 0.78rem;
  color: var(--text-2);
  transition: all 0.2s;
  font-weight: 400;
  padding: 6px 12px;
  border-radius: 9999px;
  position: relative;
}
.nav-floating__links a:hover {
  color: var(--text);
  background: rgba(255,255,255,0.06);
}
.nav-floating__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 0 16px rgba(14,165,233,0.3);
  animation: nav-btn-glow 3s ease-in-out infinite;
}
@keyframes nav-btn-glow {
  0%, 100% { box-shadow: 0 0 16px rgba(14,165,233,0.3); }
  50% { box-shadow: 0 0 28px rgba(14,165,233,0.5), 0 0 8px rgba(56,189,248,0.2); }
}
.nav-floating__cta:hover {
  box-shadow: 0 0 36px rgba(14,165,233,0.5);
  transform: translateY(-1px);
}

/* ============================================
   BUBBLE BUTTON (from design system — exact copy)
============================================ */
@keyframes conic-spin { to { --angle: 360deg; } }

.btn-bubble {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(37,99,235,0.25));
  border: 1px solid rgba(56,189,248,0.2);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  z-index: 1;
}
.btn-bubble::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 1.5px;
  background: conic-gradient(from var(--angle), transparent 20%, var(--cyan-light) 40%, var(--blue) 55%, transparent 80%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: conic-spin 3s linear infinite;
  z-index: -1;
}
.btn-bubble .bubble-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 50px;
  pointer-events: none;
}
.btn-bubble .bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(56,189,248,0.6), rgba(37,99,235,0.2));
  filter: blur(1px);
  animation: bubbleFloat 3s ease-in infinite;
  opacity: 0;
}
@keyframes bubbleFloat {
  0% { transform: translateY(100%) scale(0); opacity: 0; }
  20% { opacity: 0.8; }
  80% { opacity: 0.3; }
  100% { transform: translateY(-120%) scale(1.2); opacity: 0; }
}
.btn-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 48px rgba(14,165,233,0.3), 0 0 96px rgba(37,99,235,0.15);
  background: linear-gradient(135deg, rgba(14,165,233,0.25), rgba(37,99,235,0.35));
}
.btn-bubble .btn-shimmer {
  position: absolute;
  inset: 0;
  border-radius: 50px;
  overflow: hidden;
  pointer-events: none;
}
.btn-bubble .btn-shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  animation: shimmer-sweep 3s ease-in-out infinite;
}
@keyframes shimmer-sweep {
  0% { left: -100%; }
  50% { left: 120%; }
  100% { left: 120%; }
}

/* ============================================
   WAVE BUTTON (from design system — exact copy)
============================================ */
.btn-wave {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  overflow: visible;
  transition: all 0.4s cubic-bezier(0.16,1,0.3,1);
  backdrop-filter: blur(20px);
}
.btn-wave::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 54px;
  background: conic-gradient(from var(--angle), transparent 30%, var(--cyan) 48%, var(--blue) 52%, transparent 70%);
  animation: conic-spin 4s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  filter: blur(8px);
}
.btn-wave:hover::after { opacity: 1; }
.btn-wave:hover {
  border-color: rgba(56,189,248,0.3);
  background: rgba(14,165,233,0.06);
  box-shadow: 0 0 32px rgba(14,165,233,0.12), inset 0 0 12px rgba(14,165,233,0.04);
  transform: translateY(-2px);
}
.btn-wave .wave-ring {
  position: absolute;
  inset: -20px;
  border-radius: 70px;
  border: 1px solid rgba(56,189,248,0.15);
  opacity: 0;
  animation: waveExpand 2.5s ease-out infinite;
  pointer-events: none;
}
.btn-wave .wave-ring:nth-child(2) { animation-delay: 0.8s; }
.btn-wave .wave-ring:nth-child(3) { animation-delay: 1.6s; }
@keyframes waveExpand {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}
.btn-wave:hover .wave-ring { opacity: 1; }

/* ============================================
   ANIMATED BACKGROUND ORBS (from design system)
============================================ */
@keyframes orbFloat1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -50px) scale(1.1); }
  50% { transform: translate(-20px, -80px) scale(0.9); }
  75% { transform: translate(40px, -30px) scale(1.05); }
}
@keyframes orbFloat2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(-40px, 30px) scale(1.15); }
  66% { transform: translate(20px, -40px) scale(0.85); }
}
@keyframes orbFloat3 {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(60px, -60px); }
}
.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  will-change: transform;
}
.bg-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.15), transparent 70%);
  animation: orbFloat1 15s ease-in-out infinite;
}
.bg-orb-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(14,165,233,0.12), transparent 70%);
  animation: orbFloat2 12s ease-in-out infinite;
}
.bg-orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(99,102,241,0.1), transparent 70%);
  animation: orbFloat3 18s ease-in-out infinite;
}

/* ============================================
   FLOATING PARTICLES (from design system)
============================================ */
@keyframes floatParticle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0.3; }
  25% { transform: translateY(-20px) translateX(10px); opacity: 0.6; }
  50% { transform: translateY(-40px) translateX(-5px); opacity: 0.4; }
  75% { transform: translateY(-20px) translateX(15px); opacity: 0.5; }
}
.hero-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(56,189,248,0.5);
  border-radius: 50%;
  pointer-events: none;
  animation: floatParticle var(--duration, 8s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
}

/* ============================================
   PING / PULSE (from design system)
============================================ */
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
.animate-ping { animation: ping 1s cubic-bezier(0,0,0.2,1) infinite; }

/* ============================================
   HERO — LAYOUT
============================================ */
.hero-section {
  position: relative;
  height: 100svh;
  max-height: 100vh;
  overflow: hidden;
  background: #030308;
}

/* Three.js canvas — full hero, behind text */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

/* Nebula glow — soft ambient light behind particles */
.hero-sphere-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37,99,235,0.12) 0%, rgba(14,165,233,0.06) 35%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 4;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
}

/* Text layer — sits on top of the sphere */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  height: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ============================================
   HERO — TEXT (left-aligned)
============================================ */
.hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 9999px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  margin-bottom: 28px;
}

.hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4.5rem);
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 12px;
}

.hero-title .second-line {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
}

.hero-description {
  color: var(--text-2);
  font-size: 1rem;
  max-width: 420px;
  line-height: 1.65;
  font-weight: 300;
  margin-bottom: 36px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* ============================================
   HERO — BACKGROUND ELEMENTS
============================================ */
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.02) 1px, transparent 1px),
              linear-gradient(to bottom, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

/* ============================================
   SCROLL INDICATOR
============================================ */
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 0.3; }
  50% { transform: translateY(8px); opacity: 0.7; }
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
  .hero-content {
    padding: 0 24px;
    align-items: center;
    justify-content: center;
  }
  .hero-left {
    align-items: center;
    text-align: center;
    max-width: 100%;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn-bubble,
  .hero-buttons .btn-wave {
    width: 100%;
  }
  .hero-sphere-glow {
    width: 400px;
    height: 400px;
    left: 50%;
    filter: blur(60px);
  }
  .nav-floating__links {
    display: none;
  }
  .nav-floating__cta {
    display: none;
  }
  .nav-mobile-toggle {
    display: flex !important;
  }
  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* ============================================
   SECTION 02 — PARA QUEM É
   (Based on "Built for Scale" reference)
============================================ */
.section-pq {
  position: relative;
  background: var(--bg);
  padding: 120px 0 100px;
  overflow: hidden;
  contain: layout style;
}

/* Layout: 12-col grid, left 6 sticky preview + right 6 list */
.pq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* ── LEFT: Preview Panel (sticky) ── */
.pq-preview {
  position: sticky;
  top: 96px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  overflow: hidden;
  box-shadow: 0 0 70px rgba(0,0,0,0.5);
}

/* Top rail */
.pq-preview-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(16px);
}
.pq-preview-rail .live-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(74,222,128,0.8);
  box-shadow: 0 0 12px rgba(74,222,128,0.35);
}

/* Image area */
.pq-preview-img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.pq-preview-img-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.75;
}
.pq-preview-img-wrap .img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, black, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.4));
  pointer-events: none;
}

/* Lens effect */
.pq-lens {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
}
.pq-lens img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.12) saturate(1.1) brightness(1.05);
}
.pq-lens-ring {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 0 50px rgba(59,130,246,0.10) inset;
  pointer-events: none;
}

/* Bottom info */
.pq-preview-info {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 24px 28px;
  z-index: 10;
}

/* Mini stats */
.pq-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.pq-stat {
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  padding: 10px 12px;
}

/* Bottom glow */
.pq-preview-bottom-glow {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  pointer-events: none;
}

/* ── RIGHT: Case items ── */
.pq-list-wrap {
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(16px);
  overflow: hidden;
}
.pq-list-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.pq-case-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 28px 24px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.25s ease;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pq-case-item:last-child { border-bottom: none; }
.pq-case-item:hover { background: rgba(255,255,255,0.03); }
.pq-case-item.is-active { background: rgba(255,255,255,0.04); }

.pq-case-item .case-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pq-case-item .case-connector {
  width: 1px; height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.08), transparent);
  margin-top: 6px;
}

/* Arrow button */
.pq-case-item .case-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.4);
  transition: all 0.25s;
  flex-shrink: 0;
}
.pq-case-item:hover .case-arrow {
  color: #fff;
  border-color: rgba(255,255,255,0.15);
}

/* Signal badges */
.pq-signal-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.3);
  padding: 3px 8px;
  border-radius: 9999px;
  white-space: nowrap;
}

/* Specular */
@keyframes specular {
  0%   { transform: translateX(-150%) skewX(-20deg); }
  15%  { transform: translateX(150%)  skewX(-20deg); }
  100% { transform: translateX(150%)  skewX(-20deg); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .section-pq { padding: 80px 0 60px; }

  /* Stack columns vertically — list first, then preview */
  .pq-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Preview card — no sticky, full width */
  .pq-preview {
    position: relative;
    top: 0;
    border-radius: 20px;
  }

  /* Rail — smaller padding */
  .pq-preview-rail {
    padding: 0 16px;
    height: 42px;
  }
  .pq-preview-rail .live-dot {
    width: 6px; height: 6px;
  }

  /* Image — shorter aspect ratio on mobile */
  .pq-preview-img-wrap {
    aspect-ratio: 4/3;
  }

  /* Hide lens on mobile (no hover) */
  .pq-lens,
  .pq-lens-ring {
    display: none;
  }

  /* Bottom info — tighter padding */
  .pq-preview-info {
    padding: 16px 18px;
  }
  .pq-preview-info h3 {
    font-size: 1.25rem;
  }
  .pq-preview-info p {
    font-size: 0.8rem;
    margin-top: 6px;
  }

  /* Hide metric badge and hover hint on mobile */
  .pq-preview-info .hidden.md\:flex {
    display: none !important;
  }

  /* Stats — stack vertically, smaller */
  .pq-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 14px;
    padding-top: 12px;
  }
  .pq-stat {
    padding: 8px 10px;
    border-radius: 10px;
  }
  .pq-stat .text-sm {
    font-size: 0.8rem;
  }

  /* List wrapper — smaller radius & padding */
  .pq-list-wrap {
    border-radius: 20px;
  }
  .pq-list-rail {
    padding: 0 16px;
    height: 42px;
  }

  /* Case items — compact */
  .pq-case-item {
    padding: 20px 16px;
  }
  .pq-case-item h3 {
    font-size: 0.95rem;
  }
  .pq-case-item p {
    font-size: 0.78rem;
    margin-top: 4px;
  }

  /* Hide arrow on mobile */
  .pq-case-item .case-arrow {
    display: none;
  }

  /* Signal badges — wrap tighter */
  .pq-signal-badge {
    font-size: 0.5rem;
    padding: 2px 6px;
  }

  /* Dot + connector smaller */
  .pq-case-item .case-dot {
    width: 7px; height: 7px;
  }
  .pq-case-item .case-connector {
    height: 24px;
  }
}

/* ============================================
   SECTION 03 — SERVICOS + PROJETOS
============================================ */
.section-servicos {
  position: relative;
  background: var(--bg);
  padding: 140px 0 120px;
  overflow: hidden;
  contain: layout style;
}

/* Giant editorial number (watermark) */
.sv-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Outfit', sans-serif;
  font-size: clamp(20rem, 40vw, 45rem);
  font-weight: 800;
  color: rgba(255,255,255,0.015);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.6s ease;
  user-select: none;
}

/* 12-col grid */
.sv-grid {
  display: grid;
  grid-template-columns: 3fr 6fr 3fr;
  gap: 32px;
  align-items: start;
  position: relative;
  z-index: 1;
  min-height: 520px;
}

/* ── LEFT: Navigation Rail ── */
.sv-rail {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding-top: 24px;
}

/* Beam indicator */
.sv-beam {
  position: absolute;
  left: 0;
  width: 2px;
  height: 48px;
  border-radius: 9999px;
  background: var(--blue-light);
  box-shadow: 0 0 20px rgba(59,130,246,0.6);
  transition: top 0.6s cubic-bezier(0.34,1.56,0.64,1);
  z-index: 0;
}

.sv-node {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 8px 0;
  cursor: pointer;
  transition: all 0.3s;
}
.sv-node .node-dot {
  display: none;
}
.sv-node:hover .node-dot { background: rgba(255,255,255,0.5); }
.sv-node.is-active .node-dot {
  background: var(--blue-light);
  box-shadow: 0 0 10px var(--blue-light);
}
.sv-node .node-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  transition: color 0.3s;
}
.sv-node.is-active .node-number { color: var(--blue-light); }
.sv-node .node-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s;
}
.sv-node.is-active .node-label { color: #fff; }
.sv-node:hover .node-label { color: var(--cyan-light); }
.sv-node .node-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  margin-top: 2px;
}
.sv-node.is-active .node-sub { color: var(--text-3); }

/* ── CENTER: Service Card ── */
.sv-card {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.sv-card .sv-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.sv-card .sv-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.4s, transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.sv-card:hover .sv-card-img img {
  opacity: 0.85;
  transform: scale(1.03);
}
.sv-card .sv-card-img .img-fade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg), rgba(5,5,16,0.2) 50%, rgba(5,5,16,0.5));
  pointer-events: none;
}
.sv-card .sv-card-body {
  padding: 28px 32px 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Specular on card */
.sv-card .sv-specular {
  position: absolute; inset: 0;
  transform: translateX(-150%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  pointer-events: none;
  animation: specular 6s ease-in-out infinite;
  z-index: 2;
}

/* Service badge */
.sv-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(59,130,246,0.3);
  background: rgba(59,130,246,0.1);
  color: var(--cyan-light);
  margin-bottom: 16px;
  width: fit-content;
}
.sv-badge.coming-soon {
  border-color: rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text-3);
}

/* Card in "coming soon" state */
.sv-card.is-soon { opacity: 0.6; }
.sv-card.is-soon .sv-card-img img { filter: grayscale(0.4); }

/* Card in "coming soon" — CTA disabled state handled via JS on wrapper */

/* ── RIGHT: Includes Stack ── */
.sv-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sv-stack-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  backdrop-filter: blur(4px);
  font-size: 0.82rem;
  color: var(--text-2);
  transition: all 0.25s;
}
.sv-stack-chip:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  transform: translateX(4px);
}
.sv-stack-chip .chip-glow {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 6px rgba(59,130,246,0.4);
  flex-shrink: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .section-servicos { padding: 80px 0 60px; }
  .sv-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sv-rail {
    flex-direction: row;
    gap: 0;
    justify-content: space-between;
    padding: 0;
  }
  .sv-beam { display: none; }
  .sv-node { padding: 12px 16px; }
  .sv-node .node-number { font-size: 1.2rem; }
  .sv-watermark { font-size: 8rem; }
}

/* ============================================
   MOBILE MENU — Fullscreen Glassmorphism
============================================ */

/* Hamburger toggle button */
.nav-mobile-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  cursor: pointer;
  transition: all 0.3s;
  flex-shrink: 0;
}
.nav-mobile-toggle:hover {
  background: rgba(255,255,255,0.10);
}
.nav-mobile-toggle .bar-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 16px;
}
.nav-mobile-toggle .bar {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.35s cubic-bezier(0.16,1,0.3,1);
  transform-origin: center;
}

/* Bars animate to X when menu is open */
.nav-mobile-toggle.is-open .bar:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-mobile-toggle.is-open .bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-mobile-toggle.is-open .bar:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* Fullscreen overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5,5,16,0.85);
  backdrop-filter: blur(40px) saturate(140%);
  -webkit-backdrop-filter: blur(40px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  flex-direction: column;
  padding: 100px 32px 48px;
}
.mobile-menu-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Top decorative line */
.mobile-menu-overlay::before {
  content: '';
  position: absolute;
  top: 80px;
  left: 32px;
  right: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

/* Navigation label */
.mobile-menu-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  margin-bottom: 40px;
}

/* Links list */
.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.mobile-menu-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  text-decoration: none;
  transition: all 0.3s;
  opacity: 0;
  transform: translateY(20px);
}
.mobile-menu-overlay.is-open .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered entrance */
.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(2) { transition-delay: 0.14s; }
.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(3) { transition-delay: 0.20s; }
.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(4) { transition-delay: 0.26s; }
.mobile-menu-overlay.is-open .mobile-menu-link:nth-child(5) { transition-delay: 0.32s; }

/* Close resets delay so they fade out together */
.mobile-menu-link {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.mobile-menu-link .link-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255,255,255,0.15);
  min-width: 24px;
}
.mobile-menu-link .link-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.mobile-menu-link:hover .link-text,
.mobile-menu-link:active .link-text {
  color: #fff;
}
.mobile-menu-link:hover .link-num {
  color: var(--blue-light);
}

/* Bottom CTA inside menu */
.mobile-menu-bottom {
  margin-top: auto;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease 0.35s, transform 0.3s ease 0.35s;
}
.mobile-menu-overlay.is-open .mobile-menu-bottom {
  opacity: 1;
  transform: translateY(0);
}

/* Dot pulse in menu */
.mobile-menu-link .link-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
  transition: all 0.3s;
}
.mobile-menu-link:hover .link-dot {
  background: var(--blue-light);
  box-shadow: 0 0 8px rgba(59,130,246,0.4);
}

/* ============================================
   SECTION 04 — COMO TRABALHAMOS (Timeline)
============================================ */
.section-timeline {
  position: relative;
  background: var(--bg);
  padding: 140px 0 120px;
  overflow: hidden;
  contain: layout style;
}

/* Timeline wrapper */
.tl-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

/* Spine — solid vertical line */
.tl-spine {
  position: absolute;
  left: 27px;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent);
  z-index: 4;
}
/* Animated fill on top of spine — height driven by ScrollTrigger */
.tl-spine-fill {
  position: absolute;
  left: 27px;
  top: 0;
  width: 1px;
  height: 0;
  background: linear-gradient(to bottom, var(--blue-light), var(--cyan));
  opacity: 0.7;
  z-index: 4;
}
/* SVG smoke/mist overlay — pure CSS animated, zero JS per frame */
.tl-smoke-svg {
  position: absolute;
  left: 0; top: 0;
  width: 80px;
  height: 100%;
  pointer-events: none;
  z-index: 5;
  overflow: visible;
}
.tl-smoke-svg .smoke-wisp {
  fill: none;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.6s;
}
.tl-smoke-svg.is-visible .smoke-wisp {
  opacity: 1;
  animation: smokeWisp var(--dur, 8s) ease-in-out infinite alternate;
}
@keyframes smokeWisp {
  0%   { stroke-dashoffset: 0; opacity: 0.15; }
  50%  { stroke-dashoffset: 40; opacity: 0.35; }
  100% { stroke-dashoffset: 80; opacity: 0.15; }
}
/* Active state — wisps glow blue */
.tl-smoke-svg .smoke-wisp.is-lit {
  stroke: rgba(59,130,246,0.25);
  filter: blur(1.5px);
}
.tl-smoke-svg .smoke-wisp.is-dim {
  stroke: rgba(255,255,255,0.06);
  filter: blur(2px);
}

/* Step row */
.tl-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(24px) translateX(20px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  will-change: transform, opacity;
}
.tl-step.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* Circle chip */
.tl-chip {
  position: relative;
  z-index: 10;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(15,15,25,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  flex-shrink: 0;
  transition: all 0.5s cubic-bezier(0.16,1,0.3,1);
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

/* Active circle — blue */
.tl-step.is-active .tl-chip {
  background: var(--blue-light);
  color: #fff;
  border-color: rgba(59,130,246,0.5);
  transform: scale(1.1);
  box-shadow: 0 0 40px rgba(59,130,246,0.25), 0 0 80px rgba(59,130,246,0.1);
}

/* Hover on card lights up its chip blue */
.tl-step.is-hovered .tl-chip {
  background: var(--blue);
  color: #fff;
  border-color: rgba(59,130,246,0.4);
  transform: scale(1.08);
  box-shadow: 0 0 32px rgba(59,130,246,0.2);
}

/* Glow ring behind active/hovered chip */
.tl-chip::after {
  content: '';
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59,130,246,0.12), transparent 65%);
  filter: blur(6px);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.tl-step.is-active .tl-chip::after,
.tl-step.is-hovered .tl-chip::after {
  opacity: 1;
}

/* Card */
.tl-card {
  flex: 1;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), border-color 0.35s, box-shadow 0.35s;
  cursor: default;
}
.tl-card:hover {
  transform: translateY(-3px);
  border-color: rgba(59,130,246,0.2);
  box-shadow: 0 24px 70px rgba(0,0,0,0.5), 0 0 40px rgba(59,130,246,0.06);
}

/* Card header */
.tl-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}
.tl-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}
.tl-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.4s 0.15s, transform 0.4s 0.15s;
}
.tl-step.is-visible .tl-card-label {
  opacity: 1;
  transform: translateX(0);
}

.tl-card-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  line-height: 1.6;
  font-weight: 300;
}

/* Progress bar bottom */
.tl-progress {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}
.tl-progress-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 6px rgba(59,130,246,0.4);
  flex-shrink: 0;
}
.tl-progress-track {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}
.tl-progress-fill {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--blue-light), var(--cyan));
  border-radius: 1px;
  transition: width 1.5s cubic-bezier(0.16,1,0.3,1);
}
.tl-step.is-visible .tl-progress-fill {
  width: 100%;
}
.tl-progress-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  white-space: nowrap;
}

/* Connector line between chips lights up on hover */
.tl-step.is-hovered ~ .tl-step:first-of-type {
  /* handled via JS */
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .section-timeline { padding: 80px 0 60px; }
  .tl-spine, .tl-spine-fill { left: 19px; }
  .tl-smoke-svg { display: none; } /* too small on mobile, spine is enough */
  .tl-step { gap: 16px; }
  .tl-chip {
    width: 40px; height: 40px;
    font-size: 0.7rem;
  }
  .tl-card {
    padding: 20px;
    border-radius: 16px;
  }
  .tl-card-title { font-size: 1rem; }
  .tl-card-desc { font-size: 0.8rem; }
  .tl-card-header { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* ============================================
   SECTION 06 — DEPOIMENTOS (3D Carousel)
============================================ */
.section-depo {
  position: relative;
  background: var(--bg);
  padding: 140px 0 120px;
  overflow: hidden;
  contain: layout style;
}

/* Carousel viewport — wide enough to show lateral cards */
.depo-carousel {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  height: 420px;
  perspective: 1000px;
  touch-action: pan-y;
  cursor: grab;
  display: flex;
  justify-content: center;
  align-items: center;
}
.depo-carousel:active { cursor: grabbing; }

/* Individual card */
.depo-card {
  position: absolute;
  width: 480px;
  height: 380px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.02));
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  transition: transform 0.7s cubic-bezier(0.16,1,0.3,1),
              opacity 0.7s cubic-bezier(0.16,1,0.3,1),
              box-shadow 0.7s ease;
  will-change: transform, opacity;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  user-select: none;
}

/* Conic glow border on active card */
.depo-card.is-active {
  box-shadow: 0 20px 80px rgba(0,0,0,0.5), 0 0 60px rgba(59,130,246,0.08);
}
.depo-card.is-active::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 25px;
  padding: 1.5px;
  background: conic-gradient(from var(--angle), transparent 25%, var(--cyan-light) 42%, var(--blue) 55%, transparent 75%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: conic-spin 4s linear infinite;
  pointer-events: none;
  z-index: -1;
}

/* Hover intensifies glow */
.depo-card.is-active:hover {
  box-shadow: 0 24px 90px rgba(0,0,0,0.5), 0 0 80px rgba(59,130,246,0.12);
}

/* Quote mark */
.depo-quote {
  font-family: 'Outfit', sans-serif;
  font-size: 4rem;
  font-weight: 200;
  line-height: 1;
  color: var(--blue-light);
  opacity: 0.3;
  margin-bottom: 8px;
  transition: opacity 0.5s, transform 0.5s;
}
.depo-card.is-active .depo-quote {
  opacity: 0.5;
}

/* Testimonial text */
.depo-text {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.85);
  flex: 1;
}

/* Separator */
.depo-sep {
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue-light), transparent);
  margin: 20px 0 16px;
  opacity: 0.5;
}

/* Author */
.depo-author {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* Navigation */
.depo-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
}
.depo-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}
.depo-arrow:hover {
  color: #fff;
  border-color: rgba(59,130,246,0.3);
  background: rgba(59,130,246,0.08);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(59,130,246,0.12);
}

/* Dots */
.depo-dots {
  display: flex;
  gap: 8px;
}
.depo-dot {
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255,255,255,0.1);
  transition: all 0.4s;
  cursor: pointer;
}
.depo-dot.is-active {
  background: var(--blue-light);
  width: 32px;
  box-shadow: 0 0 8px rgba(59,130,246,0.3);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .section-depo { padding: 80px 0 60px; }
  .depo-carousel {
    max-width: 100vw;
    height: 360px;
    overflow: hidden;
  }
  .depo-card {
    width: 85vw;
    max-width: 360px;
    height: 340px;
    padding: 28px 24px;
    border-radius: 20px;
  }
  .depo-text { font-size: 0.92rem; }
  .depo-quote { font-size: 3rem; }
  .depo-nav { margin-top: 32px; gap: 16px; }
  .depo-arrow { width: 36px; height: 36px; }
}

/* ============================================
   SECTION 07 — FUNDADORES (Constellation)
============================================ */
.section-founders {
  position: relative;
  background: var(--bg);
  padding: 140px 0 120px;
  overflow: hidden;
  contain: layout style;
}

/* Orbit field */
.fn-field {
  position: relative;
  width: 100%;
  max-width: 1100px;
  height: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Central spotlight card */
.fn-panel {
  position: relative;
  width: 90%;
  max-width: 420px;
  background: rgba(15,15,25,0.5);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 32px 36px;
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
  z-index: 40;
  transition: all 0.5s;
}
.fn-panel:hover { border-color: rgba(255,255,255,0.15); }

/* Panel anchors for SVG lines */
.fn-anchor {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
  box-shadow: 0 0 10px var(--blue-light);
}
.fn-anchor-left { left: -3px; }
.fn-anchor-right { right: -3px; }

/* SVG connection layer */
.fn-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
}

/* Avatar buttons */
.fn-avatar {
  position: absolute;
  z-index: 30;
  cursor: pointer;
  transition: all 0.3s;
  background: none;
  border: none;
  padding: 0;
}
.fn-avatar-ring {
  width: 48px; height: 48px;
  border-radius: 50%;
  padding: 2px;
  border: 2px solid rgba(255,255,255,0.15);
  background: rgba(15,15,25,0.8);
  backdrop-filter: blur(8px);
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.fn-avatar:hover .fn-avatar-ring {
  border-color: rgba(59,130,246,0.5);
  transform: scale(1.15);
}
.fn-avatar.is-active .fn-avatar-ring {
  border-color: rgba(59,130,246,0.8);
  box-shadow: 0 0 24px rgba(59,130,246,0.25);
}
.fn-avatar-ring img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.3s;
}
.fn-avatar:hover .fn-avatar-ring img,
.fn-avatar.is-active .fn-avatar-ring img {
  filter: grayscale(0);
  opacity: 1;
}

/* Tooltip */
.fn-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15,15,25,0.9);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.55rem;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}
.fn-avatar:hover .fn-tooltip { opacity: 1; }

/* Pulse dot */
.fn-pulse {
  position: absolute;
  top: 0; right: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue-light);
  border: 2px solid var(--bg);
  transform: scale(0);
  transition: transform 0.3s;
}
.fn-avatar:hover .fn-pulse,
.fn-avatar.is-active .fn-pulse { transform: scale(1); }

/* Floating keyframes for avatars */
@keyframes fnFloat0 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(4px,-8px); } }
@keyframes fnFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-6px,6px); } }

/* Scan line */
.fn-scan {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.4), transparent);
  opacity: 0;
  pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .section-founders { padding: 80px 0 60px; }
  .fn-field {
    height: auto;
    flex-direction: column;
    gap: 32px;
  }
  .fn-panel {
    width: 90%;
    max-width: none;
  }
  .fn-avatars-mobile {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .fn-avatar {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    animation: none !important;
  }
  .fn-anchor, .fn-svg { display: none; }
  .fn-avatar-ring { width: 44px; height: 44px; }
}
@media (min-width: 769px) {
  .fn-avatars-mobile { display: contents; }
}

/* ============================================
   SECTION 08 — CTA FINAL + CONTATO
============================================ */
.section-cta {
  position: relative;
  background: var(--bg);
  padding: 140px 0 100px;
  overflow: hidden;
  contain: layout style;
}
.section-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
}

/* Two-col grid */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

/* ── LEFT: Context ── */
.cta-headline {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.cta-sub {
  color: var(--text-2);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 400px;
}

/* Steps */
.cta-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
  position: relative;
}
.cta-steps::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 28px;
  bottom: 28px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(59,130,246,0.3), rgba(59,130,246,0.05));
}
.cta-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px 0;
}
.cta-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--blue-light);
  min-width: 32px;
  line-height: 1;
  position: relative;
  z-index: 1;
}
.cta-step-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cta-step-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}
.cta-step-desc {
  font-size: 0.78rem;
  color: var(--text-3);
  font-weight: 300;
}

/* WhatsApp button */
.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: 50px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.25);
  color: #25d366;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}
.cta-whatsapp:hover {
  background: rgba(37,211,102,0.18);
  box-shadow: 0 0 32px rgba(37,211,102,0.12);
  transform: translateY(-2px);
}

/* ── RIGHT: Form ── */
.cta-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 36px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: relative;
  overflow: hidden;
}
/* Specular sweep */
.cta-form-wrap .cta-specular {
  position: absolute; inset: 0;
  transform: translateX(-150%) skewX(-20deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  pointer-events: none;
  animation: specular 8s ease-in-out infinite;
}

/* Form fields */
.cta-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}
.cta-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}
.cta-input {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: #fff;
  transition: all 0.3s;
  outline: none;
  width: 100%;
}
.cta-input::placeholder { color: rgba(255,255,255,0.2); }
.cta-input:focus {
  border-color: var(--blue-light);
  box-shadow: 0 0 0 3px rgba(59,130,246,0.12), 0 0 20px rgba(59,130,246,0.08);
}

/* Custom dropdown */
.cta-select-wrap {
  position: relative;
}
.cta-select-wrap .cta-input {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.cta-select-wrap::after {
  content: '';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid rgba(255,255,255,0.3);
  pointer-events: none;
}

textarea.cta-input {
  resize: none;
  min-height: 100px;
}

/* Submit button (btn-bubble style) */
.cta-submit-wrap {
  margin-top: 8px;
}

/* Success state */
.cta-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.cta-success.is-visible { display: block; }
.cta-success-check {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(59,130,246,0.1);
  border: 1px solid rgba(59,130,246,0.3);
  display: flex; align-items: center; justify-content: center;
}
.cta-success-check svg {
  width: 28px; height: 28px;
  stroke: var(--blue-light);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.cta-success-check svg path {
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
  animation: checkDraw 0.6s 0.2s cubic-bezier(0.16,1,0.3,1) forwards;
}
@keyframes checkDraw { to { stroke-dashoffset: 0; } }

/* ── Responsive ── */
@media (max-width: 768px) {
  .section-cta { padding: 80px 0 60px; }
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-form-wrap { padding: 24px; }
  .cta-headline { font-size: clamp(1.6rem, 6vw, 2.2rem); }
}

/* ============================================
   FOOTER
============================================ */
.site-footer {
  background: #030308;
  color: var(--text-2);
  border-top: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  z-index: 20;
}
/* Ambient glow */
.site-footer .footer-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 300px;
  background: rgba(37,99,235,0.04);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

/* Social grid */
.footer-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-right: 1px solid rgba(255,255,255,0.05);
  transition: all 0.3s;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
}
.footer-social-link:last-child { border-right: none; }
.footer-social-link:hover {
  background: rgba(255,255,255,0.04);
  color: #fff;
}
.footer-social-link .social-arrow {
  color: rgba(255,255,255,0.35);
  transition: all 0.3s;
}
.footer-social-link:hover .social-arrow {
  color: var(--blue-light);
  transform: translate(3px, -3px);
}

/* Separator line animated */
.footer-line-draw {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(59,130,246,0.2), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.16,1,0.3,1);
}
.footer-line-draw.is-visible { transform: scaleX(1); }

/* Link columns */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 48px 32px;
}
.footer-col h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
}
.footer-col a:hover {
  color: #fff;
  transform: translateX(4px);
}
.footer-badge {
  display: inline-flex;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.5rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(59,130,246,0.15);
  border: 1px solid rgba(59,130,246,0.2);
  color: var(--blue-light);
  margin-left: 6px;
  vertical-align: middle;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px 32px;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-logo-icon {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, rgba(56,189,248,0.15), rgba(59,130,246,0.15));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.08);
}
.footer-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  color: rgba(255,255,255,0.35);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .footer-social-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-social-link { padding: 16px 18px; }
  .footer-social-link:nth-child(2) { border-right: none; }
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    padding: 32px 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
    padding: 20px 24px 28px;
  }
}
