/* GSD Educação — design system
   Fundo dark, tipografia direta, zero enfeite. Ver identidade/design-guide.md */

:root {
  --bg: #2A2A24;
  --bg-alt: #1A1A1A;
  --text: #E8E4D9;
  --text-dim: #8A8A82;
  --text-muted: #C9C6B8;
  --accent: #4ADE80;
  --white: #FFFFFF;
  --border: rgba(255, 255, 255, 0.12);
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-w: 1080px;
}

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

/* Garante que o atributo hidden sempre esconda, mesmo em elementos cuja
   classe já define display (ex: .btn, .modulo-hero) — sem isso o CSS de
   autor vence a regra nativa do [hidden] e o elemento continua visível. */
[hidden] { display: none !important; }

* { scrollbar-width: thin; scrollbar-color: rgba(232, 228, 217, 0.25) transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(232, 228, 217, 0.18); border-radius: 8px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(232, 228, 217, 0.3); }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: max(24px, env(safe-area-inset-left));
  padding-right: max(24px, env(safe-area-inset-right));
}
@media (min-width: 480px) {
  .container {
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
  }
}
@media (min-width: 768px) {
  .container { padding-left: 40px; padding-right: 40px; }
}

/* ---- Tipografia ---- */

h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.eyebrow {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.rule {
  width: 64px;
  height: 4px;
  background: var(--accent);
  margin: 24px 0;
  border: none;
}

/* ---- Header ---- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.logo-mark {
  width: 12px;
  height: 12px;
  background: var(--text);
  transform: rotate(20deg);
  display: inline-block;
  flex-shrink: 0;
}

.header-tag {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ---- Botões ---- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 20px 32px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.12s ease;
  width: 100%;
}
@media (min-width: 560px) {
  .btn { width: auto; }
}

.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: #12210E;
}
.btn-primary:hover { opacity: 0.9; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-ghost {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn-ghost:hover { color: var(--text); border-color: var(--text-dim); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn:disabled { opacity: 0.35; cursor: not-allowed; }
.btn:disabled:hover { border-color: var(--border); color: inherit; }

/* ---- Hero ---- */

.hero {
  padding-top: 48px;
  padding-bottom: 64px;
  text-align: left;
}

.hero h1 {
  font-size: clamp(30px, 8vw, 60px);
  line-height: 1.12;
  margin: 24px 0 20px;
}

.hero .sub {
  font-size: clamp(16px, 2.4vw, 20px);
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 40px;
}

.hero .proof {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-dim);
}
.hero .proof b { color: var(--accent); font-weight: 700; }

/* ---- Features (o que você recebe) ---- */

.features {
  padding-top: 32px;
  padding-bottom: 64px;
}

.features h2 {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 32px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}

.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px 24px;
}
@media (min-width: 480px) {
  .feature-card { padding: 32px 28px; }
}

.feature-icon {
  width: 44px;
  height: 44px;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* ---- CTA final section ---- */

.cta-final {
  padding-top: 24px;
  padding-bottom: 80px;
  text-align: center;
}

/* ---- Footer ---- */

.site-footer {
  border-top: 1px solid var(--border);
  padding-top: 32px;
  padding-bottom: 32px;
  text-align: center;
}

.site-footer p {
  font-size: 13px;
  color: var(--text-dim);
}

/* =======================================================
   PESQUISA — quiz passo a passo
   ======================================================= */

.quiz-wrap {
  padding-top: 40px;
  padding-bottom: 80px;
  max-width: 640px;
}

.quiz-header {
  margin-bottom: 32px;
}

.quiz-header h1 {
  font-size: clamp(26px, 5vw, 36px);
  margin: 16px 0 8px;
}

.quiz-header .sub {
  color: var(--text-muted);
  font-size: 16px;
}

.quiz-progress {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 12px;
}

.quiz-progress-bar {
  height: 100%;
  width: 12.5%;
  background: var(--accent);
  transition: width 0.25s ease;
}

.quiz-step-label {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 32px;
}

.quiz-question {
  display: none;
}
.quiz-question.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-question h2 {
  font-size: clamp(22px, 4vw, 28px);
  margin-bottom: 24px;
  line-height: 1.25;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quiz-option {
  display: block;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px 20px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  font-size: 16px;
  font-weight: 500;
}

.quiz-option:hover { border-color: var(--text-dim); }

.quiz-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quiz-option.selected {
  border-color: var(--accent);
  background: rgba(74, 222, 128, 0.08);
  color: var(--accent);
  font-weight: 700;
}

.quiz-question textarea {
  width: 100%;
  min-height: 140px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 18px 20px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  resize: vertical;
}
.quiz-question textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.quiz-field {
  margin-bottom: 20px;
}
.quiz-field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.quiz-field input {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 16px 18px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
}
.quiz-field input:focus {
  outline: none;
  border-color: var(--accent);
}

.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
}

.quiz-nav .btn { width: auto; flex-shrink: 0; }

/* =======================================================
   BÔNUS
   ======================================================= */

.bonus-hero {
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: left;
}
.bonus-hero h1 {
  font-size: clamp(28px, 7vw, 46px);
  line-height: 1.15;
  margin: 16px 0 12px;
}
.bonus-hero .sub {
  color: var(--text-muted);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.6;
}

.section {
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid var(--border);
}

.section-head {
  margin-bottom: 28px;
}
.section-head h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin: 14px 0 10px;
}
.section-head p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Download */

