@import url("/assets/trilha-premium-v39.css?v=41");
/* Trilha de Aprendizagem — acesso visível, menu de certificado e reinício seguro (v37). */
.auth-page { padding-block: clamp(14px, 2.2vw, 28px) 46px; }
.auth-page .auth-layout { grid-template-columns: minmax(320px, .9fr) minmax(0, 1fr); gap: clamp(18px, 3.6vw, 42px); align-items: start; }
.auth-page .auth-card { box-shadow: 0 16px 39px rgba(14,40,70,.10); border-top: 4px solid #dcb13d; }
.auth-page .auth-card h2 { font-size: clamp(1.32rem, 2.6vw, 1.6rem); }
.auth-page .auth-card .auth-description { margin-bottom: 12px; line-height: 1.45; }
.auth-page .auth-provider.google, .auth-page .auth-provider.email { min-height: 55px; }
.auth-page .auth-layout > section { min-width: 0; }
.top nav a.cert-menu-v37 { display: inline-flex; align-items: center; gap: 6px; }
.top nav a.cert-menu-v37 svg { width: 17px; height: 17px; flex: 0 0 auto; }
.top nav a.cert-menu-v37:not(.active) { color: #ffe9a9; }
.top nav a.cert-menu-v37:not(.active):hover { color: #112e52; }
.progress-footer .reset-progress-v37 { background:#fff6f5; color:#963d31; border:1px solid #e8c4be; border-radius:10px; padding:11px 14px; font-weight:800; cursor:pointer; min-height:44px; white-space:normal; }
.progress-footer .reset-progress-v37:hover { background:#fde8e4; }
.reset-progress-v37:focus-visible, .reset-dialog-v37 button:focus-visible, .reset-dialog-v37 input:focus-visible { outline:3px solid #e4b63d; outline-offset:3px; }
.reset-success-v37 { margin:12px 0; border:1px solid #b6e1d4; border-radius:11px; background:#ecf8f3; color:#175746; padding:12px 14px; font-weight:700; }
.reset-dialog-v37 { box-sizing:border-box; border:1px solid #d5e2ec; border-radius:21px; width:min(94vw, 510px); max-height:88dvh; overflow:auto; padding:clamp(21px,4vw,33px); box-shadow:0 25px 80px rgba(7,24,48,.3); color:#173653; background:#fff; }
.reset-dialog-v37::backdrop { background:rgba(10,30,54,.67); backdrop-filter:blur(3px); }
.reset-dialog-v37 h2 { margin:0 0 13px; font-size:clamp(1.28rem,3vw,1.6rem); line-height:1.24; }
.reset-dialog-v37 p { font-size:.96rem; line-height:1.6; margin:12px 0; }
.reset-dialog-v37 .reset-warning-v37 { border-left:4px solid #ad5b48; background:#fff4f0; border-radius:8px; padding:12px 14px; }
.reset-dialog-v37 .reset-check-label-v37 { display:flex; align-items:flex-start; gap:10px; padding:12px; background:#f1f6fa; border-radius:11px; line-height:1.5; font-weight:750; }
.reset-check-label-v37 input { width:20px; height:20px; accent-color:#163e68; flex:0 0 auto; margin-top:3px; }
.reset-dialog-v37 .reset-dialog-actions-v37 { display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end; margin-top:22px; }
.reset-dialog-actions-v37 button { min-height:45px; padding:11px 16px; border-radius:10px; font-weight:800; cursor:pointer; font:inherit; }
.reset-cancel-v37 { background:#eef4f7; color:#173653; border:1px solid #c7d6e1; }
.reset-confirm-v37 { background:#9b382f; color:#fff; border:1px solid #9b382f; }
.reset-confirm-v37:disabled { opacity:.42; cursor:not-allowed; }
.reset-feedback-v37 { color:#952e39; font-size:.89rem; font-weight:750; }
.reset-feedback-v37:empty { display:none; }
.certificate-checklist-v37 { padding:18px; background:#f3f8fb; border:1px solid #d7e5ee; border-radius:14px; margin:19px 0; }
.certificate-checklist-v37 h3 { color:#123c62; font-size:1.07rem; margin:0 0 12px; }
.certificate-checklist-v37 .cert-mini-stats-v37 { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px; }
.certificate-checklist-v37 .cert-stat-v37 { background:#fff; border:1px solid #dbe6ed; border-radius:10px; padding:12px; min-width:0; }
.certificate-checklist-v37 .cert-stat-v37 strong { font-size:clamp(1.15rem,2.7vw,1.52rem); display:block; color:#134b70; font-variant-numeric:tabular-nums; }
.certificate-checklist-v37 .cert-stat-v37 small { color:#51687d; line-height:1.4; display:block; }
.certificate-checklist-v37 .cert-requirements-v37 { margin:14px 0 4px; padding-left:21px; line-height:1.65; }
.certificate-checklist-v37 .cert-requirements-v37 li { margin:4px 0; }
.certificate-checklist-v37 .cert-next-v37 { font-weight:760; color:#21445f; margin:10px 0 0; }
.certificate-checklist-v37 .cert-cta-v37 { display:inline-flex; align-items:center; justify-content:center; background:#123b65; color:#fff; text-decoration:none; padding:10px 16px; border-radius:9px; min-height:44px; margin-top:13px; font-weight:800; }
@media(max-width:820px) {
  .auth-page .auth-layout { display:flex; flex-direction:column; gap:20px; }
  .auth-page .auth-layout > section { width:100%; }
  .auth-page .auth-card { order:-1; }
  .auth-page .auth-layout > section[aria-labelledby='login-title'] { order:2; }
}
@media(max-width:600px) {
  .auth-page { padding-block:13px 32px; }
  .auth-page .auth-card { padding:18px 16px; border-radius:16px; }
  .auth-page .auth-card h2 { margin-bottom:5px; }
  .auth-page .auth-card .auth-description { font-size:.84rem; margin-bottom:10px; }
  .auth-page .auth-provider { margin-bottom:9px; font-size:.96rem; }
  .auth-page .auth-rule { margin:13px 0; }
  .progress-footer { flex-wrap:wrap; }
  .reset-dialog-v37 .reset-dialog-actions-v37 button { flex:1 1 150px; }
  .certificate-checklist-v37 { padding:13px; }
  .certificate-checklist-v37 .cert-mini-stats-v37 { gap:8px; }
}
@media(max-width:370px) {
  .certificate-checklist-v37 .cert-mini-stats-v37 { grid-template-columns:minmax(0,1fr); }
}


/* Reinício por curso — compacto, responsivo e acessível (v43) */
.stage-reset-section-v43{margin:22px 0 15px;border:1px solid #d6e4ed;background:#f7fafc;border-radius:17px;padding:clamp(15px,2.8vw,23px);box-shadow:0 7px 20px rgba(15,48,83,.04)}
.stage-reset-header-v43{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:16px}
.stage-reset-header-v43 h3{font-size:1.24rem;color:#113b64;margin:0 0 5px}
.stage-reset-header-v43 p{font-size:.85rem;line-height:1.5;max-width:64ch;color:#4a6376;margin:0}
.stage-reset-header-v43 .reset-progress-v37{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;max-width:220px;background:#fff;border:1px solid #e5b9b1;color:#934133;border-radius:10px;padding:10px 12px;min-height:42px;font-size:.82rem;font-weight:760;cursor:pointer}
.stage-reset-header-v43 .reset-progress-v37:hover{background:#fff3ef;border-color:#bf8b83}
.stage-reset-grid-v43{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:11px}
.stage-reset-card-v43{background:#fff;border:1px solid #e0e7ef;border-radius:13px;padding:15px;min-width:0;display:flex;flex-direction:column;gap:8px}
.stage-reset-label-v43{font-size:.7rem;color:#087b78;font-weight:850;letter-spacing:.07em}
.stage-reset-card-v43 h4{color:#163b5d;font-size:.99rem;line-height:1.35;margin:0;min-height:2.65em}
.stage-reset-stat-v43{font-size:.8rem;color:#496478;margin:0;min-height:1.25em}
.stage-reset-card-v43 progress{width:100%;height:8px;accent-color:#087d79;margin:1px 0 4px}
.stage-reset-actions-v43{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:auto;flex-wrap:wrap}
.stage-reset-actions-v43 a{font-weight:770;color:#1a5d80;font-size:.82rem;text-decoration:none}
.stage-reset-actions-v43 a:hover{text-decoration:underline}
.stage-reset-actions-v43 button{font-size:.81rem;font-weight:760;border:1px solid #d8a69c;background:#fff8f5;color:#934b3a;padding:8px 11px;border-radius:9px;cursor:pointer;min-height:38px}
.stage-reset-actions-v43 button:not(:disabled):hover{background:#ffece5}
.stage-reset-actions-v43 button:disabled{opacity:.43;cursor:not-allowed}
.stage-reset-section-v43 :is(button,a):focus-visible{outline:3px solid #dfb638;outline-offset:3px}
@media(max-width:660px){.stage-reset-header-v43{align-items:stretch;flex-direction:column}.stage-reset-header-v43 .reset-progress-v37{width:100%;max-width:none}.stage-reset-grid-v43{grid-template-columns:1fr}.stage-reset-card-v43 h4{min-height:0}.stage-reset-card-v43{padding:14px}}
