/* ==========================================================================
   XISPEH GROUP — DESIGN SYSTEM OFICIAL DE PROPOSTAS DINÂMICAS (WEB v2.0)
   Estética: Futurista, Simples, Direta, Alto Contraste (Dark Obsidian + Laranja Xispeh)
   Referências: Identidade Oficial Xispeh Group + Interatividade Futurista
   ========================================================================== */

@font-face {
  font-family: 'Boldye';
  src: url('assets/Boldye.ttf') format('truetype');
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('assets/SpaceGrotesk-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --bg-obsidian: #070708;
  --bg-surface: #0e0e11;
  --bg-card: rgba(18, 18, 22, 0.78);
  --bg-card-solid: #121216;
  --bg-glass: rgba(14, 14, 18, 0.72);

  --xp-orange: #FF8D07;
  --xp-orange-bright: #FFA733;
  --xp-orange-deep: #E06600;
  --xp-orange-glow: rgba(255, 141, 7, 0.28);
  --xp-orange-soft: rgba(255, 141, 7, 0.10);
  --xp-orange-border: rgba(255, 141, 7, 0.38);

  --xp-green: #16C784;
  --xp-green-soft: rgba(22, 199, 132, 0.12);

  --text-primary: #F7F7F8;
  --text-secondary: #B8B8C2;
  --text-muted: #7E7E8A;

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 255, 255, 0.15);

  --font-display: 'Boldye', 'Space Grotesk', sans-serif;
  --font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --container-max: 1200px;
  --transition-fast: 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  overflow-x: hidden;
  position: relative;
}

img, svg, canvas {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Tipografia Utilitária */
.font-display {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
  line-height: 1.08;
  text-wrap: balance;
}

.hl {
  color: var(--xp-orange);
  font-weight: 600;
}

.hl-grad {
  background: linear-gradient(95deg, #FF8D07 0%, #FFB84D 55%, #FF6A00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Barra de Progresso de Leitura */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--xp-orange-deep), var(--xp-orange), #FFD080);
  z-index: 9999;
  box-shadow: 0 0 12px var(--xp-orange);
  transition: width 0.08s linear;
}

/* Cursor Futurista Customizado (Desktop) */
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 141, 7, 0.55);
  background: radial-gradient(circle, rgba(255, 141, 7, 0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  display: none;
}
.cursor-ring::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--xp-orange);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px var(--xp-orange);
}
@media (hover: hover) and (pointer: fine) {
  .cursor-ring {
    display: block;
  }
}

/* Container Padrão */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Seções com Wallpapers Abstratos Futuristas */
.section-block {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.bg-wallpaper {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.24;
  z-index: 0;
  pointer-events: none;
  filter: contrast(1.08) saturate(1.1);
}

.bg-wallpaper.wp-1 {
  background-image: url('assets/bg-futurista-1.webp');
  opacity: 0.34;
}
.bg-wallpaper.wp-2 {
  background-image: url('assets/bg-futurista-2.webp');
  opacity: 0.22;
}
.bg-wallpaper.wp-3 {
  background-image: url('assets/bg-futurista-3.webp');
  opacity: 0.25;
}
.bg-wallpaper.wp-4 {
  background-image: url('assets/bg-futurista-4.webp');
  opacity: 0.26;
}

.bg-overlay-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 141, 7, 0.13) 0%, transparent 60%),
    linear-gradient(180deg, rgba(7, 7, 8, 0.92) 0%, rgba(7, 7, 8, 0.68) 50%, rgba(7, 7, 8, 0.96) 100%);
  z-index: 1;
  pointer-events: none;
}

.bg-dot-matrix {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 141, 7, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.65) 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.65) 0%, transparent 80%);
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   NAVBAR FIXA FUTURISTA
   ========================================================================== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 7, 8, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 14px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
}
.brand-logo svg {
  height: 32px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  padding: 5px 8px;
  border-radius: var(--radius-pill);
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  transition: var(--transition-fast);
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255, 141, 7, 0.12);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  gap: 8px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  background-color: #FF8D07;
  background-image: linear-gradient(135deg, var(--xp-orange) 0%, var(--xp-orange-deep) 100%);
  color: #08080A;
  font-weight: 700;
  font-size: 0.86rem;
  box-shadow: 0 4px 20px var(--xp-orange-glow);
  transition: var(--transition-fast);
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 26px rgba(255, 141, 7, 0.45);
}

