/* SOMA · player de vídeo com skin própria (soma-video-player.js). Preenche o
   container do player (16/9). Capa = background do curso; sem capa = navy/glow. */
.somavp { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; border-radius: inherit;
  background: radial-gradient(120% 120% at 50% 0%, #0c2a47 0%, #04101c 72%); }
.somavp-stage { position: absolute; inset: 0; }
.somavp-yt { position: absolute; inset: 0; }
.somavp-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.somavp-poster { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: center; background-color: #06243c; }
.somavp-bigplay { width: 74px; height: 74px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  color: #04121f; background: linear-gradient(135deg, #7FE7EB, #02B8BF); box-shadow: 0 12px 32px rgba(2,184,191,.45); transition: transform .15s ease; }
.somavp-bigplay:hover { transform: scale(1.07); }
.somavp-ctrl { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 16px 14px 10px; background: linear-gradient(to top, rgba(2,8,16,.9), rgba(2,8,16,0)); opacity: 0; transition: opacity .2s ease; pointer-events: none; }
.somavp.is-ready .somavp-ctrl, .somavp:hover .somavp-ctrl { opacity: 1; pointer-events: auto; }
.somavp-pp, .somavp-fs { background: transparent; border: 0; color: #fff; cursor: pointer; display: grid; place-items: center; padding: 5px; border-radius: 7px; }
.somavp-pp:hover, .somavp-fs:hover { background: rgba(255,255,255,.16); }
.somavp-time { font: 600 12px 'JetBrains Mono', ui-monospace, monospace; color: #cfeff1; min-width: 40px; text-align: center; }
.somavp-seek { flex: 1; height: 6px; background: rgba(255,255,255,.22); border-radius: 5px; cursor: pointer; position: relative; }
.somavp-seek-fill { height: 100%; width: 0; background: linear-gradient(90deg, #02B8BF, #7FE7EB); border-radius: 5px; }
.somavp-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.somavp-link { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); }

/* Linha do tempo de progressão por subtema (entre player e materiais) — com respiro */
.learning-timeline { margin: 26px 0 6px; background: linear-gradient(160deg, #0d2138, #081628); border: 1px solid rgba(127,231,235,.16); border-radius: 18px; padding: 22px 26px; }
.learning-timeline:empty { display: none; }
.learning-timeline .lt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.learning-timeline .lt-head span { font: 600 11px 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; color: #7FE7EB; }
.learning-timeline .lt-head strong { font: 800 17px 'Inter', sans-serif; color: #F5F9FC; }
.learning-timeline .lt-track { display: flex; align-items: center; flex-wrap: wrap; row-gap: 24px; padding: 2px 2px 22px; }
.learning-timeline .lt-node { flex: 0 0 auto; display: grid; }
.learning-timeline .lt-dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font: 700 13px 'Inter', sans-serif; }
.learning-timeline .lt-todo .lt-dot { background: rgba(255,255,255,.08); color: rgba(245,249,252,.55); border: 1px solid rgba(255,255,255,.18); }
.learning-timeline .lt-cur .lt-dot { background: rgba(2,184,191,.18); color: #7FE7EB; border: 2px solid #02B8BF; box-shadow: 0 0 0 4px rgba(2,184,191,.14); }
.learning-timeline .lt-done .lt-dot { background: linear-gradient(135deg, #34d399, #10b981); color: #04121f; border: 1px solid #34d399; }
.learning-timeline .lt-link { flex: 1; min-width: 28px; height: 3px; border-radius: 3px; background: rgba(255,255,255,.14); margin: 0 8px; }
.learning-timeline .lt-link.lt-done { background: linear-gradient(90deg, #34d399, #02B8BF); }
/* Portões Pré-teste / Pós-teste — parte da progressão (clicáveis) */
.learning-timeline .lt-gate { position: relative; flex: 0 0 auto; display: grid; place-items: center; background: transparent; border: 0; padding: 0; cursor: pointer; }
.learning-timeline .lt-gate-dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font: 700 13px 'Inter', sans-serif; transition: transform .15s ease, box-shadow .15s ease; }
.learning-timeline .lt-gate.lt-todo .lt-gate-dot { background: rgba(2,184,191,.16); color: #7FE7EB; border: 1px solid rgba(2,184,191,.55); }
.learning-timeline .lt-gate.lt-done .lt-gate-dot { background: linear-gradient(135deg, #34d399, #10b981); color: #04121f; border: 1px solid #34d399; }
.learning-timeline .lt-gate-lbl { position: absolute; top: calc(100% + 5px); left: 50%; transform: translateX(-50%); font: 700 9px 'JetBrains Mono', ui-monospace, monospace; letter-spacing: .06em; text-transform: uppercase; color: rgba(245,249,252,.72); white-space: nowrap; }
.learning-timeline .lt-gate:hover .lt-gate-dot { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(2,184,191,.32); }
/* portão bloqueado (cadeado discreto, cinza, não-clicável até o pré-requisito) */
.learning-timeline .lt-gate.lt-locked { cursor: not-allowed; }
.learning-timeline .lt-gate.lt-locked .lt-gate-dot { background: rgba(255,255,255,.05); color: rgba(245,249,252,.42); border: 1px solid rgba(245,249,252,.2); }
.learning-timeline .lt-gate.lt-locked .lt-gate-lbl { color: rgba(245,249,252,.45); }
.learning-timeline .lt-gate.lt-locked:hover .lt-gate-dot { transform: none; box-shadow: none; }
