
.particle-stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
#particle-canvas { width: 100%; height: 100%; display: block; }

.site-shell { position: relative; z-index: 10; }

.hero {
  position: relative;
  height: 100vh;
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
  padding: 0 8vw;
}
.hero-content { max-width: 760px; }

.kicker {
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  opacity: 0.7;
  margin-bottom: 2rem;
  text-transform: uppercase;
  display: none !important;
}
.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 580px;
}

/* Sección pinneada: scroll-track de 700vh */
.story-pinned {
  position: relative;
  height: 700vh;
}

.story-copy {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 8vw 10vh;
  max-width: 680px;
  opacity: 0;
  pointer-events: none;
}
.story-copy h2 {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.story-copy p {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.75;
}
.scramble-target { color: var(--gold); }

.cta-group { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; opacity: 0; }
.cta-primary, .cta-secondary {
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 2px;
  transition: opacity 0.2s;
}
.cta-primary  { background: var(--gold); color: #06060a; }
.cta-secondary { border: 1px solid var(--gold-dim); color: var(--gold); }
.cta-primary:hover, .cta-secondary:hover { opacity: 0.75; }

.modulos-section { padding: 12vh 8vw; }
.modulos-titulo {
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 4px;
  color: var(--gold);
  opacity: 0.6;
  text-transform: uppercase;
  margin-bottom: 3rem;
}
.modulos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: rgba(201,168,76,0.08);
}
.modulo-card {
  background: var(--dark);
  padding: 2.5rem 2rem;
  text-decoration: none;
  color: var(--text);
  transition: background 0.2s;
}
.modulo-card:hover { background: rgba(201,168,76,0.04); }
.modulo-badge {
  display: inline-block;
  font-family: var(--font-main);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(201,168,76,0.6);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}
.modulo-label {
  display: block;
  font-family: var(--font-main);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}
.modulo-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 768px) {

  .hero {
    padding: 0 6vw;
    align-items: flex-end;
    padding-bottom: 12vh;
  }

  .hero-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .hero-sub {
    font-size: 0.95rem;
  }

  .story-copy {
    justify-content: flex-end;
    padding: 0 6vw 10vh;
    max-width: 100%;
  }

  .story-copy h2 {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
  }

  .story-copy p {
    font-size: 0.9rem;
  }

  .cta-group {
    flex-direction: column;
    gap: 0.75rem;
  }

  .cta-primary, .cta-secondary {
    text-align: center;
  }

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

@media (max-width: 480px) {
  .modulos-grid {
    grid-template-columns: 1fr;
  }
}
