/* Portal de Treinamento Claude — Natural One
 *
 * Built on the LP Digital Hive design system imported from Claude Design. Every value
 * here comes from that project: the token block below is copied from the design
 * system's own bundle, and the component rules transcribe its screens.
 *
 * The design expresses everything as inline styles. This portal serves a strict
 * Content-Security-Policy with `style-src 'self'`, which blocks style attributes, so
 * each inline rule became a class. Where a value has to vary at runtime (progress),
 * the template sets a data-attribute and the variation lives here — never a style
 * attribute.
 */

@import url("fonts.css");

/* ------------------------------------------------------------------ tokens */

/* Token values live in static/clients/<client>/tokens.css, linked before this file. */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--lpdh-color-bg);
  color: var(--lpdh-color-ink);
  font-family: var(--lpdh-font-family-body);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--lpdh-color-brand-soft-text);
  text-decoration: none;
}

a:hover {
  color: var(--lpdh-color-brand-interactive);
}

::selection {
  background: var(--lpdh-color-brand-soft-bg);
  color: var(--lpdh-color-ink);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--lpdh-font-family-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
}

p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
}

@keyframes pulseDot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.np::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

.np::-webkit-scrollbar-thumb {
  background: var(--lpdh-color-border);
  border-radius: 8px;
}

/* ----------------------------------------------------------- accessibility */

.pular {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 16px;
  background: var(--lpdh-color-ink);
  color: var(--lpdh-color-inverse-text);
}

.pular:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid var(--lpdh-color-brand-interactive);
  outline-offset: 2px;
  border-radius: 3px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ------------------------------------------------------- shared type roles */

.eyebrow {
  margin: 0 0 8px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.eyebrow--quieto {
  color: var(--lpdh-color-text-secondary);
}

.titulo-tela {
  margin: 0 0 8px;
  font-size: 32px;
  letter-spacing: -0.03em;
}

.lead {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--lpdh-color-text-secondary);
  max-width: 44rem;
  text-wrap: pretty;
}

.dados {
  font-variant-numeric: tabular-nums;
}

.prosa {
  max-width: 46rem;
  font-size: 14.5px;
  line-height: 1.7;
}

.prosa h2 {
  margin: 30px 0 10px;
  font-size: 19px;
}

.prosa h3 {
  margin: 24px 0 8px;
  font-size: 16px;
}

.prosa p,
.prosa ul,
.prosa ol {
  margin: 0 0 14px;
}

.prosa ul,
.prosa ol {
  padding-left: 20px;
}

.prosa li {
  margin-bottom: 6px;
}

.prosa blockquote {
  margin: 20px 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--lpdh-color-brand-interactive);
  color: var(--lpdh-color-text-secondary);
}

.prosa code {
  font-family: var(--lpdh-font-family-mono);
  font-size: 0.9em;
  padding: 0.1em 0.35em;
  border-radius: 4px;
  background: var(--lpdh-color-surface);
}

.prosa strong {
  font-weight: 600;
}

/* ------------------------------------------------------------ logged out */

.entrada {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100vh;
}

.entrada__marca {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 64px 60px;
  background: var(--lpdh-color-surface);
  border-right: 1px solid var(--lpdh-color-border);
}

.entrada__brilho {
  position: absolute;
  right: -180px;
  top: -180px;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--lpdh-color-brand-overlay-soft), var(--lpdh-color-brand-overlay-transparent) 66%);
}

.entrada__topo,
.entrada__meio,
.entrada__base {
  position: relative;
}

.entrada__logo {
  height: 44px;
  width: auto;
}

.entrada__meio {
  max-width: 30rem;
}

.entrada__eyebrow {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.entrada__titulo {
  margin: 0 0 20px;
  font-size: 46px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.entrada__lead {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--lpdh-color-text-secondary);
  max-width: 28rem;
  text-wrap: pretty;
}

.entrada__base {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--lpdh-color-border);
}

.numero__valor {
  margin: 0;
  font-family: var(--lpdh-font-family-display);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--lpdh-color-brand-soft-text);
}

.numero__rotulo {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--lpdh-color-text-secondary);
}

.entrada__painel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 56px;
}

.forma {
  width: 100%;
  max-width: 24rem;
}

.forma--larga {
  max-width: 30rem;
}

.forma__titulo {
  margin: 0 0 6px;
  font-size: 27px;
  letter-spacing: -0.02em;
}

.forma__lead {
  margin: 0 0 30px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

.forma__nota {
  margin: 22px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

/* -------------------------------------------------------------- enrolment */

.passos {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lpdh-color-border-strong);
}

.passos__feito,
.passos__atual {
  color: var(--lpdh-color-brand-soft-text);
  font-weight: 600;
}

.qr-cartao {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
  margin-bottom: 18px;
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
}

.qr-cartao__codigo {
  width: 124px;
  height: 124px;
  flex: none;
  display: grid;
  place-items: center;
  padding: 6px;
  border-radius: var(--lpdh-radius-lg);
  background: #fff;
  border: 1px solid var(--lpdh-color-border);
}

.qr-cartao__codigo svg {
  width: 100%;
  height: auto;
}

.qr-cartao__lado {
  min-width: 0;
}

.qr-cartao__ajuda {
  margin: 0 0 8px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

.chave {
  margin: 0;
  padding: 9px 11px;
  border-radius: var(--lpdh-radius-md);
  background: var(--lpdh-color-bg);
  border: 1px solid var(--lpdh-color-border);
  font: 400 12.5px/1.5 var(--lpdh-font-family-mono);
  word-break: break-all;
  color: var(--lpdh-color-ink);
}

.codigos-backup {
  list-style: none;
  margin: 16px 0 20px;
  padding: 20px;
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
  border: 1px solid var(--lpdh-color-border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  gap: 8px 20px;
  font: 500 14px/1.6 var(--lpdh-font-family-mono);
  letter-spacing: 0.06em;
}

/* ------------------------------------------------------------------ forms */

.campo {
  margin-bottom: 18px;
}

.campo__rotulo {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  margin: 0 0 7px;
}

.campo__ajuda {
  margin: 7px 0 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

.input,
.area {
  width: 100%;
  font: 400 14px/1.4 var(--lpdh-font-family-body);
  color: var(--lpdh-color-ink);
  background: var(--lpdh-color-bg);
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-md);
  padding: 10px 12px;
}

.input {
  height: 40px;
}

.area {
  min-height: 86px;
  resize: vertical;
}

.input::placeholder,
.area::placeholder {
  color: var(--lpdh-color-border-strong);
}

.input:focus,
.area:focus {
  outline: none;
  border-color: var(--lpdh-color-brand-interactive);
  box-shadow: 0 0 0 3px var(--lpdh-color-brand-overlay-soft);
}

.input--codigo {
  height: 56px;
  text-align: center;
  letter-spacing: 0.3em;
  font: 600 20px/1 var(--lpdh-font-family-mono);
  padding-left: 0.3em;
}

.input--busca {
  height: 36px;
  font-size: 13px;
}

.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--lpdh-radius-md);
  border: 1px solid transparent;
  background: var(--lpdh-color-brand-interactive);
  color: #fff;
  font: 600 13.5px/1 var(--lpdh-font-family-body);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--lpdh-motion-duration-fast) var(--lpdh-motion-easing-standard);
}

