/* ============================================================
   TrustedMe — Design System
   Dark mode premium com glassmorphism e tons dourados
   ============================================================ */

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

/* ============================================================
   TOKENS & VARIÁVEIS
   ============================================================ */
:root {
  /* Cores principais */
  --gold:          #ffd700;
  --gold-light:    #ffe566;
  --gold-dark:     #b8960c;
  --gold-dim:      rgba(255, 215, 0, 0.12);
  --gold-glow:     rgba(255, 215, 0, 0.25);

  /* Backgrounds */
  --bg-base:       #0a0a14;
  --bg-surface:    #12121f;
  --bg-card:       #1a1a2e;
  --bg-card-hover: #1f1f38;
  --bg-input:      #0f0f1e;
  --bg-elevated:   #22223a;

  /* Texto */
  --text-primary:  #e8eaf6;
  --text-secondary:#8892b0;
  --text-muted:    #4a5568;
  --text-gold:     #ffd700;

  /* Bordas */
  --border:        rgba(255, 255, 255, 0.07);
  --border-gold:   rgba(255, 215, 0, 0.25);
  --border-focus:  rgba(255, 215, 0, 0.6);

  /* Status */
  --green:         #00e676;
  --green-dim:     rgba(0, 230, 118, 0.12);
  --red:           #ff5252;
  --red-dim:       rgba(255, 82, 82, 0.12);
  --blue:          #64b5f6;
  --blue-dim:      rgba(100, 181, 246, 0.12);
  --orange:        #ffb74d;

  /* Sombras */
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.4);
  --shadow-md:     0 8px 24px rgba(0,0,0,0.5);
  --shadow-lg:     0 20px 60px rgba(0,0,0,0.6);
  --shadow-gold:   0 0 30px rgba(255,215,0,0.15);

  /* Raios */
  --radius-sm:     6px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-xl:     24px;
  --radius-full:   9999px;

  /* Transições */
  --transition:    all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }

img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ============================================================
   SCROLLBAR CUSTOM
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--border-gold); border-radius: var(--radius-full); }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

.text-gold    { color: var(--gold); }
.text-muted   { color: var(--text-secondary); }
.text-small   { font-size: 0.875rem; }
.text-center  { text-align: center; }
.font-bold    { font-weight: 700; }
.font-medium  { font-weight: 500; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 700px; }
.container--wide   { max-width: 1400px; }

.section { padding: 80px 0; }
.section--sm { padding: 48px 0; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-8  { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: 70px;
  background: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}

.navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  color: var(--gold);
}
.nav-logo span { color: var(--text-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover { color: var(--text-primary); background: var(--border); }
.nav-link.active { color: var(--gold); }

.nav-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-gold);
}

.nav-avatar-placeholder {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 2px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
}

/* ============================================================
   BOTÕES
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a14;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.4);
  color: #0a0a14;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1.5px solid var(--border-gold);
}
.btn-outline:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-elevated); color: var(--text-primary); }

.btn-danger {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(255, 82, 82, 0.25);
}
.btn-danger:hover { background: rgba(255, 82, 82, 0.2); color: var(--red); }

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-full { width: 100%; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-gold);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.card-glass {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 32px;
}

/* ============================================================
   FORMULÁRIOS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.form-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  padding: 12px 16px;
  transition: var(--transition);
  width: 100%;
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.08);
}

.form-input::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select option { background: var(--bg-card); }

.form-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.form-error {
  font-size: 0.85rem;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 6px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* Checkbox / Radio customizados */
.form-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: var(--gold);
  cursor: pointer;
  margin-top: 2px;
}
.form-check-label { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; }
.form-check-label a { color: var(--gold); }

/* ============================================================
   ALERTS / NOTIFICAÇÕES
   ============================================================ */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  display: block;
  line-height: 1.7;
  margin-bottom: 20px;
}

.alert-success {
  background: var(--green-dim);
  border: 1px solid rgba(0, 230, 118, 0.25);
  color: var(--green);
}

.alert-error {
  background: var(--red-dim);
  border: 1px solid rgba(255, 82, 82, 0.25);
  color: var(--red);
}

.alert-info {
  background: var(--blue-dim);
  border: 1px solid rgba(100, 181, 246, 0.25);
  color: var(--blue);
}

