:root {
  color-scheme: light;
  --brand: #5b2fed;
  --brand-hover: #6a40ee;
  --brand-deep: #4420bd;
  --brand-soft: #e2d3fb;
  --text: #14101a;
  --text-strong: #1b1326;
  --text-medium: #2a1340;
  --text-muted: #6e6385;
  --canvas: #ffffff;
  --surface: #fcfbfe;
  --lilac: #faf7fe;
  --warm: #faf6ef;
  --border: #eae4f2;
  --border-interactive: #8b7fa6;
  --success: #176b48;
  --success-bg: #ecf7f1;
  --warning: #7a591b;
  --warning-bg: #fbf1e2;
  --error: #a12b3a;
  --error-bg: #fff1f3;
  --focus: #5b2fed;
  --shadow: 0 12px 36px rgba(42, 19, 64, 0.08);
  --radius-field: 12px;
  --radius-card: 16px;
  --radius-feature: 22px;
  --topbar-height: 72px;
  /* aliases usados pelos componentes da SPEC-2026-001 */
  --brand-primary: var(--brand);
  --text-primary: var(--text);
  --surface-canvas: var(--canvas);
  --surface-subtle: var(--surface);
  --surface-lilac: var(--lilac);
  --success-text: var(--success);
  --success-surface: var(--success-bg);
  --error-text: var(--error);
  --focus-ring: var(--focus);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--surface);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text-strong);
  background: var(--surface);
  font-family: "Inter Tight", Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea,
summary {
  outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  box-shadow: 0 0 0 3px var(--canvas), 0 0 0 6px var(--focus);
}

#app:focus {
  box-shadow: none;
  outline: none;
}

a {
  color: var(--brand-deep);
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  transform: translateY(-160%);
  transition: transform 140ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--topbar-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 32px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), #7b50f8);
  box-shadow: 0 8px 20px rgba(91, 47, 237, 0.2);
}

.prototype-label {
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 700;
}

.role-switch {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--lilac);
}

.role-switch a {
  min-width: 104px;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px;
  border-radius: 10px;
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 600;
}

.role-switch a[aria-current="page"] {
  color: #fff;
  background: var(--brand);
}

.demo-banner {
  padding: 10px 24px;
  color: var(--warning);
  background: var(--warning-bg);
  border-bottom: 1px solid #ead7b3;
  text-align: center;
  font-size: 14px;
}

.app-shell {
  width: min(1480px, 100%);
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 300px;
}

.flow-sidebar,
.context-panel {
  position: sticky;
  top: 112px;
  align-self: start;
  max-height: calc(100vh - 112px);
  overflow-y: auto;
  padding: 28px 20px;
}

.flow-sidebar {
  border-right: 1px solid var(--border);
  background: var(--canvas);
}

.context-panel {
  border-left: 1px solid var(--border);
  background: var(--lilac);
}

#app {
  min-width: 0;
  padding: 48px clamp(24px, 5vw, 72px) 88px;
  background: var(--canvas);
}

.flow-heading {
  margin-bottom: 24px;
}

.flow-heading p,
.flow-heading h2 {
  margin: 0;
}

.flow-heading p {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.flow-heading h2 {
  margin-top: 4px;
  color: var(--text);
  font-size: 20px;
}

.flow-group {
  margin: 0 0 22px;
}

.flow-group-title {
  display: block;
  margin: 0 0 8px 10px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}

.flow-links {
  display: grid;
  gap: 4px;
}

.flow-link {
  min-height: 40px;
  display: grid;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 8px;
  padding: 7px 9px;
  border-radius: 10px;
  color: var(--text-medium);
  text-decoration: none;
  font-size: 14px;
}

.flow-link:hover {
  background: var(--lilac);
}

.flow-link[aria-current="step"] {
  color: var(--brand-deep);
  background: var(--brand-soft);
  font-weight: 700;
}

.flow-code {
  color: inherit;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.flow-link.is-complete .flow-code::before {
  content: "✓ ";
  color: var(--success);
}

.qa-panel,
.event-panel,
.context-card,
.info-disclosure {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--canvas);
}

.qa-panel {
  margin-top: 28px;
  padding: 14px;
}

.qa-panel summary,
.event-panel summary,
.info-disclosure summary {
  min-height: 36px;
  cursor: pointer;
  font-weight: 700;
}

.qa-panel label {
  display: block;
  margin: 14px 0 6px;
  color: var(--text-medium);
  font-size: 13px;
  font-weight: 600;
}

.qa-panel select {
  width: 100%;
  min-height: 44px;
  padding: 8px 10px;
  border: 1px solid var(--border-interactive);
  border-radius: 10px;
  color: var(--text);
  background: var(--canvas);
}

.full {
  width: 100%;
}

.qa-panel .button {
  margin-top: 12px;
}

.page {
  width: min(720px, 100%);
  margin: 0 auto;
}

.page.wide {
  width: min(960px, 100%);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.page h1 {
  margin: 0;
  max-width: 19ch;
  color: var(--text);
  font-size: clamp(30px, 5vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.page.wide h1 {
  max-width: 24ch;
}

.lead {
  max-width: 66ch;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.55;
}

.save-state {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--success);
  font-size: 14px;
  font-weight: 600;
}

.save-state::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.page-body {
  margin-top: 32px;
}

.card,
.feature-card,
.choice-card,
.metric-card,
.match-card,
.list-card,
.state-card {
  border: 1px solid var(--border);
  background: var(--canvas);
}

.card,
.choice-card,
.metric-card,
.match-card,
.list-card,
.state-card {
  border-radius: var(--radius-card);
}

.card,
.feature-card,
.match-card,
.state-card {
  padding: 22px;
}

.feature-card {
  border-radius: var(--radius-feature);
  background: linear-gradient(145deg, var(--lilac), #fff);
  box-shadow: var(--shadow);
}

.card h2,
.feature-card h2,
.match-card h2,
.state-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 21px;
  line-height: 1.3;
}

.card h3,
.feature-card h3,
.choice-card h3,
.metric-card h3,
.match-card h3,
.list-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.35;
}

.card p,
.feature-card p,
.choice-card p,
.match-card p,
.list-card p,
.state-card p {
  margin: 8px 0 0;
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: 14px;
}

.stack {
  display: grid;
  gap: 16px;
}

.stack.compact {
  gap: 10px;
}

.grid-2,
.grid-3,
.dashboard-grid,
.preview-grid,
.comparison-grid {
  display: grid;
  gap: 16px;
}

.grid-2,
.preview-grid,
.comparison-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dashboard-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
}

.field-group {
  display: grid;
  gap: 8px;
}

.field-group + .field-group {
  margin-top: 20px;
}

.field-group label,
.fieldset-label {
  color: var(--text);
  font-weight: 700;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--border-interactive);
  border-radius: var(--radius-field);
  color: var(--text);
  background: var(--canvas);
}

.field-group textarea {
  min-height: 118px;
  resize: vertical;
}

.field-group input:hover,
.field-group select:hover,
.field-group textarea:hover {
  border-color: var(--brand);
}

.field-hint {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

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

.choice-list {
  display: grid;
  gap: 12px;
  border: 0;
  padding: 0;
  margin: 0;
}

.choice-card {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  padding: 18px;
  cursor: pointer;
  transition: border-color 120ms ease, background 120ms ease, transform 120ms ease;
}

.choice-card:hover {
  border-color: var(--brand);
  transform: translateY(-1px);
}

.choice-card:has(input:checked) {
  border-color: var(--brand);
  background: var(--lilac);
  box-shadow: inset 0 0 0 1px var(--brand);
}

.choice-card input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--brand);
}

.choice-card p {
  color: var(--text-muted);
  font-size: 14px;
}

.button-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.button-cluster {
  display: flex;
  align-items: center;
  gap: 10px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  color: #fff;
  background: var(--brand);
}

.button.primary:hover {
  background: var(--brand-hover);
}

