/* ══════════════════════════════════════════════════════════
   PRODUTIVIDADE IDEAL — Design System (styles.css)
   Arquivo compartilhado entre todas as páginas de testes.
   ══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════
   THEME TOKENS
   ══════════════════════════════════════ */
[data-theme="light"] {
  --bg: #F8F7F6;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F0EFED;
  --border: #E0DFDC;
  --border-subtle: #EAEAE8;
  --text: #222222;
  --text-dim: #5A5A5A;
  --text-muted: #8A8A8A;
  --accent: #6C5CE7;
  --accent-dim: rgba(108,92,231,0.08);
  --accent-text: #5A4BD1;
  --green: #1B9E4B;
  --green-bg: rgba(27,158,75,0.06);
  --green-border: rgba(27,158,75,0.2);
  --green-glow: rgba(27,158,75,0.08);
  --red: #D63031;
  --red-bg: rgba(214,48,49,0.05);
  --red-border: rgba(214,48,49,0.18);
  --red-glow: rgba(214,48,49,0.06);
  --yellow: #CC8800;
  --yellow-bg: rgba(204,136,0,0.06);
  --yellow-border: rgba(204,136,0,0.2);
  --orange: #E17055;
  --orange-bg: rgba(225,112,85,0.06);
  --orange-border: rgba(225,112,85,0.2);
  --option-hover: rgba(108,92,231,0.04);
  --progress-bg: rgba(0,0,0,0.06);
  --sticky-bg: rgba(248,247,246,0.94);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.03);
  --shadow-card-answered: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-hover: 0 8px 30px rgba(108,92,231,0.12), 0 2px 8px rgba(0,0,0,0.06);
  --noise-opacity: 0;
  --theme-icon: '🌙';
  --hero-gradient: linear-gradient(135deg, rgba(108,92,231,0.05) 0%, rgba(108,92,231,0) 60%);
}

[data-theme="dark"] {
  --bg: #0D0D1A;
  --bg-card: #141425;
  --bg-card-hover: #1A1A2E;
  --border: #2A2A40;
  --border-subtle: #1E1E35;
  --text: #E8E6F0;
  --text-dim: #8B87A0;
  --text-muted: #5C587A;
  --accent: #7C6AF7;
  --accent-dim: rgba(124,106,247,0.12);
  --accent-text: #9B8AFF;
  --green: #2ECC71;
  --green-bg: rgba(46,204,113,0.08);
  --green-border: rgba(46,204,113,0.25);
  --green-glow: rgba(46,204,113,0.15);
  --red: #E74C3C;
  --red-bg: rgba(231,76,60,0.08);
  --red-border: rgba(231,76,60,0.25);
  --red-glow: rgba(231,76,60,0.15);
  --yellow: #F1C40F;
  --yellow-bg: rgba(241,196,15,0.08);
  --yellow-border: rgba(241,196,15,0.25);
  --orange: #E17055;
  --orange-bg: rgba(225,112,85,0.08);
  --orange-border: rgba(225,112,85,0.25);
  --option-hover: rgba(255,255,255,0.06);
  --progress-bg: rgba(255,255,255,0.08);
  --sticky-bg: rgba(13,13,26,0.92);
  --shadow-card: none;
  --shadow-card-answered: none;
  --shadow-hover: 0 8px 30px rgba(139,124,247,0.15), 0 2px 8px rgba(0,0,0,0.3);
  --noise-opacity: 0.03;
  --theme-icon: '☀️';
  --hero-gradient: linear-gradient(135deg, rgba(139,124,247,0.08) 0%, rgba(139,124,247,0) 60%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.4s ease, color 0.3s ease;
}

.noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: var(--noise-opacity);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  transition: opacity 0.4s ease;
}

.container {
  position: relative; z-index: 1;
  max-width: 720px; margin: 0 auto;
  padding: 40px 20px 80px;
}

/* ══════════════════════════════════════
   THEME TOGGLE
   ══════════════════════════════════════ */