.alert-warning {
  background: rgba(255, 183, 77, 0.12);
  border: 1px solid rgba(255, 183, 77, 0.3);
  color: var(--orange);
}

/* ============================================================
   BADGES DE SELOS
   ============================================================ */
.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  transition: var(--transition);
}

.badge:hover { background: rgba(255, 215, 0, 0.2); transform: scale(1.03); }

/* ============================================================
   INDICADORES DE CONFIANÇA
   ============================================================ */
.trust-indicators {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
}

.trust-item.active {
  background: var(--green-dim);
  border-color: rgba(0, 230, 118, 0.25);
  color: var(--text-primary);
}

.trust-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-muted);
  flex-shrink: 0;
}
.trust-item.active .trust-dot { background: var(--green); box-shadow: 0 0 6px var(--green); }

/* ============================================================
   PROFILE CARD (Card de Perfil do Músico)
   ============================================================ */
.profile-hero {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}

.profile-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gold);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.profile-avatar-lg {
  width: 160px;
  height: 160px;
}

.profile-avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-dim), var(--bg-elevated));
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: var(--gold);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.music-id-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.trust-score-ring {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust-score-value {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.trust-score-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.profile-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.profile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.profile-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.profile-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   QR CODE
   ============================================================ */
.qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px;
  background: white;
  border-radius: var(--radius-lg);
  width: fit-content;
}

.qr-label {
  color: #0a0a14;
  font-size: 0.8rem;
  font-weight: 700;
  text-align: center;
}

/* ============================================================
   MEMBER CARD (lista de membros)
   ============================================================ */
.member-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}

.member-card:hover {
  border-color: var(--border-gold);
  background: var(--bg-card-hover);
  transform: translateX(4px);
  color: inherit;
}

.member-card-info { flex: 1; min-width: 0; }
.member-card-name { font-weight: 700; font-size: 1rem; color: var(--text-primary); margin-bottom: 2px; }
.member-card-meta { font-size: 0.8rem; color: var(--text-secondary); }
.member-card-badges { margin-top: 8px; }

/* ============================================================
   RECOMENDAÇÕES
   ============================================================ */
.recommendation-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  border-left: 3px solid var(--green);
  margin-bottom: 12px;
}

.rec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.rec-type-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--blue-dim);
  color: var(--blue);
  border-radius: var(--radius-full);
}

.rec-verdict {
  font-size: 0.8rem;
  font-weight: 600;
}
.rec-verdict.yes { color: var(--green); }
.rec-verdict.no  { color: var(--red); }
.rec-verdict.partially { color: var(--orange); }

.rec-text { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; }
.rec-meta { font-size: 0.8rem; color: var(--text-muted); margin-top: 8px; }

/* ============================================================
   INVITE TREE / ÁRVORE DE CONVITES
   ============================================================ */
.invite-code-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 8px;
  transition: var(--transition);
}

.invite-code-box:hover { border-color: var(--border-gold); }

.invite-code {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  flex: 1;
}

.invite-code-used { opacity: 0.5; }
.invite-used-by { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   GRAFO DE CONFIANÇA (exibição em texto)
   ============================================================ */
.trust-graph-card {
  background: linear-gradient(135deg, rgba(255,215,0,0.04), rgba(26,26,46,0.8));
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin: 16px 0;
}

.trust-graph-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.trust-graph-stat {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.trust-graph-stat:last-child { border-bottom: none; }
.trust-graph-stat strong { color: var(--gold); }

/* ============================================================
   HERO LANDING PAGE
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255,215,0,0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(100,181,246,0.05) 0%, transparent 60%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 30%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================================
   FEATURES SECTION
   ============================================================ */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.feature-card:hover::before { opacity: 1; }

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.feature-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ============================================================
   COMO FUNCIONA (Steps)
   ============================================================ */
.step-list { display: flex; flex-direction: column; gap: 0; }

.step-item {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 32px;
}

.step-item:last-child { padding-bottom: 0; }

.step-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--border-gold), transparent);
}

