/* ============================================================
   Aba Curso — cópia do curso da área de membros do Protocolo
   Neurofluência (repo Neurofluencia-Area-de-membros).

   Tudo aqui fica dentro de #cursoView, com os tokens da área de membros,
   para a aba sair igual à original sem vazar estilo para o resto do painel.
   Origem: src/styles/tokens.css, base.css, buttons.css, protocolo.css e
   lesson.css da área de membros. Para atualizar, copie de lá e reescope.
   ============================================================ */

/* ---------- tokens (tokens.css) ---------- */
#cursoView {
  --accent: #8a4df5;
  --accent-soft: #a274ff;
  --accent-deep: #5b2bd6;
  --accent-grad: linear-gradient(135deg, #a274ff 0%, #8a4df5 48%, #5b2bd6 100%);
  --danger: #f2545b;
  --radius-sm: 10px;
  --radius: 14px;
  --radius-lg: 20px;
  --radius-xl: 26px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font: 'Inter', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;

  /* tema claro */
  --surface: #ffffff;
  --surface-2: #f2f0f9;
  --surface-3: #e9e6f4;
  --border: rgba(24, 18, 40, 0.09);
  --border-strong: rgba(24, 18, 40, 0.16);
  --text: #17132a;
  --text-soft: #423d59;
  --muted: #6e6884;
  --shadow-sm: 0 1px 2px rgba(24, 18, 40, 0.06), 0 1px 3px rgba(24, 18, 40, 0.05);
  --shadow: 0 10px 28px -12px rgba(24, 18, 40, 0.24), 0 2px 6px rgba(24, 18, 40, 0.05);
  --shadow-lg: 0 28px 60px -24px rgba(24, 18, 40, 0.32);
  --accent-tint: rgba(138, 77, 245, 0.1);
  --accent-tint-2: rgba(138, 77, 245, 0.2);
  --on-accent: #ffffff;

  margin-top: 40px;
  font-family: var(--font);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* tema escuro */
:root[data-theme="dark"] #cursoView {
  --surface: #131119;
  --surface-2: #191622;
  --surface-3: #221e2d;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #ece9f6;
  --text-soft: #c7c1da;
  --muted: #8e87a5;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow: 0 14px 34px -16px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 34px 70px -28px rgba(0, 0, 0, 0.8);
  --accent-tint: rgba(162, 116, 255, 0.14);
  --accent-tint-2: rgba(162, 116, 255, 0.26);
  --on-accent: #ffffff;
}

/* ---------- base (base.css) ---------- */
#cursoView *,
#cursoView *::before,
#cursoView *::after { box-sizing: border-box; }
#cursoView h1,
#cursoView h2,
#cursoView h3,
#cursoView h4 { margin: 0; line-height: 1.18; letter-spacing: -0.02em; }
#cursoView p { margin: 0; }
#cursoView img { max-width: 100%; display: block; }
#cursoView button { font: inherit; color: inherit; cursor: pointer; }
#cursoView a { color: inherit; text-decoration: none; }
#cursoView .muted { color: var(--muted); }
#cursoView :where(button, a):focus-visible { outline: 2px solid var(--accent-soft); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  #cursoView *,
  #cursoView *::before,
  #cursoView *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- botões (buttons.css) ---------- */
#cursoView .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--accent-grad);
  color: var(--on-accent);
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: 0 12px 26px -14px rgba(138, 77, 245, 0.9);
  transition:
    filter 0.16s var(--ease),
    transform 0.16s var(--ease),
    opacity 0.16s var(--ease);
}

#cursoView .btn-primary:hover:not(:disabled) {
  filter: brightness(1.07);
}

#cursoView .btn-primary:active:not(:disabled) {
  transform: translateY(1px);
}

#cursoView .btn-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#cursoView .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

#cursoView .btn-outline:hover {
  background: var(--surface-2);
  border-color: var(--accent-tint-2);
}


/* ---------- fases (protocolo.css) ---------- */
/* ============================================================
   Aba Curso — banner do curso + fileira de fases
   ============================================================ */

/* Painel de marca: é aqui que vive a cor. O resto da página fica chapado. */
#cursoView .proto-banner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  background: linear-gradient(100deg, #2b1064 0%, #4c1d95 34%, #6d28d9 62%, #8b5cf6 100%);
  box-shadow: var(--shadow);
  padding: 40px 40px 44px;
  margin-bottom: 38px;
}