.download-box {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
}
@media (min-width: 480px) {
  .download-box { padding: 28px; }
}
@media (min-width: 640px) {
  .download-box { flex-direction: row; align-items: center; justify-content: space-between; }
}
.download-box p { color: var(--text-muted); font-size: 15px; max-width: 480px; }

/* Chats prontos */

.chats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .chats-grid { grid-template-columns: repeat(3, 1fr); }
}

.chat-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.chat-card .feature-icon { width: 32px; height: 32px; margin-bottom: 14px; }

.chat-card h3 {
  font-size: 17px;
  margin-bottom: 6px;
}

.chat-card .chat-tag {
  font-size: 12px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin-bottom: 14px;
}

.chat-prompt {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  flex-grow: 1;
  margin-bottom: 16px;
  max-height: 220px;
  overflow-y: auto;
}

.copy-btn {
  align-self: flex-start;
}
.copy-btn.copied {
  border-color: var(--accent);
  color: var(--accent);
}

/* Aula em vídeo */

.video-placeholder {
  aspect-ratio: 16 / 9;
  border: 2px dashed var(--border);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: var(--bg-alt);
}
.video-placeholder .feature-icon {
  width: 56px;
  height: 56px;
  color: var(--text-dim);
  margin: 0;
}
.video-placeholder span {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.video-embed {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.video-embed iframe { width: 100%; height: 100%; border: none; }

/* Vá além */

.beyond-card {
  background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%);
  border: 1px solid rgba(74, 222, 128, 0.35);
  border-radius: 4px;
  padding: 36px 28px;
  text-align: center;
}

.beyond-card .feature-icon {
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin: 0 auto 20px;
}

.beyond-card h2 {
  font-size: clamp(22px, 4vw, 30px);
  margin-bottom: 12px;
}

.beyond-card p {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 480px;
  margin: 0 auto 20px;
}

.beyond-card .reassurance {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 420px;
  margin: 14px auto 0;
}

/* Toast simples */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--accent);
  color: #12210E;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 22px;
  border-radius: 4px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =======================================================
   LINKS — página de links (bio do Instagram)
   ======================================================= */

.links-page {
  max-width: 420px;
  margin: 0 auto;
  padding-top: 48px;
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar {
  width: 84px;
  height: 84px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.avatar .logo-mark { width: 12px; height: 12px; }

.avatar-wordmark {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.links-page .name {
  font-size: 22px;
  margin: 0;
}

.links-page .handle {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-dim);
}
.links-page .handle a:hover { color: var(--accent); }

.links-page .tagline {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-muted);
  max-width: 340px;
  line-height: 1.55;
}

.links {
  width: 100%;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: border-color 0.15s ease, transform 0.12s ease, background 0.15s ease;
}
.link-btn:hover { border-color: var(--accent); transform: translateY(-1px); }
.link-btn:active { transform: scale(0.98); }

.link-btn.featured {
  background: var(--accent);
  border-color: var(--accent);
  color: #12210E;
}
.link-btn.featured:hover { opacity: 0.92; border-color: var(--accent); }
.link-btn.featured .link-icon { color: #12210E; }
.link-btn.featured .link-sub { color: rgba(18, 33, 14, 0.7); }

.link-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
}

.link-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
}

.link-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
}

.link-sub {
  font-size: 12.5px;
  color: var(--text-dim);
}

.socials {
  margin-top: 32px;
  display: flex;
  gap: 20px;
}

.social-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.social-btn:hover { color: var(--accent); border-color: var(--accent); }
.social-btn svg { width: 20px; height: 20px; }

/* =======================================================
   CADASTRO / LOGIN (index.html)
   ======================================================= */

.signup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  padding-bottom: 8px;
  position: relative;
  z-index: 2;
}

.lp-header-link {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-dim);
}
.lp-header-link:hover { color: var(--accent); }

.signup-hero {
  max-width: 640px;
  margin: 0 auto;
  padding-top: 32px;
  padding-bottom: 8px;
  text-align: center;
}

