/* =====================================================================
 * Blog MéritoClub: estilos
 *
 * Mesmos tokens do css/styles7.css do site (azul-marinho, índigo,
 * dourado de recompensa; Plus Jakarta Sans nos títulos e Inter no texto),
 * num arquivo próprio e enxuto: o blog não carrega o CSS da landing.
 *
 * Todas as classes começam com "mc-". O catálogo do que pode aparecer no
 * corpo de um post está em blog/_templates/blocos.html.
 * ===================================================================== */

:root {
  --navy: #021226;
  --navy-2: #0b2a5b;
  --royal: #104595;
  --indigo: #6366F1;
  --purple: #4F46E5;
  --purple-dark: #3730A3;
  --lilac: #F5F3FF;
  --gold: #FFC000;
  --amber: #F59E0B;
  --orange: #FF9D1B;
  --teal: #0D9488;
  --green: #10B981;
  --red: #DC2626;

  --ink: #0F172A;
  --muted: #475569;
  --soft: #94A3B8;
  --line: #E2E8F0;
  --bg: #FAFAFD;
  --surface: #FFFFFF;

  --r-sm: 10px;
  --r-md: 20px;
  --r-lg: 28px;
  --pill: 9999px;

  --sh-sm: 0 4px 12px rgba(99, 102, 241, .05);
  --sh-md: 0 12px 35px rgba(99, 102, 241, .09);
  --sh-lg: 0 24px 50px rgba(99, 102, 241, .14);

  --f-head: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.2; color: var(--ink); margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.mc-wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mc-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.mc-skip { position: absolute; left: 16px; top: -60px; z-index: 2000; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 700; }
.mc-skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }

/* ---------- botões ---------- */
.mc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 20px; border-radius: var(--pill); border: 2px solid transparent;
  font-family: var(--f-head); font-weight: 700; font-size: .875rem; line-height: 1.2;
  cursor: pointer; white-space: nowrap; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.mc-btn--lg { padding: 15px 30px; font-size: 1rem; }
