/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-primary: #050810;
  --btn-ghost-bg: rgba(255,255,255,0.04);
  --btn-ghost-hover: rgba(255,255,255,0.08);
  --btn-ghost-border: var(--btn-shine-color);
  --hero-grid-color: var(--hero-grid-color);
  --trust-strip-border: var(--trust-strip-border);
  --trust-strip-bg: var(--trust-strip-bg);
  --nav-scrolled-bg: var(--nav-scrolled-bg);
  --btn-glow-start: var(--btn-glow-start);
  --btn-shine-color: var(--btn-shine-color);

  --btn-ghost-bg: rgba(255,255,255,0.04);
  --btn-ghost-hover: rgba(255,255,255,0.08);
  --btn-ghost-border: var(--btn-shine-color);
  --hero-grid-color: var(--hero-grid-color);
  --trust-strip-border: var(--trust-strip-border);
  --trust-strip-bg: var(--trust-strip-bg);
  --nav-scrolled-bg: var(--nav-scrolled-bg);
  --btn-glow-start: var(--btn-glow-start);
  --btn-shine-color: var(--btn-shine-color);

  --bg-secondary: #0a0f1e;
  --bg-card: rgba(12, 18, 36, 0.5);
  --bg-card-hover: rgba(20, 28, 52, 0.7);
  --bg-glass: rgba(12, 18, 36, 0.4);
  --border: rgba(255, 255, 255, 0.05);
  --border-hover: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(245, 158, 11, 0.15);

  --text-primary: #eef2ff;
  --text-secondary: #8892b0;
  --text-muted: #5a6480;

  --accent: #f59e0b;
  --accent-hover: #fbbf24;
  --accent-glow: rgba(245, 158, 11, 0.35);
  --accent-gradient: linear-gradient(135deg, #f59e0b, #f97316, #ef4444);
  --blue: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.25);
  --green: #10b981;
  --purple: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.25);
  --red: #ef4444;
  --red-glow: rgba(239, 68, 68, 0.25);

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', 'Space Grotesk', sans-serif;

  --section-padding: 140px 0;
  --container-width: 1240px;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: auto; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none !important;
}

body * {
  cursor: none !important;
}

/* Film grain / noise overlay — Quiet Luxury signature */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.025;
  mix-blend-mode: overlay;
}

/* Custom cursor */
.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s;
  mix-blend-mode: difference;
}

.cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 40px; height: 40px;
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo), height 0.3s var(--ease-out-expo), border-color 0.3s;
}

.cursor-ring.hover {
  width: 64px; height: 64px;
  border-color: var(--accent);
  background: rgba(245, 158, 11, 0.06);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ===== UTILITIES ===== */
.gradient-text-animated {
  background: var(--accent-gradient);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease-in-out infinite;
  
  display: inline-block;
  padding: 0 0.15em;
  margin: 0 -0.15em;
  transform: translateZ(0);
  will-change: background-position;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.accent { color: var(--accent); }
.highlight { color: var(--accent); font-weight: 700; }
.line-through {
  position: relative;
  display: inline-block;
  opacity: 0.5;
  text-decoration: none !important;
}
.line-through::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 3px;
  background: currentColor;
  transform: translateY(-50%);
  border-radius: 2px;
}
.line-through::after {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 3px;
  background: currentColor;
  transform: translateY(-50%);
  border-radius: 2px;
}
.subtle { font-weight: 400; color: var(--text-secondary); font-size: 0.85em; }
.no-scroll { overflow: hidden; height: 100vh; }

/* ===== CINEMATIC LOADER ===== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* The gear — starts massive and rotated */
.loader-gear {
  position: absolute;
  width: 120px;
  height: 120px;
  opacity: 1;
  filter: drop-shadow(0 0 30px rgba(255,165,0,0.4));
  transform: scale(10) rotate(-45deg);
  will-change: transform, opacity;
  z-index: 5;
  image-rendering: auto;
}

.loader-hammer {
  position: absolute;
  width: 100px;
  height: auto;
  opacity: 0;
  transform: translate(-400px, -300px) rotate(40deg);
  will-change: transform, opacity;
  transform-origin: center;
  z-index: 10;
  /* Optional: Adds a slight drop shadow so the PNG pops out */
  filter: drop-shadow(0 0 15px rgba(245, 158, 11, 0.5));
}

/* Spark flash on impact */
.loader-spark {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.9), rgba(245, 158, 11, 0.4), transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: 10;
}