.signup-hero h1 {
  font-size: clamp(26px, 6vw, 40px);
  line-height: 1.2;
  margin: 16px 0 12px;
}

.signup-hero .sub {
  color: var(--text-muted);
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto;
}

.benefits-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-muted);
}

.benefit-check { flex-shrink: 0; }

.auth-wrap {
  max-width: 420px;
  margin: 32px auto 0;
  padding-bottom: 40px;
}

.auth-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
}

.auth-card h2 {
  font-size: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.auth-card .btn { width: 100%; margin-top: 4px; }

.auth-switch {
  margin-top: 18px;
  text-align: center;
  font-size: 13.5px;
  color: var(--text-dim);
}
.auth-switch a { color: var(--accent); font-weight: 600; }
.auth-switch a:hover { opacity: 0.85; }

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 6px;
}

.form-field input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
}
.form-field input:focus {
  outline: none;
  border-color: var(--accent);
}

.form-field-checkbox label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13.5px;
  cursor: pointer;
}
.form-field-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.form-error {
  font-size: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--text-dim);
  padding: 10px 12px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.form-success {
  font-size: 13px;
  color: var(--text);
  background: rgba(74, 222, 128, 0.08);
  border-left: 3px solid var(--accent);
  padding: 10px 12px;
  margin-bottom: 14px;
  line-height: 1.5;
}

/* =======================================================
   ÁREA DE MEMBROS — cards estilo Netflix (conteudos.html)
   ======================================================= */

.member-header-tag { margin-left: 10px; }

.member-account {
  display: flex;
  align-items: center;
  gap: 14px;
}

.member-email {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 480px) {
  .member-email { display: none; }
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13px;
  width: auto;
}

.netflix-main {
  padding-bottom: 60px;
}

.netflix-row {
  position: relative;
  padding-top: 32px;
  padding-bottom: 8px;
}

/* Degradê fino separando cada fileira/sessão — some nas pontas, sem cor */
.netflix-row:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 228, 217, 0.22) 50%, transparent);
}

.netflix-row-head h2 {
  font-size: clamp(19px, 3vw, 24px);
  margin-bottom: 4px;
}

.netflix-row-head p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 640px;
  margin-bottom: 18px;
}

.netflix-cards {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding-bottom: 8px;
  position: relative;
}

.member-card {
  flex: 0 0 auto;
  width: 220px;
  scroll-snap-align: start;
  background: linear-gradient(180deg, rgba(232, 228, 217, 0.06), rgba(232, 228, 217, 0.015));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(232, 228, 217, 0.1);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, transform 0.12s ease;
  cursor: pointer;
}
.member-card:hover { border-color: var(--accent); transform: translateY(-2px); }
a.member-card { text-decoration: none; }

.member-card-thumb {
  height: 120px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--text-dim);
}

.icon-thumb svg { width: 36px; height: 36px; }

.video-thumb .play-icon { width: 40px; height: 40px; position: relative; z-index: 1; }

.video-thumb.has-image {
  background-size: cover;
  background-position: center;
}

.video-thumb.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.video-thumb.has-image .play-icon {
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.6));
}

.video-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 11px;
  font-family: var(--font-title);
  font-weight: 700;
  background: rgba(0, 0, 0, 0.6);
  color: var(--text);
  padding: 3px 7px;
  border-radius: 3px;
}

.member-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.member-card-body h3 {
  font-size: 14.5px;
  line-height: 1.35;
}

.member-card-sub {
  color: var(--text-dim);
  font-size: 12.5px;
  flex-grow: 1;
}

.member-card-body .btn { align-self: flex-start; }

.netflix-empty {
  color: var(--text-dim);
  font-size: 13.5px;
  padding: 20px 0;
}

.card-em-breve {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

/* Sessões trancadas */

.locked-row .netflix-row-head h2,
.locked-row .netflix-row-head p {
  color: var(--text-dim);
}

.locked-cards {
  position: relative;
}

.lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 40px;
  z-index: 2;
  pointer-events: none;
  text-align: center;
  padding: 20px;
  background: rgba(26, 26, 26, 0.55);
  border-radius: 12px;
}
.lock-overlay-icon { font-size: 32px; }
.lock-overlay-texto {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 420px;
}
.lock-overlay-cta { pointer-events: auto; width: auto; }
.lock-overlay-cta.btn-disabled { opacity: 0.5; pointer-events: none; cursor: default; }

.paga-liberada-aviso { padding: 18px 20px; }
.paga-liberada-aviso p { color: var(--text-muted); font-size: 13.5px; line-height: 1.5; }

.locked-card {
  filter: blur(2px);
  opacity: 0.4;
  pointer-events: none;
  user-select: none;
  cursor: default;
}
.locked-card:hover { border-color: var(--border); transform: none; }
.locked-card .icon-thumb { font-size: 28px; }

