/* Astro Lab · DJ Academy — preto com roxo neon, como na arte de divulgação */
:root {
  --bg: #07050d;
  --surface: #0f0b1a;
  --surface-2: #171027;
  --line: #2a1f45;
  --line-2: #3d2d66;
  --text: #f5f2fb;
  --soft: #d2cae3;
  --muted: #9d94b5;
  --purple: #8b3dff;
  --purple-2: #a855f7;
  --lilac: #c9a3ff;
  --ok: #3ddc97;
  --danger: #ff7a90;
  --font: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.55; overflow-x: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
em { font-style: normal; color: var(--purple-2); }
svg use { fill: none; stroke: currentColor; stroke-width: 1.600; stroke-linecap: round; stroke-linejoin: round; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wrap { max-width: 1120px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }

/* O "A" sem traço da marca Astro: um V de cabeça para baixo */
.lam { font-style: normal; display: inline-block; transform: scaleY(-1); transform-origin: 50% 50%; }

h2 { font-size: clamp(26px, 5.200vw, 34px); font-weight: 800; line-height: 1.05; text-transform: uppercase; letter-spacing: .01em; }
h2 em { display: block; }

/* ── Topo ────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 20px; background: rgba(7, 5, 13, .82); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(61, 45, 102, .5);
}
.logo { display: grid; line-height: 1; }
.astro { font-weight: 800; font-size: 25px; letter-spacing: .04em; }
.logo small { font-size: 7.500px; letter-spacing: .62em; text-transform: uppercase; color: var(--soft); margin-top: 3px; padding-left: 2px; }
.nav-links { display: none; gap: 30px; font-size: 14px; font-weight: 500; color: var(--soft); }
.nav-links a:hover { color: var(--text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 30px; border-radius: 9px;
  background: linear-gradient(180deg, #a352ff, #7a2cf0); color: #fff; font-weight: 700; font-size: 16px; letter-spacing: .02em; text-transform: uppercase;
  box-shadow: 0 0 0 1px rgba(201, 163, 255, .35) inset, 0 10px 34px -10px rgba(139, 61, 255, .9); transition: transform .08s, filter .15s, opacity .15s;
}
.btn:hover:not(:disabled) { filter: brightness(1.12); }
.btn:active:not(:disabled) { transform: translateY(1px); }
.btn:disabled { opacity: .35; cursor: not-allowed; box-shadow: none; }
.btn:focus-visible, .link:focus-visible, a:focus-visible { outline: 2px solid var(--lilac); outline-offset: 3px; }
.btn.small { padding: 10px 16px; font-size: 12.500px; text-transform: none; border-radius: 8px; }
.btn.full { width: 100%; }
.btn.big { margin-top: 22px; padding: 18px; font-size: 17px; }
.btn span { font-size: 22px; line-height: .8; }

/* ── Abertura ────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(60% 80% at 85% 30%, rgba(139, 61, 255, .42), transparent 70%), radial-gradient(40% 60% at 0% 100%, rgba(139, 61, 255, .16), transparent 70%);
}
.hero-art {
  position: absolute; z-index: -1; right: -42%; top: -4%; width: 135%; max-width: 900px; opacity: .5; pointer-events: none;
  transform: perspective(1400px) rotateX(52deg) rotateZ(-27deg); filter: drop-shadow(0 30px 60px rgba(139, 61, 255, .55));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%); mask-image: linear-gradient(90deg, transparent, #000 30%);
}
.hero-art svg { width: 100%; height: auto; display: block; }
.hero::after { /* névoa roxa por cima da arte, como na foto */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(45% 55% at 78% 18%, rgba(168, 85, 247, .30), transparent 70%), linear-gradient(0deg, var(--bg), transparent 30%);
}
/* Recorte da arte de divulgação (1199x1312): só a região da controladora, à direita do título */
.hero-photo {
  position: absolute; z-index: -1; right: -30%; top: 0; width: 130%; aspect-ratio: 654 / 385; overflow: hidden; opacity: .5; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%), linear-gradient(0deg, transparent, #000 25%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 35%), linear-gradient(0deg, transparent, #000 25%); mask-composite: intersect;
}
.hero-photo img { display: block; width: 183.330%; max-width: none; transform: translate(-45.450%, -4.190%); }
.hero-text { max-width: 1120px; margin: 0 auto; padding: 44px 20px 52px; }
.kicker { font-size: 12.500px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--purple-2); }
.hero h1 { margin-top: 6px; line-height: .92; }
.title { display: block; font-size: clamp(50px, 14.500vw, 104px); font-weight: 800; letter-spacing: -.005em; text-transform: uppercase; white-space: nowrap; }
.sub { display: block; font-size: clamp(25px, 7.200vw, 52px); font-weight: 300; letter-spacing: .2em; text-transform: uppercase; color: var(--lilac); margin-top: 2px; white-space: nowrap; }
.pill {
  display: inline-block; margin-top: 18px; padding: 7px 22px; border: 2px solid var(--purple-2); border-radius: 10px; background: rgba(139, 61, 255, .16);
  font-weight: 700; font-size: clamp(13px, 3.600vw, 17px); text-transform: uppercase; letter-spacing: .01em;
}
.slogan { margin-top: 16px; font-size: clamp(25px, 6.600vw, 34px); font-weight: 800; text-transform: uppercase; line-height: 1.1; }
.slogan span { color: var(--soft); opacity: .8; }
.lead { margin: 12px 0 24px; max-width: 420px; font-size: 15.500px; color: var(--soft); text-wrap: pretty; }