.mc-btn--primary { background: linear-gradient(135deg, var(--purple) 0%, var(--indigo) 100%); color: #fff; box-shadow: 0 10px 26px rgba(99, 102, 241, .32); }
.mc-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(99, 102, 241, .42); }
.mc-btn--gold { background: linear-gradient(135deg, var(--gold) 0%, var(--orange) 100%); color: var(--navy); box-shadow: 0 12px 30px rgba(255, 184, 0, .35); }
.mc-btn--gold:hover { transform: translateY(-2px); }
.mc-btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .08); }
.mc-btn--ghost:hover { border-color: var(--gold); color: var(--gold); background: rgba(255, 184, 0, .12); }
.mc-btn--light { background: #fff; color: var(--purple); }
.mc-btn--light:hover { transform: translateY(-2px); }
.mc-btn--outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.mc-btn--outline-light:hover { border-color: var(--gold); color: var(--gold); }
.mc-link { color: var(--purple); font-weight: 700; font-family: var(--f-head); font-size: .95rem; }
.mc-link:hover { color: var(--purple-dark); }

/* ---------- cabeçalho ---------- */
.mc-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(2, 18, 38, .94);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 184, 0, .25);
}
.mc-header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.mc-header__brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mc-header__brand img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.mc-header__tag { font-family: var(--f-head); font-weight: 800; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 3px 9px; border-radius: var(--pill); }
.mc-nav { display: flex; align-items: center; gap: 20px; margin-left: 8px; min-width: 0; }
.mc-nav a { color: rgba(241, 245, 249, .85); font-size: .86rem; font-weight: 600; white-space: nowrap; }
.mc-nav a:hover, .mc-nav a[aria-current="page"] { color: var(--gold); }
.mc-header__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.mc-burger { display: none; background: transparent; border: 0; color: #fff; padding: 8px; cursor: pointer; border-radius: var(--r-sm); }
.mc-mobile { display: none; border-top: 1px solid rgba(255, 255, 255, .08); }
.mc-mobile.is-open { display: block; }
.mc-mobile .mc-wrap { display: flex; flex-direction: column; padding-block: 12px 18px; }
.mc-mobile a { color: rgba(241, 245, 249, .9); padding: 10px 0; font-weight: 600; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.mc-progress { position: absolute; left: 0; bottom: -1px; height: 3px; width: 0; background: linear-gradient(90deg, var(--gold), var(--orange)); }

@media (max-width: 1080px) {
  .mc-nav { display: none; }
  .mc-burger { display: inline-flex; }
}
@media (max-width: 560px) {
  .mc-hide-sm { display: none; }
  .mc-header__inner { gap: 10px; }
  .mc-header__tag { display: none; }
  .mc-header__brand img { height: 28px; }
  .mc-header .mc-btn { padding: 9px 14px; }
}

/* ---------- breadcrumb ---------- */
.mc-breadcrumb ol { list-style: none; margin: 0; padding: 22px 0 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--soft); }
.mc-breadcrumb li + li::before { content: '›'; margin-right: 6px; color: var(--soft); }
.mc-breadcrumb a { color: var(--muted); }
.mc-breadcrumb a:hover { color: var(--purple); }
.mc-breadcrumb li { min-width: 0; max-width: 100%; }
.mc-breadcrumb [aria-current] { color: var(--ink); font-weight: 600; max-width: min(46ch, 100%); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- hero (hub e categorias) ---------- */
.mc-hero { padding: 40px 0 24px; }
.mc-hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 800; max-width: 22ch; }
.mc-hero p { color: var(--muted); font-size: 1.08rem; max-width: 62ch; margin-top: 14px; }
.mc-eyebrow { display: inline-block; font-family: var(--f-head); font-weight: 800; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--purple) !important; background: var(--lilac); border: 1px solid rgba(99, 102, 241, .2); padding: 6px 14px; border-radius: var(--pill); margin: 0 0 16px !important; }
.mc-search { position: relative; max-width: 520px; margin-top: 26px; }
.mc-search svg { position: absolute; left: 18px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); color: var(--soft); }
.mc-search input { width: 100%; padding: 15px 18px 15px 50px; border: 1.5px solid var(--line); border-radius: var(--pill); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); box-shadow: var(--sh-sm); }
.mc-search input:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(99, 102, 241, .14); }

/* ---------- seções ---------- */
.mc-section { padding: 48px 0; }
.mc-section--tight { padding: 16px 0 8px; }
.mc-section--soft { background: linear-gradient(180deg, #F3F4FF 0%, var(--bg) 100%); }
.mc-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.mc-section__head h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); font-weight: 800; }

.mc-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.mc-filter { border: 1.5px solid var(--line); background: #fff; color: var(--muted); padding: 8px 16px; border-radius: var(--pill); font-weight: 600; font-size: .86rem; cursor: pointer; }
.mc-filter:hover { border-color: var(--indigo); color: var(--purple); }
.mc-filter.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------- cards ---------- */
.mc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 980px) { .mc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .mc-grid { grid-template-columns: 1fr; } }

.mc-card, .mc-featured { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); transition: transform .25s ease, box-shadow .25s ease; }
.mc-card:hover, .mc-featured:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.mc-card { display: flex; flex-direction: column; }
.mc-card[hidden], .mc-featured[hidden] { display: none; }
.mc-card__media, .mc-featured__media { display: block; aspect-ratio: 1200 / 630; overflow: hidden; background: var(--navy); }
.mc-card__media img, .mc-featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.mc-card:hover img, .mc-featured:hover img { transform: scale(1.03); }
.mc-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.mc-card__title { font-size: 1.12rem; font-weight: 800; }
.mc-card__title a:hover, .mc-featured__title a:hover { color: var(--purple); }
.mc-card__dek { color: var(--muted); font-size: .94rem; flex: 1; }

