/**
 * KSL Technology — Landing Page
 * Paleta: #9E9EA2, #797979, #3B3B3D, #1E1E20, #090909, #2B59B0, #F9D954
 */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --gray-light: #9E9EA2;
  --gray-mid: #797979;
  --gray-dark: #3B3B3D;
  --dark-1: #1E1E20;
  --dark-2: #090909;
  --blue: #2B59B0;
  --yellow: #F9D954;
  --yellow-dim: rgba(249, 217, 84, 0.15);
  --blue-dim: rgba(43, 89, 176, 0.2);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--dark-2);
  color: #fff;
  line-height: 1.7;
  letter-spacing: 0.01em;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Noise overlay — z-index baixo para ficar atrás do header e do menu sanduíche */
.noise-overlay {
  position: fixed;
  inset: 0;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 50;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.4s var(--ease-out-quart), backdrop-filter 0.4s, box-shadow 0.4s;
}

.site-header.scrolled {
  background: rgba(9, 9, 9, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  height: 36px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--gray-light);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.3s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--yellow), var(--blue));
  transition: width 0.4s var(--ease-out-expo);
}

.main-nav a:hover {
  color: #fff;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--gray-light);
  transition: transform 0.3s, opacity 0.3s;
}

/* Overlay do menu mobile — fundo 100% opaco; visibilidade só via body.menu-open no mobile */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: #090909;
  z-index: 98;
  pointer-events: none;
}

/* Desktop: esconder o rótulo "Menu" (só aparece no mobile quando o menu está aberto) */
.main-nav-kicker {
  display: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--blue-dim) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, var(--yellow-dim) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 20% 80%, rgba(43, 89, 176, 0.12) 0%, transparent 50%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(158, 158, 162, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(158, 158, 162, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 20%, transparent 70%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  animation: float-glow 15s ease-in-out infinite;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--blue);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.hero-glow-2 {
  width: 300px;
  height: 300px;
  background: var(--yellow);
  bottom: -5%;
  left: -5%;
  animation-delay: -5s;
}

.hero-glow-3 {
  width: 200px;
  height: 200px;
  background: var(--blue);
  top: 50%;
  left: 30%;
  animation-delay: -10s;
}

/* Hero: hexágonos SVG */
.hero-hex {
  position: absolute;
  inset: -20%;
  opacity: 0.6;
  animation: hex-rotate 60s linear infinite;
}

.hex-svg {
  width: 100%;
  height: 100%;
}

@keyframes hex-rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Hero: circuitos SVG */
.hero-circuit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.circuit-path {
  stroke-dasharray: 1500;
  stroke-dashoffset: 1500;
  animation: circuit-draw 10s ease-in-out infinite;
}

.circuit-path:nth-child(2) { animation-delay: -2s; }
.circuit-path:nth-child(3) { animation-delay: -4s; }
.circuit-path:nth-child(4) { animation-delay: -6s; }

@keyframes circuit-draw {
  0%, 100% { stroke-dashoffset: 1500; opacity: 0.3; }
  50% { stroke-dashoffset: 0; opacity: 0.6; }
}

.circuit-node {
  animation: node-pulse 2s ease-in-out infinite;
}

.circuit-node:nth-child(6) { animation-delay: 0s; }
.circuit-node:nth-child(7) { animation-delay: 0.3s; }
.circuit-node:nth-child(8) { animation-delay: 0.6s; }
.circuit-node:nth-child(9) { animation-delay: 0.9s; }
.circuit-node:nth-child(10) { animation-delay: 1.2s; }

@keyframes node-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* Linha de scan futurista */
.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(249, 217, 84, 0.4), transparent);
  box-shadow: 0 0 20px rgba(249, 217, 84, 0.3);
  animation: scan-move 4s linear infinite;
}

