/* Contraste refinado para a identidade Maternidade Intencionalmente Crista */
:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #050706;
  --bg-elev: #090c0a;
  --card: #101411;
  --card-2: #151a16;
  --hover: #1b211d;
  --border: #283029;
  --border-strong: #414c43;
  --text: #ffffff;
  --text-2: #ffffff;
  --muted: #c7ceca;
  --faint: #98a29b;
  --accent: #b9d1a7;
  --accent-strong: #d7e9ca;
  --accent-ink: #0d140f;
  --accent-soft: #b9d1a71f;
  --accent-line: #b9d1a75c;
  --warm-highlight: #dda477;
  --gold: #d4a05d;
  --c-green: #b9d1a7;
  --c-amber: #dda477;
  --hero-glow: #b9d1a71c;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f6f2;
  --bg-elev: #ffffff;
  --card: #ffffff;
  --card-2: #edf2ec;
  --hover: #e7eee5;
  --border: #d7e0d6;
  --border-strong: #bdcbbb;
  --text: #162019;
  --text-2: #344139;
  --muted: #5f6e64;
  --faint: #7e8d82;
  --accent: #718b60;
  --accent-strong: #587047;
  --accent-ink: #ffffff;
  --accent-soft: #718b601a;
  --accent-line: #718b604d;
  --warm-highlight: #a96343;
  --gold: #a96d37;
  --c-green: #718b60;
  --c-amber: #a96343;
  --hero-glow: #718b601c;
}

/* O terracota guia o olhar; o salvia continua reservado a acoes e progresso. */
.greet > .eyebrow,
.hero .eyebrow.accent,
.mic-diagnostic-cover .eyebrow {
  color: var(--warm-highlight);
}

:root[data-theme="dark"] .brand-name,
:root[data-theme="dark"] .nav-item,
:root[data-theme="dark"] .hero-title,
:root[data-theme="dark"] .stage-title,
:root[data-theme="dark"] .page-head h1 {
  color: #ffffff;
}

:root[data-theme="dark"] h1,
:root[data-theme="dark"] h2,
:root[data-theme="dark"] h3,
:root[data-theme="dark"] h4,
:root[data-theme="dark"] h5,
:root[data-theme="dark"] h6,
:root[data-theme="dark"] .display,
:root[data-theme="dark"] .nav-item,
:root[data-theme="dark"] .route-label,
:root[data-theme="dark"] .btn.ghost {
  color: #ffffff;
}

:root[data-theme="dark"] .nav-item:not(.active) svg {
  color: #c5cec7;
}

:root[data-theme="dark"] .hero,
:root[data-theme="dark"] .card,
:root[data-theme="dark"] .journey-card {
  box-shadow: inset 0 1px 0 #ffffff05;
}
.mic-home-trails { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mic-home-trail { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 13px; border: 1px solid var(--border); border-radius: 12px; color: #fff; background: var(--card-2); text-decoration: none; }
.mic-home-trail:hover, .mic-home-trail:focus-visible { border-color: var(--accent); background: var(--accent-soft); }
.mic-home-trail span { display: grid; flex: 0 0 25px; place-items: center; width: 25px; height: 25px; border-radius: 50%; color: var(--accent-ink); background: var(--accent); font-size: 12px; font-weight: 800; }
.mic-home-trail strong { font-size: 13px; line-height: 1.3; }
@media (max-width: 620px) { .mic-home-trails { grid-template-columns: 1fr; } }

.mic-progress-pending > .row { display: none !important; }
.mic-progress-note { margin: 13px 0 15px; color: var(--muted); line-height: 1.5; }

.mic-legacy-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 22px;
  padding: 14px 18px;
  border: 1px solid var(--accent-line);
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--text);
}
.mic-legacy-notice p { margin: 0; line-height: 1.45; }
.mic-legacy-notice button {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  background: var(--card);
  color: var(--text);
  cursor: pointer;
}
.mic-legacy-notice button:hover,
.mic-legacy-notice button:focus-visible { border-color: var(--accent); }
@media (max-width: 620px) {
  .mic-legacy-notice { align-items: flex-start; flex-direction: column; }
}