/* ==========================================================================
   1. HERO FUTURISTA (CAPA DA PROPOSTA)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 84px 0 76px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero-top-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 141, 7, 0.12);
  border: 1px solid var(--xp-orange-border);
  color: var(--xp-orange-bright);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pill-badge .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--xp-orange);
  box-shadow: 0 0 10px var(--xp-orange);
}

.pill-client {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-highlight);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 500;
}

.hero-eyebrow {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  margin-bottom: 10px;
  font-weight: 600;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.3rem);
  line-height: 1.05;
  margin-bottom: 22px;
  color: var(--text-primary);
  max-width: 980px;
}

.hero-subtitle {
  font-size: clamp(1.04rem, 1.5vw, 1.22rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 36px;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

/* Botão Estilo Nexus (Pílula com Bloco Deslizante) */
.nexus-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 8px 8px 8px 26px;
  border-radius: 18px;
  background: rgba(255, 141, 7, 0.12);
  border: 1px solid rgba(255, 141, 7, 0.38);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  overflow: hidden;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.nexus-btn .nexus-btn-text {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease, transform 0.3s ease;
}
.nexus-btn .nexus-btn-icon {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #FF9E22 0%, #FF7700 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #08080A;
  box-shadow: 0 4px 16px rgba(255, 141, 7, 0.45);
  transition: var(--transition-smooth);
}
.nexus-btn:hover {
  border-color: var(--xp-orange);
  background: rgba(255, 141, 7, 0.22);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(255, 141, 7, 0.28);
}
.nexus-btn:hover .nexus-btn-icon {
  transform: translateX(2px) scale(1.04);
  background: linear-gradient(135deg, #FFB347 0%, #FF8D07 100%);
}

.btn-secondary-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-highlight);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.96rem;
  transition: var(--transition-fast);
}
.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 141, 7, 0.45);
}

/* Barra de Métricas Rápidas da Capa */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.hero-stat-card {
  background: rgba(16, 16, 20, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-top: 1px solid rgba(255, 141, 7, 0.28);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: var(--transition-fast);
}
.hero-stat-card:hover {
  border-color: var(--xp-orange-border);
  transform: translateY(-2px);
}
.hero-stat-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.hero-stat-sub {
  font-size: 0.83rem;
  color: var(--xp-orange-bright);
  font-weight: 500;
}

/* ==========================================================================
   CABEÇALHOS DE SEÇÃO
   ========================================================================== */
.section-header {
  margin-bottom: 48px;
}
.section-header.center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--xp-orange);
  background: rgba(255, 141, 7, 0.1);
  border: 1px solid rgba(255, 141, 7, 0.26);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  line-height: 1.08;
  color: var(--text-primary);
  margin-bottom: 14px;
  text-wrap: balance;
}
.section-desc {
  font-size: 1.06rem;
  color: var(--text-secondary);
  max-width: 700px;
  text-wrap: pretty;
}
.section-header.center .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   2. IMPLEMENTAÇÃO COMPLETA (O QUE VAMOS CONSTRUIR E ENTREGAR)
   ========================================================================== */
.impl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 32px;
}

.impl-card {
  position: relative;
  background: linear-gradient(155deg, rgba(24, 24, 30, 0.86) 0%, rgba(12, 12, 15, 0.94) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition-fast);
  overflow: hidden;
}
.impl-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--xp-orange), transparent);
  opacity: 0.55;
}
.impl-card:hover {
  border-color: var(--xp-orange-border);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.impl-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.impl-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(255, 141, 7, 0.14);
  border: 1px solid rgba(255, 141, 7, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--xp-orange);
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.impl-tag {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.impl-card h3 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.impl-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  text-wrap: pretty;
}

.impl-deliverables {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}
.impl-deliverables li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.89rem;
  color: var(--text-primary);
}
.impl-deliverables li .check-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 141, 7, 0.16);
  color: var(--xp-orange);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   3. ETAPAS DO PROJETO — FORMATO ESCADA ASCENDENTE (IMAGEM #3) + DIAS ÚTEIS
   ========================================================================== */
.staircase-wrapper {
  position: relative;
  background: linear-gradient(180deg, rgba(16, 16, 20, 0.75) 0%, rgba(9, 9, 12, 0.92) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 44px 36px 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  overflow: hidden;
}

.staircase-top-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.staircase-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.02;
  color: var(--text-primary);
}

.staircase-total-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  background: rgba(255, 141, 7, 0.12);
  border: 1.5px solid var(--xp-orange);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 0 25px rgba(255, 141, 7, 0.2);
}
.staircase-total-pill strong {
  color: var(--xp-orange);
  font-family: var(--font-display);
  font-size: 1.15rem;
}