.step-number {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: var(--gold-dim);
  border: 2px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.step-content { padding-top: 8px; }
.step-title { font-weight: 700; font-size: 1rem; margin-bottom: 6px; }
.step-text { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
  margin-top: 80px;
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 8px;
}
.footer-logo span { color: var(--text-primary); }

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a { color: var(--text-muted); font-size: 0.8rem; }
.footer-links a:hover { color: var(--text-secondary); }

/* ============================================================
   PAINEL DO MEMBRO (sidebar layout)
   ============================================================ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  padding-top: 70px;
}

.sidebar {
  background: var(--bg-surface);
  border-right: 1px solid var(--border);
  padding: 32px 0;
  position: sticky;           /* mantém no grid — fixed quebrava o 1fr */
  top: 70px;
  height: calc(100vh - 70px);
  overflow-y: auto;
  align-self: start;          /* necessário para sticky funcionar no grid */
}

.sidebar-avatar-section {
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  text-align: center;
}

.sidebar-name {
  font-weight: 700;
  font-size: 1rem;
  margin-top: 12px;
}

.sidebar-music-id {
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
}

.sidebar-nav { padding: 0 12px; }

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition);
  margin-bottom: 2px;
}

.sidebar-nav-item:hover {
  background: var(--bg-card);
  color: var(--text-primary);
  color: var(--text-primary);
}

.sidebar-nav-item.active {
  background: var(--gold-dim);
  color: var(--gold);
  font-weight: 600;
}

.sidebar-nav-icon { font-size: 1.1rem; width: 20px; text-align: center; }
.sidebar-section-label {
  padding: 16px 26px 6px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 700;
}

.dashboard-content {
  padding: 40px;
  min-height: calc(100vh - 70px);
  min-width: 0;               /* evita overflow em grid */
}

.page-title {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-subtitle {
  color: var(--text-secondary);
  margin-bottom: 32px;
  font-size: 0.95rem;
}

/* ============================================================
   STATUS BADGES
   ============================================================ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.status-pending    { background: rgba(255,183,77,0.15); color: var(--orange); border: 1px solid rgba(255,183,77,0.3); }
.status-active     { background: var(--green-dim); color: var(--green); border: 1px solid rgba(0,230,118,0.3); }
.status-suspended  { background: var(--red-dim); color: var(--red); border: 1px solid rgba(255,82,82,0.3); }
.status-rejected   { background: rgba(255,82,82,0.08); color: #ff8a80; border: 1px solid rgba(255,82,82,0.2); }

/* ============================================================
   TABELAS (admin)
   ============================================================ */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

thead tr {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
}

thead th {
  padding: 14px 16px;
  text-align: left;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  font-weight: 700;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg-card); }

tbody td {
  padding: 14px 16px;
  color: var(--text-secondary);
  vertical-align: middle;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  transform: scale(0.95);
  transition: var(--transition);
}

.modal-overlay.open .modal { transform: scale(1); }

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.modal-title { font-size: 1.2rem; font-weight: 700; }

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
  transition: var(--transition);
}
.modal-close:hover { color: var(--text-primary); }

/* ============================================================
   DIVISORES E UTILITÁRIOS
   ============================================================ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 24px 0;
}

.divider-text {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}
.divider-text::before, .divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

/* Copiar código (JS) */
.copy-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  transition: var(--transition);
}
.copy-btn:hover { color: var(--gold); background: var(--gold-dim); }
.copy-btn.copied { color: var(--green); }

/* ============================================================
   ANIMAÇÕES
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
  50%       { box-shadow: 0 0 0 12px rgba(255, 215, 0, 0); }
}

@keyframes shimmer {
  from { background-position: -200% center; }
  to   { background-position: 200% center; }
}

.animate-fade-in-up {
  animation: fadeInUp 0.5s ease both;
}

.animate-pulse-gold {
  animation: pulse-gold 2s ease infinite;
}

.skeleton {
  background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-elevated) 50%, var(--bg-surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-grid > div:last-child { display: none; } /* Oculta mockup em tablet */
}

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

  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  .nav-links { display: none; }

  /* Dashboard mobile */
  .dashboard-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .dashboard-content { padding: 24px 16px; }

  .profile-hero { padding: 24px; }
  .profile-stats { gap: 20px; }
  .trust-indicators { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .btn-lg { padding: 14px 24px; font-size: 1rem; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