@keyframes scan-move {
  0% { top: 0; opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

@keyframes float-glow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-kicker {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
  animation: fade-up 0.8s var(--ease-out-expo) forwards;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 12vw, 7rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.hero-title-line {
  display: block;
  animation: fade-up 0.8s var(--ease-out-expo) 0.2s backwards;
}

.hero-title-accent {
  background: linear-gradient(135deg, var(--yellow) 0%, #f5c842 50%, var(--yellow) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fade-up 0.8s var(--ease-out-expo) 0.35s backwards, shimmer 4s ease-in-out infinite;
}

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

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-light);
  max-width: 38ch;
  margin: 2rem auto 2.5rem;
  font-weight: 400;
  animation: fade-up 0.8s var(--ease-out-expo) 0.5s backwards;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-up 0.8s var(--ease-out-expo) 0.65s backwards;
}

.btn-glow {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark-2);
  background: linear-gradient(135deg, var(--yellow) 0%, #f5c842 100%);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 40px rgba(249, 217, 84, 0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 60px rgba(249, 217, 84, 0.5);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-light);
  background: transparent;
  border: 1px solid var(--gray-dark);
  border-radius: 999px;
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s;
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: #fff;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-mid);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  animation: fade-up 0.8s var(--ease-out-expo) 0.8s backwards;
}

@media (max-width: 768px) {
  .hero-scroll-hint {
    position: static;
    transform: none;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
  }
}

.scroll-indicator {
  width: 24px;
  height: 40px;
  border: 2px solid var(--gray-dark);
  border-radius: 12px;
  position: relative;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--yellow);
  border-radius: 2px;
  animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.visible {
  animation: reveal-in 0.8s var(--ease-out-expo) forwards;
}

.reveal[data-delay="50"].visible { animation-delay: 0.05s; }
.reveal[data-delay="100"].visible { animation-delay: 0.1s; }
.reveal[data-delay="150"].visible { animation-delay: 0.15s; }
.reveal[data-delay="200"].visible { animation-delay: 0.2s; }
.reveal[data-delay="300"].visible { animation-delay: 0.3s; }
.reveal[data-delay="450"].visible { animation-delay: 0.45s; }

@keyframes reveal-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 48ch;
  margin: 0 auto 4rem;
}

.section-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-light);
  margin: 0;
  line-height: 1.7;
}

/* Vídeo: Raul explicando código/ideia/objetivo — texto à esquerda, vídeo vertical à direita (mobile: vídeo em cima) */
.section-video {
  position: relative;
  background: var(--dark-1);
}


.container--video {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 1.5rem;
  align-items: center;
  max-width: 1100px;
}

/* Garantir: conteúdo à esquerda (col 1), player à direita (col 2) */
.video-section-content {
  grid-column: 1;
  max-width: 42ch;
}

.video-section-player {
  position: relative;
  grid-column: 2;
  display: flex;
  justify-content: flex-end;
}

.video-section-content .section-title {
  margin-bottom: 1rem;
}

.video-section-content .section-subtitle {
  margin-bottom: 1.5rem;
}

.video-section-detail {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(43, 89, 176, 0.08);
  border-left: 3px solid var(--yellow);
  border-radius: 0 8px 8px 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray-light);
}

.video-detail-bracket {
  color: var(--yellow);
  font-weight: 700;
}

.video-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 0 1px var(--gray-dark),
    0 0 80px -20px rgba(43, 89, 176, 0.25);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s;
}

.video-wrap:hover {
  transform: translateY(-4px);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(249, 217, 84, 0.2),
    0 0 100px -15px rgba(43, 89, 176, 0.35);
}

/* Player em pé (9:16): largura fixa, altura proporcional — nunca landscape */
.video-wrap--vertical {
  position: relative;
  width: 280px;
  flex-shrink: 0;
  /* aspect-ratio 9/16 = vídeo em pé; fallback com padding-bottom para altura */
  aspect-ratio: 9 / 16;
  min-height: 360px;
  max-height: 90vh;
}

@supports not (aspect-ratio: 9 / 16) {
  .video-wrap--vertical {
    height: 0;
    padding-bottom: calc(16 / 9 * 100%);
    min-height: 0;
  }
}

.video-wrap--vertical .video-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-wrap--vertical iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  transform: scale(1.12);
  transform-origin: center center;
}

