:root {
  --paper: #fffaf7; --cream: #ffeef3; --cream-2: #ffd9e5; --butter: #d4f25a;
  --coral: #f0336f; --coral-d: #c41c55; --navy: #22104a; --navy-2: #3b2675; --ink: #26164f; --muted: #6b6188;
  --mint: #5fe0a8; --line: rgba(34, 16, 74, .14);
  --r-sm: 12px; --r-md: 20px; --r-lg: 28px; --pop: 4px 5px 0 var(--navy);
  --f-display: "Caveat Brush", Georgia, serif; --f-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 32px);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 var(--f-body); }
a { color: var(--coral-d); }
img { max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }

.topo { position: sticky; top: 0; z-index: 10; background: var(--cream); border-bottom: 2.5px solid var(--navy); }
.topo-in { max-width: 1080px; margin: 0 auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 12px; }
.topo img { height: 48px; width: auto; display: block; }
.topo .ola { margin-left: auto; font-size: 14px; color: var(--muted); text-align: right; line-height: 1.3; }
.topo .ola a { color: var(--muted); font-size: 12px; }

main { max-width: 1080px; margin: 0 auto; padding: 24px var(--gutter) 80px; }
h1, h2, h3 { font-family: var(--f-display); color: var(--navy); line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: clamp(26px, 5vw, 38px); }
h2 { font-size: clamp(20px, 3.6vw, 26px); }
.sub { color: var(--muted); margin: 0 0 24px; }