/* Escada Ascendente Desktop (5 colunas conectadas por linha laranja em degraus) */
.staircase-stage {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr 1.2fr 1.2fr 1.25fr;
  align-items: stretch;
  position: relative;
  min-height: 430px;
}

.stair-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}

/* Cada coluna tem uma altura de degrau crescente da esquerda para a direita */
.stair-col.step-0 .stair-step-box { height: 74px; }
.stair-col.step-1 .stair-step-box { height: 145px; }
.stair-col.step-2 .stair-step-box { height: 220px; }
.stair-col.step-3 .stair-step-box { height: 295px; }
.stair-col.step-4 .stair-step-box { height: 370px; }

.stair-content {
  padding: 0 16px 18px 14px;
}

.stair-you-are-here {
  text-align: center;
  padding-bottom: 18px;
}
.stair-you-are-here .yah-title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.12;
  color: var(--xp-orange);
  margin-bottom: 6px;
}
.stair-you-are-here .yah-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.stair-days-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #08080A;
  background: var(--xp-orange);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.stair-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stair-desc {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-secondary);
  text-wrap: pretty;
}

/* O Degrau Laranja (Linha Horizontal no Topo + Riser Vertical na Esquerda) */
.stair-step-box {
  position: relative;
  border-top: 4px solid var(--xp-orange);
  border-left: 4px solid var(--xp-orange);
  background: linear-gradient(180deg, rgba(255, 141, 7, 0.09) 0%, rgba(255, 141, 7, 0.01) 100%);
  padding: 18px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.3s ease;
}
.stair-col.step-0 .stair-step-box {
  border-left: none;
  background: linear-gradient(180deg, rgba(255, 141, 7, 0.06) 0%, transparent 100%);
}
.stair-col:hover .stair-step-box {
  background: linear-gradient(180deg, rgba(255, 141, 7, 0.18) 0%, rgba(255, 141, 7, 0.03) 100%);
}

.stair-big-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.2vw, 4rem);
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.stair-goal-label {
  align-self: flex-end;
  text-align: right;
  margin-top: auto;
  padding-top: 12px;
}
.stair-goal-label .goal-main {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 2.5vw, 2.25rem);
  line-height: 1.05;
  color: var(--text-primary);
}
.stair-goal-label .goal-sub {
  font-size: 0.82rem;
  color: var(--xp-orange);
  font-weight: 600;
  margin-top: 4px;
}

/* ==========================================================================
   4. INVESTIMENTO E FORMAS DE PAGAMENTO + SIMULADOR SEM JUROS
   ========================================================================== */
.addon-toggle-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(255, 141, 7, 0.14) 0%, rgba(20, 20, 26, 0.92) 100%);
  border: 1.5px solid var(--xp-orange-border);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  margin-bottom: 32px;
  cursor: pointer;
  transition: var(--transition-fast);
}
.addon-toggle-card:hover {
  border-color: var(--xp-orange);
  box-shadow: 0 10px 30px rgba(255, 141, 7, 0.15);
}

.addon-info h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.addon-info p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.addon-switch-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.addon-price-tag {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--xp-orange);
}

.switch-pill {
  width: 56px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid var(--border-highlight);
  position: relative;
  transition: var(--transition-fast);
}
.switch-pill::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: var(--transition-fast);
}
.addon-toggle-card.active .switch-pill {
  background: var(--xp-orange);
  border-color: var(--xp-orange);
}
.addon-toggle-card.active .switch-pill::after {
  transform: translateX(26px);
  background: #08080A;
}

/* 3 Cards de Formas de Pagamento */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
}

