/* Area de membros (base Draftcrew; tambem usada pela area BR do Engenhando com IA) (cargo plataforma, 09/11/2026). Base: mockups v1 aprovados para construir (plataforma/mockups/v1/assets/mock.css). */
@font-face { font-family: "Work Sans"; src: url("/m/assets/work-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  color-scheme: light;
  --tinta: #231114; --creme: #F7F2E6; --amarelo: #F2DA2A; --branco: #fffefa;
  --aux: #5f584e; --linha: rgba(35,17,20,.15); --linha-forte: rgba(35,17,20,.32);
  --ok: #1d6a3a; --ok-bg: #e4f2e8; --erro: #a8231b; --erro-bg: #fdecea; --aviso: #7a5200; --aviso-bg: #fbf0cf;
  --foco: #6f5a00; --gut: 16px; --r: 14px; --sombra: 0 14px 36px rgba(35,17,20,.09);
  font-family: "Work Sans", Arial, sans-serif; color: var(--tinta); background: var(--creme);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; min-width: 0; max-width: 100%; overflow-x: clip; }
body { background: var(--creme); color: var(--tinta); font: 400 16px/1.5 "Work Sans", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea, summary { font: inherit; color: inherit; }
button { cursor: pointer; }
svg.i { width: 20px; height: 20px; flex: none; display: block; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--foco); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: 8px; top: 8px; z-index: 200; transform: translateY(-160%); min-height: 44px; padding: 10px 14px; background: var(--amarelo); border-radius: 8px; font-weight: 700; }
.skip:focus { transform: none; }

/* marca */
.wm { display: inline-flex; align-items: center; min-height: 44px; font-size: 21px; line-height: 1; font-weight: 800; letter-spacing: -.035em; white-space: nowrap; color: var(--tinta); }
.wm span { margin-left: 1px; padding: 3px 5px 4px 4px; border-radius: 6px; background: var(--amarelo); letter-spacing: -.01em; }

/* botões */
.btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 11px 18px; border: 1.5px solid transparent; border-radius: 10px; background: transparent; font-size: 15px; line-height: 1.2; font-weight: 750; text-align: center; cursor: pointer; transition: background .15s, border-color .15s; }
.btn svg.i { width: 18px; height: 18px; }
.btn-primary { background: var(--amarelo); color: var(--tinta); }
.btn-primary:hover { background: #f8e750; }
.btn-dark { background: var(--tinta); color: #fff; }
.btn-dark:hover { background: #3a2226; }
.btn-ghost { border-color: var(--linha-forte); background: var(--branco); }
.btn-ghost:hover { border-color: var(--tinta); }
.btn-danger { border-color: var(--erro); color: var(--erro); background: var(--branco); }
.btn-danger:hover { background: var(--erro-bg); }
.btn-lg { min-height: 60px; font-size: 17px; padding-inline: 22px; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-sm { min-height: 44px; padding: 8px 14px; font-size: 14px; }
.link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* cartão, chips, campos */
.card { border: 1px solid var(--linha); border-radius: var(--r); background: var(--branco); box-shadow: var(--sombra); }
.pad { padding: 18px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 10px; border-radius: 99px; background: rgba(35,17,20,.08); font-size: 12px; line-height: 1.2; font-weight: 750; letter-spacing: .02em; white-space: nowrap; }
.chip-ok { background: var(--ok-bg); color: var(--ok); }
.chip-warn { background: var(--aviso-bg); color: var(--aviso); }
.chip-bad { background: var(--erro-bg); color: var(--erro); }
.chip-y { background: var(--amarelo); color: var(--tinta); }
.chip svg.i { width: 14px; height: 14px; }
.eyebrow { color: var(--aux); font-size: 12px; line-height: 1.3; font-weight: 750; letter-spacing: .075em; text-transform: uppercase; }
.field { display: grid; gap: 6px; }
.field > label, .lbl { font-size: 14px; font-weight: 700; }
.input { width: 100%; min-height: 48px; padding: 10px 13px; border: 1.5px solid var(--linha-forte); border-radius: 10px; background: #fff; font-size: 16px; line-height: 1.3; }
.input:focus { outline: 3px solid var(--foco); outline-offset: 1px; border-color: var(--tinta); }
.input[readonly] { background: #efe9da; color: #3f3832; }
.input.bad { border-color: var(--erro); background: var(--erro-bg); }
.hint { color: var(--aux); font-size: 13px; line-height: 1.4; }
.err { color: var(--erro); font-size: 13px; line-height: 1.4; font-weight: 650; }
.passwrap { position: relative; }
.passwrap .input { padding-right: 56px; }
.passwrap button { position: absolute; right: 2px; top: 2px; width: 48px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; }
.passwrap button[aria-pressed="true"] { background: rgba(35,17,20,.08); }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; font-size: 14px; }
.check input { width: 22px; height: 22px; margin: 11px 0 0; accent-color: var(--tinta); flex: none; }
.stack { display: grid; gap: 14px; }

/* telas de acesso (obrigado, senha, login) */
.authbg { min-height: 100svh; background-color: var(--creme); background-image: linear-gradient(rgba(35,17,20,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(35,17,20,.035) 1px, transparent 1px); background-size: 22px 22px; }
.auth { width: 100%; max-width: 480px; margin-inline: auto; padding: 8px var(--gut) 40px; }
.auth-top { display: flex; justify-content: center; padding-top: 10px; }
.auth h1 { font-size: clamp(1.7rem, 6.4vw, 2.2rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 740; }
.auth .lead { margin-top: 8px; color: #453e38; font-size: 16px; line-height: 1.45; }
.auth .card { margin-top: 18px; }
.auth-foot { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; font-size: 14px; }
.reqs { display: grid; gap: 2px; margin-top: 2px; }
.reqs li { display: flex; align-items: center; gap: 8px; min-height: 28px; color: var(--aux); font-size: 13px; }
.reqs li svg.i { width: 16px; height: 16px; opacity: .4; }
.reqs li.ok { color: var(--ok); font-weight: 650; }
.reqs li.ok svg.i { opacity: 1; }
.tick { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; background: var(--amarelo); box-shadow: 0 0 0 6px rgba(242,218,42,.28); }
.tick svg.i { width: 32px; height: 32px; }
.steps3 { display: grid; gap: 0; margin-top: 4px; }
.steps3 li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--linha); font-size: 15px; }
.steps3 li:first-child { border-top: 0; }
.steps3 b.n { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--tinta); color: var(--amarelo); font-size: 14px; }
.sum { display: grid; gap: 6px; font-size: 14px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum .tot { padding-top: 8px; border-top: 1px solid var(--linha); font-size: 16px; font-weight: 800; }

/* toast e diálogo */
.toast { position: fixed; z-index: 150; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); width: max-content; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 10px; background: var(--tinta); color: #fff; box-shadow: 0 14px 34px rgba(35,17,20,.3); font-size: 14px; line-height: 1.4; font-weight: 650; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
dialog { width: min(calc(100% - 32px), 480px); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 16px; background: var(--branco); color: var(--tinta); box-shadow: 0 30px 80px rgba(35,17,20,.4); overflow: auto; }
dialog::backdrop { background: rgba(35,17,20,.55); }
.dlg { padding: 22px 20px 20px; display: grid; gap: 14px; }
.dlg h2 { font-size: 22px; line-height: 1.15; letter-spacing: -.02em; font-weight: 760; }
.dlg-actions { display: grid; gap: 10px; margin-top: 4px; }

/* área de membros: casca */
.mh { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--linha); background: var(--creme); }
.mh-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 1120px; min-height: 60px; margin-inline: auto; padding-inline: var(--gut); }
.mh-nav { display: none; gap: 4px; }
.mh-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 9px; font-size: 15px; font-weight: 700; color: #453e38; }
.mh-nav a:hover { background: rgba(35,17,20,.06); }
.mh-nav a[aria-current="page"] { background: var(--tinta); color: #fff; }
.mh-user { display: flex; align-items: center; gap: 10px; }
.mh-user span.em { display: none; font-size: 14px; color: var(--aux); }
.avatar { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--tinta); color: var(--amarelo); font-size: 14px; font-weight: 800; }
.tabbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--linha-forte); background: var(--branco); }
.tabbar a { min-height: 60px; display: grid; place-content: center; justify-items: center; gap: 2px; font-size: 12px; font-weight: 700; color: #453e38; }
.tabbar a[aria-current="page"] { color: var(--tinta); box-shadow: inset 0 3px 0 var(--tinta); background: #fbf6dd; }
.main { width: 100%; max-width: 1120px; margin-inline: auto; padding: 18px var(--gut) calc(96px + env(safe-area-inset-bottom)); }
.main h1 { font-size: clamp(1.7rem, 6vw, 2.5rem); line-height: 1.06; letter-spacing: -.045em; font-weight: 740; }
.pagehead { display: grid; gap: 6px; margin-bottom: 18px; }
.crumb { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-size: 14px; font-weight: 700; color: #453e38; }
.crumb svg.i { width: 16px; height: 16px; }

/* meus produtos */
.pgrid { display: grid; gap: 16px; }
.pcard { overflow: hidden; display: grid; }
.pcard-img { position: relative; aspect-ratio: 16 / 9; background: #fff; border-bottom: 1px solid var(--linha); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; }
.pcard-img .chip { position: absolute; left: 12px; top: 12px; }
.pcard-body { display: grid; gap: 10px; padding: 16px 18px 18px; }
.pcard h2 { font-size: 22px; line-height: 1.15; letter-spacing: -.025em; font-weight: 760; }
.meta { display: flex; flex-wrap: wrap; gap: 4px 14px; color: var(--aux); font-size: 13px; }
.bar { height: 10px; border-radius: 99px; background: rgba(35,17,20,.12); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--tinta); transition: width .35s; }
.barline { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; font-weight: 650; margin-bottom: 6px; }
.pcard.locked { background: transparent; box-shadow: none; border-style: dashed; border-color: var(--linha-forte); }
.pcard.locked .pcard-img { display: grid; place-items: center; background: repeating-linear-gradient(135deg, rgba(35,17,20,.05) 0 10px, transparent 10px 20px); }
.pcard.locked .pcard-img svg.i { width: 40px; height: 40px; color: var(--aux); }
.pcard.locked h2, .pcard.locked p { color: #453e38; }
.resume { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 18px; padding: 14px 16px; border-radius: var(--r); background: var(--tinta); color: #fff; }
.resume b { color: var(--amarelo); }
.resume .btn { flex: 1 1 100%; }

/* página do produto */
.phead { display: grid; gap: 10px; margin-bottom: 14px; }
.phead .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-bottom: 18px; border-bottom: 2px solid var(--linha); }
.tabs button { min-height: 48px; padding: 0 2px; border: 0; border-bottom: 4px solid transparent; margin-bottom: -2px; background: transparent; font-size: 14px; font-weight: 700; color: #453e38; }
.tabs button[aria-selected="true"] { border-bottom-color: var(--tinta); color: var(--tinta); font-weight: 800; }
.panel { display: grid; gap: 16px; }
.twocol { display: grid; gap: 16px; align-items: start; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 6px 14px; padding: 18px; }
.step .num { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--tinta); color: var(--amarelo); font-size: 17px; font-weight: 800; }
.step.done .num { background: var(--ok); color: #fff; }
.step h3 { align-self: center; font-size: 19px; line-height: 1.2; letter-spacing: -.02em; font-weight: 760; }
.step .sb { grid-column: 1 / -1; display: grid; gap: 12px; padding-top: 6px; }
.step ol.how { display: grid; gap: 8px; counter-reset: s; padding-left: 0; font-size: 15px; }
.step ol.how li { position: relative; padding-left: 28px; counter-increment: s; }
.step ol.how li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(35,17,20,.1); font-size: 12px; font-weight: 800; }
.dl-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: #453e38; font-size: 14px; }
.dl-meta b { font-weight: 750; }
.mono { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: 12px; line-height: 1.5; word-break: break-all; padding: 10px 12px; border-radius: 8px; background: #efe9da; }
details.more { border-top: 1px solid var(--linha); }
details.more summary { min-height: 44px; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 14px; font-weight: 700; list-style: none; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; margin-left: auto; font-size: 20px; font-weight: 600; }
details.more[open] summary::after { content: "–"; }
details.more > div { padding: 2px 0 14px; display: grid; gap: 8px; font-size: 14px; color: #3f3832; line-height: 1.5; }
.faq { overflow: hidden; }
.faq details { padding: 0 18px; }
.faq details + details { border-top: 1px solid var(--linha); }
.faq summary { min-height: 56px; display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 16px; font-weight: 700; list-style: none; padding-block: 6px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding: 0 0 16px; font-size: 15px; color: #3f3832; }
.done-banner { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--ok-bg); color: #14502b; font-weight: 700; }

/* player */
.player { overflow: hidden; }
.screen { position: relative; aspect-ratio: 16 / 9; background: #1d222b; }
.screen img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.bigplay { position: absolute; inset: 0; margin: auto; width: 72px; height: 72px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--amarelo); color: var(--tinta); box-shadow: 0 8px 26px rgba(0,0,0,.4); }
.bigplay svg.i { width: 30px; height: 30px; margin-left: 3px; }
.screen.playing .bigplay { opacity: 0; pointer-events: none; }
.screen .ttl { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; background: linear-gradient(transparent, rgba(0,0,0,.72)); color: #fff; font-size: 13px; font-weight: 650; }
.ctrl { display: flex; align-items: center; gap: 10px; padding: 8px 10px; background: var(--tinta); color: #fff; }
.ctrl button { width: 44px; height: 44px; display: grid; place-items: center; flex: none; border: 0; border-radius: 8px; background: transparent; color: #fff; font-size: 13px; font-weight: 800; }
.ctrl button:hover { background: rgba(255,255,255,.14); }
.ctrl button[aria-pressed="true"] { background: var(--amarelo); color: var(--tinta); }
.ctrl .track { flex: 1; height: 8px; border-radius: 99px; background: rgba(255,255,255,.28); overflow: hidden; }
.ctrl .track i { display: block; height: 100%; width: 0; background: var(--amarelo); }
.ctrl time { font-size: 12px; font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; }
.now { display: grid; gap: 10px; padding: 16px 18px 18px; }
.now h2 { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; font-weight: 760; }
.lessons { overflow: hidden; }
.lessons h2 { padding: 16px 18px 6px; font-size: 18px; letter-spacing: -.02em; font-weight: 760; }
.lessons .sub { padding: 0 18px 10px; color: var(--aux); font-size: 13px; }
.les { width: 100%; min-height: 64px; display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 10px 18px; border: 0; border-top: 1px solid var(--linha); background: transparent; text-align: left; }
.les:hover { background: rgba(35,17,20,.04); }
.les[aria-current="true"] { background: #fbf6dd; box-shadow: inset 4px 0 0 var(--tinta); }
.les .ln { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--linha-forte); font-size: 13px; font-weight: 800; }
.les.seen .ln { background: var(--ok); border-color: var(--ok); color: #fff; }
.les .lt { font-size: 15px; line-height: 1.3; font-weight: 650; }
.les .ld { color: var(--aux); font-size: 13px; font-variant-numeric: tabular-nums; }

/* notas de versão */
.rel { padding: 18px; display: grid; gap: 10px; }
.rel header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.rel h3 { font-size: 20px; letter-spacing: -.02em; font-weight: 760; }
.rel time { color: var(--aux); font-size: 13px; }
.rel ul { display: grid; gap: 8px; }
.rel li { position: relative; padding-left: 22px; font-size: 15px; }
.rel li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 50%; background: var(--tinta); }
.rel li b { font-weight: 750; }

/* conta */
.sec { display: grid; gap: 14px; padding: 18px; }
.sec h2 { font-size: 20px; letter-spacing: -.02em; font-weight: 760; }
.recibo { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--linha); }
.recibo:first-of-type { border-top: 0; }
.recibo .ri { font-weight: 700; }
.recibo .rd { color: var(--aux); font-size: 13px; }
.recibo .rv { text-align: right; font-weight: 800; }
.recibo .ra { grid-column: 1 / -1; }
.refund { background: var(--aviso-bg); border-color: #e3c76b; box-shadow: none; }
.refund p { color: #4a3600; }

@media (min-width: 720px) {
  :root { --gut: 28px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .resume .btn { flex: 0 0 auto; }
  .dlg-actions { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .mh-nav { display: flex; }
  .mh-user span.em { display: inline; }
  .tabbar { display: none; }
  .main { padding-bottom: 64px; }
  .twocol { grid-template-columns: minmax(0, 1fr) 340px; }
  .twocol.les-layout { grid-template-columns: minmax(0, 1fr); } /* aulas em modo teatro (10/11): player na largura toda, lista de aulas abaixo */
  .toast { bottom: 28px; }
  .tabs { max-width: 560px; }
  .tabs button { font-size: 15px; }
  .step { padding: 22px; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ===== acrescimos da area real (09/11/2026) ===== */
.app-login { min-height: 100svh; display: grid; grid-template-rows: 1fr auto; }
.app-login .auth { align-self: center; padding-top: 28px; }
.app-login .auth-top { flex-direction: column; align-items: center; gap: 6px; padding-top: 0; }
.app-login .wm { font-size: 30px; }
.app-login .tag { color: var(--aux); font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.app-login h1 { margin-top: 18px; text-align: center; }
.app-login .lead { text-align: center; }
.newhere { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; padding: 12px 14px; border: 1.5px dashed var(--linha-forte); border-radius: 12px; font-size: 15px; }
.newhere a { font-weight: 750; text-decoration: underline; text-underline-offset: 3px; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 16px; padding: 10px var(--gut) 22px; color: var(--aux); font-size: 13px; }
.legal a { display: inline-flex; align-items: center; min-height: 44px; }
.alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 14px; line-height: 1.45; }
.alert svg.i { margin-top: 1px; }
.alert-bad { background: var(--erro-bg); color: var(--erro); font-weight: 650; }
.alert-ok { background: var(--ok-bg); color: #14502b; font-weight: 650; }
.alert-info { background: #fbf6dd; color: #3f3200; }
.cred { display: grid; gap: 10px; padding: 14px; border: 1.5px solid var(--tinta); border-radius: 12px; background: var(--creme); }
.cred .row { display: grid; gap: 2px; }
.cred .k { color: var(--aux); font-size: 13px; font-weight: 650; }
.cred .v { font-size: 16px; font-weight: 750; overflow-wrap: anywhere; }
.cred .pw { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cred .pw code { font-family: "JetBrains Mono", ui-monospace, Consolas, monospace; font-size: 21px; font-weight: 700; letter-spacing: .06em; }
.pcnote { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: 12px; background: var(--tinta); color: #fff; }
.pcnote .ico { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: var(--amarelo); color: var(--tinta); }
.pcnote b { color: var(--amarelo); }
.pcnote p { font-size: 15px; line-height: 1.45; }
.price { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.loading { display: grid; place-items: center; min-height: 40vh; color: var(--aux); font-weight: 650; }
.player video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.btn.busy { opacity: .7; pointer-events: none; }
.mh-user .link { min-height: 44px; font-size: 14px; }

/* ===== botao flutuante "Contact" e pedido de reembolso (CEO/JV 09/11 ~22h45) ===== */
.fab { position: fixed; z-index: 60; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: grid; justify-items: end; gap: 10px; transition: opacity .18s, transform .18s; }
body.has-tabbar .fab { bottom: calc(76px + env(safe-area-inset-bottom)); }
.fab.away { opacity: 0; transform: translateY(12px); pointer-events: none; }
.fab-btn { min-height: 52px; display: inline-flex; align-items: center; gap: 8px; padding: 0 20px 0 16px; border: 0; border-radius: 99px; background: var(--tinta); color: #fff; font-size: 15px; font-weight: 750; box-shadow: 0 10px 28px rgba(35,17,20,.32); cursor: pointer; }
.fab-btn svg.i { color: var(--amarelo); }
.fab-btn[aria-expanded="true"] { background: #3a2226; }
.fab-menu { min-width: 236px; padding: 6px; border: 1px solid var(--linha); border-radius: 14px; background: var(--branco); box-shadow: 0 18px 44px rgba(35,17,20,.24); }
.fab-menu a { display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 10px; min-height: 52px; padding: 6px 10px; border-radius: 10px; font-size: 15px; font-weight: 700; }
.fab-menu a:hover, .fab-menu a:focus-visible { background: #fbf6dd; }
.fab-menu a .ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--amarelo); color: var(--tinta); }
.fab-menu a small { display: block; color: var(--aux); font-size: 12px; font-weight: 600; }
body.has-tabbar .main { padding-bottom: calc(160px + env(safe-area-inset-bottom)); }
.ty-foot, .legal { padding-bottom: 84px; }
textarea.input { min-height: 96px; resize: vertical; font: inherit; line-height: 1.45; }
@media (min-width: 900px) { body.has-tabbar .fab { bottom: 24px; } body.has-tabbar .main { padding-bottom: 96px; } .fab { right: 24px; bottom: 24px; } }
.pcard { grid-template-columns: minmax(0, 1fr); }
.pcard-body, .pgrid > * { min-width: 0; }
.pcard .btn { white-space: normal; }

/* ===== rodada 2 (JV 09/11 ~23h): arte de verdade, add-on que convida, reembolso discreto, chat nativo, mascote ===== */
/* telas de acesso: faixa de arte no celular, lado visual no desktop */
.split { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.split-art { height: 176px; overflow: hidden; border-bottom: 1px solid var(--linha); background: #f3ead8; }
.split-art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 49%; }
.split-form { display: grid; grid-template-rows: 1fr auto; min-width: 0; }
.split .app-login { min-height: 0; }
.split .app-login .auth { padding-top: 20px; }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-content: stretch; min-height: 100svh; }
  .split-art { order: 2; position: sticky; top: 0; height: 100svh; padding: 18px; border: 0; background: transparent; }
  .split-art img { border-radius: 22px; object-position: 50% 50%; box-shadow: var(--sombra); }
  .split-form { align-content: center; }
  .split .auth { align-self: center; padding-top: 28px; }
}

/* capas */
.pcard-img { aspect-ratio: 16 / 10; display: block; overflow: hidden; }
.pcard-img img { transition: transform .35s ease; }
.cover-fb { height: 100%; display: grid; place-items: center; padding: 16px; background: var(--amarelo); color: var(--tinta); font-size: 24px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; text-align: center; }
.pcard { transition: transform .2s ease, box-shadow .2s ease; }

/* add-on: convida a comprar (sem cadeado, sem hachura) */
.offer { border: 1.5px solid var(--tinta); background: var(--branco); box-shadow: var(--sombra); }
.offer .pcard-img { background: var(--amarelo); }
.offer .pcard-img .chip { position: absolute; left: 12px; top: 12px; box-shadow: 0 2px 8px rgba(35,17,20,.18); border: 1.5px solid var(--tinta); }
.pricetag { position: absolute; right: 12px; bottom: 12px; min-width: 62px; padding: 6px 12px; border: 2px solid var(--tinta); border-radius: 12px; background: var(--branco); font-size: 26px; line-height: 1; font-weight: 800; letter-spacing: -.03em; text-align: center; box-shadow: 4px 4px 0 var(--tinta); }
.benefits { display: grid; gap: 6px; }
.benefits li { display: grid; grid-template-columns: 20px 1fr; gap: 8px; align-items: start; font-size: 14px; line-height: 1.4; }
.benefits svg.i { width: 18px; height: 18px; margin-top: 1px; color: var(--ok); }
.btn-shine { position: relative; overflow: hidden; border: 2px solid var(--tinta); box-shadow: 0 4px 0 var(--tinta); transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn-shine::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.75), transparent); transform: skewX(-18deg); transition: left .55s ease; pointer-events: none; }
@media (hover: hover) {
  .offer:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(35,17,20,.18); }
  .offer:hover .pcard-img img { transform: scale(1.03); }
  .offer:hover .btn-shine::after, .btn-shine:focus-visible::after { left: 120%; }
  .btn-shine:hover { transform: translateY(-1px); box-shadow: 0 5px 0 var(--tinta); }
}
.btn-shine:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--tinta); }

/* reembolso: so no Help, texto neutro */
.refunds { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--linha); color: var(--aux); font-size: 14px; line-height: 1.5; }
.refunds h2 { margin-bottom: 4px; color: var(--tinta); font-size: 15px; font-weight: 750; }
.linkbtn { display: inline; min-height: 0; padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: inherit; cursor: pointer; }
.refunds .link { display: inline; min-height: 0; }
.refunds .linkbtn, .refunds a.link { padding-block: 12px; } /* area de toque maior sem mudar a linha */

/* mascote: discreto */
.masc { display: block; width: auto; height: auto; max-width: none; flex: none; user-select: none; pointer-events: none; }
.pagehead.hi { grid-template-columns: 1fr auto; align-items: end; }
#hi-masc .masc { width: 64px; height: auto; }
.okstate { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; }
.okstate .masc { width: 84px; height: auto; }
.okstate h2 { font-size: 22px; line-height: 1.15; letter-spacing: -.02em; font-weight: 760; }
.okstate p { margin-top: 4px; font-size: 15px; color: #3f3832; }
.ty-top { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.ty-top .masc { width: 92px; height: auto; margin-bottom: 2px; }

/* Contact: item de chat (botao) igual aos links */
.fab-menu button { width: 100%; display: grid; grid-template-columns: 36px 1fr; align-items: center; gap: 10px; min-height: 52px; padding: 6px 10px; border: 0; border-radius: 10px; background: transparent; font-size: 15px; font-weight: 700; text-align: left; }
.fab-menu button:hover, .fab-menu button:focus-visible { background: #fbf6dd; }
.fab-menu button .ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--tinta); color: var(--amarelo); }
.fab-menu button small { display: block; color: var(--aux); font-size: 12px; font-weight: 600; }
.fab-btn { position: relative; }
.fab-dot { position: absolute; right: 6px; top: 4px; width: 12px; height: 12px; border: 2px solid var(--tinta); border-radius: 50%; background: var(--amarelo); }
.fab.chat-open { display: none; }

/* janela do chat */
.chat { position: fixed; z-index: 70; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: min(384px, calc(100% - 32px)); height: min(560px, calc(100svh - 32px)); display: grid; grid-template-rows: auto 1fr auto auto; border: 1px solid var(--linha-forte); border-radius: 18px; background: var(--branco); box-shadow: 0 26px 70px rgba(35,17,20,.34); overflow: hidden; }
.chat[hidden] { display: none; }
.chat-h { display: grid; grid-template-columns: 44px 1fr 44px; gap: 10px; align-items: center; padding: 10px 8px 10px 14px; background: var(--tinta); color: #fff; }
.chat-h b { display: block; font-size: 16px; line-height: 1.2; }
.chat-h small { display: block; color: #e9e2d3; font-size: 12px; line-height: 1.3; }
.chat-x { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 10px; background: transparent; color: #fff; }
.chat-x:hover { background: rgba(255,255,255,.14); }
.chat-av { width: 36px; height: 36px; flex: none; display: block; border-radius: 50%; border: 2px solid var(--amarelo); background: var(--creme) url("/m/mascot-wave.webp") no-repeat 44% 9% / 250%; }
.chat-h .chat-av { width: 44px; height: 44px; }
.chat-log { overflow-y: auto; overscroll-behavior: contain; padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; background: var(--creme); }
.chat-hi { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--branco); border: 1px solid var(--linha); font-size: 14px; line-height: 1.45; }
.chat-hi .masc { width: 60px; height: auto; }
.msg { display: flex; gap: 8px; align-items: flex-end; max-width: 100%; }
.msg .bub { max-width: 82%; padding: 9px 12px; border-radius: 14px; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; white-space: pre-wrap; }
.msg time { display: block; margin-top: 3px; font-size: 12px; opacity: .72; white-space: normal; }
.msg-buyer { justify-content: flex-end; }
.msg-buyer .bub { background: var(--tinta); color: #fff; border-bottom-right-radius: 4px; }
.msg-staff .bub, .msg-system .bub { background: var(--branco); border: 1px solid var(--linha); border-bottom-left-radius: 4px; }
.msg-system .bub { background: #fbf6dd; }
.msg-system .link { display: flex; min-height: 44px; }
.chat-err { margin: 0; padding: 6px 14px; background: var(--erro-bg); }
.chat-f { display: grid; grid-template-columns: 1fr 48px; gap: 8px; align-items: end; padding: 10px; border-top: 1px solid var(--linha); background: var(--branco); }
.chat-f textarea.input { min-height: 48px; max-height: 120px; resize: none; padding-block: 12px; }
.chat-f .btn { min-height: 48px; width: 48px; padding: 0; }
.chat-f .btn[disabled] { opacity: .5; }
@media (max-width: 599px) {
  .chat { inset: 0; width: 100%; height: 100%; height: 100dvh; border: 0; border-radius: 0; }
  .chat-f { padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
}
@media (min-width: 900px) { .chat { right: 24px; bottom: 24px; } }

/* ===== mascote animado (JV 09/11 ~23h20) ===== */
.mz { position: relative; display: inline-block; flex: none; line-height: 0; }
.mz .masc { width: 100%; height: auto; }
.mz[data-w="48"] { width: 48px; } .mz[data-w="64"] { width: 64px; } .mz[data-w="72"] { width: 72px; } .mz[data-w="80"] { width: 80px; } .mz[data-w="88"] { width: 88px; } .mz[data-w="92"] { width: 92px; }
.mz dc-mascot { display: block; }
.mz[data-w="28"] { width: 28px; } .mz[data-w="44"] { width: 44px; }
.chat-av.mz-on { background-image: none; overflow: hidden; }
.chat-av.mz-on dc-mascot { --dcm-bg: var(--creme); }
.hello { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; margin-top: 14px; }
.hello h1, .app-login .hello h1 { margin-top: 0; text-align: left; }
.app-login .hello .lead { text-align: left; }
.prog { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.dr-top { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center; }
.ty-top .mz { margin-bottom: 2px; }
.okstate .mz { align-self: center; }
/* triste: balanca dizendo "nao" e escorre uma lagrima (ate o componente do arte trazer o estado proprio) */
.mz-sad img.masc { transform-origin: 50% 90%; animation: mz-no 1.5s ease-in-out infinite; filter: saturate(.8); }
.mz-sad::after { content: ""; position: absolute; z-index: 2; left: 42%; top: 27%; width: 7%; aspect-ratio: 1 / 1.45; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: #4d9fe6; opacity: .9; animation: mz-tear 1.5s ease-in infinite; pointer-events: none; }
@keyframes mz-no { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-5deg); } 40% { transform: rotate(5deg); } 60% { transform: rotate(-4deg); } 80% { transform: rotate(3deg); } }
@keyframes mz-tear { 0% { transform: translateY(0) scale(.6); opacity: 0; } 20% { opacity: .95; transform: translateY(20%) scale(1); } 100% { transform: translateY(330%) scale(1); opacity: 0; } }
/* chat: espera (nao finge digitacao de ninguem) */
.chat-wait { display: flex; align-items: center; gap: 8px; margin: 0; padding: 8px 12px; background: var(--creme); border-top: 1px solid var(--linha); color: var(--aux); font-size: 13px; }
.chat-wait[hidden] { display: none; }
.chat-wait .chat-av { width: 28px; height: 28px; }
.dots { display: inline-flex; gap: 3px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--tinta); opacity: .35; animation: dot 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat { grid-template-rows: auto 1fr auto auto auto; }
/* ajustes vistos nos prints (rodada 2) */
.pcard { grid-template-rows: auto 1fr; }
.pcard-body { align-content: start; }
.pcard-st { position: absolute; left: 12px; bottom: 12px; }
.pcard-st .chip { position: static; box-shadow: 0 2px 8px rgba(35,17,20,.18); }
.offer .pcard-img .chip { left: 12px; top: auto; bottom: 12px; }
.refunds .linkbtn { margin-block: -12px; }
.pricetag { top: 12px; bottom: auto; }
/* Download para Mac (N144): chave Windows/Mac, aviso do Gatekeeper e aula Mac (guia ilustrado) */
.osswitch { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 4px 0 2px; }
.osswitch .osl { color: var(--aux); font-size: 13px; font-weight: 700; margin-right: 4px; }
.seg { min-height: 44px; min-width: 96px; padding: 8px 16px; border: 1.5px solid var(--linha-forte); border-radius: 10px; background: var(--branco); font-size: 15px; font-weight: 700; }
.seg:hover { border-color: var(--tinta); }
.seg[aria-pressed="true"] { background: var(--tinta); border-color: var(--tinta); color: #fff; }
.macnote { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--tinta); border-radius: 12px; background: #fbf6dd; }
.macnote svg.i { margin-top: 2px; }
.macnote b { font-size: 16px; font-weight: 800; }
.macnote p { margin-top: 4px; font-size: 15px; line-height: 1.45; }
.guide { display: grid; gap: 22px; padding: 20px 18px 8px; }
.gpart { display: grid; gap: 10px; }
.gpart h3 { font-size: 18px; line-height: 1.25; letter-spacing: -.02em; font-weight: 760; }
.gpart p { font-size: 15px; line-height: 1.5; }
.gpart code { padding: 2px 6px; border-radius: 6px; background: rgba(35,17,20,.08); font-family: "JetBrains Mono", Consolas, monospace; font-size: 13px; overflow-wrap: anywhere; }
.gpart img { width: 100%; height: auto; border: 1px solid var(--linha); border-radius: 10px; background: #fff; }

/* ===== aulas em modo teatro (JV 10/11/2026): o video e UM quadro 16:9 na largura da coluna; a lista fica abaixo no computador ===== */
#lvideo > video { width: 100%; height: auto; aspect-ratio: 16 / 9; }
#lvideo > .guide { max-width: 820px; }
@media (min-width: 900px) {
  .les-layout .now { max-width: 820px; }
}
