:root {
  color-scheme: light;
  font-family: system-ui, sans-serif;
  color: #23173c;
  background: #f7f3ff;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse at 50% 0%, #fff 10%, #f7f3ff 52%, #eee6fc 100%);
}
.aula {
  width: min(100% - 2.25rem, 26rem);
  margin-inline: auto;
  padding-block: clamp(1.1rem, 4svh, 2.75rem) max(1.5rem, env(safe-area-inset-bottom));
  text-align: center;
}
.comunidade {
  margin: 0;
  color: #502cb3;
  font-size: .94rem;
  font-weight: 750;
}
h1 {
  margin: .2rem 0 0;
  font-size: clamp(2rem, 7.5vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -.06em;
}
.descricao {
  margin: .45rem 0 .9rem;
  color: #615473;
  font-size: 1rem;
}
.quadro-guia {
  padding: .7rem;
  border: 1px solid #33224a;
  border-radius: 1.4rem;
  background: radial-gradient(ellipse at 50% 0%, #372456, #171022 76%);
  box-shadow: 0 12px 28px #35205d32;
}
.guia {
  position: relative;
  width: min(100%, clamp(12rem, 31svh, 19rem));
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid #ffffff35;
  border-radius: .92rem;
  background: #171022;
}
video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #25163d;
}
.controles-guia {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: .6rem;
  background: #140b24a6;
  pointer-events: none;
}
.controles-guia[hidden] { display: none; }
.assistir {
  display: flex;
  gap: .6rem;
  align-items: center;
  justify-content: center;
  width: min(100%, 15rem);
  min-height: 4.25rem;
  padding: .55rem .65rem;
  border: 0;
  border-radius: 1rem;
  color: #251544;
  background: #fff;
  box-shadow: 0 8px 26px #0008;
  font: 800 clamp(.96rem, 4vw, 1.12rem) / 1.15 system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
  pointer-events: auto;
}
.assistir:hover { background: #efe8ff; }
.icone-play {
  display: grid;
  flex: 0 0 2.65rem;
  height: 2.65rem;
  place-items: center;
  border-radius: 50%;
  background: #5426d0;
}
.icone-play::after {
  width: .78rem;
  height: .92rem;
  margin-inline-start: .18rem;
  background: #fff;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  content: '';
}
.entrar {
  display: flex;
  gap: .6rem;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  margin-top: .9rem;
  padding: .8rem 1rem;
  border-radius: .9rem;
  background: #4822b8;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 7px 18px #4822b833;
}
.entrar:hover { background: #391894; }
.guia-concluida {
  padding-block-end: max(1.5rem, calc(50svh - 1.5rem));
}
.guia-concluida .entrar {
  background: #5625cc;
  box-shadow: 0 0 0 4px #f7f3ff, 0 0 0 7px #6c39e3, 0 8px 24px #4822b859;
}
.seta { font-size: 1.4rem; line-height: 1; }
.entrar:focus-visible,
.assistir:focus-visible {
  outline: 3px solid #a65000;
  outline-offset: 3px;
}
