/* ============================================================
   MASTERIZANDO A LIDERANÇA — Design System v2.0
   ============================================================ */

/* --- Reset & Base ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0f1b2d;
  --navy-mid: #162338;
  --navy-light: #1e3a5f;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --accent-dark: #2563eb;
  --gold: #f59e0b;
  --gold-light: #fbbf24;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --disc-d: #dc2626;
  --disc-d-light: #fef2f2;
  --disc-i: #ea580c;
  --disc-i-light: #fff7ed;
  --disc-s: #16a34a;
  --disc-s-light: #f0fdf4;
  --disc-c: #2563eb;
  --disc-c-light: #eff6ff;
  --diag-clareza: #3b82f6;
  --diag-competencia: #8b5cf6;
  --diag-autonomia: #06b6d4;
  --diag-motivacao: #f59e0b;
  --diag-lideranca: #dc2626;
  --diag-processo: #64748b;
  --diag-conflito: #e11d48;
  --diag-comunicacao: #16a34a;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --shadow: 0 1px 3px rgba(0,0,0,.08), 0 4px 12px rgba(0,0,0,.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,.1);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.14);
  --transition: .2s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--gray-50);
  color: var(--gray-800);
  line-height: 1.6;
  min-height: 100vh;
}

/* --- App Shell -------------------------------------------- */
#app { min-height: 100vh; }

/* --- Screens ---------------------------------------------- */
.screen { display: none; min-height: 100vh; }
.screen.active { display: block; }

/* --- Fade-in animation ------------------------------------ */
.fade-in { animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.slide-in { animation: slideIn .35s cubic-bezier(.4,0,.2,1); }
@keyframes slideIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: translateX(0); } }

/* ============================================================
   HUB — Tela Principal
   ============================================================ */
#screen-hub {
  background: linear-gradient(135deg, #f4f8fd 0%, #e6f0fa 100%);
  min-height: 100vh;
  padding: 32px 20px 60px;
}
.hub-header {
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--navy);
}
.hub-badge {
  display: inline-block;
  background: var(--gray-100);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
}
.hub-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 10px;
}
.hub-title span { color: var(--accent); }
.hub-subtitle { color: var(--gray-600); font-size: 1rem; max-width: 540px; margin: 0 auto; }

.hub-user-bar {
  max-width: 900px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}
.hub-user-name { font-weight: 700; font-size: .95rem; }
.hub-user-date { font-size: .8rem; color: var(--gray-500); }