.botao:hover {
  background: var(--lpdh-color-brand-interactive-hover);
  color: #fff;
}

.botao:active {
  background: var(--lpdh-color-brand-interactive-active);
}

.botao--secundario {
  background: var(--lpdh-color-bg);
  border-color: var(--lpdh-color-border);
  color: var(--lpdh-color-ink);
}

.botao--secundario:hover {
  background: var(--lpdh-color-surface-2);
  border-color: var(--lpdh-color-border-strong);
  color: var(--lpdh-color-ink);
}

.botao--claro {
  background: #fff;
  color: var(--lpdh-color-brand-soft-text);
}

.botao--claro:hover {
  background: #fff;
  color: var(--lpdh-color-brand-interactive-active);
}

.botao--fantasma {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  font-weight: 500;
}

.botao--fantasma:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.botao--larga {
  width: 100%;
}

/* The live-session call to action. A soft ring rather than a colour change, so it reads as
   "this is happening now" without shouting over the brand red it sits on. */
.botao--pulsando {
  animation: anelVivo 2s ease-in-out infinite;
}

@keyframes anelVivo {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.55);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  }
}

.proxima__aviso {
  margin: 14px 0 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
}

.botao--pequeno {
  height: 32px;
  padding: 0 14px;
  font-size: 12.5px;
}

.botao[disabled],
.botao[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

.ligacao {
  padding: 0;
  border: none;
  background: none;
  color: var(--lpdh-color-brand-soft-text);
  font: 600 13px/1.4 var(--lpdh-font-family-body);
  cursor: pointer;
  text-decoration: none;
}

.ligacao:hover {
  color: var(--lpdh-color-brand-interactive);
}

.ligacao--quieta {
  color: var(--lpdh-color-text-secondary);
  font-weight: 400;
}

.ligacao--quieta:hover {
  color: var(--lpdh-color-ink);
}

/* ---------------------------------------------------------------- notices */

.aviso {
  padding: 12px 14px;
  border-radius: var(--lpdh-radius-md);
  border: 1px solid transparent;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 18px;
}

.aviso--erro {
  background: var(--lpdh-color-semantic-danger-soft-bg);
  border-color: var(--lpdh-color-semantic-danger-text);
  color: var(--lpdh-color-semantic-danger-soft-text);
}

.aviso--atencao {
  background: var(--lpdh-color-brand-soft-bg);
  border-color: var(--lpdh-color-brand-interactive);
  color: var(--lpdh-color-brand-soft-text);
}

.aviso--ok {
  background: var(--lpdh-color-semantic-success-soft-bg);
  border-color: var(--lpdh-color-semantic-success-text);
  color: var(--lpdh-color-semantic-success-soft-text);
}

.aviso ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

/* --------------------------------------------------------------- app shell */

.app {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100vh;
}

.lateral {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 26px 0 20px;
  background: var(--lpdh-color-surface);
  border-right: 1px solid var(--lpdh-color-border);
}

.lateral__marca {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 0 22px 22px;
  color: inherit;
}

.lateral__simbolo {
  width: 34px;
  height: 34px;
  flex: none;
  object-fit: contain;
}

.lateral__marca-texto {
  min-width: 0;
}

.lateral__kicker {
  display: block;
  margin: 0 0 2px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lpdh-color-border-strong);
}

.lateral__curso {
  display: block;
  margin: 0;
  /* The name is two words and must stay on one line under the label, as the design
     shows it — never wrapped mid-phrase. */
  white-space: nowrap;
  font-family: var(--lpdh-font-family-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lateral__turma {
  margin: 0 14px 22px;
  padding: 12px 14px;
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-bg);
}

.lateral__turma-rotulo {
  margin: 0 0 8px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-border-strong);
}

.lateral__turma-linha {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.lateral__turma-nome {
  font-size: 13.5px;
  font-weight: 600;
}

.pulso {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: var(--lpdh-color-brand-soft-text);
}

.pulso::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lpdh-color-brand-interactive);
  animation: pulseDot 1.6s infinite;
}

/* ------------------------------------------------------- instructor turma panel */

/* A native <select> was wrong here: the browser draws its open menu with the operating
 * system's own chrome — grey panel, blue highlight — which no stylesheet can reach. Every
 * turma is a submit button instead, so the open state is as designed as the closed one.
 *
 * The panel is deliberately distinct from the participant's "Sua turma" block: this view
 * belongs to the instructor, and it should not read as something a participant also has. */
.painel-instrutor {
  margin: 0 14px 22px;
  padding: 12px 12px 10px;
  border: 1px solid var(--lpdh-color-brand-soft-bg);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-bg);
}

.painel-instrutor__rotulo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding-left: 2px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.painel-instrutor__marca {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--lpdh-color-brand-interactive);
}

