@font-face {
font-family: 'Bricolage Grotesque';
font-style: normal;
font-weight: 400 800;
font-display: swap;
src: url(assets/bricolage-grotesque.woff2) format('woff2');
}

@font-face {
font-family: 'Work Sans';
font-style: normal;
font-weight: 400 600;
font-display: swap;
src: url(assets/work-sans.woff2) format('woff2');
}

:root {
  --bg: #05070a;
  --bg-raised: #10141c;
  --yellow: #ffcd00;
  --yellow-dim: rgba(255, 205, 0, 0.16);
  --blue: #4c8aff;
  --blue-soft: #93b6ff;
  --blue-dim: rgba(76, 138, 255, 0.14);
  --text: #f5f8fb;
  --text-secondary: #aab4c2;
  --text-muted: #6b7484;
  --border: rgba(245, 248, 251, 0.1);
  --font-display: 'Bricolage Grotesque', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Work Sans', -apple-system, 'Segoe UI', sans-serif;
  --font-mono: ui-monospace, 'Cascadia Code', 'SFMono-Regular', Consolas, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

html { overflow-x: hidden; }

a { color: inherit; }
img { max-width: 100%; display: block; }
em { font-style: italic; }
p, h1, h2, h3, h4 { overflow-wrap: break-word; }

#bgCanvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.wrap {
  width: 100%;
  max-width: 720px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
}

/* ---------- cinematic reveal ---------- */

.js-ready .reveal {
  opacity: 0;
  filter: blur(6px);
  transform: translateY(26px) scale(.97);
  transition: opacity .9s var(--ease), filter .9s var(--ease), transform .9s var(--ease);
}
.js-ready .reveal.in-view { opacity: 1; filter: blur(0); transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; filter: none; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- SCROLL RAIL (mission progress) ---------- */

.scroll-rail {
  position: fixed;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 30;
}

.rail-label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.rail-track {
  position: relative;
  width: 1px;
  height: 220px;
  background: var(--border);
}

.rail-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(var(--blue-soft), var(--blue));
  box-shadow: 0 0 8px rgba(76,138,255,.7);
}

.rail-rocket {
  position: absolute;
  left: 50%;
  top: 0;
  width: 18px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 8px rgba(76, 138, 255, .7));
}

@media (max-width: 1080px) {
  .scroll-rail { display: none; }
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  z-index: 1;
  padding: 130px 0 100px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -10%;
  left: 50%;
  width: 1000px;
  height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(76,138,255,0.2) 0%, rgba(76,138,255,0.06) 42%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#heroParallax {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  min-width: 0;
  will-change: transform, opacity;
}

.hero-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 100%;
  margin: 0 0 34px;
  opacity: 0;
  animation: rise-in .7s var(--ease) .1s forwards;
}

.hero-kicker .rule { width: 22px; height: 1px; background: var(--blue); }

.eyebrow {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-soft);
}

@keyframes rise-in {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.hero-logo {
  display: block;
  width: min(520px, 72vw);
  height: auto;
  margin: 0 auto 40px;
  opacity: 0;
  animation: logo-in .9s var(--ease) .2s forwards;
  filter: drop-shadow(0 0 40px rgba(76,138,255,.25));
}

@keyframes logo-in {
  from { opacity: 0; transform: scale(.92) translateY(14px); }
  to { opacity: 1; transform: none; }
}

.hero-sub {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3.6vw, 36px);
  line-height: 1.3;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 28px;
  text-wrap: balance;
  opacity: 0;
  animation: rise-in .8s var(--ease) .38s forwards;
}

.hero-sub em { color: var(--blue); font-style: italic; }

.hero-byline {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  opacity: 0;
  animation: rise-in .8s var(--ease) .54s forwards;
}

@media (prefers-reduced-motion: reduce) {
  .hero-logo, .hero-kicker, .hero-sub, .hero-byline { opacity: 1; animation: none; }
}

/* ---------- NAV PILLS ---------- */

.tabbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 7, 10, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.tabbar-inner {
  max-width: 1340px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
}

/* botao do edital, encostado na direita da barra */
.tab-edital {
  position: absolute;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  padding: 11px 22px;
  font-size: 14px;
}

@media (max-width: 1200px) {
  .tab-edital { position: static; transform: none; }
}

