/* ═══════════════════════════════════════════
   CR Finanças — Paleta PIB Penha
═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --md-primary-fg-color:        #006398;
  --md-primary-fg-color--light: #1AA8CC;
  --md-primary-fg-color--dark:  #003057;
  --md-accent-fg-color:         #1AA8CC;
  --md-default-bg-color:        #F5F8FA;
  --navy:    #003057;
  --blue:    #006398;
  --gold-lt: #1AA8CC;
  --cream:   #F5F8FA;
  --warm:    #EBF2F7;
  --text:    #1C2D3A;
  --muted:   #4A6375;
  --border:  #B5D0E4;
}

/* ═══ FONTES ═══ */
body, .md-typeset {
  font-family: 'Inter', system-ui, sans-serif !important;
  color: var(--text);
}

h1, h2, h3, h4,
.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  font-family: 'Playfair Display', Georgia, serif !important;
  color: var(--navy);
}

/* ═══ HEADER / NAV ═══ */
.md-header {
  background: rgba(0, 48, 87, 0.97) !important;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,99,152,0.3);
}

.md-header__title {
  font-family: 'Playfair Display', serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
}

.md-header__title::before {
  content: "CR ";
}

/* Logo mark */
.md-header__button.md-logo {
  display: none;
}

/* ═══ NAV LATERAL ═══ */
.md-nav__title {
  font-family: 'Playfair Display', serif !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
}

.md-nav__link {
  color: var(--text) !important;
  font-weight: 500;
}

.md-nav__link:hover,
.md-nav__link--active {
  color: var(--blue) !important;
}

/* ═══ FUNDO ═══ */
.md-main {
  background: var(--cream);
}

.md-content {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,48,87,0.08);
  margin: 24px 0;
  padding: 0 !important;
}

.md-content__inner {
  padding: 40px 48px !important;
}

/* ═══ LINKS ═══ */
.md-typeset a {
  color: var(--blue) !important;
}

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

/* ═══ SEARCH ═══ */
.md-search__form {
  background: rgba(255,255,255,0.1) !important;
  border-radius: 8px;
}

.md-search__input {
  color: #fff !important;
}

.md-search__input::placeholder {
  color: rgba(255,255,255,0.5) !important;
}

/* ═══ FOOTER ═══ */
.md-footer {
  background: #001A30 !important;
}

.md-footer-meta {
  background: #001A30 !important;
}

.md-footer__inner {
  text-align: center;
  padding: 24px;
}

/* ═══ IFRAME GOOGLE DRIVE ═══ */
.drive-embed {
  width: 100%;
  height: 600px;
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-top: 32px;
}

/* ═══ INTRO CARD ═══ */
.intro-card {
  background: var(--warm);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  padding: 24px 28px;
  margin: 32px 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
  .md-content__inner {
    padding: 24px 20px !important;
  }
  .drive-embed {
    height: 420px;
  }
}