.turmas {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.turma-opcao {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 8px;
  border: none;
  border-radius: var(--lpdh-radius-md);
  background: transparent;
  color: var(--lpdh-color-text-secondary);
  font-family: var(--lpdh-font-family-body);
  text-align: left;
  cursor: pointer;
  transition: background var(--lpdh-motion-duration-fast) var(--lpdh-motion-easing-standard);
}

.turma-opcao:hover {
  background: var(--lpdh-color-surface);
  color: var(--lpdh-color-ink);
}

.turma-opcao[aria-current="true"] {
  background: var(--lpdh-color-surface);
  color: var(--lpdh-color-ink);
  box-shadow: var(--lpdh-shadow-sm);
}

.turma-opcao__numero {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: var(--lpdh-radius-sm);
  background: var(--lpdh-color-surface-2);
  color: var(--lpdh-color-text-secondary);
  font: 600 11px/1 var(--lpdh-font-family-display);
}

.turma-opcao[aria-current="true"] .turma-opcao__numero {
  background: var(--lpdh-color-brand-interactive);
  color: #fff;
}

.turma-opcao__texto {
  min-width: 0;
}

.turma-opcao__nome {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.turma-opcao__periodo {
  display: block;
  font-size: 10.5px;
  color: var(--lpdh-color-border-strong);
}

.painel-instrutor__nota {
  margin: 10px 2px 0;
  padding-top: 9px;
  border-top: 1px solid var(--lpdh-color-border);
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--lpdh-color-border-strong);
}

.lateral__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0 12px;
}

.nav__item {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 9px 12px;
  border: none;
  border-radius: var(--lpdh-radius-md);
  text-align: left;
  cursor: pointer;
  background: transparent;
  color: var(--lpdh-color-text-secondary);
  font: 400 13.5px/1.2 var(--lpdh-font-family-body);
  text-decoration: none;
}

.nav__item:hover {
  color: var(--lpdh-color-ink);
}

.nav__item[aria-current="page"] {
  background: var(--lpdh-color-bg);
  color: var(--lpdh-color-ink);
  font-weight: 600;
  box-shadow: var(--lpdh-shadow-sm);
}

.nav__marca {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--lpdh-color-border);
}

.nav__item[aria-current="page"] .nav__marca {
  background: var(--lpdh-color-brand-interactive);
}

.nav__contador {
  margin-left: auto;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--lpdh-color-brand-overlay-strong);
  color: #fff;
}

.lateral__pe {
  margin-top: auto;
  padding: 20px 22px 0;
  border-top: 1px solid var(--lpdh-color-border);
}

.usuario {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: var(--lpdh-color-brand-soft-bg);
  color: var(--lpdh-color-brand-soft-text);
  font: 600 12.5px/1 var(--lpdh-font-family-display);
}

.avatar--grande {
  width: 42px;
  height: 42px;
  font-size: 15px;
}

.usuario__texto {
  min-width: 0;
}

.usuario__nome {
  display: block;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.usuario__area {
  display: block;
  font-size: 11px;
  color: var(--lpdh-color-text-secondary);
}

.lateral__acoes {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.lateral__acoes a {
  font: 400 12px/1 var(--lpdh-font-family-body);
  color: var(--lpdh-color-text-secondary);
}

.lateral__acoes a:last-child {
  color: var(--lpdh-color-border-strong);
}

.lateral__creditos {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 14px;
  border-top: 1px solid var(--lpdh-color-border);
  font-size: 10.5px;
  line-height: 1.35;
  color: var(--lpdh-color-border-strong);
}

.lateral__creditos img {
  width: 18px;
  height: 18px;
  flex: none;
  object-fit: contain;
  opacity: 0.9;
}

.lateral__creditos strong {
  font-weight: 600;
  color: var(--lpdh-color-text-secondary);
}

/* ------------------------------------------------------------------ topbar */

.topo {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 40px;
  background: var(--lpdh-color-topo-bg);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--lpdh-color-border);
}

.topo__busca {
  position: relative;
  flex: 1;
  max-width: 24rem;
  margin: 0;
}

.topo__instrutor {
  margin-left: auto;
  white-space: nowrap;
  font-size: 12px;
  color: var(--lpdh-color-text-secondary);
}

.topo__instrutor strong {
  font-weight: 600;
  color: var(--lpdh-color-ink);
}

.conteudo {
  padding: 36px 40px 64px;
  max-width: 1120px;
}

/* ------------------------------------------------------------------ início */

.cabeca-dia {
  margin: 0 0 8px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.saudacao {
  margin: 0 0 4px;
  font-size: 34px;
  letter-spacing: -0.03em;
}

.saudacao + .lead {
  margin-bottom: 32px;
  max-width: 46rem;
  font-size: 15px;
}

.painel-inicio {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 34px;
}

.proxima {
  flex: 2 1 420px;
  min-width: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-brand-interactive);
  color: #fff;
  padding: 28px 30px;
}

.proxima__brilho {
  position: absolute;
  right: -110px;
  bottom: -140px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 66%);
}

.proxima__interno {
  position: relative;
}