/* =======================================================
   MODAIS (vídeo / prompts)
   ======================================================= */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1000;
}
.modal-overlay[hidden] { display: none; }

.modal-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-video {
  width: 100%;
  max-width: 860px;
  padding: 16px;
}

.modal-video .video-embed {
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
}
.modal-video .video-embed iframe { width: 100%; height: 100%; border: none; }

.modal-prompts {
  width: 100%;
  max-width: 900px;
  padding: 28px 24px;
}
.modal-prompts h2 {
  font-size: clamp(20px, 4vw, 26px);
  margin-bottom: 20px;
  padding-right: 32px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
  z-index: 1;
}
.modal-close:hover { border-color: var(--accent); color: var(--accent); }

/* =======================================================
   APP SHELL — sidebar + conteúdo
   (inicio.html, comunidade.html, conteudos.html, sobre.html)
   ======================================================= */

body.has-app-shell {
  position: relative;
  overflow-x: hidden;
}

body.has-app-shell::before,
body.has-app-shell::after {
  content: "";
  position: fixed;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  z-index: 0;
}
body.has-app-shell::before {
  top: -220px;
  left: -220px;
  background: radial-gradient(circle, rgba(232, 228, 217, 0.05) 0%, rgba(232, 228, 217, 0) 70%);
}
body.has-app-shell::after {
  bottom: -220px;
  right: -220px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.07) 0%, rgba(74, 222, 128, 0) 70%);
}

.app-shell {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100vh;
}

.app-sidebar {
  width: 232px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 18px;
  border-right: 1px solid var(--border);
  background: rgba(26, 26, 26, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  height: 100vh;
}

.app-sidebar-logo { padding: 0 10px; margin-bottom: 36px; }

.app-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.app-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--text-dim);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 14px;
  transition: background 0.15s ease, color 0.15s ease;
}
.app-nav-link svg { width: 19px; height: 19px; flex-shrink: 0; }
.app-nav-link:hover { color: var(--text); background: rgba(232, 228, 217, 0.04); }
.app-nav-link.active { color: var(--text); background: rgba(232, 228, 217, 0.08); }
.app-nav-link.active svg { color: var(--accent); }

.app-content {
  flex-grow: 1;
  min-width: 0;
  padding: 28px 32px 60px;
  position: relative;
  z-index: 1;
}

.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.app-topbar-title {
  font-size: clamp(20px, 3vw, 26px);
}

@media (max-width: 899px) {
  .app-sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    height: auto;
    width: 100%;
    flex-direction: row;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    border-right: none;
    border-top: 1px solid var(--border);
    z-index: 500;
  }
  .app-sidebar-logo { display: none; }
  .app-nav {
    flex-direction: row;
    width: 100%;
    justify-content: space-around;
  }
  .app-nav-link {
    flex-direction: column;
    gap: 3px;
    font-size: 10.5px;
    padding: 6px 8px;
    text-align: center;
    border-radius: 10px;
  }
  .app-content { padding: 20px 16px 96px; }
}

/* Glass panel — usado em inicio/comunidade/sobre */

.glass-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(232, 228, 217, 0.07), rgba(232, 228, 217, 0.02));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(232, 228, 217, 0.1);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(232, 228, 217, 0.12);
  padding: 24px;
}

/* Entrada suave, escalonada */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.5s cubic-bezier(.16, 1, .3, 1) both; }
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.1s; }
.fade-up-3 { animation-delay: 0.15s; }
.fade-up-4 { animation-delay: 0.2s; }

/* =======================================================
   INÍCIO
   ======================================================= */

.inicio-greeting .eyebrow { display: block; margin-bottom: 10px; }
.inicio-greeting h1 { font-size: clamp(24px, 4vw, 34px); margin-bottom: 14px; }

.quote-text {
  font-family: var(--font-title);
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-muted);
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  max-width: 560px;
  line-height: 1.5;
}

.streak-badge {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.02em;
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.3);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 999px;
}

.avisos-section { margin-top: 28px; max-width: 560px; }
.avisos-heading { font-size: 15px; margin-bottom: 12px; }

.avisos-list { display: flex; flex-direction: column; gap: 10px; }

.aviso-card {
  background: linear-gradient(180deg, rgba(232, 228, 217, 0.07), rgba(232, 228, 217, 0.02));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(232, 228, 217, 0.1);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 14px 16px;
}
.aviso-card h3 { font-size: 14.5px; margin-bottom: 4px; }
.aviso-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

