@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Montserrat:ital,wght@0,700;0,800;0,900;1,700;1,800;1,900&display=swap');

:root {
  --purple-main: #6A00FF;
  --purple-vibrant: #B900FF;
  --pink-accent: #FF2D7A;
  --bg-dark: #0B0B12;
  --bg-card: #12121F;
  --bg-card-hover: #18182B;
  --bg-surface: #161526;
  --text-light: #F9F9FC;
  --text-muted: #A3A1B8;
  --border-subtle: rgba(185, 0, 255, 0.22);
  --border-card: rgba(255, 255, 255, 0.08);
  --success: #00E676;
  --warning: #FFB300;
  --danger: #FF3366;
  --font-display: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(106, 0, 255, 0.28) 0%, transparent 45%),
    radial-gradient(circle at 85% 20%, rgba(185, 0, 255, 0.22) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(255, 45, 122, 0.12) 0%, transparent 50%);
}

/* Textura pontilhada (Halftone do Brandboard) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(185, 0, 255, 0.14) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at top right, rgba(0,0,0,0.85) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at top right, rgba(0,0,0,0.85) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Top Notice Bar */
.top-notice {
  background: linear-gradient(90deg, var(--purple-main) 0%, var(--purple-vibrant) 50%, var(--pink-accent) 100%);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 10;
  box-shadow: 0 4px 20px rgba(185, 0, 255, 0.35);
}

/* Header / Navbar */
.site-header {
  border-bottom: 1px solid rgba(185, 0, 255, 0.18);
  background: rgba(11, 11, 18, 0.82);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
  flex-wrap: wrap;
}

/* Logotipo Oficial Desafio Viralizaí 10K */
.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-light);
  position: relative;
  user-select: none;
}

.brand-logo-box {
  position: relative;
  padding: 8px 18px 10px 16px;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Viewfinder brackets do logo */
.brand-logo-box::before,
.brand-logo-box::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 22px;
  border-color: var(--purple-vibrant);
  border-style: solid;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(185, 0, 255, 0.7));
}

.brand-logo-box::before {
  top: 2px;
  left: 0;
  border-width: 3px 0 0 3px;
  border-top-left-radius: 6px;
}

.brand-logo-box::after {
  bottom: 2px;
  right: 0;
  border-width: 0 3px 3px 0;
  border-bottom-right-radius: 6px;
}

.logo-top-row {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: space-between;
  margin-bottom: -4px;
}

.logo-desafio {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  color: var(--text-light);
  text-transform: uppercase;
}

.logo-10k-pill {
  background: linear-gradient(135deg, var(--purple-vibrant), var(--pink-accent));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.72rem;
  padding: 2px 9px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 0 14px rgba(255, 45, 122, 0.65);
  position: relative;
}

.logo-10k-pill svg {
  width: 13px;
  height: 13px;
}

.logo-viralizai {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.65rem;
  letter-spacing: -0.5px;
  line-height: 1;
  color: var(--text-light);
  text-shadow: 0 2px 15px rgba(185, 0, 255, 0.35);
}

.logo-viralizai span {
  background: linear-gradient(135deg, var(--purple-vibrant) 0%, var(--pink-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.brasilia-clock-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 21, 38, 0.9);
  border: 1px solid rgba(185, 0, 255, 0.28);
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.brasilia-clock-pill strong {
  color: var(--text-light);
  font-variant-numeric: tabular-nums;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink-accent);
  box-shadow: 0 0 10px var(--pink-accent);
  animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.65; }
}

/* Hero Banner (Estilo Brandboard) */
.hero-banner {
  padding: 28px 0 22px;
  position: relative;
}