.selo-vivo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--lpdh-color-selo-vivo-bg);
  color: var(--lpdh-color-selo-vivo-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.proxima__numero {
  margin: 16px 0 4px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.proxima__titulo {
  margin: 0 0 10px;
  font-size: 25px;
  letter-spacing: -0.02em;
  max-width: 24rem;
}

.proxima__quando {
  margin: 0 0 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
}

.proxima__acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cartao {
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
  padding: 24px 26px;
}

.cartao-progresso {
  flex: 1 1 280px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cartao-progresso__rotulo {
  margin: 0 0 18px;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-text-secondary);
}

.cartao-progresso__linha {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.cartao-progresso__valor {
  font-family: var(--lpdh-font-family-display);
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}

.cartao-progresso__de {
  font-size: 15px;
  color: var(--lpdh-color-text-secondary);
}

.cartao-progresso__nota {
  margin: 0 0 6px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

.cartao-progresso .ligacao {
  margin-top: auto;
  align-self: flex-start;
}

/* Progress bar. The fill width varies at runtime, and a strict CSP forbids the
 * style attribute, so the template writes data-feitas/data-total and the widths
 * live here. Six sessions is the programme's fixed shape. */
.barra {
  height: 8px;
  border-radius: 4px;
  background: var(--lpdh-color-border);
  overflow: hidden;
  margin-bottom: 20px;
}

.barra__preenche {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--lpdh-color-brand-interactive);
  transition: width var(--lpdh-motion-duration-base) var(--lpdh-motion-easing-standard);
  width: 0;
}

.barra[data-feitas="0"] .barra__preenche { width: 0; }
.barra[data-feitas="1"] .barra__preenche { width: 16.6667%; }
.barra[data-feitas="2"] .barra__preenche { width: 33.3333%; }
.barra[data-feitas="3"] .barra__preenche { width: 50%; }
.barra[data-feitas="4"] .barra__preenche { width: 66.6667%; }
.barra[data-feitas="5"] .barra__preenche { width: 83.3333%; }
.barra[data-feitas="6"] .barra__preenche { width: 100%; }

/* -------------------------------------------------------- session track */

.secao-cabeca {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.secao-cabeca h2 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.trilha {
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
  overflow: hidden;
  margin-bottom: 34px;
  list-style: none;
  padding: 0;
}

.trilha__item + .trilha__item {
  border-top: 1px solid var(--lpdh-color-border);
}

.trilha__link {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 16px 22px;
  background: transparent;
  color: var(--lpdh-color-ink);
  text-decoration: none;
  font-family: var(--lpdh-font-family-body);
}

.trilha__link:hover {
  background: var(--lpdh-color-surface-2);
  color: var(--lpdh-color-ink);
}

.trilha__item--proxima .trilha__link {
  background: var(--lpdh-color-bg);
}

.selo {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: var(--lpdh-radius-md);
  font: 600 12.5px/1 var(--lpdh-font-family-display);
  background: var(--lpdh-color-surface-2);
  color: var(--lpdh-color-text-secondary);
}

.selo--concluida {
  background: var(--lpdh-color-semantic-success-soft-bg);
  color: var(--lpdh-color-semantic-success-soft-text);
}

.selo--disponivel {
  background: var(--lpdh-color-semantic-info-soft-bg);
  color: var(--lpdh-color-semantic-info-soft-text);
}

.selo--proxima {
  background: var(--lpdh-color-brand-interactive);
  color: #fff;
}

.trilha__texto {
  min-width: 0;
  text-align: left;
}

.trilha__titulo {
  display: block;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.trilha__objetivo {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  color: var(--lpdh-color-text-secondary);
}

.trilha__meta {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  font-size: 12.5px;
  color: var(--lpdh-color-text-secondary);
}

.etiqueta {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--lpdh-color-surface-2);
  color: var(--lpdh-color-text-secondary);
}

.etiqueta--concluida {
  background: var(--lpdh-color-semantic-success-soft-bg);
  color: var(--lpdh-color-semantic-success-soft-text);
}

.etiqueta--disponivel {
  background: var(--lpdh-color-semantic-info-soft-bg);
  color: var(--lpdh-color-semantic-info-soft-text);
}

.etiqueta--proxima {
  background: var(--lpdh-color-etiqueta-proxima-bg);
  color: var(--lpdh-color-etiqueta-proxima-text);
}

/* ------------------------------------------------------------ tasks/pilot */

.faixa-cartoes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.faixa-cartoes > .cartao {
  flex: 1 1 320px;
  min-width: 0;
}

.cartao__cabeca {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.cartao__cabeca h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.cartao__contagem {
  font-size: 12px;
  color: var(--lpdh-color-text-secondary);
}

.tarefas {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tarefa {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 11px 10px;
  border-radius: var(--lpdh-radius-md);
  cursor: pointer;
}

.tarefa:hover {
  background: var(--lpdh-color-bg);
}

.tarefa input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex: none;
  margin: 1px 0 0;
  accent-color: var(--lpdh-color-brand-interactive);
  cursor: pointer;
}

.tarefa__texto {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--lpdh-color-ink);
}

.tarefa input:checked + .tarefa__texto {
  color: var(--lpdh-color-border-strong);
  text-decoration: line-through;
}

.piloto__lead {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

.piloto__caixa {
  padding: 16px 18px;
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-bg);
  border: 1px solid var(--lpdh-color-border);
}

.piloto__area {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.piloto__nome {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.piloto__descricao {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

/* ----------------------------------------------------------------- session */

.sessao {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  align-items: flex-start;
}

.sessao__principal {
  flex: 1 1 420px;
  min-width: 0;
}

.sessao__titulo {
  margin: 0 0 10px;
  font-size: 29px;
  letter-spacing: -0.03em;
}

.sessao__lead {
  margin: 0 0 22px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--lpdh-color-text-secondary);
  max-width: 44rem;
  text-wrap: pretty;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--lpdh-radius-lg);
  overflow: hidden;
  background: var(--lpdh-color-media-bg);
  margin-bottom: 14px;
}

.video video {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--lpdh-color-media-bg);
}

.video--ausente {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
}

.video--ausente__marca {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--lpdh-color-brand-overlay);
  color: #fff;
  font-size: 22px;
}

.video--ausente p {
  margin: 0;
  font-size: 12.5px;
  color: var(--lpdh-color-media-text-muted);
}

.sessao__acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 34px;
}

.sessao h2 {
  margin: 0 0 12px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.topicos {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--lpdh-color-border);
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
}

.topico {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 18px;
  background: var(--lpdh-color-surface);
  align-items: baseline;
}

.topico__tempo {
  font: 500 12.5px/1 var(--lpdh-font-family-body);
  color: var(--lpdh-color-brand-soft-text);
  font-variant-numeric: tabular-nums;
}

.topico__texto {
  font-size: 14px;
  line-height: 1.55;
}

.destaque {
  border-left: 3px solid var(--lpdh-color-brand-interactive);
  padding: 4px 0 4px 18px;
  margin-bottom: 34px;
}

.destaque__rotulo {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.destaque__texto {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 40rem;
  text-wrap: pretty;
}

.paginacao {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--lpdh-color-border);
}

.paginacao a {
  text-decoration: none;
  color: inherit;
}

.paginacao__direita {
  text-align: right;
  margin-left: auto;
}

.paginacao__rotulo {
  display: block;
  font-size: 11.5px;
  color: var(--lpdh-color-text-secondary);
}

.paginacao__titulo {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--lpdh-color-ink);
}

.sessao__lado {
  flex: 1 1 280px;
  max-width: 320px;
  position: sticky;
  top: 88px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cartao--lado {
  padding: 20px;
}

.cartao--lado__rotulo {
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-text-secondary);
}

.materiais-lado {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.material-lado {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 12px;
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-md);
  background: var(--lpdh-color-bg);
  color: var(--lpdh-color-ink);
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
}

.material-lado:hover {
  border-color: var(--lpdh-color-brand-interactive);
  color: var(--lpdh-color-ink);
}

.tipo-selo {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: var(--lpdh-radius-sm);
  background: var(--lpdh-color-brand-soft-bg);
  color: var(--lpdh-color-brand-soft-text);
  font: 600 9.5px/1 var(--lpdh-font-family-body);
}

.tipo-selo--grande {
  width: 38px;
  height: 44px;
  font-size: 10px;
}

.indisponivel {
  padding: 11px 12px;
  border: 1px dashed var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-md);
  color: var(--lpdh-color-border-strong);
  font-size: 13px;
}

