/* ===== Escolaluz — Área de Alunos ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --magenta: #d61cc9;
  --purple: #63047d;
  --purple-deep: #3a0149;
  --purple-ink: #1a0025;
  --cream: #fffbfb;
  --cream-2: #faeffa;
  --cream-3: #f2dcf0;
  --sand: #e3c6e0;
  --gold: #f0b63c;
  --line: rgba(99, 4, 125, 0.18);
  --line-soft: rgba(99, 4, 125, 0.09);
  --ink: #2a0f2f;
  --text-muted: #7a4d85;
  --white: #ffffff;
  --border: #edd9f5;
  --display: 'Fraunces', Georgia, serif;
  --body: 'Inter', system-ui, sans-serif;
  --rad: 14px;
  --rad-sm: 8px;
  --shadow: 0 4px 24px rgba(58,1,73,0.10);
  --shadow-lg: 0 16px 48px rgba(58,1,73,0.18);
  --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  --accent-red: #ef4444;
  --accent-green: #22c55e;
}

html, body { height: 100%; }

body {
  font-family: var(--body);
  background: var(--white);
  color: var(--purple-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
button { font-family: inherit; }

/* ===== BACK BUTTON ===== */
.back-home {
  position: fixed; top: 20px; left: 20px; z-index: 100;
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.7); text-decoration: none;
  font-size: 0.85rem; font-weight: 500;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 10px 18px; border-radius: 100px;
  transition: var(--transition);
}
.back-home:hover { color: white; background: rgba(255,255,255,0.18); }
.back-home svg { width: 16px; height: 16px; }

/* ===== AUTH CONTAINER ===== */
.auth-container { min-height: 100vh; display: flex; }

/* ===== BRAND PANEL ===== */
.auth-brand {
  flex: 1; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #63047d 0%, #3a0149 40%, #52046a 75%, #d61cc9 130%);
  display: flex; align-items: center; justify-content: center;
  padding: 80px 60px;
  min-width: 0;
}
.auth-brand::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 100% 50%, rgba(214,28,201,0.45), transparent 65%),
    radial-gradient(ellipse 40% 60% at 0% 80%, rgba(58,1,73,0.6), transparent 60%);
  pointer-events: none;
}
.auth-brand-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.auth-bg-img {
  position: absolute; inset: -8%;
  background: url('assets/background2.png') center center / cover no-repeat;
  filter: brightness(4) contrast(1.3) saturate(0.4);
  opacity: 0.12;
  animation: bgDrift 28s ease-in-out infinite alternate;
  will-change: transform;
}

.auth-bg-spotlight {
  position: absolute; inset: 0;
  background: url('assets/background2.png') center center / cover no-repeat;
  filter: brightness(9) contrast(1.5) saturate(0.5);
  opacity: 1;
  pointer-events: none;
  animation: bgDrift 28s ease-in-out infinite alternate;
  will-change: transform;
  -webkit-mask-image: radial-gradient(circle 280px at var(--cx, -999px) var(--cy, -999px), black 0%, transparent 70%);
  mask-image:         radial-gradient(circle 280px at var(--cx, -999px) var(--cy, -999px), black 0%, transparent 70%);
}

@keyframes bgDrift {
  0%   { transform: scale(1.0)  translate(0%,   0%); }
  25%  { transform: scale(1.04) translate(-2%,  1%); }
  50%  { transform: scale(1.06) translate( 1%, -2%); }
  75%  { transform: scale(1.03) translate( 2%,  1%); }
  100% { transform: scale(1.0)  translate(0%,   0%); }
}

.auth-brand-inner {
  position: relative; z-index: 2; max-width: 380px;
}

.auth-logo {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--display);
  font-size: 20px; font-weight: 500;
  color: var(--cream); letter-spacing: 0.01em;
  margin-bottom: 48px;
}

.auth-brand-inner h1 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 20px;
}
.auth-brand-inner h1 em {
  font-style: italic;
  color: var(--gold);
}

.auth-brand-inner p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem; line-height: 1.65;
  margin-bottom: 40px;
  max-width: 320px;
}