/* Container do player injetado pela YouTube API */
#ksl-youtube-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Placeholder: ocupa o espaço do vídeo quando ele fica fixo (tocando) */
.video-placeholder {
  display: none;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 280px;
  aspect-ratio: 9 / 16;
  pointer-events: none;
}

.video-placeholder.is-visible {
  display: block;
}

.video-section-player:has(.video-placeholder.is-visible) {
  min-height: 498px;
}

/* Vídeo tocando: acompanha o scroll (fixo); ao pausar volta ao lugar */
.video-wrap--vertical.is-sticky {
  position: fixed;
  top: 5.5rem;
  right: max(1.5rem, calc((100vw - 1100px) / 2 + 1rem));
  z-index: 60;
  transition: top 0.3s var(--ease-out-quart), right 0.3s var(--ease-out-quart);
}

.video-wrap--vertical.is-sticky:hover {
  transform: none;
}

/* Mobile: vídeo em cima, texto embaixo */
@media (max-width: 768px) {
  .container--video {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .video-section-content {
    grid-column: 1;
    order: 2;
    max-width: none;
  }

  .video-section-content .section-subtitle {
    margin-bottom: 1rem;
  }

  .video-section-detail {
    margin: 0 auto;
  }

  .video-section-player {
    grid-column: 1;
    order: 1;
    justify-content: center;
  }

  .video-wrap--vertical {
    width: min(280px, 85vw);
    max-width: min(280px, 85vw);
    margin: 0 auto;
  }

  /* Mobile: vídeo em PLAY vira “segunda tela” (estilo Netflix) — fixo no canto, acompanha o scroll */
  .video-wrap--vertical.is-sticky {
    position: fixed;
    top: auto;
    left: auto;
    bottom: 0rem;
    right: 16rem;
    width: 100px;
    max-width: 26vw;
    min-width: 80px;
    z-index: 60;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 0 2px var(--gray-dark);
  }

  .video-section-player:has(.video-placeholder.is-visible) {
    min-height: 200px;
  }

  .video-placeholder.is-visible {
    display: block;
    width: min(280px, 85vw);
    min-height: 200px;
  }

}

/* Tech Grid */
.section-tech {
  background: var(--dark-1);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.tech-card {
  padding: 2.5rem;
  background: rgba(30, 30, 32, 0.8);
  border: 1px solid var(--gray-dark);
  border-radius: 20px;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s, box-shadow 0.4s;
}

.tech-card:hover {
  transform: translateY(-8px);
  border-color: rgba(43, 89, 176, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.tech-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.5rem;
  color: var(--yellow);
}

.tech-card-icon svg {
  width: 100%;
  height: 100%;
}

/* Ícones SVG animados */
.tech-icon-animated .path-dash {
  stroke-dasharray: 8 4;
  animation: path-dash-move 2s linear infinite;
}

@keyframes path-dash-move {
  to { stroke-dashoffset: -12; }
}

.tech-icon-animated .circle-spin {
  stroke-dasharray: 80 40;
  animation: circle-spin 3s linear infinite;
}

@keyframes circle-spin {
  to { stroke-dashoffset: -120; }
}

.tech-icon-animated .pulse-ring {
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.tech-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.tech-card p {
  font-size: 0.95rem;
  color: var(--gray-light);
  margin: 0;
  line-height: 1.65;
}

/* Numbers Section */
.section-numbers {
  background: var(--dark-2);
  overflow: hidden;
}

.section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.section-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 40% at 50% 50%, var(--blue-dim) 0%, transparent 70%);
}

.floating-particles {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(2px 2px at 20% 30%, rgba(249, 217, 84, 0.3), transparent),
    radial-gradient(2px 2px at 80% 70%, rgba(43, 89, 176, 0.3), transparent),
    radial-gradient(2px 2px at 40% 80%, rgba(249, 217, 84, 0.2), transparent);
  background-size: 200px 200px;
  animation: particle-float 20s linear infinite;
}

.section-reticula {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

@keyframes particle-float {
  0% { background-position: 0 0; }
  100% { background-position: 200px 200px; }
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.number-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(30, 30, 32, 0.6);
  border: 1px solid var(--gray-dark);
  border-radius: 20px;
  transition: transform 0.4s var(--ease-out-expo), border-color 0.3s, box-shadow 0.4s;
}

.number-card:hover {
  transform: scale(1.03);
  border-color: rgba(249, 217, 84, 0.3);
  box-shadow: 0 0 40px rgba(249, 217, 84, 0.08);
}

.number-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.number-suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--yellow);
}

.number-label {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin: 1rem 0 0.5rem;
}

.number-detail {
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin: 0;
}

.magnitude-quote {
  margin-top: 4rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.magnitude-quote blockquote {
  margin: 0;
  padding: 2rem 3rem;
  border-left: 4px solid var(--yellow);
  background: rgba(30, 30, 32, 0.6);
  border-radius: 0 16px 16px 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  font-style: italic;
  color: var(--gray-light);
}

/* How it works */
.section-how {
  background: var(--dark-1);
}

.how-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.how-step {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  padding: 2rem;
  background: rgba(9, 9, 9, 0.6);
  border: 1px solid var(--gray-dark);
  border-radius: 16px;
  transition: border-color 0.3s, transform 0.3s;
}

.how-step:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
}

.how-step-num {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--yellow);
  background: rgba(249, 217, 84, 0.1);
  border-radius: 10px;
  margin-bottom: 1rem;
}