/* ---------------------------------------------------------------- calendar */

.calendario__cabeca {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.agenda {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.agenda__cartao {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 22px;
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
  border: 1px solid var(--lpdh-color-border);
  flex-wrap: wrap;
}

.agenda__cartao--proxima {
  border-color: var(--lpdh-color-brand-interactive);
}

.agenda__cartao--concluida {
  opacity: 0.7;
}

.agenda__dia {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 74px;
  flex: none;
  padding: 12px 0;
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-bg);
  border: 1px solid var(--lpdh-color-border);
}

.agenda__dia-num {
  font: 700 24px/1 var(--lpdh-font-family-display);
  letter-spacing: -0.03em;
}

.agenda__dia-mes {
  margin-top: 3px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lpdh-color-text-secondary);
}

.agenda__corpo {
  min-width: 0;
  flex: 1;
}

.agenda__kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
  flex-wrap: wrap;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lpdh-color-text-secondary);
}

.agenda__titulo {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.agenda__objetivo {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--lpdh-color-text-secondary);
}

.agenda__lado {
  flex: none;
  text-align: right;
}

.agenda__hora {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--lpdh-color-text-secondary);
  font-variant-numeric: tabular-nums;
}

.nota-tracejada {
  margin-top: 28px;
  padding: 20px 24px;
  border: 1px dashed var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
}

.nota-tracejada p:first-child {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
}