.button.secondary {
  color: var(--brand-deep);
  border-color: var(--brand);
  background: #fff;
}

.button.tertiary {
  color: var(--brand-deep);
  background: transparent;
}

.button.danger {
  color: #fff;
  background: var(--error);
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.badge,
.status,
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.badge,
.status {
  min-height: 28px;
  padding: 4px 10px;
}

.tag {
  min-height: 26px;
  padding: 3px 9px;
  color: var(--text-medium);
  background: var(--lilac);
  border: 1px solid var(--border);
}

.status.success {
  color: var(--success);
  background: var(--success-bg);
}

.status.warning {
  color: var(--warning);
  background: var(--warning-bg);
}

.status.error {
  color: var(--error);
  background: var(--error-bg);
}

.status.neutral,
.badge {
  color: var(--brand-deep);
  background: var(--brand-soft);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.clean-list,
.check-list,
.timeline,
.task-list,
.event-log {
  margin: 0;
  padding: 0;
  list-style: none;
}

.clean-list {
  display: grid;
  gap: 10px;
}

.clean-list li,
.check-list li,
.task-list li {
  position: relative;
  padding-left: 28px;
}

.clean-list li::before {
  content: "•";
  position: absolute;
  left: 8px;
  color: var(--brand);
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

.task-list {
  display: grid;
  gap: 12px;
  counter-reset: tasks;
}

.task-list li {
  counter-increment: tasks;
  padding: 14px 14px 14px 52px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.task-list li::before {
  content: counter(tasks);
  position: absolute;
  left: 14px;
  top: 13px;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.divider {
  height: 1px;
  margin: 22px 0;
  background: var(--border);
}

.vacancy-header {
  display: grid;
  gap: 20px;
}

.vacancy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.salary {
  margin-top: 18px;
  color: var(--text);
  font-size: 24px;
  font-weight: 700;
}

.section-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-header h2,
.section-header p {
  margin: 0;
}

.section-header p {
  color: var(--text-muted);
}

.edit-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}

.list-card {
  padding: 18px;
}

.list-card + .list-card {
  margin-top: 10px;
}

.list-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.metric-card {
  padding: 18px;
}

.metric-value {
  display: block;
  margin-top: 8px;
  color: var(--text);
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.progress-blocks {
  display: grid;
  gap: 10px;
}

.progress-item {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.progress-number {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  font-size: 13px;
  font-weight: 800;
}

.review-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.review-row:last-child {
  border-bottom: 0;
}

.review-row h3,
.review-row p {
  margin: 0;
}

.review-row p {
  margin-top: 5px;
  color: var(--text-muted);
}

.match-card {
  position: relative;
  overflow: hidden;
}

.match-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--brand);
}

.match-card.tension::before {
  background: var(--warning);
}

.match-card.gap::before {
  background: var(--text-muted);
}

.origin {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.timeline {
  display: grid;
  gap: 0;
}

.timeline li {
  position: relative;
  min-height: 64px;
  padding: 0 0 22px 34px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 7px;
  width: 12px;
  height: 12px;
  border: 3px solid var(--brand);
  border-radius: 50%;
  background: #fff;
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 13px;
  top: 22px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline li:last-child::after {
  display: none;
}

.timeline strong,
.timeline span {
  display: block;
}

.timeline span {
  margin-top: 3px;
  color: var(--text-muted);
  font-size: 14px;
}

.context-card {
  padding: 18px;
}

.context-card + .context-card {
  margin-top: 12px;
}

.context-card h2,
.context-card h3,
.context-card p {
  margin: 0;
}

.context-card h2 {
  color: var(--text);
  font-size: 19px;
}

.context-card h3 {
  color: var(--text);
  font-size: 15px;
}

.context-card p {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 14px;
}

.event-panel {
  margin-top: 14px;
  padding: 14px;
}

.event-panel > p {
  color: var(--text-muted);
  font-size: 13px;
}

.event-log {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.event-log li {
  padding: 9px;
  border-radius: 9px;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 12px;
  overflow-wrap: anywhere;
}

.state-card {
  text-align: left;
}

.state-card.loading {
  border-color: var(--brand-soft);
  background: var(--lilac);
}

.state-card.error {
  border-color: #efbbc3;
  background: var(--error-bg);
}

.state-card.offline {
  border-color: #ead7b3;
  background: var(--warning-bg);
}

.spinner {
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border: 4px solid var(--brand-soft);
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 900ms linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

.toast-region {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  width: min(360px, calc(100vw - 48px));
  pointer-events: none;
}

.toast {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  background: #fff;
  box-shadow: var(--shadow);
  font-weight: 600;
}

.mobile-nav {
  display: none;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1180px) {
  .app-shell {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .context-panel {
    display: none;
  }
}

@media (max-width: 820px) {
  :root {
    --topbar-height: 64px;
  }

  body {
    padding-bottom: 72px;
  }

  .topbar {
    min-height: var(--topbar-height);
    padding: 8px 20px;
  }

  .prototype-label,
  .role-switch {
    display: none;
  }

  .demo-banner {
    padding-inline: 20px;
    text-align: left;
  }

  .app-shell {
    min-height: auto;
    display: block;
  }

  .flow-sidebar {
    position: static;
    max-height: none;
    padding: 16px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .flow-heading {
    margin: 0;
  }

  .flow-heading h2 {
    font-size: 17px;
  }

  #flow-nav,
  .qa-panel {
    display: none;
  }

  #app {
    padding: 32px 20px 56px;
  }

  .page h1 {
    font-size: 31px;
  }

  .lead {
    font-size: 17px;
  }

  .grid-2,
  .grid-3,
  .dashboard-grid,
  .preview-grid,
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .button-cluster {
    display: grid;
  }

  .button-row .button,
  .button-cluster .button {
    width: 100%;
  }

  .mobile-nav {
    position: fixed;
    inset: auto 0 0;
    z-index: 50;
    min-height: 68px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 8px max(16px, env(safe-area-inset-right)) max(8px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    border-top: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
  }

  .mobile-nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 700;
  }

  .mobile-nav a[aria-current="page"] {
    color: var(--brand-deep);
    background: var(--brand-soft);
  }

  .toast-region {
    right: 16px;
    bottom: 82px;
    width: calc(100vw - 32px);
  }
}

@media (max-width: 420px) {
  .topbar {
    padding-inline: 16px;
  }

  .brand {
    font-size: 18px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  #app {
    padding-inline: 20px;
  }

  .card,
  .feature-card,
  .match-card,
  .state-card {
    padding: 18px;
  }

  .review-row {
    grid-template-columns: 1fr;
  }
}

/* Revisão de experiência v0.2 — shell de produto, tipografia e densidade */

[hidden] {
  display: none !important;
}

:root {
  --surface: #f7f7fa;
  --lilac: #f8f6fd;
  --border: #e5e2eb;
  --shadow: 0 8px 28px rgba(31, 24, 45, 0.06);
  --topbar-height: 68px;
}

body {
  background: var(--surface);
  font-family: Inter, "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, sans-serif;
  letter-spacing: -0.005em;
}

.topbar {
  min-height: var(--topbar-height);
  padding: 0 28px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.topbar-inner {
  width: min(1240px, 100%);
  min-height: var(--topbar-height);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
}

.brand {
  gap: 9px;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(91, 47, 237, 0.18);
}

.primary-nav {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.primary-nav > a,
.header-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 9px;
  color: #534b60;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.primary-nav > a:hover,
.primary-nav > a[aria-current="page"] {
  color: var(--text);
  background: #f2eff8;
}

.header-actions,
.workspace-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.workspace-name,
.save-chip {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
}

.save-chip {
  color: var(--success);
}

.save-chip::before {
  content: "✓";
  margin-right: 5px;
}

.avatar,
.company-avatar {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  color: var(--brand-deep);
  background: var(--brand-soft);
  font-size: 12px;
  font-weight: 800;
}

.avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
}

.company-avatar {
  width: 38px;
  height: 38px;
}

.company-avatar.large {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  font-size: 15px;
}

.flow-context {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.flow-context strong,
.flow-context small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flow-context strong {
  color: var(--text);
  font-size: 14px;
}

.flow-context small {
  color: var(--text-muted);
  font-size: 12px;
}

.lab-trigger {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 9px;
  color: var(--text-muted);
  background: #fff;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}

.lab-trigger:hover {
  color: var(--text);
  border-color: #c9c3d3;
}

.lab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.flow-progress {
  position: sticky;
  top: var(--topbar-height);
  z-index: 20;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
}

.flow-progress-inner {
  width: min(920px, calc(100% - 48px));
  min-height: 58px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
}

.progress-summary,
.progress-save {
  font-size: 13px;
  font-weight: 700;
}

.progress-summary {
  color: var(--text);
}

.progress-save {
  color: var(--success);
}

.flow-progress ol {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  list-style: none;
}

.flow-progress li {
  position: relative;
  min-width: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #8a8296;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.flow-progress li > a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  text-decoration: none;
}

.flow-progress li > a:hover span:last-child {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.flow-progress li + li::before {
  content: "";
  width: 26px;
  height: 1px;
  margin-right: 8px;
  background: #d8d3df;
}

.progress-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d8d3df;
}

.task-link {
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
  color: var(--text);
  text-decoration: none;
}

.task-link:hover {
  border-color: #cbbdef;
  background: var(--lilac);
}

.flow-progress li.is-current {
  color: var(--text);
}

.flow-progress li.is-current .progress-dot {
  width: 10px;
  height: 10px;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}

.flow-progress li.is-complete {
  color: var(--success);
}

.flow-progress li.is-complete .progress-dot,
.flow-progress li.is-complete + li::before {
  background: var(--success);
}

.app-shell {
  width: 100%;
  min-height: calc(100vh - var(--topbar-height));
  display: block;
}

#app {
  min-height: calc(100vh - var(--topbar-height));
  padding: 52px 32px 96px;
  background: transparent;
}

body[data-context="flow"] #app {
  padding-top: 42px;
}

.page {
  width: min(680px, 100%);
}

.page.wide {
  width: min(1120px, 100%);
}

.page-header {
  margin-bottom: 0;
}

.page h1 {
  max-width: 22ch;
  font-size: clamp(32px, 4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.page.wide h1 {
  max-width: 26ch;
}

.lead {
  max-width: 62ch;
  margin-top: 14px;
  color: #665e71;
  font-size: 17px;
  line-height: 1.55;
}

.eyebrow {
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.page-body {
  margin-top: 30px;
}

.focused-flow .page-body {
  width: min(600px, 100%);
}

.card,
.feature-card,
.choice-card,
.metric-card,
.match-card,
.list-card,
.state-card,
.profile-card,
.support-card,
.panel-section,
.next-action-card {
  border-color: var(--border);
  box-shadow: none;
}

.card,
.feature-card,
.match-card,
.state-card,
.profile-card,
.support-card,
.panel-section {
  padding: 24px;
}

.card,
.choice-card,
.metric-card,
.match-card,
.list-card,
.state-card,
.profile-card,
.support-card,
.panel-section,
.next-action-card {
  border-radius: 14px;
  background: #fff;
}

.feature-card {
  border-radius: 16px;
  background: #fff;
}

.choice-list {
  gap: 10px;
}

.choice-card {
  padding: 17px 18px;
  background: #fff;
}

.choice-card:hover {
  transform: none;
  border-color: #9e8ddb;
  background: #fcfbff;
}

.choice-card:has(input:checked) {
  border-color: var(--brand);
  background: #f8f5ff;
  box-shadow: inset 0 0 0 1px var(--brand);
}

.button {
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.button:hover {
  transform: none;
}

.button.primary {
  box-shadow: 0 5px 14px rgba(91, 47, 237, 0.18);
}

.button.secondary {
  border-color: #d6ccef;
  background: #fff;
}

.button.tertiary {
  padding-inline: 10px;
}

.button-row {
  width: min(600px, 100%);
  margin-top: 28px;
}

.transparency-note {
  width: min(600px, 100%);
  margin-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.transparency-note summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  cursor: pointer;
  color: var(--text-medium);
  font-size: 14px;
  font-weight: 700;
}

.transparency-note div {
  padding: 0 0 10px;
}

.transparency-note p {
  margin: 0 0 8px;
  font-size: 14px;
}

.job-intro {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: -6px;
}

.job-intro .company-name {
  margin: 5px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
}

.job-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 48px;
}

.job-main {
  gap: 0;
}

.content-section {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}

.content-section:first-child {
  padding-top: 8px;
}

.content-section:last-child {
  border-bottom: 0;
}

.content-section h2 {
  margin: 0 0 14px;
  color: var(--text);
  font-size: 21px;
  line-height: 1.25;
}

.content-section p {
  max-width: 66ch;
  margin: 0;
  color: #51495c;
}

.clean-tasks {
  gap: 0;
}

.clean-tasks li {
  min-height: auto;
  padding: 10px 0 10px 30px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.clean-tasks li::before {
  top: 12px;
  left: 0;
  width: 20px;
  height: 20px;
  color: var(--brand);
  background: var(--brand-soft);
  font-size: 11px;
}

.job-details-grid {
  gap: 36px;
}

.compact-section {
  border-bottom: 1px solid var(--border);
}

.learning-section .check-list li::before {
  content: "+";
  color: var(--brand);
}

.job-summary {
  position: sticky;
  top: 98px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}

.summary-label {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.summary-list {
  margin: 0 0 22px;
}

.summary-list > div {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
}

.summary-list dt,
.summary-list dd {
  margin: 0;
}

.summary-list dt {
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
}

.summary-list dd {
  margin-top: 3px;
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
}

.summary-list .salary {
  font-size: 17px;
}

.summary-note {
  margin: 12px 0 0;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
}

.horizontal-timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.horizontal-timeline li {
  min-height: auto;
  padding: 0;
}

.horizontal-timeline li::before,
.horizontal-timeline li::after {
  display: none;
}

.step-index {
  width: 28px;
  height: 28px;
  display: grid !important;
  place-items: center;
  margin-bottom: 10px;
  border-radius: 9px;
  color: var(--brand-deep) !important;
  background: var(--brand-soft);
  font-weight: 800;
}

.workspace-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.workspace-page h1 {
  font-size: 36px;
}

.next-action-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 28px;
  border: 1px solid #dcd3f4;
  background: linear-gradient(120deg, #faf8ff, #fff);
}

.next-action-card h2 {
  margin: 10px 0 4px;
  color: var(--text);
  font-size: 23px;
}

.next-action-card p {
  margin: 0;
  color: var(--text-muted);
}

.panel-section h2,
.profile-card h2,
.support-card h2 {
  margin: 0;
  color: var(--text);
  font-size: 20px;
}

.data-list {
  margin: 0 -8px -8px;
}

.data-row {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  padding: 12px 8px;
  border-top: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
}

.data-row:hover {
  background: var(--lilac);
}

.data-row strong,
.data-row small {
  display: block;
}

.data-row small {
  margin-top: 3px;
  color: var(--text-muted);
}

.row-arrow {
  color: var(--text-muted);
  font-size: 24px;
}

.vacancy-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.profile-card,
.support-card {
  border: 1px solid var(--border);
}

.profile-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.profile-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
}

.profile-card p,
.support-card p {
  margin: 8px 0 0;
  color: var(--text-muted);
}

.profile-completion {
  margin: 20px 0 16px;
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
}

.profile-completion strong {
  color: var(--text);
}

.text-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  color: var(--brand-deep);
  font-weight: 700;
  text-decoration: none;
}

.metrics-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 20px 0;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
}

.metrics-strip > div {
  padding: 20px 24px;
}

.metrics-strip > div + div {
  border-left: 1px solid var(--border);
}

.metrics-strip span,
.metrics-strip strong {
  display: block;
}

.metrics-strip span {
  color: var(--text-muted);
  font-size: 13px;
}

.metrics-strip strong {
  margin-top: 5px;
  color: var(--text);
  font-size: 26px;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(20, 16, 26, 0.34);
}

.lab-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 90;
  width: min(440px, 100vw);
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border);
  background: #fff;
  box-shadow: -20px 0 60px rgba(20, 16, 26, 0.16);
  transform: translateX(105%);
  transition: transform 180ms ease;
}

.lab-drawer.is-open {
  transform: translateX(0);
}

.drawer-open {
  overflow: hidden;
}

.lab-drawer-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.lab-drawer-header h2,
.lab-kicker {
  margin: 0;
}

.lab-drawer-header h2 {
  color: var(--text);
  font-size: 18px;
}

.lab-kicker {
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  color: var(--text-muted);
  background: var(--surface);
  cursor: pointer;
  font-size: 24px;
}

.lab-drawer .demo-banner {
  padding: 12px 20px;
  text-align: left;
}

.lab-drawer .role-switch {
  margin: 16px 20px 0;
}

.lab-drawer .role-switch a {
  flex: 1;
}

.lab-scroll {
  overflow-y: auto;
  padding: 20px;
}

.lab-section + .lab-section {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.lab-drawer .flow-heading {
  margin-bottom: 18px;
}

.lab-drawer .qa-panel {
  margin-top: 22px;
}

.context-card {
  padding: 14px 0;
  border: 0;
  border-radius: 0;
}

.context-card + .context-card {
  margin-top: 0;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .topbar-inner {
    gap: 20px;
  }

  .primary-nav > a:nth-last-child(n + 4) {
    display: none;
  }

  .workspace-name,
  .progress-save {
    display: none;
  }

  .flow-progress-inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .job-layout {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 28px;
  }
}

@media (max-width: 820px) {
  :root {
    --topbar-height: 60px;
  }

  body,
  body.has-mobile-nav {
    padding-bottom: 0;
  }

  body.has-mobile-nav #app {
    padding-bottom: 104px;
  }

  .topbar {
    min-height: var(--topbar-height);
    padding: 0 18px;
  }

  .topbar-inner {
    min-height: var(--topbar-height);
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand {
    font-size: 17px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .primary-nav > a,
  .header-link,
  .workspace-label .avatar {
    display: none;
  }

  .flow-context {
    width: 100%;
  }

  .flow-context .company-avatar {
    display: none;
  }

  .flow-context strong {
    font-size: 13px;
  }

  .lab-trigger {
    display: none;
  }

  body[data-context="flow"] .brand > span:not(.brand-mark) {
    display: none;
  }

  .flow-progress-inner {
    width: 100%;
    min-height: 56px;
    padding: 0 18px;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .progress-summary {
    display: none;
  }

  .flow-progress ol {
    justify-content: center;
  }

  .flow-progress li {
    min-width: 0;
    flex: 0 1 auto;
    gap: 5px;
    font-size: 11px;
  }

  .flow-progress li > a {
    gap: 5px;
  }

  .flow-progress li span:last-child {
    display: none;
  }

  .flow-progress li.is-current span:last-child {
    display: inline;
  }

  .flow-progress li + li::before {
    width: clamp(8px, 4vw, 20px);
    margin-right: 4px;
  }

  #app,
  body[data-context="flow"] #app {
    padding: 30px 20px 72px;
  }

  .page h1,
  .workspace-page h1 {
    font-size: 31px;
  }

  .lead {
    font-size: 16px;
  }

  .page-body {
    margin-top: 26px;
  }

  .job-layout {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .job-summary {
    position: static;
    grid-row: 1;
    margin-top: 6px;
    box-shadow: none;
  }

  .job-main {
    grid-row: 2;
  }

  .job-details-grid,
  .horizontal-timeline {
    grid-template-columns: 1fr;
  }

  .horizontal-timeline {
    gap: 20px;
  }

  .content-section {
    padding: 24px 0;
  }

  .workspace-heading,
  .next-action-card {
    align-items: stretch;
    flex-direction: column;
  }

  .next-action-card {
    padding: 22px;
  }

  .next-action-card .button,
  .workspace-heading .button {
    width: 100%;
  }

  .metrics-strip {
    grid-template-columns: 1fr;
  }

  .metrics-strip > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
  }

  .metrics-strip > div + div {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .metrics-strip strong {
    margin: 0;
    font-size: 21px;
  }

  .data-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .task-link {
    grid-template-columns: 30px minmax(0, 1fr) auto;
  }

  .task-link .status {
    display: none;
  }

  .data-row .status {
    display: none;
  }

  .vacancy-row {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .mobile-nav:not([hidden]) {
    min-height: 70px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 7px max(10px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
  }

  .mobile-nav a {
    min-width: 0;
    padding: 4px;
    font-size: 11px;
    text-align: center;
  }

  .button-row {
    margin-top: 24px;
    padding-top: 20px;
  }

  .toast-region {
    bottom: 20px;
  }

  body.has-mobile-nav .toast-region {
    bottom: 82px;
  }
}

@media (max-width: 420px) {
  .card,
  .feature-card,
  .match-card,
  .state-card,
  .profile-card,
  .support-card,
  .panel-section {
    padding: 20px;
  }

  .job-summary {
    padding: 20px;
  }
}

/* SPEC-2026-001 — objetos permanentes e fluxos focados */

.object-bar {
  width: min(1280px, calc(100% - 48px));
  min-height: 58px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.object-bar > a,
.text-link {
  color: var(--brand-primary);
  font-weight: 650;
  text-decoration: none;
}

.object-bar > span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.object-bar strong,
.object-bar small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.object-bar small,
.save-indicator {
  color: var(--text-muted);
  font-size: 12px;
}

.vacancy-layout,
.candidate-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
}

.vacancy-summary {
  position: sticky;
  top: 112px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--surface-canvas);
  box-shadow: 0 14px 40px rgba(43, 24, 67, 0.08);
}

.vacancy-summary dl,
.detail-list {
  margin: 22px 0;
}

.vacancy-summary dl > div,
.detail-list > div {
  display: grid;
  grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1.2fr);
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.vacancy-summary dt,
.detail-list dt {
  color: var(--text-muted);
}

.vacancy-summary dd,
.detail-list dd {
  margin: 0;
  font-weight: 600;
}

.vacancy-summary small {
  display: block;
  margin-top: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

.content-section,
.task-panel,
.review-panel,
.filter-bar,
.reviewer-task {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-canvas);
  padding: 28px;
}

.content-section + .content-section {
  margin-top: 0;
}

.content-section h2,
.task-panel h2,
.review-panel h2 {
  font-size: 21px;
  letter-spacing: -0.025em;
}

.content-section h3 {
  margin-top: 22px;
  font-size: 16px;
}

.transparency-panel,
.purpose-note {
  padding: 20px 22px;
  border-left: 3px solid var(--brand-primary);
  border-radius: 0 12px 12px 0;
  background: var(--surface-lilac);
}

.transparency-panel h2 {
  margin-bottom: 6px;
  font-size: 18px;
}

.purpose-note {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-strong);
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.timeline li {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  position: relative;
}

.timeline li > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--border-interactive);
  border-radius: 100%;
  background: white;
  color: var(--brand-primary);
  font-weight: 700;
  font-size: 13px;
}

.condition-group {
  border: 0;
  padding: 0 0 26px;
  margin: 0 0 26px;
  border-bottom: 1px solid var(--border);
}

.condition-group legend {
  width: 100%;
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 650;
}

.segmented-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.segmented-options label {
  cursor: pointer;
}

.segmented-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented-options span {
  min-height: 48px;
  display: grid;
  place-items: center;
  padding: 10px 14px;
  border: 1px solid var(--border-interactive);
  border-radius: 12px;
  background: white;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}

.segmented-options input:checked + span {
  border-color: var(--brand-primary);
  box-shadow: inset 0 0 0 1px var(--brand-primary);
  background: var(--surface-lilac);
  color: var(--brand-primary);
}

.segmented-options input:focus-visible + span {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
}

.choice-card {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 14px;
}

.choice-card > span {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.choice-card small {
  color: var(--text-muted);
  line-height: 1.45;
}

.task-panel,
.panel-section {
  overflow: hidden;
}

.task-lines {
  margin: 18px -28px 24px;
  border-top: 1px solid var(--border);
}

.task-line {
  min-height: 68px;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 28px;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  text-decoration: none;
}

.task-line:hover {
  background: var(--surface-subtle);
}

.task-line.static {
  grid-template-columns: 30px minmax(0, 1fr);
  margin: 0 -8px;
  padding-inline: 8px;
}

.task-line > span:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.task-line small {
  color: var(--text-muted);
}

.task-state {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border-interactive);
  border-radius: 100%;
  color: var(--text-muted);
}

.task-state.done {
  border-color: var(--success-text);
  background: var(--success-surface);
  color: var(--success-text);
}

.profile-card,
.passport-hero {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-lilac);
  padding: 28px;
}

.passport-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.passport-section {
  margin-top: 20px;
}

.evidence-row {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.evidence-row:last-child {
  border-bottom: 0;
}

.evidence-row h3,
.evidence-row p {
  margin: 0;
}

.evidence-row small {
  color: var(--text-muted);
}

.scenario-context {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-subtle);
  font-size: 18px;
  line-height: 1.55;
}

.scenario-context details {
  margin-top: 18px;
  font-size: 14px;
}

.success-panel {
  padding: 32px;
  border: 1px solid #cce9dc;
  border-radius: 18px;
  background: var(--success-surface);
}

.success-panel h2 {
  margin: 14px 0 6px;
  font-size: 24px;
}

.match-list article {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.match-list article:last-child {
  border-bottom: 0;
}

.match-list p,
.match-list small {
  margin: 4px 0 0;
}

.match-list small {
  color: var(--text-muted);
}

.metrics-strip > a {
  display: block;
  padding: 20px 24px;
  color: var(--text-primary);
  text-decoration: none;
}

.metrics-strip > a + a {
  border-left: 1px solid var(--border);
}

.metrics-strip > a:hover {
  background: var(--surface-subtle);
}

.metrics-strip > a span,
.metrics-strip > a strong {
  display: block;
}

.metrics-strip > a span {
  color: var(--text-muted);
  font-size: 13px;
}

.metrics-strip > a strong {
  margin-top: 4px;
  font-size: 26px;
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  gap: 24px;
  align-items: start;
}

.span-all {
  grid-column: 1 / -1;
}

.subnav {
  display: flex;
  gap: 4px;
  margin-bottom: 28px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.subnav a {
  flex: 0 0 auto;
  padding: 12px 14px;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.subnav a[aria-current="page"] {
  border-bottom-color: var(--brand-primary);
  color: var(--brand-primary);
}

.preview-toolbar,
.candidate-object-header,
.section-header,
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.preview-frame {
  max-width: 760px;
  margin: 22px auto;
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
  box-shadow: 0 18px 50px rgba(43, 24, 67, 0.07);
}

.filter-bar {
  margin-bottom: 20px;
}

.filter-bar > div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.filter-controls label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.filter-controls select {
  min-height: 42px;
  padding: 0 32px 0 12px;
  border: 1px solid var(--border-interactive);
  border-radius: 10px;
  background: white;
}

.application-list {
  display: grid;
  gap: 14px;
}

.application-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: white;
}

.application-card-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.application-card h2,
.application-card p {
  margin: 0;
}

.application-card .button {
  margin-top: 18px;
}

.candidate-object-header {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.candidate-object-header h2,
.candidate-object-header p {
  margin: 6px 0 0;
}

.candidate-object-header .object-subtitle {
  margin-top: 10px;
  color: var(--text-muted);
  font-weight: 550;
}

.compare-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.compare-selector label {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid var(--border-interactive);
  border-radius: 100px;
  cursor: pointer;
}

.empty-state {
  padding: 48px 28px;
  border: 1px dashed var(--border-interactive);
  border-radius: 16px;
  text-align: center;
}

.object-identity {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 22px;
}

.error-message {
  margin-top: 14px;
  color: var(--error-text);
  font-weight: 600;
}

.mobile-nav-dot {
  width: 5px;
  height: 5px;
  display: block;
  margin: 0 auto 3px;
  border-radius: 100%;
  background: currentColor;
  opacity: 0.35;
}

.mobile-nav a[aria-current="page"] .mobile-nav-dot {
  opacity: 1;
}

@media (max-width: 820px) {
  .object-bar {
    width: 100%;
    min-height: 62px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    padding: 8px 18px;
  }

  .object-bar .save-indicator {
    display: none;
  }

  .object-bar > a {
    font-size: 0;
  }

  .object-bar > a::first-letter {
    font-size: 20px;
  }

  .vacancy-layout,
  .candidate-detail-layout,
  .workspace-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .vacancy-summary {
    position: static;
    grid-row: 1;
    box-shadow: none;
  }

  .vacancy-layout > .stack {
    grid-row: 2;
  }

  .segmented-options {
    grid-template-columns: minmax(0, 1fr);
  }

  .task-line {
    grid-template-columns: 28px minmax(0, 1fr) auto;
    padding-inline: 20px;
  }

  .task-line > .status {
    display: inline-flex;
  }

  .task-line > span:last-child {
    display: none;
  }

  .passport-hero,
  .candidate-object-header,
  .preview-toolbar,
  .filter-bar,
  .filter-bar > div,
  .application-card-main {
    align-items: stretch;
    flex-direction: column;
  }

  .passport-hero .button,
  .candidate-object-header .button {
    width: 100%;
  }

  .subnav {
    margin-inline: -20px;
    padding-inline: 20px;
  }

  .preview-frame {
    padding: 24px;
  }

  .metrics-strip > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
  }

  .metrics-strip > a + a {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .metrics-strip > a strong {
    margin: 0;
    font-size: 21px;
  }

  .data-row.application-row {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
  }

  .data-row.application-row .status {
    display: inline-flex;
    grid-column: 2;
    width: max-content;
    margin-top: 6px;
  }

  .data-row.application-row .row-arrow {
    display: none;
  }

  .application-card .button {
    width: 100%;
  }

  .content-section,
  .task-panel,
  .review-panel,
  .filter-bar,
  .reviewer-task {
    padding: 22px;
  }

  .comparison-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #app {
    padding-bottom: 104px;
  }
}

@media (max-width: 360px) {
  .object-bar {
    padding-inline: 14px;
  }

  #app,
  body[data-context="flow"] #app {
    padding-inline: 16px;
  }

  .content-section,
  .task-panel,
  .review-panel,
  .filter-bar,
  .reviewer-task,
  .application-card,
  .vacancy-summary,
  .passport-hero {
    padding: 18px;
  }

  .task-lines {
    margin-inline: -18px;
  }

  .task-line {
    padding-inline: 18px;
  }
}

/* SPEC-2026-002 — landing pública orientada por desejos */

.brand-logo-img {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  object-fit: contain;
}

.header-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.header-cta:hover {
  background: var(--brand-hover);
}

[hidden] {
  display: none !important;
}

body[data-page="landing"] {
  --landing-deep: #180a2c;
  --landing-ink: #17121f;
  --landing-cream: #f5f1e8;
  --landing-lilac: #c7afff;
  --landing-blue: #8ab9ff;
  background: var(--landing-cream);
}

body[data-page="landing"] .topbar {
  position: absolute;
  inset: 18px 0 auto;
  z-index: 40;
  padding: 0 26px;
  border: 0;
  background: transparent;
  backdrop-filter: none;
}

body[data-page="landing"] .topbar-inner {
  width: min(1180px, 100%);
  min-height: 64px;
  padding: 8px 10px 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 44px rgba(24, 10, 44, 0.16);
  backdrop-filter: blur(18px);
}

body[data-page="landing"] .brand {
  color: var(--landing-ink);
}

body[data-page="landing"] .primary-nav {
  justify-content: center;
}

body[data-page="landing"] .primary-nav > a {
  color: #4c4456;
}

body[data-page="landing"] .flow-progress,
body[data-page="landing"] .mobile-nav {
  display: none !important;
}

body[data-page="landing"] .app-shell,
body[data-page="landing"] #app {
  width: 100%;
  min-height: 100vh;
  padding: 0;
}

.landing-page {
  overflow: clip;
  color: var(--landing-ink);
  background: var(--landing-cream);
}

.landing-hero {
  position: relative;
  min-height: min(880px, calc(100vh - 28px));
  margin: 14px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border-radius: 34px;
  background: var(--landing-deep);
  isolation: isolate;
}

.hero-visual,
.hero-visual::after,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(20, 8, 36, 0.92) 0%, rgba(20, 8, 36, 0.76) 30%, rgba(20, 8, 36, 0.2) 60%, rgba(20, 8, 36, 0.04) 100%);
}

.hero-visual::after {
  content: "";
  z-index: 1;
  background: linear-gradient(180deg, rgba(16, 6, 30, 0.14), transparent 28%, transparent 68%, rgba(16, 6, 30, 0.42));
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: min(720px, 54%);
  padding: 150px clamp(34px, 6vw, 96px) 76px;
  color: #fff;
}

.landing-kicker,
.section-index {
  margin: 0 0 22px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f3ecff;
}

.landing-kicker span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--landing-lilac);
  box-shadow: 0 0 0 6px rgba(199, 175, 255, 0.15);
}

.hero-copy h1,
.landing-page h2 {
  font-family: "Segoe UI Variable Display", Inter, "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.hero-copy h1 {
  max-width: 11ch;
  margin: 0;
  color: #fff;
  font-size: clamp(58px, 6.7vw, 106px);
  line-height: 0.9;
  text-wrap: balance;
}

.hero-lead {
  max-width: 56ch;
  margin: 32px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.landing-page .button {
  min-height: 52px;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 15px;
  text-decoration: none;
}

.landing-primary {
  border: 1px solid var(--brand);
  color: #fff;
  background: var(--brand);
  box-shadow: 0 12px 28px rgba(91, 47, 237, 0.28);
}

.landing-primary:hover {
  color: #fff;
  background: var(--brand-hover);
}

.landing-secondary {
  border: 1px solid rgba(255, 255, 255, 0.52);
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.landing-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.hero-guardrail {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.hero-guardrail span {
  color: var(--landing-lilac);
}

.hero-product-card {
  position: absolute;
  z-index: 4;
  right: clamp(26px, 4.5vw, 72px);
  bottom: clamp(28px, 5vw, 78px);
  width: min(390px, 34vw);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 22px;
  color: var(--landing-ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 28px 70px rgba(12, 4, 23, 0.36);
  backdrop-filter: blur(20px);
  animation: hero-card-in 700ms 160ms both cubic-bezier(0.2, 0.7, 0.2, 1);
}

.product-card-top,
.product-signal,
.passport-head,
.passport-line,
.status-top,
.board-candidate,
.conversation-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-card-top {
  padding-bottom: 16px;
  border-bottom: 1px solid #e9e3ef;
}

.product-card-top span:last-child,
.product-signal span:last-child,
.passport-head span:last-child,
.passport-line span:last-child,
.status-top span:last-child,
.board-candidate span:nth-child(2) {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.product-card-top small,
.product-signal small,
.passport-head small,
.passport-line small,
.status-top small,
.board-candidate small {
  color: #6e6385;
  font-size: 12px;
}

.product-avatar,
.large-avatar {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.product-avatar {
  width: 38px;
  height: 38px;
}

.product-avatar.alt {
  color: var(--landing-deep);
  background: var(--landing-blue);
}

.product-signal {
  margin-top: 13px;
  padding: 13px;
  border-radius: 14px;
  background: #f4f0ff;
}

.product-signal.is-open {
  background: #f7f4ee;
}

.signal-icon {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: var(--brand);
  background: #fff;
  font-weight: 800;
}

.product-card-foot {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #6e6385;
  font-size: 11px;
}

.product-card-foot strong {
  color: var(--brand-deep);
}

.landing-value-strip {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 18px 28px;
  color: #41384d;
  background: var(--landing-cream);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.landing-value-strip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--brand);
}

.section-pad {
  padding: clamp(84px, 10vw, 160px) max(28px, calc((100vw - 1240px) / 2));
}

.landing-manifesto {
  color: var(--landing-ink);
  background: #fff;
}

.manifesto-grid,
.belonging-grid,
.company-pitch,
.product-story,
.trust-section {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: clamp(48px, 8vw, 132px);
  align-items: start;
}

.manifesto-grid h2,
.belonging-grid h2,
.section-heading h2,
.company-copy h2,
.trust-title h2,
.story-copy h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 0.98;
  text-wrap: balance;
}

.landing-page h2 em {
  color: var(--brand);
  font-style: normal;
}

.manifesto-copy {
  padding-top: 8px;
}

.manifesto-copy p,
.section-heading > p,
.company-copy > p,
.story-copy > p,
.belonging-note p {
  max-width: 58ch;
  margin: 0 0 20px;
  color: #5c5366;
  font-size: 18px;
  line-height: 1.65;
}

.how-section {
  background: var(--landing-cream);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: 48px;
  align-items: end;
  margin-bottom: 60px;
}

.section-heading > p {
  margin: 0;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.how-card {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  border: 1px solid rgba(24, 10, 44, 0.1);
  border-radius: 24px;
}

.how-card-copy {
  padding: 28px 26px 24px;
}

.how-number {
  color: rgba(23, 18, 31, 0.44);
  font-size: 12px;
  font-weight: 800;
}

.how-tag,
.persona-tag,
.match-label {
  width: max-content;
  margin: 36px 0 13px;
  padding: 5px 10px;
  border: 1px solid currentColor;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.how-card h3 {
  margin: 0;
  font-size: clamp(27px, 2.1vw, 34px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.how-card-copy > p:last-child {
  margin: 18px 0 0;
  color: rgba(23, 18, 31, 0.72);
  line-height: 1.5;
}

.tone-cream { background: #fff; }
.tone-lilac { background: #ddceff; }
.tone-blue { background: var(--landing-blue); }
.tone-dark { color: #fff; background: var(--landing-deep); }
.tone-dark .how-number,
.tone-dark .how-card-copy > p:last-child { color: rgba(255, 255, 255, 0.7); }

.mini-window {
  min-height: 300px;
  margin: 0 14px 14px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid rgba(24, 10, 44, 0.16);
  border-radius: 18px 18px 12px 12px;
  color: var(--landing-ink);
  background: #fff;
  box-shadow: 0 18px 45px rgba(24, 10, 44, 0.12);
}

.mini-window strong,
.mini-window small {
  display: block;
}

.mini-window > strong {
  margin-top: 24px;
  font-size: 19px;
}

.mini-window > small {
  margin-top: 5px;
  color: #6e6385;
}

.mini-bar {
  display: flex;
  gap: 5px;
}

.mini-bar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7cde3;
}

.job-window ul {
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.job-window li {
  padding: 10px 0;
  border-top: 1px solid #ece7f1;
  font-size: 13px;
}

.mini-action {
  display: inline-flex;
  margin-top: 16px;
  color: var(--brand-deep);
  font-size: 13px;
  font-weight: 800;
}

.passport-head {
  padding-bottom: 18px;
  border-bottom: 1px solid #ece7f1;
}

.passport-line {
  padding: 15px 0;
  border-bottom: 1px solid #f0ecf3;
}

.passport-line > span:first-child {
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--brand);
  background: #f1ebff;
  font-size: 11px;
  font-weight: 800;
}

.match-label {
  margin: 0 0 12px;
  color: var(--brand-deep);
}

.match-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 15px 0;
  border-bottom: 1px solid #ece7f1;
}

.match-row > span {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  color: var(--brand-deep);
  background: #f1ebff;
  font-weight: 800;
}

.match-row p {
  margin: 0;
}

.match-row small {
  margin-top: 4px;
  color: #6e6385;
}

.status-window ol {
  margin: 26px 0 0;
  padding: 0 0 0 19px;
  list-style: none;
  border-left: 1px solid #d9d1e2;
}

.status-window li {
  position: relative;
  padding: 0 0 25px 16px;
  color: #6e6385;
  font-size: 13px;
}

.status-window li::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #c9c0d4;
  box-shadow: 0 0 0 1px #c9c0d4;
}

.status-window li.done::before,
.status-window li.active::before { background: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.status-window li.active { color: var(--landing-ink); font-weight: 800; }

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 5px #eee7ff;
}

.product-story {
  align-items: center;
  color: #fff;
  background: var(--landing-deep);
}

.story-copy .section-index,
.light-index {
  color: var(--landing-lilac);
}

.story-copy h2 {
  color: #fff;
}

.story-copy > p {
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.72);
}

.story-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}

.story-pills span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 100px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
}

.text-link {
  display: inline-flex;
  gap: 8px;
  color: var(--brand-deep);
  font-weight: 800;
  text-underline-offset: 5px;
}

.text-link.light {
  color: #fff;
}

.conversation-frame {
  width: min(520px, 100%);
  justify-self: end;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 24px;
  color: var(--landing-ink);
  background: #fff;
  box-shadow: 36px 36px 0 var(--brand);
  transform: rotate(1.2deg);
}

.conversation-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e9e3ef;
  color: #6e6385;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.conversation-person {
  margin: 24px 0;
}

.large-avatar {
  width: 52px;
  height: 52px;
  font-size: 13px;
}

.conversation-person strong,
.conversation-person small {
  display: block;
}

.conversation-person small {
  color: #6e6385;
}

.question-card {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  margin-top: 10px;
  padding: 15px;
  border-radius: 14px;
  background: #f5f1ff;
}

.question-card span {
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.question-card p,
.conversation-note p {
  margin: 0;
  line-height: 1.45;
}

.conversation-note {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e9e3ef;
}

.conversation-note p {
  margin-top: 5px;
  color: #6e6385;
  font-size: 13px;
}

.belonging-section {
  background: #dfceff;
}

.belonging-note {
  padding-top: 10px;
}

.belonging-note span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 11px;
  border-radius: 100px;
  color: #fff;
  background: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.persona-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.persona-grid article {
  min-height: 390px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-radius: 22px;
  background: #fff;
}

.persona-shape {
  width: 100%;
  height: 145px;
  display: block;
  border-radius: 18px 18px 54px 18px;
  background: linear-gradient(135deg, var(--brand), #9b73ff);
}

.persona-shape.two {
  border-radius: 90px 18px 18px;
  background: linear-gradient(135deg, var(--landing-blue), #d2e5ff);
}

.persona-shape.three {
  border-radius: 18px 78px 18px 78px;
  background: linear-gradient(135deg, #ffaf77, #ffe2c8);
}

.persona-tag {
  margin: 24px 0 13px;
  color: var(--brand-deep);
}

.persona-grid h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.persona-grid small {
  margin-top: auto;
  padding-top: 20px;
  color: #6e6385;
}

.trust-section {
  color: var(--landing-ink);
  background: #fff;
}

.trust-list article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid #dfd8e5;
}

.trust-list > article > span {
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.trust-list h3 {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.025em;
}

.trust-list p {
  margin: 7px 0 0;
  color: #6e6385;
}

.company-pitch {
  align-items: center;
  background: var(--landing-cream);
}

.company-copy > p {
  margin-top: 28px;
}

.company-pitch .landing-secondary {
  border-color: #cfc4d8;
  color: var(--landing-ink);
  background: #fff;
}

.company-board {
  padding: 26px;
  border: 1px solid #d9d0df;
  border-radius: 24px;
  background: #fff;
  box-shadow: 22px 22px 0 #d7c5ff;
}

.company-board-head {
  display: flex;
  justify-content: space-between;
  color: #6e6385;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.board-status {
  padding: 5px 9px;
  border-radius: 100px;
  color: #176b48;
  background: #ecf7f1;
}

.company-board h3 {
  margin: 28px 0 22px;
  font-size: 28px;
  letter-spacing: -0.04em;
}

.board-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-block: 1px solid #e6dfe9;
}

.board-metrics div {
  padding: 18px 10px;
}

.board-metrics div + div {
  border-left: 1px solid #e6dfe9;
}

.board-metrics strong {
  display: block;
  font-size: 26px;
}

.board-metrics small {
  color: #6e6385;
}

.board-candidate {
  padding: 17px 0;
  border-bottom: 1px solid #ede8f0;
}

.board-candidate > span:last-child {
  margin-left: auto;
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 800;
}

.closing-cta {
  text-align: center;
  color: #fff;
  background: var(--brand);
}

.closing-cta h2 {
  max-width: 11ch;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(58px, 8vw, 116px);
  line-height: 0.88;
}

.closing-cta h2 em {
  color: #d9c9ff;
}

.closing-cta > p {
  max-width: 56ch;
  margin: 34px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.closing-button {
  margin-top: 30px;
  color: var(--brand-deep);
  background: #fff;
}

.landing-footer {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto auto;
  gap: 28px;
  align-items: center;
  padding: 34px max(28px, calc((100vw - 1240px) / 2));
  color: rgba(255, 255, 255, 0.72);
  background: var(--landing-deep);
  font-size: 13px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #fff;
  text-decoration: none;
  font-size: 17px;
}

.landing-footer p,
.landing-footer small {
  margin: 0;
}

.landing-footer nav {
  display: flex;
  gap: 18px;
}

.landing-footer nav a {
  color: #fff;
  text-underline-offset: 4px;
}

@keyframes hero-card-in {
  from { opacity: 0; transform: translateY(18px) rotate(1deg); }
  to { opacity: 1; transform: translateY(0) rotate(0); }
}

@media (max-width: 1120px) {
  .hero-copy {
    width: 62%;
  }

  .hero-product-card {
    width: min(360px, 38vw);
  }

  .how-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .how-card {
    min-height: 620px;
  }
}

@media (max-width: 820px) {
  body[data-page="landing"] .topbar {
    inset: 10px 0 auto;
    padding: 0 12px;
  }

  body[data-page="landing"] .topbar-inner {
    min-height: 58px;
    grid-template-columns: auto 1fr;
    padding: 7px 8px 7px 11px;
    border-radius: 15px;
  }

  body[data-page="landing"] .primary-nav,
  body[data-page="landing"] .workspace-label .header-link {
    display: none;
  }

  body[data-page="landing"] .header-actions {
    justify-self: end;
  }

  body[data-page="landing"] .header-cta {
    min-height: 40px;
    padding-inline: 13px;
    font-size: 13px;
  }

  .landing-hero {
    min-height: 900px;
    margin: 6px;
    align-items: start;
    border-radius: 24px;
  }

  .hero-visual img {
    object-position: 63% center;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(20, 8, 36, 0.94) 0%, rgba(20, 8, 36, 0.77) 44%, rgba(20, 8, 36, 0.24) 72%, rgba(20, 8, 36, 0.68) 100%);
  }

  .hero-copy {
    width: 100%;
    padding: 108px 24px 28px;
  }

  .hero-copy h1 {
    max-width: 12ch;
    font-size: clamp(48px, 13vw, 72px);
    line-height: 0.92;
  }

  .hero-lead {
    max-width: 40ch;
    margin-top: 22px;
    font-size: 17px;
  }

  .hero-product-card {
    right: 18px;
    bottom: 22px;
    width: min(380px, calc(100% - 36px));
    padding: 17px;
  }

  .manifesto-grid,
  .belonging-grid,
  .company-pitch,
  .product-story,
  .trust-section,
  .section-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .section-heading {
    margin-bottom: 42px;
  }

  .manifesto-grid h2,
  .belonging-grid h2,
  .section-heading h2,
  .company-copy h2,
  .trust-title h2,
  .story-copy h2 {
    font-size: clamp(44px, 10.5vw, 66px);
  }

  .conversation-frame {
    justify-self: start;
    box-shadow: 16px 16px 0 var(--brand);
    transform: none;
  }

  .persona-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .persona-grid article {
    min-height: 350px;
  }

  .landing-footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }
}

@media (max-width: 580px) {
  .landing-hero {
    min-height: 1000px;
  }

  .landing-hero .hero-actions .landing-secondary {
    display: none;
  }

  .landing-value-strip {
    justify-content: flex-start;
    gap: 12px;
    padding-inline: 22px;
    font-size: 10px;
  }

  .landing-value-strip i:nth-of-type(2) {
    display: none;
  }

  .section-pad {
    padding: 84px 22px;
  }

  .how-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .how-card {
    min-height: 590px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .button {
    justify-content: center;
  }

  .hero-guardrail {
    align-items: flex-start;
  }

  .product-card-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .board-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .board-metrics div + div {
    border-top: 1px solid #e6dfe9;
    border-left: 0;
  }

  .company-board {
    padding: 20px;
    box-shadow: 10px 10px 0 #d7c5ff;
  }

  .board-candidate {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .board-candidate > span:last-child {
    width: 100%;
    margin-left: 50px;
  }

  .closing-cta h2 {
    font-size: clamp(52px, 15vw, 76px);
  }

  .landing-footer nav {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 360px) {
  body[data-page="landing"] .brand {
    font-size: 17px;
  }

  body[data-page="landing"] .brand-logo-img {
    width: 32px;
    height: 32px;
  }

  body[data-page="landing"] .header-cta {
    padding-inline: 11px;
    font-size: 12px;
  }

  .landing-hero {
    min-height: 1020px;
  }

  .hero-copy {
    padding-inline: 19px;
  }

  .hero-copy h1 {
    font-size: 46px;
  }

  .hero-product-card {
    right: 12px;
    bottom: 14px;
    width: calc(100% - 24px);
  }

  .section-pad {
    padding-inline: 18px;
  }

  .how-card-copy,
  .persona-grid article,
  .conversation-frame {
    padding: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-product-card {
    animation: none;
  }
}

/* SPEC-2026-003 — continuidade, exploração e portal de vagas */

.page-transition {
  position: fixed;
  z-index: 200;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 16px;
  color: #fff;
  background: rgba(24, 10, 44, 0.97);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 180ms ease, visibility 180ms step-end;
}

.page-transition strong {
  font-size: clamp(17px, 2vw, 22px);
  letter-spacing: -0.02em;
}

.page-transition-mark {
  width: 38px;
  height: 38px;
  margin-inline: auto;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: #c7afff;
  border-radius: 50%;
  animation: transition-spin 700ms linear infinite;
}

body.route-leaving .page-transition {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 180ms ease, visibility 0ms;
}

body.route-entering #app {
  animation: route-content-in 400ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes transition-spin {
  to { transform: rotate(360deg); }
}

@keyframes route-content-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 620ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.opportunities-section {
  overflow: clip;
  padding-right: 0;
  color: #fff;
  background: var(--landing-deep);
}

.opportunities-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: end;
  max-width: 1240px;
  padding-right: max(28px, calc((100vw - 1240px) / 2));
}

.opportunities-heading h2 {
  max-width: 13ch;
  margin: 18px 0 0;
  color: #fff;
}

.opportunities-heading h2 em {
  color: var(--landing-lilac);
}

.opportunities-intro {
  padding-bottom: 7px;
}

.opportunities-intro p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.55;
}

.opportunities-intro span {
  display: inline-block;
  margin-top: 18px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
}

.opportunity-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  max-width: 1240px;
  margin-top: 42px;
  padding-right: max(28px, calc((100vw - 1240px) / 2));
}

.opportunity-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background: transparent;
  font: inherit;
  font-size: 20px;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.opportunity-controls button:hover {
  color: var(--landing-deep);
  background: #fff;
  transform: translateY(-2px);
}

.opportunity-controls span {
  min-width: 64px;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
  font-size: 13px;
}

.opportunity-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(360px, 570px);
  gap: 22px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  margin-top: 20px;
  padding: 8px max(28px, calc((100vw - 1240px) / 2)) 24px 0;
  scroll-padding-inline: 0 max(28px, calc((100vw - 1240px) / 2));
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.opportunity-rail::-webkit-scrollbar {
  display: none;
}

.opportunity-rail:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 6px;
}

.opportunity-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto auto;
  gap: 26px;
  min-height: 590px;
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid rgba(24, 10, 44, 0.16);
  border-radius: 28px;
  color: var(--landing-ink);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.opportunity-card.tone-lilac { background: var(--landing-lilac); }
.opportunity-card.tone-blue { background: var(--landing-blue); }
.opportunity-card.tone-cream { background: var(--landing-cream); }

.opportunity-card-top {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.35;
  text-transform: uppercase;
}

.opportunity-card-top span:last-child {
  max-width: 30ch;
  text-align: right;
}

.opportunity-company {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
}

.opportunity-card h3 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(36px, 4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.opportunity-place {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 1.5;
}

.opportunity-card ul {
  display: grid;
  gap: 10px;
  align-content: start;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(24, 10, 44, 0.18);
  list-style: none;
}

.opportunity-card li {
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}

.opportunity-card li::before {
  position: absolute;
  left: 0;
  content: "↗";
}

.opportunity-support {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(24, 10, 44, 0.18);
  border-radius: 14px;
}

.opportunity-support span {
  font-size: 11px;
  text-transform: uppercase;
}

.opportunity-link {
  justify-content: space-between;
  width: 100%;
  color: #fff;
  background: var(--landing-deep);
}

.opportunity-link:hover {
  color: #fff;
  background: #2e1650;
  transform: translateY(-2px);
}

.opportunity-hint {
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: 1240px;
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

@media (max-width: 820px) {
  body[data-page="landing"] .primary-nav {
    display: none;
  }

  body[data-page="landing"] .workspace-label .header-link {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding-inline: 15px;
    border: 1px solid var(--landing-ink);
    border-radius: 10px;
    color: var(--landing-ink);
    font-weight: 750;
    text-decoration: none;
  }

  body[data-page="landing"] .header-cta {
    display: none;
  }

  .opportunities-heading {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding-right: 22px;
  }

  .opportunity-controls {
    justify-content: flex-start;
    padding-right: 22px;
  }

  .opportunity-rail {
    grid-auto-columns: min(82vw, 480px);
    padding-right: 18vw;
  }
}

@media (max-width: 580px) {
  .opportunities-section {
    padding-right: 0;
  }

  .opportunity-rail {
    grid-auto-columns: min(86vw, 390px);
    gap: 14px;
    padding-right: 14vw;
  }

  .opportunity-card {
    min-height: 570px;
    padding: 24px;
    border-radius: 22px;
  }

  .opportunity-card h3 {
    font-size: clamp(38px, 11vw, 50px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-transition,
  .page-transition-mark,
  body.route-entering #app,
  .reveal-section,
  .opportunity-controls button,
  .opportunity-link {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .reveal-section {
    opacity: 1;
  }
}