.mc-featured { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
.mc-featured__media { aspect-ratio: auto; min-height: 100%; }
.mc-featured__body { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.mc-featured__title { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 800; }
.mc-featured__dek { color: var(--muted); font-size: 1.02rem; }
@media (max-width: 860px) {
  .mc-featured { grid-template-columns: 1fr; }
  .mc-featured__media { aspect-ratio: 1200 / 630; }
  .mc-featured__body { padding: 24px; }
}

.mc-chip { align-self: flex-start; display: inline-block; font-family: var(--f-head); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--purple); background: var(--lilac); border: 1px solid rgba(99, 102, 241, .18); padding: 5px 11px; border-radius: var(--pill); }
.mc-chip:hover { background: #EDE9FE; }
.mc-meta { color: var(--soft); font-size: .84rem; display: flex; flex-wrap: wrap; gap: 4px 0; }
.mc-meta__sep::before { content: '·'; margin: 0 8px; }

.mc-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.mc-cat { display: flex; flex-direction: column; gap: 8px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); transition: border-color .2s ease, transform .2s ease; }
.mc-cat:hover { border-color: var(--indigo); transform: translateY(-2px); }
.mc-cat strong { font-family: var(--f-head); font-size: 1.05rem; }
.mc-cat span { color: var(--muted); font-size: .92rem; }
.mc-cat em { font-style: normal; color: var(--purple); font-weight: 700; font-size: .84rem; margin-top: auto; }

.mc-empty { display: none; text-align: center; padding: 48px 16px; color: var(--muted); }
.mc-empty.is-visible { display: block; }
.mc-empty a { color: var(--purple); font-weight: 700; }
.mc-empty p + p { margin-top: 8px; }

/* ---------- faixa de CTA ---------- */
.mc-band {
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding: 44px; border-radius: var(--r-lg);
  background: radial-gradient(circle at 90% 10%, rgba(255, 192, 0, .28), transparent 45%),
              radial-gradient(circle at 5% 95%, rgba(99, 102, 241, .45), transparent 50%),
              linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
}
.mc-band h2 { color: #fff; font-size: clamp(1.4rem, 2.8vw, 2rem); font-weight: 800; max-width: 26ch; }
.mc-band p { color: rgba(226, 232, 240, .88); margin-top: 10px; max-width: 58ch; }
.mc-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 620px) { .mc-band { padding: 28px 22px; } .mc-band__actions .mc-btn { width: 100%; } }

/* ---------- post: cabeça ---------- */
.mc-article-head { padding-top: 26px; padding-bottom: 6px; }
.mc-article-head > * { max-width: 880px; }
.mc-article-head h1 { font-size: clamp(1.95rem, 4.4vw, 3rem); font-weight: 800; margin-top: 16px; letter-spacing: -.02em; }
.mc-dek { font-size: 1.15rem; color: var(--muted); margin-top: 16px; max-width: 68ch; }
.mc-byline { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 14px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.mc-byline .mc-meta { margin-left: auto; }
@media (max-width: 620px) { .mc-byline .mc-meta { margin-left: 0; width: 100%; } }
.mc-byline__who { display: flex; flex-direction: column; line-height: 1.3; }
.mc-byline__who strong { font-family: var(--f-head); font-size: .95rem; }
.mc-byline__who span { color: var(--soft); font-size: .84rem; }
.mc-avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--purple), var(--indigo)); color: #fff; font-family: var(--f-head); font-weight: 800; font-size: .9rem; }

.mc-cover { max-width: 1200px; margin: 28px auto 0; padding: 0 24px; }
.mc-cover img { width: 100%; border-radius: var(--r-lg); box-shadow: var(--sh-md); aspect-ratio: 1200 / 630; object-fit: cover; background: var(--navy); }

/* ---------- post: layout ---------- */
.mc-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; padding-top: 40px; padding-bottom: 32px; align-items: start; }
.mc-main { min-width: 0; max-width: 760px; }
.mc-aside { min-width: 0; position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 1020px) {
  .mc-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .mc-aside { position: static; order: -1; }
  .mc-aside__cta { display: none; }
}

