/* ==========================================================================
   TOPUS CONSULTORIA — BI PARA PROVEDORES DE INTERNET
   Design System: Grafite Obsidiana • Âmbar/Ouro + Verde Operação • Alerta Rubi
   Paleta extraída do próprio produto (dashboards reais do BI).
   ========================================================================== */

:root {
  /* Canvas grafite / obsidiana */
  --bg-deep: #060707;
  --bg-canvas: #0a0b0c;
  --bg-card: #121314;
  --bg-card-hover: #17191b;
  --bg-elevated: #1c1f22;
  --bg-glass: rgba(16, 18, 20, 0.9);

  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(201, 168, 106, 0.4);

  /* Texto */
  --text-white: #ffffff;
  --text-heading: #f6f3ec;
  --text-body: #c6c3bb;
  --text-muted: #8b887f;
  --text-secondary: #8b887f;

  /* Âmbar / Ouro — acento primário (lucro, destaque, marca) */
  --amber-main: #c9a86a;
  --amber-light: #e3c88a;
  --amber-deep: #a9863f;
  --amber-glow: rgba(201, 168, 106, 0.32);

  /* Verde — operação saudável, crescimento, recuperação */
  --green-main: #3fb968;
  --green-light: #6fe39a;
  --green-glow: rgba(63, 185, 104, 0.28);

  /* Rubi — alerta, inadimplência, queda */
  --red-main: #e05a5a;
  --red-light: #f08585;
  --red-glow: rgba(224, 90, 90, 0.26);

  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Roboto Mono', ui-monospace, monospace;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;

  --container: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color-scheme: dark;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    radial-gradient(circle at 50% -8%, rgba(201, 168, 106, 0.13) 0%, transparent 58%);
  background-size: 38px 38px, 100% 100%;
  color: var(--text-body);
  line-height: 1.6;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utilitários de acento */
.text-gradient-amber {
  background: linear-gradient(100deg, var(--amber-light), var(--amber-main) 55%, var(--amber-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--amber-main);
}
.text-green { color: var(--green-light); }
.text-red { color: var(--red-light); }

/* ==========================================================================
   BOTÕES
   ========================================================================== */
.btn-primary,
.btn-amber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(100deg, var(--amber-light), var(--amber-main));
  color: #1a1407;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.85rem 1.6rem;
  box-shadow: 0 10px 30px -12px var(--amber-glow), inset 0 1px 0 rgba(255,255,255,0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn-primary:hover,
.btn-amber:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 16px 40px -12px var(--amber-glow), inset 0 1px 0 rgba(255,255,255,0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.03);
  color: var(--text-heading);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.6rem;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.btn-secondary:hover {
  border-color: var(--border-accent);
  background: rgba(201, 168, 106, 0.06);
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER NAV
   ========================================================================== */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand-logo img { height: 30px; width: auto; }
.nav-menu { display: flex; align-items: center; gap: 1.9rem; list-style: none; }
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.16s ease;
}
.nav-link:hover { color: var(--amber-light); }
.nav-actions { display: flex; align-items: center; gap: 0.75rem; }
.mobile-menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: 10px;
  color: var(--text-heading);
  padding: 0.4rem;
  align-items: center;
  justify-content: center;
}
.mobile-drawer {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1rem 1.5rem 1.5rem;
  background: var(--bg-canvas);
  border-bottom: 1px solid var(--border-subtle);
}
.mobile-drawer.open { display: flex; }
.mobile-link {
  padding: 0.7rem 0;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   BADGES & SECTION PRIMITIVES
   ========================================================================== */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--border-accent);
  background: rgba(201, 168, 106, 0.08);
  color: var(--amber-light);
}
.badge-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green-main);
  box-shadow: 0 0 0 3px var(--green-glow);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.section { padding: 5.5rem 0; }