.how-step h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.how-step p {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin: 0;
  line-height: 1.6;
}

.how-arrow {
  font-size: 1.5rem;
  color: var(--gray-dark);
  flex-shrink: 0;
}

.how-visual {
  text-align: center;
}

.code-matrix {
  display: inline-block;
  padding: 2rem 3rem;
  background: rgba(9, 9, 9, 0.8);
  border: 1px solid var(--gray-dark);
  border-radius: 16px;
  font-family: 'Monaco', 'Consolas', monospace;
  font-size: 0.95rem;
  text-align: left;
}

.matrix-line {
  margin-bottom: 0.5rem;
}

.matrix-line:last-child {
  margin-bottom: 0;
}

.matrix-fade {
  color: var(--gray-mid);
  margin-right: 0.5rem;
}

.matrix-accent {
  color: var(--yellow);
  font-weight: 700;
}

/* Demonstração */
.section-demo {
  background: var(--dark-2);
  overflow: hidden;
}

.demo-stage {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 0;
}

.demo-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.demo-step {
  width: 100%;
  max-width: 480px;
  padding: 2rem;
  background: rgba(30, 30, 32, 0.8);
  border: 1px solid var(--gray-dark);
  border-radius: 20px;
  opacity: 0.4;
  transform: scale(0.95);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo), border-color 0.3s, box-shadow 0.3s;
}

.demo-step.active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(249, 217, 84, 0.3);
  box-shadow: 0 0 40px rgba(249, 217, 84, 0.08);
}

.demo-step-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.demo-step-num {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-2);
  background: linear-gradient(135deg, var(--yellow) 0%, #f5c842 100%);
  border-radius: 12px;
}

.demo-step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
}

/* Demo inputs ( passo 1 ) */
.demo-inputs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.demo-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(9, 9, 9, 0.6);
  border: 1px solid var(--gray-dark);
  border-radius: 12px;
  font-size: 0.95rem;
  transition: border-color 0.3s, background 0.3s;
}

.demo-step.active .demo-chip {
  animation: demo-chip-in 0.5s var(--ease-out-expo) backwards;
}

.demo-step.active .demo-chip:nth-child(1) { animation-delay: 0.2s; }
.demo-step.active .demo-chip:nth-child(2) { animation-delay: 0.35s; }

@keyframes demo-chip-in {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.demo-chip-icon {
  font-size: 1.2rem;
}

.demo-chip-val {
  color: var(--yellow);
  font-weight: 500;
  margin-left: auto;
}

/* Demo step hint */
.demo-step-hint {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--gray-mid);
  font-style: italic;
}