/* no celular a barra vira uma linha so, que rola de lado —
   empilhada ela comia quase um terco da tela e fica fixa no topo */
@media (max-width: 680px) {
  .tabbar { padding: 12px 0; }

  .tabbar-inner {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
  }

  .tabbar-inner::-webkit-scrollbar { display: none; }

  .tab-btn {
    flex: 0 0 auto;
    padding: 9px 16px;
    font-size: 14px;
  }

  .tab-btn.cta-outline { margin-left: 0; }
}

.tab-btn {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(245, 248, 251, 0.045);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .25s var(--ease);
}

.tab-btn:hover {
  background: rgba(76, 138, 255, 0.12);
  border-color: rgba(76, 138, 255, 0.55);
  color: var(--text);
  transform: translateY(-1px);
}

.tab-btn.active {
  background: var(--blue);
  color: #05070a;
  border-color: var(--blue);
  font-weight: 700;
  box-shadow: 0 6px 24px rgba(76, 138, 255, 0.4);
}

.tab-btn.active:hover {
  background: var(--blue);
  color: #05070a;
  transform: none;
}

.tab-btn.cta-outline {
  position: relative;
  color: var(--yellow);
  border: 1px solid var(--yellow);
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-left: 8px;
  animation: cta-pulse 2.6s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,205,0,.35); }
  50% { box-shadow: 0 0 0 6px rgba(255,205,0,0); }
}

.tab-btn.cta-outline:hover {
  background: var(--yellow);
  color: #1a1400;
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .tab-btn.cta-outline { animation: none; }
}

/* ---------- PANELS ---------- */

.panel {
  position: relative;
  z-index: 1;
  display: none;
  padding: 100px 0 104px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  text-align: center;
}
.panel.active { display: block; }
.panel.panel-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .panel { transition: none; }
  .panel.active { opacity: 1; transform: none; }
}

.eyebrow-label {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--blue-soft);
  margin: 0 0 14px;
}

.panel h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5.4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 auto 30px;
  max-width: 620px;
  text-wrap: balance;
}

.panel h2 em { color: var(--blue); }

.lede {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 3vw, 28px);
  line-height: 1.4;
  color: var(--text);
  max-width: 640px;
  margin: 0 auto 64px;
}

.credibility {
  font-size: 19px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 40px;
}

.credibility strong { color: var(--text); font-weight: 700; }

/* testimonials */

.testimonial-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 760px;
  margin: 0 auto 24px;
  text-align: left;
}

@media (max-width: 760px) {
  .testimonial-row { grid-template-columns: 1fr; }
}

.testimonial-row blockquote {
  margin: 0;
  padding: 2px 0 2px 16px;
  border-left: 2px solid var(--blue);
}

.testimonial-row blockquote p {
  font-style: italic;
  font-size: 15px;
  color: var(--text);
  margin: 0 0 12px;
  line-height: 1.5;
}

.testimonial-row cite {
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
}

.testimonial-row cite span {
  display: block;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 2px;
}

.testimonial-note {
  font-size: 13px;
  font-style: italic;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 56px;
}

/* porque = the "convince" panel: bigger, bolder, tighter — authoritative -> provocative arc */

#panel-porque h2 {
  font-weight: 800;
  font-size: clamp(38px, 6.2vw, 62px);
  letter-spacing: -0.03em;
  max-width: 680px;
}

#panel-porque .lede {
  font-weight: 700;
  font-size: clamp(22px, 3vw, 29px);
  max-width: 660px;
}

/* big stats — no boxes, just type */

.stat-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px 56px;
  margin: 0 auto 80px;
}

.stat-num {
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
}

/* editorial feature list */

.feature-list {
  max-width: 600px;
  margin: 0 auto 56px;
  text-align: left;
}

.feature-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 22px 4px;
  border-top: 1px solid var(--border);
  border-radius: 8px;
  transition: background .3s var(--ease), padding-left .3s var(--ease);
}

.feature-row:hover { background: rgba(76,138,255,.05); padding-left: 12px; }

.feature-list .feature-row:last-child { border-bottom: 1px solid var(--border); }

.feature-row .f-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-soft);
}

.feature-row p {
  margin: 0;
  font-size: 16px;
  color: var(--text-secondary);
}