.inicio-progress-card { margin-top: 28px; max-width: 560px; }
.inicio-progress-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  gap: 12px;
  flex-wrap: wrap;
}
.inicio-progress-head h2 { font-size: 17px; }
.inicio-progress-count {
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-title);
  font-weight: 700;
}

.inicio-shortcuts {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 24px;
  max-width: 720px;
}
@media (min-width: 640px) {
  .inicio-shortcuts { grid-template-columns: 1fr 1fr; }
}

.inicio-shortcut-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.12s ease;
}
.inicio-shortcut-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.inicio-shortcut-card svg { width: 26px; height: 26px; color: var(--accent); }
.inicio-shortcut-card h3 { font-size: 16px; }
.inicio-shortcut-card p { font-size: 13px; color: var(--text-dim); }

/* =======================================================
   COMUNIDADE
   ======================================================= */

.comunidade-hero { max-width: 640px; margin-bottom: 28px; }
.comunidade-hero h1 { font-size: clamp(24px, 4vw, 34px); margin: 12px 0 12px; }
.comunidade-hero .sub { color: var(--text-muted); font-size: 15px; line-height: 1.6; }

.comunidade-block { max-width: 720px; margin-bottom: 20px; }
.comunidade-block h2 { font-size: 18px; margin-bottom: 12px; }
.comunidade-block p { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; }

.comunidade-rules { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.comunidade-rules li { display: flex; gap: 10px; font-size: 14.5px; color: var(--text-muted); line-height: 1.5; }
.comunidade-rules li::before { content: "•"; color: var(--accent); flex-shrink: 0; }

.comunidade-cta { max-width: 720px; margin-top: 8px; text-align: center; }
.comunidade-cta .btn { width: auto; }

/* =======================================================
   SOBRE
   ======================================================= */

.sobre-hero { max-width: 680px; margin-bottom: 28px; }
.sobre-hero h1 { font-size: clamp(22px, 4vw, 30px); line-height: 1.3; }
.sobre-block { max-width: 720px; margin-bottom: 20px; }
.sobre-block h2 { font-size: 18px; margin-bottom: 12px; }
.sobre-block p { color: var(--text-muted); font-size: 14.5px; line-height: 1.65; margin-bottom: 10px; }

.sobre-proof-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.sobre-proof-list li {
  position: relative;
  padding-left: 24px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.5;
}
.sobre-proof-list li b { color: var(--accent); font-family: var(--font-title); }
.sobre-proof-list li::before {
  content: "✓";
  color: var(--accent);
  position: absolute;
  left: 0;
  top: 0;
}

.sobre-quicklinks {
  display: flex;
  gap: 14px;
  margin-top: 4px;
}

/* =======================================================
   AULA — vídeo, navegação, comentários (aula.html)
   ======================================================= */

.aula-back-btn {
  width: auto;
  margin-bottom: 16px;
}

.aula-video-panel {
  max-width: 860px;
  padding: 12px;
}
.aula-video-panel .video-embed {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
}
.aula-video-panel .video-embed iframe { width: 100%; height: 100%; border: none; }

.aula-nav {
  max-width: 860px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 16px 0 28px;
  flex-wrap: wrap;
}
.aula-nav .btn { width: auto; }
.aula-position {
  font-size: 13px;
  color: var(--text-dim);
  font-family: var(--font-title);
  font-weight: 700;
}

.aula-comments-panel { max-width: 860px; }
.aula-comments-panel h2 { font-size: 18px; margin-bottom: 16px; }

.aula-comment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.aula-comment-form textarea {
  width: 100%;
  min-height: 88px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  resize: vertical;
}
.aula-comment-form textarea:focus { outline: none; border-color: var(--accent); }
.aula-comment-form .btn { align-self: flex-start; }

.aula-comments-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.aula-comments-empty {
  color: var(--text-dim);
  font-size: 14px;
}

.aula-comment {
  background: rgba(232, 228, 217, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
}
.aula-comment-pending {
  border-style: dashed;
  opacity: 0.7;
}
.aula-comment-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}
.aula-comment-author {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  color: var(--text);
}
.aula-comment-date { font-size: 12px; color: var(--text-dim); }
.aula-comment-text { font-size: 14px; color: var(--text-muted); line-height: 1.5; }

/* =======================================================
   ADMIN (admin.html)
   ======================================================= */

.admin-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.admin-tab-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 6px 14px;
  cursor: pointer;
  position: relative;
  margin-right: 16px;
}
.admin-tab-btn:hover { color: var(--text); }
.admin-tab-btn.active { color: var(--text); }
.admin-tab-btn.active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.admin-toolbar p {
  color: var(--text-dim);
  font-size: 13.5px;
  max-width: 520px;
}
.admin-toolbar .btn { width: auto; }
.admin-toolbar-aulas { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border); }
.admin-toolbar-warning {
  background: rgba(232, 228, 217, 0.05);
  border: 1px solid var(--border);
  border-left: 3px solid var(--text-dim);
  border-radius: 8px;
  padding: 14px 16px;
}
.admin-toolbar-warning p { color: var(--text); max-width: none; }
.admin-toolbar-warning code {
  background: rgba(255, 255, 255, 0.08);
  padding: 1px 5px;
  border-radius: 4px;
  font-size: 0.95em;
}

.admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 880px;
}

.admin-group { margin-bottom: 28px; }
.admin-group-title {
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 10px;
}
.admin-group-list { display: flex; flex-direction: column; gap: 10px; }

.admin-row-comment { align-items: flex-start; }
.admin-comment-author {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--text);
}
.admin-comment-text {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 6px;
}

.admin-row {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(180deg, rgba(232, 228, 217, 0.06), rgba(232, 228, 217, 0.015));
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(232, 228, 217, 0.1);
  border-radius: 8px;
  padding: 14px 16px;
  flex-wrap: wrap;
}

.admin-row-order {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
}
.admin-order-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-dim);
  width: 22px;
  height: 18px;
  font-size: 10px;
  cursor: pointer;
  line-height: 1;
}
.admin-order-btn:hover { color: var(--text); border-color: var(--accent); }
.admin-order-btn:disabled { opacity: 0.3; cursor: not-allowed; }

.admin-row-thumb {
  width: 64px;
  height: 42px;
  border-radius: 4px;
  background: var(--bg) center / cover no-repeat;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 11px;
}

.admin-row-main {
  flex-grow: 1;
  min-width: 180px;
}
.admin-row-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text);
  margin-bottom: 4px;
}
.admin-row-meta {
  font-size: 12.5px;
  color: var(--text-dim);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.admin-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-title);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(232, 228, 217, 0.08);
  color: var(--text-dim);
}
.admin-badge-comunidade { color: var(--accent); }
.admin-badge-fundamentos { color: var(--text); }
.admin-badge-bonus { color: var(--accent); }

.admin-row-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-switch-track {
  position: absolute;
  inset: 0;
  background: rgba(232, 228, 217, 0.15);
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.toggle-switch-track::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: var(--text);
  border-radius: 50%;
  transition: transform 0.15s ease;
}
.toggle-switch input:checked + .toggle-switch-track { background: var(--accent); }
.toggle-switch input:checked + .toggle-switch-track::before {
  transform: translateX(16px);
  background: #12210E;
}

.admin-icon-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text-dim);
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.admin-icon-btn:hover { color: var(--text); border-color: var(--accent); }
.admin-icon-btn svg { width: 15px; height: 15px; }

.admin-search {
  width: 100%;
  max-width: 280px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 14px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
}
.admin-search:focus { outline: none; border-color: var(--accent); }
select.admin-search { max-width: 200px; cursor: pointer; }

.admin-toolbar-filters { gap: 10px; }
.admin-toolbar-contagem {
  color: var(--text-dim);
  font-size: 12.5px;
  margin: -6px 0 14px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 8px;
}
.admin-table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}
.admin-table thead th {
  text-align: left;
  font-family: var(--font-title);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  background: rgba(232, 228, 217, 0.03);
  white-space: nowrap;
}
.admin-table tbody td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text);
  vertical-align: top;
}
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table tbody tr:hover { background: rgba(232, 228, 217, 0.03); }
.admin-table td.admin-table-empty { text-align: center; color: var(--text-dim); padding: 28px; }
.admin-table-nome { font-family: var(--font-title); font-weight: 700; white-space: nowrap; }
.admin-table-muted { color: var(--text-dim); }
.admin-table-badges { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }

.admin-badge-ok { color: var(--accent); }
.admin-badge-pending { color: var(--text-dim); }

.admin-row-link {
  background: none;
  border: none;
  padding: 0;
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 12.5px;
  text-decoration: underline;
  cursor: pointer;
}
.admin-row-link:hover { color: var(--text); }

.modal-usuario { width: 100%; max-width: 480px; padding: 28px 24px; }
.modal-usuario h2 { font-size: 19px; margin-bottom: 20px; padding-right: 32px; }

.admin-pesquisa-list dt {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 14px;
}
.admin-pesquisa-list dt:first-child { margin-top: 0; }
.admin-pesquisa-list dd {
  font-size: 14.5px;
  color: var(--text);
  margin: 3px 0 0;
}

.modal-form { width: 100%; max-width: 460px; padding: 28px 24px; }
.modal-form h2 { font-size: 19px; margin-bottom: 20px; padding-right: 32px; }
.modal-form .form-field textarea {
  width: 100%;
  min-height: 90px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  resize: vertical;
}
.modal-form .form-field textarea:focus { outline: none; border-color: var(--accent); }
.modal-form .form-field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 14px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
}
.admin-form-actions { margin-top: 8px; }
.admin-form-actions .btn { width: auto; }