/* Demo processor ( passo 2 ) */
.demo-process {
  position: relative;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.demo-process-ring {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid transparent;
  border-top-color: var(--yellow);
  border-radius: 50%;
  animation: demo-ring-spin 1.5s linear infinite;
}

.demo-process-ring-2 {
  width: 100px;
  height: 100px;
  border-top-color: var(--blue);
  animation-duration: 2s;
  animation-direction: reverse;
}

.demo-process-ring-3 {
  width: 120px;
  height: 120px;
  border-top-color: rgba(249, 217, 84, 0.4);
  animation-duration: 2.5s;
}

@keyframes demo-ring-spin {
  to { transform: rotate(360deg); }
}

/* Magnitude (o que você não vê) */
.demo-magnitude {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.demo-magnitude-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1rem;
  background: rgba(9, 9, 9, 0.6);
  border: 1px solid rgba(249, 217, 84, 0.2);
  border-radius: 12px;
  opacity: 0;
  transform: scale(0.9);
}

.demo-step.active .demo-magnitude-item {
  animation: demo-magnitude-in 0.5s var(--ease-out-expo) forwards;
}

.demo-step.active .demo-magnitude-item:nth-child(1) { animation-delay: 0.2s; }
.demo-step.active .demo-magnitude-item:nth-child(2) { animation-delay: 0.35s; }
.demo-step.active .demo-magnitude-item:nth-child(3) { animation-delay: 0.5s; }

@keyframes demo-magnitude-in {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.demo-magnitude-num {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.2;
}

.demo-magnitude-label {
  font-size: 0.75rem;
  color: var(--gray-mid);
  margin-top: 0.25rem;
}

.demo-magnitude-quote {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: var(--gray-mid);
  text-align: center;
  font-style: italic;
}

.demo-step.active .demo-magnitude-quote {
  animation: demo-magnitude-in 0.5s var(--ease-out-expo) 0.65s backwards;
}

/* Demo result ( passo 3 ) */
.demo-result {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.demo-result-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  min-width: 100px;
  background: rgba(9, 9, 9, 0.6);
  border: 1px solid var(--gray-dark);
  border-radius: 14px;
  opacity: 0;
  transform: translateY(12px);
  transition: border-color 0.3s;
}

.demo-step.active .demo-result-card {
  animation: demo-result-in 0.5s var(--ease-out-expo) forwards;
}

.demo-step.active .demo-result-card:nth-child(1) { animation-delay: 0.2s; }
.demo-step.active .demo-result-card:nth-child(2) { animation-delay: 0.35s; }
.demo-step.active .demo-result-card:nth-child(3) { animation-delay: 0.5s; }

@keyframes demo-result-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.demo-result-card:hover {
  border-color: var(--yellow);
}

.demo-result-badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-light);
}

.demo-result-featured {
  color: var(--yellow);
}

.demo-result-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}

.demo-result-footer {
  margin: 1.5rem 0 0;
  font-size: 0.9rem;
  color: var(--gray-mid);
  text-align: center;
}

.demo-result-footer strong {
  color: var(--gray-light);
}

.demo-result-tagline {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  color: var(--gray-mid);
  text-align: center;
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.demo-result-tagline strong {
  color: var(--yellow);
}

.demo-step.active .demo-result-tagline {
  animation: demo-magnitude-in 0.5s var(--ease-out-expo) 0.7s backwards;
}

/* Connector entre steps */
.demo-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  position: relative;
}

.demo-connector-line {
  width: 2px;
  height: 24px;
  background: linear-gradient(180deg, var(--gray-dark), transparent);
  animation: demo-connector-pulse 1.5s ease-in-out infinite;
}

.demo-connector-dot {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  margin-top: 4px;
  animation: demo-dot-pulse 1.5s ease-in-out infinite;
}

.demo-connector-label {
  font-size: 0.75rem;
  color: var(--gray-mid);
  margin-top: 0.5rem;
  letter-spacing: 0.02em;
  text-align: center;
  max-width: 20ch;
}