.auth-brand-stats {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--rad); padding: 20px 24px;
}
.auth-stat { flex: 1; text-align: center; }
.auth-stat-num {
  display: block;
  font-family: var(--display);
  font-size: 1.8rem; font-weight: 400; font-style: italic;
  color: var(--gold); line-height: 1;
  margin-bottom: 4px;
}
.auth-stat span:last-child { font-size: 0.72rem; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; }
.auth-stat-sep { width: 1px; height: 32px; background: rgba(255,255,255,0.12); }

/* ===== FORM PANEL ===== */
.auth-form-panel {
  width: 480px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 60px 48px;
  background: var(--white);
  overflow-y: auto;
}

.auth-form { display: none; width: 100%; }
.auth-form.active { display: block; }

.auth-form-header { margin-bottom: 28px; }
.auth-form-header h2 {
  font-family: var(--display);
  font-size: 2rem; font-weight: 400;
  color: var(--purple-ink); margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.auth-form-header p { color: var(--text-muted); font-size: 0.9rem; }

/* Social button */
.btn-social {
  width: 100%; padding: 13px 20px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px solid var(--border); background: white;
  border-radius: var(--rad); cursor: pointer;
  font-size: 0.875rem; font-weight: 600; color: var(--purple-ink);
  transition: var(--transition);
}
.btn-social:hover { background: var(--cream-2); border-color: var(--line); }

/* Divider */
.auth-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 20px 0; color: var(--text-muted); font-size: 0.78rem;
}
.auth-divider::before, .auth-divider::after {
  content:''; flex:1; height:1px; background: var(--border);
}

/* Inputs */
.input-group { margin-bottom: 16px; }
.input-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--purple-ink); margin-bottom: 6px;
}
.input-group input {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border); border-radius: var(--rad-sm);
  font-size: 0.9rem; font-family: inherit; color: var(--purple-ink);
  background: white; outline: none; transition: var(--transition);
}
.input-group input:focus { border-color: var(--magenta); box-shadow: 0 0 0 3px rgba(214,28,201,0.08); }
.forgot-link {
  display: block; text-align: right; margin-top: 6px;
  font-size: 0.78rem; color: var(--magenta); font-weight: 500;
}
.forgot-link:hover { text-decoration: underline; }

.auth-error { font-size: 0.82rem; color: var(--accent-red); min-height: 20px; margin-bottom: 8px; }

.btn-auth {
  width: 100%; padding: 14px;
  background: var(--purple-deep); color: white;
  border: none; border-radius: 100px; cursor: pointer;
  font-size: 0.9rem; font-weight: 600; font-family: inherit;
  transition: var(--transition); margin-top: 4px;
}
.btn-auth:hover { background: var(--magenta); transform: translateY(-1px); }

.auth-switch { text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--text-muted); }
.switch-btn { background: none; border: none; color: var(--magenta); font-weight: 600; cursor: pointer; font-size: 0.85rem; }
.switch-btn:hover { text-decoration: underline; }

/* ===== DASHBOARD ===== */
.dashboard { display: none; }
.dashboard.active { display: flex; flex-direction: column; min-height: 100vh; }