.nota-tracejada p:last-child {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

/* --------------------------------------------------------------- materials */

.categorias {
  display: flex;
  flex-direction: column;
  gap: 28px;
  /* The lead paragraph above ends flush against the first category rule otherwise. */
  margin-top: 26px;
}

.categoria__cabeca {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.categoria__cabeca h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.regua {
  flex: 1;
  height: 1px;
  background: var(--lpdh-color-border);
}

.categoria__qtd {
  font-size: 12px;
  color: var(--lpdh-color-text-secondary);
}

.materiais {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.material {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
}

.material__corpo {
  min-width: 0;
  flex: 1;
}

.material__titulo {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.material__descricao {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--lpdh-color-text-secondary);
}

.material__rodape {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.video__nota {
  margin: 10px 0 0;
  font-size: 13px;
  color: var(--lpdh-color-text-secondary);
  font-style: italic;
}

.material__peso {
  font-size: 11.5px;
  color: var(--lpdh-color-text-secondary);
}

/* ------------------------------------------------------------- viewer */

.visualizador__cabeca {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--lpdh-color-border);
}

.visualizador__voltar {
  flex: none;
  padding-right: 20px;
  border-right: 1px solid var(--lpdh-color-border);
  font-size: 13px;
  font-weight: 600;
  color: var(--lpdh-color-text-secondary);
  text-decoration: none;
  white-space: nowrap;
}

.visualizador__voltar:hover {
  color: var(--lpdh-color-ink);
}

.visualizador__titulo {
  min-width: 0;
  margin-right: auto;
}

/* 32px is the size for a page title standing alone; here it shares a row with the controls,
   and the file below is the subject of the screen. */
.visualizador__titulo h1 {
  margin: 0;
  font-size: 19px;
  letter-spacing: -0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.visualizador__meta {
  margin: 2px 0 0;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lpdh-color-text-secondary);
}

/* A viewport, not a thumbnail: an iframe defaults to 300×150, which shows one strip of a
   slide. Height is what makes a deck legible, so it takes the window rather than a fixed
   value, minus the room the header and the back link occupy. */
.visualizador {
  display: block;
  width: 100%;
  height: calc(100vh - 260px);
  min-height: 460px;
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface-2);
}

/* An image is fitted, not framed: whole and legible on arrival, with the download for the
   full-resolution file. `contain` keeps the aspect ratio of anything from a 16:9 infographic
   to a portrait screenshot. */
.visualizador--imagem {
  height: auto;
  /* No min-height: a wide image at a narrow width is short, and reserving a frame's worth of
     height would band it with empty space instead of fitting it. */
  min-height: 0;
  max-height: calc(100vh - 260px);
  object-fit: contain;
  background: var(--lpdh-color-surface);
}

/* Reading a 16:9 deck is width-bound, and the portal's 1120px column is set for prose. This
   screen has one job, so it uses the window: at 1920px the slide is nearly twice the size. */
.conteudo--visualizador {
  max-width: none;
  padding-bottom: 28px;
}

/* --------------------------------------------------------------- syllabus */

.ementa {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ementa__item {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding: 26px 28px;
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
}

.ementa__num {
  flex: 0 0 96px;
}

.ementa__num p:first-child {
  margin: 0;
  font-family: var(--lpdh-font-family-display);
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--lpdh-color-brand-interactive);
}

.ementa__num p:last-child {
  margin: 6px 0 0;
  font-size: 11.5px;
  color: var(--lpdh-color-text-secondary);
}

.ementa__corpo {
  flex: 1 1 380px;
  min-width: 0;
}

.ementa__corpo h2 {
  margin: 0 0 6px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.ementa__objetivo {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
  max-width: 46rem;
}

.ementa__objetivo strong {
  font-weight: 600;
  color: var(--lpdh-color-ink);
}

.ementa__conteudo {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ementa__conteudo li {
  display: flex;
  gap: 11px;
  align-items: baseline;
  font-size: 13.5px;
  line-height: 1.6;
}

.ementa__conteudo li::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--lpdh-color-brand-interactive);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------- Q & A */

.duvidas {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}

.duvidas__principal {
  flex: 1 1 420px;
  min-width: 0;
}

.duvidas__forma {
  padding: 22px 24px;
  margin-bottom: 26px;
}

.duvidas__forma-pe {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.duvidas__forma-nota {
  font-size: 12px;
  color: var(--lpdh-color-text-secondary);
}

.duvidas h2 {
  margin: 0 0 14px;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.lista-empilhada {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--lpdh-color-border);
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  overflow: hidden;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}

.pergunta {
  padding: 18px 22px;
  background: var(--lpdh-color-surface);
}

.pergunta__p {
  margin: 0 0 6px;
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.pergunta__r {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--lpdh-color-text-secondary);
  max-width: 46rem;
}

.pergunta__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lpdh-color-text-secondary);
}

.pergunta__aguardando {
  margin: 0;
  font-size: 13px;
  color: var(--lpdh-color-border-strong);
  font-style: italic;
}

.duvidas__lado {
  flex: 1 1 280px;
  max-width: 340px;
  padding: 22px;
}

.instrutor {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.instrutor__nome {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.instrutor__papel {
  margin: 0;
  font-size: 12px;
  color: var(--lpdh-color-text-secondary);
}

.duvidas__lado p.lead {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.6;
}

.duvidas__sep {
  border: none;
  border-top: 1px solid var(--lpdh-color-border);
  margin: 18px 0;
}

/* ------------------------------------------------- Dúvidas conversation thread */

.duvida {
  padding-bottom: 20px;
}

.thread {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  border-top: 1px solid var(--lpdh-color-border);
}

.msg {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--lpdh-color-border);
}

.msg:last-child {
  border-bottom: none;
}

.msg--tina {
  border-left: 3px solid var(--lpdh-color-tina-accent);
  padding-left: 14px;
  margin-left: -17px;
  border-radius: 0 8px 8px 0;
}

.msg--instrutor {
  border-left: 3px solid var(--lpdh-color-brand-interactive);
  padding-left: 14px;
  margin-left: -17px;
  border-radius: 0 8px 8px 0;
}

.msg__avatar {
  flex: none;
  width: 36px;
  height: 36px;
}

.msg__avatar--foto {
  border-radius: 50%;
  object-fit: cover;
  object-position: center 18%;
}

.msg--tina .msg__avatar--foto {
  box-shadow: 0 0 0 2px var(--lpdh-color-tina-soft-bg);
}

.msg__corpo {
  flex: 1;
  min-width: 0;
}

.msg__texto {
  margin: 7px 0 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--lpdh-color-ink);
}

/* format_reply renders the reply as paragraphs and, when Tina enumerates, a bullet list. */
.msg__texto p {
  margin: 0 0 10px;
}

.msg__texto p:last-child {
  margin-bottom: 0;
}

.msg__texto ul {
  margin: 4px 0 10px;
  padding-left: 20px;
}

.msg__texto li {
  margin: 0 0 5px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  font: 600 11px/1 var(--lpdh-font-family-display);
  letter-spacing: 0.02em;
  background: var(--lpdh-color-surface-2);
  color: var(--lpdh-color-text-secondary);
}

.chip--tina {
  background: var(--lpdh-color-tina-soft-bg);
  color: var(--lpdh-color-tina-soft-text);
}

.chip--instrutor {
  background: var(--lpdh-color-brand-soft-bg);
  color: var(--lpdh-color-brand-soft-text);
}

.chip--aluno {
  background: var(--lpdh-color-surface-2);
  color: var(--lpdh-color-text-secondary);
}

.etiqueta--respondida {
  background: var(--lpdh-color-semantic-success-soft-bg);
  color: var(--lpdh-color-semantic-success-soft-text);
}

.duvida__responder {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
}

.area--compacta {
  flex: 1;
  min-height: 44px;
  margin: 0;
}

/* ------------------------------------------------------------ certificate */

.diploma-caixa {
  position: relative;
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-surface);
  padding: 56px 48px;
  text-align: center;
  max-width: 44rem;
  overflow: hidden;
}

.diploma {
  position: relative;
}

.diploma--bloqueado {
  opacity: 0.42;
}

.diploma__logo {
  height: 18px;
  width: auto;
  margin: 0 auto 30px;
}

.diploma__rotulo {
  margin: 0 0 10px;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--lpdh-color-text-secondary);
}

.diploma__nome {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -0.03em;
}

.diploma__texto {
  margin: 0 auto;
  max-width: 30rem;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--lpdh-color-text-secondary);
}

.diploma__texto strong {
  color: var(--lpdh-color-ink);
  font-weight: 600;
}

.diploma__regua {
  display: block;
  width: 56px;
  height: 3px;
  margin: 28px auto;
  border-radius: 2px;
  background: var(--lpdh-color-brand-interactive);
}

.diploma__assinatura {
  margin: 0;
  font-size: 12.5px;
  color: var(--lpdh-color-text-secondary);
}