.hero-card {
  background:
    radial-gradient(circle at 85% 50%, rgba(185, 0, 255, 0.28) 0%, transparent 55%),
    linear-gradient(135deg, rgba(22, 18, 42, 0.95) 0%, rgba(11, 11, 18, 0.96) 100%);
  border: 1px solid rgba(185, 0, 255, 0.32);
  border-radius: 20px;
  padding: 26px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55), inset 0 0 32px rgba(106, 0, 255, 0.12);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255, 45, 122, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-left {
  max-width: 650px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(106, 0, 255, 0.2);
  border: 1px solid rgba(185, 0, 255, 0.4);
  color: #E5B8FF;
  padding: 5px 12px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.35rem, 2.5vw, 1.95rem);
  line-height: 1.25;
  color: var(--text-light);
  margin-bottom: 18px;
}

.hero-highlight {
  display: inline-block;
  background: linear-gradient(90deg, var(--purple-main), var(--purple-vibrant), var(--pink-accent));
  padding: 2px 12px;
  border-radius: 8px;
  color: #fff;
  box-shadow: 0 4px 18px rgba(185, 0, 255, 0.5);
  margin: 0 3px;
}

/* Selos e Destaques do Brandboard */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.seal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 14, 26, 0.85);
  border: 1px solid rgba(185, 0, 255, 0.35);
  padding: 8px 14px;
  border-radius: 11px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.seal-badge svg {
  width: 17px;
  height: 17px;
  color: var(--purple-vibrant);
  flex-shrink: 0;
}

/* Componente Progresso do Desafio (Idêntico ao Brandboard) */
.progress-widget {
  background: rgba(13, 12, 23, 0.92);
  border: 1px solid rgba(185, 0, 255, 0.32);
  border-radius: 16px;
  padding: 18px 22px;
  min-width: 290px;
  flex: 1;
  max-width: 360px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.progress-widget-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 4px;
}

.progress-widget-sub {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.progress-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-track {
  flex: 1;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
  position: relative;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--purple-main) 0%, var(--purple-vibrant) 65%, var(--pink-accent) 100%);
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(185, 0, 255, 0.8);
}

.progress-percent {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-light);
  min-width: 42px;
  text-align: right;
}

/* Layout Principal: Player + Lista de Aulas */
.classroom-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 26px;
  padding-bottom: 64px;
  align-items: start;
}

@media (max-width: 1060px) {
  .classroom-grid {
    grid-template-columns: 1fr;
  }
  .progress-widget {
    max-width: 100%;
  }
}

/* Área do Player de Vídeo */
.player-card {
  background: var(--bg-card);
  border: 1px solid rgba(185, 0, 255, 0.25);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Abas dos 2 Vídeos do Dia (Acima do Player) */
.day-video-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 14px 16px;
  background: rgba(11, 11, 18, 0.9);
  border-bottom: 1px solid rgba(185, 0, 255, 0.24);
}

.day-video-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(22, 21, 38, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-body);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  min-width: 0;
}

.day-video-tab-btn:hover {
  border-color: rgba(185, 0, 255, 0.5);
  color: var(--text-light);
}

.day-video-tab-btn.active {
  background: linear-gradient(135deg, rgba(106, 0, 255, 0.38) 0%, rgba(185, 0, 255, 0.22) 100%);
  border-color: var(--purple-vibrant);
  color: #fff;
  box-shadow: 0 4px 18px rgba(185, 0, 255, 0.35);
}

.day-video-tab-btn.watched:not(.active) {
  border-color: rgba(0, 230, 118, 0.38);
  color: #B4FFE0;
}

.day-video-tab-num {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.76rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  flex-shrink: 0;
}

.day-video-tab-btn.active .day-video-tab-num {
  background: linear-gradient(135deg, var(--purple-main), var(--pink-accent));
  color: #fff;
}

.day-video-tab-btn.watched .day-video-tab-num {
  background: rgba(0, 230, 118, 0.2);
  color: #00E676;
}

.day-video-tab-info {
  flex: 1;
  min-width: 0;
}

.day-video-tab-kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #D29BFF;
}

.day-video-tab-btn.watched .day-video-tab-kicker {
  color: #52FF9E;
}