.theme-toggle {
  position: fixed; top: 16px; right: 16px; z-index: 200;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.theme-toggle:hover {
  border-color: var(--accent);
  transform: scale(1.05);
}

/* ══════════════════════════════════════
   HERO (shared across all pages)
   ══════════════════════════════════════ */
.hero { text-align: center; padding: 60px 0 40px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-dim);
  color: var(--accent);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(108,92,231,0.15);
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  font-weight: 700; line-height: 1.2;
  margin-bottom: 16px;
}

.hero h1 em { font-style: italic; color: var(--accent-text); }

.hero p {
  color: var(--text-dim);
  font-size: 16px;
  max-width: 520px;
  margin: 0 auto 12px;
}

.hero-time { color: var(--text-muted); font-size: 13px; margin-bottom: 32px; }

.hero-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px; font-weight: 600;
  padding: 14px 32px;
  border-radius: 6px;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 24px rgba(108,92,231,0.25);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(108,92,231,0.4);
}

/* ══════════════════════════════════════
   PROGRESS BAR (quiz pages)
   ══════════════════════════════════════ */
.progress-wrap {
  position: sticky; top: 0; z-index: 100;
  background: var(--sticky-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 0 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.4s ease;
}

.progress-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; font-size: 13px;
}

.progress-label { color: var(--text-dim); font-weight: 500; }
.progress-count { color: var(--accent); font-weight: 600; font-variant-numeric: tabular-nums; }

.progress-bar {
  height: 4px;
  background: var(--progress-bg);
  border-radius: 100px;
  overflow: hidden;
}

.progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-text));
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ══════════════════════════════════════
   INSTRUCTIONS BOX
   ══════════════════════════════════════ */
.instructions {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.instructions h3 { font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.instructions p { font-size: 14px; color: var(--text-dim); margin-bottom: 8px; }
.instructions p:last-child { margin-bottom: 0; }
.instructions strong { color: var(--text); }

/* ══════════════════════════════════════
   QUIZ SECTIONS (progressive reveal)
   ══════════════════════════════════════ */
.quiz-section {
  opacity: 0;
  transform: translateY(24px);
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.5s ease, transform 0.5s ease, max-height 0.6s ease;
  pointer-events: none;
}

.quiz-section.active {
  opacity: 1;
  transform: translateY(0);
  max-height: 9999px;
  overflow: visible;
  pointer-events: auto;
}

/* ══════════════════════════════════════
   SECTION DIVIDER
   ══════════════════════════════════════ */
.section-divider {
  display: flex; align-items: center; gap: 12px;
  margin: 48px 0 24px;
}

.section-icon {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  font-size: 18px;
  flex-shrink: 0;
}

.section-divider h2 { font-size: 18px; font-weight: 700; }

.section-divider .section-sub {
  font-size: 12px; font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
}

/* ══════════════════════════════════════
   QUESTION CARD
   ══════════════════════════════════════ */
.question-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px;
  margin-bottom: 16px;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-card);
}

/* Diagnostico answer states */
.question-card.answered-positive {
  border-color: var(--green-border);
  background: var(--green-bg);
  box-shadow: var(--shadow-card-answered);
}

.question-card.answered-negative {
  border-color: var(--red-border);
  background: var(--red-bg);
  box-shadow: var(--shadow-card-answered);
}

.question-card.answered-neutral {
  border-color: var(--yellow-border);
  background: var(--yellow-bg);
  box-shadow: var(--shadow-card-answered);
}

/* Procrastinacao answer state */
.question-card.answered {
  border-color: rgba(108,92,231,0.25);
  box-shadow: var(--shadow-card-answered);
}

