/* RafaelLíngua · conteúdo exclusivo (cadeado + materiais). Usa as cores do curso; os nomes antigos (--gold…) servem ao curso de árabe. */
#exclusivo {
  --v-acc: var(--acc, var(--gold, #d4a24c));
  --v-acc-l: var(--acc-l, var(--gold-l, #f6d58a));
  --v-on: var(--on-acc, #2a1606);
  --v-hot: var(--hot, var(--coral, #f0785a));
  --v-ok: var(--ok, var(--teal, #2ec4b6));
  --v-line: color-mix(in srgb, var(--v-acc) 24%, transparent);
  overflow: hidden;
}
#exclusivo .btn-acc { background: linear-gradient(135deg, var(--v-acc-l), var(--v-acc) 60%); color: var(--v-on); box-shadow: 0 6px 24px color-mix(in srgb, var(--v-acc) 35%, transparent); }
#exclusivo .vault { max-width: 1080px; margin: 0 auto; }

/* ---------- Cartão bloqueado ---------- */
.vl-card {
  position: relative; max-width: 560px; margin: 0 auto; padding: 34px clamp(18px, 5vw, 40px) 28px; text-align: center; border-radius: 28px;
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--v-acc) 18%, transparent), transparent 65%), rgba(255,255,255,.035);
  border: 1px solid var(--v-line); box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
.vl-card.shake { animation: vlShake .5s; }
.vl-stage { position: relative; width: 190px; height: 190px; margin: 0 auto 6px; display: grid; place-items: center; }
.vl-ring { position: absolute; inset: 14px; border-radius: 50%; border: 2px dashed color-mix(in srgb, var(--v-acc) 45%, transparent); animation: vlSpin 22s linear infinite; }
.vl-r2 { inset: 0; border: 1px solid color-mix(in srgb, var(--v-acc) 22%, transparent); animation: vlPulse 3s ease-in-out infinite; }
.vl-orbit { position: absolute; inset: 0; animation: vlSpin 9s linear infinite; }
.vl-orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--v-acc-l); box-shadow: 0 0 12px var(--v-acc-l); top: 4px; left: calc(50% - 4px); }
.vl-orbit i:nth-child(2) { top: auto; bottom: 4px; opacity: .6; }
.vl-orbit i:nth-child(3) { top: calc(50% - 3px); left: 4px; width: 6px; height: 6px; opacity: .8; }
.vl-svg { position: relative; width: 108px; overflow: visible; filter: drop-shadow(0 12px 22px rgba(0,0,0,.45)) drop-shadow(0 0 22px color-mix(in srgb, var(--v-acc) 35%, transparent)); animation: vlFloat 4s ease-in-out infinite; }
.vl-svg .vl-s1 { stop-color: var(--v-acc-l); }
.vl-svg .vl-s2 { stop-color: var(--v-acc); }
.vl-svg .vl-s3 { stop-color: color-mix(in srgb, var(--v-acc) 60%, #000); }
.vl-shackle { transform-box: view-box; transform-origin: 34px 66px; animation: vlJiggle 5s ease-in-out infinite; }
.vl-hole { fill: color-mix(in srgb, var(--v-acc) 30%, #120a04); }
.vl-hole circle { animation: vlGlow 2.4s ease-in-out infinite alternate; }
.vl-title { font-size: 1.5rem; margin-top: 4px; }
.vl-sub { color: var(--muted); margin: 6px auto 18px; max-width: 400px; }
.vl-form { display: flex; gap: 8px; max-width: 420px; margin: 0 auto; }
.vl-input {
  flex: 1; min-width: 0; padding: 12px 16px; border-radius: 999px; font: inherit; font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; text-align: center;
  color: var(--ink); background: rgba(0,0,0,.3); border: 1.5px solid var(--v-line); outline: none; transition: border-color .2s, box-shadow .2s;
}
.vl-input:focus { border-color: var(--v-acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--v-acc) 22%, transparent); }
.vl-input::placeholder { letter-spacing: normal; text-transform: none; }
.vl-btn { flex-shrink: 0; }
.vl-btn:disabled { opacity: .6; cursor: wait; }
.vl-msg { min-height: 1.5em; margin-top: 12px; font-weight: 600; color: var(--muted); }
.vl-msg.ok { color: var(--v-ok); }
.vl-msg.bad { color: var(--v-hot); }
.vl-note { font-size: .82rem; color: var(--muted); opacity: .8; }

/* ---------- Pedir a senha pelo WhatsApp ---------- */
.vl-or { display: flex; align-items: center; gap: 12px; max-width: 420px; margin: 4px auto 14px; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.vl-or::before, .vl-or::after { content: ''; flex: 1; height: 1px; background: var(--v-line); }
.vl-wa {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; max-width: 100%;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #2fe07a, #1fae5a); box-shadow: 0 8px 26px rgba(37, 211, 102, .35);
  transition: transform .25s, box-shadow .25s; margin-bottom: 14px;
}
.vl-wa svg { width: 24px; height: 24px; flex-shrink: 0; }
.vl-wa:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37, 211, 102, .5); }
.vl-wa::after { content: ''; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(37, 211, 102, .55); animation: vlWaPing 2.4s ease-out infinite; pointer-events: none; }
.opening .vl-or, .opening .vl-wa { opacity: .3; transition: opacity .4s; }
@keyframes vlWaPing { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(1.12); opacity: 0; } }

/* ---------- Abrindo ---------- */
.opening .vl-svg { animation: vlOpenPop 1.6s ease forwards; }
.opening .vl-shackle { animation: vlUnlock 1s cubic-bezier(.5, 0, .2, 1.4) forwards; }
.opening .vl-hole circle { animation: none; fill: var(--v-ok); }
.opening .vl-ring { border-color: var(--v-ok); animation-duration: 2s; }
.opening .vl-form, .opening .vl-sub, .opening .vl-note { opacity: .3; transition: opacity .4s; }
.vl-burst { position: absolute; inset: 50%; pointer-events: none; }
.vl-burst i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--v-acc-l); box-shadow: 0 0 10px var(--v-acc-l); animation: vlBurst 1.1s ease-out forwards; }
.vl-burst i:nth-child(3n) { background: var(--v-ok); box-shadow: 0 0 10px var(--v-ok); }

/* ---------- Conteúdo liberado ---------- */
.vl-open { display: flex; align-items: center; justify-content: center; gap: 8px; width: max-content; max-width: 100%; margin: -18px auto 28px; padding: 6px 16px; border-radius: 999px; font-size: .88rem; color: var(--v-ok); border: 1px solid color-mix(in srgb, var(--v-ok) 40%, transparent); background: color-mix(in srgb, var(--v-ok) 9%, transparent); }
.vl-open.fresh { animation: vlIn .7s cubic-bezier(.3, 1.4, .5, 1); }
.vl-open.fresh .vl-mini { display: inline-block; animation: vlWiggle .8s .3s; }
.vc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; }
.vc {
  display: flex; gap: 14px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.04); border: 1px solid var(--v-line);
  animation: vlIn .6s both; transition: border-color .3s, transform .3s;
}
.vc:hover { border-color: var(--v-acc); transform: translateY(-3px); }
.vc-video { grid-column: 1 / -1; flex-direction: column; padding: 0; overflow: hidden; }
.vc-video .vc-body { padding: 16px 20px 20px; }
.vc-media { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vc-media iframe, .vc-media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vc-play { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.3rem; font-weight: 700; color: var(--v-acc-l); background: radial-gradient(circle, color-mix(in srgb, var(--v-acc) 25%, transparent), transparent 60%); }
.vc-icon { font-size: 2.2rem; line-height: 1; flex-shrink: 0; }
.vc-body { flex: 1; min-width: 0; }
.vc-kind { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--v-acc); font-weight: 600; }
.vc h3 { font-size: 1.15rem; line-height: 1.3; margin: 2px 0 4px; }
.vc-desc { color: var(--muted); font-size: .92rem; white-space: pre-line; }
.vc-meta { color: var(--muted); font-size: .8rem; margin-top: 8px; word-break: break-all; }
.vc-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.vc-img { display: block; width: 100%; max-height: 260px; object-fit: cover; border-radius: 12px; margin-top: 10px; }
.vc audio { width: 100%; margin-top: 10px; }
.vc-text { grid-column: 1 / -1; }
.vc-prose { margin-top: 8px; font-size: 1rem; line-height: 1.75; color: var(--ink); }
.vc-empty { text-align: center; color: var(--muted); padding: 30px; border: 1px dashed var(--v-line); border-radius: 18px; }

@keyframes vlSpin { to { transform: rotate(360deg); } }
@keyframes vlPulse { 0%, 100% { transform: scale(1); opacity: .6; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes vlFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes vlJiggle { 0%, 86%, 100% { transform: none; } 89% { transform: translateY(-3px); } 92% { transform: none; } 95% { transform: translateY(-2px); } }
@keyframes vlGlow { from { fill: color-mix(in srgb, var(--v-acc) 30%, #120a04); } to { fill: var(--v-acc-l); } }
@keyframes vlShake { 15%, 55% { transform: translateX(-10px); } 35%, 75% { transform: translateX(10px); } }
@keyframes vlUnlock { 0% { transform: none; } 45% { transform: translateY(-18px); } 100% { transform: translateY(-18px) rotate(-32deg); } }
@keyframes vlOpenPop { 0% { transform: scale(1); } 30% { transform: scale(1.12); } 100% { transform: scale(1.05); filter: drop-shadow(0 0 40px var(--v-ok)); } }
@keyframes vlBurst { from { transform: translate(0, 0) scale(1); opacity: 1; } to { transform: translate(var(--x), var(--y)) scale(.3); opacity: 0; } }
@keyframes vlIn { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes vlWiggle { 25% { transform: rotate(-18deg); } 75% { transform: rotate(14deg); } }

@media (max-width: 520px) {
  .vl-form { flex-direction: column; }
  .vc-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .vl-ring, .vl-orbit, .vl-svg, .vl-shackle { animation: none !important; }
}