.price-card {
  position: relative;
  background: linear-gradient(165deg, rgba(24, 24, 30, 0.92) 0%, rgba(11, 11, 14, 0.96) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-fast);
}
.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--xp-orange-border);
}

.price-card.featured {
  border: 2px solid var(--xp-orange);
  box-shadow: 0 20px 50px rgba(255, 141, 7, 0.18);
  background: linear-gradient(165deg, rgba(35, 24, 14, 0.92) 0%, rgba(12, 12, 16, 0.98) 100%);
}

.price-badge-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  margin-bottom: 16px;
}
.price-card.featured .price-badge-top {
  background: var(--xp-orange);
  color: #08080A;
}

.price-card-title {
  font-family: var(--font-display);
  font-size: 1.38rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.price-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 22px;
}

.price-value-block {
  margin-bottom: 22px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
}

.price-old {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.price-main {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.8vw, 2.4rem);
  color: var(--text-primary);
  line-height: 1.05;
}
.price-card.featured .price-main {
  color: var(--xp-orange);
}

.price-installment-highlight {
  font-size: 0.92rem;
  color: var(--xp-green);
  font-weight: 600;
  margin-top: 6px;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.price-features li strong {
  color: var(--text-primary);
}

.btn-select-plan {
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-highlight);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.94rem;
  transition: var(--transition-fast);
  text-align: center;
}
.btn-select-plan:hover {
  background: var(--xp-orange);
  border-color: var(--xp-orange);
  color: #08080A;
}
.price-card.featured .btn-select-plan {
  background: var(--xp-orange);
  border-color: var(--xp-orange);
  color: #08080A;
  box-shadow: 0 8px 24px var(--xp-orange-glow);
}
.price-card.featured .btn-select-plan:hover {
  background: var(--xp-orange-bright);
}

/* Simulador de Parcelas (1x a 12x SEM JUROS) */
.simulator-box {
  background: linear-gradient(160deg, rgba(22, 22, 28, 0.92) 0%, rgba(10, 10, 14, 0.96) 100%);
  border: 1.5px solid var(--xp-orange-border);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.55);
}

.sim-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.sim-title-group h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.sim-title-group p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  text-wrap: balance;
}

.sim-zero-interest-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--xp-green-soft);
  border: 1px solid rgba(22, 199, 132, 0.4);
  color: var(--xp-green);
  font-weight: 700;
  font-size: 0.84rem;
}

.sim-interactive-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

.sim-slider-panel {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.sim-slider-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.sim-slider-top span {
  font-size: 0.9rem;
  color: var(--text-secondary);
}
.sim-slider-top strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--xp-orange);
}

.xp-range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
  margin-bottom: 18px;
}
.xp-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--xp-orange);
  border: 3px solid #fff;
  box-shadow: 0 0 14px var(--xp-orange);
  cursor: pointer;
}

.sim-quick-pills {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
.sim-pill-btn {
  min-height: 42px;
  padding: 9px 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.84rem;
  transition: var(--transition-fast);
}
.sim-pill-btn:hover,
.sim-pill-btn.active {
  background: var(--xp-orange);
  border-color: var(--xp-orange);
  color: #08080A;
  font-weight: 700;
}

.sim-result-card {
  background: linear-gradient(145deg, rgba(255, 141, 7, 0.16) 0%, rgba(15, 15, 18, 0.95) 100%);
  border: 1.5px solid var(--xp-orange);
  border-radius: var(--radius-lg);
  padding: 26px;
  text-align: center;
}
.sim-result-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--xp-orange-bright);
  margin-bottom: 8px;
  font-weight: 700;
}
.sim-result-main {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  color: var(--text-primary);
  margin-bottom: 6px;
}
.sim-result-sub {
  font-size: 0.9rem;
  color: var(--xp-green);
  font-weight: 600;
  margin-bottom: 14px;
}
.sim-result-note {
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

/* Grade de Todas as Parcelas 1x a 12x Sem Juros */
.installments-grid-12 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.inst-cell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-fast);
}
.inst-cell:hover,
.inst-cell.active {
  border-color: var(--xp-orange);
  background: rgba(255, 141, 7, 0.13);
}
.inst-cell .inst-count {
  font-weight: 700;
  color: var(--xp-orange);
  font-size: 0.9rem;
}
.inst-cell .inst-val {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.9rem;
}
.inst-cell .inst-free {
  font-size: 0.7rem;
  color: var(--xp-green);
  font-weight: 700;
  text-transform: uppercase;
}

