/* Área do aluno: complementa o site.css (mesmo visual do site) */
.app-nav { display: flex; gap: .8rem; align-items: center; flex-wrap: wrap; }
.app-nav a, .app-nav button { font: 700 1rem var(--corpo); color: var(--azul); background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; padding: .4rem; min-height: 44px; }
.app-caixas { display: grid; gap: 1.6rem; margin-top: 1.5rem; }
@media (min-width: 62rem) { .app-caixas { grid-template-columns: 1fr 1fr; } }
.app-curso { display: grid; gap: .6rem; }
.app-aulas { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .7rem; }
.app-aulas a { display: flex; gap: .8rem; align-items: center; padding: .9rem 1rem; background: #fff; border: 2px solid var(--tinta); border-radius: 12px; text-decoration: none; color: var(--tinta); font-weight: 700; }
.app-aulas a:hover { background: #fff8e1; }
.app-check { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 2px solid var(--tinta); flex-shrink: 0; font-weight: 800; }
.app-check.feita { background: var(--verde); border-color: var(--verde); color: #fff; }
.app-aula { max-width: 46rem; margin: 0 auto; padding: 2rem 1.1rem 3rem; font-size: 1.15rem; line-height: 1.75; }
.app-aula h1 { font-size: clamp(2.2rem, 6vw, 3rem); }
.app-aula h3 { font-size: 1.6rem; margin-top: 1.6em; }
.app-aula table { min-width: 0; font-size: 1rem; }
.app-aula blockquote { margin: 1rem 0; padding: .8rem 1.1rem; border-left: 6px solid var(--amarelo); background: #fff; border-radius: 0 10px 10px 0; }
.app-navaula { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px solid var(--linha); }
.app-feito { font: 700 1.1rem var(--corpo); }
.app-pergunta { border: 2px solid var(--tinta); border-radius: 14px; padding: 1.2rem 1.3rem; background: #fff; margin: 0 0 1.2rem; }
.app-pergunta legend { font-weight: 700; padding: 0 .3rem; float: left; width: 100%; margin-bottom: .8rem; }
.app-pergunta label { display: flex; gap: .7rem; align-items: flex-start; padding: .55rem .6rem; border-radius: 10px; cursor: pointer; }
.app-pergunta label:hover { background: var(--papel); }
.app-pergunta input { width: 1.3rem; height: 1.3rem; margin-top: .25rem; accent-color: var(--azul); flex-shrink: 0; }
.app-retorno { margin-top: .6rem; padding: .7rem .9rem; border-radius: 10px; font-weight: 700; }
.app-retorno.certa { background: #e3f4ea; color: var(--verde-texto); }
.app-retorno.errada { background: #fde8e6; color: var(--vermelho-texto); }
.app-msg { padding: 1rem 1.2rem; border-radius: 12px; border: 2px solid var(--amarelo); background: #fff6d6; margin: 1rem 0; }
.app-msg:empty { display: none; }
/* Certificado (tela e impressão em A4 deitado) */
.cert { max-width: 60rem; margin: 2rem auto; background: #fff; border: 2px solid var(--tinta); border-radius: 18px; overflow: hidden; box-shadow: 8px 8px 0 var(--azul); }
.cert-topo { background: var(--azul); color: #fff; padding: 2rem 2.4rem; display: flex; align-items: center; gap: 1.2rem; }
.cert-topo img { width: 84px; height: 84px; border-radius: 50%; }
.cert-topo p { margin: 0; font-family: var(--titulo); font-weight: 800; text-transform: uppercase; letter-spacing: .1em; font-size: 1.4rem; }
.cert-corpo { padding: 2.4rem; text-align: center; }
.cert-corpo h1 { font-size: clamp(2.4rem, 6vw, 3.6rem); margin-bottom: .2em; }
.cert-nome { font-family: var(--titulo); font-weight: 800; font-size: clamp(2rem, 5vw, 3rem); color: var(--azul); margin: .6rem 0; }
.cert-rodape { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 1.2rem 2.4rem 1.8rem; font-size: .95rem; color: var(--tinta-suave); border-top: 2px solid var(--linha); }
@media print {
  @page { size: A4 landscape; margin: 10mm; }
  .topo, .rodape, .fio, .app-nao-imprime, .pular { display: none !important; }
  body { background: #fff; }
  .cert { box-shadow: none; margin: 0 auto; }
  .cert-topo { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.app-curso .etiqueta, .app-curso .botoes { justify-self: start; }
