/* ============================================
   HarmonizaPRO — Custom Theme
   Cores: Dourado (#C8A24E), Preto (#1A1A1A)
   ============================================ */

:root {
  --hp-gold: #C8A24E;
  --hp-gold-light: #D4B76A;
  --hp-gold-dark: #A6853D;
}

/* ---------- DARK MODE (slate) ---------- */
[data-md-color-scheme="slate"] {
  --md-primary-fg-color: #1A1A1A;
  --md-primary-bg-color: #C8A24E;
  --md-accent-fg-color: #C8A24E;
  --md-typeset-a-color: #D4B76A;
}

/* ---------- LIGHT MODE (default) ---------- */
[data-md-color-scheme="default"] {
  --md-primary-fg-color: #1A1A1A;
  --md-primary-bg-color: #FFFFFF;
  --md-accent-fg-color: #C8A24E;
  --md-typeset-a-color: #A6853D;
}

/* ---------- HEADER ---------- */
.md-header {
  background: #111111 !important;
  border-bottom: 2px solid var(--hp-gold) !important;
}

.md-tabs {
  background: #1A1A1A !important;
}

.md-tabs__link {
  color: #999 !important;
  transition: color 0.2s;
}

.md-tabs__link:hover,
.md-tabs__link--active {
  color: var(--hp-gold) !important;
}

/* ---------- HEADINGS ---------- */
.md-typeset h1 {
  color: var(--hp-gold) !important;
  font-weight: 700 !important;
  border-bottom: 2px solid var(--hp-gold);
  padding-bottom: 10px;
}

.md-typeset h2 {
  font-weight: 600 !important;
  margin-top: 36px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(200, 162, 78, 0.3);
}

/* ---------- LINKS ---------- */
.md-typeset a {
  color: var(--hp-gold) !important;
  transition: color 0.15s;
}

.md-typeset a:hover {
  color: var(--hp-gold-light) !important;
}

/* ---------- SIDEBAR ---------- */
.md-nav__link:hover {
  color: var(--hp-gold) !important;
}

.md-nav__item--active > .md-nav__link {
  color: var(--hp-gold) !important;
  font-weight: 600 !important;
}

/* ---------- TABLES ---------- */
.md-typeset table:not([class]) th {
  background: var(--hp-gold) !important;
  color: #1A1A1A !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  font-size: 0.78em;
  letter-spacing: 0.5px;
}

.md-typeset table:not([class]) tbody tr:hover {
  background: rgba(200, 162, 78, 0.08) !important;
}

/* ---------- BLOCKQUOTES ---------- */
.md-typeset blockquote {
  border-left: 4px solid var(--hp-gold) !important;
  background: rgba(200, 162, 78, 0.05);
  padding: 12px 16px;
  border-radius: 0 6px 6px 0;
}

/* ---------- ADMONITIONS ---------- */
.md-typeset .admonition.warning,
.md-typeset details.warning {
  border-color: var(--hp-gold) !important;
}

.md-typeset .admonition.tip,
.md-typeset details.tip {
  border-color: var(--hp-gold) !important;
}

.md-typeset .admonition.tip > .admonition-title,
.md-typeset details.tip > summary {
  background: rgba(200, 162, 78, 0.12) !important;
}

/* ---------- FOOTER ---------- */
.md-footer {
  background: #111111 !important;
  border-top: 2px solid var(--hp-gold) !important;
}

.md-footer-meta {
  background: #0D0D0D !important;
}

/* ---------- CODE ---------- */
.md-typeset code {
  border-radius: 4px;
}

/* ---------- SEARCH ---------- */
[data-md-color-scheme="slate"] .md-search__input {
  background: #2E2E2E !important;
}




/* ---------- TEAM PAGE ---------- */
.hp-team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 700px;
  margin: 32px auto;
}

@media (max-width: 600px) {
  .hp-team-grid {
    grid-template-columns: 1fr;
  }
}

.hp-team-card {
  background: rgba(200, 162, 78, 0.04);
  border: 1px solid rgba(200, 162, 78, 0.25);
  border-radius: 12px;
  padding: 32px 24px 24px;
  text-align: center;
  transition: border-color 0.2s, transform 0.2s;
}

.hp-team-card:hover {
  border-color: #C8A24E;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(200, 162, 78, 0.12);
}

.hp-team-card h3 {
  color: #E8E8E8 !important;
  font-size: 1.05em !important;
  margin: 14px 0 2px !important;
  border: none !important;
  padding: 0 !important;
}

[data-md-color-scheme="default"] .hp-team-card h3 {
  color: #1A1A1A !important;
}

.hp-team-role {
  color: #999;
  font-size: 0.85em;
  display: block;
  margin-bottom: 16px;
}

img.hp-team-photo {
  width: 130px !important;
  height: 130px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  border: 3px solid #C8A24E !important;
  display: block !important;
  margin: 0 auto !important;
}

.hp-team-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.hp-team-links a {
  color: #C8A24E !important;
  opacity: 0.7;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-flex;
  padding: 6px;
  border: none !important;
}

.hp-team-links a:hover {
  opacity: 1;
  transform: scale(1.15);
}


/* Team bio text */
.hp-team-bio {
  font-size: 0.82em;
  color: #AAA;
  line-height: 1.5;
  margin: 12px 0 16px;
  text-align: left;
}

[data-md-color-scheme="default"] .hp-team-bio {
  color: #555;
}



/* ---------- METRICS DASHBOARD ---------- */
.hp-metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.hp-metric-card {
  background: rgba(200, 162, 78, 0.04);
  border: 1px solid rgba(200, 162, 78, 0.2);
  border-radius: 12px;
  padding: 24px 16px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-color 0.2s, transform 0.2s;
}

.hp-metric-card:hover {
  border-color: #C8A24E;
  transform: translateY(-2px);
}

.hp-metric-value {
  font-size: 2em;
  font-weight: 700;
  color: #C8A24E;
  line-height: 1.1;
}

.hp-metric-label {
  font-size: 0.85em;
  font-weight: 600;
  margin-top: 4px;
}

.hp-metric-desc {
  font-size: 0.72em;
  color: #999;
  line-height: 1.3;
}

.hp-metric-target {
  font-size: 0.7em;
  color: #2E7D32;
  font-weight: 500;
  margin-top: 4px;
  padding: 2px 8px;
  background: rgba(46, 125, 50, 0.1);
  border-radius: 4px;
  display: inline-block;
  align-self: center;
}

