/* ============================================================
   LESSON PLAYER PAGE — full-width video, no site nav
   ============================================================ */

/* Reset body for lesson page */
body.lesson-page {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #0d0d0d;
  cursor: default;
}
body.lesson-page .cursor,
body.lesson-page .cursor-follower,
body.lesson-page .progress-bar {
  display: none;
}

.lp-root {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: #0d0d0d;
  color: #fff;
}

/* ── Top bar ──────────────────────────────────────────────── */
.lp-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 56px;
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
  backdrop-filter: blur(10px);
}
body.admin-bar .lp-bar          { top: 32px; }
body.admin-bar .lp-progress     { top: 88px; }  /* 32 + 56 */
body.admin-bar .lp-root         { padding-top: 90px; }
@media (max-width: 782px) {
  body.admin-bar .lp-bar        { top: 46px; }
  body.admin-bar .lp-progress   { top: 102px; }
  body.admin-bar .lp-root       { padding-top: 104px; }
}
.lp-bar__left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}
.lp-bar__back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,0.55);
  flex-shrink: 0;
  transition: color 0.2s;
}
.lp-bar__back:hover { color: #fff; }
.lp-bar__course { display: flex; flex-direction: column; min-width: 0; }
.lp-bar__course-title {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
  transition: color 0.2s;
}
.lp-bar__course-title:hover { color: #E60341; }
.lp-bar__lesson-count {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  margin-top: 1px;
}
.lp-bar__logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.lp-bar__logo img {
  height: 26px;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  display: block;
}
.lp-bar__right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lp-bar__sidebar-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.lp-bar__sidebar-toggle:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: #fff;
}

/* ── Progress stripe ──────────────────────────────────────── */
.lp-progress {
  position: fixed;
  top: 56px; left: 0; right: 0;
  z-index: 200;
  height: 2px;
  background: rgba(255,255,255,0.08);
}
.lp-progress__fill {
  height: 100%;
  background: #E60341;
  transition: width 0.4s ease;
}

/* ── Page body: stack vertically, no sidebar in layout flow ─ */
.lp-root {
  padding-top: 58px; /* bar + stripe */
}

/* ── VIDEO — true 100vw ───────────────────────────────────── */
.lp-player {
  width: 100%;
  background: #000;
  position: relative;
  /* Negative margins bust out of any container */
  margin-left: 0;
  margin-right: 0;
}
.lp-player__embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background: #000;
}
.lp-player__embed iframe,
.lp-player__embed video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.lp-player__fallback {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  position: relative;
}
.lp-player__fallback-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-player__locked,
.lp-player__no-video {
  text-align: center;
  color: rgba(255,255,255,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.lp-player__locked svg,
.lp-player__no-video svg { opacity: 0.35; }
.lp-player__locked p,
.lp-player__no-video p {
  font-size: 15px;
  max-width: 320px;
  line-height: 1.6;
}
.lp-btn-primary {
  display: inline-block;
  background: #E60341;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: 3px;
  transition: background 0.2s;
}
.lp-btn-primary:hover { background: #b8022f; }

/* ── Lesson content (below video, centered) ───────────────── */
.lp-content {
  background: #0d0d0d;
}
.lp-content__inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 40px 48px 100px;
}

/* Prev / Next navigation */
.lp-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.lp-nav__btn {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 46%;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
  text-decoration: none;
}
.lp-nav__btn:hover { color: #fff; }
.lp-nav__btn--next {
  margin-left: auto;
  text-align: right;
  flex-direction: row-reverse;
}
.lp-nav__btn svg { flex-shrink: 0; }
.lp-nav__btn span { display: flex; flex-direction: column; gap: 2px; }
.lp-nav__btn em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.lp-nav__btn span > :not(em) {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.lp-content__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  color: #fff;
}
.lp-content__body {
  color: rgba(255,255,255,0.7);
  font-size: 16px;
  line-height: 1.85;
}
.lp-content__body p { margin-bottom: 14px; }
.lp-content__body h2,
.lp-content__body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  color: #fff;
  margin: 28px 0 12px;
}
.lp-content__body a { color: #E60341; }
.lp-content__body strong { color: #fff; }

/* LearnDash completion button */
.lp-content__body .learndash-wrapper .ld-complete-button button,
.lp-content__body .learndash-wrapper input[type="submit"],
.lp-content__body .learndash-wrapper .btn-join {
  background: #E60341 !important;
  color: #fff !important;
  border: none !important;
  padding: 13px 32px !important;
  font-family: 'Heebo', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  border-radius: 4px !important;
  cursor: pointer !important;
  transition: background 0.25s !important;
}
.lp-content__body .learndash-wrapper .ld-complete-button button:hover,
.lp-content__body .learndash-wrapper input[type="submit"]:hover {
  background: #b8022f !important;
}
.lp-content__body .learndash-wrapper .ld-progress,
.lp-content__body .learndash-wrapper .ld-course-status-segment {
  background: rgba(255,255,255,0.04) !important;
  border-color: rgba(255,255,255,0.08) !important;
}

/* ── Sidebar — fixed overlay from the right ───────────────── */
.lp-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 300;
  width: 340px;
  background: #141414;
  border-left: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  /* Hidden by default — slides in when .is-open */
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.lp-sidebar.is-open {
  transform: translateX(0);
}
.lp-sidebar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  background: #141414;
  z-index: 1;
  flex-shrink: 0;
}
.lp-sidebar__title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
  padding-right: 12px;
}
.lp-sidebar__close {
  color: rgba(255,255,255,0.35);
  cursor: pointer;
  flex-shrink: 0;
  background: none;
  border: none;
  padding: 4px;
  transition: color 0.2s;
}
.lp-sidebar__close:hover { color: #fff; }

.lp-sidebar__progress {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  flex-shrink: 0;
}
.lp-sidebar__progress span {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  display: block;
  margin-bottom: 6px;
}
.lp-sidebar__progress-bar {
  height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
}
.lp-sidebar__progress-fill {
  height: 100%;
  background: #E60341;
  border-radius: 2px;
  transition: width 0.4s ease;
}

.lp-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  flex: 1;
  overflow-y: auto;
}
.lp-sitem { border-bottom: 1px solid rgba(255,255,255,0.04); }
.lp-sitem__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 20px;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  font-family: 'Heebo', sans-serif;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.lp-sitem__row:hover {
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.85);
}
.lp-sitem--active .lp-sitem__row {
  color: #fff;
  background: rgba(230,3,65,0.1);
}
.lp-sitem--done .lp-sitem__row { color: rgba(255,255,255,0.4); }
.lp-sitem--locked .lp-sitem__row { color: rgba(255,255,255,0.22); cursor: default; }
.lp-sitem__num {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.18);
  min-width: 20px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.lp-sitem--active .lp-sitem__num { color: #E60341; }
.lp-sitem__title { flex: 1; line-height: 1.4; }
.lp-sitem__icon { flex-shrink: 0; opacity: 0.45; }
.lp-sitem--done .lp-sitem__icon--done { opacity: 1; }
.lp-sitem--active .lp-sitem__icon--playing { opacity: 1; }
/* Arrow only visible on hover */
.lp-sitem__icon--arrow { opacity: 0; transition: opacity 0.15s; }
.lp-sitem__row:hover .lp-sitem__icon--arrow { opacity: 0.45; }

/* ── Backdrop (closes sidebar on click) ───────────────────── */
.lp-sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
}
.lp-sidebar-backdrop.is-visible { display: block; }

/* ── Mobile ───────────────────────────────────────────────── */
@media (max-width: 860px) {
  .lp-content__inner { padding: 28px 20px 72px; }
  .lp-sidebar { width: min(320px, 88vw); }
}
@media (max-width: 600px) {
  .lp-bar__logo { display: none; }
  .lp-bar__sidebar-toggle span { display: none; }
  .lp-bar__sidebar-toggle { padding: 8px 10px; }
  .lp-nav__btn { max-width: 44%; }
}

/* ============================================================
   COURSE CATALOG / ARCHIVE
   ============================================================ */

.catalog-page { padding-top: 72px; min-height: 100vh; }

.catalog-header { padding: 64px 0 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.catalog-header__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}
.catalog-header__sub { font-size: 16px; color: #999; max-width: 520px; line-height: 1.7; }

.catalog-search-bar {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.catalog-search-bar__inner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 12px 20px;
  transition: border-color 0.2s;
  max-width: 480px;
  color: rgba(255,255,255,0.4);
}
.catalog-search-bar__inner:focus-within {
  border-color: rgba(230,3,65,0.4);
  color: rgba(255,255,255,0.6);
}
.catalog-search-bar__input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: 'Heebo', sans-serif;
  font-size: 14px;
  color: #fff;
  min-width: 0;
}
.catalog-search-bar__input::placeholder { color: rgba(255,255,255,0.3); }

.catalog-filter {
  position: sticky;
  top: 72px;
  z-index: 100;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.catalog-filter__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}
.catalog-filter__inner::-webkit-scrollbar { display: none; }
.catalog-filter__tag {
  flex-shrink: 0;
  background: transparent;
  border: 1px solid transparent;
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 100px;
  cursor: pointer;
  font-family: 'Heebo', sans-serif;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}
.catalog-filter__tag:hover { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.15); }
.catalog-filter__tag.is-active { background: rgba(230,3,65,0.12); border-color: rgba(230,3,65,0.3); color: #E60341; }
.catalog-filter__count { font-size: 10px; opacity: 0.5; }

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  padding: 48px 0 100px;
}
.catalog-card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.catalog-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-3px); }
.catalog-card[data-hidden="true"] { display: none; }
.catalog-card__link { display: block; }
.catalog-card__media { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.catalog-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.catalog-card:hover .catalog-card__media img { transform: scale(1.04); }
.catalog-card__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.catalog-card:hover .catalog-card__overlay { background: rgba(0,0,0,0.35); }
.catalog-card__play {
  width: 48px; height: 48px;
  background: rgba(0,0,0,0.6);
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
  padding-left: 3px;
}
.catalog-card:hover .catalog-card__play { opacity: 1; transform: scale(1); }
.catalog-card__badge {
  position: absolute; top: 10px; left: 10px;
  background: rgba(10,10,10,0.8);
  color: #E60341;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
  backdrop-filter: blur(4px);
}
.catalog-card__body { padding: 20px; }
.catalog-card__title { font-size: 15px; font-weight: 600; line-height: 1.4; color: #fff; margin-bottom: 12px; }
.catalog-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.catalog-card__author { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #999; }
.catalog-card__author-avatar { width: 22px !important; height: 22px !important; border-radius: 50% !important; object-fit: cover; }
.catalog-card__lessons { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #666; }
.catalog-card__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.08); }
.catalog-card__price { font-size: 14px; font-weight: 700; color: #fff; }
.catalog-card__price--free { color: #8bd026; }
.catalog-card__cta { font-size: 12px; font-weight: 600; color: #E60341; letter-spacing: 0.05em; transition: letter-spacing 0.2s; }
.catalog-card:hover .catalog-card__cta { letter-spacing: 0.08em; }
.catalog-empty { grid-column: 1 / -1; color: rgba(255,255,255,0.35); font-size: 15px; padding: 40px 0; }

@media (max-width: 768px) {
  .catalog-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
}

/* ============================================================
   STUDENT DASHBOARD / MEUS CURSOS
   ============================================================ */

.dashboard { padding-top: 72px; min-height: 100vh; }

.dashboard-header { padding: 56px 0 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.dashboard-header__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.dashboard-header__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  margin-top: 8px;
}
.dashboard-header__stats { display: flex; gap: 32px; flex-shrink: 0; }
.dashboard-stat { text-align: center; }
.dashboard-stat__num { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 32px; font-weight: 700; line-height: 1; }
.dashboard-stat__label { display: block; font-size: 11px; color: #999; margin-top: 4px; letter-spacing: 0.04em; }

.dashboard-body { padding-top: 56px; padding-bottom: 100px; }
.dashboard-section { margin-bottom: 56px; }
.dashboard-section__title { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 700; margin-bottom: 24px; }
.dashboard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px; }

.dashboard-card {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}
.dashboard-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }
.dashboard-card__media { display: block; position: relative; aspect-ratio: 16/9; overflow: hidden; }
.dashboard-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.dashboard-card:hover .dashboard-card__media img { transform: scale(1.04); }
.dashboard-card__media-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.dashboard-card:hover .dashboard-card__media-overlay { background: rgba(0,0,0,0.35); }
.dashboard-card__play {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  border: 2px solid rgba(255,255,255,0.7);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  opacity: 0; transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
  padding-left: 3px;
}
.dashboard-card:hover .dashboard-card__play { opacity: 1; transform: scale(1); }
.dashboard-card__done-badge {
  position: absolute; top: 10px; right: 10px;
  display: flex; align-items: center; gap: 4px;
  background: rgba(10,10,10,0.8);
  color: #8bd026;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 2px;
}
.dashboard-card__body { padding: 18px 18px 16px; }
.dashboard-card__cat { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #E60341; margin-bottom: 6px; }
.dashboard-card__title { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 14px; }
.dashboard-card__title a { color: #fff; transition: color 0.2s; }
.dashboard-card__title a:hover { color: #E60341; }
.dashboard-card__progress { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.dashboard-card__progress-bar { flex: 1; height: 3px; background: rgba(255,255,255,0.1); border-radius: 2px; }
.dashboard-card__progress-fill { height: 100%; background: #E60341; border-radius: 2px; transition: width 0.4s; }
.dashboard-card__progress-pct { font-size: 11px; color: #999; min-width: 30px; text-align: right; }
.dashboard-card__footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(255,255,255,0.08); }
.dashboard-card__lessons { font-size: 11px; color: #666; }
.dashboard-card__action { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #E60341; transition: gap 0.2s; }
.dashboard-card:hover .dashboard-card__action { gap: 8px; }

.dashboard-empty { text-align: center; padding: 80px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.dashboard-empty svg { color: rgba(255,255,255,0.2); }
.dashboard-empty h2 { font-family: 'Playfair Display', Georgia, serif; font-size: 24px; font-weight: 700; max-width: 400px; }
.dashboard-empty p { color: #999; font-size: 15px; max-width: 360px; }

.dashboard-browse { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); }
.dashboard-browse__link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.5); transition: color 0.2s, gap 0.2s; }
.dashboard-browse__link:hover { color: #E60341; gap: 12px; }

@media (max-width: 768px) {
  .dashboard-header__inner { flex-direction: column; align-items: flex-start; }
  .dashboard-header__stats { gap: 20px; }
  .dashboard-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .dashboard-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PÁGINA PROFESSORES
   ============================================================ */
.professores-page {
  padding: 120px 0 80px;
}
.professores-page__header {
  margin-bottom: 56px;
}
.professores-page__header .section-subtitle {
  margin-top: 12px;
}
.professors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.professors-grid .instructor-card,
.professors-grid a.instructor-card {
  display: block;
  text-decoration: none;
  color: inherit;
}
@media (max-width: 768px) {
  .professors-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
}
@media (max-width: 480px) {
  .professors-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

/* ============================================================
   INSTRUCTOR PROFILE — archive page header
   ============================================================ */
.instructor-profile {
  padding: 120px 0 0;
  background: var(--bg-primary, #0a0a0a);
}
.instructor-profile__back {
  display: inline-block;
  color: var(--accent, #E60341);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: .05em;
  margin-bottom: 40px;
}
.instructor-profile__back:hover { opacity: .8; }
.instructor-profile__inner {
  display: flex;
  gap: 56px;
  align-items: flex-start;
}
.instructor-profile__photo-wrap {
  flex-shrink: 0;
  width: 220px;
  height: 280px;
  border-radius: var(--radius, 4px);
  overflow: hidden;
}
.instructor-profile__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.instructor-profile__info {
  padding-top: 8px;
}
.instructor-profile__name {
  font-family: var(--font-serif, 'Playfair Display', serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin: 8px 0 20px;
  line-height: 1.1;
}
.instructor-profile__bio {
  color: rgba(255,255,255,.65);
  font-size: 16px;
  line-height: 1.75;
  max-width: 560px;
}
.catalog-header--sub {
  padding-top: 56px;
  padding-bottom: 0;
}
@media (max-width: 768px) {
  .instructor-profile { padding-top: 100px; }
  .instructor-profile__inner { flex-direction: column; gap: 28px; }
  .instructor-profile__photo-wrap { width: 140px; height: 176px; }
}

/* ============================================================
   LOGIN DO ALUNO — page-login.php / shortcode [custom_login_aluno]
   ============================================================ */

/* Remove o padding duplo quando page.php envolve */
.page-content:has(.login-aluno-wrap) {
  padding: 0 !important;
}
.page-content:has(.login-aluno-wrap) .container {
  max-width: none !important;
  padding: 0 !important;
}

.login-aluno-wrap {
  padding: 120px 20px 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  width: 100%;
  box-sizing: border-box;
}

.login-aluno__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 840px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.login-aluno__form-col {
  background: var(--bg-card);
  padding: 48px 44px;
}

.login-aluno__title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 32px;
}

.login-aluno__error {
  background: rgba(230,3,65,0.12);
  border: 1px solid rgba(230,3,65,0.35);
  color: #ff4d75;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 13px;
  margin-bottom: 24px;
}

.login-aluno__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-aluno__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-aluno__field label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.3px;
}

.login-aluno__field input {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 12px 14px;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s;
  outline: none;
}

.login-aluno__field input:focus {
  border-color: var(--accent);
}

.login-aluno__pass-wrap {
  position: relative;
}

.login-aluno__pass-wrap input {
  padding-right: 44px;
}

.login-aluno__eye {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.35);
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.login-aluno__eye:hover,
.login-aluno__eye.is-visible {
  color: var(--accent);
}

.login-aluno__lost {
  font-size: 13px;
  color: var(--accent);
  text-decoration: none;
  margin-top: -8px;
  align-self: flex-start;
}

.login-aluno__lost:hover { text-decoration: underline; }

.login-aluno__remember {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.login-aluno__remember input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}

.login-aluno__remember span {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

.login-aluno__submit {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  margin-top: 4px;
}

.login-aluno__register-col {
  background: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 48px 44px;
  border-left: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.login-aluno__register-col p {
  font-size: 16px;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-serif);
  line-height: 1.5;
  margin: 0;
}

.login-aluno__register-col .btn {
  padding: 14px 32px;
  font-size: 14px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .login-aluno__card { grid-template-columns: 1fr; }
  .login-aluno__form-col { padding: 36px 24px; }
  .login-aluno__register-col { border-left: none; border-top: 1px solid rgba(255,255,255,0.06); padding: 32px 24px; }
}

/* ============================================================
   CADASTRO DE ALUNO — /cadastro-de-aluno/ (WooCommerce register)
   ============================================================ */
body.page-template-default .woocommerce-form-register,
body.page-template-default .woocommerce-register,
.cadastro-aluno-wrap .woocommerce {
  max-width: 500px;
  margin: 0 auto;
}

.page-cadastro-wrap {
  padding: 120px 20px 80px;
  min-height: 80vh;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-cadastro-wrap .woocommerce,
.page-cadastro-wrap .woocommerce-notices-wrapper { width: 100%; max-width: 520px; }

/* Card wrapper */
.woocommerce-form-register,
.woocommerce-form.woocommerce-form-register {
  background: var(--bg-card) !important;
  border: 1px solid var(--border) !important;
  border-radius: 6px !important;
  padding: 48px 44px !important;
  box-shadow: none !important;
}

/* Title */
.woocommerce-form-register h2,
.woocommerce-form-register .woocommerce-form__label--checkbox,
.woocommerce-myaccount-register h2 {
  font-family: var(--font-serif) !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin-bottom: 28px !important;
}

/* Labels */
.woocommerce-form-register label,
.woocommerce-form-register .woocommerce-form__label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: rgba(255,255,255,0.65) !important;
  letter-spacing: 0.3px !important;
}

/* Inputs */
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="password"] {
  background: rgba(255,255,255,0.05) !important;
  border: 1px solid rgba(255,255,255,0.12) !important;
  border-radius: var(--radius) !important;
  color: #fff !important;
  font-family: var(--font-sans) !important;
  font-size: 14px !important;
  padding: 12px 14px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: border-color 0.2s !important;
}

.woocommerce-form-register input:focus {
  border-color: var(--accent) !important;
}

/* Submit button */
.woocommerce-form-register button[type="submit"],
.woocommerce-form-register input[type="submit"] {
  background: var(--accent) !important;
  color: #000 !important;
  font-family: var(--font-sans) !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.5px !important;
  border: none !important;
  border-radius: var(--radius) !important;
  padding: 14px 28px !important;
  width: 100% !important;
  cursor: pointer !important;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s !important;
}

.woocommerce-form-register button[type="submit"]:hover,
.woocommerce-form-register input[type="submit"]:hover {
  background: #ff1a55 !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 24px rgba(230,3,65,0.35) !important;
}

/* Privacy / checkbox text */
.woocommerce-form-register .woocommerce-privacy-policy-text,
.woocommerce-form-register .woocommerce-form__label-for-checkbox span {
  color: rgba(255,255,255,0.5) !important;
  font-size: 12px !important;
}

.woocommerce-form-register .woocommerce-privacy-policy-text a {
  color: var(--accent) !important;
}

/* Error / notice messages */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
  background: rgba(255,255,255,0.04) !important;
  border-top: 3px solid var(--accent) !important;
  color: rgba(255,255,255,0.8) !important;
  border-radius: var(--radius) !important;
}

/* "Já tem conta?" back link on cadastro page */
.cadastro-login-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.cadastro-login-link a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.cadastro-login-link a:hover { text-decoration: underline; }