.day-video-tab-title {
  display: block;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 640px) {
  .day-video-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px;
  }
  .day-video-tab-btn {
    padding: 9px 10px;
    gap: 8px;
  }
  .day-video-tab-num {
    width: 26px;
    height: 26px;
    font-size: 0.7rem;
  }
  .day-video-tab-title {
    font-size: 0.76rem;
  }
}

.video-stage {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #07070C;
  overflow: hidden;
}

.video-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tela de Aula Bloqueada (Caso o aluno tente ver aula não liberada) */
.locked-stage-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 35%, rgba(106, 0, 255, 0.32), rgba(11, 11, 18, 0.96) 75%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 28px;
  z-index: 5;
}

.locked-padlock-circle {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(106, 0, 255, 0.25), rgba(255, 45, 122, 0.25));
  border: 2px solid var(--purple-vibrant);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 30px rgba(185, 0, 255, 0.45);
  color: #fff;
}

.locked-padlock-circle svg {
  width: 34px;
  height: 34px;
}

.locked-stage-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: #fff;
}

.locked-stage-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 460px;
  margin-bottom: 20px;
}

.countdown-boxes {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.countdown-box {
  background: rgba(18, 18, 31, 0.9);
  border: 1px solid rgba(185, 0, 255, 0.45);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 68px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.countdown-box strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
}

.countdown-box span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

/* Detalhes da Aula Abaixo do Player */
.lesson-details {
  padding: 26px 28px 30px;
}

.lesson-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.lesson-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(185, 0, 255, 0.16);
  border: 1px solid rgba(185, 0, 255, 0.4);
  color: #E8C2FF;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.76rem;
  padding: 5px 12px;
  border-radius: 999px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.lesson-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

.lesson-status-tag.unlocked {
  background: rgba(0, 230, 118, 0.12);
  border: 1px solid rgba(0, 230, 118, 0.35);
  color: #52FF9E;
}

.lesson-status-tag.locked {
  background: rgba(255, 45, 122, 0.15);
  border: 1px solid rgba(255, 45, 122, 0.4);
  color: #FF7AA8;
}

.lesson-title-main {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  line-height: 1.3;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* Botões de Ação do Brandboard (Assistir Aula / Concluir Missão + Download do Material) */
.lesson-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-card);
}

.btn-primary-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(90deg, var(--purple-main) 0%, var(--purple-vibrant) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(106, 0, 255, 0.45);
  transition: all 0.22s ease;
}

.btn-primary-brand:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(185, 0, 255, 0.65);
  filter: brightness(1.08);
}

.btn-primary-brand.completed {
  background: linear-gradient(90deg, #059669 0%, #10B981 100%);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.35);
}

.btn-secondary-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(22, 21, 38, 0.95);
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid rgba(185, 0, 255, 0.4);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s ease;
}

.btn-secondary-brand:hover {
  background: rgba(106, 0, 255, 0.2);
  border-color: var(--purple-vibrant);
  transform: translateY(-2px);
}

.lesson-description-box {
  color: #D5D3E6;
  font-size: 0.98rem;
  line-height: 1.7;
  white-space: pre-line;
  background: rgba(11, 11, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 20px 22px;
}

/* Sidebar: Cronograma de Aulas / Missões */
.lessons-sidebar {
  background: var(--bg-card);
  border: 1px solid rgba(185, 0, 255, 0.25);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5);
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-card);
}

.sidebar-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-count {
  font-size: 0.78rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
}

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

/* Card de Cada Aula na Lista */
.lesson-item {
  position: relative;
  background: rgba(14, 14, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 15px 16px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: all 0.22s ease;
  text-align: left;
  width: 100%;
  color: var(--text-light);
}

.lesson-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(185, 0, 255, 0.45);
  transform: translateY(-1px);
}

.lesson-item.active {
  background: linear-gradient(135deg, rgba(106, 0, 255, 0.24) 0%, rgba(185, 0, 255, 0.12) 100%);
  border-color: var(--purple-vibrant);
  box-shadow: 0 0 24px rgba(185, 0, 255, 0.25);
}

