/* =========================================================
   Formação IA na Prática — by Nexo
   Direção: editorial de capa. Tipografia grande, sobreposição
   real, blocos chapados, cantos retos, sombra dura.
   ========================================================= */

:root {
  /* paleta oficial da Nexo: preto, amarelo e branco */
  --bg:       #000000;
  --bg-2:     #070707;
  --card:     #0b0b0b;
  --line:     #232323;
  --line-2:   #171717;

  --gold:     #fec80c;
  --gold-2:   #ffd740;
  --gold-dk:  #c9a000;
  --gold-08:  rgba(254, 200, 12, .08);
  --gold-14:  rgba(254, 200, 12, .14);
  --gold-38:  rgba(254, 200, 12, .38);

  --paper:    #ffffff;
  --ink:      #000000;

  --white:    #ffffff;
  --muted:    #a7a7a7;
  --dim:      #6f6f6f;

  --display: "Inter", system-ui, sans-serif;
  --body:    "Inter", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, monospace;
  --serif:   "Inter", system-ui, sans-serif;

  --r: 4px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --soft: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
  /* o marquee e o trilho de provas são mais largos que a tela de propósito:
     o corte precisa estar aqui também, senão o celular ganha uns pixels de rolagem lateral */
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--muted);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* colunas de fundo, sutis, dão estrutura de página impressa */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 25% 100%;
  background-position: 12.5% 0;
}

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--white);
  margin: 0;
  line-height: 1;
  letter-spacing: -.035em;
}

p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }

::selection { background: var(--gold); color: #fff; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 26px;
  position: relative;
  z-index: 1;
}
.container-narrow { max-width: 860px; }

.page { position: relative; z-index: 1; }

/* marca-texto */
.mark {
  display: inline-block;
  background: var(--gold);
  color: #000;
  padding: 0 .14em .04em;
  transform: rotate(-1.4deg);
}
.mark-blue { background: var(--gold); color: #000; }
.hl { color: var(--gold); }
.section-light .hl { color: #000; -webkit-text-decoration: underline 6px var(--gold); text-decoration: underline 6px var(--gold); text-underline-offset: 6px; }

/* ---------- abertura ---------- */

#intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
}
#intro.gone { display: none; }

/* segunda trava, agora em CSS: se o javascript não rodar (cache velho, erro de rede,
   script bloqueado), a abertura se apaga sozinha e a tela nunca fica presa no preto */
#intro { animation: introFailSafe .01s linear 10s forwards; }
@keyframes introFailSafe {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

.intro-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.2vw, 30px);
  max-width: 94vw;
}

.intro-mark {
  flex: none;
  width: clamp(44px, 6vw, 84px);
  opacity: 0;
  transform: translateX(-58vw);
  transition: transform 1.3s var(--soft), opacity .9s var(--soft);
}
.intro-mark svg { width: 100%; height: auto; display: block; }
.im-chev { fill: #ffffff; }
.im-bar { fill: var(--gold); }
#intro.step-1 .intro-mark { opacity: 1; transform: none; }

.intro-slot {
  position: relative;
  flex: none;
  width: 0;
  transition: width .85s var(--soft);
  display: flex;
  align-items: center;
  gap: .18em;
  min-height: 1.05em;
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(1.5rem, 5.2vw, 3.9rem);
  line-height: .9;
  letter-spacing: -.05em;
  text-transform: uppercase;
  color: var(--white);
}

.intro-word {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--soft), transform .6s var(--soft);
  white-space: nowrap;
}
.intro-word.on { opacity: 1; transform: none; }

.intro-caret {
  width: .12em;
  height: .82em;
  background: var(--gold);
  opacity: 0;
  transition: opacity .4s var(--soft);
}
#intro.step-1 .intro-caret { opacity: 1; animation: blink 1.15s steps(2) infinite; }
#intro.step-3 .intro-caret { opacity: 0; animation: none; }