/* Module Cards */
.hub-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}
.module-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.module-card:hover {
  background: var(--gray-50);
  border-color: var(--gray-300);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.module-card.locked {
  opacity: .6;
  cursor: not-allowed;
  background: var(--gray-50);
}
.module-card.locked:hover {
  transform: none;
  box-shadow: none;
  background: var(--gray-50);
}
.module-card.completed { border-color: var(--accent); border-width: 2px; }
.module-card.in-progress { border-color: var(--gold); border-width: 2px; }

.module-part {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.module-icon { font-size: 2rem; margin-bottom: 12px; }
.module-title { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.module-desc { font-size: .82rem; color: var(--gray-600); line-height: 1.5; margin-bottom: 16px; }
.module-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.status-locked { background: var(--gray-100); color: var(--gray-500); }
.status-available { background: rgba(59,130,246,.1); color: var(--accent); }
.status-progress { background: rgba(245,158,11,.15); color: var(--gold-dark, #b45309); }
.status-done { background: rgba(34,197,94,.15); color: #15803d; }
.module-progress-bar {
  height: 3px;
  background: var(--gray-200);
  border-radius: 2px;
  margin-top: 16px;
  overflow: hidden;
}
.module-progress-fill {
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-light), var(--gold));
  transition: width .5s ease;
}

/* ============================================================
   SHARED MODULE LAYOUT
   ============================================================ */
.module-screen {
  background: var(--gray-50);
  min-height: 100vh;
}
.module-topbar {
  background: var(--navy);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.topbar-back {
  background: rgba(255,255,255,.1);
  border: none;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.topbar-back:hover { background: rgba(255,255,255,.2); }
.topbar-title { color: white; font-weight: 700; font-size: .95rem; }
.topbar-progress {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.topbar-pct { color: var(--gold); font-weight: 700; font-size: .85rem; }
.topbar-bar { width: 100px; height: 4px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; }
.topbar-bar-fill { height: 100%; background: var(--gold); border-radius: 2px; transition: width .5s ease; }

.module-body { max-width: 720px; margin: 0 auto; padding: 32px 20px 60px; }

/* ============================================================
   FORM SCREEN (Name input)
   ============================================================ */
#screen-form { background: var(--gray-50); }
.form-wrapper { max-width: 520px; margin: 0 auto; padding: 60px 24px; }
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 44px 36px;
}
.form-header { text-align: center; margin-bottom: 32px; }
.form-header h2 { font-size: 1.5rem; font-weight: 900; color: var(--navy); margin-bottom: 8px; }
.form-header p { color: var(--gray-500); font-size: .9rem; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xs);
  font-size: .95rem;
  color: var(--gray-800);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ============================================================
   DISC QUIZ — Likert 1-5
   ============================================================ */
.quiz-header {
  background: var(--navy);
  padding: 16px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.quiz-header-inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.quiz-counter { font-size: .82rem; font-weight: 700; color: var(--accent-light); white-space: nowrap; }
.progress-wrap {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,.12);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-light), var(--gold));
  border-radius: 3px;
  transition: width .5s ease;
}
.progress-pct { font-size: .82rem; font-weight: 700; color: var(--gold); white-space: nowrap; }

.quiz-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

/* Question card */
.q-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 36px;
  margin-bottom: 24px;
}
.q-label {
  font-size: .7rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.q-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 28px;
}

/* Likert scale legend */
.likert-legend {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.legend-item {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  padding: 10px 8px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.legend-item .legend-num {
  display: block;
  font-size: .85rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.legend-item:nth-child(1) .legend-num { color: #ef4444; }
.legend-item:nth-child(2) .legend-num { color: #f97316; }
.legend-item:nth-child(3) .legend-num { color: #eab308; }
.legend-item:nth-child(4) .legend-num { color: #22c55e; }
.legend-item:nth-child(5) .legend-num { color: #16a34a; }
.legend-item .legend-text {
  font-size: .72rem;
  font-weight: 600;
  color: var(--gray-700);
  line-height: 1.25;
}

/* Option with likert */
.likert-option {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
  transition: border-color var(--transition), background var(--transition);
}
.likert-option.has-value { border-color: var(--accent); background: var(--gray-50); }
.likert-option-text {
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.5;
  margin-bottom: 12px;
}
.likert-buttons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}
.likert-btn {
  padding: 8px 4px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xs);
  background: white;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gray-500);
  transition: all .15s;
  text-align: center;
  font-family: inherit;
}
.likert-btn:hover { border-color: var(--accent); color: var(--accent); }
.likert-btn.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  box-shadow: 0 2px 8px rgba(59,130,246,.3);
}
.likert-btn.selected.s1 { background: #ef4444; border-color: #ef4444; }
.likert-btn.selected.s2 { background: #f97316; border-color: #f97316; }
.likert-btn.selected.s3 { background: #eab308; border-color: #eab308; }
.likert-btn.selected.s4 { background: #22c55e; border-color: #22c55e; }
.likert-btn.selected.s5 { background: #16a34a; border-color: #16a34a; }

/* Quiz nav */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   DIAGNOSTIC — Interactive
   ============================================================ */
.diag-input-area {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 36px;
}
.diag-textarea {
  width: 100%;
  min-height: 120px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--gray-800);
  resize: vertical;
  outline: none;
  transition: border-color var(--transition);
}
.diag-textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(59,130,246,.1); }
.diag-textarea::placeholder { color: var(--gray-400); }

.diag-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.diag-suggestion {
  padding: 6px 14px;
  border-radius: 50px;
  font-size: .78rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-600);
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: all var(--transition);
}
.diag-suggestion:hover { background: var(--accent); color: white; border-color: var(--accent); }

/* Diagnostic Question */
.diag-question-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 36px;
}
.diag-q-number {
  font-size: .7rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.diag-q-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 24px;
}
.diag-options { display: flex; flex-direction: column; gap: 10px; }
.diag-option-btn {
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  background: white;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-700);
  text-align: left;
  transition: all var(--transition);
  font-family: inherit;
  width: 100%;
}
.diag-option-btn:hover { border-color: var(--accent); background: #eff6ff; }
.diag-option-btn.selected { border-color: var(--accent); background: var(--accent); color: white; }

/* Diagnostic Result */
.diag-result-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 36px;
  margin-bottom: 16px;
}
.diag-dimension-bars { display: flex; flex-direction: column; gap: 14px; }
.diag-dim-row {
  display: grid;
  grid-template-columns: 110px 1fr 40px;
  align-items: center;
  gap: 10px;
}
.diag-dim-label { font-size: .78rem; font-weight: 700; }
.diag-dim-track { height: 14px; background: var(--gray-100); border-radius: 7px; overflow: hidden; }
.diag-dim-fill { height: 100%; border-radius: 7px; transition: width 1.2s ease; }
.diag-dim-pct { font-size: .78rem; font-weight: 700; color: var(--gray-600); text-align: right; }

.diag-verdict {
  background: var(--navy);
  border-radius: var(--radius-sm);
  padding: 24px;
  color: white;
  margin-bottom: 24px;
}
.diag-verdict h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 6px; }
.diag-verdict p { font-size: .9rem; color: rgba(255,255,255,.8); line-height: 1.6; }

/* Action plan cards */
.action-card {
  background: var(--gray-50);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 18px 20px;
  margin-bottom: 12px;
}
.action-card.urgent { border-left-color: #dc2626; }
.action-card.short { border-left-color: #f59e0b; }
.action-card.medium { border-left-color: #16a34a; }
.action-card-label {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.action-card p { font-size: .9rem; color: var(--gray-700); line-height: 1.5; }

/* Checklist */
.checklist-progress-bar-wrap {
  background: var(--gray-200);
  border-radius: 6px;
  height: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}
.checklist-progress-bar-fill {
  background: #16a34a;
  height: 100%;
  border-radius: 6px;
  transition: width .3s ease;
}
.checklist-status-badge {
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-600);
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
}
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.checklist li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all .2s;
  user-select: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.03);
}
.checklist li:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.checklist li.completed {
  background: #f0fdf4;
  border-color: #86efac;
}
.checklist li.completed .action-item-title {
  text-decoration: line-through;
  color: #166534;
}
.checklist li input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
  margin-top: 3px;
  accent-color: #16a34a;
  flex-shrink: 0;
}
.action-item-content {
  flex: 1;
}
.action-item-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.action-item-details {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.45;
  margin-bottom: 10px;
}
.action-item-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.action-badge-deadline {
  font-size: .75rem;
  font-weight: 700;
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
  padding: 3px 8px;
  border-radius: 4px;
}
.action-badge-metric {
  font-size: .75rem;
  font-weight: 600;
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Conversation Script */
.script-block {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 12px;
}
.script-label {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-500);
  margin-bottom: 8px;
}
.script-text {
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.6;
  font-style: italic;
}

/* Resource Cards */
.resources-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.resource-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px;
  transition: all .2s;
}
.resource-card:hover {
  background: white;
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.resource-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}
.resource-category {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 4px 10px;
  border-radius: 50px;
  background: #eff6ff;
  color: var(--accent);
  border: 1px solid #bfdbfe;
}
.resource-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2px;
}
.resource-author {
  font-size: .8rem;
  color: var(--gray-500);
  margin-bottom: 10px;
}
.resource-desc {
  font-size: .9rem;
  color: var(--gray-700);
  line-height: 1.55;
  margin-bottom: 12px;
}
.resource-apply {
  background: white;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  padding: 10px 14px;
  font-size: .85rem;
  color: var(--gray-800);
  margin-bottom: 12px;
}
.resource-apply strong {
  color: #b45309;
}
.resource-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  background: white;
  border: 1px solid var(--gray-200);
  transition: all .2s;
}
.resource-link-btn:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

/* ============================================================
   REPORT — DISC Report (reused + improved)
   ============================================================ */
.report-wrapper { max-width: 860px; margin: 0 auto; padding: 32px 20px 60px; }

.report-cover {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 70%, #1a4a6e 100%);
  border-radius: var(--radius);
  padding: 48px 40px;
  color: white;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}
.report-cover::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
  pointer-events: none;
}
.cover-badge {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50px;
  padding: 5px 16px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.cover-name {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.cover-subtitle {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 28px;
  position: relative;
  z-index: 1;
}
.cover-profile-block {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.cover-profile-letter {
  width: 72px; height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  flex-shrink: 0;
  border: 3px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.12);
}
.cover-profile-info h3 { font-size: 1.2rem; font-weight: 800; color: var(--gold); }
.cover-profile-info p { font-size: .85rem; color: rgba(255,255,255,.75); }
.cover-meta {
  display: flex;
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cover-meta-item { font-size: .75rem; color: rgba(255,255,255,.5); }
.cover-meta-item strong { display: block; font-size: .85rem; color: rgba(255,255,255,.85); font-weight: 600; }

/* Report Sections */
.report-section {
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  padding: 32px;
  margin-bottom: 16px;
  break-inside: avoid;
}
.section-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-100);
}
.section-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.section-header h2 { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.section-header p { font-size: .82rem; color: var(--gray-500); }

/* DISC Chart */
.disc-chart { display: flex; flex-direction: column; gap: 14px; }
.disc-bar-row { display: grid; grid-template-columns: 90px 1fr 44px; align-items: center; gap: 10px; }
.disc-bar-label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.disc-bar-track { height: 20px; background: var(--gray-100); border-radius: 10px; overflow: hidden; }
.disc-bar-fill { height: 100%; border-radius: 10px; transition: width 1.2s cubic-bezier(.4,0,.2,1); }
.disc-bar-pct { font-size: .78rem; font-weight: 700; color: var(--gray-600); text-align: right; }

/* Indices */
.indices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.index-card { border-radius: var(--radius-sm); padding: 18px; }
.index-label { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.index-value { font-size: 1.8rem; font-weight: 900; margin-bottom: 2px; }
.index-level { font-size: .72rem; font-weight: 600; }
.index-bar-track { height: 4px; background: rgba(0,0,0,.08); border-radius: 2px; margin-top: 10px; overflow: hidden; }
.index-bar-fill { height: 100%; border-radius: 2px; transition: width 1.5s ease; }

/* Tags */
.tags-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { padding: 5px 12px; border-radius: 50px; font-size: .78rem; font-weight: 600; }
.tag.positive { background: #f0fdf4; color: #166534; border: 1px solid #86efac; }
.tag.warning { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }
.tag.neutral { background: var(--gray-100); color: var(--gray-600); border: 1px solid var(--gray-200); }

.bullet-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.bullet-list li { display: flex; gap: 8px; align-items: flex-start; font-size: .9rem; color: var(--gray-700); line-height: 1.5; }
.bullet-list li::before { content: '▸'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.bullet-list.warning li::before { color: #dc2626; }

.narrative { font-size: .92rem; color: var(--gray-700); line-height: 1.75; }
.narrative p { margin-bottom: 14px; }
.narrative p:last-child { margin-bottom: 0; }

.subsection-label {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  margin-top: 20px;
  color: var(--gray-400);
}
.subsection-label:first-child { margin-top: 0; }
.section-divider { border: none; border-top: 1px solid var(--gray-100); margin: 20px 0; }
.highlight-quote {
  border-left: 4px solid var(--accent);
  background: #eff6ff;
  padding: 14px 18px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  font-size: .92rem;
  font-style: italic;
  color: var(--navy);
  margin: 16px 0;
}

/* Competency grid */
.competency-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; }
.competency-item { background: var(--gray-50); border-radius: var(--radius-xs); padding: 12px; }
.competency-name { font-size: .72rem; font-weight: 700; color: var(--gray-600); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.competency-bar-track { height: 7px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.competency-bar-fill { height: 100%; border-radius: 4px; transition: width 1.5s ease; }
.competency-level { font-size: .68rem; font-weight: 700; margin-top: 5px; text-transform: uppercase; letter-spacing: .5px; }

/* Profile map */
.profile-map { display: flex; flex-direction: column; gap: 12px; }
.map-item { display: grid; grid-template-columns: 110px 1fr 6px 1fr 110px; align-items: center; gap: 6px; font-size: .78rem; }
.map-left { text-align: right; font-weight: 700; color: var(--gray-500); }
.map-right { font-weight: 700; color: var(--gray-500); }
.map-track { height: 7px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.map-fill-left { height: 100%; border-radius: 4px; background: var(--accent); float: right; }
.map-fill-right { height: 100%; border-radius: 4px; background: var(--gold); }
.map-center-dot { width: 6px; height: 6px; background: var(--gray-400); border-radius: 50%; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.value-card { background: var(--gray-50); border-radius: var(--radius-xs); padding: 14px; text-align: center; }
.value-icon { font-size: 1.5rem; margin-bottom: 6px; }
.value-name { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-600); margin-bottom: 4px; }
.value-bar-track { height: 5px; background: var(--gray-200); border-radius: 3px; overflow: hidden; margin-bottom: 4px; }
.value-bar-fill { height: 100%; border-radius: 3px; transition: width 1.5s ease; }
.value-label { font-size: .68rem; font-weight: 600; color: var(--gray-500); }

/* Jung */
.jung-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.jung-dimension { background: var(--gray-50); border-radius: var(--radius-xs); padding: 14px; }
.jung-dimension-title { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gray-400); margin-bottom: 10px; }
.jung-option { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .82rem; color: var(--gray-600); }
.jung-option:last-child { margin-bottom: 0; }
.jung-pct-bar { flex: 1; height: 7px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.jung-pct-fill { height: 100%; border-radius: 4px; transition: width 1.5s ease; }
.jung-option.dominant .jung-pct-fill { background: var(--navy); }
.jung-option:not(.dominant) .jung-pct-fill { background: var(--gray-300); }
.jung-option-name { width: 75px; font-weight: 700; }
.jung-option-pct { width: 36px; text-align: right; font-size: .78rem; font-weight: 700; }
.jung-type-badge { display: inline-flex; align-items: center; gap: 14px; background: var(--navy); color: white; border-radius: var(--radius-sm); padding: 18px 24px; margin-bottom: 14px; }
.jung-type-letters { font-size: 2.2rem; font-weight: 900; letter-spacing: 5px; color: var(--gold); }
.jung-type-desc { font-size: .85rem; line-height: 1.5; color: rgba(255,255,255,.8); }

/* Communication tips */
.comms-grid { display: flex; flex-direction: column; gap: 10px; }
.comms-profile { background: var(--gray-50); border-radius: var(--radius-xs); padding: 18px; }
.comms-profile h4 { font-size: .85rem; font-weight: 800; margin-bottom: 10px; }
.comms-profile ul { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.comms-profile ul li { font-size: .82rem; color: var(--gray-600); display: flex; gap: 6px; }
.comms-profile ul li::before { content: '•'; font-weight: 900; flex-shrink: 0; }

/* Leadership card */
.leadership-card { border-radius: var(--radius-sm); padding: 22px; margin-bottom: 18px; }
.leadership-card h3 { font-size: 1rem; font-weight: 800; margin-bottom: 4px; }

/* Professions */
.professions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.profession-card { background: var(--gray-50); border-radius: var(--radius-xs); padding: 12px; text-align: center; font-size: .82rem; font-weight: 600; color: var(--gray-600); }

/* Action plan questions */
.action-questions { display: flex; flex-direction: column; gap: 14px; }
.action-question { background: var(--gray-50); border-left: 4px solid var(--accent); border-radius: 0 var(--radius-xs) var(--radius-xs) 0; padding: 14px 18px; }
.action-question p { font-size: .9rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.action-answer-line { width: 100%; height: 1px; background: var(--gray-200); margin: 5px 0; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-xs);
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 10px rgba(59,130,246,.3);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(59,130,246,.4); }
.btn-secondary { background: white; color: var(--navy); border: 2px solid var(--gray-200); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #d97706 100%);
  color: white;
  box-shadow: 0 2px 10px rgba(245,158,11,.35);
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(245,158,11,.5); }
.btn-sm { padding: 9px 18px; font-size: .82rem; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* Report action bar */
.report-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; padding: 16px 0; justify-content: flex-end; }

/* ============================================================
   LOADING
   ============================================================ */
#screen-loading {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  text-align: center;
}
.loading-icon { font-size: 3.5rem; margin-bottom: 20px; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.loading-text { font-size: 1.4rem; font-weight: 700; color: white; margin-bottom: 6px; }
.loading-sub { color: rgba(255,255,255,.55); margin-bottom: 32px; }
.loading-bar-wrap { width: 260px; height: 5px; background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden; }
.loading-bar { height: 100%; background: linear-gradient(90deg, var(--accent-light), var(--gold)); border-radius: 3px; animation: loadAnim 2.5s ease-in-out forwards; }
@keyframes loadAnim { from { width: 0 } to { width: 100% } }
.loading-steps { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.loading-step { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.6); font-size: .85rem; opacity: 0; }
.loading-step.visible { animation: fadeInStep .4s forwards; }
@keyframes fadeInStep { to { opacity: 1; } }
.step-check { width: 20px; height: 20px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: .65rem; flex-shrink: 0; }

/* Alert */
.alert {
  border-radius: var(--radius-xs);
  padding: 14px 18px;
  font-size: .88rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.alert-icon {
  font-size: 1.15rem;
  line-height: 1.4;
  flex-shrink: 0;
}
.alert-content {
  flex: 1;
  line-height: 1.55;
}
.alert-content strong {
  font-weight: 700;
}
.alert-info { background: #eff6ff; color: #1e40af; border-left: 4px solid var(--accent); }
.alert-info .alert-content { color: #1e3a8a; }

/* ============================================================
   SELF-ASSESSMENT (Parte 3: Autopercepção)
   ============================================================ */
.maturity-hero-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 70%, #1a365d 100%);
  border-radius: var(--radius);
  padding: 36px 32px;
  color: white;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.maturity-hero-info { flex: 1; min-width: 260px; }
.maturity-badge {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  margin-bottom: 12px;
}
.maturity-title {
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 8px;
}
.maturity-desc {
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  line-height: 1.55;
}
.maturity-circle-wrap {
  text-align: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  min-width: 140px;
}
.maturity-score-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.maturity-score-label {
  font-size: .7rem;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* Competency score grid */
.comp-scores-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comp-score-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  transition: all .2s;
}
.comp-score-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}
.comp-score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.comp-score-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.comp-score-val {
  font-size: .9rem;
  font-weight: 800;
  color: var(--navy);
}
.comp-score-track {
  height: 10px;
  background: var(--gray-100);
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 8px;
}
.comp-score-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 1s ease;
}
.comp-score-meta {
  font-size: .8rem;
  color: var(--gray-500);
  line-height: 1.4;
}

/* Strengths and Gaps Grid */
.strengths-gaps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.highlight-card {
  border-radius: var(--radius-sm);
  padding: 22px;
  background: white;
  border: 1px solid var(--gray-200);
}
.highlight-card.strength {
  border-top: 4px solid #16a34a;
  background: #f0fdf4;
}
.highlight-card.gap {
  border-top: 4px solid #ea580c;
  background: #fff7ed;
}
.highlight-card-badge {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}
.highlight-card.strength .highlight-card-badge { color: #166534; }
.highlight-card.gap .highlight-card-badge { color: #9a3412; }
.highlight-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.highlight-card-desc {
  font-size: .88rem;
  color: var(--gray-700);
  line-height: 1.5;
}

/* ============================================================
   FEEDBACK 360° (Parte 4: Formulário e Impressão)
   ============================================================ */
.feedback-sheet {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 40px;
  margin-bottom: 30px;
}
.feedback-header {
  border-bottom: 2px solid var(--gray-200);
  padding-bottom: 20px;
  margin-bottom: 24px;
}
.feedback-header h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
}
.feedback-header p {
  color: var(--gray-600);
  font-size: .9rem;
}
.feedback-meta-fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: .85rem;
}
.feedback-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
  font-size: .88rem;
}
.feedback-table th {
  background: var(--navy);
  color: white;
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.feedback-table td {
  padding: 14px;
  border-bottom: 1px solid var(--gray-200);
  color: var(--gray-800);
  vertical-align: middle;
}
.feedback-table tr:nth-child(even) { background: var(--gray-50); }
.feedback-scale-cols {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.feedback-radio-circle {
  width: 24px;
  height: 24px;
  border: 2px solid var(--gray-300);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray-500);
  background: white;
}

.qualitative-box {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 16px;
}
.qualitative-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}
.qualitative-textarea {
  width: 100%;
  min-height: 80px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-xs);
  padding: 12px;
  font-family: inherit;
  font-size: .88rem;
  background: white;
  resize: vertical;
}

/* --- 360 Tabs --- */
.tab-nav {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 24px;
}
.tab-btn {
  background: transparent;
  border: none;
  padding: 12px 20px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-500);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* --- Share Link Box --- */
.share-link-wrap {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 24px;
  margin-bottom: 24px;
}
.share-link-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.share-link-input-group {
  display: flex;
  gap: 8px;
}
.share-link-input {
  flex: 1;
  padding: 12px 16px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-xs);
  font-size: .9rem;
  background: white;
  color: var(--navy);
  font-weight: 600;
}

/* --- KPI Grid --- */
.summary-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}
.summary-kpi-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px;
  text-align: center;
}
.summary-kpi-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
}
.summary-kpi-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
}

/* --- Summary Dimension Rows --- */
.summary-dim-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.summary-dim-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
}
.summary-dim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.summary-dim-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
}
.summary-dim-score {
  font-size: 1.1rem;
  font-weight: 900;
  color: var(--accent);
}
.summary-dim-track {
  height: 8px;
  background: var(--gray-100);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 6px;
}
.summary-dim-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 1s ease;
}
.summary-dim-text {
  font-size: .82rem;
  color: var(--gray-500);
}

/* --- Qualitative Wall --- */
.qual-wall-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.qual-column {
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  padding: 18px;
  border: 1px solid var(--gray-200);
}
.qual-column-title {
  font-size: .95rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.qual-comments-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.qual-bubble {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  padding: 12px 14px;
  font-size: .88rem;
  color: var(--gray-700);
  line-height: 1.45;
  box-shadow: 0 1px 2px rgba(0,0,0,.03);
}

/* --- Respondent Screen --- */
.respondent-card {
  max-width: 680px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 36px;
}
.respondent-q-item {
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.respondent-q-item:last-child { border-bottom: none; }
.respondent-q-dim {
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.respondent-q-text {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 12px;
}
.respondent-rating-btns {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.resp-rate-btn {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  padding: 8px 4px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--gray-700);
  cursor: pointer;
  text-align: center;
  transition: all .2s;
}
.resp-rate-btn:hover {
  background: white;
  border-color: var(--accent);
}
.resp-rate-btn.selected {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ============================================================
   PARTE 5: MAPA DE GARGALOS & ANÁLISE DE GAPS
   ============================================================ */
.gap-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  margin-bottom: 24px;
  font-size: .88rem;
}
.gap-table th {
  background: var(--navy);
  color: white;
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.gap-table td {
  padding: 14px;
  border-bottom: 1px solid var(--gray-200);
  vertical-align: middle;
}
.gap-table tr:nth-child(even) { background: var(--gray-50); }

.gap-badge-blindspot {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fca5a5;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: .75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gap-badge-agreed {
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fde68a;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: .75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gap-badge-strength {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #86efac;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: .75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.gap-badge-hidden {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #93c5fd;
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  font-size: .75rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.bottleneck-heat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
  margin-bottom: 24px;
}
.bottleneck-card {
  background: white;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 20px;
  position: relative;
  transition: all .2s ease;
}
.bottleneck-card.rank-1 { border-color: #dc2626; background: #fffbfb; }
.bottleneck-card.rank-2 { border-color: #ea580c; background: #fffbf9; }
.bottleneck-card.rank-3 { border-color: #d97706; background: #fffdf5; }

.bottleneck-rank-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: .75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
}
.bottleneck-card.rank-1 .bottleneck-rank-badge { background: #fee2e2; color: #dc2626; }
.bottleneck-card.rank-2 .bottleneck-rank-badge { background: #ffedd5; color: #ea580c; }
.bottleneck-card.rank-3 .bottleneck-rank-badge { background: #fef3c7; color: #d97706; }

.bottleneck-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  padding-right: 60px;
}
.bottleneck-desc {
  font-size: .85rem;
  color: var(--gray-600);
  line-height: 1.45;
  margin-bottom: 14px;
}
.bottleneck-metric-row {
  display: flex;
  justify-content: space-between;
  background: white;
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--gray-200);
  font-size: .82rem;
  font-weight: 700;
}

.disc-synthesis-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}
.disc-synthesis-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.disc-synthesis-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold);
}

/* ============================================================
   PARTE 6: PLANO DE DESENVOLVIMENTO INDIVIDUAL (PDI)
   ============================================================ */
.pdi-progress-hero {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.pdi-progress-left {
  flex: 1;
  min-width: 260px;
}
.pdi-progress-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 4px;
}
.pdi-progress-desc {
  font-size: .9rem;
  color: var(--gray-600);
}
.pdi-meter-wrap {
  min-width: 140px;
  text-align: center;
}
.pdi-meter-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}
.pdi-meter-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  margin-top: 4px;
}

.pdi-goal-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}
.pdi-goal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 12px;
}
.pdi-goal-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pdi-goal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}
.pdi-status-select {
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  font-size: .82rem;
  font-weight: 700;
  border: 1px solid var(--gray-300);
  background: var(--gray-50);
  cursor: pointer;
}
.pdi-status-select.in_progress { background: #eff6ff; color: #2563eb; border-color: #93c5fd; }
.pdi-status-select.completed { background: #f0fdf4; color: #16a34a; border-color: #86efac; }
.pdi-status-select.not_started { background: var(--gray-100); color: var(--gray-600); }

.pdi-smart-box {
  background: #f8fafc;
  border-left: 4px solid var(--accent);
  padding: 14px 18px;
  border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
  margin-bottom: 20px;
  font-size: .92rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.5;
}

.pdi-timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.pdi-horizon-card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all .2s;
}
.pdi-horizon-card.done {
  background: #f0fdf4;
  border-color: #bbf7d0;
}
.pdi-horizon-badge {
  font-size: .75rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pdi-horizon-card.done .pdi-horizon-badge {
  color: #16a34a;
}
.pdi-horizon-action {
  font-size: .88rem;
  color: var(--gray-800);
  line-height: 1.45;
  margin-bottom: 12px;
  font-weight: 500;
}
.pdi-horizon-footer {
  border-top: 1px solid rgba(0,0,0,.06);
  padding-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pdi-horizon-metric {
  font-size: .78rem;
  color: var(--gray-600);
  font-style: italic;
}
.pdi-check-btn {
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-xs);
  padding: 4px 10px;
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: all .2s;
}
.pdi-horizon-card.done .pdi-check-btn {
  background: #16a34a;
  color: white;
  border-color: #16a34a;
}

.pdi-habits-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  margin-top: 24px;
}
.pdi-habits-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}
.pdi-habit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-xs);
  padding: 14px 16px;
  cursor: pointer;
  transition: all .2s;
}
.pdi-habit-item:hover {
  background: white;
  border-color: var(--accent);
}
.pdi-habit-item.checked {
  background: #f0fdf4;
  border-color: #86efac;
  text-decoration: line-through;
  color: var(--gray-500);
}
.pdi-habit-checkbox {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  font-weight: 800;
  background: white;
  flex-shrink: 0;
  margin-top: 2px;
}
.pdi-habit-item.checked .pdi-habit-checkbox {
  background: #16a34a;
  border-color: #16a34a;
  color: white;
}

/* ============================================================
   PARTE 7: DESAFIOS PRÁTICOS (MISSÕES REAIS)
   ============================================================ */
.challenge-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.challenge-filter-btn {
  background: white;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--gray-600);
  cursor: pointer;
  transition: all .2s;
}
.challenge-filter-btn:hover { border-color: var(--navy); color: var(--navy); }
.challenge-filter-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: white;
}