/* ============================================================
   Banner em slides
   ============================================================ */
#cursoView .banner-carousel {
  position: relative;
  margin-bottom: 38px;
}

/* Slides na mesma célula do grid: a altura segue o slide mais alto, então
   trocar de slide não empurra o resto da página. */
#cursoView .banner-stack {
  display: grid;
}

#cursoView .banner-stack > .proto-banner {
  grid-area: 1 / 1;
  /* a margem vive no .banner-carousel; aqui ela atrapalharia o posicionamento
     dos marcadores, e sobra espaço embaixo para eles */
  margin-bottom: 0;
  padding-bottom: 30px;
  /* a altura é a do slide mais alto: centraliza para o slide curto não
     ficar pendurado no topo com vazio embaixo */
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.995);
  pointer-events: none;
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease),
    visibility 0.55s;
}

#cursoView .banner-stack > .proto-banner.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

#cursoView .banner-lead {
  font-weight: 700;
  color: #ffffff !important;
}

#cursoView .banner-lead + p {
  margin-top: 12px;
  max-width: 60ch;
}

/* marcadores */
#cursoView .banner-dots {
  position: absolute;
  right: 22px;
  bottom: 10px;
  display: flex;
  gap: 2px;
  z-index: 2;
}

/* O botão é grande (alvo de toque) e o ponto é desenhado no ::after. */
#cursoView .banner-dot {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
}

#cursoView .banner-dot::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  transition:
    width 0.24s var(--ease),
    background 0.24s var(--ease);
}

#cursoView .banner-dot:hover::after {
  background: rgba(255, 255, 255, 0.7);
}

#cursoView .banner-dot.is-active::after {
  width: 20px;
  background: #ffffff;
}

/* ============================================================
   Área que ainda não abriu
   ============================================================ */
#cursoView .soon-banner {
  margin-bottom: 0;
}

#cursoView .soon-lead {
  font-weight: 700;
  color: #ffffff !important;
}

#cursoView .soon-lead + p {
  margin-top: 12px;
  max-width: 60ch;
}

#cursoView .soon-mark {
  position: absolute;
  right: 34px;
  bottom: 30px;
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  pointer-events: none;
}

#cursoView .soon-mark svg {
  width: 40px;
  height: 40px;
  opacity: 0.9;
}

/* bloom claro no canto superior direito */
#cursoView .proto-banner-glow {
  position: absolute;
  top: -220px;
  right: 8%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(196, 172, 255, 0.72),
    rgba(167, 139, 250, 0.3) 42%,
    transparent 68%
  );
  filter: blur(30px);
  pointer-events: none;
}

#cursoView .proto-banner-content {
  position: relative;
  max-width: 620px;
}

#cursoView .proto-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(12, 6, 28, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

#cursoView .proto-banner h2 {
  margin: 18px 0 10px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #ffffff;
}

#cursoView .proto-banner p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
  max-width: 46ch;
}

/* ---------- cabeçalho da fileira ---------- */
#cursoView .proto-row-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

#cursoView .proto-row-head h3 {
  font-size: 17px;
  font-weight: 700;
}

#cursoView .proto-row-head .muted {
  font-size: 13px;
}

/* ---------- fileira ---------- */
#cursoView .proto-row {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(200px, 1fr);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 4px 4px 18px;
  margin: -4px -4px -18px;
  scrollbar-width: thin;
}

#cursoView .proto-row::-webkit-scrollbar {
  height: 8px;
}

#cursoView .proto-row::-webkit-scrollbar-track {
  background: transparent;
}

#cursoView .proto-row::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 99px;
}

/* ---------- cover de fase (pôster 2:3) ---------- */
#cursoView .proto-cover {
  position: relative;
  scroll-snap-align: start;
  display: block;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface-3);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  transition:
    transform 0.22s var(--ease),
    box-shadow 0.22s var(--ease),
    border-color 0.22s var(--ease);
}

#cursoView .proto-cover:hover,
#cursoView .proto-cover:focus-visible {
  transform: translateY(-5px);
  border-color: var(--accent-tint-2);
  box-shadow:
    var(--shadow),
    0 18px 40px -22px rgba(138, 77, 245, 0.7);
}

#cursoView .proto-cover-art {
  position: relative;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--surface-3);
}