/* Text below assembled logo */
.loader-text {
  position: absolute;
  bottom: 38%;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
}

.loader-name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

/* ===== GLASS CARD ===== */
.glass-card {
  position: relative;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out-expo), border-color 0.4s ease, box-shadow 0.4s ease;
  will-change: transform;
}

.glass-card:hover {
  border-color: rgba(245, 158, 11, 0.15);
  transform: translateY(-6px);
  box-shadow: 0 24px 80px rgba(0,0,0,0.35), 0 0 30px rgba(245, 158, 11, 0.04);
}

.card-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  filter: blur(80px);
  top: -60px;
  right: -60px;
  background: rgba(59, 130, 246, 0.08);
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.glass-card:hover .card-glow { opacity: 1.5; }

.card-glow--purple { background: var(--purple-glow); }
.card-glow--gold { background: var(--accent-glow); }
.card-glow--blue { background: var(--blue-glow); }
.card-glow--green { background: rgba(16, 185, 129, 0.2); }
.card-glow--red { background: var(--red-glow); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: all 0.4s var(--ease-out-expo);
  opacity: 0;
  transform: translateY(-20px);
}

.navbar.visible {
  opacity: 1;
  transform: translateY(0);
}

.navbar.scrolled {
  padding: 10px 0;
  background: var(--nav-scrolled-bg);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 34px; height: 34px;
}

.nav-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.3s var(--ease-out-expo);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.4s var(--ease-out-expo);
  box-shadow: 0 0 8px var(--accent-glow);
}

.nav-links a:hover { color: var(--text-primary); }
.nav-links a:hover::after { width: 100%; }
.nav-cta::after { display: none !important; }


.nav-cta {
  background: var(--accent) !important;
  color: var(--bg-primary) !important;
  padding: 9px 22px !important;
  border-radius: 10px;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
  box-shadow: 0 4px 24px var(--accent-glow);
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 100px 0 80px;
}

.hero-bg { position: absolute; inset: 0; overflow: hidden; }

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  will-change: transform;
}

.hero-orb--1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12), transparent 70%);
  top: -15%; right: -10%;
}

.hero-orb--2 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.08), transparent 70%);
  bottom: -15%; left: -8%;
}

.hero-orb--3 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.07), transparent 70%);
  top: 30%; left: 25%;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  will-change: transform;
}

.hero-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 3px; height: 3px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  animation: particleFade 4s ease-in-out infinite;
}

@keyframes particleFade {
  0%, 100% { opacity: 0; transform: translateY(0); }
  50% { opacity: 0.6; transform: translateY(-30px); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  padding: 8px 22px;
  border-radius: 100px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.18);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: 0.06em;
  opacity: 0; /* GSAP animates this in */
}

/* Prevent FOUC — hero elements begin invisible */
.hero-title-premium,
.hero-subtitle-premium,
.hero-buttons,
.hero-dashboard-wrapper,
.hero-float-badge {
  opacity: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 28px;
}

.title-line {
  display: block;
  opacity: 0;
  transform: translateY(60px);
  filter: blur(8px);
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 44px;
  line-height: 1.7;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  opacity: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease-out-expo);
  font-family: var(--font-body);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  box-shadow: 0 4px 28px var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px var(--accent-glow);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

/* Magnetic cursor glow */
.btn-glow::before {
  content: '';
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: radial-gradient(circle closest-side, var(--btn-glow-start), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.btn-glow:hover::before { opacity: 1; }
.btn-shine {
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, var(--btn-shine-color), transparent);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.btn-ghost {
  background: var(--btn-ghost-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-hover);
}
.btn-ghost:hover {
  background: var(--btn-ghost-hover);
  border-color: var(--btn-ghost-border);
  transform: translateY(-3px);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #f97316);
  color: var(--bg-primary);
  box-shadow: 0 4px 24px rgba(249, 115, 22, 0.3);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(249, 115, 22, 0.4);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: #20BD5A;
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.4);
}

.btn-lg { padding: 18px 36px; font-size: 1.05rem; border-radius: 16px; }
.btn-full { width: 100%; justify-content: center; }

/* Hero Stats */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  opacity: 0;
}

.stat-glass {
  text-align: center;
  padding: 24px 32px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s var(--ease-out-expo);
  flex: 1;
  max-width: 200px;
}