.section-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber-main);
  margin-bottom: 0.9rem;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 4vw, 2.7rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  max-width: 820px;
}
.section-sub {
  margin-top: 1rem;
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 640px;
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { padding: 4rem 0 4.5rem; position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: 3rem;
  align-items: center;
}
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.6vw, 4.4rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: var(--text-heading);
  margin: 1.3rem 0 1.2rem;
}
.hero-title .text-gradient-amber {
  background: linear-gradient(100deg, var(--amber-light), var(--amber-main) 55%, var(--amber-deep));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 4px 24px var(--amber-glow));
}
.hero-desc { font-size: 1.08rem; color: var(--text-body); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin: 1.8rem 0 1.6rem; }
.hero-erp-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.hero-erp-pill {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: rgba(255,255,255,0.02);
  color: var(--text-body);
  font-weight: 600;
}

/* Floating KPI badges */
.hero-right { position: relative; }
.hero-video-player {
  width: 100%;
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  overflow: hidden;
  box-shadow: 0 28px 70px -28px rgba(0, 0, 0, 0.85), 0 0 45px -22px var(--amber-glow);
}
.hero-video-screen { position: relative; aspect-ratio: 16 / 9; background: #060707; }
.hero-video-poster, .hero-video, .hero-video-poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.hero-video-player[data-format="mobile"] { max-width: 360px; margin-inline: auto; }
.hero-video-player[data-format="mobile"] .hero-video-screen { aspect-ratio: 9 / 16; }
.hero-video-player[data-format="desktop"] .hero-video-screen { aspect-ratio: 16 / 9; }
.hero-video-silent {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(6, 7, 7, 0.8);
  color: var(--text-body);
  padding: 5px 10px;
  font-size: 0.68rem;
  pointer-events: none;
}
.hero-video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(6, 7, 7, 0.12);
  color: var(--text-heading);
}
.hero-video-play-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 28px;
  border: 1px solid rgba(227, 200, 138, 0.5);
  border-radius: 18px;
  background: rgba(16, 18, 20, 0.92);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.hero-video-play:hover .hero-video-play-card { transform: scale(1.035); border-color: var(--amber-light); }
.hero-video-play:focus-visible { outline: 3px solid var(--amber-light); outline-offset: -5px; border-radius: 18px; }
.hero-video-play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: linear-gradient(130deg, var(--amber-light), var(--amber-main));
  color: #1a1407;
  box-shadow: 0 0 24px -8px var(--amber-glow);
}
.hero-video-play-icon svg { margin-left: 3px; }
.hero-video-play-title { font-family: var(--font-heading); font-size: 1.08rem; font-weight: 700; line-height: 1.3; }
.hero-video-play-detail { margin-top: 4px; color: var(--text-body); font-size: 0.76rem; }
.hero-video-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 17px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.72rem;
}
.hero-video-caption strong { color: var(--amber-light); font-weight: 600; }
.hero-video-status {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 52px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(6, 7, 7, 0.92);
  color: var(--text-heading);
  text-align: center;
  font-size: 0.75rem;
  pointer-events: none;
}
.hero-video-player[data-state="loading"] .hero-video-play,
.hero-video-player[data-state="watching"] .hero-video-play,
.hero-video-player[data-state="loading"] .hero-video-silent,
.hero-video-player[data-state="watching"] .hero-video-silent,
.hero-video-player[data-state="ended"] .hero-video-silent,
.hero-video-player[data-state="error"] .hero-video-silent { display: none; }
.hero-video-player[data-state="ended"] .hero-video-play,
.hero-video-player[data-state="error"] .hero-video-play { bottom: 48px; height: calc(100% - 48px); }
.hero-video-status[hidden] { display: none; }
.hero-video-noscript { padding: 12px; font-size: 0.8rem; }
.hero-video-noscript a { color: var(--amber-light); text-decoration: underline; }
.hero-video-link-mobile { display: none; }
@media (prefers-reduced-motion: reduce) {
  .hero-video-play-card { transition: none; }
}
.hero-mockup-wrapper { position: relative; }
.floating-kpi-badge {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.7rem 0.95rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px -18px rgba(0,0,0,0.8);
  animation: floaty 5s ease-in-out infinite;
}
.floating-kpi-badge.top-right { top: -18px; right: -10px; }
.floating-kpi-badge.bottom-left { bottom: -14px; left: -16px; animation-delay: 1.5s; }
@keyframes floaty { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-9px)} }
.kpi-icon-circle {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem; flex-shrink: 0;
}
.kpi-icon-circle.amber { background: var(--amber-glow); color: var(--amber-light); }
.kpi-icon-circle.green { background: var(--green-glow); color: var(--green-light); }
.kpi-text-val { font-family: var(--font-mono); font-weight: 700; font-size: 1.02rem; color: var(--text-white); }
.kpi-text-lbl { font-size: 0.72rem; color: var(--text-muted); }

