/* ---------- intro de primeiro acesso (estilo Yuga: palco preto, campo de pixels, exposição, faixa gigante) ---------- */
.intro { position: fixed; inset: 0; z-index: 100; overflow-y: auto; overflow-x: hidden; background: #000; color: #fff; }
.intro-field { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.intro-skip {
  position: fixed; top: 22px; right: 30px; z-index: 3; border: 1px solid #555; border-radius: 90px; background: #000;
  color: #ddd; height: 36px; padding: 0 16px; font: 400 13px/1 var(--font); cursor: pointer;
}
.intro-skip:hover { color: #000; background: #fff; border-color: #fff; }
.intro-brand { position: fixed; top: 28px; left: 30px; z-index: 3; mix-blend-mode: difference; font: 800 15px/1 var(--font); letter-spacing: -.02em; text-transform: uppercase; }

.scene { position: relative; z-index: 2; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 90px 30px 60px; }

/* cena 1: emblema + frase */
.intro-emblem { width: clamp(64px, min(13vw, 13vh), 170px); fill: #fff; margin-bottom: 4vh; animation: emblem-in 1s cubic-bezier(.19,1,.22,1) both; }
@keyframes emblem-in { from { opacity: 0; transform: scale(.4) rotate(-12deg); } to { opacity: 1; transform: none; } }
.intro-title { margin: 0; font: 800 clamp(48px, min(11.5vw, 16vh), 190px)/.82 var(--font); letter-spacing: -.03em; text-transform: uppercase; }
.intro-title .line { display: block; overflow: hidden; padding: .14em 0 .04em; margin-top: -.14em; }
.intro-title .line > span { display: block; animation: line-up .9s cubic-bezier(.19,1,.22,1) both; }
.intro-title .line:nth-child(1) > span { animation-delay: .55s; }
.intro-title .line:nth-child(2) > span { animation-delay: .75s; }
.intro-title .line:nth-child(3) > span { animation-delay: .95s; color: var(--acid); }
@keyframes line-up { from { transform: translateY(105%); } to { transform: none; } }
.intro-sub { max-width: 560px; margin: 4vh 0 0; font: 400 clamp(17px, 1.6vw, 22px)/1.35 var(--font); color: #cfcfcf; animation: fade-up .8s 1.4s both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.intro-down { margin-top: 4vh; display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; animation: fade-up .8s 1.8s both; }

/* cena 2: exposição em 3 peças */
.exhibit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.tile {
  position: relative; aspect-ratio: 1 / 1.05; border-radius: 40px; background: #131313; padding: 34px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transform: translateY(60px);
  transition: opacity .9s cubic-bezier(.19,1,.22,1), transform .9s cubic-bezier(.19,1,.22,1);
}
.tile.acid { background: var(--acid); color: #000; }
.scene.on .tile { opacity: 1; transform: none; }
.scene.on .tile:nth-child(2) { transition-delay: .15s; }
.scene.on .tile:nth-child(3) { transition-delay: .3s; }
.tile-n { font: 800 clamp(48px, 6vw, 96px)/.82 var(--font); letter-spacing: -.03em; }
.tile h3 { margin: 0; font: 800 clamp(22px, 2.3vw, 34px)/.95 var(--font); letter-spacing: -.02em; }
.tile p { margin: 10px 0 0; font-size: 15px; line-height: 1.4; opacity: .8; }
.tile-art { flex: 1; display: grid; place-items: center; }
/* peça 1: documento em pixels */
.doc { width: 46%; aspect-ratio: .78; border-radius: 18px; background: #fff; padding: 9% 10%; display: flex; flex-direction: column; gap: 9%; transform: rotate(-6deg); }
.doc i { display: block; height: 7%; border-radius: 4px; background: #000; }
.doc i:nth-child(1) { width: 55%; background: var(--acid); height: 12%; }
.doc i:nth-child(3) { width: 80%; } .doc i:nth-child(4) { width: 65%; } .doc i:nth-child(5) { width: 90%; }
.scene.on .doc { animation: doc-float 3.2s ease-in-out infinite; }
@keyframes doc-float { 50% { transform: rotate(-2deg) translateY(-8px); } }
/* peça 2: habilidades aparecendo */
.pop { display: flex; flex-wrap: wrap; gap: 8px; align-content: center; justify-content: center; }
.pop span { border: 2px solid #000; border-radius: 90px; padding: 7px 14px; font: 700 14px/1 var(--font); opacity: 0; transform: scale(.6); }
.scene.on .pop span { animation: pop .5s cubic-bezier(.34,1.56,.64,1) forwards; }
@keyframes pop { to { opacity: 1; transform: none; } }
/* peça 3: card com nota */
.mini { width: 86%; border-radius: 22px; background: #fff; color: #000; padding: 18px; display: grid; gap: 10px; }
.mini-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mini-logo { width: 34px; height: 34px; border-radius: 10px; background: #000; }
.mini-score { border-radius: 14px; background: var(--acid); padding: 6px 10px; font: 800 22px/1 var(--font); letter-spacing: -.03em; }
.mini b { font: 700 15px/1.2 var(--font); }
.mini small { color: #555; font-size: 12px; }

.ribbon { position: relative; margin: 46px -30px 0; padding: 14px 0 10px; overflow: hidden; white-space: nowrap; background: #000; }
.ribbon-track { display: inline-block; font: 800 clamp(48px, 9vw, 150px)/.82 var(--font); letter-spacing: -.03em; text-transform: uppercase; animation: marquee 38s linear infinite; }
.ribbon-track span { color: var(--acid); }
@keyframes marquee { to { transform: translateX(-50%); } }
.intro-cta { margin-top: 46px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.intro .capsule.light { height: 56px; padding: 0 30px; font-size: 17px; background: #fff; color: #000; border-color: #fff; }
.intro .capsule.light:hover { background: var(--acid); border-color: var(--acid); }
.intro-note { color: #9a9a9a; font-size: 14px; }

/* cena 3: cadastro (faixa branca) */
.signup { background: #fff; color: #000; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 60px; align-items: center; }
.signup-side h2 { margin: 0; font: 800 clamp(48px, 7vw, 110px)/.82 var(--font); letter-spacing: -.03em; text-transform: uppercase; }
.signup-side p { max-width: 460px; margin: 26px 0 0; font-size: 18px; line-height: 1.4; color: #333; }
.steps { display: flex; gap: 6px; margin-bottom: 26px; }
.steps i { flex: 1; height: 4px; border-radius: 4px; background: #e5e5e5; }
.steps i.done { background: #000; }
.step { display: flex; flex-direction: column; gap: 16px; animation: fade-up .5s both; }
.step h3 { margin: 0; font: 800 34px/.95 var(--font); letter-spacing: -.03em; }
.step .lead { margin: 0; color: #444; font-size: 15px; line-height: 1.45; }
.step input[type="email"], .step input[type="text"], .step input.code { height: 56px; font-size: 17px; padding: 0 22px; }
.step input.code { letter-spacing: .5em; font-weight: 700; text-align: center; font-size: 24px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: #333; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: #000; flex: none; }
.consent a { color: #000; }
.step .capsule.go { height: 56px; font-size: 17px; align-self: flex-start; padding: 0 28px; }
.err { min-height: 20px; margin: 0; color: #c0392b; font-size: 14px; }
.drop {
  display: grid; place-items: center; gap: 10px; min-height: 210px; padding: 26px; text-align: center; cursor: pointer;
  border: 2px dashed #000; border-radius: 30px; transition: background-color .2s;
}
.drop:hover, .drop.over { background: var(--acid); }
.drop b { font: 800 22px/1 var(--font); letter-spacing: -.02em; }
.drop small { color: #444; font-size: 13.5px; }
.how { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; font-size: 13.5px; color: #333; }
.how span { border: 1px solid #000; border-radius: 90px; padding: 4px 10px; }
.found { display: flex; flex-wrap: wrap; gap: 6px; min-height: 34px; }
.found .chip { opacity: 0; animation: pop .45s cubic-bezier(.34,1.56,.64,1) forwards; }
.reading { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.reading::before { content: ""; width: 18px; height: 18px; border-radius: 4px; background: #000; animation: spin 1s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* cena final: buscando */
.searching { align-items: flex-start; }
.searching h2 { margin: 0; font: 800 clamp(48px, 8vw, 130px)/.82 var(--font); letter-spacing: -.03em; text-transform: uppercase; }
.search-list { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 14px; font-size: 20px; }
.search-list li { display: flex; align-items: center; gap: 14px; opacity: .35; transition: opacity .3s; }
.search-list li::before { content: ""; width: 14px; height: 14px; border-radius: 3px; border: 2px solid #fff; }
.search-list li.on { opacity: 1; }
.search-list li.on::before { background: var(--acid); border-color: var(--acid); }
.intro.leaving { animation: leave .7s cubic-bezier(.19,1,.22,1) forwards; }
@keyframes leave { to { opacity: 0; transform: scale(1.04); } }

@media (max-width: 900px) {
  .exhibit { grid-template-columns: 1fr; }
  .tile { aspect-ratio: auto; min-height: 340px; }
  .signup { grid-template-columns: 1fr; gap: 30px; }
  .scene { padding: 84px 18px 48px; }
  .intro-skip { right: 16px; }
  .intro-brand { left: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro *, .intro *::before { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
}