.dashboard-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(26,0,37,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dashboard-nav {
  max-width: 1400px; margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.dash-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: white; flex-shrink: 0;
  font-family: var(--display); font-size: 18px; font-weight: 400;
}
.dash-logo svg { flex-shrink: 0; }

.dash-user { display: flex; align-items: center; gap: 12px; }
.dash-avatar-wrapper { position: relative; cursor: pointer; }
.dash-avatar { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; border: 2px solid rgba(255,255,255,0.15); }
.avatar-edit-icon {
  position: absolute; bottom: -4px; right: -4px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--magenta); display: flex; align-items: center; justify-content: center;
  color: white; border: 2px solid var(--purple-ink);
}
.avatar-edit-icon svg { width: 9px; height: 9px; }
.dash-user-name { font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.8); }
.btn-logout {
  padding: 8px 16px; background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12); border-radius: 100px;
  color: rgba(255,255,255,0.6); font-size: 0.8rem; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: var(--transition);
}
.btn-logout:hover { background: rgba(239,68,68,0.15); border-color: rgba(239,68,68,0.3); color: #f87171; }

/* Dashboard body */
.dashboard-body { display: flex; flex: 1; }

/* Sidebar */
.dash-sidebar {
  width: 220px; flex-shrink: 0;
  background: var(--cream-2); border-right: 1px solid var(--border);
  padding: 24px 12px;
}
.sidebar-nav { display: flex; flex-direction: column; gap: 4px; }
.sidebar-btn {
  width: 100%; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  background: none; border: none; cursor: pointer;
  font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
  font-family: inherit; transition: var(--transition); text-align: left;
}
.sidebar-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.sidebar-btn:hover { background: var(--white); color: var(--purple-ink); }
.sidebar-btn.active { background: var(--purple-deep); color: white; }

/* Main */
.dash-main { flex: 1; padding: 32px; background: var(--cream); min-width: 0; overflow-x: hidden; }

.welcome-banner {
  background: linear-gradient(135deg, var(--purple-deep) 0%, var(--purple) 100%);
  border-radius: var(--rad); padding: 28px 32px; margin-bottom: 28px;
  position: relative; overflow: hidden;
}
.welcome-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(214,28,201,0.2), transparent 60%);
  pointer-events: none;
}
.welcome-banner h2 {
  font-family: var(--display);
  font-size: 1.6rem; font-weight: 400;
  color: white; margin-bottom: 4px;
  position: relative; z-index: 1;
  letter-spacing: -0.01em;
}
.welcome-banner h2 em { font-style: italic; color: var(--gold); }
.welcome-banner p { color: rgba(255,255,255,0.55); font-size: 0.875rem; position: relative; z-index: 1; }

.tab-content { display: none; }
.tab-content.active { display: block; }

.section-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--magenta); margin-bottom: 20px;
}
.section-label::before { content: ''; width: 20px; height: 1px; background: var(--magenta); }
.section-label svg { width: 16px; height: 16px; }