/* ==========================================================================
   5 & 7. CARDS NUMERADOS (PRÓXIMOS PASSOS & OUTRAS ENTREGAS — IMAGENS #4 E #5)
   ========================================================================== */
.numbered-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 24px;
  row-gap: 38px;
  margin-top: 28px;
}

.num-card {
  position: relative;
  background: linear-gradient(135deg, rgba(16, 16, 20, 0.95) 0%, rgba(34, 34, 40, 0.72) 50%, rgba(12, 12, 15, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  padding: 38px 22px 28px;
  text-align: center;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 132px;
}
.num-card:hover {
  transform: translateY(-4px);
  border-color: var(--xp-orange);
  box-shadow: 0 18px 42px rgba(255, 141, 7, 0.16);
}

/* Círculo Laranja no Topo Central da Caixa (Idêntico às Imagens #4 e #5) */
.num-badge-circle {
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--xp-orange);
  color: #08080A;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(255, 141, 7, 0.45);
  border: 2px solid #08080A;
}

.num-card-title {
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.38;
  max-width: 260px;
  text-wrap: balance;
}

.num-card-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* Seleção interativa nas Outras Entregas */
.num-card.selectable {
  cursor: pointer;
}
.num-card.selectable.selected {
  border-color: var(--xp-orange);
  background: linear-gradient(135deg, rgba(255, 141, 7, 0.22) 0%, rgba(22, 22, 28, 0.95) 100%);
}
.num-card.selectable .extra-interest-pill {
  margin-top: 12px;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  transition: var(--transition-fast);
}
.num-card.selectable.selected .extra-interest-pill {
  background: var(--xp-orange);
  color: #08080A;
  border-color: var(--xp-orange);
}

/* ==========================================================================
   6. SOBRE MIM (GUILHERME NOGUEIRA — IMAGEM #1) + MAPA MUNDI (IMAGEM #2)
   ========================================================================== */
.bio-showcase-card {
  position: relative;
  background: linear-gradient(125deg, #0b0b0e 0%, #141419 55%, #09090b 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
  margin-bottom: 36px;
}

.bio-text-col {
  padding: 52px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.bio-name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  color: var(--text-primary);
  margin-bottom: 26px;
  line-height: 1.05;
}

.bio-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bio-bullets li {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  color: var(--text-primary);
  line-height: 1.4;
  display: flex;
  align-items: center;
  gap: 12px;
}
.bio-bullets li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--xp-orange);
  box-shadow: 0 0 8px var(--xp-orange);
  flex-shrink: 0;
}

.bio-visual-col {
  position: relative;
  min-height: 440px;
  background: #060608;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  overflow: hidden;
}
.bio-visual-col img.bio-collage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

/* Card do Mapa Mundi (+500 Empresários Atendidos — Imagem #2) */
.world-map-card {
  position: relative;
  background: #070709;
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 36px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
}

.world-map-visual-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
}
.world-map-visual-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.world-countries-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.countries-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.country-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(255, 141, 7, 0.1);
  border: 1px solid rgba(255, 141, 7, 0.3);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
}
.country-chip::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--xp-orange);
}

/* ==========================================================================
   8. ANIMAÇÃO WEBGL DE PONTOS LARANJA (IMAGEM #7) + CARD FINAL "PARABÉNS!" (IMAGEM #6)
   ========================================================================== */
.cta-webgl-section {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 0 96px;
  overflow: hidden;
  background: #060608;
  border-bottom: 1px solid var(--border-subtle);
}

#xispeh-arc-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.cta-webgl-content {
  position: relative;
  z-index: 3;
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-xispeh-mark {
  width: 58px;
  height: 58px;
  margin-bottom: 26px;
  filter: drop-shadow(0 0 20px rgba(255, 141, 7, 0.55));
}

.cta-webgl-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.06;
  color: #FFFFFF;
  margin-bottom: 18px;
  text-wrap: balance;
}

.cta-webgl-sub {
  font-size: clamp(0.98rem, 1.4vw, 1.12rem);
  color: var(--text-secondary);
  max-width: 520px;
  margin-bottom: 36px;
  text-wrap: balance;
}