/* ── Faixa de destaques ──────────────────────────────────── */
.strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.strip ul { list-style: none; max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); }
.strip li { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 20px 10px; font-size: 13.500px; font-weight: 500; line-height: 1.3; border-top: 1px solid var(--line); }
.strip li:nth-child(-n+2) { border-top: 0; }
.strip li:nth-child(even) { border-left: 1px solid var(--line); }
.strip svg { width: 34px; height: 34px; color: var(--purple-2); }

/* ── O projeto ───────────────────────────────────────────── */
.about { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.about p { margin-top: 14px; color: var(--soft); font-size: 15px; text-wrap: pretty; }
.live h3 { font-size: 19px; font-weight: 800; text-transform: uppercase; margin-bottom: 14px; }
.live ul { list-style: none; display: grid; gap: 10px; }
.live li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--soft); }
.live svg { width: 21px; height: 21px; flex: none; color: var(--purple-2); margin-top: 1px; }

/* ── Cronograma ──────────────────────────────────────────── */
.timeline { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 36px 0; }
.timeline .wrap { display: grid; gap: 24px; }
.timeline ol { list-style: none; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; padding: 13px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; }
.timeline svg { width: 32px; height: 32px; color: var(--purple-2); }
.timeline b { font-weight: 700; font-size: 16px; }
.timeline span { font-size: 15px; color: var(--soft); font-variant-numeric: tabular-nums; }