.intro-lockup {
  position: absolute;
  left: 0;
  top: 50%;
  display: flex;
  flex-direction: column;
  gap: .28em;
  opacity: 0;
  transform: translateY(calc(-50% + 16px));
  transition: opacity .85s var(--soft), transform .85s var(--soft);
  pointer-events: none;
}
.intro-lockup strong { font-weight: 900; letter-spacing: -.05em; white-space: nowrap; }
.intro-lockup em {
  font-style: normal;
  font-family: var(--mono);
  font-weight: 400;
  font-size: .2em;
  letter-spacing: .42em;
  color: var(--gold);
}
#intro.step-3 .intro-lockup { opacity: 1; transform: translateY(-50%); }
#intro.step-3 .intro-word { opacity: 0; transform: translateY(-14px); }

.intro-skip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
  text-align: center;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: #5a5a5a;
  opacity: 0;
  transition: opacity .8s var(--soft);
}
#intro.step-2 .intro-skip { opacity: 1; }
#intro.step-3 .intro-skip { opacity: 0; }

.intro-wipe {
  position: fixed;
  inset: 0;
  z-index: 201;
  background: var(--gold);
  transform: translateX(-101%);
  pointer-events: none;
  display: none;
}
.intro-wipe.sweep {
  display: block;
  animation: sweep 1.45s cubic-bezier(.62, .02, .3, 1) forwards;
}
.intro-wipe.sweep-fast {
  display: block;
  animation: sweep .95s cubic-bezier(.62, .02, .3, 1) forwards;
}
@keyframes sweep {
  0%   { transform: translateX(-101%); }
  44%  { transform: translateX(0); }
  56%  { transform: translateX(0); }
  100% { transform: translateX(101%); }
}
.wipe-mark {
  position: absolute;
  top: 50%;
  right: clamp(24px, 6vw, 90px);
  width: clamp(38px, 4.6vw, 66px);
  transform: translateY(-50%);
}
.wipe-mark svg { width: 100%; height: auto; display: block; }
.wipe-mark .im-chev { fill: #ffffff; }
.wipe-mark .im-bar { fill: #000000; }


/* continuidade: o topo entra no mesmo ritmo da abertura */
.hero-in .big .ln { animation: lnIn .95s var(--soft) backwards; }
.hero-in .big .ln:nth-child(2) { animation-delay: .09s; }
.hero-in .big .ln:nth-child(3) { animation-delay: .18s; }
@keyframes lnIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.hero-in .people { animation: peopleIn 1.2s var(--soft) .1s backwards; }
@keyframes peopleIn {
  from { opacity: 0; transform: translateX(46px); }
  to   { opacity: 1; transform: none; }
}
.hero-in .stamp { animation: stampIn .8s var(--soft) .45s backwards; }
@keyframes stampIn {
  from { opacity: 0; transform: rotate(-14deg) scale(.82); }
  to   { opacity: 1; transform: rotate(-3deg) scale(1); }
}
.hero-in .rule-top, .hero-in .hero-foot { animation: softUp .9s var(--soft) .3s backwards; }
@keyframes softUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- botões ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 26px;
  min-height: 52px;
  border-radius: var(--r);
  background: var(--gold);
  color: #000;
  font-family: var(--display);
  font-weight: 800;
  font-size: .95rem;
  text-transform: uppercase;
  letter-spacing: .01em;
  cursor: pointer;
  border: 2px solid #000000;
  box-shadow: 5px 5px 0 var(--gold-dk);
  transition: transform .16s var(--ease), box-shadow .16s var(--ease), background .16s var(--ease);
}
.btn:hover { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--gold-dk); background: var(--gold-2); color: #000; }
.btn:active { transform: translate(5px, 5px); box-shadow: 0 0 0 var(--gold-dk); }
.btn svg { width: 19px; height: 19px; flex: none; }

.btn-lg { padding: 19px 32px; min-height: 62px; font-size: 1.04rem; }
.btn-sm { padding: 11px 17px; min-height: 44px; font-size: .78rem; box-shadow: 3px 3px 0 var(--gold-dk); }
.btn-sm:hover { box-shadow: 1px 1px 0 var(--gold-dk); }
.btn-block { width: 100%; }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover {
  /* o fundo sutil é o rgba(254,200,12,.08) que o guia da marca define para cards e badges */
  background: var(--gold-08);
  border-color: var(--gold);
  color: var(--gold);
  transform: none;
  box-shadow: none;
}
.btn-ghost:active { transform: translate(2px, 2px); box-shadow: none; }

.btn-invert { background: #000; color: #fff; border-color: #000; box-shadow: 5px 5px 0 rgba(0, 0, 0, .28); }
.btn-invert:hover { background: #111; color: #fff; box-shadow: 2px 2px 0 rgba(0, 0, 0, .28); }

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .82);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(0, 0, 0, .95); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 12px 26px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.brand-mark { width: 40px; height: 40px; flex: none; display: block; }

.brand-by {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: .46rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6f6f6f;
}
.brand-by img { height: 7px; width: auto; opacity: .45; }

/* lockup completo, com a assinatura da Nexo */
.lockup { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0; }
.lockup-mark { width: 58px; height: 58px; margin-bottom: 18px; }
.lockup-name {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.9rem;
  line-height: .9;
  letter-spacing: -.045em;
  text-transform: uppercase;
  color: var(--white);
}
.lockup-sub {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 8px;
}
.lockup-by {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  width: 100%;
  max-width: 180px;
}
.lockup-by span {
  font-family: var(--mono);
  font-size: .54rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: #6f6f6f;
}
.lockup-by img { height: 13px; width: auto; opacity: .5; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text strong {
  font-family: var(--display);
  font-weight: 900;
  font-size: .84rem;
  letter-spacing: -.01em;
  color: var(--white);
}
.brand-text em {
  font-style: normal;
  font-family: var(--mono);
  font-size: .58rem;
  letter-spacing: .26em;
  color: var(--gold);
  margin-top: 4px;
}

.nav-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-links a {
  padding: 9px 12px;
  font-family: var(--mono);
  font-size: .76rem;
  text-transform: lowercase;
  color: var(--muted);
  transition: color .18s var(--ease);
}
.nav-links a:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 2px solid var(--line);
  border-radius: var(--r);
  place-items: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--white);
  transition: transform .22s var(--ease);
}
.nav.open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-mobile { display: none; flex-direction: column; padding: 4px 26px 20px; }
.nav-mobile a {
  padding: 14px 0;
  border-top: 1px solid var(--line-2);
  font-family: var(--display);
  font-weight: 700;
  color: var(--white);
}
.nav-mobile a:last-child { border: 0; margin-top: 14px; justify-content: center; }
.nav.open .nav-mobile { display: flex; }

/* ---------- hero ---------- */

.hero { padding: 96px 0 0; overflow: hidden; }

.rule {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0 22px;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dim);
}
.rule-line { flex: 1; height: 1px; background: var(--line); }