.grade { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.card { background: #fff; border: 2.5px solid var(--navy); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; box-shadow: var(--pop); overflow: hidden;
  display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .15s; }
.card:hover { transform: translateY(-2px); }
.card .capa { aspect-ratio: 16 / 9; background: var(--cream-2); border-bottom: 2.5px solid var(--navy); overflow: hidden; }
.card .capa img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card .corpo { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-size: 19px; margin: 0; }
.card p { margin: 0; color: var(--muted); font-size: 14px; }
.barra { height: 8px; background: var(--cream-2); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; overflow: hidden; margin-top: auto; }
.barra i { display: block; height: 100%; background: var(--mint); }
.pct { font-size: 12px; color: var(--muted); }
.card.trancado .capa { filter: grayscale(.7) brightness(.85); }
.selo { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; background: var(--navy); color: #fff; align-self: flex-start; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px;
  background: var(--coral); color: #fff; border: 2.5px solid var(--navy); box-shadow: var(--pop); font-weight: 700; text-decoration: none; }
.btn:active { transform: translateY(3px); box-shadow: 3px 4px 0 var(--navy); }
.btn.sec { background: #fff; color: var(--navy); }
.btn[disabled] { opacity: .5; pointer-events: none; }

.voltar { display: inline-block; margin-bottom: 14px; color: var(--muted); text-decoration: none; font-size: 14px; }
.modulo { background: #fff; border: 2.5px solid var(--navy); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; margin-bottom: 14px; overflow: hidden; }
.modulo > summary { list-style: none; padding: 14px 16px; font-weight: 700; color: var(--navy); display: flex; gap: 10px; align-items: center; cursor: pointer; }
.modulo > summary::-webkit-details-marker { display: none; }
.modulo > summary::after { content: "+"; margin-left: auto; font-size: 22px; line-height: 1; }
.modulo[open] > summary::after { content: "–"; }
.modulo > summary small { font-weight: 400; color: var(--muted); }
.aulas { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--line); }
.aulas a { display: flex; gap: 12px; align-items: center; padding: 12px 16px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.aulas li:last-child a { border-bottom: 0; }
.aulas a:hover { background: var(--cream); }
.chk { flex: 0 0 22px; height: 22px; border-radius:  50%; border: 2.5px solid var(--navy); display: grid; place-items: center; font-size: 13px; }
.feita .chk { background: var(--mint); }
.tag { margin-left: auto; font-size: 12px; color: var(--muted); white-space: nowrap; }

.kicker { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--coral-d); }
.posteres { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.poster { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ink); }
.poster img, .poster-vazio { width: 100%; aspect-ratio: 5 / 8; object-fit: cover; border: 2.5px solid var(--navy); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; box-shadow: var(--pop); background: var(--cream-2); transition: transform .15s; }
.poster-vazio { display: grid; place-items: center; padding: 12px; text-align: center; font-family: var(--f-display); color: var(--navy); }
.poster:hover img { transform: translateY(-3px); }
.poster-t { font-weight: 700; font-size: 14px; line-height: 1.3; color: var(--navy); }
.poster-n { font-size: 12px; color: var(--muted); }
.lista-aulas { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lista-aulas a { display: flex; gap: 14px; align-items: center; padding: 10px; background: #fff; border: 2.5px solid var(--navy); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; text-decoration: none; color: var(--ink); }
.lista-aulas a:hover { background: var(--cream); }
.lista-aulas img, .mini-vazia { flex: 0 0 132px; width: 132px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; background: var(--cream-2); display: grid; place-items: center; font-size: 22px; }
.la-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.la-txt b { color: var(--navy); line-height: 1.3; }
.la-txt small { color: var(--muted); font-size: 13px; line-height: 1.35; }
.la-meta { font-weight: 600; }
.feita .la-meta { color: var(--teal, #12807c); }
@media (max-width: 520px) {
  .posteres { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lista-aulas img, .mini-vazia { flex-basis: 96px; width: 96px; }
}
.player { position: relative; aspect-ratio: 16 / 9; background: #000; border: 2.5px solid var(--navy); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; overflow: hidden; margin-bottom: 18px; }
.player video, .player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.texto { background: #fff; border: 2.5px solid var(--navy); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; padding: clamp(16px, 3vw, 28px); overflow-wrap: anywhere; }
.texto pre, .texto code { white-space: pre-wrap; background: var(--cream); border-radius:  8px; font-size: 14px; }
.texto pre { padding: 12px; }
.texto blockquote { margin: 0; padding: 8px 14px; border-left: 4px solid var(--coral); background: var(--cream); border-radius:  0 8px 8px 0; }
.copiar { float: right; margin: -4px 0 6px 8px; font-size: 12px; padding: 4px 10px; border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; border: 2.5px solid var(--navy); background: #fff; }
.arquivos { margin-top: 18px; display: grid; gap: 10px; }
.arquivos a { display: flex; gap: 10px; align-items: center; padding: 12px 14px; background: var(--cream); border: 2.5px solid var(--navy); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; color: var(--navy); text-decoration: none; font-weight: 600; }
.arquivos small { margin-left: auto; color: var(--muted); font-weight: 400; }
.nav-aula { display: flex; gap: 10px; justify-content: space-between; margin-top: 22px; flex-wrap: wrap; }
.marcar { margin-top: 18px; }

.vazio { text-align: center; max-width: 520px; margin: 40px auto; }
.form { display: grid; gap: 12px; max-width: 420px; margin: 0 auto; }
.form input { padding: 14px 16px; border: 2.5px solid var(--navy); border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; font: inherit; background: #fff; }
.msg { min-height: 1.6em; color: var(--navy-2); font-size: 14px; }
.rodape { text-align: center; color: var(--muted); font-size: 13px; margin-top: 40px; }
.carregando { text-align: center; padding: 60px 0; color: var(--muted); }

/* bloco de Suporte e Reembolsos (tela inicial) */
.poster--breve { cursor: default; }
.card--breve { cursor: default; }
.breve-linha { margin-top: auto; font-size: 14px; color: var(--navy); }
.breve-linha .contador { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 17px; color: var(--coral-d); }
.card .corpo a:not(.btn) { color: var(--coral-d); font-weight: 700; }
.poster-capa { position: relative; display: block; }
.poster-capa .poster-vazio { display: grid; }
.breve { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; justify-content: center; align-items: baseline; gap: 8px; flex-wrap: wrap; background: var(--navy); color: #fff; border: 2px solid var(--navy); border-radius: 12px; padding: 4px 6px 5px; transform: rotate(-1.5deg); box-shadow: 2px 2px 0 var(--coral); }
.breve b { font-family: var(--f-display); font-size: 16px; line-height: 1; color: #d4f25a; text-transform: uppercase; }
.breve .contador { font-variant-numeric: tabular-nums; font-weight: 800; font-size: 14px; line-height: 1; }
/* estilo: caderno rabiscado */
h1, h2, h3, .btn, .poster-t { font-weight: 400; letter-spacing: 0; }
h1 { font-size: clamp(34px, 6vw, 50px); } h2 { font-size: clamp(26px, 4.4vw, 34px); }
.btn { font-family: var(--f-display); font-size: 20px; font-weight: 400; }
body { background-image: linear-gradient(rgba(106,77,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(106,77,255,.07) 1px, transparent 1px); background-size: 28px 28px; }
.poster:nth-child(odd) img { transform: rotate(-.8deg); } .poster:nth-child(even) img { transform: rotate(.8deg); }
.card a.capa { display: block; }