@media (min-width: 600px) {
  .demo-connector-label {
    max-width: 28ch;
  }
}

@keyframes demo-connector-pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

@keyframes demo-dot-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* Autoatendimento + PNL — Glamoroso */
.section-pnl {
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
}

.pnl-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pnl-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 90% 50% at 50% 0%, rgba(249, 217, 84, 0.08) 0%, transparent 55%),
    radial-gradient(ellipse 70% 40% at 20% 100%, rgba(43, 89, 176, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 60% 35% at 80% 80%, rgba(249, 217, 84, 0.06) 0%, transparent 50%);
}

.pnl-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.35;
  animation: pnl-glow-float 12s ease-in-out infinite;
}

.pnl-glow-1 {
  width: 350px;
  height: 350px;
  background: var(--yellow);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.pnl-glow-2 {
  width: 280px;
  height: 280px;
  background: var(--blue);
  bottom: -5%;
  right: -5%;
  animation-delay: -6s;
}

@keyframes pnl-glow-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -15px) scale(1.05); }
}

.pnl-grid-bg {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(249, 217, 84, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(249, 217, 84, 0.02) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 80%);
}

.pnl-kicker {
  letter-spacing: 0.35em;
}

.pnl-title-accent {
  background: linear-gradient(135deg, var(--yellow) 0%, #f5c842 50%, var(--yellow) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s ease-in-out infinite;
}

.pnl-subtitle {
  font-size: 1.15rem;
}

.pnl-anchors {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.pnl-anchor {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--yellow);
  background: rgba(249, 217, 84, 0.08);
  border: 1px solid rgba(249, 217, 84, 0.4);
  border-radius: 999px;
  transition: all 0.4s var(--ease-out-expo);
  animation: pnl-anchor-glow 3s ease-in-out infinite;
}

.pnl-anchor:nth-child(1) { animation-delay: 0s; }
.pnl-anchor:nth-child(2) { animation-delay: -1s; }
.pnl-anchor:nth-child(3) { animation-delay: -2s; }

@keyframes pnl-anchor-glow {
  0%, 100% { opacity: 0.95; }
  50% { opacity: 1; }
}

.pnl-anchor:hover {
  background: rgba(249, 217, 84, 0.2);
  color: #fff;
  border-color: var(--yellow);
  box-shadow: 0 0 24px rgba(249, 217, 84, 0.2);
  transform: translateY(-2px);
}

.pnl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
}