.stat-glass:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
  letter-spacing: 0.01em;
}

/* Hero Scroll Indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* Trust Strip */
.hero-trust-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 30px 24px;
  background: linear-gradient(to top, var(--trust-strip-bg), transparent);
  text-align: center;
  z-index: 10;
  backdrop-filter: blur(4px);
  
}
.hero-trust-strip::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1150px;
  max-width: 95%;
  height: 1px;
  background: var(--accent);
  opacity: 0.8;
}

.trust-title {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 16px;
}

.trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
  opacity: 0.6;
}

.trust-logos .dot {
  color: var(--accent);
  font-size: 0.8rem;
  opacity: 0.5;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; height: 40px; }
  50% { opacity: 1; height: 56px; }
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 100px;
  background: rgba(245, 158, 11, 0.06);
  border: 1px solid rgba(245, 158, 11, 0.12);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.section-tag--gold {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.2);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.035em;
  max-width: 720px;
  margin: 0 auto;
}

/* ===== PROBLEMA ===== */
.section-problema { background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 15%, var(--bg-secondary) 85%, var(--bg-primary) 100%); }

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 56px;
}

.problem-card {
  padding: 32px;
  cursor: default;
}

.problem-icon { font-size: 2rem; margin-bottom: 16px; }

.problem-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.problem-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.65;
}

.punchline {
  margin: 180px 0 40px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
}

.punchline-line {
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.punchline p {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ===== SOLUÇÃO ===== */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 64px;
}

.solution-card {
  padding: 36px;
  text-align: center;
}

.solution-icon-wrap {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(245, 158, 11, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: transform 0.3s var(--ease-out-back);
}

.solution-card:hover .solution-icon-wrap { transform: scale(1.1) rotate(5deg); }

.solution-icon { font-size: 1.6rem; }

.solution-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.solution-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
}

.solution-punchline { text-align: center;
  margin: 7rem auto 4rem;
}

.big-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}

/* ===== DIFERENCIAL ===== */
.section-diferencial { background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 15%, var(--bg-secondary) 85%, var(--bg-primary) 100%); }

.diferencial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.diferencial-card { padding: 40px 32px; }

.diferencial-card--featured {
  border-color: rgba(245, 158, 11, 0.2) !important;
}

.featured-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--accent);
  color: var(--bg-primary);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.diferencial-icon { font-size: 2.4rem; margin-bottom: 20px; }

.diferencial-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.diferencial-card ul { display: flex; flex-direction: column; gap: 10px; }

.diferencial-card li {
  color: var(--text-secondary);
  font-size: 0.88rem;
  padding-left: 22px;
  position: relative;
}

.diferencial-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 80px; /* room to prevent overlap with automation block */
  padding-top: 20px; /* room for the RECOMENDADO badge */
}

.pricing-card {



  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}

.pricing-card--recommended {
  border-color: rgba(139, 92, 246, 0.3) !important;
  margin-top: -12px;
  margin-bottom: -12px;
  background: var(--bg-card-hover);
  overflow: visible; /* don't clip the badge */
}

.pricing-card--recommended:hover {
  transform: scale(1.03) translateY(-6px);
}

.recommended-tag {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--purple), #6366f1);
  color: white;
  padding: 6px 20px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  white-space: nowrap;
  box-shadow: 0 4px 20px var(--purple-glow);
}

.pricing-tier {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.pricing-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.pricing-tagline {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.4;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
}

.price-currency {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.price-value {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 1;
}

.price-value--custom {
  font-size: 1.6rem;
  letter-spacing: -0.02em;
}

.price-period {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.price-per-user {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.price-limit {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.pricing-value {
  margin-bottom: 16px;
}

.pricing-value h4,
.pricing-features h4 {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.value-list li {
  color: var(--accent);
  font-size: 0.82rem;
  margin-bottom: 6px;
  padding-left: 18px;
  position: relative;
  font-weight: 500;
}

.value-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.pricing-features {
  margin-bottom: 24px;
  flex: 1;
}

.pricing-features ul { display: flex; flex-direction: column; gap: 6px; }

.pricing-features li {
  color: var(--text-secondary);
  font-size: 0.8rem;
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
  font-size: 0.75rem;
}

/* ===== AUTOMATION BLOCK ===== */
.automation-block {
  padding: 48px;
  margin-top: 180px; /* Masive margin to ensure no overlap */
  border-color: rgba(245, 158, 11, 0.15) !important;
  overflow: visible;
}

.auto-header {
  text-align: center;
  margin-bottom: 36px;
}

.auto-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.auto-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

.auto-features-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.auto-feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: rgba(255,255,255,0.02);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease-out-expo);
}

.auto-feature:hover {
  border-color: rgba(245, 158, 11, 0.2);
  transform: translateY(-3px);
}

.auto-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 158, 11, 0.08);
  border-radius: 12px;
}

.auto-feature h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.auto-feature p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.auto-quote {
  text-align: center;
}

.auto-quote p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ===== COMO FUNCIONA ===== */
.section-como-funciona { background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 15%, var(--bg-secondary) 85%, var(--bg-primary) 100%); }

.steps-timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
}