/* ── Professores ─────────────────────────────────────────── */
.teachers { padding-top: 44px; padding-bottom: 12px; }
.cards { display: grid; gap: 14px; margin-top: 22px; }
.cards article { display: flex; align-items: center; gap: 18px; padding: 14px; border: 1px solid var(--line-2); border-radius: 16px; background: linear-gradient(120deg, rgba(139, 61, 255, .16), rgba(15, 11, 26, .6) 60%); }
.avatar {
  width: 96px; height: 96px; flex: none; border-radius: 12px; object-fit: cover; display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #b57bff, #4c1d95 60%, #1a0f33); font-size: 46px; font-weight: 800; color: rgba(255, 255, 255, .9);
}
img.avatar { object-fit: cover; }
/* zoeira da equipe (temporário) */
.cards .zoeira { display: inline-block; margin-top: 8px; padding: 4px 10px; border-radius: 6px; background: rgba(255, 122, 144, .15); border: 1px solid rgba(255, 122, 144, .5); color: #ffd0d8; font-size: 13px; font-weight: 700; transform: rotate(-1.500deg); }
.cards h3 { font-size: 22px; font-weight: 800; text-transform: uppercase; }
.cards p { color: var(--soft); font-size: 15px; margin-top: 2px; }

/* ── Inscrição ───────────────────────────────────────────── */
.signup { padding-top: 48px; padding-bottom: 56px; max-width: 860px; display: grid; gap: 18px; }
.signup-head h2 em { display: inline; }
.signup-head > p { color: var(--soft); font-size: 15px; margin-top: 8px; }
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.steps li { display: flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--muted); }
.steps b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); font-size: 12.500px; }
.steps li.on { border-color: var(--purple-2); color: var(--text); }
.steps li.on b { background: var(--purple); color: #fff; }
.steps li.ok { color: var(--soft); }
.steps li.ok b { background: rgba(61, 220, 151, .18); color: var(--ok); }

.panel { border: 1px solid var(--line-2); border-radius: 18px; background: linear-gradient(180deg, rgba(23, 16, 39, .9), rgba(15, 11, 26, .9)); padding: 24px 18px 26px; }
.panel-title { font-size: 19px; font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.panel-title.gap { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.panel-sub { color: var(--muted); font-size: 14px; margin: 4px 0 18px; }
.req { color: var(--danger); font-style: normal; }

.rules { list-style: none; counter-reset: r; }
.rules > li { counter-increment: r; position: relative; padding: 16px 0 16px 44px; border-top: 1px solid var(--line); }
.rules > li::before {
  content: counter(r); position: absolute; left: 0; top: 15px; width: 29px; height: 29px; border-radius: 8px; display: grid; place-items: center;
  font-weight: 800; font-size: 13.500px; color: var(--lilac); background: rgba(139, 61, 255, .2); box-shadow: inset 0 0 0 1px var(--line-2);
}
.rules h4 { font-size: 15.500px; font-weight: 700; margin-bottom: 6px; padding-top: 3px; }
.rules ul { list-style: none; display: grid; gap: 6px; }
.rules ul li { color: var(--soft); font-size: 14.500px; padding-left: 14px; position: relative; }
.rules ul li::before { content: ''; position: absolute; left: 0; top: .66em; width: 5px; height: 5px; border-radius: 50%; background: var(--purple-2); }

.accept { margin-top: 10px; padding: 20px 16px; border-radius: 14px; background: rgba(139, 61, 255, .1); border: 1px solid var(--purple-2); display: grid; gap: 12px; }
.accept h4 { font-size: 16px; font-weight: 800; text-transform: uppercase; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; font-size: 14.500px; padding: 3px 0; color: var(--soft); }
.check b { color: var(--text); font-weight: 700; }
.check input {
  appearance: none; -webkit-appearance: none; flex: none; width: 24px; height: 24px; border-radius: 6px; border: 2px solid var(--lilac);
  background: var(--bg); display: grid; place-items: center; cursor: pointer;
}
.check input:checked { background: var(--purple); border-color: var(--purple-2); }
.check input:checked::after { content: '✓'; color: #fff; font-weight: 800; font-size: 15px; line-height: 1; }
.check input:focus-visible { outline: 2px solid var(--lilac); outline-offset: 2px; }

.accepted { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.accepted svg { width: 28px; height: 28px; color: var(--ok); flex: none; }
.accepted p { flex: 1; min-width: 170px; font-size: 14.500px; }
.accepted p span { color: var(--muted); }
#regulamento.closed > .rules, #regulamento.closed > .panel-sub, #regulamento.closed > .panel-title { display: none; }
.link { color: var(--lilac); font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; padding: 6px 0; }

/* ── Campos ──────────────────────────────────────────────── */
.grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
.field { display: grid; gap: 7px; min-width: 0; align-content: start; }
.field > label:not(.drop) { font-size: 13.500px; font-weight: 600; }
input:not([type=checkbox]):not([type=file]), select {
  width: 100%; background: rgba(7, 5, 13, .7); border: 1px solid var(--line-2); border-radius: 8px; padding: 13px 14px; font-size: 16px; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
select { appearance: none; -webkit-appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23c9a3ff' stroke-width='1.600'%3E%3Cpath d='M1 1.500l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; }
select:invalid, ::placeholder { color: #7d7496; }
option { background: var(--surface); color: var(--text); }
input:focus, select:focus { border-color: var(--purple-2); box-shadow: 0 0 0 3px rgba(168, 85, 247, .28); }
.field.bad input, .field.bad select, .field.bad .drop { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: 13px; font-weight: 600; }
.hint { font-size: 13px; color: var(--muted); }
.hint.center { text-align: center; margin-top: 10px; }

.brief { list-style: none; display: grid; gap: 8px; margin-bottom: 16px; counter-reset: b; }
.brief li { counter-increment: b; position: relative; padding-left: 24px; font-size: 14.500px; color: var(--soft); }
.brief li::before { content: counter(b); position: absolute; left: 0; font-weight: 800; color: var(--purple-2); font-size: 15px; }
.brief b { color: var(--text); }

.drop {
  display: grid; justify-items: center; gap: 6px; text-align: center; cursor: pointer; padding: 26px 16px;
  border: 1.500px dashed var(--lilac); border-radius: 12px; background: rgba(139, 61, 255, .06); transition: background .15s, border-color .15s;
}
.drop:hover, .drop.over { background: rgba(139, 61, 255, .18); }
.drop svg { width: 40px; height: 40px; color: var(--text); }
.drop strong { font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.drop span { font-size: 12.500px; color: var(--muted); }
.drop.has { border-style: solid; padding: 16px; }
#video:focus-visible ~ .drop, .field:focus-within > .drop { outline: 2px solid var(--lilac); outline-offset: 2px; }
#preview { width: 100%; max-height: 440px; border-radius: 12px; background: #000; }

.progress { margin-top: 18px; }
.bar { height: 10px; border-radius: 99px; background: var(--bg); border: 1px solid var(--line-2); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--purple), var(--lilac)); transition: width .2s; }
.progress p { margin-top: 8px; font-size: 13.500px; color: var(--soft); font-variant-numeric: tabular-nums; }
.form-error { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 122, 144, .1); border: 1px solid rgba(255, 122, 144, .55); color: #ffd0d8; font-size: 14px; font-weight: 600; }

.done { text-align: center; padding: 40px 20px; outline: none; }
.done > svg { width: 68px; height: 68px; color: var(--ok); }
.done h3 { font-size: 30px; font-weight: 800; text-transform: uppercase; margin: 8px 0 10px; line-height: 1.05; }
.done p { color: var(--soft); max-width: 470px; margin: 0 auto; font-size: 15px; }
.protocol { display: inline-block; margin: 14px auto 16px !important; padding: 10px 20px; border: 1.500px dashed var(--lilac); border-radius: 12px; font-size: 30px !important; font-weight: 800; letter-spacing: .1em; color: var(--lilac) !important; }

.foot { border-top: 1px solid var(--line); text-align: center; padding: 28px 16px 40px; color: var(--muted); font-size: 12.500px; display: grid; gap: 6px; }
.foot .astro { color: var(--text); }

@media (min-width: 720px) {
  .nav { padding: 14px 32px; }
  .wrap, .hero-text { padding-left: 32px; padding-right: 32px; }
  .hero-text { padding-top: 64px; padding-bottom: 72px; }
  .hero-art { right: -14%; top: -12%; width: 78%; opacity: .95; }
  .hero-photo { right: 0; width: auto; height: 100%; max-width: 72%; opacity: 1; }
  .strip ul { grid-template-columns: repeat(3, 1fr); }
  .strip li { border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
  .strip li:nth-child(-n+3) { border-top: 0; }
  .strip li:nth-child(3n+1) { border-left: 0; }
  .about { grid-template-columns: 1fr 1.300fr; gap: 0; padding-top: 60px; padding-bottom: 60px; }
  .live { border-left: 1px solid var(--line-2); padding-left: 40px; margin-left: 40px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .teachers { padding-top: 60px; }
  .panel { padding: 32px 34px 34px; }
  .grid { grid-template-columns: repeat(4, 1fr); }
  .span-2 { grid-column: span 2; } .span-3 { grid-column: span 3; } .span-4 { grid-column: 1 / -1; }
  .timeline ol { grid-template-columns: repeat(5, 1fr); }
  .timeline li { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 4px; padding: 4px 8px; border-top: 0; border-left: 1px solid var(--line); }
  .timeline li:first-child { border-left: 0; }
  .timeline svg { margin-bottom: 4px; }
}
@media (min-width: 1000px) {
  .nav-links { display: flex; }
  .btn.small { font-size: 14px; padding: 11px 20px; }
  .strip ul { grid-template-columns: repeat(6, 1fr); }
  .strip li, .strip li:nth-child(3n+1) { border-top: 0; border-left: 1px solid var(--line); padding: 26px 10px; }
  .strip li:first-child { border-left: 0; }
  .timeline .wrap { grid-template-columns: 250px 1fr; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