/* Botão Principal "Quero fechar agora" idêntico à Imagem #7 (porém Laranja Xispeh) */
.nexus-cta-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 310px;
  padding: 9px 9px 9px 32px;
  border-radius: 20px;
  background: rgba(28, 20, 14, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 141, 7, 0.42);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 600;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.65), 0 0 35px rgba(255, 141, 7, 0.22);
  transition: var(--transition-smooth);
}
.nexus-cta-pill .pill-box-arrow {
  width: 78px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FF9D24 0%, #FF6B00 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(255, 141, 7, 0.55);
  transition: var(--transition-smooth);
}
.nexus-cta-pill:hover {
  border-color: var(--xp-orange);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 60px rgba(255, 141, 7, 0.35);
}
.nexus-cta-pill:hover .pill-box-arrow {
  width: 92px;
  background: linear-gradient(135deg, #FFB84D 0%, #FF8D07 100%);
}

/* Card Final "Parabéns!" (Idêntico à Imagem #6) */
.parabens-section {
  padding: 72px 0 88px;
  background: #050507;
  position: relative;
}

.parabens-card {
  position: relative;
  background: #0a0a0d;
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 460px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.75);
}

.parabens-left {
  position: relative;
  padding: 56px 52px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 141, 7, 0.12) 0%, transparent 55%),
    linear-gradient(135deg, rgba(10, 10, 14, 0.94) 0%, rgba(16, 16, 22, 0.88) 100%);
}

.parabens-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.02;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.parabens-quote {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.28;
  color: var(--text-primary);
  max-width: 460px;
  margin-bottom: 40px;
}
.parabens-quote strong {
  color: var(--xp-orange);
  font-weight: 700;
}

.parabens-contact-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: #FFFFFF;
  margin-bottom: 12px;
}

.parabens-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.parabens-contact-list a {
  font-size: 1.05rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 0;
  gap: 8px;
}
.parabens-contact-list a:hover {
  color: var(--xp-orange);
}

.parabens-right {
  position: relative;
  min-height: 360px;
  background: #08080a;
  overflow: hidden;
}
.parabens-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) contrast(1.12);
}

/* ==========================================================================
   RESPONSIVIDADE MOBILE-FIRST (TABLET & CELULAR 375px)
   ========================================================================== */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .impl-grid,
  .pricing-grid,
  .sim-interactive-row,
  .bio-showcase-card,
  .parabens-card {
    grid-template-columns: 1fr;
  }
  .numbered-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Escada vira timeline vertical ascendente limpa no mobile/tablet */
  .staircase-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 18px;
  }
  .stair-col.step-0 .stair-step-box,
  .stair-col.step-1 .stair-step-box,
  .stair-col.step-2 .stair-step-box,
  .stair-col.step-3 .stair-step-box,
  .stair-col.step-4 .stair-step-box {
    height: auto;
  }
  .stair-col {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--xp-orange);
    border-radius: 14px;
    padding: 18px;
  }
  .stair-content {
    padding: 0 0 12px 0;
  }
  .stair-step-box {
    border-left: none;
    border-top: 1px solid rgba(255, 141, 7, 0.3);
    padding: 12px 0 0 0;
    background: none;
    flex-direction: row;
    align-items: center;
  }
  .installments-grid-12 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .section-block {
    padding: 64px 0;
  }
  .container {
    padding: 0 18px;
  }
  .hero-section {
    padding: 48px 0 56px;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
  .numbered-cards-grid {
    grid-template-columns: 1fr;
    row-gap: 32px;
  }
  .staircase-wrapper {
    padding: 26px 18px;
  }
  .simulator-box {
    padding: 22px 16px;
  }
  .sim-quick-pills {
    grid-template-columns: repeat(3, 1fr);
  }
  .installments-grid-12 {
    grid-template-columns: 1fr;
  }
  .addon-toggle-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .bio-text-col,
  .parabens-left {
    padding: 32px 22px;
  }
  .world-map-card {
    padding: 20px 16px;
  }
  .nexus-cta-pill {
    min-width: 100%;
    padding: 8px 8px 8px 20px;
    gap: 14px;
  }
}