/* =======================================================
   MÓDULOS — grade de cartas (conteudos.html) e tela do
   módulo (modulo.html)
   ======================================================= */

.netflix-cards .modulo-card {
  flex: 0 0 auto;
  width: 150px;
  scroll-snap-align: start;
}
@media (min-width: 640px) {
  .netflix-cards .modulo-card { width: 170px; }
}

.modulo-card {
  position: relative;
  display: block;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(232, 228, 217, 0.12);
  text-decoration: none;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.modulo-card:hover { transform: translateY(-3px); border-color: var(--accent); }

.modulo-card-capa {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(74, 222, 128, 0.16), rgba(26, 26, 26, 0.96) 65%), var(--bg-alt);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  /* reserva espaço embaixo pra nunca colidir com o .modulo-card-info */
  padding: 20px 16px 92px;
  text-align: center;
}
.modulo-card-capa-fallback {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(14px, 4.2vw, 22px);
  line-height: 1.2;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;
}
.modulo-card-capa.has-image .modulo-card-capa-fallback { display: none; }

.modulo-card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 14px 16px;
  background: linear-gradient(180deg, rgba(20, 20, 18, 0) 0%, rgba(15, 15, 13, 0.94) 60%);
}

.modulo-card-titulo {
  font-size: 14.5px;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 4px;
}

.modulo-card-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.modulo-progress-track {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}
.modulo-progress-bar {
  height: 100%;
  background: var(--accent);
  transition: width 0.25s ease;
}

/* ---- Tela do módulo (modulo.html) ---- */

.modulo-hero {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 12px;
}
@media (min-width: 720px) {
  .modulo-hero { flex-direction: row; align-items: center; }
}

.modulo-hero-capa {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 2 / 3;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(232, 228, 217, 0.12);
  background: linear-gradient(145deg, rgba(74, 222, 128, 0.16), rgba(26, 26, 26, 0.96) 65%), var(--bg-alt);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  text-align: center;
  flex-shrink: 0;
}
.modulo-hero-capa .modulo-card-capa-fallback { font-size: clamp(16px, 4vw, 20px); }
.modulo-hero-capa.has-image .modulo-card-capa-fallback { display: none; }

.modulo-hero-info { flex-grow: 1; min-width: 0; }
.modulo-hero-info h1 { font-size: clamp(22px, 4vw, 30px); margin-bottom: 10px; }
.modulo-hero-resultado { color: var(--text-muted); font-size: 15px; line-height: 1.6; max-width: 620px; margin-bottom: 16px; }
.modulo-hero-progress-label { font-size: 13px; color: var(--text-dim); margin-bottom: 6px; }
.modulo-hero-progress-track {
  max-width: 360px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.modulo-hero-progress-bar { height: 100%; background: var(--accent); transition: width 0.25s ease; }

.modulo-section { margin-top: 40px; }
.modulo-section-title { font-size: clamp(18px, 3vw, 22px); margin-bottom: 16px; }

#aulasGrid button.member-card {
  font: inherit;
  color: inherit;
  text-align: left;
  padding: 0;
}

.aula-card-locked {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}

.aplique-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 768px) {
  .aplique-grid { grid-template-columns: 1fr 1fr; }
}

.materiais-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.material-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 16px;
}
.material-row span { font-size: 14px; color: var(--text); }
.material-row .btn { width: auto; }

.materiais-empty {
  color: var(--text-dim);
  font-size: 13.5px;
}

.missao-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
}
.missao-box p { color: var(--text-muted); font-size: 15px; line-height: 1.55; margin-bottom: 16px; }

.missao-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.missao-checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.missao-checkbox.done { color: var(--accent); }

.aula-concluida-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-dim);
  flex-shrink: 0;
}
.aula-concluida-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.aula-concluida-checkbox.done { color: var(--accent); }

#aulaPositionLabel {
  display: block;
  text-align: center;
  margin: 2px 0 28px;
}

.modulo-proximo {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
}
.modulo-proximo .btn { width: auto; }

/* =======================================================
   LP DE CADASTRO (index.html) — "cru com movimento":
   scroll-reveal, glow sutil, marquee, contagem animada.
   Sem gradiente colorido, sem glassmorphism pesado.
   ======================================================= */

body.lp-body {
  position: relative;
  overflow-x: hidden;
}