/* Curso cards (dashboard) */
.cursos-dash-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.curso-dash-card {
  background: white; border-radius: var(--rad); border: 1px solid var(--border);
  overflow: hidden; transition: var(--transition);
}
.curso-dash-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--line); }
.curso-card-header { padding: 20px 20px 16px; }
.curso-icon {
  width: 44px; height: 44px; background: var(--cream-2);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--purple); margin-bottom: 14px;
}
.curso-icon svg { width: 20px; height: 20px; }
.curso-card-header h4 {
  font-family: var(--display);
  font-size: 1rem; font-weight: 500;
  color: var(--purple-ink); margin-bottom: 6px;
}
.curso-card-header p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.curso-card-body { padding: 12px 20px 20px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.curso-tag { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; color: var(--text-muted); }
.curso-tag svg { width: 12px; height: 12px; }
.btn-whatsapp-curso {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 100px;
  background: #25d366; border: none; color: white;
  font-size: 0.78rem; font-weight: 700; cursor: pointer;
  font-family: inherit; transition: var(--transition);
}
.btn-whatsapp-curso:hover { background: #1fba57; }

/* Rituais */
.rituais-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ritual-card { background: white; border-radius: var(--rad); border: 1px solid var(--border); overflow: hidden; transition: var(--transition); }
.ritual-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.ritual-thumb {
  height: 160px; background-color: var(--purple-ink); background-size: cover; background-position: center;
  position: relative; display: flex; align-items: center; justify-content: center;
}
.ritual-play-btn {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); color: var(--purple-deep);
}
.ritual-play-btn:hover { transform: scale(1.08); background: white; }
.ritual-play-btn svg { width: 20px; height: 20px; }
.ritual-duration { position: absolute; bottom: 8px; right: 8px; font-size: 0.72rem; font-weight: 700; background: rgba(0,0,0,0.75); color: white; padding: 3px 8px; border-radius: 6px; }
.ritual-badge { position: absolute; top: 8px; left: 8px; }
.ritual-info { padding: 16px; }
.ritual-info h4 { font-family: var(--display); font-size: 1rem; font-weight: 500; color: var(--purple-ink); margin-bottom: 4px; }
.ritual-info p { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 12px; }
.btn-assistir {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 18px; border-radius: 100px; border: none; cursor: pointer;
  font-size: 0.8rem; font-weight: 700; font-family: inherit;
  background: var(--purple-deep); color: white; transition: var(--transition);
}
.btn-assistir:hover { background: var(--magenta); }

/* Livros */
.livros-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.livro-card { background: white; border-radius: var(--rad); border: 1px solid var(--border); overflow: hidden; cursor: pointer; transition: var(--transition); }
.livro-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.livro-cover {
  height: 180px;
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; padding: 20px; cursor: pointer; position: relative; overflow: hidden;
}
.livro-cover::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 110%, rgba(214,28,201,0.3), transparent 60%);
  pointer-events: none;
}
.livro-cover svg { color: rgba(255,255,255,0.25); width: 40px; height: 40px; }
.livro-cover-title { font-family: var(--display); font-size: 0.85rem; font-weight: 400; color: rgba(255,255,255,0.8); text-align: center; line-height: 1.3; }
.livro-cover-author { font-size: 0.7rem; color: rgba(255,255,255,0.4); }
.livro-body { padding: 14px; }
.livro-body h4 { font-family: var(--display); font-size: 0.95rem; font-weight: 500; color: var(--purple-ink); margin-bottom: 3px; }
.livro-autor { font-size: 0.75rem; color: var(--magenta); font-weight: 600; margin-bottom: 4px; }
.livro-desc { font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; margin-bottom: 12px; }
.livro-actions { display: flex; gap: 8px; }
.btn-preview-livro {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 8px; border-radius: 100px; border: 1px solid var(--border);
  background: white; color: var(--text-muted); font-size: 0.75rem; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: var(--transition);
}
.btn-preview-livro:hover { border-color: var(--magenta); color: var(--magenta); }
.btn-preview-livro svg { width: 14px; height: 14px; }
.btn-download-livro {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 8px; border-radius: 100px; border: none;
  background: var(--purple-deep); color: white; font-size: 0.75rem; font-weight: 700;
  cursor: pointer; text-decoration: none; transition: var(--transition); font-family: inherit;
}
.btn-download-livro:hover { background: var(--magenta); }
.btn-whatsapp-livro {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 5px;
  padding: 8px; border-radius: 100px; border: none;
  background: #25d366; color: white; font-size: 0.75rem; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: var(--transition);
}
.btn-whatsapp-livro:hover { background: #1fba57; }

/* Badges */
.badge {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.05em;
}
.badge-free { background: rgba(34,197,94,0.12); color: #16a34a; }
.badge-paid { background: rgba(214,28,201,0.12); color: var(--magenta); }
.badge-code { background: rgba(240,182,60,0.15); color: #9e7138; }

/* Empty state */
.empty-state {
  text-align: center; padding: 60px 20px; color: var(--text-muted);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.empty-state svg { width: 40px; height: 40px; opacity: 0.3; }

/* ===== MODALS ===== */
.livro-modal-overlay, .profile-modal-overlay, .video-modal-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(26,0,37,0.72); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}

.livro-modal {
  background: white; border-radius: 20px; overflow: hidden;
  width: 100%; max-width: 440px; box-shadow: var(--shadow-lg);
}
.livro-modal-cover {
  background: linear-gradient(135deg, var(--purple-deep), var(--purple));
  padding: 40px 32px; text-align: center; position: relative;
}
.livro-modal-cover button { position: absolute; top: 16px; right: 16px; background: rgba(255,255,255,0.1); border: none; color: white; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.livro-modal-cover svg { color: rgba(255,255,255,0.25); width: 48px; height: 48px; margin-bottom: 12px; }
.livro-modal-cover h3 { font-family: var(--display); color: white; font-size: 1.2rem; font-weight: 400; margin-bottom: 4px; }
.livro-modal-cover span { color: rgba(255,255,255,0.55); font-size: 0.8rem; }
.livro-modal-body { padding: 28px 32px; }
.livro-modal-desc { color: var(--ink); font-size: 0.9rem; line-height: 1.65; margin-bottom: 20px; }
.livro-modal-actions { display: flex; gap: 10px; }

.profile-modal {
  background: white; border-radius: 20px;
  width: 100%; max-width: 400px; padding: 32px;
  box-shadow: var(--shadow-lg); position: relative;
}
.profile-modal-close { position: absolute; top: 20px; right: 20px; background: var(--cream-2); border: none; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; }
.profile-modal-header { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 24px; }
.profile-photo-wrapper { position: relative; }
.profile-photo { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--border); }
.profile-photo-edit { position: absolute; bottom: 0; right: 0; width: 28px; height: 28px; background: var(--magenta); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; color: white; border: 2px solid white; }
.profile-photo-edit svg { width: 12px; height: 12px; }
.profile-modal-header h3 { font-family: var(--display); font-weight: 400; font-size: 1.1rem; color: var(--purple-ink); }
.profile-field { margin-bottom: 14px; }
.profile-field label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; }
.profile-field input { width: 100%; padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.875rem; font-family: inherit; outline: none; color: var(--purple-ink); }
.profile-field input:focus { border-color: var(--magenta); }
.profile-field input:disabled { background: var(--cream-2); color: var(--text-muted); }
.btn-reset-password { padding: 10px 16px; border: 1.5px solid var(--border); background: white; border-radius: 100px; font-size: 0.8rem; font-weight: 600; cursor: pointer; font-family: inherit; transition: var(--transition); }
.btn-reset-password:hover { border-color: var(--magenta); color: var(--magenta); }
.profile-upload-status { font-size: 0.8rem; min-height: 20px; margin-bottom: 8px; }
.profile-upload-status.success { color: var(--accent-green); }
.profile-upload-status.error { color: var(--accent-red); }
.profile-upload-status.loading { color: var(--text-muted); }
.btn-save-profile { width: 100%; padding: 13px; background: var(--purple-deep); color: white; border: none; border-radius: 100px; font-size: 0.875rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: var(--transition); }
.btn-save-profile:hover { background: var(--magenta); }

.video-modal { background: var(--purple-ink); border-radius: 20px; width: 100%; max-width: 860px; overflow: hidden; box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; }
.video-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.video-modal-header h3 { font-family: var(--display); color: white; font-size: 1rem; font-weight: 400; }
.video-modal-close { background: rgba(255,255,255,0.08); border: none; color: rgba(255,255,255,0.6); width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.video-modal-player { position: relative; padding-top: 56.25%; background: black; }
.video-modal-player iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.video-click-blocker-top { position: absolute; top: 0; left: 0; right: 0; height: 20%; z-index: 2; }
.video-click-blocker-bottom { position: absolute; bottom: 0; left: 0; right: 0; height: 15%; z-index: 2; }

/* Review section */
.review-section { padding: 24px; }
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.review-header h4 { font-family: var(--display); color: white; font-size: 0.95rem; font-weight: 400; }
.review-summary { font-size: 0.75rem; color: rgba(255,255,255,0.4); }
.reaction-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.reaction-btn { display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 100px; border: 1px solid rgba(255,255,255,0.12); background: rgba(255,255,255,0.05); cursor: pointer; transition: var(--transition); }
.reaction-btn:hover, .reaction-btn.active { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); }
.reaction-emoji { font-size: 1rem; }
.reaction-label { font-size: 0.72rem; color: rgba(255,255,255,0.6); }
.reaction-count { font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.4); }
.review-comment-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 14px; margin-bottom: 16px; }
.review-input-wrapper { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.review-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-input-wrapper textarea { flex: 1; background: none; border: none; outline: none; color: white; font-size: 0.875rem; resize: none; font-family: inherit; line-height: 1.5; }
.review-input-wrapper textarea::placeholder { color: rgba(255,255,255,0.25); }
.review-input-footer { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.review-char-count { font-size: 0.72rem; color: rgba(255,255,255,0.3); }
.btn-send-review { display: flex; align-items: center; gap: 6px; padding: 8px 16px; background: var(--magenta); color: white; border: none; border-radius: 100px; font-size: 0.78rem; font-weight: 700; cursor: pointer; font-family: inherit; }
.btn-send-review svg { width: 14px; height: 14px; }
.reviews-list { display: flex; flex-direction: column; gap: 12px; }
.reviews-loading { color: rgba(255,255,255,0.4); font-size: 0.8rem; text-align: center; padding: 16px; }
.reviews-empty { color: rgba(255,255,255,0.3); font-size: 0.8rem; text-align: center; padding: 16px; }
.review-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 14px; }
.review-card.review-own { border-color: rgba(214,28,201,0.3); }
.review-card-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.review-card-avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.review-card-name { font-size: 0.8rem; font-weight: 700; color: rgba(255,255,255,0.8); }
.review-card-date { font-size: 0.72rem; color: rgba(255,255,255,0.35); }
.review-card-you { font-size: 0.65rem; background: rgba(214,28,201,0.2); color: rgba(214,28,201,0.9); padding: 2px 8px; border-radius: 100px; margin-left: auto; }
.review-card-text { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.55; }
.review-admin-reply { margin-top: 10px; padding: 10px 12px; background: rgba(214,28,201,0.08); border-radius: 8px; border-left: 3px solid var(--magenta); }
.review-admin-reply-header { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; color: var(--magenta); margin-bottom: 6px; }
.review-admin-reply p { font-size: 0.8rem; color: rgba(255,255,255,0.55); }

/* Duvidas */
.duvidas-section { display: flex; flex-direction: column; gap: 20px; }
.duvida-form-card { background: white; border-radius: var(--rad); border: 1px solid var(--border); padding: 24px; }
.duvida-form-card h4 { font-family: var(--display); font-weight: 500; font-size: 1.1rem; color: var(--purple-ink); margin-bottom: 6px; }
.duvida-form-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 16px; }
.duvida-form-fields { display: flex; flex-direction: column; gap: 12px; }
.duvida-form-fields input, .duvida-form-fields textarea { padding: 10px 14px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.875rem; font-family: inherit; outline: none; resize: vertical; color: var(--purple-ink); }
.duvida-form-fields input:focus, .duvida-form-fields textarea:focus { border-color: var(--magenta); }
.btn-enviar-duvida { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; background: var(--purple-deep); color: white; border: none; border-radius: 100px; font-size: 0.875rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: var(--transition); }
.btn-enviar-duvida:hover { background: var(--magenta); }
.btn-enviar-duvida svg { width: 16px; height: 16px; }
.duvidas-divider { text-align: center; font-size: 0.75rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin: 8px 0; }
.duvida-status { font-size: 0.82rem; min-height: 20px; }
.duvida-status.success { color: var(--accent-green); }
.duvida-status.error { color: var(--accent-red); }
.minhas-duvidas-list { display: flex; flex-direction: column; gap: 12px; }
.duvida-card { background: white; border-radius: 12px; border: 1px solid var(--border); padding: 16px; }
.duvida-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.duvida-card-assunto { font-weight: 700; font-size: 0.875rem; color: var(--purple-ink); }
.duvida-card-date { font-size: 0.72rem; color: var(--text-muted); }
.duvida-status-badge { font-size: 0.7rem; font-weight: 700; padding: 3px 10px; border-radius: 100px; }
.badge-pendente { background: rgba(234,179,8,0.12); color: #ca8a04; }
.badge-respondida { background: rgba(34,197,94,0.12); color: #16a34a; }
.duvida-card-pergunta { font-size: 0.875rem; color: var(--ink); line-height: 1.55; margin-bottom: 10px; }
.duvida-card-resposta { padding: 10px 12px; background: var(--cream-2); border-radius: 8px; border-left: 3px solid var(--magenta); }
.duvida-resposta-header { display: flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 700; color: var(--magenta); margin-bottom: 6px; }
.duvida-card-resposta p { font-size: 0.82rem; color: var(--ink); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .auth-brand { display: none; }
  .auth-form-panel { width: 100%; }
  .dash-sidebar { display: none; }
  .dashboard-nav { padding: 0 16px; }
  .dash-main { padding: 20px 16px; }
}
@media (max-width: 600px) {
  .auth-form-panel { padding: 40px 24px; }
  .back-home { top: 12px; left: 12px; padding: 8px 14px; }
  .cursos-dash-grid, .rituais-grid { grid-template-columns: 1fr; }
}