/* ==========================================================================
   MOCKUP MACBOOK (CSS puro)
   ========================================================================== */
.macbook { width: 100%; max-width: 640px; margin: 0 auto; }
.macbook-screen {
  position: relative;
  background: #0b0b0c;
  border: 2px solid #2a2b2d;
  border-radius: 18px 18px 4px 4px;
  padding: 14px 14px 16px;
  box-shadow:
    0 50px 80px -30px rgba(0,0,0,0.85),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 0 0 1px rgba(255,255,255,0.03);
}
.macbook-camera {
  width: 6px; height: 6px; border-radius: 50%;
  background: #1b1c1e;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
  margin: 0 auto 8px;
}
.macbook-viewport {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 5px;
  overflow: hidden;
  background: #0e0f10;
  border: 1px solid rgba(255,255,255,0.05);
}
.macbook-viewport img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  user-select: none;
  -webkit-user-drag: none;
}
.macbook-base {
  position: relative;
  width: calc(100% + 72px);
  margin-left: -36px;
  height: 15px;
  background: linear-gradient(180deg, #2b2c2e, #18191b);
  border-radius: 0 0 10px 10px;
  box-shadow: inset 0 2px 3px rgba(0,0,0,0.6);
}
.macbook-base::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 7px;
  background: #0d0e0f;
  border-radius: 0 0 8px 8px;
}

/* ==========================================================================
   STATS GRID
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}
.stat-card {
  padding: 1.5rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.stat-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.stat-val {
  font-family: var(--font-mono);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-white);
  letter-spacing: -0.02em;
}
.stat-val.highlight { color: var(--amber-light); }
.stat-lbl { margin-top: 0.5rem; font-size: 0.84rem; color: var(--text-muted); line-height: 1.45; }

/* ==========================================================================
   DASHBOARDS — abas + moldura
   ========================================================================== */
.segmented-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  margin: 2.2rem auto 1.5rem;
  padding: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.segmented-nav::-webkit-scrollbar { display: none; }
.segmented-btn {
  padding: 0.6rem 1.1rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.86rem;
  border-radius: var(--radius-md);
  white-space: nowrap;
  flex: 0 0 auto;
  cursor: pointer;
  transition: color 0.16s ease, background 0.16s ease;
}
.segmented-btn:hover { color: var(--text-heading); }
.segmented-btn.active {
  color: #1a1407;
  background: linear-gradient(100deg, var(--amber-light), var(--amber-main));
  box-shadow: 0 6px 18px -8px var(--amber-glow);
}

.screen-stage {
  position: relative;
  padding: 2rem 0 1rem;
  display: flex;
  justify-content: center;
  background: radial-gradient(circle at 50% 20%, rgba(201,168,106,0.09), transparent 62%);
}
.screen-stage .macbook { max-width: 860px; }
.screen-image-panel { display: none; }
.screen-image-panel.active { display: block; animation: fadeIn 0.35s ease; }
@keyframes fadeIn { from{opacity:0; transform:translateY(8px)} to{opacity:1; transform:translateY(0)} }

.screen-meta {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 1.8rem;
  padding: 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}
.screen-meta h3 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--text-heading); margin-bottom: 0.6rem; }
.screen-meta p { font-size: 0.94rem; color: var(--text-body); }
.kpi-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.1rem; }
.kpi-chip {
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
}