.question-number {
  font-size: 11px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.question-text {
  font-size: 16px; font-weight: 500;
  line-height: 1.5;
  margin-bottom: 20px;
}

.question-context {
  font-size: 13px;
  color: var(--text-dim);
  font-style: italic;
  margin-top: -12px;
  margin-bottom: 20px;
}

/* ══════════════════════════════════════
   OPTIONS (radio-style)
   ══════════════════════════════════════ */
.options { display: flex; flex-direction: column; gap: 8px; }

.option-btn {
  display: flex; align-items: flex-start; gap: 12px;
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  line-height: 1.5;
}

.option-btn:hover {
  background: var(--option-hover);
  border-color: var(--accent);
}

.option-btn .dot {
  width: 18px; height: 18px; min-width: 18px;
  border-radius: 50%;
  border: 2px solid var(--border);
  margin-top: 2px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.option-btn.selected .dot { border-width: 5px; }

/* Diagnostico colored states */
.option-btn.selected.positive {
  background: var(--green-bg); border-color: var(--green-border); color: var(--green);
}
.option-btn.selected.positive .dot { border-color: var(--green); }

.option-btn.selected.negative {
  background: var(--red-bg); border-color: var(--red-border); color: var(--red);
}
.option-btn.selected.negative .dot { border-color: var(--red); }

.option-btn.selected.neutral {
  background: var(--yellow-bg); border-color: var(--yellow-border); color: var(--yellow);
}
.option-btn.selected.neutral .dot { border-color: var(--yellow); }

.option-btn.dimmed { opacity: 0.35; pointer-events: none; }

/* Procrastinacao selected state */
.option-btn.selected:not(.positive):not(.negative):not(.neutral) {
  background: var(--accent-dim);
  border-color: rgba(108,92,231,0.35);
  color: var(--accent-text);
}
.option-btn.selected:not(.positive):not(.negative):not(.neutral) .dot {
  border-color: var(--accent); border-width: 5px;
}
.option-btn.not-selected { opacity: 0.4; pointer-events: none; }

/* ══════════════════════════════════════
   LIKERT SCALE (Bloco B — procrastinacao)
   ══════════════════════════════════════ */
.likert-wrap { margin-top: 4px; }

.likert-labels {
  display: flex; justify-content: space-between;
  font-size: 11px; color: var(--text-muted);
  margin-bottom: 10px;
  padding: 0 2px;
}

.likert-options {
  display: flex; gap: 8px; justify-content: center;
}

.likert-btn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 4px;
  font-family: 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
}

.likert-btn:hover {
  background: var(--option-hover);
  border-color: var(--accent);
  color: var(--accent);
}

.likert-btn.selected {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.likert-btn .likert-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: all 0.25s ease;
}

.likert-btn.selected .likert-dot { background: var(--accent); }
.likert-btn.not-selected { opacity: 0.4; pointer-events: none; }

/* ══════════════════════════════════════
   DISCRIMINATION BUTTONS (Bloco C — procrastinacao)
   ══════════════════════════════════════ */
.disc-options { display: flex; flex-direction: column; gap: 10px; }

.disc-btn {
  display: flex; align-items: flex-start; gap: 14px;
  width: 100%;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 16px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: left;
  line-height: 1.5;
}

.disc-btn:hover { background: var(--option-hover); border-color: var(--accent); }

.disc-btn .disc-letter {
  width: 26px; height: 26px; min-width: 26px;
  border-radius: 6px;
  background: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
  color: var(--text-muted);
  transition: all 0.25s ease;
  margin-top: 1px;
}

.disc-btn.selected {
  background: var(--accent-dim);
  border-color: rgba(108,92,231,0.4);
  color: var(--accent-text);
}

.disc-btn.selected .disc-letter {
  background: var(--accent);
  color: #fff;
}

.disc-btn.not-selected { opacity: 0.4; pointer-events: none; }

/* ══════════════════════════════════════
   SECTION COMPLETE INDICATOR
   ══════════════════════════════════════ */
.section-complete {
  display: none;
  align-items: center; justify-content: center; gap: 8px;
  padding: 14px;
  border-radius: 6px;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  color: var(--green);
  font-size: 13px; font-weight: 600;
  margin-top: 8px;
  margin-bottom: 16px;
  animation: fadeUp 0.4s ease;
}

.section-complete.visible { display: flex; }

/* ══════════════════════════════════════
   RESULTS (shared)
   ══════════════════════════════════════ */
.results-section {
  display: none;
  margin-top: 60px;
  animation: fadeUp 0.6s ease;
}

.results-section.visible { display: block; }

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

.results-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-card);
}

/* ── Score ring (diagnostico) ── */
.score-ring {
  width: 140px; height: 140px;
  margin: 0 auto 24px;
  position: relative;
}

.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring .track { fill: none; stroke: var(--border); stroke-width: 8; }

.score-ring .fill-arc {
  fill: none; stroke-width: 8; stroke-linecap: round;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.22, 1, 0.36, 1), stroke 0.4s ease;
}

