* { margin: 0; padding: 0; box-sizing: border-box; }
/* Tokens centralizados em css/tokens.css (carregado antes deste arquivo). */
html, body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body { padding-bottom: 64px; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
img { display: block; }
::selection { background: var(--lay); color: #0D0D10; }

/* topbar */
.topbar { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 16px 44px; background: linear-gradient(180deg, rgba(13,13,16,.92), rgba(13,13,16,.45) 70%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.topbar.solid { background: rgba(13,13,16,.82); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand .name { font-weight: 800; letter-spacing: .06em; font-size: 17px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 500; color: var(--muted); }
.nav a { cursor: pointer; transition: color .15s ease; }
.nav a.active, .nav a:hover { color: var(--text); }
.back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; font-weight: 600; cursor: pointer; transition: color .15s ease; }
.back:hover { color: var(--text); }

/* hero */
.hero { position: relative; height: 78vh; min-height: 520px; max-height: 760px; margin-top: -72px; display: flex; align-items: flex-end; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.hero .grad { position: absolute; inset: 0; background: radial-gradient(55% 70% at 86% 14%, rgba(231,106,133,.24), transparent 60%), linear-gradient(180deg, rgba(13,13,16,.25) 0%, rgba(13,13,16,.55) 50%, var(--bg) 99%), linear-gradient(90deg, rgba(13,13,16,.9), rgba(13,13,16,.3) 58%, transparent 82%); }
.hero-motif { position: absolute; right: 5%; top: 14%; width: 300px; max-width: 30vw; opacity: .13; z-index: 1; pointer-events: none; }
.hero-inner { position: relative; z-index: 2; padding: 0 44px 60px; max-width: 720px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--lay); margin-bottom: 16px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--lay); box-shadow: 0 0 12px var(--lay); }
.hero h1 { font-size: clamp(34px, 5vw, 54px); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; margin-bottom: 16px; }
.hero p { font-size: 16.5px; color: #d4d7dc; max-width: 540px; line-height: 1.55; margin-bottom: 26px; }
.meta-row { display: flex; gap: 14px; align-items: center; color: var(--muted); font-size: 13px; margin-bottom: 22px; flex-wrap: wrap; }
.meta-row .pill { border: 1px solid var(--line); border-radius: 6px; padding: 3px 9px; font-weight: 600; }
.btns { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-weight: 700; font-size: 15px; border-radius: 12px; padding: 13px 24px; cursor: pointer; border: 1px solid transparent; transition: transform .2s cubic-bezier(.2,.7,.2,1), background .2s ease, box-shadow .2s ease; }
.btn svg { flex: 0 0 auto; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--lay); color: #0D0D10; box-shadow: 0 8px 24px rgba(231,106,133,.28); }
.btn-primary:hover { background: var(--lay-strong); box-shadow: 0 12px 30px rgba(231,106,133,.36); }
.btn-ghost { background: rgba(255,255,255,.08); color: var(--text); border-color: rgba(255,255,255,.16); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-wa { background: #1EA951; color: #fff; box-shadow: 0 8px 24px rgba(30,169,81,.26); }
.btn-wa:hover { background: #1a9648; box-shadow: 0 12px 30px rgba(30,169,81,.34); }

/* prateleiras */
.shelves { position: relative; z-index: 3; margin-top: -24px; }
.shelf { margin: 40px 0; }
.shelf-head { display: flex; align-items: baseline; justify-content: space-between; padding: 0 44px; margin-bottom: 16px; }
.shelf-head h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.shelf-head .sub { color: var(--muted); font-size: 13px; }
.shelf-head.locked-head { align-items: flex-start; gap: 16px; }
.shelf-sub { color: var(--muted); font-size: 13px; margin-top: 4px; max-width: 520px; }
.shelf-cta { color: var(--lay-soft); font-size: 13px; font-weight: 700; white-space: nowrap; flex: 0 0 auto; transition: color .15s ease; }
.shelf-cta:hover { color: var(--lay); }
.shelf-locked { background: linear-gradient(180deg, rgba(231,106,133,.06), transparent 120px); border-radius: 18px; padding-top: 6px; }
.row { display: flex; gap: 18px; overflow-x: auto; padding: 8px 44px 18px; scroll-snap-type: x proximity; scrollbar-width: thin; }
.row::-webkit-scrollbar { height: 8px; }
.row::-webkit-scrollbar-thumb { background: #2a2e36; border-radius: 8px; }
.row::-webkit-scrollbar-thumb:hover { background: #3a3f48; }

/* card */
.card { flex: 0 0 auto; width: 300px; scroll-snap-align: start; cursor: pointer; }
.poster { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #15171c; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s cubic-bezier(.2,.7,.2,1), border-color .2s ease; }
.poster-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.poster::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,13,16,.34), transparent 32%); z-index: 1; pointer-events: none; }
.card:hover .poster { transform: translateY(-4px); box-shadow: 0 0 0 2px var(--lay), 0 24px 50px rgba(0,0,0,.55); border-color: transparent; }
.card:hover .poster-img { transform: scale(1.06); }
.poster .tag { position: absolute; left: 12px; top: 12px; z-index: 2; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #0D0D10; background: var(--lay); padding: 4px 9px; border-radius: 6px; }
.poster .tag.lock { background: var(--lay-soft); }
.poster .ov { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.8); z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: rgba(13,13,16,.5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; color: #fff; opacity: 0; transition: opacity .25s ease, transform .25s cubic-bezier(.2,.7,.2,1); }
.card:hover .ov { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.card-info { padding: 11px 2px 0; }
.card-info .ct { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-info .cm { font-size: 12px; color: var(--muted); margin-top: 4px; }
.card.is-locked .poster::after { content: ''; position: absolute; inset: 0; background: rgba(13,13,16,.30); transition: background .3s ease; z-index: 1; }
.card.is-locked:hover .poster::after { background: rgba(13,13,16,.10); }
.card.is-locked .ov { opacity: 1; transform: translate(-50%, -50%) scale(1); background: rgba(13,13,16,.62); }

/* tela da aula */
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 44px; }
.player { position: relative; margin: 22px auto 0; max-width: 1040px; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: #000; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
h1.title { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; margin-bottom: 14px; }
.grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; margin-top: 8px; }
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }
.lead { font-size: 16px; line-height: 1.7; color: #d4d7dc; }
.lead p { margin-bottom: 12px; }
.side { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 20px; }
.side h4 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.mat { display: flex; align-items: center; gap: 12px; padding: 12px 13px; border-radius: 12px; border: 1px solid var(--line); margin-bottom: 10px; cursor: pointer; transition: border-color .15s ease, transform .15s ease, background .15s ease; background: var(--surface-2); }
.mat:hover { border-color: var(--lay); transform: translateY(-1px); }
.mat .ic { width: 34px; height: 34px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 16px; background: var(--lay-tint); flex: 0 0 auto; }
.mat .tt { font-size: 13.5px; font-weight: 600; }
.mat .ss { font-size: 11.5px; color: var(--muted); margin-top: 1px; }
.mat.primary { background: var(--lay); border-color: var(--lay); }
.mat.primary .tt, .mat.primary .ss { color: #0D0D10; }
.mat.primary .ic { background: rgba(13,13,16,.14); }

/* estados */
.state { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; min-height: 60vh; color: var(--muted); gap: 14px; padding: 0 24px; }
.state h2 { color: var(--text); font-size: 22px; font-weight: 700; }

/* skeleton (loading) */
.sk { background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%); background-size: 300% 100%; animation: shimmer 1.4s ease-in-out infinite; border-radius: 10px; }
@keyframes shimmer { 0% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
.sk-hero { height: 78vh; min-height: 520px; max-height: 760px; margin-top: -72px; border-radius: 0; }
.sk-shelf { padding: 0 44px; margin-top: 28px; }
.sk-h2 { width: 240px; height: 22px; margin-bottom: 18px; }
.sk-row { display: flex; gap: 18px; overflow: hidden; }
.sk-card { flex: 0 0 auto; width: 300px; }
.sk-poster { width: 300px; aspect-ratio: 16 / 9; border-radius: 14px; }
.sk-line { height: 13px; margin-top: 11px; }
.sk-line.sk-short { width: 55%; }
.sk-player { aspect-ratio: 16 / 9; border-radius: 16px; max-width: 1040px; margin: 22px auto 0; }

/* treinamento bloqueado (página) */
.locked-wrap .back { display: inline-flex; margin: 8px 0 0; }
.locked-hero { position: relative; height: 320px; border-radius: 18px; overflow: hidden; background-color: #12151b; margin-top: 14px; border: 1px solid var(--line); }
.locked-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.locked-hero-grad { position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 10%, rgba(231,106,133,.18), transparent 60%), linear-gradient(180deg, rgba(13,13,16,.25), rgba(13,13,16,.88)); }
.locked-lockbadge { position: absolute; left: 16px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .03em; color: #0D0D10; background: var(--lay-soft); padding: 6px 12px; border-radius: 8px; }
.locked-lockbadge svg { width: 14px; height: 14px; }
.locked-grid { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; margin-top: 8px; }
@media (max-width: 820px) { .locked-grid { grid-template-columns: 1fr; } }
.bull-h { color: var(--text); font-size: 15px; margin: 24px 0 12px; }
ul.bull { list-style: none; margin: 0; padding: 0; }
ul.bull li { position: relative; padding-left: 26px; margin-bottom: 12px; color: #d4d7dc; font-size: 15px; line-height: 1.55; }
ul.bull li::before { content: '\2192'; position: absolute; left: 0; color: var(--lay); font-weight: 800; }
.locked-cta { text-align: center; position: sticky; top: 90px; }
.lockbig { display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 14px; background: var(--lay-tint); color: var(--lay-soft); }
.lockbig svg { width: 24px; height: 24px; }
.locked-cta-t { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.locked-cta-p { font-size: 13.5px; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.locked-wa { width: 100%; }
.locked-disc { font-size: 10.5px; color: #6b7079; margin-top: 12px; line-height: 1.4; }

/* rodapé de conformidade (global) */
.site-footer { border-top: 1px solid var(--line); margin-top: 56px; padding: 28px 44px; text-align: center; color: #6b7079; font-size: 11.5px; line-height: 1.7; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--text); }

/* responsivo */
@media (max-width: 640px) {
  .topbar { padding: 14px 20px; }
  .hero, .sk-hero { margin-top: -64px; min-height: 480px; }
  .hero-inner { padding: 0 20px 44px; max-width: 100%; }
  .hero p { font-size: 15.5px; }
  .shelf-head, .row, .sk-shelf { padding-left: 20px; padding-right: 20px; }
  .wrap { padding: 0 20px; }
  .card, .poster, .sk-card, .sk-poster { width: 270px; }
  .hero-motif { width: 150px; top: 5%; right: -4%; opacity: .10; }
  .hero .btns { width: 100%; }
  .hero .btns .btn { width: 100%; }
  .locked-cta { position: static; }
}