.stage {
  position: relative;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.big {
  position: relative;
  z-index: 1;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2.5rem, 8.6vw, 7.6rem);
  line-height: .86;
  letter-spacing: -.055em;
  color: var(--white);
}
.big .ln { display: block; }
.big .ln-wide { color: var(--white); }
.big .dot { color: var(--gold); }

.people {
  position: absolute;
  right: -78px;
  bottom: -1px;
  height: 92%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}
.people::before {
  content: "";
  position: absolute;
  right: -60px;
  bottom: 0;
  width: 97%;
  height: 64%;
  background: var(--gold);
  z-index: 0;
}

.person {
  position: relative;
  margin: 0;
  height: 100%;
  width: auto;
  aspect-ratio: 2 / 3;
}
.person img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(-18px 10px 34px rgba(0, 0, 0, .85));
}
.person figcaption {
  position: absolute;
  left: auto;
  right: 4px;
  bottom: 12px;
  padding: 5px 9px;
  background: var(--bg);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold-2);
  white-space: nowrap;
}
.person-joao {
  height: 84%;
  margin-right: -7%;
  filter: brightness(.97);
  z-index: 1;
}
.person-joao figcaption { left: 0; right: auto; bottom: 12px; }
.person-leo { z-index: 2; }

.stamp {
  position: absolute;
  right: 26%;
  top: 2px;
  z-index: 3;
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 0 6px;
  padding: 12px 16px;
  background: var(--gold);
  color: #000;
  transform: rotate(-3deg);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, .45);
}
.stamp .stamp-cur { font-family: var(--display); font-weight: 700; font-size: 1rem; }
.stamp strong { font-family: var(--display); font-weight: 900; font-size: 2.6rem; line-height: .9; letter-spacing: -.05em; }
.stamp .stamp-sub {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .9;
}