.lesson-item.is-locked {
  opacity: 0.78;
  background: rgba(11, 11, 18, 0.75);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
}

.lesson-item.is-locked:hover {
  border-color: rgba(255, 45, 122, 0.45);
}

.lesson-icon-circle {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 800;
  margin-top: 2px;
}

.lesson-item.is-unlocked .lesson-icon-circle {
  background: linear-gradient(135deg, var(--purple-main), var(--purple-vibrant));
  color: #fff;
  box-shadow: 0 4px 14px rgba(106, 0, 255, 0.45);
}

.lesson-item.is-completed .lesson-icon-circle {
  background: rgba(0, 230, 118, 0.18);
  border: 1px solid #00E676;
  color: #00E676;
  box-shadow: none;
}

.lesson-item.is-locked .lesson-icon-circle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 45, 122, 0.35);
  color: var(--pink-accent);
}

.lesson-item-content {
  flex: 1;
  min-width: 0;
}

.lesson-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}

.lesson-item-badge {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: #D29BFF;
}

.lesson-item.is-locked .lesson-item-badge {
  color: var(--text-muted);
}

.lesson-item-duration {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.lesson-item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--text-light);
  margin-bottom: 8px;
}

.lesson-item-release {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  padding: 4px 9px;
  border-radius: 6px;
  font-weight: 600;
}

.lesson-item.is-unlocked .lesson-item-release {
  background: rgba(0, 230, 118, 0.1);
  color: #52FF9E;
}

.lesson-item.is-locked .lesson-item-release {
  background: rgba(255, 45, 122, 0.12);
  color: #FF85B3;
  border: 1px solid rgba(255, 45, 122, 0.25);
}

/* =========================================================
   MÓDULOS EXPANSÍVEIS (ACCORDION DE DIAS + SUB-VÍDEOS)
   ========================================================= */
.day-module-block {
  border-radius: 14px;
  background: rgba(14, 14, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: all 0.22s ease;
}

.day-module-block:hover {
  border-color: rgba(185, 0, 255, 0.42);
}

.day-module-block.active-module {
  border-color: var(--purple-vibrant);
  box-shadow: 0 0 24px rgba(185, 0, 255, 0.22);
}

.day-module-block.is-locked {
  opacity: 0.78;
  background: rgba(11, 11, 18, 0.75);
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.14);
}

.day-module-block .lesson-item {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.day-module-block.active-module .lesson-item {
  background: linear-gradient(135deg, rgba(106, 0, 255, 0.24) 0%, rgba(185, 0, 255, 0.1) 100%);
}

.module-chevron {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 6px;
  transition: transform 0.25s ease, background 0.2s, color 0.2s;
}

.day-module-block.is-expanded .module-chevron {
  transform: rotate(180deg);
  background: rgba(185, 0, 255, 0.22);
  color: #fff;
}

.day-module-body {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px 12px;
  background: rgba(8, 8, 15, 0.85);
  border-top: 1px solid rgba(185, 0, 255, 0.18);
}

.day-module-block.is-expanded .day-module-body {
  display: flex;
}

.module-video-subitem {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  background: rgba(20, 19, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  color: var(--text-light);
  text-align: left;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.18s ease;
}

.module-video-subitem:hover {
  background: rgba(106, 0, 255, 0.18);
  border-color: rgba(185, 0, 255, 0.45);
}

.module-video-subitem.active-video {
  background: linear-gradient(90deg, rgba(106, 0, 255, 0.36) 0%, rgba(185, 0, 255, 0.2) 100%);
  border-color: var(--purple-vibrant);
  box-shadow: 0 4px 15px rgba(106, 0, 255, 0.3);
}

.module-video-subitem.watched-video:not(.active-video) {
  border-color: rgba(0, 230, 118, 0.32);
}

.subitem-play-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.74rem;
  flex-shrink: 0;
}

.module-video-subitem.active-video .subitem-play-badge {
  background: linear-gradient(135deg, var(--purple-main), var(--pink-accent));
  color: #fff;
}

.module-video-subitem.watched-video .subitem-play-badge {
  background: rgba(0, 230, 118, 0.18);
  color: #00E676;
}

.subitem-text-col {
  flex: 1;
  min-width: 0;
}

.subitem-kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.67rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #D29BFF;
  margin-bottom: 1px;
}