.steps-timeline::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(245, 158, 11, 0.1), transparent);
}

.step {
  display: flex;
  gap: 28px;
  position: relative;
  padding-bottom: 48px;
}

.step:last-child { padding-bottom: 0; }

.step-number {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent), #f97316);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
  box-shadow: 0 4px 20px var(--accent-glow);
}

.step-number span {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--bg-primary);
}

.step-content h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  padding-top: 4px;
  letter-spacing: -0.02em;
}

.step-content p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* ===== PROVA SOCIAL ===== */
.proof-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.proof-stat {
  text-align: center;
  padding: 32px 40px;
  min-width: 200px;
}

.proof-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--accent);
  display: inline;
  letter-spacing: -0.04em;
}

.proof-suffix {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
}

.proof-stat p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 6px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.testimonial { padding: 32px; }

.testimonial-stars {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}

.testimonial p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ===== CTA FINAL ===== */
.section-cta-final { background: linear-gradient(to bottom, var(--bg-primary) 0%, var(--bg-secondary) 20%); }

.cta-wrapper { overflow: visible !important;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 88px 48px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.06), rgba(139, 92, 246, 0.04));
  border: 1px solid rgba(245, 158, 11, 0.12);
  border-radius: 32px;
}

.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.cta-orb--1 {
  width: 350px; height: 350px;
  background: rgba(245, 158, 11, 0.1);
  top: -120px; right: -60px;
}

.cta-orb--2 {
  width: 280px; height: 280px;
  background: rgba(139, 92, 246, 0.06);
  bottom: -100px; left: -40px;
}

.cta-wrapper h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
  position: relative; z-index: 2;
  letter-spacing: -0.03em;
}

.cta-sub {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 40px;
  position: relative; z-index: 2;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  position: relative; z-index: 2;
}

.cta-email {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  position: relative; z-index: 2;
}

.cta-email a {
  color: var(--accent);
  transition: color 0.2s;
}
.cta-email a:hover { color: var(--accent-hover); }

/* ===== FOOTER ===== */
.footer {
  padding: 64px 0 0;
  border-top: 1px solid var(--border);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}