.hero-foot {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 40px;
  padding: 34px 0 54px;
  align-items: start;
}
.hero-lead { font-size: 1.06rem; max-width: 40em; color: var(--muted); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.hero-facts li {
  padding: 16px 18px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.hero-facts strong {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--white);
}
.hero-facts li:nth-child(2) strong, .hero-facts li:nth-child(4) strong { color: var(--gold); }
.hero-facts span {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- faixa ---------- */

.band {
  background: var(--gold);
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
  overflow: hidden;
  padding: 13px 0;
}
.band-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
  animation: band 38s linear infinite;
}
.band-track span {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: -.01em;
  color: #000000;
  white-space: nowrap;
}
.band-track i { color: rgba(0, 0, 0, .5); font-size: .7rem; font-style: normal; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */

.section { padding: clamp(74px, 10vh, 122px) 0; position: relative; }
.section-alt { background: var(--bg-2); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }

.head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  max-width: 900px;
  margin-bottom: 56px;
}
.head-n {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: .8;
  letter-spacing: -.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line);
}
.tag {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.head h2 {
  font-size: clamp(1.8rem, 4.1vw, 3.1rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.045em;
  line-height: .95;
  margin-bottom: 18px;
}
.head .lead { font-size: 1.04rem; max-width: 42em; }

/* ---------- problema ---------- */

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.pain {
  padding: 30px 26px 34px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.pain:first-child { border-left: 1px solid var(--line); }
.pain:hover { background: var(--card); }
.pain-n {
  display: block;
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--gold);
  margin-bottom: 18px;
}
.pain h3 { font-size: 1.36rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; margin-bottom: 12px; }
.pain p { font-size: .95rem; }

.punch {
  margin-top: 44px;
  padding: 30px 0 0;
  border-top: 3px solid var(--gold);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.14rem, 2.3vw, 1.7rem);
  line-height: 1.28;
  letter-spacing: -.03em;
  color: var(--muted);
  max-width: 26em;
}
.punch strong { color: var(--white); font-weight: 800; }

/* ---------- método ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  margin-bottom: 52px;
}
.step {
  padding: 26px 22px 30px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.step:hover { background: var(--card); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.step-n {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -.05em;
  color: var(--gold);
}
.step-time {
  font-family: var(--mono);
  font-size: .62rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
}
.step h3 { font-size: 1.28rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; margin-bottom: 10px; }
.step p { font-size: .93rem; }

.terminal {
  border: 1px solid var(--line);
  background: #050505;
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.terminal-bar .dot, .browser-bar .dot { width: 10px; height: 10px; border-radius: 99px; background: #2a2a2a; flex: none; }
.terminal-bar .dot:first-child { background: #ff5f57; }
.terminal-bar .dot:nth-child(2) { background: #febc2e; }
.terminal-bar .dot:nth-child(3) { background: #28c840; }
.terminal-title { margin-left: 12px; font-family: var(--mono); font-size: .72rem; color: var(--dim); }
.terminal-body { padding: 24px 22px; font-family: var(--mono); font-size: .86rem; line-height: 2; }
.terminal-body p { overflow-wrap: anywhere; }
.t-in { color: var(--white); }
.t-in .prompt { color: var(--gold); margin-right: 8px; }
.t-sys { color: var(--dim); }
.t-out { color: var(--gold-2); }
.t-out .who { color: var(--gold); margin-right: 8px; }
.caret {
  display: inline-block;
  width: 9px;
  height: 15px;
  margin-left: 6px;
  vertical-align: -2px;
  background: var(--gold);
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- na prática ---------- */

.skills {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.skill {
  position: relative;
  padding: 28px 24px 32px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s var(--ease);
}
.skill:hover { background: var(--card); }
.skill-n {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.skill h3 {
  font-size: 1.16rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -.03em;
  margin-bottom: 10px;
}
.skill p { font-size: .93rem; }

.skill-hero { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; }
.skill-hero h3 { font-size: clamp(1.5rem, 2.6vw, 2.2rem); }
.skill-hero > p { font-size: 1.02rem; }
.skill-hero .skill-n { color: var(--gold); }
.skill-wide { grid-column: span 2; }
.skill-full { grid-column: span 4; display: flex; align-items: center; justify-content: space-between; gap: 28px 44px; flex-wrap: wrap; }
.skill-full-text { flex: 1 1 340px; }

.skill-list { margin-top: auto; padding-top: 26px; display: grid; gap: 10px; }
.skill-list li {
  position: relative;
  padding-left: 24px;
  font-size: .94rem;
  color: var(--muted);
}
.skill-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: 11px;
  height: 11px;
  background: var(--gold);
}

.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .74rem;
  color: var(--gold-2);
}

/* ---------- currículo ---------- */

.curriculum { border-top: 1px solid var(--line); }

.mod { border-bottom: 1px solid var(--line); transition: background .25s var(--ease); }
.mod:hover { background: var(--card); }
.mod.open { background: var(--card); }

.mod-head {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 16px;
  text-align: left;
}
.mod-n {
  display: grid;
  place-items: center;
  width: 52px;
  height: 40px;
  flex: none;
  border: 1px solid var(--line);
  font-family: var(--display);
  font-weight: 900;
  font-size: .9rem;
  color: var(--gold);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.mod.open .mod-n { background: var(--gold); color: #fff; border-color: var(--gold); }
.mod-title {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.14rem;
  text-transform: uppercase;
  letter-spacing: -.03em;
  color: var(--white);
}
.mod-title em {
  font-style: normal;
  font-family: var(--body);
  font-weight: 400;
  font-size: .88rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--dim);
}
.mod-meta { flex: none; font-family: var(--mono); font-size: .72rem; color: var(--dim); white-space: nowrap; }
.mod-chev {
  flex: none;
  position: relative;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.mod-chev::before, .mod-chev::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--gold);
}
.mod-chev::before { width: 11px; height: 2px; }
.mod-chev::after { width: 2px; height: 11px; transition: opacity .22s var(--ease); }
.mod.open .mod-chev { transform: rotate(180deg); border-color: var(--gold); }
.mod.open .mod-chev::after { opacity: 0; }

.mod-body { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
.lessons { counter-reset: lesson; padding: 0 16px 20px 84px; }
.lessons li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-top: 1px solid var(--line-2);
  position: relative;
  font-size: .95rem;
  color: var(--muted);
}
.lessons li::before {
  counter-increment: lesson;
  content: counter(lesson, decimal-leading-zero);
  position: absolute;
  left: -34px;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--gold);
}
.lessons li em { font-style: normal; font-family: var(--mono); font-size: .7rem; color: var(--dim); white-space: nowrap; }