.pnl-card {
  padding: 2.5rem;
  background: rgba(9, 9, 9, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(158, 158, 162, 0.08);
  border-radius: 24px;
  transition: all 0.4s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  animation: pnl-card-breathe 5s ease-in-out infinite;
}

.pnl-card:nth-child(1) { animation-delay: 0s; }
.pnl-card:nth-child(2) { animation-delay: -1.25s; }
.pnl-card:nth-child(3) { animation-delay: -2.5s; }
.pnl-card:nth-child(4) { animation-delay: -3.75s; }

@keyframes pnl-card-breathe {
  0%, 100% { border-color: rgba(158, 158, 162, 0.08); }
  50% { border-color: rgba(249, 217, 84, 0.12); }
}

.pnl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(249, 217, 84, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.pnl-card:hover {
  transform: translateY(-8px);
  border-color: rgba(249, 217, 84, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(249, 217, 84, 0.06);
}

.pnl-card:hover::before {
  opacity: 1;
}

.pnl-card-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.5rem;
  color: var(--yellow);
  filter: drop-shadow(0 0 12px rgba(249, 217, 84, 0.3));
  animation: pnl-icon-float 4s ease-in-out infinite;
}

.pnl-card:nth-child(1) .pnl-card-icon { animation-delay: 0s; }
.pnl-card:nth-child(2) .pnl-card-icon { animation-delay: -1s; }
.pnl-card:nth-child(3) .pnl-card-icon { animation-delay: -2s; }
.pnl-card:nth-child(4) .pnl-card-icon { animation-delay: -3s; }

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

.pnl-card-icon svg {
  width: 100%;
  height: 100%;
}

.pnl-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: 0.01em;
}

.pnl-card p {
  font-size: 0.95rem;
  color: var(--gray-light);
  margin: 0;
  line-height: 1.7;
}

/* Future pacing / reframing */
.pnl-future-pacing {
  position: relative;
  z-index: 1;
  margin-bottom: 3rem;
}

.pnl-quote {
  max-width: 620px;
  margin: 0 auto;
  padding: 2.5rem 3rem;
  background: rgba(9, 9, 9, 0.4);
  backdrop-filter: blur(16px);
  border-left: 4px solid var(--yellow);
  border-radius: 0 20px 20px 0;
  font-size: 1.1rem;
  line-height: 1.75;
  color: var(--gray-light);
  font-style: italic;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  animation: pnl-quote-float 8s ease-in-out infinite;
}

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

.pnl-quote strong {
  color: var(--yellow);
  animation: pnl-strong-glow 2.5s ease-in-out infinite;
}

@keyframes pnl-strong-glow {
  0%, 100% { text-shadow: 0 0 20px rgba(249, 217, 84, 0.3); }
  50% { text-shadow: 0 0 30px rgba(249, 217, 84, 0.5); }
}

/* PNL CTA box */
.pnl-cta {
  position: relative;
  z-index: 1;
}

.pnl-cta-box {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 3rem;
  background: linear-gradient(135deg, rgba(43, 89, 176, 0.12) 0%, rgba(9, 9, 9, 0.9) 40%, rgba(249, 217, 84, 0.06) 100%);
  border: 1px solid rgba(249, 217, 84, 0.25);
  border-radius: 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: pnl-cta-pulse 4s ease-in-out infinite;
}

@keyframes pnl-cta-pulse {
  0%, 100% { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
  50% { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 60px rgba(249, 217, 84, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04); }
}

.pnl-cta-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(249, 217, 84, 0.06), transparent);
  animation: pnl-shine 6s ease-in-out infinite;
}

@keyframes pnl-shine {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

.pnl-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.6rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: #fff;
  position: relative;
  z-index: 1;
}

.pnl-cta-desc {
  font-size: 1.05rem;
  color: var(--gray-light);
  margin: 0 0 1.75rem;
  line-height: 1.75;
  position: relative;
  z-index: 1;
}

.pnl-cta-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.pnl-badge {
  display: inline-block;
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--dark-2);
  background: linear-gradient(135deg, var(--yellow) 0%, #f5c842 100%);
  border-radius: 999px;
  box-shadow: 0 4px 20px rgba(249, 217, 84, 0.3);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pnl-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(249, 217, 84, 0.4);
}

/* Coming Soon */
.section-coming {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.coming-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.coming-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 70% 50% at 50% 50%, var(--blue-dim) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 70% 80%, var(--yellow-dim) 0%, transparent 50%);
}

.coming-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--yellow);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(150px);
  opacity: 0.08;
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.08; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 0.15; transform: translate(-50%, -50%) scale(1.1); }
}

.coming-hex {
  position: absolute;
  width: 200px;
  height: 200px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: coming-hex-float 8s ease-in-out infinite;
}

@keyframes coming-hex-float {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); opacity: 0.5; }
  33% { transform: translate(-50%, -50%) rotate(10deg) scale(1.05); opacity: 0.8; }
  66% { transform: translate(-50%, -50%) rotate(-5deg) scale(0.95); opacity: 0.6; }
}

.coming-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.coming-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(249, 217, 84, 0.15);
  border: 1px solid rgba(249, 217, 84, 0.4);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--yellow);
  margin-bottom: 2rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  animation: badge-pulse 1.5s ease-in-out infinite;
}

@keyframes badge-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.2); }
}