.score-value {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  font-size: 36px; font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.score-value small {
  font-size: 12px; font-weight: 500;
  color: var(--text-dim); margin-top: 2px;
}

/* ── Profile badges (diagnostico) ── */
.profile-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px; font-weight: 600;
  margin-bottom: 16px;
}

.profile-badge.explorer {
  background: var(--accent-dim); color: var(--accent);
  border: 1px solid rgba(108,92,231,0.2);
}
.profile-badge.strategist {
  background: var(--green-bg); color: var(--green);
  border: 1px solid var(--green-border);
}
.profile-badge.protagonist {
  background: var(--yellow-bg); color: var(--yellow);
  border: 1px solid var(--yellow-border);
}

.profile-text {
  font-size: 15px; color: var(--text-dim);
  line-height: 1.7; margin-bottom: 24px;
}
.profile-text strong { color: var(--text); }

/* ── Profile primary (procrastinacao) ── */
.profile-primary {
  text-align: center;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 28px;
}

.primary-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px;
  border-radius: 100px;
  font-size: 15px; font-weight: 700;
  margin-bottom: 16px;
  background: var(--accent-dim);
  color: var(--accent);
  border: 1px solid rgba(108,92,231,0.25);
}

.primary-title {
  font-family: 'Inter', sans-serif;
  font-size: 22px; font-weight: 700;
  margin-bottom: 10px;
}

.primary-desc {
  font-size: 15px; color: var(--text-dim);
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 20px;
}
.primary-desc strong { color: var(--text); }

.neuro-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--yellow-bg);
  color: var(--yellow);
  border: 1px solid var(--yellow-border);
  border-radius: 100px;
  font-size: 12px; font-weight: 600;
  padding: 5px 14px;
  margin-top: 8px;
}

/* ── Secondary profiles (procrastinacao) ── */
.secondary-section h3 {
  font-size: 13px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
}

.secondary-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  margin-bottom: 10px;
  background: var(--bg);
  transition: border-color 0.2s ease;
}

.secondary-icon { font-size: 22px; line-height: 1; margin-top: 2px; }
.secondary-info { flex: 1; }
.secondary-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.secondary-desc { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* ── Score bars (procrastinacao) ── */
.score-bars-title {
  font-size: 13px; font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: 16px;
  margin-top: 28px;
}

.score-bar-item {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}

.score-bar-label {
  font-size: 13px; font-weight: 500;
  width: 140px; flex-shrink: 0;
  color: var(--text-dim);
}

.score-bar-track {
  flex: 1; height: 6px;
  background: var(--progress-bg);
  border-radius: 100px;
  overflow: hidden;
}

.score-bar-fill {
  height: 100%;
  border-radius: 100px;
  background: var(--accent);
  transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
  width: 0%;
}

.score-bar-fill.primary { background: var(--accent); }
.score-bar-fill.secondary { background: var(--yellow); }
.score-bar-fill.other { background: var(--border); }

.score-bar-value {
  font-size: 12px; font-weight: 700;
  color: var(--text-muted);
  width: 28px; text-align: right;
}

/* ── Insight list (shared) ── */
.insight-list { list-style: none; padding: 0; margin: 0; }

.insight-list li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 14px; color: var(--text-dim);
  line-height: 1.5;
}

.insight-list li:last-child { border-bottom: none; }

.insight-icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  font-size: 13px;
  margin-top: 1px;
}

/* ══════════════════════════════════════
   CTA / EMAIL (shared)
   ══════════════════════════════════════ */
.cta-card {
  background: var(--accent-dim);
  border: 1px solid rgba(108,92,231,0.15);
  border-radius: 6px;
  padding: 32px;
  text-align: center;
  margin-bottom: 20px;
}

.cta-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 22px; font-weight: 700;
  margin-bottom: 8px;
}

.cta-card p {
  color: var(--text-dim);
  font-size: 14px;
  margin-bottom: 24px;
  max-width: 440px;
  margin-left: auto; margin-right: auto;
}

.email-form {
  display: flex; gap: 10px;
  max-width: 440px;
  margin: 0 auto;
}

.email-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s ease;
}

.email-input::placeholder { color: var(--text-muted); }
.email-input:focus { border-color: var(--accent); }