.module-video-subitem.watched-video .subitem-kicker {
  color: #52FF9E;
}

.subitem-title {
  display: block;
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--text-light);
  line-height: 1.3;
}

/* Card de Oferta / CTA Especial na Sidebar */
.offer-banner-card {
  margin-top: 20px;
  background: linear-gradient(135deg, rgba(106, 0, 255, 0.28) 0%, rgba(255, 45, 122, 0.22) 100%);
  border: 1px solid var(--pink-accent);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(255, 45, 122, 0.2);
}

.offer-banner-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.offer-banner-card p {
  font-size: 0.85rem;
  color: #E2E0F0;
  margin-bottom: 14px;
}

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
}

.toast-msg {
  background: #17162B;
  border: 1px solid var(--purple-vibrant);
  border-left: 4px solid var(--pink-accent);
  color: #fff;
  padding: 14px 18px;
  border-radius: 12px;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.65);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideInRight 0.25s ease;
}

@keyframes slideInRight {
  from { transform: translateX(40px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Rodapé */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 28px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.83rem;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--purple-vibrant);
}

/* =========================================================
   BARRA RÁPIDA DE AULAS (MOBILE / TABLET)
   ========================================================= */
.mobile-lessons-strip-wrap {
  display: none;
  margin-bottom: 16px;
}

.mobile-strip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding: 0 2px;
}

.mobile-strip-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #D9B8FF;
}

.mobile-strip-jump {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--purple-vibrant);
  text-decoration: none;
}

.mobile-lessons-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.mobile-lessons-strip::-webkit-scrollbar {
  display: none;
}