/* ==========================================================================
   PILARES
   ========================================================================== */
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 3rem; }
.pillar-item {
  padding: 2rem 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.pillar-item:hover { border-color: var(--border-accent); transform: translateY(-4px); }
.pillar-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--amber-main);
  letter-spacing: 0.04em;
  margin-bottom: 0.9rem;
}
.pillar-item h3 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--text-heading); margin-bottom: 0.6rem; }
.pillar-item p { font-size: 0.92rem; color: var(--text-body); }
.pillar-points { list-style: none; margin-top: 1.1rem; display: flex; flex-direction: column; gap: 0.55rem; }
.pillar-points li { position: relative; padding-left: 1.4rem; font-size: 0.88rem; color: var(--text-body); }

.ia-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 3rem; }
.ia-card {
  padding: 2rem 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.ia-card:hover { border-color: var(--border-accent); transform: translateY(-4px); }
.ia-card h3 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--text-heading); margin-bottom: 0.6rem; }
.ia-card p { font-size: 0.92rem; color: var(--text-body); }
.pillar-points li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--green-main);
  font-weight: 800;
}

/* ==========================================================================
   ESPECIALIZAÇÃO (statement card)
   ========================================================================== */
.statement-card {
  padding: 3rem 2.6rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(201,168,106,0.08), transparent 50%),
    var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}
.statement-card h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-heading);
  margin: 0.8rem 0 1.2rem;
  max-width: 760px;
}
.statement-card p { font-size: 1rem; color: var(--text-body); max-width: 820px; }
.erp-grid { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.erp-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.84rem; font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
}
.erp-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber-main); }

/* ==========================================================================
   CALCULADORA ROI
   ========================================================================== */
.calc-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-top: 2.5rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
}
.calc-field { margin-bottom: 2rem; }
.calc-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.8rem; }
.calc-title { font-size: 0.92rem; font-weight: 600; color: var(--text-body); }
.calc-value-txt { font-family: var(--font-mono); font-weight: 700; color: var(--amber-light); }
.calc-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 999px;
  background: var(--bg-elevated);
  outline: none;
}
.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber-light), var(--amber-main));
  cursor: pointer;
  box-shadow: 0 0 0 4px var(--amber-glow);
}
.calc-slider::-moz-range-thumb {
  width: 20px; height: 20px; border: none; border-radius: 50%;
  background: var(--amber-main); cursor: pointer;
  box-shadow: 0 0 0 4px var(--amber-glow);
}
.calc-result-box {
  padding: 2rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(63,185,104,0.1), transparent 55%),
    var(--bg-elevated);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  text-align: center;
}
.calc-impact-lead { font-size: 0.84rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.calc-impact-number { font-family: var(--font-mono); font-size: 2.4rem; font-weight: 800; margin: 0.4rem 0 0.3rem; }
.calc-split-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0; }
.split-val { font-family: var(--font-mono); font-size: 1.2rem; font-weight: 700; color: var(--text-white); }
.split-val.amber { color: var(--amber-light); }
.split-lbl { font-size: 0.74rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ==========================================================================
   TABELA COMPARATIVA
   ========================================================================== */
.table-wrapper { margin-top: 2.5rem; overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border-subtle); }
.clean-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.clean-table th, .clean-table td { padding: 1.1rem 1.4rem; text-align: left; font-size: 0.9rem; }
.clean-table thead th { font-family: var(--font-heading); background: var(--bg-elevated); color: var(--text-heading); }
.clean-table th.td-topus { color: var(--amber-light); }
.clean-table tbody tr { border-top: 1px solid var(--border-subtle); }
.clean-table .td-feat { color: var(--text-heading); font-weight: 600; }
.clean-table .td-erp { color: var(--text-muted); }
.clean-table .td-topus { color: var(--text-body); background: rgba(201,168,106,0.04); }

/* ==========================================================================
   METODOLOGIA (steps)
   ========================================================================== */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 3rem; }
.step-box {
  padding: 1.8rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}