.challenge-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.challenge-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all .2s;
}
.challenge-card.completed {
  border-color: #86efac;
  background: #fdfdfd;
}
.challenge-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}
.challenge-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.challenge-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}
.challenge-subtitle {
  font-size: .88rem;
  color: var(--gray-600);
  margin-top: 2px;
}
.challenge-tags {
  display: flex;
  gap: 6px;
  align-items: center;
}
.ch-tag {
  font-size: .75rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}
.ch-tag-diff { background: var(--gray-100); color: var(--gray-700); }
.ch-tag-time { background: #eff6ff; color: #2563eb; }
.ch-tag-status-done { background: #f0fdf4; color: #16a34a; border: 1px solid #bbf7d0; }
.ch-tag-status-progress { background: #fffbeb; color: #d97706; border: 1px solid #fde68a; }

.challenge-script-box {
  background: #0f172a;
  color: #e2e8f0;
  border-radius: var(--radius-xs);
  padding: 16px 20px;
  margin: 16px 0;
  border-left: 4px solid var(--gold);
}
.challenge-script-title {
  font-size: .78rem;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.challenge-script-text {
  font-size: .95rem;
  line-height: 1.55;
  font-style: italic;
}

.challenge-steps {
  background: var(--gray-50);
  border-radius: var(--radius-xs);
  padding: 14px 18px;
  margin-bottom: 16px;
}
.challenge-steps ol {
  margin: 0;
  padding-left: 20px;
  font-size: .88rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.challenge-reflection-area {
  margin-top: 16px;
  border-top: 1px dashed var(--gray-200);
  padding-top: 16px;
}
.challenge-reflection-textarea {
  width: 100%;
  min-height: 70px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  font-family: inherit;
  font-size: .88rem;
  resize: vertical;
  background: white;
  margin-top: 8px;
}

.badges-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.badge-item-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge-item-icon {
  font-size: 2rem;
  background: var(--gray-50);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.badge-item-name {
  font-size: .9rem;
  font-weight: 800;
  color: var(--navy);
}
.badge-item-desc {
  font-size: .75rem;
  color: var(--gray-500);
}

/* ============================================================
   PARTE 8: REGISTRO DE EVOLUÇÃO & DIÁRIO DO LÍDER
   ============================================================ */
.evolution-hero-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: white;
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.mastery-badge-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.08);
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.15);
}
.mastery-badge-icon {
  font-size: 2.6rem;
}
.mastery-level-title {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--gold);
}
.mastery-level-desc {
  font-size: .8rem;
  color: var(--gray-300);
}

.timeline-wrap {
  position: relative;
  margin-top: 24px;
  padding-left: 28px;
}
.timeline-wrap::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 9px;
  width: 2px;
  background: var(--gray-200);
}
.timeline-item {
  position: relative;
  margin-bottom: 24px;
}
.timeline-dot {
  position: absolute;
  left: -28px;
  top: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
}
.timeline-card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
}
.timeline-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  flex-wrap: wrap;
  gap: 8px;
}
.timeline-date {
  font-size: .78rem;
  color: var(--gray-400);
  font-weight: 600;
}
.timeline-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 4px;
}
.timeline-desc {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.45;
}