#cursoView .proto-cover-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.32s var(--ease);
}

#cursoView .proto-cover:hover .proto-cover-art img {
  transform: scale(1.04);
}

/* véu inferior: dá contraste para o rodapé do cover */
#cursoView .proto-cover-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(6, 4, 12, 0.72));
  pointer-events: none;
}

/* selo sobreposto ao pôster */
#cursoView .proto-cover-info {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 14px;
}

#cursoView .proto-badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(10, 6, 20, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  color: #f2eefc;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

#cursoView .proto-badge.is-available {
  background: rgba(138, 77, 245, 0.85);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

@media (max-width: 900px) {
  #cursoView .proto-banner {
    padding: 26px 20px 28px;
    border-radius: var(--radius-lg);
  }

  /* No celular o texto do banner precisa caber sem virar parede: título menor
     e corpo em 13.5px, que ainda lê bem em tela pequena. */
  #cursoView .proto-banner h2 {
    margin: 12px 0 8px;
    font-size: 21px;
    line-height: 1.22;
  }

  #cursoView .proto-kicker {
    padding: 4px 10px;
    font-size: 10px;
  }

  #cursoView .proto-banner p {
    font-size: 13px;
    line-height: 1.5;
  }

  #cursoView .banner-lead {
    font-size: 14px !important;
  }

  #cursoView .banner-lead + p {
    margin-top: 8px;
  }

  #cursoView .banner-dots {
    right: 12px;
    bottom: 6px;
  }

  /* o ícone gigante brigaria com o texto no estreito */
  #cursoView .soon-mark {
    display: none;
  }

  #cursoView .proto-row-head {
    margin-bottom: 12px;
  }

  #cursoView .proto-row-head h3 {
    font-size: 15.5px;
  }
}

/* ---------- capas no celular ---------- */
@media (max-width: 700px) {
  /* Pôster grande, com a próxima capa aparecendo de lado para deixar claro que
     a fileira rola.
     Tamanho FIXO, não minmax(0, …): com mínimo zero as trilhas encolhem para
     caber no container em vez de transbordar, e as 5 capas viravam selos. */
  #cursoView .proto-row {
    grid-auto-columns: 62vw;
    gap: 14px;
    scroll-snap-type: x mandatory;
    /* sangra até a borda da tela, mas a primeira capa alinha com o conteúdo */
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
    scroll-padding-left: 16px;
  }

  #cursoView .proto-cover-info {
    padding: 14px;
  }
}

@media (max-width: 380px) {
  #cursoView .proto-row {
    grid-auto-columns: 72vw;
  }
}

/* erro ao carregar o catálogo de aulas */
#cursoView .proto-error {
  margin-bottom: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(242, 84, 91, 0.35);
  background: rgba(242, 84, 91, 0.08);
  border-radius: var(--radius);
  color: var(--danger);
  font-size: 13px;
}

/* ---------- aula (lesson.css) ---------- */
/* ============================================================
   Aula: player + sanfona de módulos
   ============================================================ */

#cursoView .lesson-page {
  display: block;
}

/* ---------- migalhas ---------- */
#cursoView .lesson-crumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 12.5px;
}

#cursoView .lesson-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px 6px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-soft);
  font-weight: 600;
  transition:
    background 0.16s var(--ease),
    border-color 0.16s var(--ease),
    color 0.16s var(--ease);
}

#cursoView .lesson-back svg {
  width: 14px;
  height: 14px;
}

#cursoView .lesson-back:hover {
  background: var(--surface-2);
  border-color: var(--accent-tint-2);
  color: var(--text);
}

#cursoView .lesson-crumb-sep {
  color: var(--muted);
}

#cursoView .lesson-crumb {
  color: var(--muted);
}

/* ---------- layout ---------- */
#cursoView .lesson-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 24px;
  align-items: start;
}

#cursoView .lesson-main {
  min-width: 0;
}

/* ---------- player ---------- */
#cursoView .lesson-player {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

#cursoView .lesson-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- título da aula ---------- */
#cursoView .lesson-info {
  margin-top: 20px;
}

#cursoView .lesson-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

#cursoView .lesson-title {
  margin-top: 8px;
  font-size: clamp(21px, 2.8vw, 28px);
  font-weight: 800;
}

#cursoView .lesson-duration {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* ---------- anterior / próxima ---------- */
#cursoView .lesson-nav {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 26px;
}

