/* ============================================================
   SEÇÃO 1 — HERO
   ============================================================ */
#secao-1 {
  display: flex;
  flex-direction: column;
  padding-top: 0px; /* altura da navbar */
  min-height: 120vh;
}

/* Orbs decorativos */
#secao-1 .s1-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
#secao-1 .s1-orb--tl {
  width: 600px; height: 600px;
  top: -150px; left: -100px;
  background: radial-gradient(circle, rgba(30,144,255,0.06) 0%, transparent 65%);
  filter: blur(60px);
}
#secao-1 .s1-orb--br {
  width: 500px; height: 500px;
  bottom: 80px; right: -100px;
  background: radial-gradient(circle, rgba(0,212,255,0.07) 0%, transparent 65%);
  filter: blur(60px);
}
#secao-1 .s1-orb--center {
  width: 700px; height: 700px;
  bottom: 100px; left: 30%;
  background: radial-gradient(circle, rgba(0,212,255,0.04) 0%, transparent 65%);
  filter: blur(80px);
}

/* Grade de fundo */
#secao-1 .s1-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(30,144,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30,144,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Container principal */
#secao-1 .s1-main {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: calc(100vh - 58px);
  position: relative;
}

/* ── TOPO ── */
#secao-1 .s1-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 100px 5% 0;
  position: relative;
  z-index: 10;
}

#secao-1 .s1-top-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#secao-1 .s1-title {
  font-size: clamp(2rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--text-white);
  letter-spacing: -0.02em;
  opacity: 0;
}

#secao-1 .s1-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  color: var(--blue-accent);
  opacity: 0;
}

#secao-1 .s1-title-line {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-accent), transparent);
  border-radius: 2px;
  margin-top: 4px;
  max-width: 320px;
}

/* ── TAG FASE COLETIVA ── */
#secao-1 .s1-tag-coletiva {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(0, 20, 50, 0.75);
  border: 1px solid rgba(0, 212, 255, 0.45);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  opacity: 0;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(0, 212, 255, 0.15);
}

#secao-1 .s1-tag-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.12);
  border: 1.5px solid rgba(0, 212, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
  flex-shrink: 0;
}

#secao-1 .s1-tag-icon svg {
  width: 20px; height: 20px;
}

#secao-1 .s1-tag-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#secao-1 .s1-tag-text strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-accent);
  letter-spacing: 0.08em;
}

#secao-1 .s1-tag-text span {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* ── CENA CENTRAL (trilha + pessoa + pins) ── */
#secao-1 .s1-scene {
  flex: 1;
  position: relative;
  width: 100%;
  min-height: 300px;
  margin-bottom: 70px;
}

/* Container da trilha SVG */
#secao-1 .s1-trail-container {
  position: absolute;
  right: 0; bottom: -20px;
  width: 72%;
  height: 100%;
  pointer-events: none;
}

#secao-1 .s1-trail-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* ── IMAGEM DA PESSOA ── */
#secao-1 .s1-person-wrap {
  position: absolute;
  left: 50%;
  bottom: -150px;
  width: clamp(260px, 28vw, 400px);
  transform: translateX(-50%);
  z-index: 5;
  opacity: 0;
}

#secao-1 .s1-person-img {
  width: 110%;
  height: auto;
  display: block;
  /* Máscara para fundir a base da imagem com o fundo */
  -webkit-mask-image: linear-gradient(
    to top,
    transparent 0%,
    rgba(0,0,0,0.5) 12%,
    black 30%,
    black 100%
  );
  mask-image: linear-gradient(
    to top,
    transparent 0%,
    rgba(0,0,0,0.5) 12%,
    black 30%,
    black 100%
  );
  filter: brightness(0.88) contrast(1.05);
}

/* Glow azul na base da pessoa */
#secao-1 .s1-person-glow {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 60px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.3) 0%, transparent 70%);
  filter: blur(12px);
  pointer-events: none;
}

/* ── PINS DOS MÓDULOS ── */
#secao-1 .s1-pin {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  z-index: 8;
  padding: 170px 0;

}

/* Posicionamentos dos pins na cena */
#secao-1 .s1-pin--m1 {
  left: 24%;
  bottom: 10%;
  flex-direction: row;
  align-items: flex-end;
  gap: 14px;
}

#secao-1 .s1-pin--m2 {
  left: 54%;
  bottom: 42%;
  flex-direction: row;
  align-items: flex-end;
  gap: 14px;
}

#secao-1 .s1-pin--m3 {
  left: 70%;
  bottom: 56%;
  flex-direction: row;
  align-items: flex-end;
  gap: 14px;
}

#secao-1 .s1-pin--dest {
  right: 6%;
  top: 4%;
}