.step-seq { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 800; color: var(--amber-main); margin-bottom: 0.6rem; }
.step-box h4 { font-family: var(--font-heading); font-size: 1.08rem; color: var(--text-heading); margin-bottom: 0.5rem; }
.step-box p { font-size: 0.86rem; color: var(--text-body); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-wrap { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.8rem; max-width: 860px; }
.faq-row {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-row.active { border-color: var(--border-accent); }
.faq-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.2rem 1.5rem;
  background: transparent; border: none;
  text-align: left;
  font-family: var(--font-heading); font-weight: 600; font-size: 1rem;
  color: var(--text-heading);
}
.faq-symbol { font-size: 1.4rem; color: var(--amber-main); transition: transform 0.2s ease; flex-shrink: 0; }
.faq-row.active .faq-symbol { transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; padding: 0 1.5rem; font-size: 0.92rem; color: var(--text-body); transition: max-height 0.3s ease, padding 0.3s ease; }
.faq-row.active .faq-body { max-height: 400px; padding: 0 1.5rem 1.3rem; }

/* ==========================================================================
   FINAL CTA
   ========================================================================== */
.final-cta { padding: 5rem 0; }
.cta-box {
  text-align: center;
  padding: 3.5rem 2.5rem;
  background:
    radial-gradient(circle at 50% 0%, rgba(201,168,106,0.14), transparent 60%),
    var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-xl);
}
.cta-box h2 { font-family: var(--font-heading); font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--text-heading); max-width: 760px; margin: 0 auto 1rem; }
.cta-box p { font-size: 1.02rem; color: var(--text-body); max-width: 580px; margin: 0 auto 1.8rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { border-top: 1px solid var(--border-subtle); padding: 2.5rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; font-size: 0.84rem; color: var(--text-muted); }
.footer-logo img { height: 26px; }

/* ==========================================================================
   WHATSAPP FLUTUANTE
   ========================================================================== */
.floating-wa-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25d366; color: #fff;
  box-shadow: 0 12px 30px -8px rgba(37,211,102,0.5);
  transition: transform 0.2s ease;
}
.floating-wa-btn:hover { transform: scale(1.08); }

/* ==========================================================================
   MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: none; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: rgba(4,5,6,0.8);
  backdrop-filter: blur(6px);
}
.modal-overlay.open { display: flex; animation: fadeIn 0.25s ease; }
.modal-box {
  position: relative;
  width: 100%; max-width: 460px;
  padding: 2.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-xl);
  max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--bg-elevated); border: 1px solid var(--border-subtle);
  color: var(--text-body); font-size: 0.9rem;
}
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--text-body); margin-bottom: 0.4rem; }
.form-field input, .form-field select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-family: inherit; font-size: 0.9rem;
}
.form-field input:focus, .form-field select:focus { outline: none; border-color: var(--border-accent); }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .pillars-grid, .steps-grid, .ia-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-menu { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hero { padding-top: 2rem; }
  .hero-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .hero-left { display: contents; }
  .hero-left > .badge-pill { grid-row: 1; justify-self: start; }
  .hero-title { grid-row: 2; margin: 0; }
  .hero-right { grid-row: 3; min-width: 0; }
  .hero-desc { grid-row: 4; }
  .hero-actions { grid-row: 5; margin: 0.35rem 0; }
  .hero-erp-tags { grid-row: 6; }
  .hero-video-player { max-width: 360px; margin-inline: auto; }
  .hero-video-screen { aspect-ratio: 9 / 16; }
  .hero-video-link-desktop { display: none; }
  .hero-video-link-mobile { display: inline; }
  .macbook { max-width: 480px; }
  .screen-meta { grid-template-columns: 1fr; gap: 1.5rem; }
  .floating-kpi-badge.top-right { right: 0; }
  .floating-kpi-badge.bottom-left { left: 0; }
}
@media (max-width: 540px) {
  .section { padding: 4rem 0; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .pillars-grid, .steps-grid, .ia-grid { grid-template-columns: 1fr; }
  .statement-card, .calc-card, .cta-box { padding: 2rem 1.4rem; }
  .footer-inner { flex-direction: column; text-align: center; }
}