.coming-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.text-accent {
  background: linear-gradient(135deg, var(--yellow) 0%, #f5c842 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.coming-desc {
  font-size: 1.15rem;
  color: var(--gray-light);
  max-width: 42ch;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.coming-msg {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gray-light);
  margin: 0 0 1.5rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-links a {
  color: var(--blue);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--yellow);
}

.coming-logo {
  margin-top: 3rem;
}

.coming-logo img {
  height: 48px;
  width: auto;
  opacity: 0.8;
}

/* Footer */
.site-footer {
  padding: 3rem 0;
  background: var(--dark-2);
  border-top: 1px solid var(--gray-dark);
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-quote {
  font-size: 1rem;
  color: var(--gray-mid);
  max-width: 40ch;
  margin: 0 auto 1rem;
  font-style: italic;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin: 0;
}

/* Botão flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .whatsapp-float {
    bottom: 1rem;
    right: 1rem;
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
  }

  .whatsapp-float-text {
    display: none;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}

/* Responsive — Menu mobile refatorado (combinando com o layout do site) */
@media (max-width: 768px) {
  /* Com menu aberto, header fica acima de todo o conteúdo da página (evita texto/scroll por cima) */
  /* transition: none elimina o delay em que o fundo ficava transparente antes de opacar */
  body.menu-open .site-header {
    z-index: 10000;
    background: #090909;
    backdrop-filter: none;
    transition: none;
  }

  .main-nav {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    padding: 0;
    pointer-events: none;
  }

  /* Uma única fonte de verdade: body.menu-open; fundo sempre opaco (evita transparência ao rolar) */
  body.menu-open .nav-overlay {
    display: block;
    pointer-events: auto;
    background: #090909;
    isolation: isolate;
    z-index: 98;
  }

  body.menu-open .main-nav {
    display: block;
    pointer-events: auto;
    isolation: isolate;
  }

  .main-nav-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 300px;
    background: #1E1E20;
    padding: 5rem 1.5rem 2rem;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.6);
    border-left: 1px solid var(--gray-dark);
    isolation: isolate;
    z-index: 100;
  }

  body.menu-open .main-nav-kicker {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--yellow);
    margin: 0 0 1.5rem;
    font-family: var(--font-display);
  }

  body.menu-open .main-nav ul {
    flex-direction: column;
    gap: 0.25rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  body.menu-open .main-nav li {
    border-bottom: 1px solid rgba(59, 59, 61, 0.5);
  }

  body.menu-open .main-nav li:last-child {
    border-bottom: none;
  }

  body.menu-open .main-nav a {
    display: block;
    padding: 0.9rem 0;
    color: var(--gray-light);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
  }

  body.menu-open .main-nav a::after {
    display: none;
  }

  body.menu-open .main-nav a:hover,
  body.menu-open .main-nav a:focus-visible {
    color: #fff;
    padding-left: 0.5rem;
  }

  body.menu-open .main-nav a:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 4px;
  }

  .header-inner {
    position: relative;
    z-index: 102;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 101;
  }

  body.menu-open .nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background: var(--yellow);
  }

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

  body.menu-open .nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background: var(--yellow);
  }

  .hero {
    padding: 6rem 0 4rem;
  }

  .how-flow {
    flex-direction: column;
  }

  .how-arrow {
    transform: rotate(90deg);
  }

  .magnitude-quote blockquote {
    padding: 1.5rem 1.5rem;
    font-size: 1.1rem;
  }

  .demo-step {
    max-width: 100%;
    padding: 1.5rem;
  }

  .demo-result {
    flex-direction: column;
  }

  .demo-result-card {
    min-width: 100%;
  }

  .pnl-grid {
    grid-template-columns: 1fr;
  }

  .pnl-quote {
    padding: 1.5rem 1.5rem;
    font-size: 0.95rem;
  }

  .pnl-cta-box {
    padding: 1.5rem 1.5rem;
  }

  .pnl-cta-badges {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0;
  }

  .hero-cta .btn-glow,
  .hero-cta .btn-ghost {
    width: 100%;
    justify-content: center;
  }

  .hero-scroll-hint {
    margin-top: 2rem;
  }

  .number-card {
    padding: 2rem 1rem;
  }
}