/* Reveal on scroll — estado inicial escondido, js/lp.js adiciona .revealed
   via IntersectionObserver. Sem JS, tudo continua visível (progressive
   enhancement: ver regra body:not(.js-ready) .reveal abaixo). */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(.16, 1, .3, 1), transform 0.6s cubic-bezier(.16, 1, .3, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-1.revealed { transition-delay: 0.08s; }
.reveal-2.revealed { transition-delay: 0.16s; }
.reveal-3.revealed { transition-delay: 0.24s; }
.reveal-4.revealed { transition-delay: 0.32s; }
body:not(.js-ready) .reveal { opacity: 1; transform: none; }

.lp-hero {
  position: relative;
  padding-top: 56px;
  padding-bottom: 40px;
  max-width: 720px;
  text-align: left;
}

.lp-hero h1 {
  font-size: clamp(28px, 6vw, 46px);
  line-height: 1.18;
  margin: 20px 0 16px;
}

.lp-hero .sub {
  color: var(--text-muted);
  font-size: clamp(15px, 2vw, 17.5px);
  line-height: 1.65;
  max-width: 600px;
}

.lp-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: -1;
  will-change: transform;
}
.lp-glow-1 {
  top: -180px;
  left: -160px;
  background: radial-gradient(circle, rgba(232, 228, 217, 0.06) 0%, rgba(232, 228, 217, 0) 70%);
}
.lp-glow-2 {
  top: 60px;
  right: -220px;
  background: radial-gradient(circle, rgba(74, 222, 128, 0.09) 0%, rgba(74, 222, 128, 0) 70%);
}

.lp-hero-cta {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.lp-hero-cta .btn { width: auto; }

.lp-microtext {
  font-size: 13px;
  color: var(--text-dim);
}

/* Marquee — faixa de prova social em loop contínuo */
.lp-marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 16px 0;
  background: var(--bg-alt);
  white-space: nowrap;
}
.lp-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  animation: lp-marquee-scroll 32s linear infinite;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.lp-marquee-dot { color: var(--accent); }
@keyframes lp-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .lp-marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

.lp-sobre {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.lp-sobre-foto {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
@media (min-width: 700px) {
  .lp-sobre-foto { width: 190px; height: 190px; }
}

.lp-sobre-texto { width: 100%; }
.lp-sobre-texto p { text-align: left; }

.lp-block {
  max-width: 720px;
}
.lp-block h2 {
  font-size: clamp(24px, 4vw, 34px);
  margin: 14px 0 16px;
  line-height: 1.25;
}
.lp-block p {
  color: var(--text-muted);
  font-size: 15.5px;
  line-height: 1.65;
  margin-bottom: 14px;
}

.lp-anchor-phrase {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: clamp(17px, 2.6vw, 21px) !important;
  color: var(--text) !important;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin-top: 20px !important;
  line-height: 1.4 !important;
}

.lp-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .lp-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (min-width: 960px) {
  .lp-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.lp-stat-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 22px;
  transition: transform 0.15s ease, border-color 0.15s ease;
  transform-style: preserve-3d;
  will-change: transform;
}
.lp-stat-card:hover { border-color: var(--accent); }

.lp-stat-number {
  display: block;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(30px, 5vw, 40px);
  color: var(--accent);
  margin-bottom: 10px;
}

.lp-stat-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.5;
}

.lp-stats-footline {
  text-align: center;
  color: var(--text-dim);
  font-size: 13.5px;
  margin-top: 24px;
}

.lp-oferta-list {
  list-style: none;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.lp-oferta-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 18px;
}
.lp-oferta-list .benefit-check {
  flex-shrink: 0;
  font-size: 17px;
  line-height: 1.5;
}
.lp-oferta-text {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.55;
}
.lp-oferta-list li strong { color: var(--text); }
.lp-oferta-locked { opacity: 0.55; }

.lp-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .lp-steps { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.lp-step {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px 22px;
}
.lp-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.12);
  color: var(--accent);
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 16px;
}
.lp-step h3 { font-size: 17px; margin-bottom: 8px; }
.lp-step p { color: var(--text-muted); font-size: 14px; line-height: 1.5; }

.lp-faq {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}
.lp-faq-item {
  border-left: 2px solid var(--border);
  padding-left: 18px;
}
.lp-faq-item h3 {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.lp-faq-item p {
  color: var(--text-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Depoimentos reais (prints de DM, nome/foto/usuário sempre fora do corte) */
.lp-depoimentos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) {
  .lp-depoimentos-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (min-width: 960px) {
  .lp-depoimentos-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

.lp-depoimento-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  align-self: start;
}
.lp-depoimento-card img {
  width: 100%;
  height: auto;
  display: block;
}

.lp-depoimentos-nota {
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 20px;
}

.lp-mid-cta {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.lp-mid-cta .btn { width: auto; }

.chats-trigger { margin-top: 14px; }