.curriculum-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--card);
}
.curriculum-foot p { font-size: .97rem; max-width: 46em; }

/* ---------- por dentro ---------- */

.browser { border: 1px solid var(--line); background: #050505; }
.browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}
.browser-url {
  margin-left: 14px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: .7rem;
  color: var(--dim);
}
.browser-view { position: relative; aspect-ratio: 16 / 9.6; background: #050505; }
.shot {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity .7s var(--ease);
}
.shot.is-active { opacity: 1; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.browser-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-top: 1px solid var(--line);
  background: var(--card);
}
.browser-dots button {
  width: 30px;
  height: 5px;
  padding: 22px 0;
  background: #2a2a2a;
  background-clip: content-box;
  transition: background .25s var(--ease), width .25s var(--ease);
}
.browser-dots button.on { width: 48px; background: var(--gold); background-clip: content-box; }

/* ---------- bloco claro: quem ensina ---------- */

.section-light {
  background: var(--paper);
  color: #3f3f3f;
  border-top: 1px solid #000;
  border-bottom: 1px solid #000;
}
.section-light h2, .section-light h3 { color: var(--ink); }
.section-light .head-n { -webkit-text-stroke: 1.5px rgba(0, 0, 0, .22); }
.section-light .tag { color: #a07d00; }
.section-light .lead { color: #4a4a4a; }


.teachers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.teacher { display: grid; gap: 22px; }
.teacher-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #e6e6e6;
  border: 2px solid var(--ink);
}
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; }
.teacher-photo figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
}
.teacher-photo figcaption strong {
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.14rem;
  text-transform: uppercase;
  letter-spacing: -.03em;
}
.teacher-photo figcaption span {
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.teacher-info p { font-size: .98rem; color: #454545; }
.teacher-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.teacher-tags li {
  padding: 5px 12px;
  border: 1px solid rgba(0, 0, 0, .22);
  font-family: var(--mono);
  font-size: .72rem;
  color: #2a2a2a;
}

/* ---------- provas ---------- */

.proof-rail {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 4px 26px 26px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #2f2f2f transparent;
}
.proof-rail::-webkit-scrollbar { height: 6px; }
.proof-rail::-webkit-scrollbar-thumb { background: #2f2f2f; }
.proof {
  flex: 0 0 auto;
  width: min(330px, 78vw);
  margin: 0;
  scroll-snap-align: center;
  border: 1px solid var(--line);
  background: var(--card);
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}
.proof:hover { transform: translateY(-4px); border-color: var(--gold); }
.proof img { width: 100%; height: auto; }
.proof-hint { font-family: var(--mono); font-size: .72rem; color: var(--dim); text-align: center; }

/* ---------- preço ---------- */

.price-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }

.price-card {
  position: relative;
  padding: 40px 34px 34px;
  background: var(--card);
  border: 2px solid var(--white);
  box-shadow: 10px 10px 0 var(--gold-dk);
}
.price-flag {
  position: absolute;
  top: -14px;
  left: 26px;
  padding: 5px 13px;
  background: var(--gold);
  color: #000000;
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.price-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.06rem;
  text-transform: uppercase;
  letter-spacing: -.02em;
  color: var(--white);
}
.price-value {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin: 12px 0 4px;
  color: var(--white);
  font-family: var(--display);
  letter-spacing: -.06em;
}
.price-value .cur { font-size: 1.5rem; font-weight: 700; margin-top: 14px; color: var(--muted); }
.price-value strong { font-size: clamp(4rem, 10vw, 6rem); font-weight: 900; line-height: .85; }
.price-value .cents { font-size: 1.5rem; font-weight: 700; margin-top: 14px; }
.price-note { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 26px; }
.price-micro { margin: 14px 0 26px; text-align: center; font-size: .85rem; color: var(--dim); }
.price-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.price-list li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--line-2);
  font-size: .95rem;
  color: var(--muted);
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.28em;
  width: 12px;
  height: 12px;
  background: var(--gold);
}