.mc-toc { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 20px 16px; }
.mc-toc__title { font-family: var(--f-head); font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--soft); margin-bottom: 10px; }
.mc-toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; max-height: 60vh; overflow: auto; }
.mc-toc a { display: block; padding: 6px 10px; border-left: 2px solid var(--line); color: var(--muted); font-size: .88rem; line-height: 1.4; }
.mc-toc .is-sub a { padding-left: 22px; font-size: .84rem; }
.mc-toc a:hover { color: var(--purple); }
.mc-toc a.is-active { color: var(--purple); border-left-color: var(--purple); font-weight: 600; background: var(--lilac); }
@media (max-width: 1020px) { .mc-toc ol { max-height: none; } }

.mc-aside__cta { padding: 22px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; }
.mc-aside__cta p { color: rgba(226, 232, 240, .9); font-size: .94rem; margin-bottom: 16px; }
.mc-aside__cta .mc-btn { width: 100%; }

/* ---------- post: resumo ---------- */
.mc-takeaways { background: #fff; border: 1px solid rgba(99, 102, 241, .22); border-left: 5px solid var(--gold); border-radius: var(--r-md); padding: 22px 26px; margin-bottom: 34px; box-shadow: var(--sh-sm); }
.mc-takeaways h2 { font-size: 1rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--purple); }
.mc-takeaways ul { margin: 12px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.mc-takeaways li::marker { color: var(--amber); }

/* ---------- post: corpo ---------- */
.mc-prose { font-size: 1.08rem; line-height: 1.78; color: #1E293B; }
.mc-prose > * + * { margin-top: 1.15em; }
.mc-prose h2 { font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 800; margin-top: 2.1em; }
.mc-prose h3 { font-size: 1.25rem; font-weight: 800; margin-top: 1.7em; }
.mc-prose h4 { font-size: 1.06rem; font-weight: 700; margin-top: 1.4em; }
.mc-prose a { color: var(--purple); text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(79, 70, 229, .35); }
.mc-prose a:hover { text-decoration-color: currentColor; }
.mc-prose strong { color: var(--ink); }
.mc-prose ul, .mc-prose ol { padding-left: 1.4em; }
.mc-prose li + li { margin-top: .45em; }
.mc-prose li::marker { color: var(--purple); font-weight: 700; }
.mc-prose figure { margin: 2em 0; }
.mc-prose figure img { border-radius: var(--r-md); border: 1px solid var(--line); width: 100%; }
.mc-prose figcaption { margin-top: 10px; font-size: .88rem; color: var(--soft); text-align: center; }
.mc-prose blockquote { margin: 1.8em 0; padding: 18px 24px; border-left: 4px solid var(--indigo); background: var(--lilac); border-radius: 0 var(--r-sm) var(--r-sm) 0; font-size: 1.1rem; font-style: italic; color: var(--ink); }
.mc-prose blockquote cite { display: block; margin-top: 10px; font-size: .88rem; font-style: normal; color: var(--muted); }
.mc-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.mc-prose code { font-size: .92em; background: #F1F5F9; padding: 2px 6px; border-radius: 6px; }

.mc-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.mc-prose table { width: 100%; border-collapse: collapse; font-size: .96rem; line-height: 1.5; min-width: 520px; }
.mc-prose th, .mc-prose td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.mc-prose thead th { background: var(--navy); color: #fff; font-family: var(--f-head); font-size: .88rem; }
.mc-prose tbody tr:nth-child(even) { background: #F8FAFC; }
.mc-prose tbody tr:last-child td { border-bottom: 0; }

.mc-callout { padding: 18px 22px; border-radius: var(--r-md); background: #EEF2FF; border: 1px solid rgba(99, 102, 241, .22); }
.mc-callout > * + * { margin-top: .6em; }
.mc-callout__label { display: block; font-family: var(--f-head); font-weight: 800; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--purple); }
.mc-callout--alerta { background: #FEF2F2; border-color: rgba(220, 38, 38, .22); }
.mc-callout--alerta .mc-callout__label { color: var(--red); }
.mc-callout--dica { background: #ECFDF5; border-color: rgba(16, 185, 129, .25); }
.mc-callout--dica .mc-callout__label { color: #047857; }

.mc-inline-cta { margin: 2.2em 0; padding: 28px; border-radius: var(--r-md); color: #fff; background: radial-gradient(circle at 95% 0%, rgba(255, 192, 0, .3), transparent 50%), linear-gradient(135deg, var(--purple) 0%, var(--navy-2) 100%); }
.mc-inline-cta h3 { color: #fff; font-size: 1.25rem; margin-top: 0; }
.mc-inline-cta p { color: rgba(238, 242, 255, .9); margin-top: 8px; }
.mc-prose .mc-inline-cta a.mc-btn { margin-top: 16px; text-decoration: none; color: var(--purple); }

.mc-steps { list-style: none; padding: 0 !important; counter-reset: passo; display: flex; flex-direction: column; gap: 14px; }
.mc-steps > li { counter-increment: passo; position: relative; padding: 16px 18px 16px 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); margin: 0 !important; }
.mc-steps > li::before { content: counter(passo); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--lilac); color: var(--purple); font-family: var(--f-head); font-weight: 800; }

/* ---------- post: FAQ ---------- */
.mc-faq { margin-top: 2.6em !important; }
.mc-faq h2 { margin-bottom: .8em; }
.mc-faq details { border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; margin-top: 10px; }
.mc-faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 20px; position: relative; font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; line-height: 1.45; }
.mc-faq summary::-webkit-details-marker { display: none; }
.mc-faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--purple); }
.mc-faq details[open] summary::after { content: '–'; }
.mc-faq details > div { padding: 0 20px 18px; color: var(--muted); font-size: 1rem; }
.mc-faq details > div > * + * { margin-top: .7em; }

/* ---------- post: rodapé do artigo ---------- */
.mc-share { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); }
.mc-share__label { font-weight: 700; font-size: .88rem; color: var(--muted); margin-right: 6px; }
.mc-share a, .mc-share button { border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 7px 14px; border-radius: var(--pill); font-size: .84rem; font-weight: 600; cursor: pointer; }
.mc-share a:hover, .mc-share button:hover { border-color: var(--indigo); color: var(--purple); }

.mc-author { display: flex; gap: 16px; margin-top: 28px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.mc-author__name { font-family: var(--f-head); font-weight: 800; margin-bottom: 4px; }
.mc-author p:not(.mc-author__name) { color: var(--muted); font-size: .94rem; }

.mc-prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.mc-prevnext a { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.mc-prevnext a:hover { border-color: var(--indigo); }
.mc-prevnext span { font-size: .8rem; color: var(--soft); font-weight: 600; }
.mc-prevnext strong { font-family: var(--f-head); font-size: .96rem; line-height: 1.35; }
.mc-prevnext .is-next { text-align: right; }
@media (max-width: 620px) { .mc-prevnext { grid-template-columns: 1fr; } .mc-prevnext .is-next { text-align: left; } }

/* ---------- rodapé ---------- */
.mc-footer { background: #0F172A; color: var(--soft); padding: 64px 0 28px; margin-top: 24px; }
.mc-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.mc-footer__brand img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.mc-footer__brand p { margin-top: 16px; font-size: .92rem; max-width: 34ch; }
.mc-footer__mail { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 700; font-size: .92rem; }
.mc-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.mc-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: .92rem; }
.mc-footer ul a:hover { color: #fff; }
.mc-footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid #1E293B; font-size: .86rem; }
.mc-footer__bar nav { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.mc-footer__bar a:hover { color: #fff; }
.mc-footer__bar span a { color: var(--gold); font-weight: 700; }
@media (max-width: 860px) { .mc-footer__grid { grid-template-columns: 1fr 1fr; } .mc-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .mc-footer__grid { grid-template-columns: 1fr; } }

.mc-top { position: fixed; right: 20px; bottom: 20px; z-index: 900; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: var(--sh-md); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease; }
.mc-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

@media print {
  .mc-header, .mc-footer, .mc-aside, .mc-share, .mc-prevnext, .mc-band, .mc-top, .mc-inline-cta { display: none !important; }
  .mc-layout { display: block; }
}