.ev-tag {
  font-size: .72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}
.ev-tag-disc { background: #fef2f2; color: #c0392b; }
.ev-tag-diag { background: #eff6ff; color: #2563eb; }
.ev-tag-self { background: #faf5ff; color: #7c3aed; }
.ev-tag-360 { background: #ecfdf5; color: #059669; }
.ev-tag-bneck { background: #fff7ed; color: #ea580c; }
.ev-tag-pdi { background: #fffbeb; color: #d97706; }
.ev-tag-challenge { background: #f0fdf4; color: #16a34a; }
.ev-tag-custom { background: #f1f5f9; color: #475569; }

/* Journal Modal */
.journal-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}
.journal-modal-card {
  background: white;
  border-radius: var(--radius);
  max-width: 540px;
  width: 100%;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  body { background: white !important; }
  .screen { display: none !important; }
  #screen-disc-report { display: block !important; background: white !important; }
  #screen-diag-result { display: block !important; background: white !important; }
  #screen-self-report { display: block !important; background: white !important; }
  #screen-feedback360 { display: block !important; background: white !important; }
  #screen-bottlenecks { display: block !important; background: white !important; }
  #screen-pdi { display: block !important; background: white !important; }
  #screen-challenges { display: block !important; background: white !important; }
  #screen-journal { display: block !important; background: white !important; }
  .report-actions, .module-topbar, .topbar-back, .btn { display: none !important; }
  .report-wrapper, .feedback-sheet { max-width: 100% !important; padding: 0 !important; box-shadow: none !important; }
  .report-section, .pdi-goal-card, .pdi-progress-hero, .challenge-card, .evolution-hero-card { box-shadow: none !important; border: 1px solid #e2e8f0; }
  @page { margin: 15mm; size: A4; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  .hub-grid { grid-template-columns: 1fr; }
  .q-card { padding: 24px 18px; }
  .form-card { padding: 28px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .disc-bar-row { grid-template-columns: 70px 1fr 36px; }
  .indices-grid { grid-template-columns: 1fr; }
  .jung-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .report-cover { padding: 28px 20px; }
  .cover-profile-block { flex-direction: column; text-align: center; }
  .report-section { padding: 22px 18px; }
  .map-item { grid-template-columns: 80px 1fr 6px 1fr 80px; }
  .map-left, .map-right { font-size: .68rem; }
  .diag-dim-row { grid-template-columns: 80px 1fr 30px; }
  .module-card { padding: 20px 18px; }
  .likert-buttons { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .likert-btn { padding: 6px 2px; font-size: .75rem; }
}

/* Helpers */
.text-center { text-align: center; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-0 { margin-bottom: 0 !important; }
.mb-3 { margin-bottom: 12px; }
.hidden { display: none !important; }