.price-side { display: grid; gap: 18px; }
.side-card { padding: 26px 24px 28px; border: 1px solid var(--line); background: var(--card); }
.side-n {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 11px;
  border: 1px solid var(--gold);
  font-family: var(--mono);
  font-size: .64rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
}
.side-card h3 { font-size: 1.2rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.03em; margin-bottom: 10px; }
.side-card p { font-size: .93rem; }

/* ---------- princípio ---------- */

.principle { padding: clamp(70px, 9vh, 110px) 0; }
.quote {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.2vw, 2.5rem);
  line-height: 1.18;
  letter-spacing: -.04em;
  color: var(--white);
  text-align: center;
}
.quote .hl { color: var(--gold); }
.quote-by {
  margin-top: 22px;
  text-align: center;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- faq ---------- */

.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 4px;
  text-align: left;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.08rem;
  text-transform: uppercase;
  letter-spacing: -.025em;
  color: var(--white);
  transition: color .2s var(--ease);
}
.faq-q:hover { color: var(--gold); }
.faq-q i {
  position: relative;
  flex: none;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  transition: transform .28s var(--ease);
}
.faq-q i::before, .faq-q i::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--gold);
}
.faq-q i::before { width: 10px; height: 2px; }
.faq-q i::after { width: 2px; height: 10px; transition: opacity .22s var(--ease); }
.faq-item.open .faq-q i { transform: rotate(180deg); border-color: var(--gold); }
.faq-item.open .faq-q i::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .38s var(--ease); }
.faq-a div { padding: 0 60px 24px 4px; }
.faq-a p { font-size: .97rem; }