.mobile-lesson-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  background: rgba(18, 18, 31, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 9px 14px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.mobile-lesson-pill.active {
  background: linear-gradient(90deg, var(--purple-main), var(--purple-vibrant));
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  box-shadow: 0 4px 16px rgba(185, 0, 255, 0.55);
}

.mobile-lesson-pill.is-completed:not(.active) {
  border-color: rgba(0, 230, 118, 0.45);
  color: #52FF9E;
  background: rgba(0, 230, 118, 0.1);
}

.mobile-lesson-pill.is-locked {
  opacity: 0.72;
  border-style: dashed;
  border-color: rgba(255, 45, 122, 0.35);
  color: var(--text-muted);
}

/* =========================================================
   OTIMIZAÇÃO RESPONSIVA E MOBILE (CELULARES E TABLETS)
   ========================================================= */
@media (max-width: 1060px) {
  .mobile-lessons-strip-wrap {
    display: block;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }

  .top-notice {
    font-size: 0.78rem;
    padding: 8px 12px;
    line-height: 1.35;
  }

  /* Header compacto no celular */
  .header-inner {
    padding: 10px 0;
    gap: 10px;
  }

  .brand-logo-box {
    padding: 5px 12px 6px 12px;
  }

  .brand-logo-box::before,
  .brand-logo-box::after {
    width: 12px;
    height: 16px;
    border-width: 2.5px;
  }

  .logo-desafio {
    font-size: 0.65rem;
    letter-spacing: 1.8px;
  }

  .logo-10k-pill {
    font-size: 0.64rem;
    padding: 1px 7px;
  }

  .logo-viralizai {
    font-size: 1.32rem;
  }

  .header-right {
    gap: 8px;
  }

  .brasilia-clock-pill {
    padding: 5px 10px;
    font-size: 0.73rem;
    gap: 6px;
  }

  /* Hero enxuto no celular para o vídeo aparecer rápido */
  .hero-banner {
    padding: 14px 0 12px;
  }

  .hero-card {
    padding: 18px 16px;
    border-radius: 16px;
    gap: 16px;
  }

  .hero-eyebrow {
    font-size: 0.68rem;
    padding: 4px 10px;
    margin-bottom: 8px;
  }

  .hero-headline {
    font-size: 1.18rem;
    line-height: 1.32;
    margin-bottom: 14px;
  }

  .hero-highlight {
    padding: 1px 8px;
    border-radius: 6px;
  }

  /* Selos em grade 2x2 perfeita no mobile */
  .hero-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
  }

  .seal-badge {
    padding: 7px 10px;
    font-size: 0.75rem;
    border-radius: 9px;
    justify-content: flex-start;
  }

  .seal-badge svg {
    width: 15px;
    height: 15px;
  }

  /* Barra de Progresso compacta no mobile */
  .progress-widget {
    min-width: 100%;
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
  }

  .progress-widget-title {
    font-size: 0.88rem;
  }

  .progress-widget-sub {
    font-size: 0.78rem;
    margin-bottom: 8px;
  }

  /* Card do Player e Detalhes da Aula */
  .classroom-grid {
    gap: 20px;
    padding-bottom: 44px;
  }

  .player-card {
    border-radius: 16px;
  }

  .lesson-details {
    padding: 18px 16px 22px;
  }

  .lesson-meta-bar {
    gap: 8px;
    margin-bottom: 10px;
  }

  .lesson-badge-pill,
  .lesson-status-tag {
    font-size: 0.72rem;
    padding: 4px 10px;
  }

  .lesson-title-main {
    font-size: 1.15rem;
    margin-bottom: 16px;
  }

  /* Botões grandes 100% largura para fácil toque com o polegar */
  .lesson-actions-row {
    flex-direction: column;
    gap: 10px;
    padding-bottom: 18px;
    margin-bottom: 18px;
  }

  .lesson-actions-row .btn-primary-brand,
  .lesson-actions-row .btn-secondary-brand {
    width: 100%;
    padding: 14px 18px;
    font-size: 0.9rem;
  }

  .lesson-description-box {
    padding: 15px 14px;
    font-size: 0.9rem;
    line-height: 1.62;
    border-radius: 12px;
  }

  /* Tela de Bloqueio / Cadeado dentro do Player 16:9 no celular */
  .locked-stage-overlay {
    padding: 14px 12px;
  }

  .locked-padlock-circle {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
  }

  .locked-padlock-circle svg {
    width: 22px;
    height: 22px;
  }

  .locked-stage-title {
    font-size: 1rem;
    margin-bottom: 4px;
  }

  .locked-stage-sub {
    font-size: 0.78rem;
    margin-bottom: 10px;
    line-height: 1.35;
  }

  .countdown-boxes {
    gap: 6px;
  }

  .countdown-box {
    min-width: 54px;
    padding: 6px 8px;
    border-radius: 9px;
  }

  .countdown-box strong {
    font-size: 1.02rem;
  }

  .countdown-box span {
    font-size: 0.62rem;
  }

  /* Cronograma de Aulas Mobile */
  .lessons-sidebar {
    padding: 16px 14px;
    border-radius: 16px;
  }

  .lesson-item {
    padding: 13px 12px;
    gap: 11px;
    border-radius: 12px;
  }

  .lesson-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  .lesson-item-title {
    font-size: 0.88rem;
    margin-bottom: 6px;
  }

  .lesson-item-release {
    font-size: 0.71rem;
    padding: 4px 8px;
    line-height: 1.3;
    display: inline-block;
  }

  /* Toast centralizado na base da tela do celular */
  .toast-container {
    left: 14px;
    right: 14px;
    bottom: 16px;
    max-width: none;
  }

  .toast-msg {
    font-size: 0.83rem;
    padding: 12px 14px;
  }
}

@media (max-width: 420px) {
  .header-inner {
    justify-content: space-between;
  }

  .brasilia-clock-pill span:last-child {
    font-size: 0.7rem;
  }

  .hero-badges {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .seal-badge {
    font-size: 0.7rem;
    padding: 6px 8px;
    gap: 5px;
  }
}