/* Bolha circular do pin */
#secao-1 .s1-pin-bubble {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: rgba(5, 20, 50, 0.85);
  border: 1.5px solid rgba(0, 212, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 20px rgba(0, 212, 255, 0.25),
    inset 0 0 16px rgba(0, 212, 255, 0.08);
  flex-shrink: 0;
  position: relative;
}

#secao-1 .s1-pin-bubble--dest {
  width: 80px; height: 80px;
  border-color: var(--blue-accent);
  box-shadow:
    0 0 40px rgba(0, 212, 255, 0.5),
    0 0 80px rgba(0, 212, 255, 0.25),
    inset 0 0 24px rgba(0, 212, 255, 0.12);
  background: rgba(0, 30, 70, 0.9);
}

#secao-1 .s1-pin-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-accent);
}

#secao-1 .s1-pin-icon svg {
  width: 100%; height: 100%;
}

/* Haste do pin */
#secao-1 .s1-pin-needle {
  width: 2px;
  height: 22px;
  background: linear-gradient(to bottom, var(--blue-accent), transparent);
  margin-top: -2px;
  display: none; /* pins horizontais não usam haste */
}

/* Pinos verticais (destino) usam haste */
#secao-1 .s1-pin--dest .s1-pin-needle {
  display: block;
}
#secao-1 .s1-pin-needle--dest {
  height: 28px;
  background: linear-gradient(to bottom, var(--blue-accent), transparent);
}

/* Sombra oval na base do pin */
#secao-1 .s1-pin-shadow {
  display: none;
}
#secao-1 .s1-pin--dest .s1-pin-shadow {
  display: block;
  width: 48px; height: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,212,255,0.5) 0%, transparent 70%);
  filter: blur(4px);
  margin-top: -2px;
}

/* Label do pin (texto ao lado) */
#secao-1 .s1-pin-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 8px;
}

#secao-1 .s1-pin-label strong {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--xp-gold);
  letter-spacing: 0.05em;
  display: block;
}

#secao-1 .s1-pin-label span {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
  display: block;
}

#secao-1 .s1-pin-label--right {
  order: -1; /* label antes da bolha */
  text-align: right;
}

/* ── RODAPÉ — 3 cards + botão ── */
#secao-1 .s1-footer {
  display: flex;
  align-items: stretch;
  gap: 14px;
  padding: 24px 4% 36px;
  position: relative;
  z-index: 10;
}

/* Cards de etapa */
#secao-1 .s1-card {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  padding: 12px 14px;
  background: rgba(4, 18, 44, 0.75);
  border: 1px solid rgba(30, 144, 255, 0.28);
  border-radius: 18px;
  backdrop-filter: blur(12px);
  cursor: none;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
  opacity: 0;
  min-height: 90px;
}

#secao-1 .s1-card:hover {
  background: rgba(8, 35, 80, 0.9);
  border-color: rgba(0, 212, 255, 0.5);
  box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
}

/* Ícone do card */
#secao-1 .s1-card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 212, 255, 0.5);
  background: rgba(0, 212, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue-accent);
  transition: box-shadow 0.3s;
}

#secao-1 .s1-card:hover .s1-card-icon {
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

#secao-1 .s1-card-icon svg {
  width: 26px; height: 26px;
}

/* Label do card */
#secao-1 .s1-card-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.3;
}

/* Card XP */
#secao-1 .s1-card--xp .s1-card-icon--xp {
  border-color: rgba(255, 215, 0, 0.5);
  background: rgba(255, 215, 0, 0.07);
}

#secao-1 .s1-xp-ring {
  position: relative;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 215, 0, 0.6);
  border-radius: 50%;
}

#secao-1 .s1-xp-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--xp-gold);
  line-height: 1;
}

#secao-1 .s1-xp-star {
  position: absolute;
  top: -6px; right: -6px;
  font-size: 0.55rem;
  color: var(--xp-gold);
  animation: spin-star 3s linear infinite;
}

@keyframes spin-star {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── BOTÃO COMEÇAR ── */
#secao-1 .s1-cta {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0;
  background: linear-gradient(135deg, #1a7ee8 0%, #00C8F0 100%);
  border: none;
  border-radius: 15px;
  cursor: none;
  box-shadow:
    0 0 40px rgba(0, 212, 255, 0.4),
    0 0 80px rgba(0, 212, 255, 0.15);
  transition: box-shadow 0.3s, transform 0.2s;
  white-space: nowrap;
  min-width: 220px;
  min-height: 90px;
  flex-shrink: 0;
  overflow: hidden;
  opacity: 0;
  position: relative;
}

#secao-1 .s1-cta span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: #fff;
  padding: 0 28px 0 36px;
  flex: 1;
  text-align: center;
  letter-spacing: -0.01em;
}