@media (max-width: 560px) {
  .feature-row { grid-template-columns: 1fr; gap: 6px; }
}

/* curriculum — 8 modules, real content, ordered so numbering carries meaning */

.module-intro {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.module-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
  max-width: 780px;
  margin: 0 auto 56px;
  text-align: left;
}

@media (max-width: 640px) {
  .module-list { grid-template-columns: 1fr; gap: 24px; }
}

.module-item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; }

.m-num {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
  padding-top: 3px;
}

.module-item h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 6px;
}

.module-item p {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* benefit list — 3D tilt cards, reacts to cursor */

.benefit-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 700px;
  margin: 0 auto 56px;
  text-align: left;
  perspective: 900px;
}

@media (max-width: 640px) {
  .benefit-list { grid-template-columns: 1fr; }
}

.benefit-item {
  padding: 22px 24px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(76,138,255,.07), rgba(76,138,255,0) 60%);
  border: 1px solid var(--border);
  transform: rotateX(var(--ry, 0)) rotateY(var(--rx, 0));
  transition: transform .25s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}

.benefit-item:hover {
  border-color: rgba(76,138,255,.4);
  background: linear-gradient(160deg, rgba(76,138,255,.13), rgba(76,138,255,0) 65%);
}

@media (prefers-reduced-motion: reduce) {
  .benefit-item { transform: none !important; }
}

.benefit-item h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 8px;
}

.benefit-item p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* timeline — centered, alternating, soft glowing line */

.timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto 56px;
  padding: 4px 0;
  text-align: left;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(var(--bg), var(--border) 8%, var(--border) 92%, var(--bg));
  transform: translateX(-50%);
}

.tl-row {
  position: relative;
  display: flex;
  justify-content: flex-end;
  padding: 0 0 42px;
}

.tl-row:last-child { padding-bottom: 4px; }
.tl-row:nth-child(even) { justify-content: flex-start; }

.tl-row::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin-left: -4.5px;
  border-radius: 50%;
  background: var(--bg);
  border: 1.5px solid var(--blue);
  z-index: 1;
  transition: background .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease);
}

.tl-row:hover::before { background: var(--blue); transform: scale(1.4); box-shadow: 0 0 12px rgba(76,138,255,.8); }

.tl-card { width: calc(50% - 30px); text-align: right; }
.tl-row:nth-child(even) .tl-card { text-align: left; }

.tl-date {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--blue-soft);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 7px;
}

.tl-text { font-size: 16px; color: var(--text); font-weight: 600; display: block; }

.tl-sub {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 5px;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .timeline::before { left: 4px; }
  .tl-row, .tl-row:nth-child(even) { justify-content: flex-start; }
  .tl-row::before { left: 4px; }
  .tl-card, .tl-row:nth-child(even) .tl-card { width: 100%; text-align: left; padding-left: 26px; }
}

/* cta */

.cta-inline {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--yellow);
  background: transparent;
  border: 1px solid var(--yellow);
  border-radius: 999px;
  padding: 14px 28px;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}

.cta-inline:hover {
  background: var(--yellow);
  color: #1a1400;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,205,0,.25);
}

/* botao secundario — azul, para o edital. O amarelo fica so na inscricao. */

.cta-secondary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--blue-soft);
  background: transparent;
  border: 1px solid var(--blue);
  border-radius: 999px;
  padding: 14px 28px;
  text-decoration: none;
  transition: background .25s var(--ease), color .25s var(--ease), transform .2s var(--ease), box-shadow .25s var(--ease);
}

.cta-secondary:hover {
  background: var(--blue);
  color: #05070a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(76,138,255,.25);
}

.cta-duo {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 48px 0 8px;
}

.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin: 48px 0 8px;
}

/* footer */

footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 100px 0 48px;
  text-align: center;
}

footer .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 4.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 540px;
  margin: 0 auto 36px;
  text-wrap: balance;
}

.footer-line em { color: var(--blue); }

.footer-contato {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 40px;
  font-size: 15px;
  color: var(--text-secondary);
}

.footer-contato .fc-label {
  display: block;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer-contato a {
  color: var(--blue-soft);
  text-decoration: none;
}

.footer-contato a:hover { text-decoration: underline; }

.footer-meta {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  width: 100%;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