.footer-logo {
  width: 36px; height: 36px;
  margin-bottom: 8px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 12px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-links a,
.footer-contact a {
  display: block;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
  transition: color 0.2s;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0;
}

.footer-bottom p {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
}

/* ===== PREMIUM HERO ===== */
.premium-hero {
  position: relative;
  min-height: 170vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 130px;
  overflow: hidden;
  perspective: 1200px;
}

.hero-bg-clean {
  position: absolute;
  inset: 0;
  background: var(--bg-primary);
  z-index: 0;
}

.hero-spotlight {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.13) 0%, transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-spotlight--2 {
  top: 55%;
  left: 20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.07) 0%, transparent 60%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* ── Floating Metric Badges ── */
.hero-float-badge {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: rgba(12, 18, 36, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
  opacity: 0;
  animation: badgeFloat 3s ease-in-out infinite;
}

@keyframes badgeFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.hero-float-badge--1 {
  left: 5%;
  top: 38%;
  animation-delay: 0s;
  border-color: rgba(245, 158, 11, 0.2);
}

.hero-float-badge--2 {
  right: 5%;
  top: 32%;
  animation-delay: 1s;
  border-color: rgba(59, 130, 246, 0.2);
}

.hero-float-badge--3 {
  right: 7%;
  top: 52%;
  animation-delay: 2s;
  border-color: rgba(16, 185, 129, 0.2);
}

.badge-icon { font-size: 1.5rem; }

.badge-val {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
}

.badge-lbl {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ── Premium Text ── */
.hero-content-premium {
  position: relative;
  z-index: 5;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.hero-title-premium {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.05em;
  margin-bottom: 28px;
}

.hero-subtitle-premium {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.65;
}

/* ── Dashboard Wrapper ── */
.hero-dashboard-wrapper {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glow border effect */
.hero-dashboard-wrapper::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.2));
  z-index: -1;
  filter: blur(20px);
  opacity: 0.6;
}

/* ── The Dashboard ── */
.hero-dashboard {
  width: 100%;
  height: 520px;
  background: rgba(8, 12, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  box-shadow:
    0 40px 120px rgba(0,0,0,0.8),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 1px 0 rgba(255,255,255,0.1) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: rotateX(22deg) scale(0.92);
  transform-style: preserve-3d;
  will-change: transform;
}

/* Window chrome */
.dashboard-header {
  height: 44px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  padding: 0 20px;
  gap: 12px;
  background: rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.dashboard-header .dots { display: flex; gap: 6px; flex-shrink: 0; }
.dashboard-header .dots span { width: 10px; height: 10px; border-radius: 50%; }
.dashboard-header .dots span:nth-child(1) { background: #ff5f56; }
.dashboard-header .dots span:nth-child(2) { background: #ffbd2e; }
.dashboard-header .dots span:nth-child(3) { background: #27c93f; }

.dash-title {
  flex: 1;
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: 'SF Mono', 'Fira Code', monospace;
}

.dash-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-family: monospace;
  flex-shrink: 0;
}

/* Dashboard layout = sidebar + main */
.dashboard-layout {
  display: flex;
  flex: 1;
  overflow: hidden;
}

/* ── Sidebar ── */
.dash-sidebar {
  width: 160px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255,255,255,0.05);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(0,0,0,0.2);
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  cursor: default;
  transition: all 0.2s;
}

.dash-nav-item--active {
  background: rgba(245, 158, 11, 0.1);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.15);
}

/* ── Main Area ── */
.dash-main {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

/* KPI Row */
.dash-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  flex-shrink: 0;
}

.dash-kpi {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px 14px;
}

.kpi-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.kpi-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 4px;
}

.kpi-value--red { color: #ef4444; }
.kpi-value--green { color: #10b981; }
.kpi-value--orange { color: #f59e0b; }

.kpi-trend {
  font-size: 0.62rem;
  color: var(--text-muted);
}

.kpi-trend--down { color: #10b981; }
.kpi-trend--up { color: #f59e0b; }

/* Chart + Table row */
.dash-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  flex: 1;
  overflow: hidden;
}

.dash-chart-area,
.dash-table-area {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.chart-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

/* Bar Chart */
.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  flex: 1;
  padding-top: 4px;
}

.chart-bar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar {
  width: 100%;
  height: var(--h);
  background: rgba(245, 158, 11, 0.25);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 1s var(--ease-out-expo);
  animation: barGrow 1.2s var(--ease-out-expo) both;
}

.chart-bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.6), transparent);
  border-radius: inherit;
}

.chart-bar--accent {
  background: rgba(245, 158, 11, 0.5);
}

.chart-bar--low {
  background: rgba(16, 185, 129, 0.25);
}

.chart-bar--low::after {
  background: linear-gradient(180deg, rgba(16, 185, 129, 0.5), transparent);
}

@keyframes barGrow {
  from { height: 0; }
  to { height: var(--h); }
}

.chart-bar-wrap span {
  font-size: 0.55rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* Event Table */
.dash-table {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow: hidden;
}

.dash-row-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  font-size: 0.7rem;
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.dash-row-item:hover { border-color: rgba(255,255,255,0.06); }

.row-status { font-size: 0.55rem; flex-shrink: 0; }
.row-status--red { color: #ef4444; }
.row-status--green { color: #10b981; }
.row-status--orange { color: #f59e0b; }

.row-name { color: var(--text-primary); font-weight: 600; font-size: 0.72rem; flex-shrink: 0; width: 64px; }
.row-info { color: var(--text-muted); flex: 1; }
.row-time { color: var(--text-muted); font-family: monospace; font-size: 0.65rem; flex-shrink: 0; }

/* ===== RESPONSIVE ===== */

@media (max-width: 1200px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card--recommended { transform: none; }
  .pricing-card--recommended:hover { transform: translateY(-6px); }
}

@media (max-width: 1024px) {
  .diferencial-grid { grid-template-columns: 1fr; }
  .auto-features-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 80px 0; }
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(5, 8, 16, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 20px;
    transition: right 0.4s var(--ease-out-expo);
    border-left: 1px solid var(--border);
    z-index: 999;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.05rem; }
  .nav-cta { width: 100%; text-align: center; padding: 14px 20px !important; }
  .hero-stats { flex-direction: column; gap: 12px; }
  .stat-glass { max-width: 100%; }
  .pricing-grid { grid-template-columns: 1fr; }
  .cta-wrapper { overflow: visible !important; padding: 48px 24px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .steps-timeline::before { left: 22px; }
  .step-number { width: 44px; height: 44px; }
  .step-number span { font-size: 0.95rem; }
  .step { gap: 18px; }
  .automation-block { padding: 28px; }

  /* ── Mobile 3D Hero Fix ── */
  .premium-hero {
    perspective: 600px;
    padding-top: 100px;
    min-height: 130vh;
  }

  .hero-dashboard {
    transform: rotateX(12deg) scale(0.96) translateY(15px);
    height: 360px;
  }

  .dash-sidebar { display: none; }
  .dash-kpis { grid-template-columns: repeat(2, 1fr); }
  .dash-row { grid-template-columns: 1fr; }
  .dash-table-area { display: none; }

  /* Float badges smaller on mobile */
  .hero-float-badge { padding: 8px 12px; gap: 8px; }
  .badge-val { font-size: 1rem; }
  .hero-float-badge--1 { left: 2%; }
  .hero-float-badge--2 { right: 2%; }
  .hero-float-badge--3 { display: none; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .section-title { font-size: 1.5rem; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .cta-buttons { flex-direction: column; align-items: stretch; }
  .btn-lg { padding: 16px 28px; font-size: 0.95rem; }
  .proof-stats { flex-direction: column; }
  .proof-stat { min-width: auto; }
}


body.light-theme {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --bg-glass: rgba(255, 255, 255, 0.6);
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --border-glow: rgba(245, 158, 11, 0.4);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-gradient: linear-gradient(135deg, #f97316, #ea580c, #f59e0b);

  --btn-ghost-bg: rgba(0,0,0,0.03);
  --btn-ghost-hover: rgba(0,0,0,0.06);
  --btn-ghost-border: rgba(0,0,0,0.15);
  --hero-grid-color: rgba(0,0,0,0.04);
  --trust-strip-border: rgba(0, 0, 0, 0.05);
  --trust-strip-bg: rgba(255, 255, 255, 0.85);
  --nav-scrolled-bg: rgba(255, 255, 255, 0.75);
  --btn-glow-start: rgba(0,0,0,0.1);
  --btn-shine-color: rgba(255,255,255,0.5);
}

.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-left: 10px;
}
.theme-toggle-btn:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  box-shadow: 0 4px 12px var(--border-glow);
}
.nav-links {
  display: flex;
  align-items: center;
}


body.light-theme {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --bg-glass: rgba(255, 255, 255, 0.6);
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --border-glow: rgba(245, 158, 11, 0.4);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;

  --accent: #f97316;
  --accent-hover: #ea580c;
  --accent-gradient: linear-gradient(135deg, #f97316, #ea580c, #f59e0b);

  --btn-ghost-bg: rgba(0,0,0,0.03);
  --btn-ghost-hover: rgba(0,0,0,0.06);
  --btn-ghost-border: rgba(0,0,0,0.15);
  --hero-grid-color: rgba(0,0,0,0.04);
  --trust-strip-border: rgba(0, 0, 0, 0.05);
  --trust-strip-bg: rgba(255, 255, 255, 0.85);
  --nav-scrolled-bg: rgba(255, 255, 255, 0.75);
  --btn-glow-start: rgba(0,0,0,0.1);
  --btn-shine-color: rgba(255,255,255,0.5);
}
.theme-toggle-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  margin-left: 10px;
}
.theme-toggle-btn:hover {
  transform: translateY(-2px);
  background: var(--bg-card-hover);
  box-shadow: 0 4px 12px var(--border-glow);
}
.nav-links {
  display: flex;
  align-items: center;
}


/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 14px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
  border-left: 1px solid var(--border);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-gradient);
  border-radius: 7px;
  border: 3px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}


/* ===== LIGHT FLASH OVERLAY ===== */
.light-flash {
  position: fixed;
  inset: 0;
  background: white;
  opacity: 0;
  pointer-events: none;
  z-index: 99998;
}

/* ===== DARK REVEAL SECTION ===== */
.section-dark-reveal {
  background: #0b0f1a !important;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: background 0.6s ease;
}

.dark-reveal-container {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.dark-reveal-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #e5e7eb;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(30px);
}

/* ===== PULL CORD ===== */
.pull-cord-wrapper {
  position: absolute;
  top: -20px;
  right: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 280px;
  opacity: 0;
  transform: translateY(-20px);
  z-index: 50;
}

.cord-mount {
  width: 24px;
  height: 16px;
  background: linear-gradient(to bottom, #52525b, #3f3f46);
  border-radius: 4px 4px 0 0;
  z-index: 2;
}







.cord-handle:active {
  cursor: grabbing;
}

.cord-handle:hover {
  box-shadow:
    0 4px 30px rgba(245, 158, 11, 0.6),
    0 0 60px rgba(245, 158, 11, 0.25),
    inset 0 -3px 6px rgba(0,0,0,0.2);
}

.handle-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.cord-hint {
  margin-top: 15px;
  text-align: center;
  width: 100px;
  line-height: 1.2;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 3px;
  opacity: 0;
  animation: hintPulse 2s ease-in-out infinite;
}

@keyframes hintPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.8; }
}

/* Transition for body theme changes */
body {
  transition: background 0.6s ease, color 0.6s ease;
}

/* Dark mode active via scroll */
body.dark-mode-active {
  --bg-primary: #050810;
  --bg-secondary: #0c1220;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --border-glow: rgba(245, 158, 11, 0.3);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --btn-ghost-bg: rgba(255,255,255,0.04);
  --btn-ghost-hover: rgba(255,255,255,0.08);
  --btn-ghost-border: rgba(255,255,255,0.2);
  --hero-grid-color: rgba(255,255,255,0.015);
  --trust-strip-border: rgba(255, 255, 255, 0.02);
  --trust-strip-bg: rgba(5, 8, 16, 0.9);
  --nav-scrolled-bg: rgba(5, 8, 16, 0.8);
}

.cord-svg {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.cord-handle {
  position: absolute;
  top: 176px; /* 160px cord length + 16px mount */
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background: radial-gradient(circle at 35% 35%, #fef3c7, #f59e0b, #d97706);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4), 0 0 40px rgba(245, 158, 11, 0.15), inset 0 -3px 6px rgba(0,0,0,0.2);
  transition: box-shadow 0.3s ease;
  cursor: grab;
  user-select: none;
  z-index: 3;
}
.pull-cord-wrapper {
  position: absolute;
  top: -20px;
  right: 15%;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 280px;
  opacity: 0;
  transform: translateY(-20px);
  z-index: 50;
}


/* ===== ROI SECTION ===== */
.section-roi .roi-card {
  padding: 48px;
  text-align: left;
  border-radius: 32px;
  margin-top: 40px;
  border: 1px solid var(--border);
  background: var(--bg-card);
}
.roi-math {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}
.math-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.1rem;
  font-family: var(--font-body);
}
.math-desc {
  color: var(--text-secondary);
}
.bad-math {
  color: var(--red);
  font-weight: 600;
  text-align: right;
  background: var(--red-glow);
  padding: 8px 16px;
  border-radius: 8px;
}
.roi-conclusion h3 {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.roi-conclusion p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 24px;
}
.roi-conclusion strong {
  color: var(--text-primary);
}
.roi-punch {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-glow);
  display: inline-block;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

@media (max-width: 768px) {
  .math-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .bad-math {
    text-align: left;
  }
  .section-roi .roi-card {
    padding: 32px;
  }
}

.good-math {
  color: var(--green);
  font-weight: 600;
  text-align: right;
  background: rgba(16, 185, 129, 0.1);
  padding: 8px 16px;
  border-radius: 8px;
}
.neutral-math {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 16px;
  border-radius: 8px;
}


/* ===== SERVICO EXTRA SECTION ===== */
.servico-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.servico-card {
  padding: 32px 24px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.servico-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}
.servico-icon {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 900px) {
  .servico-grid {
    grid-template-columns: 1fr;
  }
}