#secao-1 .s1-cta-arrow {
  width: 70px; height: 100%;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.18);
  color: #fff;
  flex-shrink: 0;
  border-left: 1px solid rgba(255,255,255,0.15);
}

#secao-1 .s1-cta:hover {
  box-shadow:
    0 0 60px rgba(0, 212, 255, 0.65),
    0 0 120px rgba(0, 212, 255, 0.3);
}

/* ── RESPONSIVIDADE ── */
@media (max-width: 1100px) {
  #secao-1 .s1-pin--m3 { left: 66%; }
  #secao-1 .s1-trail-container { width: 78%; }
}

@media (max-width: 900px) {
  #secao-1 .s1-top { flex-direction: column; gap: 16px; }
  #secao-1 .s1-tag-coletiva { align-self: flex-start; }
  #secao-1 .s1-footer { flex-wrap: wrap; }
  #secao-1 .s1-card { flex: 1 1 calc(50% - 14px); min-width: 200px; }
  #secao-1 .s1-cta { flex: 1 1 100%; min-width: unset; justify-content: center; }
  #secao-1 .s1-pin--m2, #secao-1 .s1-pin--m3 { display: none; }
  #secao-1 .s1-person-wrap { left: 28%; }
  .nav-title, .nav-sep { display: none; }
}

@media (max-width: 600px) {
  #secao-1 .s1-top { padding: 70px 5% 0; }
  #secao-1 .s1-footer { padding: 16px 4% 24px; gap: 10px; }
  #secao-1 .s1-card { flex: 1 1 100%; }
  #secao-1 .s1-title { font-size: 2.2rem; }
  #secao-1 .s1-person-wrap { left: 50%; width: 80vw; }
  #secao-1 .s1-pin--m1 { display: none; }
  #secao-1 .s1-trail-container { width: 100%; }
  #secao-1 .s1-cta { min-height: 76px; }
  #secao-1 .s1-cta span { font-size: 1.2rem; }
  #secao-1 .s1-cta-arrow { width: 56px; min-height: 76px; }
}



/* ============================================================
   SCROLL SNAP — SISTEMA DE SLIDES 100VH
   Adicionar ao FINAL do style.css
   ============================================================ */

/* Remove o scroll do body — quem scrolla é o container */
html, body {
  height: 100%;
  overflow: hidden;
}

/* Container principal que recebe o scroll */
#scroll-container {
  height: 100vh;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  /* Scrollbar estilizada */
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 212, 255, 0.3) transparent;
}

#scroll-container::-webkit-scrollbar {
  width: 4px;
}

#scroll-container::-webkit-scrollbar-track {
  background: transparent;
}

#scroll-container::-webkit-scrollbar-thumb {
  background: rgba(0, 212, 255, 0.3);
  border-radius: 4px;
}

#scroll-container::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 212, 255, 0.6);
}

/* Cada seção é um slide de 100vh */
.page {
  min-height: 100vh;
  height: 100vh;           /* altura fixa de um slide */
  scroll-snap-align: start;
  scroll-snap-stop: always;
  overflow: hidden;        /* conteúdo não vaza para o próximo slide */
  box-sizing: border-box;
}

/* Indicador de progresso lateral (dots de navegação) */
#slide-nav {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 300;
  pointer-events: all;
}

.slide-nav-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 212, 255, 0.5);
  background: transparent;
  cursor: none;
  transition: background 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.slide-nav-dot.active {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.7);
}

.slide-nav-dot:hover {
  background: rgba(0, 212, 255, 0.4);
  border-color: var(--blue-accent);
  transform: scale(1.3);
}

/* Indicador de seção atual (canto inferior esquerdo) */
#slide-counter {
  position: fixed;
  bottom: 28px;
  left: 5%;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

#slide-counter .current-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blue-accent);
}

#slide-counter .total-num {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Seta "scroll para baixo" (primeira seção) */
#scroll-hint {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  z-index: 300;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.4s;
}

#scroll-hint.hidden {
  opacity: 0;
}

#scroll-hint span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

#scroll-hint svg {
  animation: bounce-arrow 1.8s ease-in-out infinite;
  color: var(--blue-accent);
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(7px); opacity: 0.5; }
}

/* ── Responsividade do Snap ── */
@media (max-width: 768px) {
  /* Em mobile, permitir scroll livre dentro das seções
     que tenham conteúdo maior que 100vh */
  .page {
    height: auto;
    min-height: 100vh;
    scroll-snap-align: start;
    overflow-y: auto;
  }

  #slide-nav { display: none; }

  #slide-counter {
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
  }
}