.diploma__codigo {
  margin: 14px 0 0;
  font: 400 12px/1 var(--lpdh-font-family-mono);
  letter-spacing: 0.18em;
  color: var(--lpdh-color-border-strong);
}

.diploma__cortina {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--lpdh-color-cortina-bg);
}

.diploma__aviso {
  text-align: center;
  padding: 20px 26px;
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-brand-soft-bg);
  border: 1px solid var(--lpdh-color-brand-interactive);
  color: var(--lpdh-color-ink);
  max-width: 22rem;
}

.diploma__aviso p:first-child {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
}

.diploma__aviso p:last-child {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--lpdh-color-brand-soft-text);
}

/* ---------------------------------------------------------------- account */

.conta__cartoes {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  max-width: 56rem;
}

.conta__cartoes > .cartao {
  flex: 1 1 320px;
  min-width: 0;
}

.conta__cartoes h2 {
  margin: 0 0 12px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.conta__linha {
  margin: 0 0 6px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

.conta__linha strong {
  color: var(--lpdh-color-ink);
  font-weight: 600;
}

.preferencias {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.preferencia {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13.5px;
}

.preferencia--inativa {
  color: var(--lpdh-color-text-secondary);
}

.interruptor {
  width: 38px;
  height: 22px;
  flex: none;
  border-radius: 999px;
  border: none;
  background: var(--lpdh-color-border);
  position: relative;
  cursor: not-allowed;
  opacity: 0.6;
}

.interruptor::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}

/* ----------------------------------------------------------------- search */

.busca__cabeca {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.busca__cabeca h1 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.vazio {
  padding: 34px 30px;
  border: 1px dashed var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  text-align: center;
}

.vazio p:first-child {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
}

.vazio p:last-child {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--lpdh-color-text-secondary);
}

.grupos {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.grupo__cabeca {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.grupo__cabeca h2 {
  margin: 0;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.resultado {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
  padding: 15px 20px;
  background: var(--lpdh-color-surface);
  text-align: left;
  color: var(--lpdh-color-ink);
  text-decoration: none;
  font-family: var(--lpdh-font-family-body);
}

.resultado:hover {
  background: var(--lpdh-color-bg);
  color: var(--lpdh-color-ink);
}

.resultado__tipo {
  flex: none;
  margin-top: 2px;
  width: 52px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.resultado__corpo {
  min-width: 0;
}

.resultado__titulo {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.resultado__apoio {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--lpdh-color-text-secondary);
}

/* ------------------------------------------------------------------ error */

.erro-tela {
  padding: 36px 40px 64px;
  max-width: 44rem;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 68rem) {
  .sessao__lado {
    position: static;
    max-width: none;
  }
}

@media (max-width: 60rem) {
  .entrada {
    grid-template-columns: minmax(0, 1fr);
  }

  .entrada__marca {
    padding: 40px 32px;
    border-right: none;
    border-bottom: 1px solid var(--lpdh-color-border);
    gap: 32px;
  }

  .entrada__titulo {
    font-size: 34px;
  }

  .entrada__painel {
    padding: 32px 24px 56px;
  }

  .app {
    grid-template-columns: minmax(0, 1fr);
  }

  .lateral {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--lpdh-color-border);
  }

  /* ------------------------------------------------------- instructor turma panel */

/* A native <select> was wrong here: the browser draws its open menu with the operating
 * system's own chrome — grey panel, blue highlight — which no stylesheet can reach. Every
 * turma is a submit button instead, so the open state is as designed as the closed one.
 *
 * The panel is deliberately distinct from the participant's "Sua turma" block: this view
 * belongs to the instructor, and it should not read as something a participant also has. */
.painel-instrutor {
  margin: 0 14px 22px;
  padding: 12px 12px 10px;
  border: 1px solid var(--lpdh-color-brand-soft-bg);
  border-radius: var(--lpdh-radius-lg);
  background: var(--lpdh-color-bg);
}

.painel-instrutor__rotulo {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding-left: 2px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lpdh-color-brand-soft-text);
}

.painel-instrutor__marca {
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--lpdh-color-brand-interactive);
}

.turmas {
  display: flex;
  flex-direction: column;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.turma-opcao {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 7px 8px;
  border: none;
  border-radius: var(--lpdh-radius-md);
  background: transparent;
  color: var(--lpdh-color-text-secondary);
  font-family: var(--lpdh-font-family-body);
  text-align: left;
  cursor: pointer;
  transition: background var(--lpdh-motion-duration-fast) var(--lpdh-motion-easing-standard);
}

.turma-opcao:hover {
  background: var(--lpdh-color-surface);
  color: var(--lpdh-color-ink);
}

.turma-opcao[aria-current="true"] {
  background: var(--lpdh-color-surface);
  color: var(--lpdh-color-ink);
  box-shadow: var(--lpdh-shadow-sm);
}

.turma-opcao__numero {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: var(--lpdh-radius-sm);
  background: var(--lpdh-color-surface-2);
  color: var(--lpdh-color-text-secondary);
  font: 600 11px/1 var(--lpdh-font-family-display);
}

.turma-opcao[aria-current="true"] .turma-opcao__numero {
  background: var(--lpdh-color-brand-interactive);
  color: #fff;
}

.turma-opcao__texto {
  min-width: 0;
}

.turma-opcao__nome {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.turma-opcao__periodo {
  display: block;
  font-size: 10.5px;
  color: var(--lpdh-color-border-strong);
}

.painel-instrutor__nota {
  margin: 10px 2px 0;
  padding-top: 9px;
  border-top: 1px solid var(--lpdh-color-border);
  font-size: 10.5px;
  line-height: 1.4;
  color: var(--lpdh-color-border-strong);
}

.lateral__nav {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .nav__item {
    width: auto;
  }

  .lateral__pe {
    margin-top: 20px;
  }

  .topo,
  .conteudo {
    padding-left: 20px;
    padding-right: 20px;
  }

  .saudacao {
    font-size: 26px;
  }

  .titulo-tela {
    font-size: 26px;
  }
}

@media (max-width: 40rem) {
  /* On a phone the row does not fit: the back link takes its own line above the title, and
     the download button sits beside the title rather than below it. */
  .visualizador__cabeca {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .visualizador__voltar {
    width: 100%;
    padding-right: 0;
    border-right: none;
  }

  .visualizador__titulo h1 {
    font-size: 17px;
  }

  .visualizador {
    height: calc(100vh - 230px);
    min-height: 380px;
  }

  /* A phone is narrow, so a wide infographic is unreadable fitted whole. It gets its natural
     width and scrolls sideways — the same trade the browser's own image view makes. */
  .visualizador--imagem {
    max-height: none;
  }

  .visualizador__moldura {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .visualizador__moldura .visualizador--imagem {
    width: auto;
    max-width: none;
    height: calc(100vh - 300px);
    min-height: 320px;
  }

  .entrada__base {
    gap: 20px;
    flex-wrap: wrap;
  }

  .trilha__link {
    flex-wrap: wrap;
    padding: 14px 16px;
  }

  .trilha__meta {
    margin-left: 50px;
  }

  .agenda__lado {
    text-align: left;
    width: 100%;
  }

  .ementa__item {
    gap: 14px;
    padding: 20px;
  }

  .ementa__num {
    flex-basis: auto;
    display: flex;
    align-items: baseline;
    gap: 12px;
  }

  .ementa__num p:last-child {
    margin: 0;
  }

  .diploma-caixa {
    padding: 32px 22px;
  }

  .diploma__nome {
    font-size: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .lateral,
  .topo,
  .naoimprimir {
    display: none !important;
  }

  .app {
    grid-template-columns: minmax(0, 1fr);
  }

  .diploma-caixa {
    border: none;
  }

  .diploma--bloqueado {
    opacity: 1;
  }

  .diploma__cortina {
    display: none;
  }
}

/* ============================================================================
   End-of-training survey and final quiz
   New controls only; the pages otherwise reuse .sessao__principal, .botao,
   .destaque, .input, .topicos. Built on the imported design tokens.
   ============================================================================ */

.avaliacao__secao {
  margin: 0 0 var(--lpdh-space-8);
}

.avaliacao__secao-titulo {
  margin: 0 0 var(--lpdh-space-4);
  padding-bottom: var(--lpdh-space-2);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lpdh-color-text-secondary);
  border-bottom: 1px solid var(--lpdh-color-border);
}

/* .pergunta already carries a surface background + padding from the Q&A page; as a
   <fieldset> it also needs its native chrome reset and a border to read as a card. */
fieldset.pergunta {
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-lg);
  margin: 0 0 var(--lpdh-space-4);
  min-inline-size: auto;
}

fieldset.pergunta.pergunta--falta {
  border-color: var(--lpdh-color-semantic-danger);
  background: var(--lpdh-color-semantic-danger-soft-bg);
}

.pergunta__texto {
  margin: 0 0 var(--lpdh-space-3);
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--lpdh-color-ink);
}

.pergunta__numero {
  margin-right: 4px;
  font-weight: 700;
  color: var(--lpdh-color-brand-interactive);
}

.pergunta__opcional {
  margin-left: 6px;
  font-size: 13px;
  font-weight: 400;
  color: var(--lpdh-color-text-secondary);
}

/* escala: a row of numbered radios between two end labels */
.escala {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--lpdh-space-3);
}

.escala__ponta {
  flex: 0 1 auto;
  font-size: 12.5px;
  color: var(--lpdh-color-text-secondary);
}

.escala__opcoes {
  display: flex;
  flex: 1 1 auto;
  justify-content: center;
  gap: var(--lpdh-space-4);
}

.escala__op {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.escala__op input,
.escolha__op input {
  width: 18px;
  height: 18px;
  accent-color: var(--lpdh-color-brand-interactive);
}

.escala__n {
  font-size: 13px;
  color: var(--lpdh-color-text-secondary);
}

/* escolha: option chips, stacked in a column on the quiz */
.escolha {
  display: flex;
  flex-wrap: wrap;
  gap: var(--lpdh-space-2);
}

.escolha--coluna {
  flex-direction: column;
}

.escolha__op {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: var(--lpdh-space-2);
  padding: var(--lpdh-space-2) var(--lpdh-space-3);
  font-size: 14.5px;
  border: 1px solid var(--lpdh-color-border);
  border-radius: var(--lpdh-radius-md);
  cursor: pointer;
  transition: border-color var(--lpdh-motion-duration-fast);
}

.escolha__op:hover {
  border-color: var(--lpdh-color-border-strong);
}

.avaliacao__texto {
  width: 100%;
}

.avaliacao__nota {
  margin-top: var(--lpdh-space-3);
  font-size: 12.5px;
  color: var(--lpdh-color-text-secondary);
}

/* the call-to-action banner shared by the dashboard and the certificate page */
a.destaque--acao {
  display: block;
  padding: var(--lpdh-space-4) var(--lpdh-space-6);
  border-left-width: 4px;
  border-radius: 0 var(--lpdh-radius-lg) var(--lpdh-radius-lg) 0;
  background: var(--lpdh-color-surface);
  color: inherit;
  text-decoration: none;
  transition: background var(--lpdh-motion-duration-fast);
}

a.destaque--acao:hover {
  background: var(--lpdh-color-surface-2);
}

.destaque--acao .destaque__rotulo,
.destaque--acao .destaque__texto,
.destaque--acao .destaque__cta {
  display: block;
}

.destaque--acao .destaque__texto {
  margin-top: 4px;
}

.destaque--acao .destaque__cta {
  margin-top: var(--lpdh-space-2);
  font-weight: 600;
  color: var(--lpdh-color-brand-interactive);
}

.destaque--alerta {
  border-left-color: var(--lpdh-color-semantic-danger);
}

.destaque--alerta .destaque__texto {
  color: var(--lpdh-color-semantic-danger-text);
}