.email-submit {
  background: var(--accent);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  padding: 14px 24px;
  border-radius: 6px;
  border: none; cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.email-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 20px rgba(108,92,231,0.35);
}

.email-submit:disabled {
  opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none;
}

.email-success {
  display: none;
  color: var(--green);
  font-size: 14px; font-weight: 500;
  margin-top: 12px;
}

.email-success.visible { display: block; }

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  margin-top: 60px;
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
}

.assessment { display: none; }
.assessment.visible { display: block; }

/* ══════════════════════════════════════
   HUB PAGE — test cards
   ══════════════════════════════════════ */
.hub-hero {
  text-align: center;
  padding: 60px 0 48px;
  background: var(--hero-gradient);
  border-radius: 0 0 6px 6px;
  margin: 0 -20px;
  padding-left: 20px;
  padding-right: 20px;
  animation: fadeUp .6s ease-out;
}

.hub-hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hub-hero p {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.hub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo span { color: var(--accent); }

.hub-theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all .2s;
}

.hub-theme-toggle:hover {
  border-color: var(--accent);
  transform: scale(1.05);
}

.order-hint {
  text-align: center;
  padding: 0 0 24px;
}

.order-hint p {
  font-size: 14px;
  color: var(--text-muted);
  background: var(--accent-dim);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  line-height: 1.5;
}

.order-hint strong {
  color: var(--accent-text);
  font-weight: 600;
}

.cards-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 24px 0 48px;
}

.test-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  transition: all .3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  opacity: 0;
  animation: fadeUp .5s ease-out forwards;
}

.test-card:nth-child(1) { animation-delay: .1s; }
.test-card:nth-child(2) { animation-delay: .2s; }
.test-card:nth-child(3) { animation-delay: .3s; }
.test-card:nth-child(4) { animation-delay: .4s; }

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

.test-card:active { transform: translateY(0); }

.test-card--disabled {
  opacity: 0;
  animation: fadeUp .5s ease-out forwards;
  cursor: default;
  pointer-events: none;
}

.test-card--disabled:hover {
  transform: none;
  box-shadow: var(--shadow-card);
  border-color: var(--border-subtle);
}

/* Reduce opacity for "em breve" cards after animation */
.test-card--disabled {
  filter: grayscale(0.1);
}

.step-number {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-top {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.test-card--validacao .card-icon { background: var(--accent-dim); }
.test-card--perfil .card-icon { background: var(--green-bg); }
.test-card--procrastinacao .card-icon { background: var(--orange-bg); }
.test-card--diagnostico .card-icon { background: var(--red-bg); }

.card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}

.tag--available {
  color: var(--green);
  background: var(--green-bg);
  border: 1px solid var(--green-border);
}

.tag--soon {
  color: var(--yellow);
  background: var(--yellow-bg);
  border: 1px solid var(--yellow-border);
}

.card-time {
  font-size: 13px;
  color: var(--text-muted);
}

.card-title {
  font-family: 'Inter', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.25;
}

.card-desc {
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.55;
  margin-bottom: 20px;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-questions {
  font-size: 13px;
  color: var(--text-muted);
}

.card-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-text);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s;
}

.test-card:hover .card-cta { gap: 10px; }

.card-cta-arrow {
  transition: transform .2s;
  font-size: 16px;
}

.test-card:hover .card-cta-arrow { transform: translateX(2px); }

.hub-cta-section {
  text-align: center;
  padding: 24px 0 60px;
  border-top: 1px solid var(--border-subtle);
}

.hub-cta-section p {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 20px;
  max-width: 440px;
  margin-left: auto;
  margin-right: auto;
}

.hub-cta-section a {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all .2s;
}

.hub-cta-section a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108,92,231,0.3);
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 500px) {
  .email-form { flex-direction: column; }
  .theme-toggle { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 16px; }
  .likert-options { gap: 5px; }
  .likert-btn { padding: 10px 2px; font-size: 12px; }
  .score-bar-label { width: 110px; font-size: 12px; }
  .hub-hero { padding: 40px 16px 36px; }
  .test-card { padding: 22px; }
  .card-title { font-size: 18px; }
  .card-desc { font-size: 14px; }
}