/* ---------- cta final ---------- */

.cta-final {
  background: var(--gold);
  color: rgba(0, 0, 0, .78);
  padding: clamp(80px, 12vh, 130px) 0;
  border-top: 2px solid #000000;
  text-align: center;
}
.cta-tag {
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: rgba(0, 0, 0, .6);
  margin-bottom: 22px;
}
.cta-final h2 {
  font-size: clamp(1.9rem, 5.2vw, 3.8rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.05em;
  line-height: .92;
  color: #000;
  margin-bottom: 22px;
}
.cta-hl { color: #fff; }
.cta-lead { font-size: 1.05rem; max-width: 38em; margin: 0 auto 34px; color: rgba(0, 0, 0, .72); }
.cta-micro {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(11, 7, 4, .72);
}

/* ---------- rodapé ---------- */

.footer { padding: 56px 0 30px; background: var(--bg); }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 34px;
  flex-wrap: wrap;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line-2);
}
.footer-desc { margin-top: 18px; font-size: .92rem; max-width: 34em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 26px; align-items: flex-start; }
.footer-links a { font-family: var(--mono); font-size: .82rem; padding: 11px 0; color: var(--dim); transition: color .2s var(--ease); }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--dim);
}

/* ---------- barra fixa mobile ---------- */

.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  background: var(--bg);
  border-top: 2px solid var(--gold);
  transform: translateY(120%);
  transition: transform .34s var(--ease);
}
.sticky-buy.show { transform: none; }
.sticky-buy strong {
  display: block;
  font-family: var(--display);
  font-weight: 900;
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1;
}
.sticky-buy span { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.sticky-buy .btn { padding: 12px 18px; min-height: 46px; font-size: .8rem; box-shadow: 3px 3px 0 var(--gold-dk); }

/* ---------- imagem pendente ---------- */

figure.missing { position: relative; overflow: hidden; }
figure.missing img { opacity: 0; }
figure.missing::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 140'><circle cx='50' cy='40' r='21' fill='%23161c2b'/><path d='M6 140c0-27 20-45 44-45s44 18 44 45z' fill='%23161c2b'/></svg>") no-repeat bottom center / contain,
    repeating-linear-gradient(135deg, rgba(254, 200, 12, .08) 0 10px, transparent 10px 20px);
  border: 1px dashed #2f2f2f;
}
figure.missing::after {
  content: attr(data-slot);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 10px;
  background: var(--bg);
  border: 1px solid var(--gold);
  font-family: var(--mono);
  font-size: .66rem;
  color: var(--gold-2);
  white-space: nowrap;
}
.section-light figure.missing::after { background: var(--paper); color: #2a2a2a; }

/* ---------- movimento de entrada ao rolar ---------- */

.rv {
  opacity: 0;
  transition: opacity .9s var(--soft), transform .9s var(--soft), clip-path 1s var(--soft);
}
/* se o script não rodar, as classes .rv nunca são aplicadas e o site aparece inteiro:
   é por isso que o estado invisível vive no javascript, e não no html */

.rv-up    { transform: translateY(36px); }
.rv-down  { transform: translateY(-26px); }
.rv-left  { transform: translateX(-52px); }
.rv-right { transform: translateX(52px); }
.rv-zoom  { transform: scale(.94); }
.rv-clip  { opacity: 1; clip-path: inset(0 100% 0 0); }
.rv-mask  { opacity: 1; clip-path: inset(0 0 100% 0); }

.rv.in { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }

/* mantido para não quebrar nada que ainda use o nome antigo */
.reveal { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-inner .btn-sm { display: none; }
  .nav-toggle { display: grid; }

  .steps { grid-template-columns: repeat(2, 1fr); }
  .skills { grid-template-columns: repeat(2, 1fr); }
  .skill-hero, .skill-wide, .skill-full { grid-column: span 2; }
  .skill-hero { grid-row: auto; }
  .teachers { grid-template-columns: 1fr; }
  .price-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .hero { padding-top: 84px; }
  .stage { padding-bottom: 0; }
  .big { font-size: clamp(2.4rem, 11.5vw, 4.6rem); }
  .people {
    position: relative;
    right: auto;
    bottom: auto;
    justify-content: center;
    margin-top: 22px;
    border-top: 1px solid var(--line);
    padding-top: 18px;
  }
  .people { height: auto; }
  .person { height: auto; width: clamp(150px, 40vw, 230px); }
  .person-joao { height: auto; width: clamp(130px, 34vw, 200px); margin-right: -4%; }
  .person figcaption { display: none; }
  .people::before { right: -18px; left: 6%; width: auto; height: 46%; }
  .stamp { right: 0; left: auto; top: auto; bottom: 46%; }
  .hero-foot { grid-template-columns: 1fr; gap: 30px; padding-top: 28px; }
  .pain-grid { grid-template-columns: 1fr; border-left: 1px solid var(--line); }
  .pain { border-left: 0; }
  .pain:first-child { border-left: 0; }
  .sticky-buy { display: flex; }
  .footer-inner { flex-direction: column; gap: 24px; }
}

@media (max-width: 620px) {
  .rv-up    { transform: translateY(24px); }
  .rv-left  { transform: translateX(-28px); }
  .rv-right { transform: translateX(28px); }
  .rv-zoom  { transform: scale(.97); }

  body { font-size: 16px; }
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }

  .head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 34px; }
  .head-n { font-size: 2.4rem; }
  .head h2 { font-size: clamp(1.7rem, 8.4vw, 2.4rem); }

  .big { font-size: clamp(2.1rem, 11.6vw, 3.1rem); line-height: .9; }
  .rule { font-size: .72rem; letter-spacing: .12em; }
  .step-time { font-size: .7rem; }
  .intro-skip { font-size: .72rem; letter-spacing: .2em; }
  .intro-lockup strong { font-size: .74em; }
  .intro-lockup em { font-size: .17em; letter-spacing: .3em; }
  .mod-meta { font-size: .78rem; }
  .lessons li em { font-size: .76rem; }
  .rule span:last-child { display: none; }
  .stamp { padding: 9px 12px; }
  .stamp strong { font-size: 1.9rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-facts { grid-template-columns: repeat(2, 1fr); }
  .hero-facts strong { font-size: 1.7rem; }

  .band-track span { font-size: .86rem; }

  .steps { grid-template-columns: 1fr; }
  .skills { grid-template-columns: 1fr; }
  .skill-hero, .skill-wide, .skill-full { grid-column: span 1; }

  .terminal-body { font-size: .74rem; line-height: 1.9; padding: 18px 14px; }

  .mod-head { flex-wrap: wrap; gap: 12px; padding: 18px 10px; }
  .mod-title { font-size: 1rem; flex: 1 1 55%; }
  .mod-meta { order: 3; width: 100%; padding-left: 70px; }
  .lessons { padding: 0 10px 18px 46px; }
  .lessons li { flex-direction: column; gap: 3px; font-size: .92rem; }
  .lessons li::before { left: -32px; }

  .curriculum-foot { padding: 22px 18px; }
  .curriculum-foot .btn { width: 100%; }

  .price-card { padding: 32px 20px 26px; box-shadow: 6px 6px 0 var(--gold-dk); }
  .price-value strong { font-size: 4.4rem; }

  .faq-q { font-size: .98rem; padding: 18px 2px; }
  .faq-a div { padding: 0 30px 20px 2px; }

  .browser-url { display: none; }
  .browser-view { aspect-ratio: 16 / 11; }

  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ---------- acessibilidade ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .rv, .rv.in { opacity: 1; transform: none; clip-path: none; animation: none; }
  #intro { display: none; }
}