#cursoView .lesson-step {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: 48%;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition:
    border-color 0.16s var(--ease),
    background 0.16s var(--ease),
    transform 0.16s var(--ease);
}

#cursoView .lesson-step:hover {
  border-color: var(--accent-tint-2);
  background: var(--surface-2);
  transform: translateY(-2px);
}

#cursoView .lesson-step svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: var(--accent-soft);
}

#cursoView .lesson-step-next {
  margin-left: auto;
  text-align: right;
}

#cursoView .lesson-step-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

#cursoView .lesson-step-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

#cursoView .lesson-step-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ============================================================
   Sanfona
   ============================================================ */
#cursoView .lesson-side {
  position: sticky;
  top: 24px;
}

#cursoView .acc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

#cursoView .acc-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}

#cursoView .acc-head h3 {
  font-size: 14px;
  font-weight: 700;
}

#cursoView .acc-head .muted {
  font-size: 12px;
}

#cursoView .acc-module {
  border-bottom: 1px solid var(--border);
}

#cursoView .acc-module:last-child {
  border-bottom: 0;
}

#cursoView .acc-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  text-align: left;
  transition: background 0.16s var(--ease);
}

#cursoView .acc-trigger:hover:not(:disabled) {
  background: var(--surface-2);
}

#cursoView .acc-trigger:disabled {
  cursor: default;
  opacity: 0.55;
}

#cursoView .acc-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 9px;
  background: var(--surface-3);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

#cursoView .acc-module.is-current .acc-num {
  background: var(--accent-tint-2);
  color: var(--accent-soft);
}

#cursoView .acc-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}

#cursoView .acc-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
}

#cursoView .acc-meta {
  font-size: 11.5px;
  color: var(--muted);
}

#cursoView .acc-chevron {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--muted);
  transition: transform 0.2s var(--ease);
}

#cursoView .acc-chevron svg {
  width: 16px;
  height: 16px;
}

#cursoView .acc-chevron.is-open {
  transform: rotate(180deg);
}

/* ---------- lista de aulas ---------- */
#cursoView .acc-list {
  list-style: none;
  margin: 0;
  padding: 0 8px 10px;
}

#cursoView .acc-lesson {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition:
    background 0.16s var(--ease),
    border-color 0.16s var(--ease);
}

#cursoView .acc-lesson:hover {
  background: var(--surface-2);
}

#cursoView .acc-lesson.is-active {
  background: var(--accent-tint);
  border-left-color: var(--accent);
}

#cursoView .acc-lesson-num {
  width: 20px;
  flex: 0 0 auto;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

#cursoView .acc-lesson.is-active .acc-lesson-num {
  color: var(--accent-soft);
}

#cursoView .acc-lesson-body {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
  flex: 1 1 auto;
}

#cursoView .acc-lesson-title {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.35;
}

#cursoView .acc-lesson.is-active .acc-lesson-title {
  color: var(--text);
  font-weight: 600;
}

#cursoView .acc-lesson-time {
  font-size: 11px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

#cursoView .acc-tag {
  display: inline-block;
  margin-right: 6px;
  padding: 1px 6px;
  border-radius: 5px;
  background: var(--accent-tint-2);
  color: var(--accent-soft);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  vertical-align: 1px;
}

/* ============================================================
   Estados de carga / vazio
   ============================================================ */
#cursoView .lesson-state {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  padding: 40px 0;
}

#cursoView .lesson-state h2 {
  font-size: 22px;
}

#cursoView .lesson-skeleton {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 760px;
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, var(--surface-2) 30%, var(--surface-3) 50%, var(--surface-2) 70%);
  background-size: 220% 100%;
  animation: lesson-shimmer 1.4s linear infinite;
}

@keyframes lesson-shimmer {
  from {
    background-position: 120% 0;
  }
  to {
    background-position: -20% 0;
  }
}

/* ============================================================
   Responsivo
   ============================================================ */
@media (max-width: 1080px) {
  #cursoView .lesson-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  #cursoView .lesson-side {
    position: static;
  }
}

@media (max-width: 560px) {
  #cursoView .lesson-nav {
    flex-direction: column;
  }

  #cursoView .lesson-step,
#cursoView .lesson-step-next {
    max-width: 100%;
    margin-left: 0;
    text-align: left;
  }
}
